Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xferrous/agent-box
/ functions
Functions
315 in github.com/0xferrous/agent-box
⨍
Functions
315
◇
Types & classes
53
↓ 1 callers
Function
load_embedded_gh_policy
()
portal/src/host.rs:680
↓ 1 callers
Function
log_dir
()
portal/src/logging.rs:36
↓ 1 callers
Function
main
()
portal/scripts/gh-policy-gen.py:185
↓ 1 callers
Function
make_test_config
(base_repo_dir: PathBuf)
common/src/repo.rs:467
↓ 1 callers
Function
maybe_start_managed_portal
( config: &agent_box_common::config::Config, )
ab/src/main.rs:33
↓ 1 callers
Function
parse_mode_prefix
Parse mode from string prefix (e.g., "ro:", "rw:", "o:")
ab/src/runtime/mod.rs:212
↓ 1 callers
Method
path_exists_in_image
Check if a path exists in the container image
ab/src/runtime/mod.rs:187
↓ 1 callers
Function
peer_identity
(stream: &UnixStream)
portal/src/host.rs:465
↓ 1 callers
Function
per_container_portal_socket_path
()
ab/src/main.rs:21
↓ 1 callers
Function
pick_discovered_repo
Pick from all discovered repositories using the same interactive selector as locate_repo.
common/src/repo.rs:116
↓ 1 callers
Function
print_help
()
wrappers/src/bin/wl-paste.rs:46
↓ 1 callers
Method
relative_path
Get the underlying relative path
common/src/path.rs:90
↓ 1 callers
Method
resolve
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 callers
Function
resolve_binary
(name: &str)
portal/src/host.rs:619
↓ 1 callers
Function
resolve_container_id
(pid: i32)
portal/src/host.rs:481
↓ 1 callers
Function
resolve_host_gh_binary
()
portal/src/host.rs:592
↓ 1 callers
Function
resolve_single_profile
Resolve a single profile with its extends chain. Uses `visited` to detect cycles.
common/src/config.rs:767
↓ 1 callers
Method
resolve_with_homes
Resolve with explicit home directories (for testing). Returns (host_path, container_path) with host path canonicalized.
common/src/config.rs:126
↓ 1 callers
Function
run
()
wrappers/src/bin/wl-paste.rs:57
↓ 1 callers
Function
run
()
wrappers/src/bin/gh.rs:13
↓ 1 callers
Function
run
()
ab/src/main.rs:213
↓ 1 callers
Function
run
()
portal/src/bin/agent-portal-cli.rs:57
↓ 1 callers
Function
run
(cli: Cli, portal: agent_box_common::portal::PortalConfig)
portal/src/bin/agent-portal-host.rs:45
↓ 1 callers
Function
should_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 callers
Method
socket_path
(&self)
portal/src/host.rs:102
↓ 1 callers
Method
spawn_container
Spawn a container with the given configuration
ab/src/runtime/mod.rs:179
↓ 1 callers
Function
spawn_managed
(cfg: PortalConfig, socket_path: PathBuf)
portal/src/host.rs:123
↓ 1 callers
Function
terminfo_entry_paths
(term: &str)
ab/src/runtime/mod.rs:116
↓ 1 callers
Function
wait_for_socket
(socket_path: &Path, request_timeout_ms: u64)
portal/src/host.rs:231
↓ 1 callers
Function
wait_with_timeout
( child: &mut std::process::Child, timeout: Duration, )
portal/src/host.rs:554
↓ 1 callers
Function
walk
(path: list[str], desc: str = "")
portal/scripts/gh-policy-gen.py:189
Method
default
()
ab/src/runtime/docker.rs:15
Method
default
()
ab/src/runtime/podman.rs:16
Method
default
()
common/src/portal.rs:84
Function
default_backend
()
common/src/config.rs:547
Function
default_base_repo_dir
()
common/src/config.rs:559
Function
default_context_path
()
common/src/config.rs:551
Function
default_dns
()
common/src/config.rs:555
Function
default_portal_config_is_sane
()
common/src/portal.rs:361
Function
default_repo_discovery_dirs
()
common/src/config.rs:563
Function
default_repo_discovery_timeout_secs
()
common/src/config.rs:567
Function
default_true
()
common/src/portal.rs:6
Function
deserialize_entrypoint
Deserialize entrypoint from a shell-style string into Vec<String>
common/src/config.rs:538
Method
discover_repo_ids
Discover all repositories in configured discovery directories. Returns RepoIdentifiers for all repositories found (with .git or .jj).
common/src/path.rs:188
Method
discover_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
Method
drop
(&mut self)
portal/src/host.rs:108
Method
eq
(&self, other: &Self)
common/src/config.rs:393
Method
err
(id: u64, code: impl Into<String>, message: impl Into<String>)
common/src/portal.rs:290
Function
exec_request_constructs_correctly
()
common/src/portal.rs:418
Function
exec_request_minimal_fields
()
common/src/portal.rs:450
Function
exec_response_constructs_correctly
()
common/src/portal.rs:488
Function
exec_result_constructs_correctly
()
common/src/portal.rs:475
Method
expand_path
Expand a path. Paths must be absolute (`/...`) or home-relative (`~/...`).
common/src/config.rs:196
Method
find_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
Method
flush
(&mut self)
portal/src/logging.rs:27
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
common/src/config.rs:55
Method
from_env_or_config
()
common/src/portal_client.rs:28
Function
from_env_prefers_agent_portal_socket
()
common/src/portal_client.rs:129
Method
from_repo_path
Create from a path within base_repo_dir
common/src/path.rs:48
Method
from_str
(s: &str)
common/src/config.rs:33
Method
get_mount_specs
(&self, mode: MountMode, home_relative: bool)
common/src/config.rs:699
Method
hash
(&self, state: &mut H)
common/src/config.rs:415
Function
host_ping_roundtrip_works
()
portal/tests/host_integration.rs:74
Function
host_whoami_roundtrip_works
()
portal/tests/host_integration.rs:101
Method
list_paths_in_image
(&self, image: &str, root_path: Option<&str>)
ab/src/runtime/docker.rs:85
Method
list_paths_in_image
(&self, image: &str, root_path: Option<&str>)
ab/src/runtime/podman.rs:86
Function
main
()
wrappers/src/bin/wl-paste.rs:50
Function
main
()
wrappers/src/bin/gh.rs:6
Function
main
()
ab/src/main.rs:206
Function
main
()
common/src/bin/generate_schema.rs:3
Function
main
()
portal/src/bin/agent-portal-cli.rs:50
Function
main
()
portal/src/bin/agent-portal-host.rs:18
Method
new
()
ab/src/runtime/docker.rs:9
Method
new
()
ab/src/runtime/podman.rs:10
Method
new
(per_minute: u32, burst: u32)
portal/src/host.rs:56
Function
parse_libpod_path_id
()
common/src/portal.rs:346
Function
parse_libpod_scope_id
()
common/src/portal.rs:336
Function
parse_no_container_id_returns_none
()
common/src/portal.rs:355
Function
parses_list_types
()
wrappers/src/bin/wl-paste.rs:90
Function
parses_type_and_no_newline
()
wrappers/src/bin/wl-paste.rs:96
Method
path_exists_in_image
(&self, image: &str, path: &str)
ab/src/runtime/docker.rs:21
Method
path_exists_in_image
(&self, image: &str, path: &str)
ab/src/runtime/podman.rs:22
Function
policy_for_container_uses_override_when_present
()
common/src/portal.rs:381
Function
portal_response_helpers_build_expected_shapes
()
common/src/portal.rs:403
Function
sanitize_container_name_component
Convert an arbitrary path component into a container-name-safe segment.
ab/src/runtime/mod.rs:46
Function
shell_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
Method
socket_path_buf
(&self)
common/src/portal.rs:184
Method
spawn_container
(&self, config: &ContainerConfig)
ab/src/runtime/docker.rs:171
Method
spawn_container
(&self, config: &ContainerConfig)
ab/src/runtime/podman.rs:172
Function
test_add_mounts_overlay_under_overlay_skipped
()
ab/src/runtime/mod.rs:1004
Function
test_add_mounts_overlay_under_ro_skipped
()
ab/src/runtime/mod.rs:848
Function
test_add_mounts_overlay_under_rw_skipped
()
ab/src/runtime/mod.rs:926
Function
test_add_mounts_ro_under_overlay_skipped
()
ab/src/runtime/mod.rs:952
Function
test_add_mounts_ro_under_ro_skipped
()
ab/src/runtime/mod.rs:874
Function
test_add_mounts_ro_under_rw_allowed
()
ab/src/runtime/mod.rs:796
Function
test_add_mounts_ro_under_rw_with_no_skip
()
ab/src/runtime/mod.rs:1057
Function
test_add_mounts_rw_under_overlay_skipped
()
ab/src/runtime/mod.rs:978
Function
test_add_mounts_rw_under_ro_skipped
()
ab/src/runtime/mod.rs:822
Function
test_add_mounts_rw_under_ro_with_no_skip
()
ab/src/runtime/mod.rs:1084
Function
test_add_mounts_rw_under_rw_skipped
()
ab/src/runtime/mod.rs:900
← previous
next →
101–200 of 315, ranked by callers