@kya-os/create-mcpi-app 1.7.39-canary.24 β†’ 1.7.39-canary.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,496 +1,216 @@
1
-
2
- 
3
- > @kya-os/create-mcpi-app@1.7.39-canary.16 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
- > vitest --run --coverage
5
-
6
- [?25lβ–² [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
7
-
8
- package.json:15:6:
9
-  15 β”‚ "types": "./dist/index.d.ts"
10
- β•΅ ~~~~~~~
11
-
12
- The "import" condition comes earlier and will be used for all "import" statements:
13
-
14
- package.json:13:6:
15
-  13 β”‚ "import": "./dist/index.js",
16
- β•΅ ~~~~~~~~
17
-
18
- The "require" condition comes earlier and will be used for all "require" calls:
19
-
20
- package.json:14:6:
21
-  14 β”‚ "require": "./dist/index.js",
22
- β•΅ ~~~~~~~~~
23
-
24
- β–² [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
25
-
26
- package.json:20:6:
27
-  20 β”‚ "types": "./dist/helpers/config-builder.d.ts"
28
- β•΅ ~~~~~~~
29
-
30
- The "import" condition comes earlier and will be used for all "import" statements:
31
-
32
- package.json:18:6:
33
-  18 β”‚ "import": "./dist/helpers/config-builder.js",
34
- β•΅ ~~~~~~~~
35
-
36
- The "require" condition comes earlier and will be used for all "require" calls:
37
-
38
- package.json:19:6:
39
-  19 β”‚ "require": "./dist/helpers/config-builder.js",
40
- β•΅ ~~~~~~~~~
41
-
42
-
43
-  RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
44
- Coverage enabled with v8
45
-
46
- [?2026h
47
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
48
-
49
-  Test Files 0 passed (13)
50
-  Tests 0 passed (0)
51
-  Start at 03:43:43
52
-  Duration 225ms
53
- [?2026l[?2026h βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 6ms
54
-
55
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
56
-  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
57
-  ❯ src/__tests__/helpers/install.test.ts [queued]
58
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
59
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
60
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
61
-  ❯ test-cloudflare/tests/cache-invalidation.test.ts [queued]
62
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
63
-  ❯ test-cloudflare/tests/session-management.test.ts 0/17
64
-
65
-  Test Files 1 passed (13)
66
-  Tests 29 passed (60)
67
-  Start at 03:43:43
68
-  Duration 333ms
69
- [?2026l[?2026hstdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
70
- [Session] Created session: secure-session
71
-
72
-
73
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
74
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
75
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
76
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
77
-  ❯ src/__tests__/helpers/install.test.ts 0/20
78
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
79
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
80
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
81
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
82
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
83
-
84
-  Test Files 5 passed (13)
85
-  Tests 88 passed (201)
86
-  Start at 03:43:43
87
-  Duration 437ms
88
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
89
- [RemoteConfig] Neither projectId nor agentDid provided
90
-
91
-
92
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
93
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
94
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
95
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
96
-  ❯ src/__tests__/helpers/install.test.ts 0/20
97
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
98
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
99
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
100
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
101
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
102
-
103
-  Test Files 5 passed (13)
104
-  Tests 88 passed (201)
105
-  Start at 03:43:43
106
-  Duration 437ms
107
- [?2026l[?2026h βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 57ms
108
- βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
109
- βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
110
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
111
- 
112
- πŸ“¦ Installing dependencies with npm...
113
- βœ“ Lockfile created (package-lock.json) - remember to commit it
114
-
115
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
116
- 
117
- πŸ“¦ Installing dependencies with yarn...
118
- βœ“ Lockfile created (yarn.lock) - remember to commit it
119
-
120
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
121
- 
122
- πŸ“¦ Installing dependencies with pnpm...
123
- βœ“ Lockfile created (pnpm-lock.yaml) - remember to commit it
124
-
125
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
126
- 
127
- πŸ“¦ Installing dependencies with npm...
128
- βœ“ Lockfile created (package-lock.json) - remember to commit it
129
-
130
-
131
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
132
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
133
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
134
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
135
-  ❯ src/__tests__/helpers/install.test.ts 0/20
136
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
137
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
138
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
139
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
140
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
141
-
142
-  Test Files 5 passed (13)
143
-  Tests 88 passed (201)
144
-  Start at 03:43:43
145
-  Duration 437ms
146
- [?2026l[?2026hstderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
147
- [RemoteConfig] API returned 404: Not Found
148
-
149
-
150
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
151
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
152
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
153
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
154
-  ❯ src/__tests__/helpers/install.test.ts 0/20
155
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
156
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
157
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
158
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
159
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
160
-
161
-  Test Files 5 passed (13)
162
-  Tests 88 passed (201)
163
-  Start at 03:43:43
164
-  Duration 437ms
165
- [?2026l[?2026h βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 6ms
166
-
167
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
168
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
169
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
170
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
171
-  ❯ src/__tests__/helpers/install.test.ts 0/20
172
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
173
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
174
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
175
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
176
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
177
-
178
-  Test Files 5 passed (13)
179
-  Tests 88 passed (201)
180
-  Start at 03:43:43
181
-  Duration 437ms
182
- [?2026l[?2026hstderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
183
- [RemoteConfig] Failed to fetch config: Error: Network error
184
- at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
185
- at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
186
- at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
187
- at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
188
- at new Promise (<anonymous>)
189
- at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
190
- at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
191
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
192
- at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
193
- at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
194
-
195
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
196
- [RemoteConfig] Neither projectId nor agentDid provided
197
-
198
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
199
- [RemoteConfig] Cache read failed: Error: Cache error
200
- at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
201
- at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
202
- at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
203
- at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
204
- at new Promise (<anonymous>)
205
- at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
206
- at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
207
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
208
- at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
209
- at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
210
-
211
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
212
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
213
-
214
-
215
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
216
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
217
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
218
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
219
-  ❯ src/__tests__/helpers/install.test.ts 0/20
220
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
221
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
222
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
223
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
224
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
225
-
226
-  Test Files 5 passed (13)
227
-  Tests 88 passed (201)
228
-  Start at 03:43:43
229
-  Duration 437ms
230
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
231
- 
232
- πŸ“¦ Installing dependencies with npm...
233
- βœ“ Lockfile created (package-lock.json) - remember to commit it
234
-
235
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
236
- 
237
- πŸ“¦ Installing dependencies with npm...
238
-
239
-
240
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
241
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
242
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
243
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
244
-  ❯ src/__tests__/helpers/install.test.ts 0/20
245
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
246
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
247
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
248
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
249
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
250
-
251
-  Test Files 5 passed (13)
252
-  Tests 88 passed (201)
253
-  Start at 03:43:43
254
-  Duration 437ms
255
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
256
- Failed to install dependencies with npm.
257
-
258
-
259
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
260
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
261
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
262
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
263
-  ❯ src/__tests__/helpers/install.test.ts 0/20
264
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
265
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
266
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
267
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
268
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
269
-
270
-  Test Files 5 passed (13)
271
-  Tests 88 passed (201)
272
-  Start at 03:43:43
273
-  Duration 437ms
274
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
275
- 
276
- πŸ“¦ Installing dependencies with npm...
277
-
278
-
279
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
280
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
281
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
282
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
283
-  ❯ src/__tests__/helpers/install.test.ts 0/20
284
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
285
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
286
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
287
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
288
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
289
-
290
-  Test Files 5 passed (13)
291
-  Tests 88 passed (201)
292
-  Start at 03:43:43
293
-  Duration 437ms
294
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
295
- Failed to install dependencies with npm.
296
-
297
-
298
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
299
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
300
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
301
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
302
-  ❯ src/__tests__/helpers/install.test.ts 0/20
303
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
304
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
305
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
306
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
307
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
308
-
309
-  Test Files 5 passed (13)
310
-  Tests 88 passed (201)
311
-  Start at 03:43:43
312
-  Duration 437ms
313
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
314
- 
315
- πŸ“¦ Installing dependencies with npm...
316
-
317
-
318
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
319
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
320
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
321
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
322
-  ❯ src/__tests__/helpers/install.test.ts 0/20
323
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
324
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
325
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
326
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
327
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
328
-
329
-  Test Files 5 passed (13)
330
-  Tests 88 passed (201)
331
-  Start at 03:43:43
332
-  Duration 437ms
333
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
334
- Failed to install dependencies with npm.
335
-
336
-
337
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
338
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
339
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
340
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
341
-  ❯ src/__tests__/helpers/install.test.ts 0/20
342
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
343
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
344
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
345
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
346
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
347
-
348
-  Test Files 5 passed (13)
349
-  Tests 88 passed (201)
350
-  Start at 03:43:43
351
-  Duration 437ms
352
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
353
- 
354
- πŸ“¦ Installing dependencies with npm...
355
-
356
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
357
- 
358
- πŸ“¦ Installing dependencies with unknown...
359
-
360
-
361
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
362
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
363
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
364
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
365
-  ❯ src/__tests__/helpers/install.test.ts 0/20
366
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
367
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
368
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
369
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
370
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
371
-
372
-  Test Files 5 passed (13)
373
-  Tests 88 passed (201)
374
-  Start at 03:43:43
375
-  Duration 437ms
376
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
377
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
378
-
379
-
380
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
381
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
382
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
383
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
384
-  ❯ src/__tests__/helpers/install.test.ts 0/20
385
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
386
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
387
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
388
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
389
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
390
-
391
-  Test Files 5 passed (13)
392
-  Tests 88 passed (201)
393
-  Start at 03:43:43
394
-  Duration 437ms
395
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
396
- 
397
- πŸ“¦ Installing dependencies with npm...
398
-
399
-
400
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
401
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
402
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
403
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
404
-  ❯ src/__tests__/helpers/install.test.ts 0/20
405
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
406
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
407
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
408
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
409
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
410
-
411
-  Test Files 5 passed (13)
412
-  Tests 88 passed (201)
413
-  Start at 03:43:43
414
-  Duration 437ms
415
- [?2026l[?2026h βœ“ src/__tests__/helpers/install.test.ts (20 tests) 35ms
416
- βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 13ms
417
-
418
-
419
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
420
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
421
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
422
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
423
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 1/23
424
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
425
-  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
426
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
427
-
428
-  Test Files 7 passed (13)
429
-  Tests 128 passed (224)
430
-  Start at 03:43:43
431
-  Duration 663ms
432
- [?2026l[?2026h βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 41ms
433
- βœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 150ms
434
- βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 172ms
435
-
436
-
437
-
438
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
439
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 8/21
440
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
441
-  ❯ test-cloudflare/tests/do-routing.test.ts 11/14
442
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
443
-
444
-  Test Files 10 passed (13)
445
-  Tests 1 failed | 207 passed (248)
446
-  Start at 03:43:43
447
-  Duration 764ms
448
- [?2026l[?2026h ❯ test-cloudflare/tests/do-routing.test.ts (14 tests | 1 failed) 442ms
449
- βœ“ should route to different instances for different sessions 14ms
450
- βœ“ should route to same instance for same session 0ms
451
- βœ“ should handle both mcp-session-id header casings 0ms
452
- βœ“ should generate random session if header missing 0ms
453
- βœ“ should distribute requests across shards 50ms
454
- βœ“ should consistently route same session to same shard 0ms
455
- βœ“ should respect custom shard count 2ms
456
- βœ“ should fall back to default when strategy unknown 0ms
457
- βœ“ should use session strategy when not configured 0ms
458
- βœ“ session routing should have O(1) complexity 119ms
459
-  Γ— shard routing should have O(n) complexity for hash 241ms
460
- βœ“ should handle empty session ID 13ms
461
- βœ“ should handle non-numeric shard count 0ms
462
- βœ“ should handle special characters in session ID 1ms
463
-
464
-  ❯ src/__tests__/cloudflare-template.test.ts 9/24
465
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 16/21
466
-  ❯ src/helpers/__tests__/config-builder.spec.ts 12/12
467
-  ❯ test-cloudflare/tests/session-management.test.ts 17/17
468
-
469
-  Test Files 1 failed | 10 passed (13)
470
-  Tests 1 failed | 227 passed (248)
471
-  Start at 03:43:43
472
-  Duration 866ms
473
- [?2026l βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 454ms
474
- βœ“ src/__tests__/cloudflare-template.test.ts (24 tests) 283ms
475
-
476
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
477
-
478
-  FAIL  test-cloudflare/tests/do-routing.test.ts > Durable Object Multi-Instance Routing > Performance Characteristics > shard routing should have O(n) complexity for hash
479
- AssertionError: expected 181.10916599999996 to be less than 100
480
-  ❯ test-cloudflare/tests/do-routing.test.ts:263:44
481
- 261|  expect(shortDuration).toBeGreaterThan(0);
482
- 262|  // Both operations should complete in reasonable time (< 100ms total for 1000 iterations)
483
- 263|  expect(longDuration + shortDuration).toBeLessThan(100);
484
-  |  ^
485
- 264|  });
486
- 265|  });
487
-
488
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
489
-
490
-
491
-  Test Files  1 failed | 12 passed (13)
492
-  Tests  1 failed | 247 passed (248)
493
-  Start at  03:43:43
494
-  Duration  1.09s (transform 669ms, setup 0ms, collect 1.49s, tests 1.67s, environment 1ms, prepare 1.18s)
495
-
496
- [?25h ELIFECYCLE  Command failed with exit code 1.
1
+
2
+ > @kya-os/create-mcpi-app@1.7.39-canary.24 test:coverage /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
3
+ > vitest --run --coverage
4
+
5
+ β–² [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
6
+
7
+ package.json:15:6:
8
+ 15 β”‚ "types": "./dist/index.d.ts"
9
+ β•΅ ~~~~~~~
10
+
11
+ The "import" condition comes earlier and will be used for all "import" statements:
12
+
13
+ package.json:13:6:
14
+ 13 β”‚ "import": "./dist/index.js",
15
+ β•΅ ~~~~~~~~
16
+
17
+ The "require" condition comes earlier and will be used for all "require" calls:
18
+
19
+ package.json:14:6:
20
+ 14 β”‚ "require": "./dist/index.js",
21
+ β•΅ ~~~~~~~~~
22
+
23
+ β–² [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
24
+
25
+ package.json:20:6:
26
+ 20 β”‚ "types": "./dist/helpers/config-builder.d.ts"
27
+ β•΅ ~~~~~~~
28
+
29
+ The "import" condition comes earlier and will be used for all "import" statements:
30
+
31
+ package.json:18:6:
32
+ 18 β”‚ "import": "./dist/helpers/config-builder.js",
33
+ β•΅ ~~~~~~~~
34
+
35
+ The "require" condition comes earlier and will be used for all "require" calls:
36
+
37
+ package.json:19:6:
38
+ 19 β”‚ "require": "./dist/helpers/config-builder.js",
39
+ β•΅ ~~~~~~~~~
40
+
41
+
42
+ RUN v4.0.5 /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
43
+ Coverage enabled with v8
44
+
45
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
46
+ βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
47
+ [RemoteConfig] API returned 404: Not Found
48
+
49
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
50
+ [RemoteConfig] Failed to fetch config: Error: Network error
51
+ at /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
52
+ at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
53
+ at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
54
+ at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
55
+ at new Promise (<anonymous>)
56
+ at runWithTimeout (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
57
+ at runTest (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
58
+ at processTicksAndRejections (node:internal/process/task_queues:105:5)
59
+ at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
60
+ at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
61
+
62
+ βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
63
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
64
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
65
+ [RemoteConfig] Neither projectId nor agentDid provided
66
+ [Session] Created session: secure-session
67
+
68
+
69
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
70
+ [RemoteConfig] Cache read failed: Error: Cache error
71
+ at /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
72
+ at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
73
+ at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
74
+ at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
75
+ at new Promise (<anonymous>)
76
+ at runWithTimeout (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
77
+ at runTest (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
78
+ at processTicksAndRejections (node:internal/process/task_queues:105:5)
79
+ at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
80
+ at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
81
+
82
+ βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
83
+ βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 8ms
84
+ βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 15ms
85
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
86
+
87
+ πŸ“¦ Installing dependencies with yarn...
88
+ βœ“ Lockfile created (yarn.lock) - remember to commit it
89
+
90
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
91
+
92
+ πŸ“¦ Installing dependencies with pnpm...
93
+ βœ“ Lockfile created (pnpm-lock.yaml) - remember to commit it
94
+
95
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
96
+
97
+ πŸ“¦ Installing dependencies with npm...
98
+ βœ“ Lockfile created (package-lock.json) - remember to commit it
99
+
100
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
101
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
102
+
103
+ βœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 107ms
104
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
105
+
106
+ πŸ“¦ Installing dependencies with npm...
107
+ βœ“ Lockfile created (package-lock.json) - remember to commit it
108
+
109
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
110
+
111
+ πŸ“¦ Installing dependencies with npm...
112
+
113
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
114
+ Failed to install dependencies with npm.
115
+
116
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
117
+
118
+ πŸ“¦ Installing dependencies with npm...
119
+
120
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
121
+ Failed to install dependencies with npm.
122
+
123
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
124
+
125
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
126
+ πŸ“¦ Installing dependencies with npm...
127
+ Failed to install dependencies with npm.
128
+
129
+
130
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
131
+
132
+ πŸ“¦ Installing dependencies with npm...
133
+
134
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
135
+
136
+ πŸ“¦ Installing dependencies with unknown...
137
+
138
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
139
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
140
+
141
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
142
+
143
+ πŸ“¦ Installing dependencies with npm...
144
+
145
+ ❯ src/__tests__/helpers/install.test.ts (20 tests | 1 failed) 54ms
146
+ βœ“ should detect npm from package-lock.json 2ms
147
+ βœ“ should detect yarn from yarn.lock 1ms
148
+ βœ“ should detect pnpm from pnpm-lock.yaml 1ms
149
+ βœ“ should return null when no lockfile exists 0ms
150
+ βœ“ should prioritize pnpm over npm 5ms
151
+ βœ“ should prioritize yarn over npm 8ms
152
+ Γ— should install dependencies with npm 6ms
153
+ βœ“ should install dependencies with yarn 3ms
154
+ βœ“ should install dependencies with pnpm 2ms
155
+ βœ“ should use correct working directory 4ms
156
+ βœ“ should log installation start message 1ms
157
+ βœ“ should report correct package manager in log 9ms
158
+ βœ“ should check for lockfile after installation 1ms
159
+ βœ“ should throw error when installation fails 1ms
160
+ βœ“ should handle network errors during installation 2ms
161
+ βœ“ should handle permission errors during installation 1ms
162
+ βœ“ should log error message when installation fails 1ms
163
+ βœ“ should handle invalid package manager gracefully 1ms
164
+ βœ“ should validate npm lockfile after installation 2ms
165
+ βœ“ should warn when lockfile not created 1ms
166
+ βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 113ms
167
+ βœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 82ms
168
+ βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 120ms
169
+ βœ“ src/__tests__/cloudflare-template.test.ts (24 tests) 347ms
170
+ βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 269ms
171
+
172
+ ⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯
173
+
174
+ FAIL src/helpers/__tests__/config-builder.spec.ts [ src/helpers/__tests__/config-builder.spec.ts ]
175
+ Error: Missing "./config" specifier in "@kya-os/contracts" package
176
+ Plugin: vite:import-analysis
177
+ File: /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/helpers/config-builder.ts:14:32
178
+ 1 | import { buildBaseConfig } from "@kya-os/contracts/config";
179
+ | ^
180
+ 2 | export { buildBaseConfig };
181
+ 3 | import {
182
+ ❯ e ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:8823:8
183
+ ❯ n ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:8835:14
184
+ ❯ o ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:8863:10
185
+ ❯ resolveExportsOrImports ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11869:45
186
+ ❯ resolveDeepImport ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11883:22
187
+ ❯ tryNodeResolve ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11758:70
188
+ ❯ ResolveIdContext.handler ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11597:16
189
+ ❯ EnvironmentPluginContainer.resolveId ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:30825:56
190
+ ❯ TransformPluginContext.resolve ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:31036:13
191
+
192
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
193
+
194
+
195
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
196
+
197
+ FAIL src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
198
+ Error: ENOENT: no such file or directory, mkdir '/Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/test-temp/install-test-1762827503184-7jlm3'
199
+ ❯ Object.module.exports.makeDirSync ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13
200
+ ❯ src/__tests__/helpers/install.test.ts:105:8
201
+ 103| beforeEach(() => {
202
+ 104| tempDir = path.join(process.cwd(), 'test-temp', `install-test-${Da…
203
+ 105| fs.ensureDirSync(tempDir);
204
+ | ^
205
+ 106|
206
+ 107| // Create minimal package.json for installation
207
+
208
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
209
+
210
+
211
+ Test Files 2 failed | 11 passed (13)
212
+ Tests 1 failed | 235 passed (236)
213
+ Start at 21:18:22
214
+ Duration 923ms (transform 775ms, setup 0ms, collect 1.42s, tests 1.13s, environment 1ms, prepare 677ms)
215
+
216
+  ELIFECYCLE  Command failed with exit code 1.