@tscircuit/cli 0.1.1797 → 0.1.1798

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -126,6 +126,24 @@ The debug directory contains:
126
126
  Use `--autorouter-dump-srj failed` to keep only failed-stage routing data, or
127
127
  `--autorouter-dump-srj phase:N` to capture a single stage.
128
128
 
129
+ ### Debug solver inputs
130
+
131
+ Use `--solver-debug` to record the constructor inputs for every solver that
132
+ the circuit reports while it renders:
133
+
134
+ ```bash
135
+ tsci build index.circuit.tsx \
136
+ --solver-debug \
137
+ --solver-debug-dir dist/solver-debug
138
+ ```
139
+
140
+ Each circuit writes a `solver-inputs.json` artifact beneath the debug
141
+ directory. The file preserves solver event order, identifies the component
142
+ that started each solver, and contains the full constructor argument tuple so
143
+ the solver can be reproduced independently. Values that JSON cannot represent
144
+ directly, such as `undefined`, `NaN`, maps, sets, or circular references, use
145
+ explicit `value_type` records instead of being silently discarded.
146
+
129
147
  ## Development
130
148
 
131
149
  This command will open the `index.tsx` file for editing.