diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ It exposes one blocking domain tool: - by default, phone_opus reuses the remembered Claude context for the consulted `cwd` - pass `fresh_context: true` to opt out and start a fresh Claude context for that `cwd` - a fixed consult prefix is prepended before the caller-supplied prompt - - downstream failures still surface any reusable context handle for that `cwd`, so a post-reset retry can stick to the same session + - fresh consults predeclare a UUID session id and stream-confirm it eagerly, so downstream failures still surface a reusable context handle for that `cwd` The server keeps the public MCP session in a durable host, isolates the actual Claude invocation in a disposable worker, and ships standard health and @@ -31,6 +31,8 @@ Each `consult` call runs Claude Code with: - a read-only built-in toolset: - `Bash,Read,Grep,Glob,LS,WebFetch` - `--dangerously-skip-permissions` +- `--session-id <uuid>` on fresh consults, or `--resume <uuid>` when reusing remembered `cwd` context +- `--output-format stream-json` so phone_opus can capture the init/result session metadata eagerly instead of waiting for the terminal result blob - an external `systemd-run --user` sandbox instead of Claude's internal permission gate - the filesystem stays globally read-only under `ProtectSystem=strict` - `phone_opus` gives Claude a separate persistent home and XDG state under its own state root |