Document new MCP tools in sx-tools page and CLAUDE.md
- Add Debugging & analysis section to tool catalogue (sx_trace, sx_deps, sx_build_manifest) - Update harness entry to mention multi-file and setup support - Update tool count from 35+ to 40+ - Add tool table to CLAUDE.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
CLAUDE.md
10
CLAUDE.md
@@ -102,7 +102,7 @@ Read the error carefully. Fragment errors give the parse failure in the new sour
|
||||
|
||||
| Tool | Purpose |
|
||||
|------|---------|
|
||||
| `sx_harness_eval` | Evaluate SX in a sandboxed harness with mock IO. Returns result + IO trace. Params: `expr`, optional `mock` (SX dict of overrides), optional `file` (load definitions) |
|
||||
| `sx_harness_eval` | Evaluate SX in a sandboxed harness with mock IO. Returns result + IO trace. Params: `expr`, optional `mock`, `file`, `files` (array), `setup` (SX expr run before eval) |
|
||||
|
||||
**Analysis:**
|
||||
|
||||
@@ -112,6 +112,14 @@ Read the error carefully. Fragment errors give the parse failure in the new sour
|
||||
| `sx_doc_gen` | Generate component docs from signatures across a directory |
|
||||
| `sx_playwright` | Run Playwright browser tests for the SX docs site |
|
||||
|
||||
**Debugging & analysis:**
|
||||
|
||||
| Tool | Purpose |
|
||||
|------|---------|
|
||||
| `sx_trace` | Step-through CEK evaluation showing symbol lookups, function calls, returns. Params: `expr`, optional `file`, `max_steps` |
|
||||
| `sx_deps` | Dependency analysis — shows all free symbols in a component and where they're defined. Params: `file`, optional `name`, `dir` |
|
||||
| `sx_build_manifest` | Show build contents: adapters, spec modules, primitives. Params: optional `target` ("js" or "ocaml") |
|
||||
|
||||
## Deployment
|
||||
|
||||
- **Do NOT push** until explicitly told to. Pushes reload code to dev automatically.
|
||||
|
||||
Reference in New Issue
Block a user