The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
fix(circuitjs): retain measurements when reopening Scope Lab (#229)
Dee34d3094a3ec1
diff --git a/store/agents/circuitjs/README.md b/store/agents/circuitjs/README.mdindex 7ee898c41..f7ce3ab30 100644--- a/store/agents/circuitjs/README.md+++ b/store/agents/circuitjs/README.md@@ -24,6 +24,8 @@ export, the capture instance's export, timestamped CSV/JSON measurements, a stanyour notes, runtime fingerprints, checksums and a ZIP. Reopen it from **Your captures**, includingafter a restart or after removing the original circuit. Unsaved takes stay in this tab; keep ordiscard them before closing. Arrow keys move the active cursor; Enter switches A/B.+Within this tab, reopening Scope Lab or keeping the current capture preserves its cursors and zoom.+Choosing a different capture starts a fresh measurement view.The capture is a new simulation of an exported circuit, not a full checkpoint of the runningsolver. It uses a fresh time origin and faster display pacing; imported internal state can producediff --git a/store/agents/circuitjs/lab/ui.mjs b/store/agents/circuitjs/lab/ui.mjsindex a367534a4..b26362745 100644--- a/store/agents/circuitjs/lab/ui.mjs+++ b/store/agents/circuitjs/lab/ui.mjs@@ -267,10 +267,12 @@ export async function initScopeLab({ getSim, getSourceFile }) {return takes.get(id)}function showTake(take) {+ if (selected !== take.id) {+ cursors = {}+ viewWindow = null+ }selected = take.idactiveDraft = null- cursors = {}- viewWindow = nullif (reference === selected) reference = null$('slTitle').value = take.title$('slNote').value = take.note || ''