Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
17f1547
Added optional seccomp-BPF syscall filtering and filesystem isolation
bsayed Dec 15, 2025
b464eab
Fixed build error in agentwire minijail feature and add a .devcontain…
bsayed Dec 15, 2025
e39e25b
Added libcap's pkg-config path to the PKG_CONFIG_PATH for Linux syste…
bsayed Dec 15, 2025
cffdcb0
1. PKG_CONFIG_PATH includes libcap.dev (line 38) - so pkg-config can …
bsayed Dec 15, 2025
41a4569
Addressed cargo clippy warnings and updated the license for Minijail
bsayed Dec 15, 2025
7aa767b
Removed the rust-version constraint from agentwire as orb-core still …
bsayed Dec 15, 2025
da432a6
Fixed formatting.
bsayed Dec 15, 2025
c4d37d8
Added an optional path for a custom executable when provided the agen…
bsayed Dec 17, 2025
fc408fd
Put back the rust-version.workspace dependency and updated the versio…
bsayed Dec 17, 2025
2605ddc
Updated the docs of the agentwire with correct version number.
bsayed Dec 18, 2025
be12e94
Changed the minijail version from v18 to v17 because of compatibility…
bsayed Jan 10, 2026
365966d
Reverted back to v18 of minijail.
bsayed Jan 12, 2026
6085a70
Reverted back to usage of rev refence instead of using tags for minij…
bsayed Jan 12, 2026
39ee261
Updated Cargo.lock
bsayed Jan 13, 2026
1fadcb1
The previous DefaultAction::Trap was misleading - minijail's default
bsayed Jan 13, 2026
f423089
Merge branch 'main' into bassamsayed/minijailed-wire-agent
bsayed Jan 13, 2026
b3480d6
Merge branch 'main' into bassamsayed/minijailed-wire-agent
bsayed Jan 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .devcontainer/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
# This script runs a command (or $SHELL if none is provided) in the dev container.
# If the dev container isn't running yet, it will start it up.

set -Eeuxo pipefail

# We do this to be agnostic to cwd when we invoke the script.
ORB_SW_DIR="$(realpath "$(dirname "${0}")/../")"

# Figure out what the command we will execute will be, store it in CMD.
if [ "$#" -eq "0" ]; then
CMD=$SHELL
else
CMD="$@"
fi

# `devcontainer up` creates and starts the container or reuses the existing one.
# Sed extracts the container ID from the stdout of the prior command.
CONTAINER_ID=$(devcontainer up --workspace-folder "$ORB_SW_DIR" | sed 's/.*"containerId":"\([^"]*\)".*/\1/')

# Actually execute CMD. We do this instead of devcontainer exec because the
# latter caused issues with TUIs like neovim, whereas docker exec does not seem
# to have these issues.
docker exec -it -w /workspaces/"$(basename "${ORB_SW_DIR}")" -e SHELL=${SHELL} "$CONTAINER_ID" $CMD
61 changes: 47 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions agentwire/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "agentwire"
version = "0.0.1"
authors = ["Valentyn Valiaiev <valentyn.valiaiev@toolsforhumanity.com>"]
version = "1.1.0"
authors = [
"Valentyn Valiaiev <valentyn.valiaiev@toolsforhumanity.com>",
"Bassam Sayed <bassam.sayed@toolsforhumanity.com>",
]
description = """
A framework for asynchronous message-passing agents.
"""
Expand All @@ -15,13 +18,17 @@ rust-version.workspace = true

[features]
sandbox-network = []
sandbox-minijail = ["dep:minijail", "dep:tempfile"]

[dependencies.agentwire-macros]
version = "=0.0.1"
path = "macros"

[dependencies]
close_fds = "0.3.2"
# linux-v18 tag - using rev for Nix compatibility
minijail = { git = "https://github.com/google/minijail.git", rev = "3ce72e092f1ea94edc74545cd29df297e503d4fa", optional = true }
tempfile = { version = "3", optional = true }
futures = "0.3"
libc = "0.2.93"
nix = { version = "0.26.2", default-features = false, features = [
Expand Down
Loading
Loading