create-stitchkit 0.4.1 → 0.4.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.
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,33 @@ step is overwritten by the next release.
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased]
|
|
14
14
|
|
|
15
|
+
## [0.4.3] — 2026-08-28
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Fresh projects use the current published Stitchkit line.** The template's
|
|
20
|
+
single catalog target is `^0.68.6`, and its frozen lockfile resolves exactly
|
|
21
|
+
`0.68.6`. A generated project therefore receives the current contract,
|
|
22
|
+
application and agent-runtime compatibility line instead of remaining below
|
|
23
|
+
`0.61.0` under pre-1.0 caret semantics.
|
|
24
|
+
- **The repository variant carries its optional realtime client into browser
|
|
25
|
+
bundles.** Its `createRealtimeClient` composition supplies a literal
|
|
26
|
+
`socket.io-client` loader while preserving the framework target as the
|
|
27
|
+
template's single source of truth, so a packed scaffold resolves the optional
|
|
28
|
+
peer without adding a second framework range.
|
|
29
|
+
|
|
30
|
+
## [0.4.2] — 2026-08-25
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- **A freshly scaffolded project resolves the framework release that exists.**
|
|
35
|
+
The template ships a lockfile so a scaffold is reproducible, and that lockfile
|
|
36
|
+
still pinned the previous Stitchkit patch — so `create-stitchkit` published
|
|
37
|
+
minutes after a framework release produced a project on the older one, inside
|
|
38
|
+
a range that already allowed the newer. The range and the lock move together
|
|
39
|
+
now: `catalog.stitchkit` targets `^0.60.1` and the lockfile resolves it, which
|
|
40
|
+
is also what the packed target lane then tests against.
|
|
41
|
+
|
|
15
42
|
## [0.4.1] — 2026-08-25
|
|
16
43
|
|
|
17
44
|
### Fixed
|
|
@@ -20,7 +20,14 @@ function buildSocket() {
|
|
|
20
20
|
// browser actually dialled, read at connect time, exactly like the server
|
|
21
21
|
// reads the request's origin. This function only ever runs in an effect.
|
|
22
22
|
const url = optionalRealtimeOrigin() ?? window.location.origin;
|
|
23
|
-
|
|
23
|
+
// Keep this recipe source-compatible with the template's current published
|
|
24
|
+
// Stitchkit target: structural typing lets the older additive API ignore
|
|
25
|
+
// `peers`, while current Stitchkit consumes the literal loader.
|
|
26
|
+
const options = {
|
|
27
|
+
url,
|
|
28
|
+
peers: { client: () => import('socket.io-client') },
|
|
29
|
+
};
|
|
30
|
+
return createRealtimeClient(repositoryRealtimeContract, options);
|
|
24
31
|
}
|
|
25
32
|
|
|
26
33
|
function buildBridge() {
|
package/package.json
CHANGED
package/template/bun.lock
CHANGED
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
},
|
|
140
140
|
},
|
|
141
141
|
"catalog": {
|
|
142
|
-
"stitchkit": "^0.
|
|
142
|
+
"stitchkit": "^0.68.6",
|
|
143
143
|
},
|
|
144
144
|
"packages": {
|
|
145
145
|
"@ai-sdk/gateway": ["@ai-sdk/gateway@4.0.63", "", { "dependencies": { "@ai-sdk/provider": "4.0.7", "@ai-sdk/provider-utils": "5.0.29", "@vercel/oidc": "3.2.0" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-D7BogSRg61QfTdr7AEcYn9h0I/e4QHvFXwIV1RW+DZZGJu1wSiX2cH06szZSYyKi7Eat50V4s4J8vggZUEs7eg=="],
|
|
@@ -1118,7 +1118,7 @@
|
|
|
1118
1118
|
|
|
1119
1119
|
"std-env": ["std-env@3.10.0", "", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="],
|
|
1120
1120
|
|
|
1121
|
-
"stitchkit": ["stitchkit@0.
|
|
1121
|
+
"stitchkit": ["stitchkit@0.68.6", "", { "dependencies": { "ky": "^2.0.2" }, "peerDependencies": { "@modelcontextprotocol/ext-apps": "^1.7.2", "@modelcontextprotocol/server": "^2.0.0", "@openrouter/ai-sdk-provider": "^3.0.0", "@opentelemetry/api": "^1.9.0", "@socket.io/bun-engine": "^0.1.1", "@socket.io/component-emitter": "^3.1.2", "@tanstack/react-query": ">=5", "@types/bun": "^1.3.14", "ai": "^7.0.0", "grammy": "^1.45.1", "react": ">=18", "react-query-kit": "^3.3.3", "socket.io": "^4.8.3", "socket.io-client": "^4.8.3", "srvx": "^0.12.5", "zod": "^4.4.3" }, "optionalPeers": ["@modelcontextprotocol/ext-apps", "@modelcontextprotocol/server", "@openrouter/ai-sdk-provider", "@opentelemetry/api", "@socket.io/bun-engine", "@socket.io/component-emitter", "@tanstack/react-query", "@types/bun", "ai", "grammy", "react", "react-query-kit", "socket.io", "socket.io-client", "srvx"] }, "sha512-fnniuyge5JEN55TVdI3qH+nN1XyGJ6MglwOraWeOk6FkYs7mv6ZZyEo1kkFVT1bcsYj4HZW7KJCiKwnsjDoyfw=="],
|
|
1122
1122
|
|
|
1123
1123
|
"stringify-entities": ["stringify-entities@4.0.4", "", { "dependencies": { "character-entities-html4": "^2.0.0", "character-entities-legacy": "^3.0.0" } }, "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg=="],
|
|
1124
1124
|
|