@kya-os/create-mcpi-app 1.7.42-canary.6 → 1.7.42-canary.61

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.41 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.7.42-canary.53 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,155 +1,62 @@
1
1
 
2
2
  
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
- > 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
-
3
+ > @kya-os/create-mcpi-app@1.7.42-canary.55 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
+ > vitest run --coverage
42
5
 
6
+ [?25l
43
7
   RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
44
8
  Coverage enabled with v8
45
9
 
46
10
  [?2026h
47
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
11
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
48
12
 
49
13
   Test Files 0 passed (13)
50
14
   Tests 0 passed (0)
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
-
59
-
15
+  Start at 22:51:45
16
+  Duration 103ms
17
+ [?2026l[?2026h
60
18
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
61
19
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
62
-  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
63
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
20
+  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
21
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
64
22
   ❯ src/__tests__/helpers/install.test.ts [queued]
65
23
   ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
66
-  ❯ src/helpers/__tests__/config-builder.spec.ts 0/12
67
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
68
-
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
74
- [RemoteConfig] API returned 404: Not Found
75
-
76
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
77
- [RemoteConfig] Failed to fetch config: Error: Network error
78
- at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
79
- 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
80
- 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
81
- 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
82
- at new Promise (<anonymous>)
83
- 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)
84
- 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)
85
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
86
- 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)
87
- 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)
88
-
89
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
90
- [RemoteConfig] Neither projectId nor agentDid provided
91
-
92
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
93
- [RemoteConfig] Cache read failed: Error: Cache error
94
- at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
95
- 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
96
- 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
97
- 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
98
- at new Promise (<anonymous>)
99
- 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)
100
- 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)
101
-  at processTicksAndRejections (node:internal/process/task_queues:103:5)
102
- 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)
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)
24
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
25
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
26
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts [queued]
27
+  test-cloudflare/tests/cors-security.test.ts [queued]
28
+  test-cloudflare/tests/delegation.test.ts [queued]
29
+  test-cloudflare/tests/do-routing.test.ts [queued]
30
+  ❯ test-cloudflare/tests/session-management.test.ts [queued]
104
31
 
32
+  Test Files 0 passed (13)
33
+  Tests 0 passed (0)
34
+  Start at 22:51:45
35
+  Duration 205ms
36
+ [?2026l[?2026h ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
37
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 14ms
38
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
39
+ [Session] Created session: secure-session
105
40
 
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
41
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 8ms
42
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 12ms
114
43
 
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
121
44
 
122
45
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
123
46
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
124
47
   ❯ src/__tests__/helpers/generate-config.test.ts 0/25
125
48
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
126
-  ❯ src/__tests__/helpers/install.test.ts [queued]
49
+  ❯ src/__tests__/helpers/install.test.ts 0/20
127
50
   ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
128
-  ❯ src/helpers/__tests__/config-builder.spec.ts 0/12
51
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
129
52
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
53
+  ❯ test-cloudflare/tests/session-management.test.ts 0/17
130
54
 
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
136
- [RemoteConfig] Neither projectId nor agentDid provided
137
-
138
-
139
-
140
-
141
-
142
-
143
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
144
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
145
-
146
-  Test Files 11 passed (13)
147
-  Tests 204 passed (248)
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
152
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
55
+  Test Files 4 passed (13)
56
+  Tests 68 passed (168)
57
+  Start at 22:51:45
58
+  Duration 423ms
59
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
153
60
  
154
61
  📦 Installing dependencies with npm...
155
62
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -169,27 +76,39 @@
169
76
  📦 Installing dependencies with npm...
170
77
  ✓ Lockfile created (package-lock.json) - remember to commit it
171
78
 
172
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 27ms
173
79
 
174
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
80
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
175
81
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
82
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
83
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
84
+  ❯ src/__tests__/helpers/install.test.ts 0/20
85
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
86
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
87
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
176
88
 
177
-  Test Files 11 passed (13)
178
-  Tests 204 passed (248)
179
-  Start at 13:14:16
180
-  Duration 404ms
181
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
89
+  Test Files 5 passed (13)
90
+  Tests 86 passed (242)
91
+  Start at 22:51:45
92
+  Duration 524ms
93
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
182
94
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
183
95
 
184
96
 
185
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
97
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
186
98
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
99
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
100
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
101
+  ❯ src/__tests__/helpers/install.test.ts 0/20
102
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
103
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
104
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
187
105
 
188
-  Test Files 11 passed (13)
189
-  Tests 204 passed (248)
190
-  Start at 13:14:16
191
-  Duration 404ms
192
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
106
+  Test Files 5 passed (13)
107
+  Tests 86 passed (242)
108
+  Start at 22:51:45
109
+  Duration 524ms
110
+ [?2026l[?2026h ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 19ms
111
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
193
112
  
194
113
  📦 Installing dependencies with npm...
195
114
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -199,71 +118,107 @@
199
118
  📦 Installing dependencies with npm...
200
119
 
201
120
 
202
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
121
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
203
122
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
123
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
124
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
125
+  ❯ src/__tests__/helpers/install.test.ts 0/20
126
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
127
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
128
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
204
129
 
205
-  Test Files 11 passed (13)
206
-  Tests 204 passed (248)
207
-  Start at 13:14:16
208
-  Duration 404ms
209
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
130
+  Test Files 5 passed (13)
131
+  Tests 86 passed (242)
132
+  Start at 22:51:45
133
+  Duration 524ms
134
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
210
135
  Failed to install dependencies with npm.
211
136
 
212
137
 
213
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
138
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
214
139
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
140
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
141
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
142
+  ❯ src/__tests__/helpers/install.test.ts 0/20
143
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
144
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
145
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
215
146
 
216
-  Test Files 11 passed (13)
217
-  Tests 204 passed (248)
218
-  Start at 13:14:16
219
-  Duration 404ms
220
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
147
+  Test Files 5 passed (13)
148
+  Tests 86 passed (242)
149
+  Start at 22:51:45
150
+  Duration 524ms
151
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
221
152
  
222
153
  📦 Installing dependencies with npm...
223
154
 
224
155
 
225
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
156
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
226
157
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
158
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
159
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
160
+  ❯ src/__tests__/helpers/install.test.ts 0/20
161
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
162
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
163
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
227
164
 
228
-  Test Files 11 passed (13)
229
-  Tests 204 passed (248)
230
-  Start at 13:14:16
231
-  Duration 404ms
232
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
165
+  Test Files 5 passed (13)
166
+  Tests 86 passed (242)
167
+  Start at 22:51:45
168
+  Duration 524ms
169
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
233
170
  Failed to install dependencies with npm.
234
171
 
235
172
 
236
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
173
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
237
174
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
175
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
176
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
177
+  ❯ src/__tests__/helpers/install.test.ts 0/20
178
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
179
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
180
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
238
181
 
239
-  Test Files 11 passed (13)
240
-  Tests 204 passed (248)
241
-  Start at 13:14:16
242
-  Duration 404ms
243
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
182
+  Test Files 5 passed (13)
183
+  Tests 86 passed (242)
184
+  Start at 22:51:45
185
+  Duration 524ms
186
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
244
187
  
245
188
  📦 Installing dependencies with npm...
246
189
 
247
190
 
248
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
191
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
249
192
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
193
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
194
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
195
+  ❯ src/__tests__/helpers/install.test.ts 0/20
196
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
197
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
198
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
250
199
 
251
-  Test Files 11 passed (13)
252
-  Tests 204 passed (248)
253
-  Start at 13:14:16
254
-  Duration 404ms
255
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
200
+  Test Files 5 passed (13)
201
+  Tests 86 passed (242)
202
+  Start at 22:51:45
203
+  Duration 524ms
204
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
256
205
  Failed to install dependencies with npm.
257
206
 
258
207
 
259
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
208
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
260
209
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
210
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
211
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
212
+  ❯ src/__tests__/helpers/install.test.ts 0/20
213
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
214
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
215
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
261
216
 
262
-  Test Files 11 passed (13)
263
-  Tests 204 passed (248)
264
-  Start at 13:14:16
265
-  Duration 404ms
266
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
217
+  Test Files 5 passed (13)
218
+  Tests 86 passed (242)
219
+  Start at 22:51:45
220
+  Duration 524ms
221
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
267
222
  
268
223
  📦 Installing dependencies with npm...
269
224
 
@@ -272,60 +227,107 @@
272
227
  📦 Installing dependencies with unknown...
273
228
 
274
229
 
275
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
230
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
276
231
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
232
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
233
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
234
+  ❯ src/__tests__/helpers/install.test.ts 0/20
235
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
236
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
237
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
277
238
 
278
-  Test Files 11 passed (13)
279
-  Tests 204 passed (248)
280
-  Start at 13:14:16
281
-  Duration 404ms
282
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
239
+  Test Files 5 passed (13)
240
+  Tests 86 passed (242)
241
+  Start at 22:51:45
242
+  Duration 524ms
243
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
283
244
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
284
245
 
285
246
 
286
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
247
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
287
248
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
249
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
250
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
251
+  ❯ src/__tests__/helpers/install.test.ts 0/20
252
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
253
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
254
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
288
255
 
289
-  Test Files 11 passed (13)
290
-  Tests 204 passed (248)
291
-  Start at 13:14:16
292
-  Duration 404ms
293
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
256
+  Test Files 5 passed (13)
257
+  Tests 86 passed (242)
258
+  Start at 22:51:45
259
+  Duration 524ms
260
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
294
261
  
295
262
  📦 Installing dependencies with npm...
296
263
 
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
264
 
301
-  ❯ src/__tests__/cloudflare-template.test.ts 1/24
265
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
302
266
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
267
+  ❯ src/__tests__/helpers/generate-config.test.ts 0/25
268
+  ❯ src/__tests__/helpers/generate-identity.test.ts 1/24
269
+  ❯ src/__tests__/helpers/install.test.ts 0/20
270
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
271
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
272
+  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
273
+
274
+  Test Files 5 passed (13)
275
+  Tests 86 passed (242)
276
+  Start at 22:51:45
277
+  Duration 524ms
278
+ [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 53ms
279
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 73ms
280
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 77ms
281
+
282
+
283
+
284
+
285
+
286
+  ❯ src/__tests__/cloudflare-template.test.ts 3/30
287
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 4/21
303
288
 
304
289
   Test Files 11 passed (13)
305
-  Tests 204 passed (248)
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
290
+  Tests 210 passed (254)
291
+  Start at 22:51:45
292
+  Duration 624ms
293
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
294
+ [RemoteConfig] Neither projectId nor agentDid provided
295
+
296
+
297
+
298
+
299
+  ❯ src/__tests__/cloudflare-template.test.ts 3/30
300
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 4/21
301
+
302
+  Test Files 11 passed (13)
303
+  Tests 210 passed (254)
304
+  Start at 22:51:45
305
+  Duration 624ms
306
+ [?2026l[?2026h ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 70ms
307
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 8ms
308
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 293ms
309
+
310
+  ❯ src/__tests__/cloudflare-template.test.ts 3/30
311
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 4/21
312
+
313
+  Test Files 11 passed (13)
314
+  Tests 210 passed (254)
315
+  Start at 22:51:45
316
+  Duration 624ms
317
+ [?2026l ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 168ms
318
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 258ms
310
319
 
311
320
   Test Files  13 passed (13)
312
-  Tests  248 passed (248)
313
-  Start at  13:14:16
314
-  Duration  446ms (transform 721ms, setup 0ms, collect 1.03s, tests 448ms, environment 1ms, prepare 168ms)
321
+  Tests  252 passed | 2 skipped (254)
322
+  Start at  22:51:45
323
+  Duration  810ms (transform 986ms, setup 0ms, collect 1.63s, tests 1.06s, environment 1ms, prepare 362ms)
315
324
 
316
325
   % Coverage report from v8
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
- ------------------------------------|---------|----------|---------|---------|-------------------
326
+
327
+ =============================== Coverage summary ===============================
328
+ Statements : 26.32% ( 214/813 )
329
+ Branches : 24.63% ( 102/414 )
330
+ Functions : 32.14% ( 18/56 )
331
+ Lines : 26.51% ( 214/807 )
332
+ ================================================================================
331
333
  [?25h