@kya-os/create-mcpi-app 1.9.4 → 1.9.5

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.3 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.5 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,21 +1,16 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.3 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.4 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
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 74ms
9
- ✓ src/__tests__/index.test.ts (4 tests) 328ms
10
- src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 211ms
11
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 119ms
12
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
13
-
14
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
15
-
16
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
17
- 🔑 Generating cryptographic identity...
18
-
8
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 186ms
9
+ ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 342ms
10
+ should return versions from actual package.json 323ms
11
+ ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 35ms
12
+ src/__tests__/index.test.ts (4 tests) 637ms
13
+ ✓ should load .env from package directory and current working directory 569ms
19
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
20
15
 
21
16
  🏗️ Generating Cloudflare MCP-I project: test-project...
@@ -23,6 +18,9 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
23
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
24
19
  🔑 Generating cryptographic identity...
25
20
 
21
+ ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 239ms
22
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 302ms
23
+ ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 405ms
26
24
  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
27
25
  ✔ Created Cloudflare MCP-I template files
28
26
  - Generated identity keys in .dev.vars
@@ -59,30 +57,7 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
59
57
  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
60
58
  🔑 Generating cryptographic identity...
61
59
 
62
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
63
-
64
- create-mcpi-app@1.9.3
65
-
66
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
67
- BANNER
68
-
69
- Enhanced with identity features by MCP-I
70
-
71
-
72
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
73
-
74
- Next Steps:
75
- 1. Install dependencies:
76
- cd my-agent
77
- npm install
78
-
79
- 2. Start development server:
80
- npm run dev
81
-
82
- 3. Deploy when ready:
83
- npm run start
84
-
85
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
60
+ 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
86
61
  ✔ Created Cloudflare MCP-I template files
87
62
  - Generated identity keys in .dev.vars
88
63
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -105,83 +80,27 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
105
80
  - Wrangler updates wrangler.toml with namespace IDs
106
81
 
107
82
  🚀 Next Steps:
108
- cd test-agent
83
+ cd test-project-env
109
84
  wrangler login # Login to Cloudflare first!
110
85
  npm run dev # Start local development
111
86
  npm run deploy # Deploy (KV auto-created!)
112
87
 
113
88
 
114
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
115
-
116
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
117
- create-mcpi-app@1.9.3
118
-
119
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
120
- BANNER
121
- Invalid project name:
122
-
123
- - bad
124
- Enhanced with identity features by MCP-I
125
-
126
-
127
-
128
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
129
-
130
- create-mcpi-app@1.9.3
131
-
132
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
133
- BANNER
134
-
135
- Enhanced with identity features by MCP-I
136
-
137
-
138
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
139
-
140
- Next Steps:
141
- 1. Install dependencies:
142
- cd pnpm-agent
143
- pnpm install
144
-
145
- 2. Initialize identity:
146
- pnpm init
147
-
148
- 3. Start development server:
149
- pnpm dev
150
-
151
- 4. Deploy when ready:
152
- pnpm start
153
-
154
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
155
-
156
- create-mcpi-app@1.9.3
157
-
158
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
159
- BANNER
160
-
161
- Enhanced with identity features by MCP-I
162
-
163
-
164
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
165
-
166
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
89
+ 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
167
90
 
91
+ 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
168
92
 
169
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
93
+ 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
94
+ 🔑 Generating cryptographic identity...
170
95
 
171
- Next Steps:
172
- 1. Install dependencies:
173
- cd interactive-app
174
- pnpm install
96
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
175
97
 
176
- 2. Start development server:
177
- pnpm dev
98
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
178
99
 
179
- 3. Deploy when ready:
180
- pnpm start
100
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
101
+ 🔑 Generating cryptographic identity...
181
102
 
182
- src/__tests__/cli-runner.test.ts (4 tests) 592ms
183
- ✓ passes CLI flags to createProject when using --yes 586ms
184
- 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
103
+ 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
185
104
  ✔ Created Cloudflare MCP-I template files
186
105
  - Generated identity keys in .dev.vars
187
106
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -204,28 +123,23 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
204
123
  - Wrangler updates wrangler.toml with namespace IDs
205
124
 
206
125
  🚀 Next Steps:
207
- cd test-project-env
126
+ cd test-project-with-id
208
127
  wrangler login # Login to Cloudflare first!
209
128
  npm run dev # Start local development
210
129
  npm run deploy # Deploy (KV auto-created!)
211
130
 
212
131
 
213
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
214
-
215
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
216
-
217
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
218
- 🔑 Generating cryptographic identity...
132
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
133
+ [Session] Created session: secure-session
219
134
 
220
- 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
135
+ 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
221
136
 
222
- 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
137
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
223
138
 
224
- 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
139
+ 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
225
140
  🔑 Generating cryptographic identity...
226
141
 
227
- src/__tests__/helpers/create.test.ts (13 tests) 252ms
228
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
142
+ 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
229
143
  ✔ Created Cloudflare MCP-I template files
230
144
  - Generated identity keys in .dev.vars
231
145
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -248,21 +162,20 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
248
162
  - Wrangler updates wrangler.toml with namespace IDs
249
163
 
250
164
  🚀 Next Steps:
251
- cd my-awesome-agent
165
+ cd test-project-no-id
252
166
  wrangler login # Login to Cloudflare first!
253
167
  npm run dev # Start local development
254
168
  npm run deploy # Deploy (KV auto-created!)
255
169
 
256
170
 
257
- src/__tests__/helpers/generate-config.test.ts (25 tests) 530ms
258
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
171
+ 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
259
172
 
260
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
173
+ 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
261
174
 
262
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
175
+ 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
176
  🔑 Generating cryptographic identity...
264
177
 
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
178
+ 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
266
179
  ✔ Created Cloudflare MCP-I template files
267
180
  - Generated identity keys in .dev.vars
268
181
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -285,20 +198,22 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
285
198
  - Wrangler updates wrangler.toml with namespace IDs
286
199
 
287
200
  🚀 Next Steps:
288
- cd test-project-with-id
201
+ cd test-project-runtime
289
202
  wrangler login # Login to Cloudflare first!
290
203
  npm run dev # Start local development
291
204
  npm run deploy # Deploy (KV auto-created!)
292
205
 
293
206
 
294
- 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
207
+ test-cloudflare/tests/session-management.test.ts (17 tests) 23ms
208
+ ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 672ms
209
+ 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
295
210
 
296
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
211
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
297
212
 
298
- 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
213
+ 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
299
214
  🔑 Generating cryptographic identity...
300
215
 
301
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
216
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
302
217
  ✔ Created Cloudflare MCP-I template files
303
218
  - Generated identity keys in .dev.vars
304
219
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -327,14 +242,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
327
242
  npm run deploy # Deploy (KV auto-created!)
328
243
 
329
244
 
330
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
331
-
332
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
333
-
334
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
335
- 🔑 Generating cryptographic identity...
336
-
337
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
245
+ 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
338
246
  ✔ Created Cloudflare MCP-I template files
339
247
  - Generated identity keys in .dev.vars
340
248
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -357,13 +265,24 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
357
265
  - Wrangler updates wrangler.toml with namespace IDs
358
266
 
359
267
  🚀 Next Steps:
360
- cd test-agent
268
+ cd test-project-no-workspace
361
269
  wrangler login # Login to Cloudflare first!
362
270
  npm run dev # Start local development
363
271
  npm run deploy # Deploy (KV auto-created!)
364
272
 
365
273
 
366
- 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
274
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
275
+
276
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
277
+
278
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
279
+ 🔑 Generating cryptographic identity...
280
+
281
+ ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 1126ms
282
+ ✓ should create hello tool when tools directory exists but is empty 309ms
283
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 825ms
284
+ ✓ should not include workspace: references in scaffolded package.json 374ms
285
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
367
286
  ✔ Created Cloudflare MCP-I template files
368
287
  - Generated identity keys in .dev.vars
369
288
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -386,20 +305,113 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
386
305
  - Wrangler updates wrangler.toml with namespace IDs
387
306
 
388
307
  🚀 Next Steps:
389
- cd test-project-no-id
308
+ cd my-awesome-agent
390
309
  wrangler login # Login to Cloudflare first!
391
310
  npm run dev # Start local development
392
311
  npm run deploy # Deploy (KV auto-created!)
393
312
 
394
313
 
395
- 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
314
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
396
315
 
397
- 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
316
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
398
317
 
399
- 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
318
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
400
319
  🔑 Generating cryptographic identity...
401
320
 
402
- 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
321
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
322
+
323
+ create-mcpi-app@1.9.4
324
+
325
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
326
+ BANNER
327
+
328
+ Enhanced with identity features by MCP-I
329
+
330
+
331
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
332
+
333
+ Next Steps:
334
+ 1. Install dependencies:
335
+ cd my-agent
336
+ npm install
337
+
338
+ 2. Start development server:
339
+ npm run dev
340
+
341
+ 3. Deploy when ready:
342
+ npm run start
343
+
344
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
345
+
346
+ create-mcpi-app@1.9.4
347
+
348
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
349
+ BANNER
350
+
351
+ Enhanced with identity features by MCP-I
352
+
353
+
354
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
355
+ Invalid project name:
356
+ - bad
357
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
358
+
359
+ create-mcpi-app@1.9.4
360
+
361
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
362
+ BANNER
363
+
364
+
365
+ Enhanced with identity features by MCP-I
366
+
367
+
368
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
369
+
370
+ Next Steps:
371
+ 1. Install dependencies:
372
+ cd pnpm-agent
373
+ pnpm install
374
+
375
+ 2. Initialize identity:
376
+ pnpm init
377
+
378
+ 3. Start development server:
379
+ pnpm dev
380
+
381
+ 4. Deploy when ready:
382
+ pnpm start
383
+
384
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
385
+
386
+ create-mcpi-app@1.9.4
387
+
388
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
389
+ BANNER
390
+
391
+ Enhanced with identity features by MCP-I
392
+
393
+
394
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
395
+
396
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
397
+
398
+
399
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
400
+
401
+ Next Steps:
402
+ 1. Install dependencies:
403
+ cd interactive-app
404
+ pnpm install
405
+
406
+ 2. Start development server:
407
+ pnpm dev
408
+
409
+ 3. Deploy when ready:
410
+ pnpm start
411
+
412
+ ✓ src/__tests__/cli-runner.test.ts (4 tests) 1465ms
413
+ ✓ passes CLI flags to createProject when using --yes 1461ms
414
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
403
415
  ✔ Created Cloudflare MCP-I template files
404
416
  - Generated identity keys in .dev.vars
405
417
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -422,20 +434,21 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
422
434
  - Wrangler updates wrangler.toml with namespace IDs
423
435
 
424
436
  🚀 Next Steps:
425
- cd test-project-runtime
437
+ cd test-agent
426
438
  wrangler login # Login to Cloudflare first!
427
439
  npm run dev # Start local development
428
440
  npm run deploy # Deploy (KV auto-created!)
429
441
 
430
442
 
431
- 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
443
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
432
444
 
433
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
445
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
434
446
 
435
- 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
447
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
436
448
  🔑 Generating cryptographic identity...
437
449
 
438
- 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
450
+ src/__tests__/helpers/kta-registration.test.ts (8 tests) 145ms
451
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
439
452
  ✔ Created Cloudflare MCP-I template files
440
453
  - Generated identity keys in .dev.vars
441
454
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -458,21 +471,23 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
458
471
  - Wrangler updates wrangler.toml with namespace IDs
459
472
 
460
473
  🚀 Next Steps:
461
- cd test-project-no-workspace
474
+ cd test-agent
462
475
  wrangler login # Login to Cloudflare first!
463
476
  npm run dev # Start local development
464
477
  npm run deploy # Deploy (KV auto-created!)
465
478
 
466
479
 
467
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 560ms
468
- ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 906ms
469
- src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 599ms
470
- ✓ should set AGENTSHIELD_PROJECT_ID when --project is provided 415ms
480
+ ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 187ms
481
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 1030ms
482
+ should include envPrefix in generated index.ts 506ms
483
+ ✓ should match envPrefix with KV binding names in wrangler.toml 309ms
484
+ ✓ src/__tests__/utils/check-node.test.ts (7 tests) 41ms
471
485
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
472
486
 
473
487
  📦 Installing dependencies with npm...
474
488
  ✓ Lockfile created (package-lock.json) - remember to commit it
475
489
 
490
+ ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 59ms
476
491
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
477
492
 
478
493
  📦 Installing dependencies with yarn...
@@ -485,98 +500,87 @@ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installati
485
500
 
486
501
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
487
502
 
503
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
488
504
  📦 Installing dependencies with npm...
489
505
  ✓ Lockfile created (package-lock.json) - remember to commit it
490
506
 
491
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
492
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
493
-
494
507
  stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
495
508
 
496
509
  📦 Installing dependencies with npm...
497
510
  ✓ Lockfile created (package-lock.json) - remember to commit it
511
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
512
+
513
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
514
+ Failed to install dependencies with npm.
498
515
 
499
516
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
500
517
 
501
- 📦 Installing dependencies with npm...
502
518
 
503
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
504
- Failed to install dependencies with npm.
519
+ 📦 Installing dependencies with npm...
505
520
 
506
521
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
507
522
 
508
523
  📦 Installing dependencies with npm...
509
524
 
510
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
511
- Failed to install dependencies with npm.
512
-
513
525
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
514
526
 
527
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
515
528
  📦 Installing dependencies with npm...
516
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
517
529
 
518
530
  Failed to install dependencies with npm.
519
531
 
532
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
533
+ Failed to install dependencies with npm.
534
+
520
535
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
521
536
 
522
537
  📦 Installing dependencies with npm...
523
538
 
539
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
524
540
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
525
541
 
526
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
527
542
  📦 Installing dependencies with unknown...
528
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
529
-
530
543
 
544
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
531
545
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
532
546
 
547
+
533
548
  📦 Installing dependencies with npm...
534
549
 
535
550
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
536
551
 
537
552
  📦 Installing dependencies with custom...
538
553
 
539
- ✓ src/__tests__/helpers/install.test.ts (21 tests) 41ms
540
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 464ms
541
- ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 738ms
542
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 140ms
543
- src/__tests__/helpers/get-package-versions.test.ts (6 tests) 360ms
544
- src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 49ms
545
- src/__tests__/utils/is-folder-empty.test.ts (21 tests) 53ms
546
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
547
- [Session] Created session: secure-session
548
-
549
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 2134ms
550
- ✓ should handle different package managers 435ms
551
- ✓ should handle project names with only special characters 760ms
552
- ✓ should skip identity generation when skipIdentity is true 308ms
553
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 23ms
554
+ ✓ src/__tests__/helpers/create.test.ts (13 tests) 218ms
555
+ ✓ src/__tests__/helpers/install.test.ts (21 tests) 57ms
556
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 377ms
557
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 2216ms
558
+ should handle different package managers 433ms
559
+ should generate consistent template structure on multiple calls 453ms
560
+ should handle project names with only dots 311ms
561
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 259ms
554
562
  stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
555
563
  ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
556
564
 
557
- ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 163ms
558
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 103ms
559
- src/__tests__/utils/check-node.test.ts (7 tests) 231ms
560
- ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 161ms
561
- src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2886ms
562
- should handle MCP_SERVER_URL configuration 575ms
563
- should include correct imports in runtime config 330ms
564
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 28ms
565
- test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 8ms
566
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 10ms
567
- ✓ src/__tests__/helpers/rename.test.ts (6 tests) 25ms
568
- ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 316ms
569
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 10ms
565
+ ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 39ms
566
+ ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 21ms
567
+ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 12ms
568
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2449ms
569
+ should export Durable Object class for Cloudflare Workers binding 327ms
570
+ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 15ms
571
+ test-cloudflare/tests/delegation.test.ts (12 tests) 6ms
572
+ ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 24ms
573
+ src/__tests__/helpers/rename.test.ts (6 tests) 250ms
574
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
575
+ ✓ src/__tests__/effects/index.test.ts (5 tests) 4ms
576
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 6ms
570
577
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
571
578
  [RemoteConfig] Neither projectId nor agentDid provided
572
579
 
573
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 5ms
574
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
575
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 7ms
576
- ✓ src/__tests__/effects/index.test.ts (5 tests) 4ms
580
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 7ms
577
581
 
578
582
  Test Files 34 passed (34)
579
583
  Tests 501 passed | 3 skipped (504)
580
- Start at 22:35:51
581
- Duration 4.75s (transform 8.94s, setup 0ms, import 19.75s, tests 12.13s, environment 2ms)
584
+ Start at 11:45:43
585
+ Duration 4.90s (transform 9.30s, setup 0ms, import 16.03s, tests 13.69s, environment 2ms)
582
586
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "type": "module",
6
6
  "main": "./dist/helpers/index.js",
@@ -34,9 +34,9 @@
34
34
  "dependencies": {
35
35
  "@kya-os/cli": "^1.5.2",
36
36
  "@kya-os/cli-effects": "^1.0.19",
37
- "@kya-os/contracts": "^1.7.6",
37
+ "@kya-os/contracts": "^1.7.7",
38
38
  "@kya-os/mcp-i": "^1.7.3",
39
- "@kya-os/mcp-i-cloudflare": "^1.7.5",
39
+ "@kya-os/mcp-i-cloudflare": "^1.7.6",
40
40
  "base-x": "^5.0.0",
41
41
  "chalk": "^4.1.2",
42
42
  "commander": "^12.1.0",