@lawaty/lacode 1.3.0-beta.2 → 1.3.0-beta.3

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/CHANGELOG.md +44 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,50 @@ All notable changes to LaCode are recorded here. The format follows
7
7
  Versions come from git release commits; the npm version is bumped in the same
8
8
  commit as the changelog entry it describes.
9
9
 
10
+ ## [1.3.0-beta.3] — the 1.3.0-beta.2 notes
11
+
12
+ ### Changed
13
+
14
+ - **Republished so the published tarball carries the 1.3.0-beta.2 changelog
15
+ entry.** No runtime change: the code is identical to 1.3.0-beta.2.
16
+
17
+ ## [1.3.0-beta.2] — a reason that survives, and a timeline that ships
18
+
19
+ ### Added
20
+
21
+ - **A durable failure journal.** Every failed or cancelled spawn appends one JSON
22
+ line to `failures.jsonl` in the pool state directory: timestamp, source, base,
23
+ slot, model, reason, elapsed time and the error text. `pool_status` prints the
24
+ last five under `recent failures:`, so a slot that dies without a cooldown is
25
+ no longer invisible afterwards.
26
+
27
+ ### Changed
28
+
29
+ - **A spawn the pool did not abort now records why it died.** An unclassified
30
+ `session.error`, or an assistant message error matching no known class, used to
31
+ release the claim and say nothing. It now records the slot, model and error
32
+ text, and the cancelled task card is rewritten with that reason. A stop the
33
+ user presses still produces no record and no rewrite, because it raises no
34
+ session error.
35
+
36
+ ### Fixed
37
+
38
+ - **The cancelled-task rewrite was unauthenticated.** It hand-rolled a `fetch`
39
+ PATCH and read `OPENCODE_SERVER_PASSWORD` from the plugin's own environment —
40
+ but that variable exists only in the server process, so the request always went
41
+ out unauthenticated and a password-protected server answered `401`. The reason
42
+ was then dropped and the caller saw a bare `Task cancelled`. The rewrite now
43
+ goes through the injected client's part update, which is already authenticated;
44
+ the raw request remains only as a fallback for a runtime without it.
45
+ - **The timeline sidebar was never bundled.** `src/tui/timeline.tsx` was added in
46
+ 1.2.0 but never imported by the TUI entry point, so `dist/tui.js` contained no
47
+ reference to it and no published version shipped the panel: it worked only on a
48
+ machine whose `tui.json` pointed at the raw source file. The TUI entry now
49
+ composes it, `solid-js` and `@opentui/solid` are treated as host-provided peers
50
+ instead of being bundled, and the automatic JSX transform is enabled so the
51
+ `@opentui/solid` pragma is honoured rather than silently compiling to
52
+ `React.createElement`.
53
+
10
54
  ## [1.3.0-beta.0] — provider readiness, timeline roots, and a reason on cancelled tasks
11
55
 
12
56
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawaty/lacode",
3
- "version": "1.3.0-beta.2",
3
+ "version": "1.3.0-beta.3",
4
4
  "description": "Ultimate opencode setup for Go users — cost-controlled pooled subagents, hang recovery, and notifications for opencode.",
5
5
  "license": "MIT",
6
6
  "type": "module",