@kya-os/create-mcpi-app 1.8.26 β†’ 1.8.28

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.8.26 build /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.28 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,121 +1,476 @@
1
1
 
2
2
  
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
3
+ > @kya-os/create-mcpi-app@1.8.23 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
4
  > vitest run --coverage
5
5
 
6
6
  [?25l
7
-  RUN  v4.0.5 /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
7
+  RUN  v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
8
8
  Coverage enabled with v8
9
9
 
10
10
  [?2026h
11
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
11
+  ❯ src/__tests__/cli-runner.test.ts [queued]
12
12
 
13
-  Test Files 0 passed (13)
13
+  Test Files 0 passed (27)
14
14
   Tests 0 passed (0)
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]
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]
22
22
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
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]
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
26
28
   ❯ src/__tests__/helpers/validate-project-structure.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
29
+  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
32
30
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
33
-  ❯ test-cloudflare/tests/session-management.test.ts 0/17
34
31
 
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
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...
44
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
45
134
 
135
+ ============================================================
136
+ πŸŽ‰ Cloudflare MCP-I project created successfully!
137
+ ============================================================
46
138
 
139
+ πŸ“ Important Configuration Notes:
47
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
48
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...
49
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...
50
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
51
215
 
216
+ ============================================================
217
+ πŸŽ‰ Cloudflare MCP-I project created successfully!
218
+ ============================================================
52
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
+
251
+
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
+
259
+ 2. Start development server:
260
+ npm run dev
261
+
262
+ 3. Deploy when ready:
263
+ npm run start
264
+
265
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
266
+ 
267
+ create-mcpi-app@1.8.23
268
+
269
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
270
+ BANNER
271
+
272
+ Enhanced with identity features by MCP-I
273
+
274
+
275
+
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
53
300
   ❯ 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
54
303
   ❯ 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
55
321
 
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
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
62
340
 
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
63
352
 
64
353
 
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
+
65
358
 
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
66
365
 
366
+ 2. Start development server:
367
+ pnpm dev
67
368
 
369
+ 3. Deploy when ready:
370
+ pnpm start
68
371
 
69
372
 
373
+  ❯ src/__tests__/cli-runner.test.ts 0/4
70
374
   ❯ 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
71
400
   ❯ 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
72
416
 
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
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
78
421
  
79
422
  πŸ“¦ Installing dependencies with npm...
80
423
  βœ“ Lockfile created (package-lock.json) - remember to commit it
81
424
 
425
+ βœ“ src/__tests__/helpers/create.test.ts (13 tests) 149ms
82
426
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
83
427
  
84
428
  πŸ“¦ Installing dependencies with yarn...
85
429
  βœ“ Lockfile created (yarn.lock) - remember to commit it
86
430
 
431
+ βœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 38ms
87
432
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
88
433
  
89
434
  πŸ“¦ Installing dependencies with pnpm...
90
435
  βœ“ Lockfile created (pnpm-lock.yaml) - remember to commit it
91
436
 
92
- βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
93
437
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
94
438
  
95
439
  πŸ“¦ Installing dependencies with npm...
96
440
  βœ“ Lockfile created (package-lock.json) - remember to commit it
97
441
 
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
102
442
 
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
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
108
457
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
109
458
 
110
459
 
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
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
119
474
  
120
475
  πŸ“¦ Installing dependencies with npm...
121
476
  βœ“ Lockfile created (package-lock.json) - remember to commit it
@@ -125,127 +480,224 @@
125
480
  πŸ“¦ Installing dependencies with npm...
126
481
 
127
482
 
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
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
136
497
  Failed to install dependencies with npm.
137
498
 
138
499
 
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
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
147
515
  
148
516
  πŸ“¦ Installing dependencies with npm...
149
517
 
150
518
 
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
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
159
533
  Failed to install dependencies with npm.
160
534
 
161
535
 
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
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
170
550
  
171
551
  πŸ“¦ Installing dependencies with npm...
172
552
 
173
553
 
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
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
182
568
  Failed to install dependencies with npm.
183
569
 
184
570
 
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
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
193
585
  
194
586
  πŸ“¦ Installing dependencies with npm...
195
587
 
588
+ βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
196
589
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
197
590
  
198
591
  πŸ“¦ Installing dependencies with unknown...
199
592
 
200
593
 
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
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
209
608
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
210
609
 
211
610
 
212
-  ❯ src/__tests__/cloudflare-template.test.ts 1/30
213
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
214
-
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
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
221
625
  
222
626
  πŸ“¦ Installing dependencies with npm...
223
627
 
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
628
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
629
+ 
630
+ πŸ“¦ Installing dependencies with custom...
227
631
 
228
-  ❯ src/__tests__/cloudflare-template.test.ts 1/30
229
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
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
680
+
681
+
682
+  ❯ src/__tests__/cloudflare-template.test.ts 12/30
230
683
 
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
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
237
689
 
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)
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)
242
694
 
243
695
   % Coverage report from v8
244
696
 
245
697
  =============================== Coverage summary ===============================
246
- Statements : 26.5% ( 216/815 )
247
- Branches : 24.63% ( 102/414 )
248
- Functions : 32.14% ( 18/56 )
249
- Lines : 26.69% ( 216/809 )
698
+ Statements : 74.72% ( 618/827 )
699
+ Branches : 72.38% ( 312/431 )
700
+ Functions : 78.68% ( 48/61 )
701
+ Lines : 75.03% ( 616/821 )
250
702
  ================================================================================
251
703
  [?25h
@@ -1,27 +1,15 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.19 test /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.28 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
- RUN v4.0.5 /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
6
+ RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
9
- βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
10
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
11
- [Session] Created session: secure-session
12
-
13
- βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 6ms
14
- βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
15
- βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
16
8
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
17
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
18
- [RemoteConfig] Neither projectId nor agentDid provided
19
-
20
9
 
21
10
  πŸ“¦ Installing dependencies with npm...
22
11
  βœ“ Lockfile created (package-lock.json) - remember to commit it
23
12
 
24
- βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
25
13
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
26
14
 
27
15
  πŸ“¦ Installing dependencies with yarn...
@@ -52,45 +40,48 @@ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > shou
52
40
  stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
53
41
  Failed to install dependencies with npm.
54
42
 
55
- βœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 62ms
56
43
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
57
44
 
58
45
  πŸ“¦ Installing dependencies with npm...
59
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
60
46
 
47
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
61
48
  Failed to install dependencies with npm.
62
49
 
63
50
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
64
51
 
65
52
  πŸ“¦ Installing dependencies with npm...
66
53
 
67
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
68
-
69
- πŸ“¦ Installing dependencies with npm...
70
-
71
54
  stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
72
55
  Failed to install dependencies with npm.
73
56
 
74
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
57
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
58
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
75
59
 
76
- πŸ“¦ Installing dependencies with unknown...
60
+ πŸ“¦ Installing dependencies with npm...
77
61
 
78
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
62
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
79
63
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
80
64
 
81
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
82
65
 
83
- πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
66
+ πŸ“¦ Installing dependencies with unknown...
84
67
 
85
68
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
86
69
 
87
70
  πŸ“¦ Installing dependencies with npm...
88
71
 
89
- βœ“ src/__tests__/helpers/install.test.ts (20 tests) 29ms
72
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
73
+
74
+ πŸ“¦ Installing dependencies with custom...
75
+
76
+ βœ“ src/__tests__/helpers/install.test.ts (21 tests) 70ms
77
+ βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 64ms
78
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
79
+
80
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
81
+
90
82
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
91
83
  πŸ”‘ Generating cryptographic identity...
92
84
 
93
- βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 43ms
94
85
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
95
86
  βœ” Created Cloudflare MCP-I template files
96
87
  - Generated identity keys in .dev.vars
@@ -171,6 +162,8 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
171
162
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
172
163
  πŸ”‘ Generating cryptographic identity...
173
164
 
165
+ βœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 53ms
166
+ βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 111ms
174
167
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
175
168
  βœ” Created Cloudflare MCP-I template files
176
169
  - Generated identity keys in .dev.vars
@@ -208,33 +201,10 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
208
201
 
209
202
  πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
210
203
 
204
+ βœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 32ms
211
205
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
212
206
  πŸ”‘ Generating cryptographic identity...
213
207
 
214
- ❯ src/__tests__/helpers/validate-project-structure.test.ts (23 tests | 1 failed) 52ms
215
- Γ— should validate identity-enabled project structure correctly 3ms
216
- βœ“ should validate vanilla project structure correctly 7ms
217
- βœ“ should detect missing package.json 1ms
218
- βœ“ should detect incorrect script count for identity project 1ms
219
- βœ“ should detect incorrect script count for vanilla project 2ms
220
- βœ“ should detect missing required scripts 1ms
221
- βœ“ should detect missing greet.ts file 4ms
222
- βœ“ should detect missing .gitignore file 2ms
223
- βœ“ should detect missing xmcp.config.ts file 2ms
224
- βœ“ should validate all required files exist 3ms
225
- βœ“ should handle package.json without scripts 1ms
226
- βœ“ should handle package.json with empty scripts 1ms
227
- βœ“ should validate correct number of scripts 3ms
228
- βœ“ should provide clear error messages for missing scripts 2ms
229
- βœ“ should provide clear error messages for missing files 1ms
230
- βœ“ should include file path in error messages 2ms
231
- βœ“ should require .mcpi/ in .gitignore for identity projects 4ms
232
- βœ“ should not require .mcpi/ in .gitignore for vanilla projects 3ms
233
- βœ“ should detect npm lockfile 2ms
234
- βœ“ should detect yarn lockfile 1ms
235
- βœ“ should detect pnpm lockfile 1ms
236
- βœ“ should warn when lockfile not found 1ms
237
- βœ“ should handle unknown package manager 1ms
238
208
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
239
209
  βœ” Created Cloudflare MCP-I template files
240
210
  - Generated identity keys in .dev.vars
@@ -268,30 +238,133 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
268
238
  npm run deploy # Deploy to Cloudflare
269
239
 
270
240
 
271
- βœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 40ms
272
- βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 49ms
273
- βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 141ms
274
- βœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 182ms
241
+ βœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 88ms
242
+ βœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 338ms
243
+ βœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 126ms
244
+ βœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 51ms
245
+ βœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 206ms
246
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
247
+
248
+ create-mcpi-app@1.8.28
249
+
250
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
251
+ BANNER
252
+
253
+ Enhanced with identity features by MCP-I
254
+
255
+
256
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
257
+
258
+ Next Steps:
259
+ 1. Install dependencies:
260
+ cd my-agent
261
+ npm install
275
262
 
276
- ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
263
+ 2. Start development server:
264
+ npm run dev
277
265
 
278
- FAIL src/__tests__/helpers/validate-project-structure.test.ts > validateProjectStructure > Project structure validation > should validate identity-enabled project structure correctly
279
- Error: ENOENT: no such file or directory, open '/Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/test-temp/validate-test-1764171409545-6a9ur9/package.json'
280
- ❯ Object.writeFileSync ../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js:78:13
281
- ❯ src/__tests__/helpers/validate-project-structure.test.ts:60:10
282
- 58| };
283
- 59|
284
- 60| fs.writeJsonSync(path.join(tempDir, 'package.json'), packageJson…
285
- | ^
286
- 61| fs.ensureDirSync(path.join(tempDir, 'src', 'tools'));
287
- 62| fs.writeFileSync(path.join(tempDir, 'src', 'tools', 'greet.ts'),…
266
+ 3. Deploy when ready:
267
+ npm run start
288
268
 
289
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
269
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
270
+
271
+ create-mcpi-app@1.8.28
272
+
273
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
274
+ Invalid project name:
275
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
276
+ BANNER
277
+
278
+ Enhanced with identity features by MCP-I
279
+
280
+ - bad
281
+
282
+
283
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
284
+
285
+ create-mcpi-app@1.8.28
286
+
287
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
288
+ BANNER
289
+
290
+ Enhanced with identity features by MCP-I
291
+
292
+
293
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
294
+
295
+ Next Steps:
296
+ 1. Install dependencies:
297
+ cd pnpm-agent
298
+ pnpm install
299
+
300
+ 2. Initialize identity:
301
+ pnpm init
302
+
303
+ 3. Start development server:
304
+ pnpm dev
305
+
306
+ 4. Deploy when ready:
307
+ pnpm start
308
+
309
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
310
+
311
+ create-mcpi-app@1.8.28
312
+
313
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
314
+ BANNER
315
+
316
+ Enhanced with identity features by MCP-I
317
+
318
+
319
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
320
+
321
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
322
+
323
+
324
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
325
+
326
+ Next Steps:
327
+ 1. Install dependencies:
328
+ cd interactive-app
329
+ pnpm install
330
+
331
+ 2. Start development server:
332
+ pnpm dev
333
+
334
+ 3. Deploy when ready:
335
+ pnpm start
336
+
337
+ βœ“ src/__tests__/cli-runner.test.ts (4 tests) 663ms
338
+ βœ“ passes CLI flags to createProject when using --yes 660ms
339
+ βœ“ src/__tests__/helpers/create.test.ts (13 tests) 75ms
340
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
341
+ [Session] Created session: secure-session
342
+
343
+ βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 25ms
344
+ βœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 38ms
345
+ βœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 263ms
346
+ βœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 41ms
347
+ βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 8ms
348
+ βœ“ src/__tests__/utils/check-node.test.ts (7 tests) 94ms
349
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
350
+ ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
351
+
352
+ βœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 34ms
353
+ βœ“ src/__tests__/helpers/rename.test.ts (6 tests) 16ms
354
+ βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
355
+ βœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 1444ms
356
+ βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
357
+ βœ“ src/__tests__/effects/index.test.ts (5 tests) 181ms
358
+ βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 1531ms
359
+ βœ“ should generate consistent template structure on multiple calls 331ms
360
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
361
+ [RemoteConfig] Neither projectId nor agentDid provided
290
362
 
363
+ βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
364
+ βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
291
365
 
292
- Test Files 1 failed | 13 passed (14)
293
- Tests 1 failed | 255 passed | 2 skipped (258)
294
- Start at 10:36:49
295
- Duration 495ms (transform 761ms, setup 0ms, collect 1.26s, tests 634ms, environment 1ms, prepare 74ms)
366
+ Test Files 27 passed (27)
367
+ Tests 398 passed | 2 skipped (400)
368
+ Start at 19:15:13
369
+ Duration 3.86s (transform 3.20s, setup 0ms, import 8.63s, tests 5.57s, environment 2ms)
296
370
 
297
-  ELIFECYCLE  Test failed. See above for more details.
@@ -80,7 +80,7 @@ export async function fetchCloudflareMcpiTemplate(targetDir, options) {
80
80
  "kv:create-tool-protection": `wrangler kv:namespace create ${projectNameUpper}_${KV_BINDING_NAMES[4]}`,
81
81
  },
82
82
  dependencies: {
83
- "@kya-os/mcp-i-cloudflare": "1.6.25",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.27",
84
84
  "@modelcontextprotocol/sdk": "1.19.1",
85
85
  agents: "0.2.21",
86
86
  hono: "4.6.3",
@@ -657,7 +657,7 @@ dist
657
657
  await runCommand(packageManager, ["install"], targetDir);
658
658
  // 13a. Verify installed version matches expected version
659
659
  console.log(chalk.blue("\nπŸ” Verifying package versions..."));
660
- const expectedVersion = "1.6.25";
660
+ const expectedVersion = "1.6.27";
661
661
  try {
662
662
  const installedPackagePath = path.join(targetDir, "node_modules", "@kya-os", "mcp-i-cloudflare", "package.json");
663
663
  if (fs.existsSync(installedPackagePath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.8.26",
3
+ "version": "1.8.28",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "bin": {
6
6
  "create-mcpi-app": "./dist/index.js"
@@ -14,11 +14,11 @@
14
14
  "prepublishOnly": "npm run build && node scripts/validate-dependencies.js && node scripts/validate-template-versions.js"
15
15
  },
16
16
  "dependencies": {
17
- "@kya-os/cli": "^1.4.3",
17
+ "@kya-os/cli": "^1.4.4",
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
- "@kya-os/contracts": "^1.6.4",
20
- "@kya-os/mcp-i": "^1.6.3",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.25",
19
+ "@kya-os/contracts": "^1.6.5",
20
+ "@kya-os/mcp-i": "^1.6.4",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.27",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",
@@ -1,45 +0,0 @@
1
-
2
- > @kya-os/create-mcpi-app@1.8.19 lint /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
3
- > eslint .
4
-
5
-
6
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/apply-identity-preset.js
7
- 109:58 error 'projectName' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
8
- 109:71 error 'transports' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
9
-
10
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/create.js
11
- 13:7 error '__dirname' is assigned a value but never used @typescript-eslint/no-unused-vars
12
- 15:10 error 'generateClaimUrl' is defined but never used @typescript-eslint/no-unused-vars
13
- 55:55 error 'transports' is assigned a value but never used @typescript-eslint/no-unused-vars
14
- 55:83 error 'useLocalXmcp' is assigned a value but never used @typescript-eslint/no-unused-vars
15
- 55:139 error 'agentName' is assigned a value but never used @typescript-eslint/no-unused-vars
16
- 55:164 error 'agentDescription' is assigned a value but never used @typescript-eslint/no-unused-vars
17
- 55:222 error 'agentRepository' is assigned a value but never used @typescript-eslint/no-unused-vars
18
- 55:266 error 'skipAnimation' is assigned a value but never used @typescript-eslint/no-unused-vars
19
- 55:289 error 'fastAnimation' is assigned a value but never used @typescript-eslint/no-unused-vars
20
- 55:347 error 'template' is assigned a value but never used @typescript-eslint/no-unused-vars
21
-
22
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/fetch-cloudflare-mcpi-template.js
23
- 742:48 error 'index' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
24
-
25
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/fetch-cloudflare-template.js
26
- 6:7 error '__dirname' is assigned a value but never used @typescript-eslint/no-unused-vars
27
-
28
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/fetch-mcpi-template.js
29
- 11:13 error 'packageManager' is assigned a value but never used @typescript-eslint/no-unused-vars
30
-
31
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/fetch-xmcp-template.js
32
- 11:50 error 'packageManager' is assigned a value but never used @typescript-eslint/no-unused-vars
33
-
34
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/generate-config.js
35
- 50:45 error 'skipIdentity' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
36
-
37
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/dist/helpers/install.js
38
- 17:54 error 'packageVersion' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
39
-
40
- /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/scripts/replace-workspace-deps.js
41
- 14:7 error '__dirname' is assigned a value but never used @typescript-eslint/no-unused-vars
42
-
43
- βœ– 19 problems (19 errors, 0 warnings)
44
-
45
-  ELIFECYCLE  Command failed with exit code 1.