create-stitchkit 0.4.2 → 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,21 @@ 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
+
15
30
  ## [0.4.2] — 2026-08-25
16
31
 
17
32
  ### 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
- return createRealtimeClient(repositoryRealtimeContract, { url });
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-stitchkit",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Create a production-shaped Stitchkit application",
5
5
  "license": "MIT",
6
6
  "author": "Max Listov <maxlistov@gmail.com>",
package/template/bun.lock CHANGED
@@ -139,7 +139,7 @@
139
139
  },
140
140
  },
141
141
  "catalog": {
142
- "stitchkit": "^0.60.1",
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.60.1", "", { "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-+ZXp+TaKuwBkOCT/8wpHFtRnaeoVIrzAnPFDGAVfjpN1tdP06Ve83cKV7aciMHHWrXmmy9EvenR004buhqn+Qg=="],
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
 
@@ -7,7 +7,7 @@
7
7
  "packages/*"
8
8
  ],
9
9
  "catalog": {
10
- "stitchkit": "^0.60.1"
10
+ "stitchkit": "^0.68.6"
11
11
  },
12
12
  "scripts": {
13
13
  "dev": "bun scripts/dev.ts",