@kya-os/create-mcpi-app 1.8.24 → 1.8.26

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,476 +1,121 @@
1
1
 
2
2
  
3
- > @kya-os/create-mcpi-app@1.8.23 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > @kya-os/create-mcpi-app@1.7.42-canary.68 test:coverage /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
4
4
  > vitest run --coverage
5
5
 
6
6
  [?25l
7
-  RUN  v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
+  RUN  v4.0.5 /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
8
8
  Coverage enabled with v8
9
9
 
10
10
  [?2026h
11
-  ❯ src/__tests__/cli-runner.test.ts [queued]
11
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
12
12
 
13
-  Test Files 0 passed (27)
13
+  Test Files 0 passed (13)
14
14
   Tests 0 passed (0)
15
-  Start at 17:42:21
16
-  Duration 102ms
17
- [?2026l[?2026h
18
-  src/__tests__/cli-runner.test.ts 0/4
19
-  ❯ src/__tests__/cloudflare-template.test.ts 0/30
20
-  ❯ src/__tests__/helpers/copy-template.test.ts [queued]
21
-  ❯ src/__tests__/helpers/create.test.ts [queued]
15
+  Start at 19:41:09
16
+  Duration 103ms
17
+ [?2026l[?2026hstdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
18
+ [Session] Created session: secure-session
19
+
20
+
21
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
22
22
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
23
-  ❯ src/__tests__/helpers/fetch-cloudflare-template.test.ts [queued]
24
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts [queued]
25
-  ❯ src/__tests__/helpers/fetch-xmcp-template.test.ts [queued]
26
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
27
-  ❯ src/__tests__/helpers/get-package-versions.test.ts 0/6
23
+  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
24
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
25
+  ❯ src/__tests__/helpers/install.test.ts [queued]
28
26
   ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
29
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
27
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
28
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
29
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
30
+  ❯ test-cloudflare/tests/cors-security.test.ts [queued]
31
+  ❯ test-cloudflare/tests/delegation.test.ts 1/12
30
32
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
33
+  ❯ test-cloudflare/tests/session-management.test.ts 0/17
31
34
 
32
-  Test Files 0 passed (27)
33
-  Tests 0 passed (78)
34
-  Start at 17:42:21
35
-  Duration 202ms
36
- [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 22ms
37
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 30ms
38
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
39
- 
40
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
41
-
42
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 17ms
43
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
44
- 🔑 Generating cryptographic identity...
45
-
46
-
47
-  ❯ src/__tests__/cli-runner.test.ts 0/4
48
-  ❯ src/__tests__/cloudflare-template.test.ts 1/30
49
-  ❯ src/__tests__/helpers/copy-template.test.ts 0/11
50
-  ❯ src/__tests__/helpers/create.test.ts 0/13
51
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
52
-  ❯ src/__tests__/helpers/fetch-cloudflare-template.test.ts 4/4
53
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts 0/16
54
-  ❯ src/__tests__/helpers/fetch-xmcp-template.test.ts 3/3
55
-  ❯ src/__tests__/helpers/generate-identity.test.ts 24/24
56
-  ❯ src/__tests__/helpers/get-package-versions.test.ts 6/6
57
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 23/23
58
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 4/4
59
-  ❯ test-cloudflare/tests/do-routing.test.ts 11/14
60
-
61
-  Test Files 6 passed (27)
62
-  Tests 76 passed (173)
63
-  Start at 17:42:21
64
-  Duration 304ms
65
- [?2026l[?2026hstderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
66
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
67
-
68
-
69
-  ❯ src/__tests__/cli-runner.test.ts 0/4
70
-  ❯ src/__tests__/cloudflare-template.test.ts 1/30
71
-  ❯ src/__tests__/helpers/copy-template.test.ts 0/11
72
-  ❯ src/__tests__/helpers/create.test.ts 0/13
73
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
74
-  ❯ src/__tests__/helpers/fetch-cloudflare-template.test.ts 4/4
75
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts 0/16
76
-  ❯ src/__tests__/helpers/fetch-xmcp-template.test.ts 3/3
77
-  ❯ src/__tests__/helpers/generate-identity.test.ts 24/24
78
-  ❯ src/__tests__/helpers/get-package-versions.test.ts 6/6
79
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 23/23
80
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 4/4
81
-  ❯ test-cloudflare/tests/do-routing.test.ts 11/14
82
-
83
-  Test Files 6 passed (27)
84
-  Tests 76 passed (173)
85
-  Start at 17:42:21
86
-  Duration 304ms
87
- [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
88
- ✔ Created Cloudflare MCP-I template files
89
- - Generated identity keys in .dev.vars
90
- - Configured wrangler.toml with KV namespaces
91
- - Created modular tool structure
92
- - Created setup script for KV namespace creation
93
-
94
- ============================================================
95
- 🎉 Cloudflare MCP-I project created successfully!
96
- ============================================================
97
-
98
- 📝 Important Configuration Notes:
99
-
100
- 1. ADMIN_API_KEY (in .dev.vars):
101
- - Set to same value as AGENTSHIELD_API_KEY for convenience
102
- - You can change it if you need separate admin endpoint security
103
- - Required for admin endpoints like /admin/clear-cache
104
-
105
- 2. KV Namespaces (in wrangler.toml):
106
- - Required for MCP-I security features
107
- - Auto-created by 'npm run setup' script
108
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
109
-
110
- 🚀 Next Steps:
111
- cd test-agent
112
-
113
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
114
-  wrangler login # Login to Cloudflare first!
115
- npm run setup # Create KV namespaces
116
- npm run dev # Start local development
117
- npm run deploy # Deploy to Cloudflare
118
-
119
-
120
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
121
- 
122
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
123
-
124
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
125
- 🔑 Generating cryptographic identity...
126
-
127
- ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 27ms
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
132
- - Created modular tool structure
133
- - Created setup script for KV namespace creation
134
-
135
- ============================================================
136
- 🎉 Cloudflare MCP-I project created successfully!
137
- ============================================================
138
-
139
- 📝 Important Configuration Notes:
140
-
141
- 1. ADMIN_API_KEY (in .dev.vars):
142
- - Set to same value as AGENTSHIELD_API_KEY for convenience
143
- - You can change it if you need separate admin endpoint security
144
- - Required for admin endpoints like /admin/clear-cache
145
-
146
- 2. KV Namespaces (in wrangler.toml):
147
- - Required for MCP-I security features
148
- - Auto-created by 'npm run setup' script
149
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
150
-
151
- 🚀 Next Steps:
152
- cd my-awesome-agent
153
-
154
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
155
-  wrangler login # Login to Cloudflare first!
156
- npm run setup # Create KV namespaces
157
- npm run dev # Start local development
158
- npm run deploy # Deploy to Cloudflare
159
-
160
-
161
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
162
- 
163
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
164
-
165
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
166
- 🔑 Generating cryptographic identity...
167
-
168
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
169
- ✔ Created Cloudflare MCP-I template files
170
- - Generated identity keys in .dev.vars
171
- - Configured wrangler.toml with KV namespaces
172
- - Created modular tool structure
173
- - Created setup script for KV namespace creation
174
-
175
- ============================================================
176
- 🎉 Cloudflare MCP-I project created successfully!
177
- ============================================================
178
-
179
- 📝 Important Configuration Notes:
180
-
181
- 1. ADMIN_API_KEY (in .dev.vars):
182
- - Set to same value as AGENTSHIELD_API_KEY for convenience
183
- - You can change it if you need separate admin endpoint security
184
- - Required for admin endpoints like /admin/clear-cache
185
-
186
- 2. KV Namespaces (in wrangler.toml):
187
- - Required for MCP-I security features
188
- - Auto-created by 'npm run setup' script
189
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
190
-
191
- 🚀 Next Steps:
192
- cd test-agent
193
-
194
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
195
-  wrangler login # Login to Cloudflare first!
196
- npm run setup # Create KV namespaces
197
- npm run dev # Start local development
198
- npm run deploy # Deploy to Cloudflare
199
-
200
-
201
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 66ms
202
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
203
- 
204
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
205
-
206
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
207
- 🔑 Generating cryptographic identity...
208
-
209
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
210
- ✔ Created Cloudflare MCP-I template files
211
- - Generated identity keys in .dev.vars
212
- - Configured wrangler.toml with KV namespaces
213
- - Created modular tool structure
214
- - Created setup script for KV namespace creation
215
-
216
- ============================================================
217
- 🎉 Cloudflare MCP-I project created successfully!
218
- ============================================================
219
-
220
- 📝 Important Configuration Notes:
221
-
222
- 1. ADMIN_API_KEY (in .dev.vars):
223
- - Set to same value as AGENTSHIELD_API_KEY for convenience
224
- - You can change it if you need separate admin endpoint security
225
- - Required for admin endpoints like /admin/clear-cache
226
-
227
- 2. KV Namespaces (in wrangler.toml):
228
- - Required for MCP-I security features
229
- - Auto-created by 'npm run setup' script
230
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
231
-
232
- 🚀 Next Steps:
233
- cd test-agent
234
-
235
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
236
-  wrangler login # Login to Cloudflare first!
237
- npm run setup # Create KV namespaces
238
- npm run dev # Start local development
239
- npm run deploy # Deploy to Cloudflare
240
-
241
-
242
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
243
- 
244
- create-mcpi-app@1.8.23
245
-
246
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
247
- BANNER
248
-
249
- Enhanced with identity features by MCP-I
250
-
35
+  Test Files 0 passed (13)
36
+  Tests 1 passed (61)
37
+  Start at 19:41:09
38
+  Duration 203ms
39
+ [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
40
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
41
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 16ms
42
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 6ms
43
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
251
44
 
252
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
253
- 
254
- Next Steps:
255
- 1. Install dependencies:
256
- cd my-agent
257
- npm install
258
45
 
259
- 2. Start development server:
260
- npm run dev
261
46
 
262
- 3. Deploy when ready:
263
- npm run start
264
47
 
265
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
266
- 
267
- create-mcpi-app@1.8.23
268
48
 
269
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
270
- BANNER
271
49
 
272
- Enhanced with identity features by MCP-I
273
50
 
274
51
 
275
52
 
276
-  ❯ src/__tests__/cli-runner.test.ts 0/4
277
-  ❯ src/__tests__/cloudflare-template.test.ts 1/30
278
-  ❯ src/__tests__/helpers/copy-template.test.ts 0/11
279
-  ❯ src/__tests__/helpers/create.test.ts 0/13
280
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
281
-  ❯ src/__tests__/helpers/fetch-cloudflare-template.test.ts 4/4
282
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts 0/16
283
-  ❯ src/__tests__/helpers/fetch-xmcp-template.test.ts 3/3
284
-  ❯ src/__tests__/helpers/generate-identity.test.ts 24/24
285
-  ❯ src/__tests__/helpers/get-package-versions.test.ts 6/6
286
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 23/23
287
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 4/4
288
-  ❯ test-cloudflare/tests/do-routing.test.ts 11/14
289
-
290
-  Test Files 6 passed (27)
291
-  Tests 76 passed (173)
292
-  Start at 17:42:21
293
-  Duration 304ms
294
- [?2026l[?2026hstderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
295
- Invalid project name:
296
- - bad
297
-
298
-
299
-  ❯ src/__tests__/cli-runner.test.ts 0/4
300
53
   ❯ src/__tests__/cloudflare-template.test.ts 1/30
301
-  ❯ src/__tests__/helpers/copy-template.test.ts 0/11
302
-  ❯ src/__tests__/helpers/create.test.ts 0/13
303
54
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
304
-  ❯ src/__tests__/helpers/fetch-cloudflare-template.test.ts 4/4
305
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts 0/16
306
-  ❯ src/__tests__/helpers/fetch-xmcp-template.test.ts 3/3
307
-  ❯ src/__tests__/helpers/generate-identity.test.ts 24/24
308
-  ❯ src/__tests__/helpers/get-package-versions.test.ts 6/6
309
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 23/23
310
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 4/4
311
-  ❯ test-cloudflare/tests/do-routing.test.ts 11/14
312
-
313
-  Test Files 6 passed (27)
314
-  Tests 76 passed (173)
315
-  Start at 17:42:21
316
-  Duration 304ms
317
- [?2026l[?2026h ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 70ms
318
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
319
- 
320
- create-mcpi-app@1.8.23
321
-
322
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
323
- BANNER
324
-
325
- Enhanced with identity features by MCP-I
326
-
327
-
328
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
329
- 
330
- Next Steps:
331
- 1. Install dependencies:
332
- cd pnpm-agent
333
- pnpm install
334
-
335
- 2. Initialize identity:
336
- pnpm init
337
-
338
- 3. Start development server:
339
- pnpm dev
340
55
 
341
- 4. Deploy when ready:
342
- pnpm start
343
-
344
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
345
- 
346
- create-mcpi-app@1.8.23
347
-
348
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
349
- BANNER
350
-
351
- Enhanced with identity features by MCP-I
56
+  Test Files 11 passed (13)
57
+  Tests 204 passed (254)
58
+  Start at 19:41:09
59
+  Duration 408ms
60
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
61
+ [RemoteConfig] Neither projectId nor agentDid provided
352
62
 
353
63
 
354
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
355
- 
356
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
357
64
 
358
65
 
359
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
360
- 
361
- Next Steps:
362
- 1. Install dependencies:
363
- cd interactive-app
364
- pnpm install
365
66
 
366
- 2. Start development server:
367
- pnpm dev
368
67
 
369
- 3. Deploy when ready:
370
- pnpm start
371
68
 
372
69
 
373
-  ❯ src/__tests__/cli-runner.test.ts 0/4
374
70
   ❯ src/__tests__/cloudflare-template.test.ts 1/30
375
-  ❯ src/__tests__/helpers/copy-template.test.ts 0/11
376
-  ❯ src/__tests__/helpers/create.test.ts 0/13
377
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
378
-  ❯ src/__tests__/helpers/fetch-cloudflare-template.test.ts 4/4
379
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts 0/16
380
-  ❯ src/__tests__/helpers/fetch-xmcp-template.test.ts 3/3
381
-  ❯ src/__tests__/helpers/generate-identity.test.ts 24/24
382
-  ❯ src/__tests__/helpers/get-package-versions.test.ts 6/6
383
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 23/23
384
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 4/4
385
-  ❯ test-cloudflare/tests/do-routing.test.ts 11/14
386
-
387
-  Test Files 6 passed (27)
388
-  Tests 76 passed (173)
389
-  Start at 17:42:21
390
-  Duration 304ms
391
- [?2026l[?2026h ✓ src/__tests__/cli-runner.test.ts (4 tests) 146ms
392
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 115ms
393
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 97ms
394
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 118ms
395
-
396
-  ❯ src/__tests__/cli-runner.test.ts 4/4
397
-  ❯ src/__tests__/cloudflare-template.test.ts 3/30
398
-  ❯ src/__tests__/helpers/copy-template.test.ts 11/11
399
-  ❯ src/__tests__/helpers/create.test.ts 11/13
400
71
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
401
-  ❯ src/__tests__/helpers/fetch-mcpi-template.test.ts 16/16
402
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
403
-  ❯ src/__tests__/helpers/identity-manager.test.ts [queued]
404
-  ❯ src/__tests__/helpers/install.test.ts [queued]
405
-  ❯ src/__tests__/utils/check-node.test.ts [queued]
406
-  ❯ src/__tests__/utils/is-folder-empty.test.ts [queued]
407
-  ❯ test-cloudflare/tests/do-routing.test.ts 14/14
408
-  ❯ test-cloudflare/tests/session-management.test.ts [queued]
409
-
410
-  Test Files 10 passed (27)
411
-  Tests 123 passed (173)
412
-  Start at 17:42:21
413
-  Duration 403ms
414
- [?2026l[?2026hstdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
415
- [Session] Created session: secure-session
416
72
 
417
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
418
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 31ms
419
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 12ms
420
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
73
+  Test Files 11 passed (13)
74
+  Tests 204 passed (254)
75
+  Start at 19:41:09
76
+  Duration 408ms
77
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
421
78
  
422
79
  📦 Installing dependencies with npm...
423
80
  ✓ Lockfile created (package-lock.json) - remember to commit it
424
81
 
425
- ✓ src/__tests__/helpers/create.test.ts (13 tests) 149ms
426
82
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
427
83
  
428
84
  📦 Installing dependencies with yarn...
429
85
  ✓ Lockfile created (yarn.lock) - remember to commit it
430
86
 
431
- ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 38ms
432
87
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
433
88
  
434
89
  📦 Installing dependencies with pnpm...
435
90
  ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
436
91
 
92
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
437
93
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
438
94
  
439
95
  📦 Installing dependencies with npm...
440
96
  ✓ Lockfile created (package-lock.json) - remember to commit it
441
97
 
98
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 35ms
99
+
100
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
101
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
442
102
 
443
-  src/__tests__/cloudflare-template.test.ts 7/30
444
-  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
445
-  src/__tests__/helpers/identity-manager.test.ts 16/16
446
-  ❯ src/__tests__/helpers/install.test.ts 0/21
447
-  ❯ src/__tests__/helpers/rename.test.ts 1/6
448
-  ❯ src/__tests__/utils/check-node.test.ts 7/7
449
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
450
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
451
-
452
-  Test Files 18 passed (27)
453
-  Tests 248 passed (345)
454
-  Start at 17:42:21
455
-  Duration 505ms
456
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
103
+  Test Files 11 passed (13)
104
+  Tests 204 passed (254)
105
+  Start at 19:41:09
106
+  Duration 408ms
107
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
457
108
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
458
109
 
459
110
 
460
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
461
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
462
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
463
-  src/__tests__/helpers/install.test.ts 0/21
464
-  src/__tests__/helpers/rename.test.ts 1/6
465
-  src/__tests__/utils/check-node.test.ts 7/7
466
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
467
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
468
-
469
-  Test Files 18 passed (27)
470
-  Tests 248 passed (345)
471
-  Start at 17:42:21
472
-  Duration 505ms
473
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
111
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
112
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
113
+
114
+  Test Files 11 passed (13)
115
+  Tests 204 passed (254)
116
+  Start at 19:41:09
117
+  Duration 408ms
118
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
474
119
  
475
120
  📦 Installing dependencies with npm...
476
121
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -480,224 +125,127 @@ Next Steps:
480
125
  📦 Installing dependencies with npm...
481
126
 
482
127
 
483
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
484
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
485
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
486
-  src/__tests__/helpers/install.test.ts 0/21
487
-  src/__tests__/helpers/rename.test.ts 1/6
488
-  src/__tests__/utils/check-node.test.ts 7/7
489
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
490
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
491
-
492
-  Test Files 18 passed (27)
493
-  Tests 248 passed (345)
494
-  Start at 17:42:21
495
-  Duration 505ms
496
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
128
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
129
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
130
+
131
+  Test Files 11 passed (13)
132
+  Tests 204 passed (254)
133
+  Start at 19:41:09
134
+  Duration 408ms
135
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
497
136
  Failed to install dependencies with npm.
498
137
 
499
138
 
500
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
501
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
502
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
503
-  src/__tests__/helpers/install.test.ts 0/21
504
-  src/__tests__/helpers/rename.test.ts 1/6
505
-  src/__tests__/utils/check-node.test.ts 7/7
506
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
507
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
508
-
509
-  Test Files 18 passed (27)
510
-  Tests 248 passed (345)
511
-  Start at 17:42:21
512
-  Duration 505ms
513
- [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
514
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
139
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
140
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
141
+
142
+  Test Files 11 passed (13)
143
+  Tests 204 passed (254)
144
+  Start at 19:41:09
145
+  Duration 408ms
146
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
515
147
  
516
148
  📦 Installing dependencies with npm...
517
149
 
518
150
 
519
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
520
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
521
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
522
-  src/__tests__/helpers/install.test.ts 0/21
523
-  src/__tests__/helpers/rename.test.ts 1/6
524
-  src/__tests__/utils/check-node.test.ts 7/7
525
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
526
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
527
-
528
-  Test Files 18 passed (27)
529
-  Tests 248 passed (345)
530
-  Start at 17:42:21
531
-  Duration 505ms
532
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
151
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
152
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
153
+
154
+  Test Files 11 passed (13)
155
+  Tests 204 passed (254)
156
+  Start at 19:41:09
157
+  Duration 408ms
158
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
533
159
  Failed to install dependencies with npm.
534
160
 
535
161
 
536
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
537
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
538
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
539
-  src/__tests__/helpers/install.test.ts 0/21
540
-  src/__tests__/helpers/rename.test.ts 1/6
541
-  src/__tests__/utils/check-node.test.ts 7/7
542
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
543
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
544
-
545
-  Test Files 18 passed (27)
546
-  Tests 248 passed (345)
547
-  Start at 17:42:21
548
-  Duration 505ms
549
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
162
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
163
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
164
+
165
+  Test Files 11 passed (13)
166
+  Tests 204 passed (254)
167
+  Start at 19:41:09
168
+  Duration 408ms
169
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
550
170
  
551
171
  📦 Installing dependencies with npm...
552
172
 
553
173
 
554
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
555
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
556
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
557
-  src/__tests__/helpers/install.test.ts 0/21
558
-  src/__tests__/helpers/rename.test.ts 1/6
559
-  src/__tests__/utils/check-node.test.ts 7/7
560
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
561
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
562
-
563
-  Test Files 18 passed (27)
564
-  Tests 248 passed (345)
565
-  Start at 17:42:21
566
-  Duration 505ms
567
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
174
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
175
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
176
+
177
+  Test Files 11 passed (13)
178
+  Tests 204 passed (254)
179
+  Start at 19:41:09
180
+  Duration 408ms
181
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
568
182
  Failed to install dependencies with npm.
569
183
 
570
184
 
571
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
572
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
573
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
574
-  src/__tests__/helpers/install.test.ts 0/21
575
-  src/__tests__/helpers/rename.test.ts 1/6
576
-  src/__tests__/utils/check-node.test.ts 7/7
577
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
578
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
579
-
580
-  Test Files 18 passed (27)
581
-  Tests 248 passed (345)
582
-  Start at 17:42:21
583
-  Duration 505ms
584
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
185
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
186
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
187
+
188
+  Test Files 11 passed (13)
189
+  Tests 204 passed (254)
190
+  Start at 19:41:09
191
+  Duration 408ms
192
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
585
193
  
586
194
  📦 Installing dependencies with npm...
587
195
 
588
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
589
196
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
590
197
  
591
198
  📦 Installing dependencies with unknown...
592
199
 
593
200
 
594
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
595
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
596
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
597
-  src/__tests__/helpers/install.test.ts 0/21
598
-  src/__tests__/helpers/rename.test.ts 1/6
599
-  src/__tests__/utils/check-node.test.ts 7/7
600
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
601
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
602
-
603
-  Test Files 18 passed (27)
604
-  Tests 248 passed (345)
605
-  Start at 17:42:21
606
-  Duration 505ms
607
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
201
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
202
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
203
+
204
+  Test Files 11 passed (13)
205
+  Tests 204 passed (254)
206
+  Start at 19:41:09
207
+  Duration 408ms
208
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
608
209
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
609
210
 
610
211
 
611
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
612
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
613
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
614
-  ❯ src/__tests__/helpers/install.test.ts 0/21
615
-  ❯ src/__tests__/helpers/rename.test.ts 1/6
616
-  ❯ src/__tests__/utils/check-node.test.ts 7/7
617
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
618
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
619
-
620
-  Test Files 18 passed (27)
621
-  Tests 248 passed (345)
622
-  Start at 17:42:21
623
-  Duration 505ms
624
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
625
- 
626
- 📦 Installing dependencies with npm...
212
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
213
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
627
214
 
628
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
215
+  Test Files 11 passed (13)
216
+  Tests 204 passed (254)
217
+  Start at 19:41:09
218
+  Duration 408ms
219
+ [?2026l[?2026h ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 91ms
220
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
629
221
  
630
- 📦 Installing dependencies with custom...
631
-
632
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 72ms
633
-
634
-  ❯ src/__tests__/cloudflare-template.test.ts 7/30
635
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 2/21
636
-  ❯ src/__tests__/helpers/identity-manager.test.ts 16/16
637
-  ❯ src/__tests__/helpers/install.test.ts 0/21
638
-  ❯ src/__tests__/helpers/rename.test.ts 1/6
639
-  ❯ src/__tests__/utils/check-node.test.ts 7/7
640
-  ❯ src/__tests__/utils/validate-project-name.test.ts 0/29
641
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
642
-
643
-  Test Files 18 passed (27)
644
-  Tests 248 passed (345)
645
-  Start at 17:42:21
646
-  Duration 505ms
647
- [?2026l[?2026h ✓ src/__tests__/helpers/rename.test.ts (6 tests) 12ms
648
- ✓ src/__tests__/helpers/install.test.ts (21 tests) 65ms
649
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 18ms
650
- ✓ src/__tests__/effects/index.test.ts (5 tests) 3ms
651
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
652
-
653
-
654
-
655
-
656
-
657
-
658
-  ❯ src/__tests__/cloudflare-template.test.ts 12/30
659
-
660
-  Test Files 26 passed (27)
661
-  Tests 382 passed (400)
662
-  Start at 17:42:21
663
-  Duration 605ms
664
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
665
- [RemoteConfig] Neither projectId nor agentDid provided
666
-
667
-
668
-
669
-
670
-
671
-  ❯ src/__tests__/cloudflare-template.test.ts 12/30
672
-
673
-  Test Files 26 passed (27)
674
-  Tests 382 passed (400)
675
-  Start at 17:42:21
676
-  Duration 605ms
677
- [?2026l[?2026h ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
678
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
679
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 389ms
222
+ 📦 Installing dependencies with npm...
680
223
 
224
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 43ms
225
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 35ms
226
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 49ms
681
227
 
682
-  ❯ src/__tests__/cloudflare-template.test.ts 12/30
228
+  ❯ src/__tests__/cloudflare-template.test.ts 1/30
229
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
683
230
 
684
-  Test Files 26 passed (27)
685
-  Tests 382 passed (400)
686
-  Start at 17:42:21
687
-  Duration 605ms
688
- [?2026l ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 412ms
231
+  Test Files 11 passed (13)
232
+  Tests 204 passed (254)
233
+  Start at 19:41:09
234
+  Duration 408ms
235
+ [?2026l ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 142ms
236
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 164ms
689
237
 
690
-  Test Files  27 passed (27)
691
-  Tests  398 passed | 2 skipped (400)
692
-  Start at  17:42:21
693
-  Duration  754ms (transform 952ms, setup 0ms, import 1.92s, tests 1.94s, environment 2ms)
238
+  Test Files  13 passed (13)
239
+  Tests  252 passed | 2 skipped (254)
240
+  Start at  19:41:09
241
+  Duration  586ms (transform 666ms, setup 0ms, collect 1.18s, tests 598ms, environment 1ms, prepare 390ms)
694
242
 
695
243
   % Coverage report from v8
696
244
 
697
245
  =============================== Coverage summary ===============================
698
- Statements : 74.72% ( 618/827 )
699
- Branches : 72.38% ( 312/431 )
700
- Functions : 78.68% ( 48/61 )
701
- Lines : 75.03% ( 616/821 )
246
+ Statements : 26.5% ( 216/815 )
247
+ Branches : 24.63% ( 102/414 )
248
+ Functions : 32.14% ( 18/56 )
249
+ Lines : 26.69% ( 216/809 )
702
250
  ================================================================================
703
251
  [?25h