@kya-os/create-mcpi-app 1.8.4 → 1.8.6

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.
@@ -0,0 +1,475 @@
1
+
2
+ 
3
+ > @kya-os/create-mcpi-app@1.8.5 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
+ > vitest run --coverage
5
+
6
+ [?25l
7
+  RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
8
+ Coverage enabled with v8
9
+
10
+ [?2026h
11
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
12
+
13
+  Test Files 0 passed (14)
14
+  Tests 0 passed (0)
15
+  Start at 01:06:59
16
+  Duration 303ms
17
+ [?2026l[?2026h
18
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
19
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
20
+  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
21
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
22
+  ❯ test-cloudflare/tests/session-management.test.ts [queued]
23
+
24
+  Test Files 0 passed (14)
25
+  Tests 0 passed (0)
26
+  Start at 01:06:59
27
+  Duration 508ms
28
+ [?2026l[?2026hstdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
29
+ [Session] Created session: secure-session
30
+
31
+
32
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
33
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
34
+  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
35
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
36
+  ❯ src/__tests__/helpers/install.test.ts [queued]
37
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
38
+  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
39
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
40
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
41
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts [queued]
42
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
43
+  ❯ test-cloudflare/tests/do-routing.test.ts [queued]
44
+  ❯ test-cloudflare/tests/session-management.test.ts 1/17
45
+
46
+  Test Files 0 passed (14)
47
+  Tests 1 passed (17)
48
+  Start at 01:06:59
49
+  Duration 609ms
50
+ [?2026l[?2026h ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 26ms
51
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
52
+
53
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
54
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
55
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
56
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
57
+  ❯ src/__tests__/helpers/install.test.ts [queued]
58
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
59
+  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
60
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
61
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
62
+  ❯ test-cloudflare/tests/delegation.test.ts 0/12
63
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
64
+  ❯ test-cloudflare/tests/session-management.test.ts 17/17
65
+
66
+  Test Files 2 passed (14)
67
+  Tests 26 passed (149)
68
+  Start at 01:06:59
69
+  Duration 710ms
70
+ [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
71
+ 
72
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
73
+
74
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
75
+ 🔑 Generating cryptographic identity...
76
+
77
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 9ms
78
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 87ms
79
+
80
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
81
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
82
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
83
+  ❯ src/__tests__/helpers/generate-identity.test.ts 17/24
84
+  ❯ src/__tests__/helpers/install.test.ts [queued]
85
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
86
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
87
+  ❯ src/helpers/__tests__/config-builder.spec.ts 0/12
88
+  ❯ test-cloudflare/tests/do-routing.test.ts 1/14
89
+  ❯ test-cloudflare/tests/session-management.test.ts 17/17
90
+
91
+  Test Files 4 passed (14)
92
+  Tests 75 passed (188)
93
+  Start at 01:06:59
94
+  Duration 838ms
95
+ [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
96
+ ✔ Created Cloudflare MCP-I template files
97
+ - Generated identity keys in .dev.vars
98
+ - Configured wrangler.toml with KV namespaces
99
+ - Created modular tool structure
100
+ - Created setup script for KV namespace creation
101
+
102
+ ============================================================
103
+ 🎉 Cloudflare MCP-I project created successfully!
104
+ ============================================================
105
+
106
+ 📝 Important Configuration Notes:
107
+
108
+ 1. ADMIN_API_KEY (in .dev.vars):
109
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
110
+ - You can change it if you need separate admin endpoint security
111
+ - Required for admin endpoints like /admin/clear-cache
112
+
113
+ 2. KV Namespaces (in wrangler.toml):
114
+ - Required for MCP-I security features
115
+ - Auto-created by 'npm run setup' script
116
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
117
+
118
+ 🚀 Next Steps:
119
+ cd test-agent
120
+
121
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
122
+  wrangler login # Login to Cloudflare first!
123
+ npm run setup # Create KV namespaces
124
+ npm run dev # Start local development
125
+ npm run deploy # Deploy to Cloudflare
126
+
127
+
128
+
129
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
130
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
131
+  ❯ src/__tests__/helpers/install.test.ts 0/20
132
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
133
+
134
+  Test Files 10 passed (14)
135
+  Tests 189 passed (258)
136
+  Start at 01:06:59
137
+  Duration 938ms
138
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
139
+ [RemoteConfig] Neither projectId nor agentDid provided
140
+
141
+
142
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
143
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
144
+  ❯ src/__tests__/helpers/install.test.ts 0/20
145
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
146
+
147
+  Test Files 10 passed (14)
148
+  Tests 189 passed (258)
149
+  Start at 01:06:59
150
+  Duration 938ms
151
+ [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 139ms
152
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 76ms
153
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 5ms
154
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
155
+ 
156
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
157
+
158
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
159
+ 🔑 Generating cryptographic identity...
160
+
161
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 80ms
162
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
163
+ 
164
+ 📦 Installing dependencies with npm...
165
+ ✓ Lockfile created (package-lock.json) - remember to commit it
166
+
167
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
168
+ 
169
+ 📦 Installing dependencies with yarn...
170
+ ✓ Lockfile created (yarn.lock) - remember to commit it
171
+
172
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 277ms
173
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
174
+ 
175
+ 📦 Installing dependencies with pnpm...
176
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
177
+
178
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
179
+ 
180
+ 📦 Installing dependencies with npm...
181
+ ✓ Lockfile created (package-lock.json) - remember to commit it
182
+
183
+
184
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
185
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
186
+  ❯ src/__tests__/helpers/install.test.ts 0/20
187
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
188
+
189
+  Test Files 10 passed (14)
190
+  Tests 189 passed (258)
191
+  Start at 01:06:59
192
+  Duration 938ms
193
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
194
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
195
+
196
+
197
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
198
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
199
+  ❯ src/__tests__/helpers/install.test.ts 0/20
200
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
201
+
202
+  Test Files 10 passed (14)
203
+  Tests 189 passed (258)
204
+  Start at 01:06:59
205
+  Duration 938ms
206
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
207
+ 
208
+ 📦 Installing dependencies with npm...
209
+ ✓ Lockfile created (package-lock.json) - remember to commit it
210
+
211
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
212
+ 
213
+ 📦 Installing dependencies with npm...
214
+
215
+
216
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
217
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
218
+  ❯ src/__tests__/helpers/install.test.ts 0/20
219
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
220
+
221
+  Test Files 10 passed (14)
222
+  Tests 189 passed (258)
223
+  Start at 01:06:59
224
+  Duration 938ms
225
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
226
+ Failed to install dependencies with npm.
227
+
228
+
229
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
230
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
231
+  ❯ src/__tests__/helpers/install.test.ts 0/20
232
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
233
+
234
+  Test Files 10 passed (14)
235
+  Tests 189 passed (258)
236
+  Start at 01:06:59
237
+  Duration 938ms
238
+ [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
239
+ ✔ Created Cloudflare MCP-I template files
240
+ - Generated identity keys in .dev.vars
241
+ - Configured wrangler.toml with KV namespaces
242
+ - Created modular tool structure
243
+ - Created setup script for KV namespace creation
244
+
245
+ ============================================================
246
+ 🎉 Cloudflare MCP-I project created successfully!
247
+ ============================================================
248
+
249
+ 📝 Important Configuration Notes:
250
+
251
+ 1. ADMIN_API_KEY (in .dev.vars):
252
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
253
+ - You can change it if you need separate admin endpoint security
254
+ - Required for admin endpoints like /admin/clear-cache
255
+
256
+ 2. KV Namespaces (in wrangler.toml):
257
+ - Required for MCP-I security features
258
+ - Auto-created by 'npm run setup' script
259
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
260
+
261
+ 🚀 Next Steps:
262
+ cd my-awesome-agent
263
+
264
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 14ms
265
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
266
+  wrangler login # Login to Cloudflare first!
267
+ npm run setup # Create KV namespaces
268
+ npm run dev # Start local development
269
+ npm run deploy # Deploy to Cloudflare
270
+
271
+
272
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
273
+ 
274
+ 📦 Installing dependencies with npm...
275
+
276
+
277
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
278
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
279
+  ❯ src/__tests__/helpers/install.test.ts 0/20
280
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
281
+
282
+  Test Files 10 passed (14)
283
+  Tests 189 passed (258)
284
+  Start at 01:06:59
285
+  Duration 938ms
286
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
287
+ Failed to install dependencies with npm.
288
+
289
+
290
+  ❯ src/__tests__/cloudflare-template.test.ts 4/30
291
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
292
+  ❯ src/__tests__/helpers/install.test.ts 0/20
293
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
294
+
295
+  Test Files 10 passed (14)
296
+  Tests 189 passed (258)
297
+  Start at 01:06:59
298
+  Duration 938ms
299
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
300
+ 
301
+ 📦 Installing dependencies with npm...
302
+
303
+
304
+  ❯ src/__tests__/cloudflare-template.test.ts 7/30
305
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
306
+
307
+  Test Files 12 passed (14)
308
+  Tests 216 passed (258)
309
+  Start at 01:06:59
310
+  Duration 1.14s
311
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
312
+ Failed to install dependencies with npm.
313
+
314
+
315
+  ❯ src/__tests__/cloudflare-template.test.ts 7/30
316
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
317
+
318
+  Test Files 12 passed (14)
319
+  Tests 216 passed (258)
320
+  Start at 01:06:59
321
+  Duration 1.14s
322
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
323
+ 
324
+ 📦 Installing dependencies with npm...
325
+
326
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
327
+ 
328
+ 📦 Installing dependencies with unknown...
329
+
330
+
331
+  ❯ src/__tests__/cloudflare-template.test.ts 7/30
332
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
333
+
334
+  Test Files 12 passed (14)
335
+  Tests 216 passed (258)
336
+  Start at 01:06:59
337
+  Duration 1.14s
338
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
339
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
340
+
341
+
342
+  ❯ src/__tests__/cloudflare-template.test.ts 7/30
343
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
344
+
345
+  Test Files 12 passed (14)
346
+  Tests 216 passed (258)
347
+  Start at 01:06:59
348
+  Duration 1.14s
349
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
350
+ 
351
+ 📦 Installing dependencies with npm...
352
+
353
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
354
+ 
355
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
356
+
357
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
358
+ 🔑 Generating cryptographic identity...
359
+
360
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 84ms
361
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
362
+ ✔ Created Cloudflare MCP-I template files
363
+ - Generated identity keys in .dev.vars
364
+ - Configured wrangler.toml with KV namespaces
365
+ - Created modular tool structure
366
+ - Created setup script for KV namespace creation
367
+
368
+ ============================================================
369
+ 🎉 Cloudflare MCP-I project created successfully!
370
+ ============================================================
371
+
372
+ 📝 Important Configuration Notes:
373
+
374
+ 1. ADMIN_API_KEY (in .dev.vars):
375
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
376
+ - You can change it if you need separate admin endpoint security
377
+ - Required for admin endpoints like /admin/clear-cache
378
+
379
+ 2. KV Namespaces (in wrangler.toml):
380
+ - Required for MCP-I security features
381
+ - Auto-created by 'npm run setup' script
382
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
383
+
384
+ 🚀 Next Steps:
385
+ cd test-agent
386
+
387
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
388
+  wrangler login # Login to Cloudflare first!
389
+ npm run setup # Create KV namespaces
390
+ npm run dev # Start local development
391
+ npm run deploy # Deploy to Cloudflare
392
+
393
+
394
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
395
+ 
396
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
397
+
398
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
399
+ 🔑 Generating cryptographic identity...
400
+
401
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
402
+ ✔ Created Cloudflare MCP-I template files
403
+ - Generated identity keys in .dev.vars
404
+ - Configured wrangler.toml with KV namespaces
405
+ - Created modular tool structure
406
+ - Created setup script for KV namespace creation
407
+
408
+ ============================================================
409
+ 🎉 Cloudflare MCP-I project created successfully!
410
+ ============================================================
411
+
412
+ 📝 Important Configuration Notes:
413
+
414
+ 1. ADMIN_API_KEY (in .dev.vars):
415
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
416
+ - You can change it if you need separate admin endpoint security
417
+ - Required for admin endpoints like /admin/clear-cache
418
+
419
+ 2. KV Namespaces (in wrangler.toml):
420
+ - Required for MCP-I security features
421
+ - Auto-created by 'npm run setup' script
422
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
423
+
424
+ 🚀 Next Steps:
425
+ cd test-agent
426
+
427
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
428
+  wrangler login # Login to Cloudflare first!
429
+ npm run setup # Create KV namespaces
430
+ npm run dev # Start local development
431
+ npm run deploy # Deploy to Cloudflare
432
+
433
+
434
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 283ms
435
+
436
+  ❯ src/__tests__/cloudflare-template.test.ts 7/30
437
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
438
+
439
+  Test Files 12 passed (14)
440
+  Tests 216 passed (258)
441
+  Start at 01:06:59
442
+  Duration 1.14s
443
+ [?2026l[?2026h
444
+  ❯ src/__tests__/cloudflare-template.test.ts 16/30
445
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 10/21
446
+
447
+  Test Files 12 passed (14)
448
+  Tests 233 passed (258)
449
+  Start at 01:06:59
450
+  Duration 1.24s
451
+ [?2026l[?2026h
452
+  ❯ src/__tests__/cloudflare-template.test.ts 17/30
453
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 12/21
454
+
455
+  Test Files 12 passed (14)
456
+  Tests 236 passed (258)
457
+  Start at 01:06:59
458
+  Duration 1.47s
459
+ [?2026l ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 581ms
460
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 791ms
461
+
462
+  Test Files  14 passed (14)
463
+  Tests  256 passed | 2 skipped (258)
464
+  Start at  01:06:58
465
+  Duration  1.76s (transform 1.66s, setup 0ms, collect 3.17s, tests 2.46s, environment 25ms, prepare 777ms)
466
+
467
+  % Coverage report from v8
468
+
469
+ =============================== Coverage summary ===============================
470
+ Statements : 25.83% ( 216/836 )
471
+ Branches : 23.77% ( 102/429 )
472
+ Functions : 30.5% ( 18/59 )
473
+ Lines : 26.02% ( 216/830 )
474
+ ================================================================================
475
+ [?25h
@@ -80,7 +80,7 @@ export async function fetchCloudflareMcpiTemplate(targetDir, options) {
80
80
  "kv:create-tool-protection": `wrangler kv:namespace create ${projectNameUpper}_${KV_BINDING_NAMES[4]}`,
81
81
  },
82
82
  dependencies: {
83
- "@kya-os/mcp-i-cloudflare": "1.6.4",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.6",
84
84
  "@modelcontextprotocol/sdk": "1.22.0",
85
85
  agents: "0.2.21",
86
86
  hono: "4.6.3",
@@ -657,7 +657,7 @@ dist
657
657
  await runCommand(packageManager, ["install"], targetDir);
658
658
  // 13a. Verify installed version matches expected version
659
659
  console.log(chalk.blue("\n🔍 Verifying package versions..."));
660
- const expectedVersion = "1.6.4";
660
+ const expectedVersion = "1.6.6";
661
661
  try {
662
662
  const installedPackagePath = path.join(targetDir, "node_modules", "@kya-os", "mcp-i-cloudflare", "package.json");
663
663
  if (fs.existsSync(installedPackagePath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.8.4",
3
+ "version": "1.8.6",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "bin": {
6
6
  "create-mcpi-app": "./dist/index.js"
@@ -18,7 +18,7 @@
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
19
  "@kya-os/contracts": "^1.6.1",
20
20
  "@kya-os/mcp-i": "^1.6.1",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.4",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.6",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",