@kya-os/create-mcpi-app 1.7.42-canary.23 → 1.7.42-canary.25

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.7.42-canary.15 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.7.42-canary.23 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @kya-os/create-mcpi-app@1.7.42-canary.22 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > @kya-os/create-mcpi-app@1.7.42-canary.23 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]
@@ -44,67 +44,73 @@
44
44
  Coverage enabled with v8
45
45
 
46
46
  [?2026h
47
-  ❯ test-cloudflare/tests/do-routing.test.ts [queued]
47
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
48
48
 
49
49
   Test Files 0 passed (13)
50
50
   Tests 0 passed (0)
51
-  Start at 19:36:14
52
-  Duration 104ms
53
- [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
54
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
55
-
51
+  Start at 20:52:51
52
+  Duration 101ms
53
+ [?2026l[?2026h
56
54
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
57
55
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
58
56
   ❯ src/__tests__/helpers/generate-config.test.ts [queued]
59
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
57
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
58
+  ❯ src/__tests__/helpers/install.test.ts [queued]
60
59
   ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
61
60
   ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
62
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
63
-  ❯ test-cloudflare/tests/cache-invalidation.test.ts [queued]
61
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
62
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
63
+  ❯ test-cloudflare/tests/cors-security.test.ts [queued]
64
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
64
65
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
65
-  ❯ test-cloudflare/tests/session-management.test.ts 0/17
66
+  ❯ test-cloudflare/tests/session-management.test.ts [queued]
66
67
 
67
-  Test Files 2 passed (13)
68
-  Tests 41 passed (105)
69
-  Start at 19:36:14
70
-  Duration 205ms
71
- [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
68
+  Test Files 0 passed (13)
69
+  Tests 0 passed (32)
70
+  Start at 20:52:51
71
+  Duration 201ms
72
+ [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
72
73
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
73
74
  [Session] Created session: secure-session
74
75
 
75
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 18ms
76
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 40ms
77
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
76
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 9ms
77
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 5ms
78
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
79
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
80
+
81
+
82
+
83
+
78
84
 
79
85
 
80
86
 
81
87
 
82
88
 
83
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
89
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
84
90
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
85
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
86
91
 
87
-  Test Files 10 passed (13)
88
-  Tests 179 passed (248)
89
-  Start at 19:36:14
90
-  Duration 308ms
91
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
92
+  Test Files 11 passed (13)
93
+  Tests 204 passed (248)
94
+  Start at 20:52:51
95
+  Duration 401ms
96
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
92
97
  [RemoteConfig] Neither projectId nor agentDid provided
93
98
 
94
99
 
95
100
 
96
101
 
97
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
102
+
103
+
104
+
105
+
106
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
98
107
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
99
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
100
-
101
-  Test Files 10 passed (13)
102
-  Tests 179 passed (248)
103
-  Start at 19:36:14
104
-  Duration 308ms
105
- [?2026l[?2026h ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 34ms
106
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
107
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
108
+
109
+  Test Files 11 passed (13)
110
+  Tests 204 passed (248)
111
+  Start at 20:52:51
112
+  Duration 401ms
113
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
108
114
  
109
115
  📦 Installing dependencies with npm...
110
116
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -119,34 +125,34 @@
119
125
  📦 Installing dependencies with pnpm...
120
126
  ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
121
127
 
128
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 47ms
129
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 5ms
122
130
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
123
131
  
124
132
  📦 Installing dependencies with npm...
125
133
  ✓ Lockfile created (package-lock.json) - remember to commit it
126
134
 
127
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 116ms
135
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 30ms
128
136
 
129
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
137
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
130
138
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
131
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
132
139
 
133
-  Test Files 10 passed (13)
134
-  Tests 179 passed (248)
135
-  Start at 19:36:14
136
-  Duration 308ms
137
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
140
+  Test Files 11 passed (13)
141
+  Tests 204 passed (248)
142
+  Start at 20:52:51
143
+  Duration 401ms
144
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
138
145
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
139
146
 
140
147
 
141
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
148
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
142
149
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
143
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
144
150
 
145
-  Test Files 10 passed (13)
146
-  Tests 179 passed (248)
147
-  Start at 19:36:14
148
-  Duration 308ms
149
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
151
+  Test Files 11 passed (13)
152
+  Tests 204 passed (248)
153
+  Start at 20:52:51
154
+  Duration 401ms
155
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
150
156
  
151
157
  📦 Installing dependencies with npm...
152
158
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -156,127 +162,119 @@
156
162
  📦 Installing dependencies with npm...
157
163
 
158
164
 
159
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
165
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
160
166
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
161
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
162
167
 
163
-  Test Files 10 passed (13)
164
-  Tests 179 passed (248)
165
-  Start at 19:36:14
166
-  Duration 308ms
167
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
168
+  Test Files 11 passed (13)
169
+  Tests 204 passed (248)
170
+  Start at 20:52:51
171
+  Duration 401ms
172
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
168
173
  Failed to install dependencies with npm.
169
174
 
170
175
 
171
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
176
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
172
177
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
173
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
174
178
 
175
-  Test Files 10 passed (13)
176
-  Tests 179 passed (248)
177
-  Start at 19:36:14
178
-  Duration 308ms
179
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
179
+  Test Files 11 passed (13)
180
+  Tests 204 passed (248)
181
+  Start at 20:52:51
182
+  Duration 401ms
183
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
180
184
  
181
185
  📦 Installing dependencies with npm...
182
186
 
183
187
 
184
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
188
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
185
189
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
186
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
187
190
 
188
-  Test Files 10 passed (13)
189
-  Tests 179 passed (248)
190
-  Start at 19:36:14
191
-  Duration 308ms
192
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
191
+  Test Files 11 passed (13)
192
+  Tests 204 passed (248)
193
+  Start at 20:52:51
194
+  Duration 401ms
195
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
193
196
  Failed to install dependencies with npm.
194
197
 
195
198
 
196
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
199
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
197
200
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
198
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
199
201
 
200
-  Test Files 10 passed (13)
201
-  Tests 179 passed (248)
202
-  Start at 19:36:14
203
-  Duration 308ms
204
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
202
+  Test Files 11 passed (13)
203
+  Tests 204 passed (248)
204
+  Start at 20:52:51
205
+  Duration 401ms
206
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
205
207
  
206
208
  📦 Installing dependencies with npm...
207
209
 
208
210
 
209
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
211
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
210
212
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
211
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
212
213
 
213
-  Test Files 10 passed (13)
214
-  Tests 179 passed (248)
215
-  Start at 19:36:14
216
-  Duration 308ms
217
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
214
+  Test Files 11 passed (13)
215
+  Tests 204 passed (248)
216
+  Start at 20:52:51
217
+  Duration 401ms
218
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
218
219
  Failed to install dependencies with npm.
219
220
 
220
221
 
221
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
222
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
222
223
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
223
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
224
224
 
225
-  Test Files 10 passed (13)
226
-  Tests 179 passed (248)
227
-  Start at 19:36:14
228
-  Duration 308ms
229
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
225
+  Test Files 11 passed (13)
226
+  Tests 204 passed (248)
227
+  Start at 20:52:51
228
+  Duration 401ms
229
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
230
230
  
231
231
  📦 Installing dependencies with npm...
232
232
 
233
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 89ms
233
234
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
234
235
  
235
236
  📦 Installing dependencies with unknown...
236
237
 
237
238
 
238
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
239
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
239
240
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
240
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
241
241
 
242
-  Test Files 10 passed (13)
243
-  Tests 179 passed (248)
244
-  Start at 19:36:14
245
-  Duration 308ms
246
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
242
+  Test Files 11 passed (13)
243
+  Tests 204 passed (248)
244
+  Start at 20:52:51
245
+  Duration 401ms
246
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
247
247
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
248
248
 
249
249
 
250
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
250
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
251
251
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
252
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
253
252
 
254
-  Test Files 10 passed (13)
255
-  Tests 179 passed (248)
256
-  Start at 19:36:14
257
-  Duration 308ms
258
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
253
+  Test Files 11 passed (13)
254
+  Tests 204 passed (248)
255
+  Start at 20:52:51
256
+  Duration 401ms
257
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
259
258
  
260
259
  📦 Installing dependencies with npm...
261
260
 
262
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 31ms
261
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 27ms
262
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 39ms
263
263
 
264
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
264
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
265
265
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
266
-  ❯ src/__tests__/helpers/generate-config.test.ts 1/25
267
266
 
268
-  Test Files 10 passed (13)
269
-  Tests 179 passed (248)
270
-  Start at 19:36:14
271
-  Duration 308ms
272
- [?2026l ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 42ms
273
- ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 128ms
274
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 116ms
267
+  Test Files 11 passed (13)
268
+  Tests 204 passed (248)
269
+  Start at 20:52:51
270
+  Duration 401ms
271
+ [?2026l ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 139ms
272
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 126ms
275
273
 
276
274
   Test Files  13 passed (13)
277
275
   Tests  248 passed (248)
278
-  Start at  19:36:14
279
-  Duration  496ms (transform 498ms, setup 0ms, collect 985ms, tests 551ms, environment 1ms, prepare 368ms)
276
+  Start at  20:52:51
277
+  Duration  497ms (transform 733ms, setup 0ms, collect 1.07s, tests 539ms, environment 1ms, prepare 264ms)
280
278
 
281
279
   % Coverage report from v8
282
280
  ------------------------------------|---------|----------|---------|---------|-------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.7.42-canary.23",
3
+ "version": "1.7.42-canary.25",
4
4
  "description": "Bootstrap MCP applications with identity features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",