{"draft":null,"from":24,"to":318,"files":[{"path":"client/src/mcp.ts","added":28,"removed":16,"diff":"--- a/client/src/mcp.ts\n+++ b/client/src/mcp.ts\n@@ -2,9 +2,9 @@\n // command, run by the same code as the command line and answering with the\n // same text, so the CLI and the tools can't drift apart and an agent learns\n // one set of words. The folder and the token come from where the server runs,\n-// as for the CLI: .avcs/config.json, and AVCS_TOKEN or ~/.avcs/token.\n+// as for the CLI: .avcs/config.json, and ABSO_TOKEN or ~/.abso/token.\n //\n-//   claude mcp add avcs -- node <repo>/client/avcs.ts mcp\n+//   claude mcp add abso -- abso mcp\n //\n // The protocol is JSON-RPC 2.0, one message per line, with no library: the\n // client uses nothing outside Node.\n@@ -35,8 +35,8 @@\n \t\"announce\",\n \t\"start\",\n \t\"record\",\n-\t\"sync\",\n-\t\"publish\",\n+\t\"pull\",\n+\t\"push\",\n \t\"unqueue\",\n \t\"restore\",\n \t\"settle\",\n@@ -52,6 +52,14 @@\n \t\"ask\",\n \t\"waiting\",\n \t\"answer\",\n+\t\"ack\",\n+\t\"reply\",\n+\t\"groups\",\n+\t\"group\",\n+\t\"orgs\",\n+\t\"org\",\n+\t\"whoami\",\n+\t\"doctor\",\n ] as const;\n \n const PROTOCOLS = [\"2025-06-18\", \"2025-03-26\", \"2024-11-05\"];\n@@ -70,15 +78,19 @@\n \treturn MCP_COMMANDS.map((command) => {\n \t\tconst def = table[command]!;\n \t\tconst flags = Object.fromEntries(\n-\t\t\tObject.entries(def.flags).map(([flag, kind]) => [\n-\t\t\t\tflag,\n-\t\t\t\tkind === \"boolean\"\n-\t\t\t\t\t? { type: \"boolean\", description: `--${flag}` }\n-\t\t\t\t\t: {\n-\t\t\t\t\t\t\ttype: \"string\",\n-\t\t\t\t\t\t\tdescription: kind === \"optional\" ? `--${flag} \"<value>\"; \"\" gives --${flag} alone` : `--${flag} <value>`,\n-\t\t\t\t\t\t},\n-\t\t\t]),\n+\t\t\t// No --token-file: a tool signs in with its folder's key, never this machine's token file.\n+\t\t\tObject.entries(def.flags)\n+\t\t\t\t.filter(([flag]) => flag !== \"token-file\")\n+\t\t\t\t.map(([flag, kind]) => [\n+\t\t\t\t\tflag,\n+\t\t\t\t\tkind === \"boolean\"\n+\t\t\t\t\t\t? { type: \"boolean\", description: `--${flag}` }\n+\t\t\t\t\t\t: {\n+\t\t\t\t\t\t\t\ttype: \"string\",\n+\t\t\t\t\t\t\t\tdescription:\n+\t\t\t\t\t\t\t\t\tkind === \"optional\" ? `--${flag} \"<value>\"; \"\" gives --${flag} alone` : `--${flag} <value>`,\n+\t\t\t\t\t\t\t},\n+\t\t\t\t]),\n \t\t);\n \t\treturn {\n \t\t\tname: toolName(command),\n@@ -120,8 +132,8 @@\n \treturn rel === \"\" || (rel !== \"..\" && !rel.startsWith(`..${sep}`) && !isAbsolute(rel));\n }\n \n-/** The tool inputs that name files on this machine to read, comma-separated: each is confined like the folder. */\n-export const FILE_INPUTS = [\"attach\", \"clean\"] as const;\n+/** The tool inputs that name files or folders on this machine to read or write, comma-separated: each is confined like the folder. */\n+export const FILE_INPUTS = [\"attach\", \"clean\", \"save-attachments\"] as const;\n \n /**\n  * Where a tool call runs, and what it may read: its folder and\n@@ -149,7 +161,7 @@\n \t\t\t.filter((x) => x !== \"\"))\n \t\t\tif (!inside(start, resolve(folder, p)))\n \t\t\t\treturn {\n-\t\t\t\t\trefused: `--${flag} ${p} is outside ${start}, the folder this server started in; a tool reads files from there or below`,\n+\t\t\t\t\trefused: `--${flag} ${p} is outside ${start}, the folder this server started in; a tool reads and writes files only there or below`,\n \t\t\t\t};\n \t}\n \treturn { folder };"}],"unmatched":[]}