Skip to main content

Crate agentos_native_sidecar_core

Crate agentos_native_sidecar_core 

Source
Expand description

Backend-agnostic sidecar logic shared by native and browser shells.

Re-exports§

pub use bridge_bytes::bridge_buffer_value;
pub use bridge_bytes::decode_base64;
pub use bridge_bytes::decode_bridge_buffer_value;
pub use bridge_bytes::decode_encoded_bytes_value;
pub use bridge_bytes::encoded_bytes_value;
pub use diagnostics::process_snapshot_entry_from_kernel;
pub use diagnostics::process_status_from_kernel;
pub use diagnostics::protocol_process_snapshot_entry;
pub use diagnostics::SharedProcessSnapshotEntry;
pub use diagnostics::SharedProcessSnapshotStatus;
pub use frames::authenticated_response;
pub use frames::bound_udp_snapshot_response;
pub use frames::event;
pub use frames::layer_created_response;
pub use frames::layer_sealed_response;
pub use frames::listener_snapshot_response;
pub use frames::overlay_created_response;
pub use frames::package_linked_response;
pub use frames::process_exited_event;
pub use frames::process_killed_response;
pub use frames::process_output_event;
pub use frames::process_snapshot_response;
pub use frames::process_started_response;
pub use frames::provided_commands_response;
pub use frames::reject;
pub use frames::respond;
pub use frames::response_with_ownership;
pub use frames::root_filesystem_bootstrapped_response;
pub use frames::root_filesystem_snapshot_response;
pub use frames::session_opened_response;
pub use frames::signal_state_response;
pub use frames::snapshot_exported_response;
pub use frames::snapshot_imported_response;
pub use frames::stdin_closed_response;
pub use frames::stdin_written_response;
pub use frames::unsupported_guest_kernel_call_detail;
pub use frames::unsupported_guest_kernel_call_event;
pub use frames::validate_authenticate_versions;
pub use frames::vm_configured_response;
pub use frames::vm_created_response;
pub use frames::vm_disposed_response;
pub use frames::vm_lifecycle_event;
pub use frames::zombie_timer_count_response;
pub use frames::AuthenticateVersionError;
pub use frames::DispatchResult;
pub use frames::UNSUPPORTED_GUEST_KERNEL_CALL_EVENT;
pub use guest_fs::decode_guest_filesystem_content;
pub use guest_fs::empty_guest_filesystem_response;
pub use guest_fs::encode_guest_filesystem_content;
pub use guest_fs::guest_filesystem_stat;
pub use guest_fs::handle_guest_filesystem_call;
pub use guest_fs::targeted_guest_filesystem_response;
pub use guest_net::handle_guest_kernel_call;
pub use identity::shared_guest_runtime_identity;
pub use identity::SharedGuestRuntimeIdentity;
pub use layers::VmLayerStore;
pub use layers::MAX_VM_LAYERS;
pub use limits::validate_vm_limits;
pub use limits::virtual_os_cpu_count;
pub use limits::virtual_os_freemem_bytes;
pub use limits::virtual_os_totalmem_bytes;
pub use limits::vm_limits_from_config;
pub use limits::AcpLimits;
pub use limits::HttpLimits;
pub use limits::JsRuntimeLimits;
pub use limits::PluginLimits;
pub use limits::PythonLimits;
pub use limits::ToolLimits;
pub use limits::VmLimits;
pub use limits::WasmLimits;
pub use net::local_endpoint_value;
pub use net::remote_endpoint_value;
pub use net::socket_addr_family;
pub use net::socket_address_value;
pub use net::tcp_socket_info_value;
pub use net::unix_socket_info_value;
pub use permissions::allow_all_policy;
pub use permissions::deny_all_policy;
pub use permissions::environment_permission_capability;
pub use permissions::evaluate_permissions_policy;
pub use permissions::filesystem_permission_capability;
pub use permissions::fs_permission_capability;
pub use permissions::network_permission_capability;
pub use permissions::permission_mode_to_kernel_decision;
pub use permissions::permissions_from_policy;
pub use permissions::validate_permissions_policy;
pub use root_fs::apply_root_filesystem_entry;
pub use root_fs::build_root_filesystem;
pub use root_fs::build_root_filesystem_with_loaded_snapshot;
pub use root_fs::build_root_mount_table;
pub use root_fs::build_root_mount_table_with_loaded_snapshot;
pub use root_fs::convert_root_filesystem_entry;
pub use root_fs::protocol_root_filesystem_mode;
pub use root_fs::root_filesystem_descriptor_from_config;
pub use root_fs::root_filesystem_mode_from_config;
pub use root_fs::root_filesystem_protocol_descriptor_from_config;
pub use root_fs::root_snapshot_entry;
pub use root_fs::root_snapshot_from_entries;
pub use root_fs::SidecarCoreError;
pub use router::connection_id_of;
pub use router::generated_wire_blocking_extension_interrupt;
pub use router::request_dispatch_mode;
pub use router::request_is_unsupported_host_callback_direction;
pub use router::route_request_payload;
pub use router::session_scope_of;
pub use router::unsupported_host_callback_direction_dispatch;
pub use router::vm_id_of;
pub use router::BlockingExtensionInterrupt;
pub use router::RequestDispatchMode;
pub use router::RequestRoute;
pub use router::UNSUPPORTED_HOST_CALLBACK_DIRECTION_CODE;
pub use router::UNSUPPORTED_HOST_CALLBACK_DIRECTION_MESSAGE;
pub use signals::apply_process_signal_state_update;
pub use signals::canonical_signal_name;
pub use signals::default_signal_exit_code;
pub use signals::execution_signal_from_number;
pub use signals::execution_signal_to_kernel;
pub use signals::is_valid_posix_signal_number;
pub use signals::parse_posix_signal;
pub use signals::parse_process_signal_state_request;
pub use signals::signal_number_from_name;
pub use tools::ensure_command_aliases_available;
pub use tools::ensure_toolkit_name_available;
pub use tools::ensure_toolkit_registry_capacity;
pub use tools::registered_tool_command_names;
pub use tools::validate_toolkit_registration;
pub use tools::ToolRegistrationError;
pub use tools::DEFAULT_TOOL_TIMEOUT_MS;
pub use tools::MAX_REGISTERED_TOOLKITS;
pub use tools::MAX_REGISTERED_TOOLS_PER_VM;
pub use tools::MAX_TOOLKIT_NAME_LENGTH;
pub use tools::MAX_TOOLS_PER_TOOLKIT;
pub use tools::MAX_TOOL_DESCRIPTION_LENGTH;
pub use tools::MAX_TOOL_EXAMPLES_PER_TOOL;
pub use tools::MAX_TOOL_EXAMPLE_INPUT_BYTES;
pub use tools::MAX_TOOL_NAME_LENGTH;
pub use tools::MAX_TOOL_SCHEMA_BYTES;
pub use tools::MAX_TOOL_SCHEMA_DEPTH;
pub use tools::MAX_TOOL_TIMEOUT_MS;
pub use vm_fetch::ensure_vm_fetch_raw_response_buffer_within_limit;
pub use vm_fetch::ensure_vm_fetch_response_within_limit;
pub use vm_fetch::parse_kernel_http_fetch_response;
pub use vm_fetch::serialize_kernel_http_fetch_request;
pub use vm_fetch::VM_FETCH_BUFFER_LIMIT_BYTES;

Modules§

bridge_bytes
diagnostics
frames
guest_fs
guest_net
Shared synchronous guest kernel-call dispatcher.
guest_pty
Guest PTY kernel-call dispatch.
identity
layers
limits
Typed, operator-tunable VM-scoped runtime limits.
net
permissions
root_fs
router
signals
tools
vm_fetch