swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/crates/phone-opus/src/mcp/catalog.rs
diff options
context:
space:
mode:
authormain <main@swarm.moe>2026-03-25 00:43:57 -0400
committermain <main@swarm.moe>2026-03-25 00:43:57 -0400
commit2c219204d627634442d46c38d1b5df806f77f4c1 (patch)
tree02b6c0108a698a422aef88ed8bb7e602212bd36d /crates/phone-opus/src/mcp/catalog.rs
parent481aaa4ee150671d86655d566f52aa1bd7254c16 (diff)
downloadphone_opus-2c219204d627634442d46c38d1b5df806f77f4c1.zip
Disable public resume behavior
Diffstat (limited to 'crates/phone-opus/src/mcp/catalog.rs')
-rw-r--r--crates/phone-opus/src/mcp/catalog.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/phone-opus/src/mcp/catalog.rs b/crates/phone-opus/src/mcp/catalog.rs
index f17a3c5..cf18fc3 100644
--- a/crates/phone-opus/src/mcp/catalog.rs
+++ b/crates/phone-opus/src/mcp/catalog.rs
@@ -41,7 +41,7 @@ impl ToolSpec {
const TOOL_SPECS: &[ToolSpec] = &[
ToolSpec {
name: "consult",
- description: "Run a blocking consult against the system Claude Code install using a read-only built-in toolset, automatically reuse the remembered context for the current cwd by default, optionally opt out with fresh_context, and return the response plus execution metadata.",
+ description: "Run a blocking one-shot consult against the system Claude Code install using a read-only built-in toolset and return the response plus execution metadata.",
dispatch: DispatchTarget::Worker,
replay: ReplayContract::NeverReplay,
},
@@ -89,10 +89,6 @@ fn tool_schema(name: &str) -> Value {
"cwd": {
"type": "string",
"description": "Optional working directory for the Claude Code session. Relative paths resolve against the MCP host working directory."
- },
- "fresh_context": {
- "type": "boolean",
- "description": "When true, start a fresh Claude context instead of reusing the remembered context for this cwd. Defaults to false."
}
},
"required": ["prompt"]