Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions nemoclaw-blueprint/policies/presets/tavily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ network_policies:
- allow: { method: GET, path: "/**" }
- allow: { method: POST, path: "/**" }
binaries:
# OpenShell attributes Deep Agents Code Tavily requests to its managed Python venv.
- { path: /opt/venv/bin/python3* }
- { path: /usr/local/bin/node }
- { path: /usr/bin/node }
- { path: /usr/local/bin/curl }
Expand Down
2 changes: 2 additions & 0 deletions nemoclaw-blueprint/provider-profiles/tavily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ endpoints:
access: read-write
enforcement: enforce
binaries:
# OpenShell attributes Deep Agents Code Tavily requests to its managed Python venv.
- /opt/venv/bin/python3*
- /usr/local/bin/node
- /usr/bin/node
- /usr/local/bin/curl
Expand Down
1 change: 1 addition & 0 deletions test/tavily-preset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe("tavily opt-in preset", () => {
},
]);
expect(policy?.binaries).toEqual([
{ path: "/opt/venv/bin/python3*" },
{ path: "/usr/local/bin/node" },
{ path: "/usr/bin/node" },
{ path: "/usr/local/bin/curl" },
Expand Down
1 change: 1 addition & 0 deletions test/validate-blueprint.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ describe("Tavily Search provider profile", () => {

it("limits the binary allowlist to runtimes the Tavily client actually uses", () => {
expect(profile.binaries).toEqual([
"/opt/venv/bin/python3*",
"/usr/local/bin/node",
"/usr/bin/node",
"/usr/local/bin/curl",
Expand Down
Loading