Commit Graph

4 Commits

Author SHA1 Message Date
Levi Neely 73b7b2cb67 exec: default sandbox to "default" instead of "anvilmcp"
Consistent with ollie's own dispatchBuiltinExec.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 21:12:03 +02:00
Levi Neely 3d60dbde5d exec: remove sandbox fallback on permission error
Silent fallback from the anvilmcp sandbox to the default sandbox on
permission errors undermined the sandbox policy — a restriction firing
is the sandbox working correctly, not a failure to recover from.
Sandbox selection is now explicit: the requested policy runs, and
failure surfaces as an error.

Also removes the now-unused IsPermissionError helper from ollie/exec.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 21:11:18 +02:00
Levi Neely 774e307b78 Delegate execute_code to ollie/exec shared package
Replaces the inline execution, validation, and rate-limiting logic with
calls to ollie/exec. Keeps only the 9P-dependent MCP glue (executor
init, tool call dispatch). go.mod now depends on ollie only; anvillm
and 9fans are transitive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 22:30:49 +02:00
Levi Neely da740133df Initial commit: standalone anvilmcp server
MCP server for tool execution with sandboxing.
Extracted from anvillm/cmd/anvilmcp.
2026-03-20 15:20:14 +01:00