Adds an MCP tool the LLM can call to ground modifying calls in what the user is currently looking at in the phobiCS-tui browser. Backed by readSelection() from src/state-read.ts. defaultStateFilePath() is intentionally duplicated from src/tui/shared/state-paths.ts: the TUI subpackage is ESM and the MCP server is CJS, so a cross-import would force one or the other to change module systems for ~15 lines of code that almost never changes. |
||
|---|---|---|
| .. | ||
| detect.test.ts | ||
| get-user-selection.test.ts | ||
| inspect.test.ts | ||
| ipc.test.ts | ||
| launcher.test.ts | ||
| mirror-paths.test.ts | ||
| open-project-preflight.test.ts | ||
| script-manager.test.ts | ||
| ssh-version.test.ts | ||
| state-read.test.ts | ||