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:
@@ -49,7 +49,7 @@
|
||||
:title "Tool catalogue"
|
||||
:id "catalogue"
|
||||
(p
|
||||
"The SX tree MCP server provides 35+ tools across 8 categories. Every tool operates on the parsed tree, not raw text.")
|
||||
"The SX tree MCP server provides 40+ tools across 9 categories. Every tool operates on the parsed tree, not raw text.")
|
||||
(h4
|
||||
:class "font-semibold text-stone-700 mt-6 mb-2"
|
||||
"Comprehension (7 tools)")
|
||||
@@ -273,8 +273,9 @@
|
||||
:src ";; What changed on this branch?\nsx_diff_branch\n;; → adapter-dom.sx: ADDED [3] (define *memo-cache* ...)\n;; → adapter-dom.sx: ADDED [4] (define contains-deref? ...)\n;; → boot.sx: CHANGED [12,4,2,2,2,2,3,3,1,0] cek-try wrapper")
|
||||
(h4
|
||||
:class "font-semibold text-stone-700 mt-6 mb-2"
|
||||
"Test harness (1 tool)")
|
||||
(p "Sandboxed evaluation with mock IO.")
|
||||
"Test harness (1 tool, multi-file)")
|
||||
(p
|
||||
"Sandboxed evaluation with mock IO. Supports loading multiple files and setup expressions.")
|
||||
(table
|
||||
:class "min-w-full text-sm mb-6"
|
||||
(thead
|
||||
@@ -289,7 +290,7 @@
|
||||
(td :class "pr-4 py-1 font-mono text-xs" "sx_harness_eval")
|
||||
(td
|
||||
:class "py-1"
|
||||
"Evaluate SX with mock IO platform. Returns result + IO trace."))))
|
||||
"Evaluate SX with mock IO. Load multiple files via files param. Setup expressions run before eval."))))
|
||||
(~docs/code
|
||||
:src ";; Test a component's IO behavior\nsx_harness_eval\n expr=\"(fetch-data \\\"users\\\" \\\"all\\\")\"\n mock=\"{:fetch (fn (url opts) {:status 200 :body \\\"[]\\\"})}\"")
|
||||
(h4 :class "font-semibold text-stone-700 mt-6 mb-2" "Analysis (3 tools)")
|
||||
@@ -1007,3 +1008,6 @@
|
||||
" to restructure — would be a tree operation. No character-counting, no mental stack simulation, no risk of introducing a second paren error while fixing the first."))
|
||||
(p
|
||||
"The gap between intended tree and actual tree stops being invisible. Claude sees trees, edits trees, and the brackets take care of themselves."))))
|
||||
|
||||
(~docs/code
|
||||
:src ";; Run Playwright tests\nsx_playwright spec=\"demo-interactions.spec.js\"")
|
||||
|
||||
Reference in New Issue
Block a user