feat: deployment-level no_shell policy (agents.yaml no_shell: true)

fast-agent auto-activates its shell execute tool on any agent with
skills configured, and Context.no_shell — the only opt-out — has no
constructor or config knob. Add install_no_shell(), a wrapper on
fast_agent.context.initialize_context that stamps no_shell=True on
every context, installed from server.main() when the deployment's
agents.yaml sets a truthy top-level no_shell: key. Skill loading via
read_skill is unaffected. Default behaviour unchanged for deployments
without the key.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-17 14:03:23 -04:00
parent 47a9dd92ea
commit 4809d781ff
3 changed files with 42 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "pallas-mcp"
version = "0.5.1"
version = "0.5.2"
description = "FastAgent MCP Bridge — generic runtime for serving FastAgent agents over StreamableHTTP"
requires-python = ">=3.13.5"
dependencies = [