@kya-os/create-mcpi-app 1.7.42-canary.21 → 1.7.42-canary.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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @kya-os/create-mcpi-app@1.7.42-canary.20 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > @kya-os/create-mcpi-app@1.7.42-canary.22 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
4
  > vitest --run --coverage
5
5
 
6
6
  [?25l▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@@ -44,104 +44,67 @@
44
44
  Coverage enabled with v8
45
45
 
46
46
  [?2026h
47
-  ❯ test-cloudflare/tests/delegation.test.ts [queued]
47
+  ❯ test-cloudflare/tests/do-routing.test.ts [queued]
48
48
 
49
49
   Test Files 0 passed (13)
50
50
   Tests 0 passed (0)
51
-  Start at 18:05:09
52
-  Duration 101ms
53
- [?2026l[?2026h
51
+  Start at 19:36:14
52
+  Duration 104ms
53
+ [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
54
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
55
+
54
56
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
55
57
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
56
58
   ❯ src/__tests__/helpers/generate-config.test.ts [queued]
57
-  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
58
-  ❯ src/__tests__/helpers/install.test.ts [queued]
59
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
59
60
   ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
60
61
   ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
61
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
62
-  ❯ test-cloudflare/tests/cors-security.test.ts 0/29
63
-  ❯ test-cloudflare/tests/delegation.test.ts [queued]
64
-  ❯ test-cloudflare/tests/do-routing.test.ts [queued]
65
-  ❯ test-cloudflare/tests/session-management.test.ts [queued]
62
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
63
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts [queued]
64
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
65
+  ❯ test-cloudflare/tests/session-management.test.ts 0/17
66
66
 
67
-  Test Files 0 passed (13)
68
-  Tests 0 passed (29)
69
-  Start at 18:05:09
70
-  Duration 304ms
71
- [?2026l[?2026h ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 7ms
67
+  Test Files 2 passed (13)
68
+  Tests 41 passed (105)
69
+  Start at 19:36:14
70
+  Duration 205ms
71
+ [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
72
72
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
73
73
  [Session] Created session: secure-session
74
74
 
75
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
76
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 10ms
75
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 18ms
76
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 40ms
77
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
77
78
 
78
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
79
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
80
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
81
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
82
-  ❯ src/__tests__/helpers/install.test.ts [queued]
83
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
84
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
85
-  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
86
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
87
79
 
88
-  Test Files 4 passed (13)
89
-  Tests 70 passed (183)
90
-  Start at 18:05:09
91
-  Duration 409ms
92
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
93
- [RemoteConfig] Neither projectId nor agentDid provided
94
80
 
95
81
 
96
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
97
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
98
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
99
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
100
-  ❯ src/__tests__/helpers/install.test.ts [queued]
101
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
102
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
103
-  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
104
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
105
-
106
-  Test Files 4 passed (13)
107
-  Tests 70 passed (183)
108
-  Start at 18:05:09
109
-  Duration 409ms
110
- [?2026l[?2026h ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
111
82
 
112
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
113
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
114
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
115
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
116
-  ❯ src/__tests__/helpers/install.test.ts [queued]
117
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
118
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
119
-  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
120
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
83
+  ❯ src/__tests__/cloudflare-template.test.ts 0/24
84
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
85
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
121
86
 
122
-  Test Files 4 passed (13)
123
-  Tests 70 passed (183)
124
-  Start at 18:05:09
125
-  Duration 409ms
126
- [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 56ms
127
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
128
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
129
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 58ms
130
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 67ms
87
+  Test Files 10 passed (13)
88
+  Tests 179 passed (248)
89
+  Start at 19:36:14
90
+  Duration 308ms
91
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
92
+ [RemoteConfig] Neither projectId nor agentDid provided
131
93
 
132
94
 
133
95
 
134
96
 
135
97
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
136
98
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
137
-  ❯ src/__tests__/helpers/install.test.ts [queued]
138
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
139
-
140
-  Test Files 9 passed (13)
141
-  Tests 169 passed (228)
142
-  Start at 18:05:09
143
-  Duration 510ms
144
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
99
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
100
+
101
+  Test Files 10 passed (13)
102
+  Tests 179 passed (248)
103
+  Start at 19:36:14
104
+  Duration 308ms
105
+ [?2026l[?2026h ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 34ms
106
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
107
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
145
108
  
146
109
  📦 Installing dependencies with npm...
147
110
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -161,30 +124,29 @@
161
124
  📦 Installing dependencies with npm...
162
125
  ✓ Lockfile created (package-lock.json) - remember to commit it
163
126
 
127
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 116ms
164
128
 
165
129
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
166
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
167
-  ❯ src/__tests__/helpers/install.test.ts 0/20
168
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
169
-
170
-  Test Files 9 passed (13)
171
-  Tests 180 passed (248)
172
-  Start at 18:05:09
173
-  Duration 625ms
174
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
130
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
131
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
132
+
133
+  Test Files 10 passed (13)
134
+  Tests 179 passed (248)
135
+  Start at 19:36:14
136
+  Duration 308ms
137
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
175
138
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
176
139
 
177
140
 
178
141
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
179
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
180
-  ❯ src/__tests__/helpers/install.test.ts 0/20
181
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
182
-
183
-  Test Files 9 passed (13)
184
-  Tests 180 passed (248)
185
-  Start at 18:05:09
186
-  Duration 625ms
187
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
142
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
143
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
144
+
145
+  Test Files 10 passed (13)
146
+  Tests 179 passed (248)
147
+  Start at 19:36:14
148
+  Duration 308ms
149
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
188
150
  
189
151
  📦 Installing dependencies with npm...
190
152
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -195,82 +157,76 @@
195
157
 
196
158
 
197
159
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
198
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
199
-  ❯ src/__tests__/helpers/install.test.ts 0/20
200
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
201
-
202
-  Test Files 9 passed (13)
203
-  Tests 180 passed (248)
204
-  Start at 18:05:09
205
-  Duration 625ms
206
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
160
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
161
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
162
+
163
+  Test Files 10 passed (13)
164
+  Tests 179 passed (248)
165
+  Start at 19:36:14
166
+  Duration 308ms
167
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
207
168
  Failed to install dependencies with npm.
208
169
 
209
170
 
210
171
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
211
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
212
-  ❯ src/__tests__/helpers/install.test.ts 0/20
213
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
214
-
215
-  Test Files 9 passed (13)
216
-  Tests 180 passed (248)
217
-  Start at 18:05:09
218
-  Duration 625ms
219
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
172
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
173
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
174
+
175
+  Test Files 10 passed (13)
176
+  Tests 179 passed (248)
177
+  Start at 19:36:14
178
+  Duration 308ms
179
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
220
180
  
221
181
  📦 Installing dependencies with npm...
222
182
 
223
183
 
224
184
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
225
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
226
-  ❯ src/__tests__/helpers/install.test.ts 0/20
227
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
228
-
229
-  Test Files 9 passed (13)
230
-  Tests 180 passed (248)
231
-  Start at 18:05:09
232
-  Duration 625ms
233
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
185
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
186
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
187
+
188
+  Test Files 10 passed (13)
189
+  Tests 179 passed (248)
190
+  Start at 19:36:14
191
+  Duration 308ms
192
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
234
193
  Failed to install dependencies with npm.
235
194
 
236
195
 
237
196
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
238
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
239
-  ❯ src/__tests__/helpers/install.test.ts 0/20
240
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
241
-
242
-  Test Files 9 passed (13)
243
-  Tests 180 passed (248)
244
-  Start at 18:05:09
245
-  Duration 625ms
246
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
197
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
198
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
199
+
200
+  Test Files 10 passed (13)
201
+  Tests 179 passed (248)
202
+  Start at 19:36:14
203
+  Duration 308ms
204
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
247
205
  
248
206
  📦 Installing dependencies with npm...
249
207
 
250
208
 
251
209
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
252
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
253
-  ❯ src/__tests__/helpers/install.test.ts 0/20
254
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
255
-
256
-  Test Files 9 passed (13)
257
-  Tests 180 passed (248)
258
-  Start at 18:05:09
259
-  Duration 625ms
260
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
210
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
211
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
212
+
213
+  Test Files 10 passed (13)
214
+  Tests 179 passed (248)
215
+  Start at 19:36:14
216
+  Duration 308ms
217
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
261
218
  Failed to install dependencies with npm.
262
219
 
263
220
 
264
221
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
265
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
266
-  ❯ src/__tests__/helpers/install.test.ts 0/20
267
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
268
-
269
-  Test Files 9 passed (13)
270
-  Tests 180 passed (248)
271
-  Start at 18:05:09
272
-  Duration 625ms
273
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
222
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
223
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
224
+
225
+  Test Files 10 passed (13)
226
+  Tests 179 passed (248)
227
+  Start at 19:36:14
228
+  Duration 308ms
229
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
274
230
  
275
231
  📦 Installing dependencies with npm...
276
232
 
@@ -280,86 +236,61 @@
280
236
 
281
237
 
282
238
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
283
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
284
-  ❯ src/__tests__/helpers/install.test.ts 0/20
285
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
286
-
287
-  Test Files 9 passed (13)
288
-  Tests 180 passed (248)
289
-  Start at 18:05:09
290
-  Duration 625ms
291
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
239
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
240
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
241
+
242
+  Test Files 10 passed (13)
243
+  Tests 179 passed (248)
244
+  Start at 19:36:14
245
+  Duration 308ms
246
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
292
247
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
293
248
 
294
249
 
295
250
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
296
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
297
-  ❯ src/__tests__/helpers/install.test.ts 0/20
298
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
299
-
300
-  Test Files 9 passed (13)
301
-  Tests 180 passed (248)
302
-  Start at 18:05:09
303
-  Duration 625ms
304
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
251
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
252
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
253
+
254
+  Test Files 10 passed (13)
255
+  Tests 179 passed (248)
256
+  Start at 19:36:14
257
+  Duration 308ms
258
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
305
259
  
306
260
  📦 Installing dependencies with npm...
307
261
 
262
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 31ms
308
263
 
309
264
   ❯ src/__tests__/cloudflare-template.test.ts 0/24
310
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
311
-  ❯ src/__tests__/helpers/install.test.ts 0/20
312
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
313
-
314
-  Test Files 9 passed (13)
315
-  Tests 180 passed (248)
316
-  Start at 18:05:09
317
-  Duration 625ms
318
- [?2026l[?2026h ✓ src/__tests__/helpers/install.test.ts (20 tests) 31ms
319
- ❯ test-cloudflare/tests/do-routing.test.ts (14 tests | 1 failed) 326ms
320
- ✓ should route to different instances for different sessions 12ms
321
- ✓ should route to same instance for same session 0ms
322
- ✓ should handle both mcp-session-id header casings 0ms
323
- ✓ should generate random session if header missing 0ms
324
- ✓ should distribute requests across shards 8ms
325
- ✓ should consistently route same session to same shard 0ms
326
- ✓ should respect custom shard count 2ms
327
- ✓ should fall back to default when strategy unknown 0ms
328
- ✓ should use session strategy when not configured 0ms
329
- ✓ session routing should have O(1) complexity 192ms
330
-  × shard routing should have O(n) complexity for hash 109ms
331
- ✓ should handle empty session ID 0ms
332
- ✓ should handle non-numeric shard count 0ms
333
- ✓ should handle special characters in session ID 0ms
334
-
335
-  src/__tests__/cloudflare-template.test.ts 13/24
336
-  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 14/21
337
-
338
-  Test Files 1 failed | 10 passed (13)
339
-  Tests 1 failed | 229 passed (248)
340
-  Start at 18:05:09
341
-  Duration 842ms
342
- [?2026l ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 330ms
343
- ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 350ms
344
-
345
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
346
-
347
-  FAIL  test-cloudflare/tests/do-routing.test.ts > Durable Object Multi-Instance Routing > Performance Characteristics > shard routing should have O(n) complexity for hash
348
- AssertionError: expected 106.63591699999995 to be less than 100
349
-  ❯ test-cloudflare/tests/do-routing.test.ts:263:44
350
- 261|  expect(shortDuration).toBeGreaterThan(0);
351
- 262|  // Both operations should complete in reasonable time (< 100ms total for 1000 iterations)
352
- 263|  expect(longDuration + shortDuration).toBeLessThan(100);
353
-  |  ^
354
- 264|  });
355
- 265|  });
356
-
357
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
358
-
359
-
360
-  Test Files  1 failed | 12 passed (13)
361
-  Tests  1 failed | 247 passed (248)
362
-  Start at  18:05:09
363
-  Duration  990ms (transform 1.08s, setup 0ms, collect 2.55s, tests 1.27s, environment 1ms, prepare 374ms)
364
-
365
- [?25h ELIFECYCLE  Command failed with exit code 1.
265
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
266
+  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
267
+
268
+  Test Files 10 passed (13)
269
+  Tests 179 passed (248)
270
+  Start at 19:36:14
271
+  Duration 308ms
272
+ [?2026l ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 42ms
273
+ ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 128ms
274
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 116ms
275
+
276
+  Test Files  13 passed (13)
277
+  Tests  248 passed (248)
278
+  Start at  19:36:14
279
+  Duration  496ms (transform 498ms, setup 0ms, collect 985ms, tests 551ms, environment 1ms, prepare 368ms)
280
+
281
+  % Coverage report from v8
282
+ ------------------------------------|---------|----------|---------|---------|-------------------
283
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
284
+ ------------------------------------|---------|----------|---------|---------|-------------------
285
+ All files  |  96.49 |  94.11 |  100 |  96.49 |  
286
+  helpers  |  97.29 |  95.12 |  100 |  97.29 |  
287
+  config-builder.ts  |  100 |  100 |  100 |  100 |  
288
+  fetch-cloudflare-mcpi-template.ts |  94.54 |  90.9 |  100 |  94.54 | 825,837,942-950 
289
+  generate-config.ts  |  100 |  100 |  100 |  100 |  
290
+  generate-identity.ts  |  100 |  100 |  100 |  100 |  
291
+  install.ts  |  100 |  100 |  100 |  100 |  
292
+  validate-project-structure.ts  |  100 |  100 |  100 |  100 |  
293
+  utils  |  91.42 |  90 |  100 |  91.42 |  
294
+  fetch-remote-config.ts  |  91.42 |  90 |  100 |  91.42 | 152-153,169 
295
+ ------------------------------------|---------|----------|---------|---------|-------------------
296
+ [?25h
@@ -68,9 +68,9 @@ export async function fetchCloudflareMcpiTemplate(projectPath, options = {}) {
68
68
  },
69
69
  dependencies: {
70
70
  "@kya-os/contracts": "^1.5.3-canary.9",
71
- "@kya-os/mcp-i-cloudflare": "^1.5.8-canary.25",
72
- "@kya-os/mcp-i-core": "^1.2.2-canary.10",
73
- "@kya-os/mcp-i": "^1.5.9-canary.12",
71
+ "@kya-os/mcp-i-cloudflare": "^1.5.8-canary.26",
72
+ "@kya-os/mcp-i-core": "^1.2.2-canary.13",
73
+ "@kya-os/mcp-i": "^1.5.9-canary.14",
74
74
  "@modelcontextprotocol/sdk": "^1.19.1",
75
75
  agents: "^0.2.21", // Use latest version - constructor now only accepts 2 parameters
76
76
  hono: "^4.9.10",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.7.42-canary.21",
3
+ "version": "1.7.42-canary.23",
4
4
  "description": "Bootstrap MCP applications with identity features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@kya-os/cli": "^1.3.5-canary.8",
32
32
  "@kya-os/cli-effects": "^1.0.19",
33
- "@kya-os/mcp-i": "^1.5.9-canary.11",
33
+ "@kya-os/mcp-i": "^1.5.9-canary.14",
34
34
  "@kya-os/mcp-i-cloudflare": "^1.5.8-canary.24",
35
35
  "base-x": "^5.0.0",
36
36
  "chalk": "^5.3.0",