← Commit history
SKILL.md+29@@ -81,6 +81,35 @@ outside adom-tsci's workflow, so it lives under this parent, not as a sibling. If older installs left `~/.claude/skills/adom-usbc/` behind, `adom-tsci install` 1.3.4+ removes it automatically. +## 🧹 Process hygiene — don't be the thread that leaks tsci devs (v1.4.23)++Every preview holds a `bun tsci dev` that idles at ~200 MB and grows.+Historically abandoned previews accumulated for months (17 stale PID+locks on one container, April to July). The rules:++- **Status before start.** `adom-tsci status --json`; if an instance is+ already serving your project, REUSE it (`adom-tsci open`). Never start+ a second port for the same project.+- **Stop when the task ends.** `adom-tsci stop` at the end of any task+ that started a preview. Stop now verifies death via /health and falls+ back to a PID-lock kill + orphan sweep if the HTTP path fails.+- **Idle reaper is on by default.** Servers auto-shutdown cleanly after+ 30 min with no UI polls or CLI calls (`--idle-timeout-mins N`,+ 0 disables). An abandoned preview no longer outlives your attention+ span by more than half an hour.+- **`adom-tsci ps`** lists every server + tsci dev on the box with RSS,+ age, and orphan state. **`adom-tsci reap [--dry-run]`** kills orphan+ tsci devs (parent server dead) and removes stale PID locks. `start`+ runs the orphan reap automatically, and all kills are per-PID+ (never pkill).+- **`adom-tsci upgrade` is scoped to tscircuit packages by default.**+ A blanket `bun update --latest` pulled incompatible rollup/typescript+ majors and broke tsci entirely (benchmarked 2026-07-20). `--all`+ restores the old whole-project behavior when you really want it.+- **Watch the footer RSS readout** (`tsci dev: N MB`, live from+ `/state.tsci_dev_rss_mb`). If it climbs into the GB range, recycle+ with `adom-tsci stop && adom-tsci start`.+ ## ⚡ CLI-FIRST — non-negotiable If an `adom-tsci` preview is running (or you're about to start one),
VERSION+1−1@@ -1 +1 @@-1.4.22+1.4.23
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-tsci",- "version": "1.4.22",+ "version": "1.4.23", "type": "app", "description": "Interactive tscircuit board viewer in a Hydrogen webview \u2014 first-class 3D / PCB / Schematic tabs, an Inspect tool, a Fusion-style Measure tool, net x-ray, guided Walkthrough demos, one-click autorouter re-run, and auto high-res board-surface texture. Fully AI-drivable (CLI + HTTP + JS eval). Also publishes molecules/boards to the Adom Wiki.", "dependencies": {},
page.json+1−1@@ -4,7 +4,7 @@ "slug": "adom-tsci", "title": "Adom TSCI - Tscircuit Board Viewer", "brief": "Interactive tscircuit preview in a Hydrogen webview — first-class 3D / PCB / Schematic tabs, Components & Nets HUDs, an auto-glow x-ray view, Inspect, Measure, a Walkthrough Demo, and a one-click `exp",- "version": "1.4.22",+ "version": "1.4.23", "tags": [ "tscircuit", "pcb",