@kya-os/create-mcpi-app 1.8.47 → 1.8.48

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,10 +1,12 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.46 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.47 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__/index.test.ts (4 tests) 769ms
9
+ ✓ should load .env from package directory and current working directory  648ms
8
10
  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
9
11
  
10
12
  🏗️ Generating Cloudflare MCP-I project: test-project...
@@ -12,7 +14,14 @@
12
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
13
15
  🔑 Generating cryptographic identity...
14
16
 
15
- 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
17
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
18
+ 
19
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
20
+
21
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
22
+ 🔑 Generating cryptographic identity...
23
+
24
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
16
25
  ✔ Created Cloudflare MCP-I template files
17
26
  - Generated identity keys in .dev.vars
18
27
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -35,20 +44,13 @@
35
44
  - Wrangler updates wrangler.toml with namespace IDs
36
45
 
37
46
  🚀 Next Steps:
38
- cd test-project
47
+ cd test-agent
39
48
  wrangler login # Login to Cloudflare first!
40
49
  npm run dev # Start local development
41
50
  npm run deploy # Deploy (KV auto-created!)
42
51
 
43
52
 
44
- 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
45
- 
46
- 🏗️ Generating Cloudflare MCP-I project: test-project-env...
47
-
48
- 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
49
- 🔑 Generating cryptographic identity...
50
-
51
- 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
53
+ 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
52
54
  ✔ Created Cloudflare MCP-I template files
53
55
  - Generated identity keys in .dev.vars
54
56
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -71,20 +73,121 @@
71
73
  - Wrangler updates wrangler.toml with namespace IDs
72
74
 
73
75
  🚀 Next Steps:
74
- cd test-project-env
76
+ cd test-project
75
77
  wrangler login # Login to Cloudflare first!
76
78
  npm run dev # Start local development
77
79
  npm run deploy # Deploy (KV auto-created!)
78
80
 
79
81
 
80
- 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
82
+ ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (24 tests | 1 skipped) 383ms
83
+ ✓ should generate files that can be written to disk  343ms
84
+ ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 305ms
85
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
81
86
  
82
- 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
87
+ create-mcpi-app@1.8.47
83
88
 
84
- 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
89
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
90
+ BANNER
91
+
92
+ Enhanced with identity features by MCP-I
93
+
94
+
95
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
96
+ 
97
+ Next Steps:
98
+ 1. Install dependencies:
99
+ cd my-agent
100
+ npm install
101
+
102
+ 2. Start development server:
103
+ npm run dev
104
+
105
+ 3. Deploy when ready:
106
+ npm run start
107
+
108
+ 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
109
+ 
110
+ 🏗️ Generating Cloudflare MCP-I project: test-project-env...
111
+
112
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
113
+ 
114
+ create-mcpi-app@1.8.47
115
+
116
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
117
+ Invalid project name:
118
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
119
+ BANNER
120
+ - bad
121
+
122
+ Enhanced with identity features by MCP-I
123
+
124
+
125
+
126
+ 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
85
127
  🔑 Generating cryptographic identity...
86
128
 
87
- 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
129
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
130
+ 
131
+ create-mcpi-app@1.8.47
132
+
133
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
134
+ BANNER
135
+
136
+ Enhanced with identity features by MCP-I
137
+
138
+
139
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
140
+ 
141
+ Next Steps:
142
+ 1. Install dependencies:
143
+ cd pnpm-agent
144
+ pnpm install
145
+
146
+ 2. Initialize identity:
147
+ pnpm init
148
+
149
+ 3. Start development server:
150
+ pnpm dev
151
+
152
+ 4. Deploy when ready:
153
+ pnpm start
154
+
155
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
156
+ 
157
+ create-mcpi-app@1.8.47
158
+
159
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
160
+ BANNER
161
+
162
+ Enhanced with identity features by MCP-I
163
+
164
+
165
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
166
+ 
167
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
168
+
169
+
170
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
171
+ 
172
+ Next Steps:
173
+ 1. Install dependencies:
174
+ cd interactive-app
175
+ pnpm install
176
+
177
+ 2. Start development server:
178
+ pnpm dev
179
+
180
+ 3. Deploy when ready:
181
+ pnpm start
182
+
183
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
184
+ 
185
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
186
+
187
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
188
+ 🔑 Generating cryptographic identity...
189
+
190
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
88
191
  ✔ Created Cloudflare MCP-I template files
89
192
  - Generated identity keys in .dev.vars
90
193
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -107,20 +210,20 @@
107
210
  - Wrangler updates wrangler.toml with namespace IDs
108
211
 
109
212
  🚀 Next Steps:
110
- cd test-project-with-id
213
+ cd my-awesome-agent
111
214
  wrangler login # Login to Cloudflare first!
112
215
  npm run dev # Start local development
113
216
  npm run deploy # Deploy (KV auto-created!)
114
217
 
115
218
 
116
- 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
219
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
117
220
  
118
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
221
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
119
222
 
120
- 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
223
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
121
224
  🔑 Generating cryptographic identity...
122
225
 
123
- 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
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
124
227
  ✔ Created Cloudflare MCP-I template files
125
228
  - Generated identity keys in .dev.vars
126
229
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -143,20 +246,20 @@
143
246
  - Wrangler updates wrangler.toml with namespace IDs
144
247
 
145
248
  🚀 Next Steps:
146
- cd test-project-no-id
249
+ cd test-project-env
147
250
  wrangler login # Login to Cloudflare first!
148
251
  npm run dev # Start local development
149
252
  npm run deploy # Deploy (KV auto-created!)
150
253
 
151
254
 
152
- 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
255
+ 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
153
256
  
154
- 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
257
+ 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
155
258
 
156
- 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
+ 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
157
260
  🔑 Generating cryptographic identity...
158
261
 
159
- 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
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
160
263
  ✔ Created Cloudflare MCP-I template files
161
264
  - Generated identity keys in .dev.vars
162
265
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -179,20 +282,28 @@
179
282
  - Wrangler updates wrangler.toml with namespace IDs
180
283
 
181
284
  🚀 Next Steps:
182
- cd test-project-runtime
285
+ cd test-project-with-id
183
286
  wrangler login # Login to Cloudflare first!
184
287
  npm run dev # Start local development
185
288
  npm run deploy # Deploy (KV auto-created!)
186
289
 
187
290
 
188
- 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
291
+ 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
189
292
  
190
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
293
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
191
294
 
192
- 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
+ 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
193
296
  🔑 Generating cryptographic identity...
194
297
 
195
- 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
298
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 1343ms
299
+ ✓ should route to different instances for different sessions  587ms
300
+ ✓ session routing should have O(1) complexity  363ms
301
+ ✓ src/__tests__/cli-runner.test.ts (4 tests) 1711ms
302
+ ✓ passes CLI flags to createProject when using --yes  1685ms
303
+ ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 871ms
304
+ ✓ should use default version from getPackageVersions when not provided  304ms
305
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 522ms
306
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
196
307
  ✔ Created Cloudflare MCP-I template files
197
308
  - Generated identity keys in .dev.vars
198
309
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -215,27 +326,20 @@
215
326
  - Wrangler updates wrangler.toml with namespace IDs
216
327
 
217
328
  🚀 Next Steps:
218
- cd test-project-no-workspace
329
+ cd test-agent
219
330
  wrangler login # Login to Cloudflare first!
220
331
  npm run dev # Start local development
221
332
  npm run deploy # Deploy (KV auto-created!)
222
333
 
223
334
 
224
- ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 90ms
225
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 223ms
226
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 88ms
227
- ✓ src/__tests__/index.test.ts (4 tests) 88ms
228
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
335
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
229
336
  
230
337
  🏗️ Generating Cloudflare MCP-I project: test-agent...
231
338
 
232
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
339
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
233
340
  🔑 Generating cryptographic identity...
234
341
 
235
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 162ms
236
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 371ms
237
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 151ms
238
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
342
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
239
343
  ✔ Created Cloudflare MCP-I template files
240
344
  - Generated identity keys in .dev.vars
241
345
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -264,17 +368,10 @@
264
368
  npm run deploy # Deploy (KV auto-created!)
265
369
 
266
370
 
267
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
268
- 
269
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
270
-
271
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
272
- 🔑 Generating cryptographic identity...
273
-
274
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 38ms
275
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 162ms
276
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 9ms
277
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
371
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 1127ms
372
+ ✓ should include envPrefix in generated index.ts  421ms
373
+ ✓ should include comment explaining envPrefix purpose  621ms
374
+ 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
278
375
  ✔ Created Cloudflare MCP-I template files
279
376
  - Generated identity keys in .dev.vars
280
377
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -297,21 +394,20 @@
297
394
  - Wrangler updates wrangler.toml with namespace IDs
298
395
 
299
396
  🚀 Next Steps:
300
- cd my-awesome-agent
397
+ cd test-project-no-id
301
398
  wrangler login # Login to Cloudflare first!
302
399
  npm run dev # Start local development
303
400
  npm run deploy # Deploy (KV auto-created!)
304
401
 
305
402
 
306
- ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 12ms
307
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
403
+ 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
308
404
  
309
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
405
+ 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
310
406
 
311
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
407
+ 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
312
408
  🔑 Generating cryptographic identity...
313
409
 
314
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
410
+ 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
315
411
  ✔ Created Cloudflare MCP-I template files
316
412
  - Generated identity keys in .dev.vars
317
413
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -334,22 +430,20 @@
334
430
  - Wrangler updates wrangler.toml with namespace IDs
335
431
 
336
432
  🚀 Next Steps:
337
- cd test-agent
433
+ cd test-project-runtime
338
434
  wrangler login # Login to Cloudflare first!
339
435
  npm run dev # Start local development
340
436
  npm run deploy # Deploy (KV auto-created!)
341
437
 
342
438
 
343
- ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 328ms
344
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
439
+ 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
345
440
  
346
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
441
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
347
442
 
348
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 188ms
349
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
443
+ 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
350
444
  🔑 Generating cryptographic identity...
351
445
 
352
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
446
+ 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
353
447
  ✔ Created Cloudflare MCP-I template files
354
448
  - Generated identity keys in .dev.vars
355
449
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
@@ -372,158 +466,97 @@
372
466
  - Wrangler updates wrangler.toml with namespace IDs
373
467
 
374
468
  🚀 Next Steps:
375
- cd test-agent
469
+ cd test-project-no-workspace
376
470
  wrangler login # Login to Cloudflare first!
377
471
  npm run dev # Start local development
378
472
  npm run deploy # Deploy (KV auto-created!)
379
473
 
380
474
 
381
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 764ms
382
- ✓ should include envPrefix in generated index.ts  355ms
383
- ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 257ms
384
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 33ms
385
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 256ms
386
- ✓ src/__tests__/helpers/create.test.ts (13 tests) 568ms
387
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
388
- 
389
- create-mcpi-app@1.8.46
390
-
391
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
392
- BANNER
393
-
394
- Enhanced with identity features by MCP-I
395
-
396
-
397
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
398
- 
399
- Next Steps:
400
- 1. Install dependencies:
401
- cd my-agent
402
- npm install
403
-
404
- 2. Start development server:
405
- npm run dev
406
-
407
- 3. Deploy when ready:
408
- npm run start
409
-
410
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
411
- 
412
- create-mcpi-app@1.8.46
413
-
414
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
415
- BANNER
416
-
417
- Enhanced with identity features by MCP-I
418
-
419
-
420
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
421
- Invalid project name:
422
- - bad
423
-
424
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
425
- 
426
- create-mcpi-app@1.8.46
427
-
428
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
429
- BANNER
430
-
431
- Enhanced with identity features by MCP-I
432
-
433
-
434
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
435
- 
436
- Next Steps:
437
- 1. Install dependencies:
438
- cd pnpm-agent
439
- pnpm install
440
-
441
- 2. Initialize identity:
442
- pnpm init
443
-
444
- 3. Start development server:
445
- pnpm dev
446
-
447
- 4. Deploy when ready:
448
- pnpm start
449
-
450
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
451
- 
452
- create-mcpi-app@1.8.46
453
-
454
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
455
- BANNER
456
-
457
- Enhanced with identity features by MCP-I
458
-
459
-
460
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
461
- 
462
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
463
-
464
-
465
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
466
- 
467
- Next Steps:
468
- 1. Install dependencies:
469
- cd interactive-app
470
- pnpm install
471
-
472
- 2. Start development server:
473
- pnpm dev
474
-
475
- 3. Deploy when ready:
476
- pnpm start
477
-
478
- ✓ src/__tests__/cli-runner.test.ts (4 tests) 71ms
479
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 56ms
480
- ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (24 tests | 1 skipped) 357ms
475
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 1219ms
476
+ ✓ should scaffold with correct @kya-os/mcp-i-cloudflare version  401ms
477
+ ✓ should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided  595ms
478
+ ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 1778ms
479
+ ✓ should enhance existing tools when tools directory exists with files  336ms
480
+ ✓ should not duplicate hello export in index.ts  411ms
481
+ ✓ should append to existing .gitignore without duplicates  519ms
482
+ ✓ src/__tests__/helpers/create.test.ts (13 tests) 3235ms
483
+ ✓ should create Cloudflare MCP-I project  453ms
484
+ ✓ should pass apikey to Cloudflare template  1284ms
485
+ ✓ should pass projectId to Cloudflare template  476ms
486
+ ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 1099ms
487
+ ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 56ms
488
+ ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 2167ms
489
+ ✓ should copy files from source to target  1035ms
490
+ ✓ should copy directories recursively  315ms
491
+ ✓ should not copy .DS_Store  526ms
492
+ ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 5606ms
493
+ ✓ should use Wrangler v4.x in package.json  1315ms
494
+ ✓ should use modern compatibility_flags in wrangler.toml (not deprecated node_compat)  655ms
495
+ ✓ should use updated @cloudflare/workers-types  337ms
496
+ ✓ should use compatible @cloudflare/vitest-pool-workers version  415ms
497
+ ✓ should use a valid compatibility_date (not a future date)  1350ms
498
+ ✓ should include all required scripts for Wrangler v4  377ms
499
+ ✓ should use a valid compatibility_date (not a future date)  390ms
500
+ ✓ MCPI template should not use any deprecated Wrangler v3 features  318ms
481
501
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
482
502
  
483
503
  📦 Installing dependencies with npm...
484
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
485
504
  ✓ Lockfile created (package-lock.json) - remember to commit it
486
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
487
505
 
488
-
489
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
490
- Failed to install dependencies with npm.
491
506
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
492
507
  
493
-
494
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
495
508
  📦 Installing dependencies with yarn...
496
509
  ✓ Lockfile created (yarn.lock) - remember to commit it
497
510
 
498
511
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
499
512
  
500
- Failed to install dependencies with npm.
501
513
  📦 Installing dependencies with pnpm...
502
514
  ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
503
515
 
516
+ ✓ src/__tests__/utils/check-node.test.ts (7 tests) 785ms
517
+ ✓ should not exit for Node.js 20.x  775ms
518
+ ✓ src/__tests__/helpers/rename.test.ts (6 tests) 596ms
519
+ ✓ should handle _gitignore with special characters  456ms
520
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 1612ms
521
+ ✓ should generate a valid identity  402ms
522
+ ✓ should generate keys in correct format  515ms
523
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 1872ms
524
+ ✓ should create valid TypeScript config file  325ms
504
525
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
505
-
506
526
  
507
527
  📦 Installing dependencies with npm...
508
528
  ✓ Lockfile created (package-lock.json) - remember to commit it
509
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
510
529
 
530
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
531
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
532
+
533
+ ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 24ms
511
534
  stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
512
- Failed to install dependencies with npm.
513
535
  
514
536
  📦 Installing dependencies with npm...
515
-
537
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
516
538
  ✓ Lockfile created (package-lock.json) - remember to commit it
517
539
 
540
+ Failed to install dependencies with npm.
541
+
542
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
518
543
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
519
544
  
545
+ Failed to install dependencies with npm.
546
+
520
547
  📦 Installing dependencies with npm...
521
548
 
549
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
522
550
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
523
551
  
524
552
  📦 Installing dependencies with npm...
553
+ Failed to install dependencies with npm.
554
+
525
555
 
556
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
557
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
526
558
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
559
+
527
560
  
528
561
  📦 Installing dependencies with npm...
529
562
 
@@ -531,45 +564,82 @@ Next Steps:
531
564
  
532
565
  📦 Installing dependencies with npm...
533
566
 
534
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 8ms
535
- ✓ src/__tests__/helpers/rename.test.ts (6 tests) 8ms
536
567
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
537
568
  
538
569
  📦 Installing dependencies with unknown...
539
570
 
540
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
541
571
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
542
572
  
543
573
  📦 Installing dependencies with npm...
544
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
545
574
 
546
575
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
547
576
  
548
577
  📦 Installing dependencies with custom...
549
578
 
550
-
551
- ✓ src/__tests__/helpers/install.test.ts (21 tests) 142ms
552
- ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 712ms
553
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 152ms
579
+ ✓ src/__tests__/helpers/install.test.ts (21 tests) 1033ms
580
+ ✓ should use correct working directory  536ms
581
+ ✓ should report correct package manager in log  351ms
554
582
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
555
583
  [Session] Created session: secure-session
556
584
 
557
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 15ms
558
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
559
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 92ms
585
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 877ms
586
+ ✓ should not expose session data in logs  574ms
560
587
  stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
561
588
  ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
562
589
 
563
- ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 33ms
564
- ✓ src/__tests__/effects/index.test.ts (5 tests) 4ms
590
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 10878ms
591
+ ✓ should create all required files and directories  309ms
592
+ ✓ should create index.ts with correct structure  398ms
593
+ ✓ should export Durable Object class for Cloudflare Workers binding  432ms
594
+ ✓ should include MCP_SERVER_URL placeholder in wrangler.toml  726ms
595
+ ✓ should handle MCP_SERVER_URL configuration  851ms
596
+ ✓ should use simplified agent class structure  667ms
597
+ ✓ should include all required KV namespace bindings in wrangler.toml  448ms
598
+ ✓ should not include setup script (Wrangler v4 auto-provisions)  1800ms
599
+ ✓ should include simplified runtime configuration  604ms
600
+ ✓ should include correct imports in runtime config  456ms
601
+ ✓ should conditionally enable tool protection KV when API key provided  1031ms
602
+ ✓ should comment out tool protection KV when no API key provided  743ms
603
+ ✓ should skip identity generation when skipIdentity is true  366ms
604
+ ✓ should include identity variables in wrangler.toml  609ms
605
+ ✓ should create correct package.json structure  381ms
606
+ ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 708ms
607
+ ✓ creates minimal XMCP template structure  306ms
608
+ ✓ falls back to default when next channel is unavailable  368ms
609
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 10991ms
610
+ ✓ should use default project name from path when not provided  302ms
611
+ ✓ should handle different package managers  572ms
612
+ ✓ should handle template generation without overwriting existing files incorrectly  576ms
613
+ ✓ should handle special characters in project name  999ms
614
+ ✓ should handle numeric project names  454ms
615
+ ✓ should handle project names with only special characters  379ms
616
+ ✓ should handle project names with only dots  391ms
617
+ ✓ should transform KV namespace bindings correctly  975ms
618
+ ✓ should transform package.json scripts correctly  768ms
619
+ ✓ should transform index.ts class name correctly  589ms
620
+ ✓ should include API key in .dev.vars when provided  538ms
621
+ ✓ should handle missing API key gracefully  716ms
622
+ ✓ should skip identity generation when skipIdentity is true  502ms
623
+ ✓ should generate identity when skipIdentity is false  654ms
624
+ ✓ should comment out KTA_REGISTRATION when registration is not performed  392ms
625
+ ✓ should include valid JSON in KTA_REGISTRATION when registered  742ms
626
+ ✓ should handle claimUrl with single quotes in KTA_REGISTRATION  375ms
627
+ ✓ should comment out KTA_REGISTRATION when registration fails  518ms
628
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 9ms
629
+ ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 318ms
630
+ ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 46ms
631
+ ✓ src/__tests__/effects/index.test.ts (5 tests) 7ms
632
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 13ms
633
+ ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 512ms
565
634
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
566
635
  [RemoteConfig] Neither projectId nor agentDid provided
567
636
 
568
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
569
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
637
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 8ms
638
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 12ms
639
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 8ms
570
640
 
571
-  Test Files  33 passed (33)
572
-  Tests  487 passed | 3 skipped (490)
573
-  Start at  22:10:16
574
-  Duration  3.95s (transform 3.69s, setup 0ms, import 10.26s, tests 5.45s, environment 2ms)
641
+  Test Files  34 passed (34)
642
+  Tests  499 passed | 3 skipped (502)
643
+  Start at  20:26:07
644
+  Duration  16.75s (transform 26.12s, setup 0ms, import 50.83s, tests 52.50s, environment 7ms)
575
645