@kya-os/create-mcpi-app 1.9.9 → 1.9.11

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.9 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.10 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -0,0 +1,585 @@
1
+
2
+ > @kya-os/create-mcpi-app@1.9.10 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > vitest run
4
+
5
+
6
+ RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
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
+
18
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
19
+
20
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
21
+
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
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
26
+ 🔑 Generating cryptographic identity...
27
+
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...
87
+
88
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
89
+
90
+ 📦 Installing dependencies with custom...
91
+
92
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
93
+ ✔ Created Cloudflare MCP-I template files
94
+ - Generated identity keys in .dev.vars
95
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
96
+ - Created modular tool structure
97
+
98
+ ============================================================
99
+ 🎉 Cloudflare MCP-I project created successfully!
100
+ ============================================================
101
+
102
+ 📝 Important Configuration Notes:
103
+
104
+ 1. ADMIN_API_KEY (in .dev.vars):
105
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
106
+ - You can change it if you need separate admin endpoint security
107
+ - Required for admin endpoints like /admin/clear-cache
108
+
109
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
110
+ - Required for MCP-I security features
111
+ - ✨ Automatically created on first deploy - no setup needed!
112
+ - Wrangler updates wrangler.toml with namespace IDs
113
+
114
+ 🚀 Next Steps:
115
+ cd test-agent
116
+ wrangler login # Login to Cloudflare first!
117
+ npm run dev # Start local development
118
+ npm run deploy # Deploy (KV auto-created!)
119
+
120
+
121
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
122
+
123
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
124
+
125
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
126
+ 🔑 Generating cryptographic identity...
127
+
128
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
129
+ ✔ Created Cloudflare MCP-I template files
130
+ - Generated identity keys in .dev.vars
131
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
132
+ - Created modular tool structure
133
+
134
+ ============================================================
135
+ 🎉 Cloudflare MCP-I project created successfully!
136
+ ============================================================
137
+
138
+ 📝 Important Configuration Notes:
139
+
140
+ 1. ADMIN_API_KEY (in .dev.vars):
141
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
142
+ - You can change it if you need separate admin endpoint security
143
+ - Required for admin endpoints like /admin/clear-cache
144
+
145
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
146
+ - Required for MCP-I security features
147
+ - ✨ Automatically created on first deploy - no setup needed!
148
+ - Wrangler updates wrangler.toml with namespace IDs
149
+
150
+ 🚀 Next Steps:
151
+ cd my-awesome-agent
152
+ wrangler login # Login to Cloudflare first!
153
+ npm run dev # Start local development
154
+ npm run deploy # Deploy (KV auto-created!)
155
+
156
+
157
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
158
+
159
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
160
+
161
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
162
+ 🔑 Generating cryptographic identity...
163
+
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
+ 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
+ ✔ Created Cloudflare MCP-I template files
195
+ - Generated identity keys in .dev.vars
196
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
197
+ - Created modular tool structure
198
+
199
+ ============================================================
200
+ 🎉 Cloudflare MCP-I project created successfully!
201
+ ============================================================
202
+
203
+ 📝 Important Configuration Notes:
204
+
205
+ 1. ADMIN_API_KEY (in .dev.vars):
206
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
207
+ - You can change it if you need separate admin endpoint security
208
+ - Required for admin endpoints like /admin/clear-cache
209
+
210
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
211
+ - Required for MCP-I security features
212
+ - ✨ Automatically created on first deploy - no setup needed!
213
+ - Wrangler updates wrangler.toml with namespace IDs
214
+
215
+ 🚀 Next Steps:
216
+ cd test-project
217
+ wrangler login # Login to Cloudflare first!
218
+ npm run dev # Start local development
219
+ npm run deploy # Deploy (KV auto-created!)
220
+
221
+
222
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
223
+
224
+ 🏗️ Generating Cloudflare MCP-I project: test-project-env...
225
+
226
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
227
+ 🔑 Generating cryptographic identity...
228
+
229
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
230
+ ✔ Created Cloudflare MCP-I template files
231
+ - Generated identity keys in .dev.vars
232
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
233
+ - Created modular tool structure
234
+
235
+ ============================================================
236
+ 🎉 Cloudflare MCP-I project created successfully!
237
+ ============================================================
238
+
239
+ 📝 Important Configuration Notes:
240
+
241
+ 1. ADMIN_API_KEY (in .dev.vars):
242
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
243
+ - You can change it if you need separate admin endpoint security
244
+ - Required for admin endpoints like /admin/clear-cache
245
+
246
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
247
+ - Required for MCP-I security features
248
+ - ✨ Automatically created on first deploy - no setup needed!
249
+ - Wrangler updates wrangler.toml with namespace IDs
250
+
251
+ 🚀 Next Steps:
252
+ cd test-project-env
253
+ wrangler login # Login to Cloudflare first!
254
+ npm run dev # Start local development
255
+ npm run deploy # Deploy (KV auto-created!)
256
+
257
+
258
+ 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
259
+
260
+ 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
261
+
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
266
+ ✔ Created Cloudflare MCP-I template files
267
+ - Generated identity keys in .dev.vars
268
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
269
+ - Created modular tool structure
270
+
271
+ ============================================================
272
+ 🎉 Cloudflare MCP-I project created successfully!
273
+ ============================================================
274
+
275
+ 📝 Important Configuration Notes:
276
+
277
+ 1. ADMIN_API_KEY (in .dev.vars):
278
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
279
+ - You can change it if you need separate admin endpoint security
280
+ - Required for admin endpoints like /admin/clear-cache
281
+
282
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
283
+ - Required for MCP-I security features
284
+ - ✨ Automatically created on first deploy - no setup needed!
285
+ - Wrangler updates wrangler.toml with namespace IDs
286
+
287
+ 🚀 Next Steps:
288
+ cd test-project-with-id
289
+ wrangler login # Login to Cloudflare first!
290
+ npm run dev # Start local development
291
+ npm run deploy # Deploy (KV auto-created!)
292
+
293
+
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
298
+
299
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
300
+
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
302
+ 🔑 Generating cryptographic identity...
303
+
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
305
+ ✔ Created Cloudflare MCP-I template files
306
+ - Generated identity keys in .dev.vars
307
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
308
+ - Created modular tool structure
309
+
310
+ ============================================================
311
+ 🎉 Cloudflare MCP-I project created successfully!
312
+ ============================================================
313
+
314
+ 📝 Important Configuration Notes:
315
+
316
+ 1. ADMIN_API_KEY (in .dev.vars):
317
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
318
+ - You can change it if you need separate admin endpoint security
319
+ - Required for admin endpoints like /admin/clear-cache
320
+
321
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
322
+ - Required for MCP-I security features
323
+ - ✨ Automatically created on first deploy - no setup needed!
324
+ - Wrangler updates wrangler.toml with namespace IDs
325
+
326
+ 🚀 Next Steps:
327
+ cd test-project-no-id
328
+ wrangler login # Login to Cloudflare first!
329
+ npm run dev # Start local development
330
+ npm run deploy # Deploy (KV auto-created!)
331
+
332
+
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
348
+ ✔ Created Cloudflare MCP-I template files
349
+ - Generated identity keys in .dev.vars
350
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
351
+ - Created modular tool structure
352
+
353
+ ============================================================
354
+ 🎉 Cloudflare MCP-I project created successfully!
355
+ ============================================================
356
+
357
+ 📝 Important Configuration Notes:
358
+
359
+ 1. ADMIN_API_KEY (in .dev.vars):
360
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
361
+ - You can change it if you need separate admin endpoint security
362
+ - Required for admin endpoints like /admin/clear-cache
363
+
364
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
365
+ - Required for MCP-I security features
366
+ - ✨ Automatically created on first deploy - no setup needed!
367
+ - Wrangler updates wrangler.toml with namespace IDs
368
+
369
+ 🚀 Next Steps:
370
+ cd test-agent
371
+ wrangler login # Login to Cloudflare first!
372
+ npm run dev # Start local development
373
+ npm run deploy # Deploy (KV auto-created!)
374
+
375
+
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
378
+ ✔ Created Cloudflare MCP-I template files
379
+ - Generated identity keys in .dev.vars
380
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
381
+ - Created modular tool structure
382
+
383
+ ============================================================
384
+ 🎉 Cloudflare MCP-I project created successfully!
385
+ ============================================================
386
+
387
+ 📝 Important Configuration Notes:
388
+
389
+ 1. ADMIN_API_KEY (in .dev.vars):
390
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
391
+ - You can change it if you need separate admin endpoint security
392
+ - Required for admin endpoints like /admin/clear-cache
393
+
394
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
395
+ - Required for MCP-I security features
396
+ - ✨ Automatically created on first deploy - no setup needed!
397
+ - Wrangler updates wrangler.toml with namespace IDs
398
+
399
+ 🚀 Next Steps:
400
+ cd test-project-runtime
401
+ wrangler login # Login to Cloudflare first!
402
+ npm run dev # Start local development
403
+ npm run deploy # Deploy (KV auto-created!)
404
+
405
+
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
407
+
408
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
409
+
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
411
+ 🔑 Generating cryptographic identity...
412
+
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
414
+ ✔ Created Cloudflare MCP-I template files
415
+ - Generated identity keys in .dev.vars
416
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
417
+ - Created modular tool structure
418
+
419
+ ============================================================
420
+ 🎉 Cloudflare MCP-I project created successfully!
421
+ ============================================================
422
+
423
+ 📝 Important Configuration Notes:
424
+
425
+ 1. ADMIN_API_KEY (in .dev.vars):
426
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
427
+ - You can change it if you need separate admin endpoint security
428
+ - Required for admin endpoints like /admin/clear-cache
429
+
430
+ 2. KV Namespaces (auto-provisioned by Wrangler v4):
431
+ - Required for MCP-I security features
432
+ - ✨ Automatically created on first deploy - no setup needed!
433
+ - Wrangler updates wrangler.toml with namespace IDs
434
+
435
+ 🚀 Next Steps:
436
+ cd test-project-no-workspace
437
+ wrangler login # Login to Cloudflare first!
438
+ npm run dev # Start local development
439
+ npm run deploy # Deploy (KV auto-created!)
440
+
441
+
442
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 382ms
443
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
444
+
445
+ create-mcpi-app@1.9.10
446
+
447
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
448
+ BANNER
449
+
450
+ Enhanced with identity features by MCP-I
451
+
452
+
453
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
454
+
455
+ Next Steps:
456
+ 1. Install dependencies:
457
+ cd my-agent
458
+ npm install
459
+
460
+ 2. Start development server:
461
+ npm run dev
462
+
463
+ 3. Deploy when ready:
464
+ npm run start
465
+
466
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
467
+
468
+ create-mcpi-app@1.9.10
469
+
470
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
471
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
472
+ BANNER
473
+
474
+ Enhanced with identity features by MCP-I
475
+
476
+ Invalid project name:
477
+
478
+ - bad
479
+
480
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
481
+
482
+ create-mcpi-app@1.9.10
483
+
484
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
485
+ BANNER
486
+
487
+ Enhanced with identity features by MCP-I
488
+
489
+
490
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
491
+
492
+ Next Steps:
493
+ 1. Install dependencies:
494
+ cd pnpm-agent
495
+ pnpm install
496
+
497
+ 2. Initialize identity:
498
+ pnpm init
499
+
500
+ 3. Start development server:
501
+ pnpm dev
502
+
503
+ 4. Deploy when ready:
504
+ pnpm start
505
+
506
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
507
+
508
+ create-mcpi-app@1.9.10
509
+
510
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
511
+ BANNER
512
+
513
+ Enhanced with identity features by MCP-I
514
+
515
+
516
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
517
+
518
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
519
+
520
+
521
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
522
+
523
+ Next Steps:
524
+ 1. Install dependencies:
525
+ cd interactive-app
526
+ pnpm install
527
+
528
+ 2. Start development server:
529
+ pnpm dev
530
+
531
+ 3. Deploy when ready:
532
+ pnpm start
533
+
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
553
+
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
561
+
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
576
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
577
+ [RemoteConfig] Neither projectId nor agentDid provided
578
+
579
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
580
+
581
+ Test Files 34 passed (34)
582
+ 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)
585
+
@@ -64,10 +64,10 @@ export async function getPackageVersions() {
64
64
  const deps = packageJson.dependencies || {};
65
65
  // Extract and normalize versions
66
66
  cachedVersions = {
67
- "@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.5"),
68
- "@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.4"),
69
- "@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.11"),
70
- "@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.9"),
67
+ "@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.6"),
68
+ "@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.5"),
69
+ "@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.16"),
70
+ "@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.11"),
71
71
  };
72
72
  return cachedVersions;
73
73
  }
@@ -75,10 +75,10 @@ export async function getPackageVersions() {
75
75
  // Fallback to safe default versions if package.json can't be read
76
76
  console.warn("[getPackageVersions] Warning: Could not read package.json, using defaults");
77
77
  return {
78
- "@kya-os/mcp-i": "^1.7.5",
79
- "@kya-os/cli": "^1.5.4",
80
- "@kya-os/mcp-i-cloudflare": "^1.7.11",
81
- "@kya-os/contracts": "^1.7.9",
78
+ "@kya-os/mcp-i": "^1.7.6",
79
+ "@kya-os/cli": "^1.5.5",
80
+ "@kya-os/mcp-i-cloudflare": "^1.7.16",
81
+ "@kya-os/contracts": "^1.7.11",
82
82
  };
83
83
  }
84
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get-package-versions.js","sourceRoot":"","sources":["../../src/helpers/get-package-versions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,mCAAmC;AACnC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAS3C,kDAAkD;AAClD,IAAI,cAAc,GAA2B,IAAI,CAAC;AAElD;;;;;;;;;;GAUG;AACH,SAAS,gBAAgB,CAAC,OAAe;IACvC,gCAAgC;IAChC,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAEnD,oDAAoD;IACpD,wDAAwD;IACxD,IAAI,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpC,OAAO,YAAY,CAAC,CAAC,2BAA2B;IAClD,CAAC;IAED,6CAA6C;IAC7C,OAAO,IAAI,YAAY,EAAE,CAAC,CAAC,WAAW;AACxC,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACtC,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,gDAAgD;IAChD,uCAAuC;IACvC,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;IAEtE,IAAI,CAAC;QACH,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;QACvD,MAAM,IAAI,GAAG,WAAW,CAAC,YAAY,IAAI,EAAE,CAAC;QAE5C,iCAAiC;QACjC,cAAc,GAAG;YACf,eAAe,EAAE,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,QAAQ,CAAC;YACpE,aAAa,EAAE,gBAAgB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,QAAQ,CAAC;YAChE,0BAA0B,EAAE,gBAAgB,CAC1C,IAAI,CAAC,0BAA0B,CAAC,IAAI,SAAS,CAC9C;YACD,mBAAmB,EAAE,gBAAgB,CACnC,IAAI,CAAC,mBAAmB,CAAC,IAAI,QAAQ,CACtC;SACF,CAAC;QAEF,OAAO,cAAc,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,kEAAkE;QAClE,OAAO,CAAC,IAAI,CACV,2EAA2E,CAC5E,CAAC;QAEF,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,0BAA0B,EAAE,SAAS;YACrC,mBAAmB,EAAE,QAAQ;SAC9B,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,cAAc,GAAG,IAAI,CAAC;AACxB,CAAC"}
1
+ {"version":3,"file":"get-package-versions.js","sourceRoot":"","sources":["../../src/helpers/get-package-versions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,mCAAmC;AACnC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAS3C,kDAAkD;AAClD,IAAI,cAAc,GAA2B,IAAI,CAAC;AAElD;;;;;;;;;;GAUG;AACH,SAAS,gBAAgB,CAAC,OAAe;IACvC,gCAAgC;IAChC,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAEnD,oDAAoD;IACpD,wDAAwD;IACxD,IAAI,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpC,OAAO,YAAY,CAAC,CAAC,2BAA2B;IAClD,CAAC;IAED,6CAA6C;IAC7C,OAAO,IAAI,YAAY,EAAE,CAAC,CAAC,WAAW;AACxC,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACtC,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,gDAAgD;IAChD,uCAAuC;IACvC,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;IAEtE,IAAI,CAAC;QACH,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;QACvD,MAAM,IAAI,GAAG,WAAW,CAAC,YAAY,IAAI,EAAE,CAAC;QAE5C,iCAAiC;QACjC,cAAc,GAAG;YACf,eAAe,EAAE,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,IAAI,QAAQ,CAAC;YACpE,aAAa,EAAE,gBAAgB,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,QAAQ,CAAC;YAChE,0BAA0B,EAAE,gBAAgB,CAC1C,IAAI,CAAC,0BAA0B,CAAC,IAAI,SAAS,CAC9C;YACD,mBAAmB,EAAE,gBAAgB,CACnC,IAAI,CAAC,mBAAmB,CAAC,IAAI,SAAS,CACvC;SACF,CAAC;QAEF,OAAO,cAAc,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,kEAAkE;QAClE,OAAO,CAAC,IAAI,CACV,2EAA2E,CAC5E,CAAC;QAEF,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,0BAA0B,EAAE,SAAS;YACrC,mBAAmB,EAAE,SAAS;SAC/B,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,cAAc,GAAG,IAAI,CAAC;AACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.9.9",
3
+ "version": "1.9.11",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "type": "module",
6
6
  "main": "./dist/helpers/index.js",
@@ -32,11 +32,11 @@
32
32
  "prepublishOnly": "npm run build && node scripts/validate-dependencies.js && node scripts/validate-template-versions.js"
33
33
  },
34
34
  "dependencies": {
35
- "@kya-os/cli": "^1.5.4",
35
+ "@kya-os/cli": "^1.5.6",
36
36
  "@kya-os/cli-effects": "^1.0.19",
37
- "@kya-os/contracts": "^1.7.9",
38
- "@kya-os/mcp-i": "^1.7.5",
39
- "@kya-os/mcp-i-cloudflare": "^1.7.11",
37
+ "@kya-os/contracts": "^1.7.12",
38
+ "@kya-os/mcp-i": "^1.7.7",
39
+ "@kya-os/mcp-i-cloudflare": "^1.7.16",
40
40
  "base-x": "^5.0.0",
41
41
  "chalk": "^4.1.2",
42
42
  "commander": "^12.1.0",