@kya-os/create-mcpi-app 1.7.42-canary.2 → 1.7.42-canary.4

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @kya-os/create-mcpi-app@1.7.39-canary.25 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > @kya-os/create-mcpi-app@1.7.42-canary.2 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
4
  > vitest --run --coverage
5
5
 
6
6
  [?25l▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@@ -48,46 +48,29 @@
48
48
 
49
49
   Test Files 0 passed (13)
50
50
   Tests 0 passed (0)
51
-  Start at 14:14:49
52
-  Duration 104ms
53
- [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
54
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
51
+  Start at 13:14:16
52
+  Duration 101ms
53
+ [?2026l[?2026h ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
54
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
55
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
56
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
57
+ [Session] Created session: secure-session
58
+
55
59
 
56
60
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
57
61
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
58
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
59
-  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
62
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
63
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
60
64
   ❯ src/__tests__/helpers/install.test.ts [queued]
61
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
62
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
63
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
64
-  ❯ test-cloudflare/tests/cors-security.test.ts 1/29
65
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
66
+  ❯ src/helpers/__tests__/config-builder.spec.ts 0/12
65
67
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
66
-  ❯ test-cloudflare/tests/session-management.test.ts 0/17
67
-
68
-  Test Files 2 passed (13)
69
-  Tests 31 passed (113)
70
-  Start at 14:14:49
71
-  Duration 203ms
72
- [?2026l[?2026h ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
73
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
74
- [Session] Created session: secure-session
75
-
76
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 22ms
77
-
78
-
79
68
 
80
-
81
-
82
-
83
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
84
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
85
-
86
-  Test Files 11 passed (13)
87
-  Tests 204 passed (248)
88
-  Start at 14:14:49
89
-  Duration 405ms
90
- [?2026l[?2026hstderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
69
+  Test Files 5 passed (13)
70
+  Tests 85 passed (160)
71
+  Start at 13:14:16
72
+  Duration 204ms
73
+ [?2026l[?2026hstderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
91
74
  [RemoteConfig] API returned 404: Not Found
92
75
 
93
76
  stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
@@ -120,36 +103,52 @@
120
103
  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)
121
104
 
122
105
 
123
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
124
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
106
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
107
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
108
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
109
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
110
+  ❯ src/__tests__/helpers/install.test.ts [queued]
111
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
112
+  ❯ src/helpers/__tests__/config-builder.spec.ts 0/12
113
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
125
114
 
126
-  Test Files 11 passed (13)
127
-  Tests 204 passed (248)
128
-  Start at 14:14:49
129
-  Duration 405ms
130
- [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
131
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 34ms
115
+  Test Files 5 passed (13)
116
+  Tests 85 passed (160)
117
+  Start at 13:14:16
118
+  Duration 204ms
119
+ [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 8ms
120
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 15ms
132
121
 
133
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
134
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
122
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
123
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
124
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
125
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
126
+  ❯ src/__tests__/helpers/install.test.ts [queued]
127
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
128
+  ❯ src/helpers/__tests__/config-builder.spec.ts 0/12
129
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
135
130
 
136
-  Test Files 11 passed (13)
137
-  Tests 204 passed (248)
138
-  Start at 14:14:49
139
-  Duration 405ms
140
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
131
+  Test Files 5 passed (13)
132
+  Tests 85 passed (160)
133
+  Start at 13:14:16
134
+  Duration 204ms
135
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
141
136
  [RemoteConfig] Neither projectId nor agentDid provided
142
137
 
143
138
 
139
+
140
+
141
+
142
+
144
143
   ❯ src/__tests__/cloudflare-template.test.ts 1/24
145
144
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
146
145
 
147
146
   Test Files 11 passed (13)
148
147
   Tests 204 passed (248)
149
-  Start at 14:14:49
150
-  Duration 405ms
151
- [?2026l[?2026h ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
152
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 40ms
148
+  Start at 13:14:16
149
+  Duration 404ms
150
+ [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 22ms
151
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
153
152
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
154
153
  
155
154
  📦 Installing dependencies with npm...
@@ -160,7 +159,6 @@
160
159
  📦 Installing dependencies with yarn...
161
160
  ✓ Lockfile created (yarn.lock) - remember to commit it
162
161
 
163
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 97ms
164
162
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
165
163
  
166
164
  📦 Installing dependencies with pnpm...
@@ -171,15 +169,15 @@
171
169
  📦 Installing dependencies with npm...
172
170
  ✓ Lockfile created (package-lock.json) - remember to commit it
173
171
 
174
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 31ms
172
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 27ms
175
173
 
176
174
   ❯ src/__tests__/cloudflare-template.test.ts 1/24
177
175
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
178
176
 
179
177
   Test Files 11 passed (13)
180
178
   Tests 204 passed (248)
181
-  Start at 14:14:49
182
-  Duration 405ms
179
+  Start at 13:14:16
180
+  Duration 404ms
183
181
  [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
184
182
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
185
183
 
@@ -189,8 +187,8 @@
189
187
 
190
188
   Test Files 11 passed (13)
191
189
   Tests 204 passed (248)
192
-  Start at 14:14:49
193
-  Duration 405ms
190
+  Start at 13:14:16
191
+  Duration 404ms
194
192
  [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
195
193
  
196
194
  📦 Installing dependencies with npm...
@@ -206,8 +204,8 @@
206
204
 
207
205
   Test Files 11 passed (13)
208
206
   Tests 204 passed (248)
209
-  Start at 14:14:49
210
-  Duration 405ms
207
+  Start at 13:14:16
208
+  Duration 404ms
211
209
  [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
212
210
  Failed to install dependencies with npm.
213
211
 
@@ -217,8 +215,8 @@
217
215
 
218
216
   Test Files 11 passed (13)
219
217
   Tests 204 passed (248)
220
-  Start at 14:14:49
221
-  Duration 405ms
218
+  Start at 13:14:16
219
+  Duration 404ms
222
220
  [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
223
221
  
224
222
  📦 Installing dependencies with npm...
@@ -229,8 +227,8 @@
229
227
 
230
228
   Test Files 11 passed (13)
231
229
   Tests 204 passed (248)
232
-  Start at 14:14:49
233
-  Duration 405ms
230
+  Start at 13:14:16
231
+  Duration 404ms
234
232
  [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
235
233
  Failed to install dependencies with npm.
236
234
 
@@ -240,8 +238,8 @@
240
238
 
241
239
   Test Files 11 passed (13)
242
240
   Tests 204 passed (248)
243
-  Start at 14:14:49
244
-  Duration 405ms
241
+  Start at 13:14:16
242
+  Duration 404ms
245
243
  [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
246
244
  
247
245
  📦 Installing dependencies with npm...
@@ -252,8 +250,8 @@
252
250
 
253
251
   Test Files 11 passed (13)
254
252
   Tests 204 passed (248)
255
-  Start at 14:14:49
256
-  Duration 405ms
253
+  Start at 13:14:16
254
+  Duration 404ms
257
255
  [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
258
256
  Failed to install dependencies with npm.
259
257
 
@@ -263,8 +261,8 @@
263
261
 
264
262
   Test Files 11 passed (13)
265
263
   Tests 204 passed (248)
266
-  Start at 14:14:49
267
-  Duration 405ms
264
+  Start at 13:14:16
265
+  Duration 404ms
268
266
  [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
269
267
  
270
268
  📦 Installing dependencies with npm...
@@ -279,8 +277,8 @@
279
277
 
280
278
   Test Files 11 passed (13)
281
279
   Tests 204 passed (248)
282
-  Start at 14:14:49
283
-  Duration 405ms
280
+  Start at 13:14:16
281
+  Duration 404ms
284
282
  [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
285
283
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
286
284
 
@@ -290,42 +288,44 @@
290
288
 
291
289
   Test Files 11 passed (13)
292
290
   Tests 204 passed (248)
293
-  Start at 14:14:49
294
-  Duration 405ms
291
+  Start at 13:14:16
292
+  Duration 404ms
295
293
  [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
296
294
  
297
295
  📦 Installing dependencies with npm...
298
296
 
299
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 26ms
297
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 28ms
298
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 85ms
299
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 43ms
300
300
 
301
301
   ❯ src/__tests__/cloudflare-template.test.ts 1/24
302
302
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
303
303
 
304
304
   Test Files 11 passed (13)
305
305
   Tests 204 passed (248)
306
-  Start at 14:14:49
307
-  Duration 405ms
308
- [?2026l ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 111ms
309
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 102ms
306
+  Start at 13:14:16
307
+  Duration 404ms
308
+ [?2026l ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 108ms
309
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 95ms
310
310
 
311
311
   Test Files  13 passed (13)
312
312
   Tests  248 passed (248)
313
-  Start at  14:14:49
314
-  Duration  452ms (transform 537ms, setup 0ms, collect 913ms, tests 489ms, environment 1ms, prepare 299ms)
313
+  Start at  13:14:16
314
+  Duration  446ms (transform 721ms, setup 0ms, collect 1.03s, tests 448ms, environment 1ms, prepare 168ms)
315
315
 
316
316
   % Coverage report from v8
317
- ---------------------------------|---------|----------|---------|---------|-------------------
318
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
319
- ---------------------------------|---------|----------|---------|---------|-------------------
320
- All files  |  96.49 |  94.11 |  100 |  96.49 |  
321
-  helpers  |  97.29 |  95.12 |  100 |  97.29 |  
322
-  config-builder.ts  |  100 |  100 |  100 |  100 |  
323
-  ...cloudflare-mcpi-template.ts |  94.54 |  90.9 |  100 |  94.54 | 823,835,940-948 
324
-  generate-config.ts  |  100 |  100 |  100 |  100 |  
325
-  generate-identity.ts  |  100 |  100 |  100 |  100 |  
326
-  install.ts  |  100 |  100 |  100 |  100 |  
327
-  validate-project-structure.ts  |  100 |  100 |  100 |  100 |  
328
-  utils  |  91.42 |  90 |  100 |  91.42 |  
329
-  fetch-remote-config.ts  |  91.42 |  90 |  100 |  91.42 | 152-153,169 
330
- ---------------------------------|---------|----------|---------|---------|-------------------
317
+ ------------------------------------|---------|----------|---------|---------|-------------------
318
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
319
+ ------------------------------------|---------|----------|---------|---------|-------------------
320
+ All files  |  97.67 |  94.03 |  100 |  97.67 |  
321
+  helpers  |  98.88 |  95.04 |  100 |  98.88 |  
322
+  config-builder.ts  |  100 |  100 |  100 |  100 |  
323
+  fetch-cloudflare-mcpi-template.ts |  97.05 |  90.62 |  100 |  97.05 | 822,834 
324
+  generate-config.ts  |  100 |  100 |  100 |  100 |  
325
+  generate-identity.ts  |  100 |  100 |  100 |  100 |  
326
+  install.ts  |  100 |  100 |  100 |  100 |  
327
+  validate-project-structure.ts  |  100 |  100 |  100 |  100 |  
328
+  utils  |  91.42 |  90 |  100 |  91.42 |  
329
+  fetch-remote-config.ts  |  91.42 |  90 |  100 |  91.42 | 152-153,169 
330
+ ------------------------------------|---------|----------|---------|---------|-------------------
331
331
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.7.40 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.7.42-canary.2 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest --run
4
4
 
5
5
  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@@ -39,126 +39,126 @@
39
39
  ╵ ~~~~~~~~~
40
40
 
41
41
 
42
-  RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
42
+ RUN v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
43
43
 
44
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
45
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 8ms
46
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
47
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
48
- [RemoteConfig] API returned 404: Not Found
44
+ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
45
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
46
+ [Session] Created session: secure-session
49
47
 
50
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
51
- [RemoteConfig] Failed to fetch config: Error: Network error
52
- at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
53
- 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
54
- 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
55
- 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
48
+ test-cloudflare/tests/session-management.test.ts (17 tests) 18ms
49
+ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
50
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 16ms
51
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
52
+ [RemoteConfig] Neither projectId nor agentDid provided
53
+
54
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
55
+ [RemoteConfig] API returned 404: Not Found
56
+
57
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
58
+ [RemoteConfig] Failed to fetch config: Error: Network error
59
+ at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
60
+ 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
61
+ 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
62
+ 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
56
63
  at new Promise (<anonymous>)
57
- 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)
58
- 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)
59
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
60
- 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)
61
- 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)
62
-
63
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
64
- [RemoteConfig] Neither projectId nor agentDid provided
65
-
66
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
67
- [RemoteConfig] Cache read failed: Error: Cache error
68
- at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
69
- 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
70
- 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
71
- 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
64
+ 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)
65
+ 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)
66
+ at processTicksAndRejections (node:internal/process/task_queues:103:5)
67
+ 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)
68
+ 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)
69
+
70
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
71
+ [RemoteConfig] Neither projectId nor agentDid provided
72
+
73
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
74
+ [RemoteConfig] Cache read failed: Error: Cache error
75
+ at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
76
+ 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
77
+ 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
78
+ 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
72
79
  at new Promise (<anonymous>)
73
- 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)
74
- 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)
75
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
76
- 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)
77
- 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)
78
-
79
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 6ms
80
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
81
- [RemoteConfig] Neither projectId nor agentDid provided
82
-
83
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
84
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 75ms
85
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
86
- [Session] Created session: secure-session
87
-
88
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 18ms
89
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 44ms
90
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
91
- 
80
+ 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)
81
+ 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)
82
+ at processTicksAndRejections (node:internal/process/task_queues:103:5)
83
+ 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)
84
+ 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)
85
+
86
+ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
87
+ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
88
+ test-cloudflare/tests/do-routing.test.ts (14 tests) 153ms
89
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
90
+
92
91
  📦 Installing dependencies with npm...
93
92
  ✓ Lockfile created (package-lock.json) - remember to commit it
94
93
 
95
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
96
- 
94
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
95
+
97
96
  📦 Installing dependencies with yarn...
98
97
  ✓ Lockfile created (yarn.lock) - remember to commit it
99
98
 
100
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
101
- 
99
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
100
+
102
101
  📦 Installing dependencies with pnpm...
103
102
  ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
104
103
 
105
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
106
- 
104
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
105
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
106
+
107
107
  📦 Installing dependencies with npm...
108
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
108
109
  ✓ Lockfile created (package-lock.json) - remember to commit it
109
110
 
110
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
111
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
112
111
 
113
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
114
- 
112
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
113
+
115
114
  📦 Installing dependencies with npm...
116
115
  ✓ Lockfile created (package-lock.json) - remember to commit it
117
116
 
118
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
119
- 
117
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 115ms
118
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
119
+
120
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
120
121
  📦 Installing dependencies with npm...
121
122
 
122
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
123
- Failed to install dependencies with npm.
123
+ Failed to install dependencies with npm.
124
124
 
125
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
126
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
127
- Failed to install dependencies with npm.
128
- 
129
- 📦 Installing dependencies with npm...
125
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
126
+ Failed to install dependencies with npm.
127
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
130
128
 
131
129
 
132
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
133
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
134
- Failed to install dependencies with npm.
130
+ 📦 Installing dependencies with npm...
131
+
132
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
133
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
135
134
 
136
- 
137
135
  📦 Installing dependencies with npm...
138
136
 
139
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
140
- 
137
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
138
+ Failed to install dependencies with npm.
139
+
140
+
141
141
  📦 Installing dependencies with npm...
142
142
 
143
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
144
- 
143
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
144
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
145
+
146
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
147
+
145
148
  📦 Installing dependencies with unknown...
146
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
147
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
148
149
 
150
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
149
151
 
150
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
151
- 
152
152
  📦 Installing dependencies with npm...
153
153
 
154
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 39ms
155
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 48ms
156
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 50ms
157
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 134ms
158
- ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 139ms
154
+ src/__tests__/helpers/install.test.ts (20 tests) 157ms
155
+ src/__tests__/helpers/generate-config.test.ts (25 tests) 356ms
156
+ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 278ms
157
+ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 438ms
158
+ src/__tests__/cloudflare-template.test.ts (24 tests) 428ms
159
159
 
160
-  Test Files  13 passed (13)
161
-  Tests  248 passed (248)
162
-  Start at  19:00:07
163
-  Duration  651ms (transform 661ms, setup 0ms, collect 1.49s, tests 572ms, environment 1ms, prepare 95ms)
160
+ Test Files 13 passed (13)
161
+ Tests 248 passed (248)
162
+ Start at 13:13:08
163
+ Duration 1.15s (transform 946ms, setup 0ms, collect 2.06s, tests 1.97s, environment 1ms, prepare 108ms)
164
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.7.42-canary.2",
3
+ "version": "1.7.42-canary.4",
4
4
  "description": "Bootstrap MCP applications with identity features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "prepublishOnly": "npm run build && node scripts/validate-dependencies.js"
29
29
  },
30
30
  "dependencies": {
31
- "@kya-os/cli": "^1.3.4-canary.3",
31
+ "@kya-os/cli": "^1.3.5-canary.1",
32
32
  "@kya-os/cli-effects": "^1.0.19",
33
33
  "base-x": "^5.0.0",
34
34
  "chalk": "^5.3.0",
@@ -38,14 +38,14 @@
38
38
  "node-fetch": "^3.3.2",
39
39
  "ora": "^8.0.1",
40
40
  "zod": "^3.25.76",
41
- "@kya-os/mcp-i": "^1.5.8-canary.0",
41
+ "@kya-os/mcp-i": "^1.5.9-canary.1",
42
42
  "@kya-os/mcp-i-cloudflare": "^1.5.10-canary.1"
43
43
  },
44
44
  "_comment": {
45
45
  "node-fetch": "Required by @kya-os/cli-effects (transitive dependency). cli-effects imports node-fetch but doesn't declare it. TODO: Update cli-effects to declare node-fetch or use native fetch (Node 20+)."
46
46
  },
47
47
  "devDependencies": {
48
- "@kya-os/contracts": "^1.5.2-canary.0",
48
+ "@kya-os/contracts": "^1.5.4-canary.2",
49
49
  "@types/fs-extra": "^11.0.4",
50
50
  "@types/inquirer": "^9.0.7",
51
51
  "@types/node": "^20.19.19",