wakespace 0.1.3 → 0.1.5

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 (3) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +31 -1
  3. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,57 @@
3
3
  All notable changes to `wakespace` are documented here. This project adheres to
4
4
  [Semantic Versioning](https://semver.org/).
5
5
 
6
+ ## 0.1.5 — 2026-06-01
7
+
8
+ ### Changed
9
+
10
+ - Implementation stages that require project writes now cap pre-write project
11
+ exploration. After the budget is exhausted, project tools reject the rest of
12
+ the worker pass, cancel the run, and route to commit fallback instead of
13
+ allowing repeated read retries or late writes.
14
+ - Coding-stage project writes now refuse `writeFile` overwrites of existing
15
+ files, steering workers toward structured `replaceInFile` edits for existing
16
+ source.
17
+ - Forced commit tools now expose workflow-field JSON schema and reject invalid
18
+ field payload types before reducer application.
19
+
20
+ ## 0.1.4 — 2026-06-01
21
+
22
+ ### Added
23
+
24
+ - Wake chronicles now record `wake.progress` events for worker and commit tool
25
+ calls, so `inspect wait` can observe long wakes before they finish.
26
+ - Wake chronicles now record bounded worker diagnostics for each worker and
27
+ forced commit pass, including state-command counts, project tool/write
28
+ evidence, tool-call summaries, and first-pass text previews.
29
+ - Added `inspect wait`, a read-side command that waits for the next chronicle
30
+ event (optionally scoped by task) or exits on timeout.
31
+ - AI SDK project workers now get `replaceInFile` for exact small source edits;
32
+ wakespace counts it as project write evidence alongside `writeFile`.
33
+ - CLI task creation now accepts `--parent`, and `submit` accepts `transition`
34
+ so a lead can split broad work into child tasks and explicitly accept results.
35
+
36
+ ### Fixed
37
+
38
+ - Forced commit fallback now coalesces duplicate block/cancel calls so a worker
39
+ retry does not create misleading `command.rejected` chronicle noise.
40
+ - Wake diagnostics now label project write evidence generically as
41
+ `projectWrites` because either `writeFile` or `replaceInFile` can satisfy it.
42
+ - Project write evidence now counts only successful edit tool results, and the
43
+ forced commit fallback also runs when the worker only records non-advancing
44
+ commands such as `append_note`.
45
+
46
+ ### Changed
47
+
48
+ - `chronicle --text` now renders structured facts for diagnostics, forced
49
+ commits, and progress rows instead of relying only on prose summaries.
50
+ - Default wake step budget increased from 6 to 12 so development workers have
51
+ enough room to inspect, edit, and commit state in one small implementation
52
+ wake.
53
+ - Development implement-stage instructions now prefer `replaceInFile` for
54
+ localized edits and explicitly warn workers not to spend the wake only on
55
+ inspection after the edit target is clear.
56
+
6
57
  ## 0.1.3 — 2026-06-01
7
58
 
8
59
  ### Changed
package/README.md CHANGED
@@ -58,6 +58,21 @@ For a human-readable snapshot of projects, workers, tasks, and recent activity:
58
58
  wakespace overview
59
59
  ```
60
60
 
61
+ To coordinate with a concurrently running wake without streaming `run`, wait
62
+ for the next chronicle event:
63
+
64
+ ```sh
65
+ wakespace inspect wait --task <taskId> --timeout 30000
66
+ ```
67
+
68
+ When a task is too broad, split a narrower child task and let the lead merge
69
+ accepted fields back into the parent:
70
+
71
+ ```sh
72
+ wakespace create "small bounded change" --parent <parentTaskId> --workflow general
73
+ wakespace submit <taskId> transition "accepted"
74
+ ```
75
+
61
76
  ## Live Smoke
62
77
 
63
78
  ```sh
@@ -77,7 +92,15 @@ dependencies already resolve). From `packages/wakespace`:
77
92
 
78
93
  ```sh
79
94
  bun run release:dry # build all platforms + npm publish --dry-run everywhere
80
- bun run release # build all platforms + publish for real (needs npm auth)
95
+ NPM_TOKEN=... bun run release
96
+ ```
97
+
98
+ The script performs `npm whoami` with the same auth config before any real
99
+ publish. If `NPM_TOKEN` is loaded only when your shell starts at the repository
100
+ root, run the release from the root with an explicit environment override:
101
+
102
+ ```sh
103
+ NPM_TOKEN="$NPM_TOKEN" bun --cwd packages/wakespace scripts/release.ts
81
104
  ```
82
105
 
83
106
  The platform matrix lives in `scripts/build-platforms.ts`; it stamps each
@@ -86,6 +109,13 @@ platform package with the launcher's version and fails if
86
109
  `package.json` (version + each `optionalDependencies` entry) when cutting a
87
110
  release. Run `bun run release:dry` before publishing.
88
111
 
112
+ When publishing from this monorepo, do not rely on npm discovering a local
113
+ `.npmrc` from generated package directories. The release script maps `NPM_TOKEN`
114
+ to a temporary `NPM_CONFIG_USERCONFIG` file and passes that config explicitly to
115
+ each `npm publish` child process, then removes it. This avoids the recurring
116
+ case where `npm whoami` succeeds in one directory but platform-package publish
117
+ fails with auth/404 errors.
118
+
89
119
  ## License
90
120
 
91
121
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wakespace",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Durable wake-loop workspace for agent-driven project development.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,13 +42,13 @@
42
42
  },
43
43
  "homepage": "https://github.com/lidessen/wakespace/tree/main/packages/wakespace#readme",
44
44
  "optionalDependencies": {
45
- "wakespace-darwin-arm64": "0.1.3",
46
- "wakespace-darwin-x64": "0.1.3",
47
- "wakespace-linux-x64": "0.1.3",
48
- "wakespace-linux-arm64": "0.1.3",
49
- "wakespace-linux-x64-musl": "0.1.3",
50
- "wakespace-linux-arm64-musl": "0.1.3",
51
- "wakespace-windows-x64": "0.1.3"
45
+ "wakespace-darwin-arm64": "0.1.5",
46
+ "wakespace-darwin-x64": "0.1.5",
47
+ "wakespace-linux-x64": "0.1.5",
48
+ "wakespace-linux-arm64": "0.1.5",
49
+ "wakespace-linux-x64-musl": "0.1.5",
50
+ "wakespace-linux-arm64-musl": "0.1.5",
51
+ "wakespace-windows-x64": "0.1.5"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/bun": "latest",