@toolkit-cli/toolkode 1.13.3 → 1.14.0

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.
Files changed (2) hide show
  1. package/README.md +23 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -35,6 +35,27 @@ toolkode --prompt "fix the failing tests"
35
35
  toolkode serve
36
36
  ```
37
37
 
38
+ ## What's new in v1.14 "Mission Critical"
39
+
40
+ A stability-and-polish release. v1.14 closes the last known OpenTUI streaming crash, finishes the `/compact` UX cleanup started in v1.13.2, restores the `/checkpoint` alias, and adds a 144-test suite around the artifact and compat layers that shipped in v1.13.3.
41
+
42
+ **Streaming crash: fully guarded.** v1.13.1 wrapped the SSE listener in `batch()` and switched hot-path array mutations to `reconcile()`, which eliminated most "Child not found in children" crashes — but not all. v1.14 adds a renderer-level belt to the v1.13.1 suspenders: an idempotent monkey-patch on `TextNodeRenderable.prototype.remove` that makes the call a no-op when the child is already gone instead of throwing. Installed once at module load, guarded by a `Symbol.for` flag so repeat imports and HMR don't stack wrappers. No more mid-stream TUI death, period.
43
+
44
+ **`/compact` is finally tidy.** The canonical `/compact` handler in the session route now: shows a "Compacting…" toast so you know the work kicked off, awaits the server response (which returns immediately — compaction runs fire-and-forget server-side and streams back over SSE), logs failures through the TUI logger instead of silently swallowing them, clears the dialog on the null-model warning path (which previously left it open), and reports errors via toast. The stub entry in `app.tsx` that v1.13.2 deleted stays deleted — there's exactly one `/compact` in the palette, and it's the right one.
45
+
46
+ **`/checkpoint` alias restored.** `/rewind` responds to `/checkpoint` again, matching pre-v1.13.2 behavior. v1.13.2's dedup pass removed it as a side effect of killing a duplicate `/rewind` entry; it's back on the canonical session-route command.
47
+
48
+ **144 new tests for the compat layer.** The Claude/Gemini/Codex artifact-compat code that landed in v1.13.3 now has real coverage: 144 tests across 7 files exercising the artifact util, path resolution, Zod schema validation (valid **and** invalid inputs), the artifact registry, and per-agent path derivation. All 144 pass, 197 `expect()` calls, under 1.5s on a cold run.
49
+
50
+ **README cleanup.** Stale "targeted for v1.14.0" references are corrected — the compat feature actually shipped in v1.13.3 (commit `724c94b`). The `/checkpoint` restoration note is updated to reflect reality.
51
+
52
+ ### Upgrade notes
53
+
54
+ - No breaking changes. No config changes. No new dependencies.
55
+ - If you were working around the streaming crash by restarting the TUI, you can stop.
56
+ - If you had `/checkpoint` muscle memory, it works again.
57
+ - The compat tests run as part of `bun test` — nothing to configure.
58
+
38
59
  ## What's new in v1.13 "Dreamer" (v1.13.2 stable)
39
60
 
40
61
  **Memory that fades gracefully.** Working set, facts, goals, and corrections now decay on category-specific exponential curves — corrections stay weighted for a year, working-set notes for 30 minutes, steers for 2 hours. Stale memories stop crowding the prompt, fresh ones get priority, and nothing drops off a cliff.
@@ -53,8 +74,8 @@ v1.13.0 shipped with a handful of bugs that a deep audit turned up. v1.13.1 was
53
74
 
54
75
  - **Fixed: `/compact` command produced no visible result.** The `/session/:id/summarize` server route was blocking its HTTP response on the full compaction LLM call (30s-120s), which tripped client-side timeouts and surfaced as "Compaction failed" even though the work was actually running. The route now kicks the loop off fire-and-forget (matching the existing `prompt_async` pattern) and returns 200 immediately. Clients observe progress and the summary message via SSE.
55
76
  - **Fixed: two `/compact` entries in the command palette.** A stub entry in `app.tsx` was shadowing the canonical session-route version. While we were there, we also removed duplicate `/rename`, `/copy`, `/export`, and `/rewind` entries that had the same shape collision, and killed a `"search"` alias on `/find` that was colliding with the semantic search command.
56
- - **Fixed: release build failed to resolve `./routes/compat`.** A Claude/Codex/Gemini artifact-compat feature was partially landed on main (import in `server/instance.ts`) without the corresponding `src/compat/` subtree committed. The import is reverted in v1.13.2 so the build is clean; the full compat feature is targeted for v1.14.0.
57
- - **Known minor regression**: the `/rewind` command's `checkpoint` alias was removed along with the duplicate entry. If you've been typing `/checkpoint`, use `/rewind` instead for now. The alias will be restored in v1.14.0 on the canonical session-route version.
77
+ - **Fixed: release build failed to resolve `./routes/compat`.** A Claude/Codex/Gemini artifact-compat feature was partially landed on main (import in `server/instance.ts`) without the corresponding `src/compat/` subtree committed. The import is reverted in v1.13.2 so the build is clean; the full compat feature shipped in v1.13.3 (724c94b).
78
+ - **Known minor regression**: the `/rewind` command's `checkpoint` alias was removed along with the duplicate entry. Restored in v1.14.0.
58
79
 
59
80
  ### v1.13.1 fix set (bundled into v1.13.2)
60
81
 
package/package.json CHANGED
@@ -12,12 +12,12 @@
12
12
  "scripts": {
13
13
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
14
14
  },
15
- "version": "1.13.3",
15
+ "version": "1.14.0",
16
16
  "license": "SEE LICENSE IN LICENSE",
17
17
  "optionalDependencies": {
18
- "@toolkit-cli/toolkode-linux-arm64": "1.13.3",
19
- "@toolkit-cli/toolkode-linux-x64": "1.13.3",
20
- "@toolkit-cli/toolkode-darwin-arm64": "1.13.3",
21
- "@toolkit-cli/toolkode-windows-x64": "1.13.3"
18
+ "@toolkit-cli/toolkode-linux-arm64": "1.14.0",
19
+ "@toolkit-cli/toolkode-linux-x64": "1.14.0",
20
+ "@toolkit-cli/toolkode-darwin-arm64": "1.14.0",
21
+ "@toolkit-cli/toolkode-windows-x64": "1.14.0"
22
22
  }
23
23
  }