MCPcopy Create free account

hub / github.com/0xferrous/agent-box / functions

Functions315 in github.com/0xferrous/agent-box

↓ 1 callersFunctionload_embedded_gh_policy
()
portal/src/host.rs:680
↓ 1 callersFunctionlog_dir
()
portal/src/logging.rs:36
↓ 1 callersFunctionmain
()
portal/scripts/gh-policy-gen.py:185
↓ 1 callersFunctionmake_test_config
(base_repo_dir: PathBuf)
common/src/repo.rs:467
↓ 1 callersFunctionmaybe_start_managed_portal
( config: &agent_box_common::config::Config, )
ab/src/main.rs:33
↓ 1 callersFunctionparse_mode_prefix
Parse mode from string prefix (e.g., "ro:", "rw:", "o:")
ab/src/runtime/mod.rs:212
↓ 1 callersMethodpath_exists_in_image
Check if a path exists in the container image
ab/src/runtime/mod.rs:187
↓ 1 callersFunctionpeer_identity
(stream: &UnixStream)
portal/src/host.rs:465
↓ 1 callersFunctionper_container_portal_socket_path
()
ab/src/main.rs:21
↓ 1 callersFunctionpick_discovered_repo
Pick from all discovered repositories using the same interactive selector as locate_repo.
common/src/repo.rs:116
↓ 1 callersFunctionprint_help
()
wrappers/src/bin/wl-paste.rs:46
↓ 1 callersMethodrelative_path
Get the underlying relative path
common/src/path.rs:90
↓ 1 callersMethodresolve
Resolve this mount to (host_path, container_path). The spec can be: - A single path: uses same path for host and container (with home translation if
common/src/config.rs:113
↓ 1 callersFunctionresolve_binary
(name: &str)
portal/src/host.rs:619
↓ 1 callersFunctionresolve_container_id
(pid: i32)
portal/src/host.rs:481
↓ 1 callersFunctionresolve_host_gh_binary
()
portal/src/host.rs:592
↓ 1 callersFunctionresolve_single_profile
Resolve a single profile with its extends chain. Uses `visited` to detect cycles.
common/src/config.rs:767
↓ 1 callersMethodresolve_with_homes
Resolve with explicit home directories (for testing). Returns (host_path, container_path) with host path canonicalized.
common/src/config.rs:126
↓ 1 callersFunctionrun
()
wrappers/src/bin/wl-paste.rs:57
↓ 1 callersFunctionrun
()
wrappers/src/bin/gh.rs:13
↓ 1 callersFunctionrun
()
ab/src/main.rs:213
↓ 1 callersFunctionrun
()
portal/src/bin/agent-portal-cli.rs:57
↓ 1 callersFunctionrun
(cli: Cli, portal: agent_box_common::portal::PortalConfig)
portal/src/bin/agent-portal-host.rs:45
↓ 1 callersFunctionshould_skip_path
Check if a path should be skipped based on configured skip patterns. Returns true if the path matches any of the skip patterns (supports globs).
ab/src/runtime/mod.rs:14
↓ 1 callersMethodsocket_path
(&self)
portal/src/host.rs:102
↓ 1 callersMethodspawn_container
Spawn a container with the given configuration
ab/src/runtime/mod.rs:179
↓ 1 callersFunctionspawn_managed
(cfg: PortalConfig, socket_path: PathBuf)
portal/src/host.rs:123
↓ 1 callersFunctionterminfo_entry_paths
(term: &str)
ab/src/runtime/mod.rs:116
↓ 1 callersFunctionwait_for_socket
(socket_path: &Path, request_timeout_ms: u64)
portal/src/host.rs:231
↓ 1 callersFunctionwait_with_timeout
( child: &mut std::process::Child, timeout: Duration, )
portal/src/host.rs:554
↓ 1 callersFunctionwalk
(path: list[str], desc: str = "")
portal/scripts/gh-policy-gen.py:189
Methoddefault
()
ab/src/runtime/docker.rs:15
Methoddefault
()
ab/src/runtime/podman.rs:16
Methoddefault
()
common/src/portal.rs:84
Functiondefault_backend
()
common/src/config.rs:547
Functiondefault_base_repo_dir
()
common/src/config.rs:559
Functiondefault_context_path
()
common/src/config.rs:551
Functiondefault_dns
()
common/src/config.rs:555
Functiondefault_portal_config_is_sane
()
common/src/portal.rs:361
Functiondefault_repo_discovery_dirs
()
common/src/config.rs:563
Functiondefault_repo_discovery_timeout_secs
()
common/src/config.rs:567
Functiondefault_true
()
common/src/portal.rs:6
Functiondeserialize_entrypoint
Deserialize entrypoint from a shell-style string into Vec<String>
common/src/config.rs:538
Methoddiscover_repo_ids
Discover all repositories in configured discovery directories. Returns RepoIdentifiers for all repositories found (with .git or .jj).
common/src/path.rs:188
Methoddiscover_repos_in_dir
Helper function to discover repositories in a directory based on a filter predicate Stops descending into directories that are already repos.
common/src/path.rs:116
Methoddrop
(&mut self)
portal/src/host.rs:108
Methodeq
(&self, other: &Self)
common/src/config.rs:393
Methoderr
(id: u64, code: impl Into<String>, message: impl Into<String>)
common/src/portal.rs:290
Functionexec_request_constructs_correctly
()
common/src/portal.rs:418
Functionexec_request_minimal_fields
()
common/src/portal.rs:450
Functionexec_response_constructs_correctly
()
common/src/portal.rs:488
Functionexec_result_constructs_correctly
()
common/src/portal.rs:475
Methodexpand_path
Expand a path. Paths must be absolute (`/...`) or home-relative (`~/...`).
common/src/config.rs:196
Methodfind_matching
Find all repository identifiers matching a search string. The search string can be a partial path like "fr/agent-box" or "agent-box". Returns all matc
common/src/path.rs:97
Methodflush
(&mut self)
portal/src/logging.rs:27
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
common/src/config.rs:55
Methodfrom_env_or_config
()
common/src/portal_client.rs:28
Functionfrom_env_prefers_agent_portal_socket
()
common/src/portal_client.rs:129
Methodfrom_repo_path
Create from a path within base_repo_dir
common/src/path.rs:48
Methodfrom_str
(s: &str)
common/src/config.rs:33
Methodget_mount_specs
(&self, mode: MountMode, home_relative: bool)
common/src/config.rs:699
Methodhash
(&self, state: &mut H)
common/src/config.rs:415
Functionhost_ping_roundtrip_works
()
portal/tests/host_integration.rs:74
Functionhost_whoami_roundtrip_works
()
portal/tests/host_integration.rs:101
Methodlist_paths_in_image
(&self, image: &str, root_path: Option<&str>)
ab/src/runtime/docker.rs:85
Methodlist_paths_in_image
(&self, image: &str, root_path: Option<&str>)
ab/src/runtime/podman.rs:86
Functionmain
()
wrappers/src/bin/wl-paste.rs:50
Functionmain
()
wrappers/src/bin/gh.rs:6
Functionmain
()
ab/src/main.rs:206
Functionmain
()
common/src/bin/generate_schema.rs:3
Functionmain
()
portal/src/bin/agent-portal-cli.rs:50
Functionmain
()
portal/src/bin/agent-portal-host.rs:18
Methodnew
()
ab/src/runtime/docker.rs:9
Methodnew
()
ab/src/runtime/podman.rs:10
Methodnew
(per_minute: u32, burst: u32)
portal/src/host.rs:56
Functionparse_libpod_path_id
()
common/src/portal.rs:346
Functionparse_libpod_scope_id
()
common/src/portal.rs:336
Functionparse_no_container_id_returns_none
()
common/src/portal.rs:355
Functionparses_list_types
()
wrappers/src/bin/wl-paste.rs:90
Functionparses_type_and_no_newline
()
wrappers/src/bin/wl-paste.rs:96
Methodpath_exists_in_image
(&self, image: &str, path: &str)
ab/src/runtime/docker.rs:21
Methodpath_exists_in_image
(&self, image: &str, path: &str)
ab/src/runtime/podman.rs:22
Functionpolicy_for_container_uses_override_when_present
()
common/src/portal.rs:381
Functionportal_response_helpers_build_expected_shapes
()
common/src/portal.rs:403
Functionsanitize_container_name_component
Convert an arbitrary path component into a container-name-safe segment.
ab/src/runtime/mod.rs:46
Functionshell_join
Build a shell-like single-line representation of argv for the portal `reason` field. This is only for human-readable audit/prompt context on the host
wrappers/src/bin/gh.rs:33
Methodsocket_path_buf
(&self)
common/src/portal.rs:184
Methodspawn_container
(&self, config: &ContainerConfig)
ab/src/runtime/docker.rs:171
Methodspawn_container
(&self, config: &ContainerConfig)
ab/src/runtime/podman.rs:172
Functiontest_add_mounts_overlay_under_overlay_skipped
()
ab/src/runtime/mod.rs:1004
Functiontest_add_mounts_overlay_under_ro_skipped
()
ab/src/runtime/mod.rs:848
Functiontest_add_mounts_overlay_under_rw_skipped
()
ab/src/runtime/mod.rs:926
Functiontest_add_mounts_ro_under_overlay_skipped
()
ab/src/runtime/mod.rs:952
Functiontest_add_mounts_ro_under_ro_skipped
()
ab/src/runtime/mod.rs:874
Functiontest_add_mounts_ro_under_rw_allowed
()
ab/src/runtime/mod.rs:796
Functiontest_add_mounts_ro_under_rw_with_no_skip
()
ab/src/runtime/mod.rs:1057
Functiontest_add_mounts_rw_under_overlay_skipped
()
ab/src/runtime/mod.rs:978
Functiontest_add_mounts_rw_under_ro_skipped
()
ab/src/runtime/mod.rs:822
Functiontest_add_mounts_rw_under_ro_with_no_skip
()
ab/src/runtime/mod.rs:1084
Functiontest_add_mounts_rw_under_rw_skipped
()
ab/src/runtime/mod.rs:900
← previousnext →101–200 of 315, ranked by callers