@kya-os/create-mcpi-app 1.9.20 → 1.9.22

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,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.12 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.22 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,93 +1,26 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.10 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.20 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
6
  RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 51ms
9
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
10
-
11
- 📦 Installing dependencies with npm...
12
- ✓ Lockfile created (package-lock.json) - remember to commit it
13
-
14
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
15
-
16
- 🏗️ Generating Cloudflare MCP-I project: test-project...
17
-
8
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 393ms
9
+ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
18
10
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
19
11
 
20
12
  🏗️ Generating Cloudflare MCP-I project: test-agent...
21
13
 
22
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
23
- 🔑 Generating cryptographic identity...
24
-
25
14
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
26
15
  🔑 Generating cryptographic identity...
27
16
 
28
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 21ms
29
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
30
-
31
- 📦 Installing dependencies with yarn...
32
- ✓ Lockfile created (yarn.lock) - remember to commit it
33
-
34
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
35
-
36
- 📦 Installing dependencies with pnpm...
37
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
38
-
39
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
40
-
41
- 📦 Installing dependencies with npm...
42
- ✓ Lockfile created (package-lock.json) - remember to commit it
43
-
44
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
45
-
46
- 📦 Installing dependencies with npm...
47
- ✓ Lockfile created (package-lock.json) - remember to commit it
48
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
49
-
50
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
51
-
52
- 📦 Installing dependencies with npm...
53
-
54
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
55
-
56
- 📦 Installing dependencies with npm...
57
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
58
-
59
-
60
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
61
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
62
-
63
- 📦 Installing dependencies with npm...
64
- Failed to install dependencies with npm.
65
-
66
-
67
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
68
-
69
- 📦 Installing dependencies with npm...
70
-
71
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
72
- Failed to install dependencies with npm.
73
-
74
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
75
- Failed to install dependencies with npm.
76
-
77
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
78
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
79
-
80
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
81
-
82
- 📦 Installing dependencies with unknown...
83
-
84
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
85
-
86
- 📦 Installing dependencies with npm...
17
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 218ms
18
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
87
19
 
88
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
20
+ 🏗️ Generating Cloudflare MCP-I project: test-project...
89
21
 
90
- 📦 Installing dependencies with custom...
22
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
23
+ 🔑 Generating cryptographic identity...
91
24
 
92
25
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
93
26
  ✔ Created Cloudflare MCP-I template files
@@ -161,35 +94,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
161
94
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
162
95
  🔑 Generating cryptographic identity...
163
96
 
164
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
165
- ✔ Created Cloudflare MCP-I template files
166
- - Generated identity keys in .dev.vars
167
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
168
- - Created modular tool structure
169
-
170
- ============================================================
171
- 🎉 Cloudflare MCP-I project created successfully!
172
- ============================================================
173
-
174
- 📝 Important Configuration Notes:
175
-
176
- 1. ADMIN_API_KEY (in .dev.vars):
177
- - Set to same value as AGENTSHIELD_API_KEY for convenience
178
- - You can change it if you need separate admin endpoint security
179
- - Required for admin endpoints like /admin/clear-cache
180
-
181
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
182
- - Required for MCP-I security features
183
- - ✨ Automatically created on first deploy - no setup needed!
184
- - Wrangler updates wrangler.toml with namespace IDs
185
-
186
- 🚀 Next Steps:
187
- cd test-agent
188
- wrangler login # Login to Cloudflare first!
189
- npm run dev # Start local development
190
- npm run deploy # Deploy (KV auto-created!)
191
-
192
-
193
97
  stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
194
98
  ✔ Created Cloudflare MCP-I template files
195
99
  - Generated identity keys in .dev.vars
@@ -259,10 +163,7 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
259
163
 
260
164
  🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
261
165
 
262
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
263
- 🔑 Generating cryptographic identity...
264
-
265
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
166
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
266
167
  ✔ Created Cloudflare MCP-I template files
267
168
  - Generated identity keys in .dev.vars
268
169
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -285,23 +186,23 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
285
186
  - Wrangler updates wrangler.toml with namespace IDs
286
187
 
287
188
  🚀 Next Steps:
288
- cd test-project-with-id
189
+ cd test-agent
289
190
  wrangler login # Login to Cloudflare first!
290
191
  npm run dev # Start local development
291
192
  npm run deploy # Deploy (KV auto-created!)
292
193
 
293
194
 
294
- src/__tests__/helpers/install.test.ts (21 tests) 91ms
295
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 69ms
296
- ✓ src/__tests__/index.test.ts (4 tests) 141ms
297
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
195
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
298
196
 
299
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
197
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
300
198
 
301
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
199
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
302
200
  🔑 Generating cryptographic identity...
303
201
 
304
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
202
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
203
+ 🔑 Generating cryptographic identity...
204
+
205
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
305
206
  ✔ Created Cloudflare MCP-I template files
306
207
  - Generated identity keys in .dev.vars
307
208
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -324,27 +225,13 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
324
225
  - Wrangler updates wrangler.toml with namespace IDs
325
226
 
326
227
  🚀 Next Steps:
327
- cd test-project-no-id
228
+ cd test-agent
328
229
  wrangler login # Login to Cloudflare first!
329
230
  npm run dev # Start local development
330
231
  npm run deploy # Deploy (KV auto-created!)
331
232
 
332
233
 
333
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
334
-
335
- 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
336
-
337
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
338
- 🔑 Generating cryptographic identity...
339
-
340
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
341
-
342
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
343
-
344
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
345
- 🔑 Generating cryptographic identity...
346
-
347
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
234
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
348
235
  ✔ Created Cloudflare MCP-I template files
349
236
  - Generated identity keys in .dev.vars
350
237
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -367,14 +254,22 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
367
254
  - Wrangler updates wrangler.toml with namespace IDs
368
255
 
369
256
  🚀 Next Steps:
370
- cd test-agent
257
+ cd test-project-with-id
371
258
  wrangler login # Login to Cloudflare first!
372
259
  npm run dev # Start local development
373
260
  npm run deploy # Deploy (KV auto-created!)
374
261
 
375
262
 
376
- src/__tests__/scaffolder-envprefix.test.ts (4 tests) 125ms
377
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
263
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
264
+
265
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
266
+
267
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
268
+ 🔑 Generating cryptographic identity...
269
+
270
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 796ms
271
+ ✓ should include envPrefix in generated index.ts 424ms
272
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
378
273
  ✔ Created Cloudflare MCP-I template files
379
274
  - Generated identity keys in .dev.vars
380
275
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -397,20 +292,21 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
397
292
  - Wrangler updates wrangler.toml with namespace IDs
398
293
 
399
294
  🚀 Next Steps:
400
- cd test-project-runtime
295
+ cd test-project-no-id
401
296
  wrangler login # Login to Cloudflare first!
402
297
  npm run dev # Start local development
403
298
  npm run deploy # Deploy (KV auto-created!)
404
299
 
405
300
 
406
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
301
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
407
302
 
408
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
303
+ 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
409
304
 
410
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
305
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
411
306
  🔑 Generating cryptographic identity...
412
307
 
413
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
308
+ src/__tests__/helpers/identity-manager.test.ts (16 tests) 40ms
309
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
414
310
  ✔ Created Cloudflare MCP-I template files
415
311
  - Generated identity keys in .dev.vars
416
312
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -433,16 +329,26 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
433
329
  - Wrangler updates wrangler.toml with namespace IDs
434
330
 
435
331
  🚀 Next Steps:
436
- cd test-project-no-workspace
332
+ cd test-project-runtime
437
333
  wrangler login # Login to Cloudflare first!
438
334
  npm run dev # Start local development
439
335
  npm run deploy # Deploy (KV auto-created!)
440
336
 
441
337
 
442
- src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 382ms
338
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
339
+
340
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
341
+
342
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
343
+ [Session] Created session: secure-session
344
+
345
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
346
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
347
+ 🔑 Generating cryptographic identity...
348
+
443
349
  stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
444
350
 
445
- create-mcpi-app@1.9.10
351
+ create-mcpi-app@1.9.20
446
352
 
447
353
  stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
448
354
  BANNER
@@ -465,21 +371,21 @@ Next Steps:
465
371
 
466
372
  stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
467
373
 
468
- create-mcpi-app@1.9.10
374
+ create-mcpi-app@1.9.20
469
375
 
470
376
  stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
377
+ Invalid project name:
378
+ - bad
379
+
471
380
  stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
472
381
  BANNER
473
382
 
474
383
  Enhanced with identity features by MCP-I
475
384
 
476
- Invalid project name:
477
-
478
- - bad
479
385
 
480
386
  stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
481
387
 
482
- create-mcpi-app@1.9.10
388
+ create-mcpi-app@1.9.20
483
389
 
484
390
  stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
485
391
  BANNER
@@ -505,7 +411,7 @@ Next Steps:
505
411
 
506
412
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
507
413
 
508
- create-mcpi-app@1.9.10
414
+ create-mcpi-app@1.9.20
509
415
 
510
416
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
511
417
  BANNER
@@ -531,55 +437,150 @@ Next Steps:
531
437
  3. Deploy when ready:
532
438
  pnpm start
533
439
 
534
- src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 391ms
535
- src/__tests__/cli-runner.test.ts (4 tests) 576ms
536
- passes CLI flags to createProject when using --yes 570ms
537
- src/__tests__/helpers/create.test.ts (13 tests) 581ms
538
- should pass apikey to Cloudflare template 416ms
539
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 648ms
540
- ✓ should return versions from actual package.json 360ms
541
- ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 1362ms
542
- ✓ should throw error when package.json does not exist 402ms
543
- ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 30ms
544
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 289ms
545
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 286ms
546
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 9ms
547
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 116ms
548
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 165ms
549
- ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 42ms
550
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 534ms
551
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
552
- [Session] Created session: secure-session
440
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
441
+ Created Cloudflare MCP-I template files
442
+ - Generated identity keys in .dev.vars
443
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
444
+ - Created modular tool structure
553
445
 
554
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2224ms
555
- should have matching DO class name in agent.ts and index.ts 427ms
556
- ✓ should handle invalid project names 333ms
557
- ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 606ms
558
- ✓ should generate unique DID for each call (without skipIdentity) 517ms
559
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
560
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
446
+ ============================================================
447
+ 🎉 Cloudflare MCP-I project created successfully!
448
+ ============================================================
561
449
 
562
- src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 21ms
563
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 2255ms
564
- should handle different package managers 349ms
565
- should handle template generation without overwriting existing files incorrectly 488ms
566
- should skip identity generation when skipIdentity is true 496ms
567
- test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
568
- ✓ src/__tests__/effects/index.test.ts (5 tests) 5ms
569
- test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
570
- src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 50ms
571
- src/__tests__/utils/validate-project-name.test.ts (29 tests) 37ms
572
- test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 35ms
573
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 6ms
574
- src/__tests__/helpers/rename.test.ts (6 tests) 340ms
575
- test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
450
+ 📝 Important Configuration Notes:
451
+
452
+ 1. ADMIN_API_KEY (in .dev.vars):
453
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
454
+ - You can change it if you need separate admin endpoint security
455
+ - Required for admin endpoints like /admin/clear-cache
456
+
457
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
458
+ - Required for MCP-I security features
459
+ - Automatically created on first deploy - no setup needed!
460
+ - Wrangler updates wrangler.toml with namespace IDs
461
+
462
+ 🚀 Next Steps:
463
+ cd test-project-no-workspace
464
+ wrangler login # Login to Cloudflare first!
465
+ npm run dev # Start local development
466
+ npm run deploy # Deploy (KV auto-created!)
467
+
468
+
469
+ ✓ src/__tests__/cli-runner.test.ts (4 tests) 1178ms
470
+ ✓ passes CLI flags to createProject when using --yes 1042ms
471
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 706ms
472
+ ✓ session routing should have O(1) complexity 520ms
473
+ ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 96ms
474
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 967ms
475
+ ✓ should scaffold with correct @kya-os/mcp-i-cloudflare version 355ms
476
+ ✓ should not include workspace: references in scaffolded package.json 349ms
477
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 377ms
478
+ ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 918ms
479
+ ✓ should enhance existing tools when tools directory exists with files 315ms
480
+ ✓ should throw error when package.json does not exist 388ms
481
+ ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 726ms
482
+ ✓ src/__tests__/index.test.ts (4 tests) 291ms
483
+ ✓ src/__tests__/helpers/create.test.ts (13 tests) 659ms
484
+ ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 71ms
485
+ ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 335ms
486
+ ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 127ms
487
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
488
+
489
+ 📦 Installing dependencies with npm...
490
+ ✓ Lockfile created (package-lock.json) - remember to commit it
491
+
492
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
493
+
494
+ 📦 Installing dependencies with yarn...
495
+ ✓ Lockfile created (yarn.lock) - remember to commit it
496
+
497
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
498
+
499
+ 📦 Installing dependencies with pnpm...
500
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
501
+
502
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
503
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
504
+
505
+ 📦 Installing dependencies with npm...
506
+ ✓ Lockfile created (package-lock.json) - remember to commit it
507
+
508
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
509
+
510
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
511
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
512
+
513
+ 📦 Installing dependencies with npm...
514
+ Failed to install dependencies with npm.
515
+ ✓ Lockfile created (package-lock.json) - remember to commit it
516
+
517
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
518
+
519
+
520
+ 📦 Installing dependencies with npm...
521
+
522
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
523
+
524
+ 📦 Installing dependencies with npm...
525
+
526
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
527
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
528
+
529
+ 📦 Installing dependencies with npm...
530
+ Failed to install dependencies with npm.
531
+
532
+
533
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
534
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
535
+ Failed to install dependencies with npm.
536
+
537
+
538
+ 📦 Installing dependencies with npm...
539
+
540
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
541
+
542
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
543
+ 📦 Installing dependencies with unknown...
544
+
545
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
546
+
547
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 375ms
548
+ ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 58ms
549
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
550
+
551
+ 📦 Installing dependencies with npm...
552
+
553
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
554
+
555
+ 📦 Installing dependencies with custom...
556
+
557
+ ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 24ms
558
+ ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 61ms
559
+ ✓ src/__tests__/helpers/install.test.ts (21 tests) 264ms
560
+ ✓ src/__tests__/helpers/rename.test.ts (6 tests) 134ms
561
+ ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 378ms
562
+ ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 387ms
576
563
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
577
564
  [RemoteConfig] Neither projectId nor agentDid provided
578
565
 
579
566
  ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
567
+ ✓ src/__tests__/effects/index.test.ts (5 tests) 3ms
568
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2176ms
569
+ ✓ should import Durable Object class from agent.ts 398ms
570
+ ✓ should include MCP_SERVER_URL placeholder in wrangler.toml 378ms
571
+ ✓ should create KV namespace creation scripts in package.json 388ms
572
+ ✓ should skip identity generation when skipIdentity is true 342ms
573
+ ✓ src/__tests__/utils/check-node.test.ts (7 tests) 22ms
574
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
575
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 69ms
576
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
577
+ ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
578
+
579
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
580
+ ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 162ms
580
581
 
581
582
  Test Files 34 passed (34)
582
583
  Tests 501 passed | 3 skipped (504)
583
- Start at 15:01:58
584
- Duration 4.25s (transform 2.99s, setup 0ms, import 9.58s, tests 11.52s, environment 3ms)
584
+ Start at 18:23:04
585
+ Duration 5.95s (transform 6.51s, setup 0ms, import 17.71s, tests 12.05s, environment 3ms)
585
586
 
@@ -67,7 +67,7 @@ export async function getPackageVersions() {
67
67
  cachedVersions = {
68
68
  "@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.10"),
69
69
  "@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.6"),
70
- "@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.23"),
70
+ "@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.25"),
71
71
  "@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.17"),
72
72
  };
73
73
  return cachedVersions;
@@ -78,7 +78,7 @@ export async function getPackageVersions() {
78
78
  return {
79
79
  "@kya-os/mcp-i": "^1.7.10",
80
80
  "@kya-os/cli": "^1.5.6",
81
- "@kya-os/mcp-i-cloudflare": "^1.7.23",
81
+ "@kya-os/mcp-i-cloudflare": "^1.7.25",
82
82
  "@kya-os/contracts": "^1.7.17",
83
83
  };
84
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.9.20",
3
+ "version": "1.9.22",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "type": "module",
6
6
  "main": "./dist/helpers/index.js",
@@ -36,7 +36,7 @@
36
36
  "@kya-os/cli-effects": "^1.0.19",
37
37
  "@kya-os/contracts": "^1.7.17",
38
38
  "@kya-os/mcp-i": "^1.7.10",
39
- "@kya-os/mcp-i-cloudflare": "^1.7.24",
39
+ "@kya-os/mcp-i-cloudflare": "^1.7.25",
40
40
  "base-x": "^5.0.0",
41
41
  "chalk": "^4.1.2",
42
42
  "commander": "^12.1.0",