create-stitchkit 0.6.21 → 0.6.23

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.
package/CHANGELOG.md CHANGED
@@ -12,6 +12,49 @@ step is overwritten by the next release.
12
12
 
13
13
  ## [Unreleased]
14
14
 
15
+ ## [0.6.23] - 2026-11-21
16
+
17
+ ### Changed
18
+
19
+ - Generated projects resolve stitchkit 0.126.0. The backend's watch hub reads with
20
+ `read({ operation })`: `createWatchHub` now passes one request carrying an `AbortSignal` that
21
+ aborts when the last watcher leaves. An existing project adopts it by
22
+ [`UPGRADING.md`](./UPGRADING.md#watch-hub-reads-one-request) and the stitchkit 0.126.0
23
+ migration `watch-read-request` in `docs/guide/upgrading.md`, and from 0.125.0 the migration
24
+ `cli-framework-option-command-names`: a CLI command named like a framework option (`--quiet`)
25
+ is refused, and a leading framework flag before a native command in a CLI with a managed
26
+ factory and no default command must move after it.
27
+ - The generator, the starter and both templates run on Bun 1.4.5; the agent template moves to
28
+ `ai` 7.0.179 and OpenTUI 0.9.7, the telegram-bot template to `@types/bun` 1.4.5.
29
+
30
+ ## [0.6.22] - 2026-11-17
31
+
32
+ ### Changed
33
+
34
+ - Generated projects resolve stitchkit 0.124.2: a streaming endpoint reads the response of
35
+ another runtime's fetch (`expo/fetch` in React Native). A project that builds or reads named
36
+ MCP media blocks, maps `NOT_FOUND` to a missing route or tool, or reads stdout after
37
+ `CLI_PRESENTATION_FAILED` follows the stitchkit 0.122.0, 0.123.0 and 0.124.0 migrations in
38
+ `docs/guide/upgrading.md`.
39
+ - The generator, the starter and both templates check and format with Biome 2.6.8; the starter
40
+ moves to Playwright 1.65.1, Next.js 16.4.6, TanStack Query 5.108, `next-intl` 4.15,
41
+ `framer-motion` 14.14, Tailwind CSS 4.3.5, `@tabler/icons-react` 3.52, `ai` 7.0.173,
42
+ `dotenv` 18.0.10 and `oxc-parser` 0.159, the agent template to `ai` 7.0.173.
43
+
44
+ ### Fixed
45
+
46
+ - A generated agent project installs the `stitchkit-tui` its code is written for: the template
47
+ declared `^0.1.1`, which resolves to 0.1.x only, while its code uses the 0.4 API. It now declares
48
+ `^0.4.4` and the TUI's peers — `@opentui/core` and `@opentui/react` `^0.9.2`, `react` `^19.3.1` —
49
+ as its own dependencies. An agent project generated earlier takes the same four lines into its
50
+ `package.json` and runs `bun install`.
51
+
52
+ - A generated project keeps answering `not_found` for a request no route matches. Stitchkit
53
+ answers such a request `UNKNOWN_OPERATION` where it used to answer `NOT_FOUND`, and the
54
+ starter's error map now spells both as `not_found`; without the entry the framework's own code
55
+ would reach clients. Existing projects adopt it by
56
+ [`UPGRADING.md`](./UPGRADING.md#unknown-operation-keeps-the-not_found-wire-code).
57
+
15
58
  ## [0.6.21] - 2026-11-09
16
59
 
17
60
  ### Changed
package/UPGRADING.md CHANGED
@@ -60,6 +60,30 @@ the first scaffolder release with a migration channel of its own.
60
60
 
61
61
  ---
62
62
 
63
+ ## Released migration: 0.6.23
64
+
65
+ ### watch hub reads one request
66
+
67
+ Take it together with stitchkit 0.126.0, whose `createWatchHub` passes `read` one
68
+ `{ operation, args, scope, signal }` request; on 0.125.0 and earlier the entry does not compile.
69
+
70
+ 1. In `packages/backend/src/lib/live.ts`, change `read: async (operation) =>` to
71
+ `read: async ({ operation }) =>`. A read of your own that calls the network or a slow query
72
+ takes `signal` from the same request and passes it on.
73
+ 2. Run `bun run check`, then open the board in two tabs, post a note in one and check it appears
74
+ in the other.
75
+
76
+ ## Released migration: 0.6.22
77
+
78
+ ### unknown operation keeps the not_found wire code
79
+
80
+ Take it together with the stitchkit release that answers an unmatched route
81
+ `UNKNOWN_OPERATION`; on an earlier stitchkit the entry is inert.
82
+
83
+ 1. In `packages/backend/src/transport/errors.ts`, add `UNKNOWN_OPERATION: 'not_found'` to
84
+ `codeMap`, beside `NOT_FOUND`.
85
+ 2. Request a path the backend does not route and check the answer's code is `not_found`.
86
+
63
87
  ## Released migration: 0.6.21
64
88
 
65
89
  ### supervision passes declared environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-stitchkit",
3
- "version": "0.6.21",
3
+ "version": "0.6.23",
4
4
  "description": "Create a production-shaped Stitchkit application",
5
5
  "license": "MIT",
6
6
  "author": "Max Listov <maxlistov@gmail.com>",
@@ -74,22 +74,22 @@
74
74
  "prepublishOnly": "bun run check && bun run test && bun run build"
75
75
  },
76
76
  "dependencies": {
77
- "@biomejs/biome": "2.6.5",
77
+ "@biomejs/biome": "2.6.8",
78
78
  "zod": "^4.6.7"
79
79
  },
80
80
  "devDependencies": {
81
- "@opentui/core": "^0.8.2",
82
- "@opentui/react": "^0.8.2",
83
81
  "@openrouter/ai-sdk-provider": "^3.1.0",
84
- "@types/bun": "^1.4.4",
82
+ "@opentui/core": "^0.9.7",
83
+ "@opentui/react": "^0.9.7",
84
+ "@types/bun": "^1.4.5",
85
85
  "@types/react": "^19.3.0",
86
- "ai": "^7.0.162",
86
+ "ai": "^7.0.179",
87
87
  "react": "^19.3.1",
88
- "stitchkit": "0.121.0",
88
+ "stitchkit": "0.126.0",
89
89
  "typescript": "^7.0.2"
90
90
  },
91
91
  "engines": {
92
92
  "bun": ">=1.2.0"
93
93
  },
94
- "packageManager": "bun@1.4.4"
94
+ "packageManager": "bun@1.4.5"
95
95
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.6.5/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.6.8/schema.json",
3
3
  "markdown": {
4
4
  "formatter": { "enabled": false }
5
5
  },