@kya-os/create-mcpi-app 1.7.42-canary.71 → 1.7.42-canary.73

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.42-canary.68 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > @kya-os/create-mcpi-app@1.7.42-canary.71 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
4
  > vitest run --coverage
5
5
 
6
6
  [?25l
@@ -8,48 +8,38 @@
8
8
  Coverage enabled with v8
9
9
 
10
10
  [?2026h
11
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
12
-
13
-  Test Files 0 passed (14)
14
-  Tests 0 passed (0)
15
-  Start at 11:40:25
16
-  Duration 203ms
17
- [?2026l[?2026h
18
-  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
19
-  ❯ src/__tests__/helpers/install.test.ts [queued]
20
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
21
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
22
-  ❯ test-cloudflare/tests/cache-invalidation.test.ts [queued]
23
-  ❯ test-cloudflare/tests/do-routing.test.ts [queued]
24
-  ❯ test-cloudflare/tests/session-management.test.ts [queued]
11
+  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
25
12
 
26
13
   Test Files 0 passed (14)
27
14
   Tests 0 passed (0)
28
-  Start at 11:40:25
29
-  Duration 303ms
30
- [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
31
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
15
+  Start at 14:30:31
16
+  Duration 103ms
17
+ [?2026l[?2026hstdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
32
18
  [Session] Created session: secure-session
33
19
 
34
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
35
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 16ms
20
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 20ms
36
21
 
37
22
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
38
23
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
39
24
   ❯ src/__tests__/helpers/generate-config.test.ts [queued]
40
-  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
41
-  ❯ src/__tests__/helpers/install.test.ts 0/20
42
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
25
+  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
26
+  ❯ src/__tests__/helpers/install.test.ts [queued]
27
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
43
28
   ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
44
29
   ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
45
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
30
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts 1/9
31
+  ❯ test-cloudflare/tests/cache-invalidation.test.ts 0/18
32
+  ❯ test-cloudflare/tests/cors-security.test.ts 0/29
46
33
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
47
34
 
48
-  Test Files 3 passed (14)
49
-  Tests 44 passed (137)
50
-  Start at 11:40:25
51
-  Duration 406ms
52
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
35
+  Test Files 1 passed (14)
36
+  Tests 18 passed (87)
37
+  Start at 14:30:31
38
+  Duration 219ms
39
+ [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
40
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
41
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
42
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
53
43
  
54
44
  📦 Installing dependencies with npm...
55
45
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -64,170 +54,174 @@
64
54
  📦 Installing dependencies with pnpm...
65
55
  ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
66
56
 
57
+
58
+
59
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
60
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
61
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
62
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
63
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
64
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
65
+
66
+  Test Files 8 passed (14)
67
+  Tests 163 passed (246)
68
+  Start at 14:30:31
69
+  Duration 320ms
70
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
71
+ [RemoteConfig] Neither projectId nor agentDid provided
72
+
73
+
74
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
75
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
76
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
77
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
78
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
79
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
80
+
81
+  Test Files 8 passed (14)
82
+  Tests 163 passed (246)
83
+  Start at 14:30:31
84
+  Duration 320ms
85
+ [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
86
+ 
87
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
88
+
89
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 6ms
67
90
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
68
91
  
69
92
  📦 Installing dependencies with npm...
70
93
  ✓ Lockfile created (package-lock.json) - remember to commit it
71
94
 
72
95
 
73
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
74
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
75
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
96
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
97
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
76
98
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
77
-  ❯ src/__tests__/helpers/install.test.ts 1/20
78
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
79
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
80
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
81
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
82
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
99
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
100
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
101
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
83
102
 
84
-  Test Files 3 passed (14)
85
-  Tests 45 passed (137)
86
-  Start at 11:40:25
87
-  Duration 537ms
88
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
103
+  Test Files 8 passed (14)
104
+  Tests 163 passed (246)
105
+  Start at 14:30:31
106
+  Duration 320ms
107
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
89
108
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
90
109
 
91
110
 
92
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
93
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
94
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
111
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
112
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
95
113
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
96
-  ❯ src/__tests__/helpers/install.test.ts 1/20
97
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
98
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
99
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
100
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
101
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
114
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
115
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
116
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
102
117
 
103
-  Test Files 3 passed (14)
104
-  Tests 45 passed (137)
105
-  Start at 11:40:25
106
-  Duration 537ms
107
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
118
+  Test Files 8 passed (14)
119
+  Tests 163 passed (246)
120
+  Start at 14:30:31
121
+  Duration 320ms
122
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
108
123
  
109
124
  📦 Installing dependencies with npm...
110
125
  ✓ Lockfile created (package-lock.json) - remember to commit it
111
126
 
127
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
128
+ 🔑 Generating cryptographic identity...
129
+
112
130
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
113
131
  
114
132
  📦 Installing dependencies with npm...
115
133
 
116
134
 
117
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
118
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
119
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
135
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
136
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
120
137
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
121
-  ❯ src/__tests__/helpers/install.test.ts 1/20
122
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
123
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
124
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
125
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
126
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
138
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
139
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
140
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
127
141
 
128
-  Test Files 3 passed (14)
129
-  Tests 45 passed (137)
130
-  Start at 11:40:25
131
-  Duration 537ms
132
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
142
+  Test Files 8 passed (14)
143
+  Tests 163 passed (246)
144
+  Start at 14:30:31
145
+  Duration 320ms
146
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
133
147
  Failed to install dependencies with npm.
134
148
 
135
149
 
136
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
137
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
138
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
150
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
151
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
139
152
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
140
-  ❯ src/__tests__/helpers/install.test.ts 1/20
141
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
142
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
143
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
144
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
145
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
153
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
154
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
155
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
146
156
 
147
-  Test Files 3 passed (14)
148
-  Tests 45 passed (137)
149
-  Start at 11:40:25
150
-  Duration 537ms
151
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
157
+  Test Files 8 passed (14)
158
+  Tests 163 passed (246)
159
+  Start at 14:30:31
160
+  Duration 320ms
161
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
152
162
  
153
163
  📦 Installing dependencies with npm...
154
164
 
155
165
 
156
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
157
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
158
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
166
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
167
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
159
168
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
160
-  ❯ src/__tests__/helpers/install.test.ts 1/20
161
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
162
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
163
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
164
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
165
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
169
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
170
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
171
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
166
172
 
167
-  Test Files 3 passed (14)
168
-  Tests 45 passed (137)
169
-  Start at 11:40:25
170
-  Duration 537ms
171
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
173
+  Test Files 8 passed (14)
174
+  Tests 163 passed (246)
175
+  Start at 14:30:31
176
+  Duration 320ms
177
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
172
178
  Failed to install dependencies with npm.
173
179
 
174
180
 
175
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
176
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
177
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
181
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
182
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
178
183
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
179
-  ❯ src/__tests__/helpers/install.test.ts 1/20
180
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
181
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
182
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
183
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
184
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
184
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
185
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
186
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
185
187
 
186
-  Test Files 3 passed (14)
187
-  Tests 45 passed (137)
188
-  Start at 11:40:25
189
-  Duration 537ms
190
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
188
+  Test Files 8 passed (14)
189
+  Tests 163 passed (246)
190
+  Start at 14:30:31
191
+  Duration 320ms
192
+ [?2026l[?2026h ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 56ms
193
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
191
194
  
192
195
  📦 Installing dependencies with npm...
193
196
 
194
197
 
195
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
196
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
197
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
198
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
199
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
198
200
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
199
-  ❯ src/__tests__/helpers/install.test.ts 1/20
200
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
201
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
202
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
203
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
204
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
201
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
202
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
203
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
205
204
 
206
-  Test Files 3 passed (14)
207
-  Tests 45 passed (137)
208
-  Start at 11:40:25
209
-  Duration 537ms
210
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
205
+  Test Files 8 passed (14)
206
+  Tests 163 passed (246)
207
+  Start at 14:30:31
208
+  Duration 320ms
209
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
211
210
  Failed to install dependencies with npm.
212
211
 
213
212
 
214
-  ❯ src/__tests__/cloudflare-template.test.ts [queued]
215
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
216
-  ❯ src/__tests__/helpers/generate-config.test.ts [queued]
213
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
214
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
217
215
   ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
218
-  ❯ src/__tests__/helpers/install.test.ts 1/20
219
-  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
220
-  ❯ src/__tests__/scaffolder-envprefix.test.ts [queued]
221
-  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
222
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
223
-  ❯ test-cloudflare/tests/do-routing.test.ts 0/14
216
+  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
217
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
218
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
224
219
 
225
-  Test Files 3 passed (14)
226
-  Tests 45 passed (137)
227
-  Start at 11:40:25
228
-  Duration 537ms
229
- [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
230
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
220
+  Test Files 8 passed (14)
221
+  Tests 163 passed (246)
222
+  Start at 14:30:31
223
+  Duration 320ms
224
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
231
225
  
232
226
  📦 Installing dependencies with npm...
233
227
 
@@ -236,68 +230,38 @@
236
230
  📦 Installing dependencies with unknown...
237
231
 
238
232
 
239
-
240
-
241
-
242
-
243
233
   ❯ src/__tests__/cloudflare-template.test.ts 0/30
244
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
234
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
235
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
245
236
   ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
237
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
238
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
246
239
 
247
-  Test Files 11 passed (14)
248
-  Tests 204 passed (258)
249
-  Start at 11:40:25
250
-  Duration 638ms
251
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
240
+  Test Files 8 passed (14)
241
+  Tests 163 passed (246)
242
+  Start at 14:30:31
243
+  Duration 320ms
244
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
252
245
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
253
246
 
254
247
 
255
-
256
-
257
248
   ❯ src/__tests__/cloudflare-template.test.ts 0/30
258
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
249
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
250
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
259
251
   ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
252
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
253
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
260
254
 
261
-  Test Files 11 passed (14)
262
-  Tests 204 passed (258)
263
-  Start at 11:40:25
264
-  Duration 638ms
265
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
255
+  Test Files 8 passed (14)
256
+  Tests 163 passed (246)
257
+  Start at 14:30:31
258
+  Duration 320ms
259
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
266
260
  
267
261
  📦 Installing dependencies with npm...
268
262
 
269
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 152ms
270
-
271
-  ❯ src/__tests__/cloudflare-template.test.ts 0/30
272
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
273
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
274
-
275
-  Test Files 11 passed (14)
276
-  Tests 204 passed (258)
277
-  Start at 11:40:25
278
-  Duration 638ms
279
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
280
- [RemoteConfig] Neither projectId nor agentDid provided
281
-
282
-
283
-  ❯ src/__tests__/cloudflare-template.test.ts 0/30
284
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
285
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
286
-
287
-  Test Files 11 passed (14)
288
-  Tests 204 passed (258)
289
-  Start at 11:40:25
290
-  Duration 638ms
291
- [?2026l[?2026h ✓ src/__tests__/helpers/install.test.ts (20 tests) 145ms
292
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
293
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
294
- 
295
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
296
-
297
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
298
- 🔑 Generating cryptographic identity...
299
-
300
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 181ms
263
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 53ms
264
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 67ms
301
265
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
302
266
  ✔ Created Cloudflare MCP-I template files
303
267
  - Generated identity keys in .dev.vars
@@ -305,305 +269,6 @@
305
269
  - Created modular tool structure
306
270
  - Created setup script for KV namespace creation
307
271
 
308
- 📦 Installing dependencies...
309
-
310
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 51ms
311
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
312
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 261ms
313
-
314
-  ❯ src/__tests__/cloudflare-template.test.ts 0/30
315
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
316
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
317
-
318
-  Test Files 11 passed (14)
319
-  Tests 204 passed (258)
320
-  Start at 11:40:25
321
-  Duration 638ms
322
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
323
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
324
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
325
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
326
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
327
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
328
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
329
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
330
-
331
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
332
-
333
-  Test Files 13 passed (14)
334
-  Tests 252 passed | 2 skipped (258)
335
-  Start at 11:40:25
336
-  Duration 940ms
337
- [?2026l[?2026h ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 140ms
338
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 170ms
339
-
340
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
341
-
342
-  Test Files 13 passed (14)
343
-  Tests 252 passed | 2 skipped (258)
344
-  Start at 11:40:25
345
-  Duration 940ms
346
- [?2026l[?2026h
347
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
348
-
349
-  Test Files 13 passed (14)
350
-  Tests 252 passed | 2 skipped (258)
351
-  Start at 11:40:25
352
-  Duration 1.95s
353
- [?2026l[?2026h
354
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
355
-
356
-  Test Files 13 passed (14)
357
-  Tests 252 passed | 2 skipped (258)
358
-  Start at 11:40:25
359
-  Duration 2.96s
360
- [?2026l[?2026hnpm warn deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
361
- npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
362
-
363
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
364
-
365
-  Test Files 13 passed (14)
366
-  Tests 252 passed | 2 skipped (258)
367
-  Start at 11:40:25
368
-  Duration 3.96s
369
- [?2026l[?2026h
370
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
371
-
372
-  Test Files 13 passed (14)
373
-  Tests 252 passed | 2 skipped (258)
374
-  Start at 11:40:25
375
-  Duration 4.97s
376
- [?2026l[?2026h
377
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
378
-
379
-  Test Files 13 passed (14)
380
-  Tests 252 passed | 2 skipped (258)
381
-  Start at 11:40:25
382
-  Duration 5.98s
383
- [?2026l[?2026h
384
- added 285 packages, and audited 286 packages in 6s
385
-
386
- 68 packages are looking for funding
387
- run `npm fund` for details
388
-
389
- 8 vulnerabilities (4 moderate, 3 high, 1 critical)
390
-
391
- To address all issues (including breaking changes), run:
392
- npm audit fix --force
393
-
394
- Run `npm audit` for details.
395
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
396
- 
397
- 🔍 Verifying package versions...
398
-
399
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
400
- ✅ @kya-os/mcp-i-cloudflare@1.5.8-canary.64 installed correctly
401
-
402
- 🔧 Running setup script to create KV namespaces...
403
-
404
-
405
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
406
-
407
-  Test Files 13 passed (14)
408
-  Tests 252 passed | 2 skipped (258)
409
-  Start at 11:40:25
410
-  Duration 6.99s
411
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
412
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
413
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
414
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
415
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
416
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
417
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
418
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
419
-
420
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
421
-
422
-  Test Files 13 passed (14)
423
-  Tests 252 passed | 2 skipped (258)
424
-  Start at 11:40:25
425
-  Duration 6.99s
426
- [?2026l[?2026h
427
- > test-agent@0.1.0 setup
428
- > node scripts/setup.js
429
-
430
- 🚀 Setting up MCP-I Cloudflare Worker...
431
-
432
- 🔐 Checking Cloudflare authentication...
433
-
434
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
435
-
436
-  Test Files 13 passed (14)
437
-  Tests 252 passed | 2 skipped (258)
438
-  Start at 11:40:25
439
-  Duration 6.99s
440
- [?2026l[?2026h
441
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
442
-
443
-  Test Files 13 passed (14)
444
-  Tests 252 passed | 2 skipped (258)
445
-  Start at 11:40:25
446
-  Duration 7.99s
447
- [?2026l[?2026h✅ Logged in to Cloudflare
448
-
449
- 📦 Creating KV namespaces...
450
-
451
-
452
- 📦 Creating NONCE_CACHE...
453
- Description: Nonce cache for replay attack prevention
454
-
455
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
456
-
457
-  Test Files 13 passed (14)
458
-  Tests 252 passed | 2 skipped (258)
459
-  Start at 11:40:25
460
-  Duration 9.00s
461
- [?2026l[?2026h
462
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
463
-
464
-  Test Files 13 passed (14)
465
-  Tests 252 passed | 2 skipped (258)
466
-  Start at 11:40:25
467
-  Duration 9.91s
468
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
469
-
470
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
471
-
472
-  Test Files 13 passed (14)
473
-  Tests 252 passed | 2 skipped (258)
474
-  Start at 11:40:25
475
-  Duration 10.92s
476
- [?2026l[?2026h
477
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
478
-
479
-  Test Files 13 passed (14)
480
-  Tests 252 passed | 2 skipped (258)
481
-  Start at 11:40:25
482
-  Duration 11.93s
483
- [?2026l[?2026h ✓ Namespace TEST_AGENT_NONCE_CACHE already exists
484
- ✅ Updated wrangler.toml with TEST_AGENT_NONCE_CACHE namespace ID: 28ea55710de64255809bf983b369d9d2
485
- ✅ Updated wrangler.toml with existing ID: 28ea55710de64255809bf983b369d9d2
486
-
487
- 📦 Creating PROOF_ARCHIVE...
488
- Description: Proof archive for auditability
489
-
490
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
491
-
492
-  Test Files 13 passed (14)
493
-  Tests 252 passed | 2 skipped (258)
494
-  Start at 11:40:25
495
-  Duration 12.94s
496
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
497
-
498
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
499
-
500
-  Test Files 13 passed (14)
501
-  Tests 252 passed | 2 skipped (258)
502
-  Start at 11:40:25
503
-  Duration 13.94s
504
- [?2026l[?2026h ✓ Namespace TEST_AGENT_PROOF_ARCHIVE already exists
505
- ✅ Updated wrangler.toml with TEST_AGENT_PROOF_ARCHIVE namespace ID: b2a546f3df8342fda54e4607fef42eeb
506
- ✅ Updated wrangler.toml with existing ID: b2a546f3df8342fda54e4607fef42eeb
507
-
508
- 📦 Creating IDENTITY_STORAGE...
509
- Description: Identity storage for persistent agent identity
510
-
511
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
512
-
513
-  Test Files 13 passed (14)
514
-  Tests 252 passed | 2 skipped (258)
515
-  Start at 11:40:25
516
-  Duration 14.95s
517
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
518
-
519
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
520
-
521
-  Test Files 13 passed (14)
522
-  Tests 252 passed | 2 skipped (258)
523
-  Start at 11:40:25
524
-  Duration 15.96s
525
- [?2026l[?2026h
526
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
527
-
528
-  Test Files 13 passed (14)
529
-  Tests 252 passed | 2 skipped (258)
530
-  Start at 11:40:25
531
-  Duration 16.97s
532
- [?2026l[?2026h ✓ Namespace TEST_AGENT_IDENTITY_STORAGE already exists
533
- ✅ Updated wrangler.toml with TEST_AGENT_IDENTITY_STORAGE namespace ID: 8ef07fbdd95745e4a29cf1c4b1aeb43f
534
- ✅ Updated wrangler.toml with existing ID: 8ef07fbdd95745e4a29cf1c4b1aeb43f
535
-
536
- 📦 Creating DELEGATION_STORAGE...
537
- Description: Delegation storage for OAuth flows
538
-
539
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
540
-
541
-  Test Files 13 passed (14)
542
-  Tests 252 passed | 2 skipped (258)
543
-  Start at 11:40:25
544
-  Duration 17.98s
545
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
546
-
547
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
548
-
549
-  Test Files 13 passed (14)
550
-  Tests 252 passed | 2 skipped (258)
551
-  Start at 11:40:25
552
-  Duration 18.98s
553
- [?2026l[?2026h
554
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
555
-
556
-  Test Files 13 passed (14)
557
-  Tests 252 passed | 2 skipped (258)
558
-  Start at 11:40:25
559
-  Duration 19.99s
560
- [?2026l[?2026h ✓ Namespace TEST_AGENT_DELEGATION_STORAGE already exists
561
- ✅ Updated wrangler.toml with TEST_AGENT_DELEGATION_STORAGE namespace ID: 92486341e481444bbeb86dacf47c2927
562
- ✅ Updated wrangler.toml with existing ID: 92486341e481444bbeb86dacf47c2927
563
-
564
- 📦 Creating TOOL_PROTECTION_KV...
565
- Description: Tool protection configuration cache
566
-
567
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
568
-
569
-  Test Files 13 passed (14)
570
-  Tests 252 passed | 2 skipped (258)
571
-  Start at 11:40:25
572
-  Duration 21.00s
573
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
574
-
575
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
576
-
577
-  Test Files 13 passed (14)
578
-  Tests 252 passed | 2 skipped (258)
579
-  Start at 11:40:25
580
-  Duration 22.01s
581
- [?2026l[?2026h ✓ Namespace TEST_AGENT_TOOL_PROTECTION_KV already exists
582
- ✅ Updated wrangler.toml with TEST_AGENT_TOOL_PROTECTION_KV namespace ID: 9f7286071da24fd48bae0bec2059c985
583
- ✅ Updated wrangler.toml with existing ID: 9f7286071da24fd48bae0bec2059c985
584
-
585
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
586
- 📊 Setup Summary:
587
- ✅ Success: 5/5 namespaces
588
- ❌ Failed: 0/5 namespaces
589
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
590
-
591
- ✨ Setup complete!
592
-
593
- 🚀 Next steps:
594
- 1. Review wrangler.toml to ensure all namespace IDs are populated
595
- 2. Review .dev.vars for secrets configuration
596
- 3. Run "npm run dev" to start the development server
597
- 4. Run "npm run deploy" to deploy to Cloudflare Workers
598
-
599
- 📝 For production deployment:
600
- wrangler secret put MCP_IDENTITY_PRIVATE_KEY
601
- wrangler secret put AGENTSHIELD_API_KEY
602
- # ADMIN_API_KEY is optional - falls back to AGENTSHIELD_API_KEY if not set
603
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
604
- 
605
- ✅ KV namespaces created successfully!
606
-
607
272
  ============================================================
608
273
  🎉 Cloudflare MCP-I project created successfully!
609
274
  ============================================================
@@ -624,25 +289,26 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
624
289
  cd test-agent
625
290
 
626
291
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
627
-  npm run dev # Start local development
292
+  wrangler login # Login to Cloudflare first!
293
+ npm run setup # Create KV namespaces
294
+ npm run dev # Start local development
628
295
  npm run deploy # Deploy to Cloudflare
629
296
 
630
297
 
631
298
 
299
+  ❯ src/__tests__/cloudflare-template.test.ts 0/30
300
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
301
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
632
302
   ❯ src/__tests__/scaffolder-envprefix.test.ts 0/4
303
+  ❯ test-cloudflare/tests/delegation.test.ts [queued]
304
+  ❯ test-cloudflare/tests/do-routing.test.ts 10/14
633
305
 
634
-  Test Files 13 passed (14)
635
-  Tests 252 passed | 2 skipped (258)
636
-  Start at 11:40:25
637
-  Duration 23.02s
638
- [?2026l[?2026h
639
-  src/__tests__/scaffolder-envprefix.test.ts 0/4
640
-
641
-  Test Files 13 passed (14)
642
-  Tests 252 passed | 2 skipped (258)
643
-  Start at 11:40:25
644
-  Duration 23.92s
645
- [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
306
+  Test Files 8 passed (14)
307
+  Tests 163 passed (246)
308
+  Start at 14:30:31
309
+  Duration 320ms
310
+ [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 83ms
311
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
646
312
  
647
313
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
648
314
 
@@ -656,301 +322,16 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
656
322
  - Created modular tool structure
657
323
  - Created setup script for KV namespace creation
658
324
 
659
- 📦 Installing dependencies...
660
-
325
+ ============================================================
326
+ 🎉 Cloudflare MCP-I project created successfully!
327
+ ============================================================
661
328
 
662
-  src/__tests__/scaffolder-envprefix.test.ts 1/4
329
+ 📝 Important Configuration Notes:
663
330
 
664
-  Test Files 13 passed (14)
665
-  Tests 253 passed | 2 skipped (258)
666
-  Start at 11:40:25
667
-  Duration 24.22s
668
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
669
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
670
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
671
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
672
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
673
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
674
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
675
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
676
-
677
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
678
-
679
-  Test Files 13 passed (14)
680
-  Tests 253 passed | 2 skipped (258)
681
-  Start at 11:40:25
682
-  Duration 24.22s
683
- [?2026l[?2026h
684
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
685
-
686
-  Test Files 13 passed (14)
687
-  Tests 253 passed | 2 skipped (258)
688
-  Start at 11:40:25
689
-  Duration 24.93s
690
- [?2026l[?2026h
691
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
692
-
693
-  Test Files 13 passed (14)
694
-  Tests 253 passed | 2 skipped (258)
695
-  Start at 11:40:25
696
-  Duration 25.94s
697
- [?2026l[?2026hnpm warn deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
698
- npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
699
-
700
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
701
-
702
-  Test Files 13 passed (14)
703
-  Tests 253 passed | 2 skipped (258)
704
-  Start at 11:40:25
705
-  Duration 26.94s
706
- [?2026l[?2026h
707
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
708
-
709
-  Test Files 13 passed (14)
710
-  Tests 253 passed | 2 skipped (258)
711
-  Start at 11:40:25
712
-  Duration 27.95s
713
- [?2026l[?2026h
714
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
715
-
716
-  Test Files 13 passed (14)
717
-  Tests 253 passed | 2 skipped (258)
718
-  Start at 11:40:25
719
-  Duration 28.96s
720
- [?2026l[?2026h
721
- added 285 packages, and audited 286 packages in 6s
722
-
723
- 68 packages are looking for funding
724
- run `npm fund` for details
725
-
726
- 8 vulnerabilities (4 moderate, 3 high, 1 critical)
727
-
728
- To address all issues (including breaking changes), run:
729
- npm audit fix --force
730
-
731
- Run `npm audit` for details.
732
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
733
- 
734
- 🔍 Verifying package versions...
735
-
736
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
737
- ✅ @kya-os/mcp-i-cloudflare@1.5.8-canary.64 installed correctly
738
-
739
- 🔧 Running setup script to create KV namespaces...
740
-
741
-
742
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
743
-
744
-  Test Files 13 passed (14)
745
-  Tests 253 passed | 2 skipped (258)
746
-  Start at 11:40:25
747
-  Duration 29.97s
748
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
749
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
750
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
751
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
752
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
753
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
754
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
755
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
756
-
757
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
758
-
759
-  Test Files 13 passed (14)
760
-  Tests 253 passed | 2 skipped (258)
761
-  Start at 11:40:25
762
-  Duration 29.97s
763
- [?2026l[?2026h
764
- > my-awesome-agent@0.1.0 setup
765
- > node scripts/setup.js
766
-
767
- 🚀 Setting up MCP-I Cloudflare Worker...
768
-
769
- 🔐 Checking Cloudflare authentication...
770
-
771
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
772
-
773
-  Test Files 13 passed (14)
774
-  Tests 253 passed | 2 skipped (258)
775
-  Start at 11:40:25
776
-  Duration 29.97s
777
- [?2026l[?2026h
778
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
779
-
780
-  Test Files 13 passed (14)
781
-  Tests 253 passed | 2 skipped (258)
782
-  Start at 11:40:25
783
-  Duration 30.97s
784
- [?2026l[?2026h✅ Logged in to Cloudflare
785
-
786
- 📦 Creating KV namespaces...
787
-
788
-
789
- 📦 Creating NONCE_CACHE...
790
- Description: Nonce cache for replay attack prevention
791
-
792
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
793
-
794
-  Test Files 13 passed (14)
795
-  Tests 253 passed | 2 skipped (258)
796
-  Start at 11:40:25
797
-  Duration 31.98s
798
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
799
-
800
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
801
-
802
-  Test Files 13 passed (14)
803
-  Tests 253 passed | 2 skipped (258)
804
-  Start at 11:40:25
805
-  Duration 32.99s
806
- [?2026l[?2026h ✓ Namespace MY_AWESOME_AGENT_NONCE_CACHE already exists
807
- ✅ Updated wrangler.toml with MY_AWESOME_AGENT_NONCE_CACHE namespace ID: 22e577ce7cd247d0b0507d6617b68be4
808
- ✅ Updated wrangler.toml with existing ID: 22e577ce7cd247d0b0507d6617b68be4
809
-
810
- 📦 Creating PROOF_ARCHIVE...
811
- Description: Proof archive for auditability
812
-
813
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
814
-
815
-  Test Files 13 passed (14)
816
-  Tests 253 passed | 2 skipped (258)
817
-  Start at 11:40:25
818
-  Duration 34.00s
819
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
820
-
821
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
822
-
823
-  Test Files 13 passed (14)
824
-  Tests 253 passed | 2 skipped (258)
825
-  Start at 11:40:25
826
-  Duration 35.01s
827
- [?2026l[?2026h
828
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
829
-
830
-  Test Files 13 passed (14)
831
-  Tests 253 passed | 2 skipped (258)
832
-  Start at 11:40:25
833
-  Duration 36.02s
834
- [?2026l[?2026h ✓ Namespace MY_AWESOME_AGENT_PROOF_ARCHIVE already exists
835
- ✅ Updated wrangler.toml with MY_AWESOME_AGENT_PROOF_ARCHIVE namespace ID: 8d1b3feefaef4e14924939f69da8a2cf
836
- ✅ Updated wrangler.toml with existing ID: 8d1b3feefaef4e14924939f69da8a2cf
837
-
838
- 📦 Creating IDENTITY_STORAGE...
839
- Description: Identity storage for persistent agent identity
840
-
841
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
842
-
843
-  Test Files 13 passed (14)
844
-  Tests 253 passed | 2 skipped (258)
845
-  Start at 11:40:25
846
-  Duration 37.03s
847
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
848
-
849
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
850
-
851
-  Test Files 13 passed (14)
852
-  Tests 253 passed | 2 skipped (258)
853
-  Start at 11:40:25
854
-  Duration 37.94s
855
- [?2026l[?2026h
856
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
857
-
858
-  Test Files 13 passed (14)
859
-  Tests 253 passed | 2 skipped (258)
860
-  Start at 11:40:25
861
-  Duration 38.94s
862
- [?2026l[?2026h ✓ Namespace MY_AWESOME_AGENT_IDENTITY_STORAGE already exists
863
- ✅ Updated wrangler.toml with MY_AWESOME_AGENT_IDENTITY_STORAGE namespace ID: b462fca682b044cebf9b06fdd2ceb10c
864
- ✅ Updated wrangler.toml with existing ID: b462fca682b044cebf9b06fdd2ceb10c
865
-
866
- 📦 Creating DELEGATION_STORAGE...
867
- Description: Delegation storage for OAuth flows
868
-
869
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
870
-
871
-  Test Files 13 passed (14)
872
-  Tests 253 passed | 2 skipped (258)
873
-  Start at 11:40:25
874
-  Duration 39.95s
875
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
876
-
877
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
878
-
879
-  Test Files 13 passed (14)
880
-  Tests 253 passed | 2 skipped (258)
881
-  Start at 11:40:25
882
-  Duration 40.96s
883
- [?2026l[?2026h
884
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
885
-
886
-  Test Files 13 passed (14)
887
-  Tests 253 passed | 2 skipped (258)
888
-  Start at 11:40:25
889
-  Duration 41.97s
890
- [?2026l[?2026h ✓ Namespace MY_AWESOME_AGENT_DELEGATION_STORAGE already exists
891
- ✅ Updated wrangler.toml with MY_AWESOME_AGENT_DELEGATION_STORAGE namespace ID: e4c981d197614199bf242c5733a8ceab
892
- ✅ Updated wrangler.toml with existing ID: e4c981d197614199bf242c5733a8ceab
893
-
894
- 📦 Creating TOOL_PROTECTION_KV...
895
- Description: Tool protection configuration cache
896
-
897
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
898
-
899
-  Test Files 13 passed (14)
900
-  Tests 253 passed | 2 skipped (258)
901
-  Start at 11:40:25
902
-  Duration 42.98s
903
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
904
-
905
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
906
-
907
-  Test Files 13 passed (14)
908
-  Tests 253 passed | 2 skipped (258)
909
-  Start at 11:40:25
910
-  Duration 43.99s
911
- [?2026l[?2026h
912
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
913
-
914
-  Test Files 13 passed (14)
915
-  Tests 253 passed | 2 skipped (258)
916
-  Start at 11:40:25
917
-  Duration 45.00s
918
- [?2026l[?2026h ✓ Namespace MY_AWESOME_AGENT_TOOL_PROTECTION_KV already exists
919
- ✅ Updated wrangler.toml with MY_AWESOME_AGENT_TOOL_PROTECTION_KV namespace ID: be8e266642684490a26c89d76129d173
920
- ✅ Updated wrangler.toml with existing ID: be8e266642684490a26c89d76129d173
921
-
922
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
923
- 📊 Setup Summary:
924
- ✅ Success: 5/5 namespaces
925
- ❌ Failed: 0/5 namespaces
926
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
927
-
928
- ✨ Setup complete!
929
-
930
- 🚀 Next steps:
931
- 1. Review wrangler.toml to ensure all namespace IDs are populated
932
- 2. Review .dev.vars for secrets configuration
933
- 3. Run "npm run dev" to start the development server
934
- 4. Run "npm run deploy" to deploy to Cloudflare Workers
935
-
936
- 📝 For production deployment:
937
- wrangler secret put MCP_IDENTITY_PRIVATE_KEY
938
- wrangler secret put AGENTSHIELD_API_KEY
939
- # ADMIN_API_KEY is optional - falls back to AGENTSHIELD_API_KEY if not set
940
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
941
- 
942
- ✅ KV namespaces created successfully!
943
-
944
- ============================================================
945
- 🎉 Cloudflare MCP-I project created successfully!
946
- ============================================================
947
-
948
- 📝 Important Configuration Notes:
949
-
950
- 1. ADMIN_API_KEY (in .dev.vars):
951
- - Set to same value as AGENTSHIELD_API_KEY for convenience
952
- - You can change it if you need separate admin endpoint security
953
- - Required for admin endpoints like /admin/clear-cache
331
+ 1. ADMIN_API_KEY (in .dev.vars):
332
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
333
+ - You can change it if you need separate admin endpoint security
334
+ - Required for admin endpoints like /admin/clear-cache
954
335
 
955
336
  2. KV Namespaces (in wrangler.toml):
956
337
  - Required for MCP-I security features
@@ -961,38 +342,21 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
961
342
  cd my-awesome-agent
962
343
 
963
344
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
964
-  npm run dev # Start local development
345
+  wrangler login # Login to Cloudflare first!
346
+ npm run setup # Create KV namespaces
347
+ npm run dev # Start local development
965
348
  npm run deploy # Deploy to Cloudflare
966
349
 
967
350
 
968
-
969
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
970
-
971
-  Test Files 13 passed (14)
972
-  Tests 253 passed | 2 skipped (258)
973
-  Start at 11:40:25
974
-  Duration 46.01s
975
- [?2026l[?2026h
976
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
977
-
978
-  Test Files 13 passed (14)
979
-  Tests 253 passed | 2 skipped (258)
980
-  Start at 11:40:25
981
-  Duration 47.02s
982
- [?2026l[?2026h
983
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
984
-
985
-  Test Files 13 passed (14)
986
-  Tests 253 passed | 2 skipped (258)
987
-  Start at 11:40:25
988
-  Duration 48.02s
989
- [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
351
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
990
352
  
991
353
  🏗️ Generating Cloudflare MCP-I project: test-agent...
992
354
 
993
355
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
994
356
  🔑 Generating cryptographic identity...
995
357
 
358
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 170ms
359
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
996
360
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
997
361
  ✔ Created Cloudflare MCP-I template files
998
362
  - Generated identity keys in .dev.vars
@@ -1000,298 +364,6 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
1000
364
  - Created modular tool structure
1001
365
  - Created setup script for KV namespace creation
1002
366
 
1003
- 📦 Installing dependencies...
1004
-
1005
-
1006
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1007
-
1008
-  Test Files 13 passed (14)
1009
-  Tests 253 passed | 2 skipped (258)
1010
-  Start at 11:40:25
1011
-  Duration 49.03s
1012
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
1013
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
1014
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
1015
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
1016
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
1017
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
1018
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
1019
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
1020
-
1021
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1022
-
1023
-  Test Files 13 passed (14)
1024
-  Tests 253 passed | 2 skipped (258)
1025
-  Start at 11:40:25
1026
-  Duration 49.03s
1027
- [?2026l[?2026h
1028
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1029
-
1030
-  Test Files 13 passed (14)
1031
-  Tests 253 passed | 2 skipped (258)
1032
-  Start at 11:40:25
1033
-  Duration 50.04s
1034
- [?2026l[?2026hnpm warn deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
1035
- npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
1036
-
1037
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1038
-
1039
-  Test Files 13 passed (14)
1040
-  Tests 253 passed | 2 skipped (258)
1041
-  Start at 11:40:25
1042
-  Duration 50.94s
1043
- [?2026l[?2026h
1044
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1045
-
1046
-  Test Files 13 passed (14)
1047
-  Tests 253 passed | 2 skipped (258)
1048
-  Start at 11:40:25
1049
-  Duration 51.94s
1050
- [?2026l[?2026h
1051
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1052
-
1053
-  Test Files 13 passed (14)
1054
-  Tests 253 passed | 2 skipped (258)
1055
-  Start at 11:40:25
1056
-  Duration 52.95s
1057
- [?2026l[?2026h
1058
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1059
-
1060
-  Test Files 13 passed (14)
1061
-  Tests 253 passed | 2 skipped (258)
1062
-  Start at 11:40:25
1063
-  Duration 53.96s
1064
- [?2026l[?2026h
1065
- added 285 packages, and audited 286 packages in 6s
1066
-
1067
- 68 packages are looking for funding
1068
- run `npm fund` for details
1069
-
1070
- 8 vulnerabilities (4 moderate, 3 high, 1 critical)
1071
-
1072
- To address all issues (including breaking changes), run:
1073
- npm audit fix --force
1074
-
1075
- Run `npm audit` for details.
1076
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
1077
- 
1078
- 🔍 Verifying package versions...
1079
-
1080
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
1081
- ✅ @kya-os/mcp-i-cloudflare@1.5.8-canary.64 installed correctly
1082
-
1083
- 🔧 Running setup script to create KV namespaces...
1084
-
1085
-
1086
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1087
-
1088
-  Test Files 13 passed (14)
1089
-  Tests 253 passed | 2 skipped (258)
1090
-  Start at 11:40:25
1091
-  Duration 54.97s
1092
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
1093
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
1094
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
1095
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
1096
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
1097
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
1098
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
1099
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
1100
-
1101
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1102
-
1103
-  Test Files 13 passed (14)
1104
-  Tests 253 passed | 2 skipped (258)
1105
-  Start at 11:40:25
1106
-  Duration 54.97s
1107
- [?2026l[?2026h
1108
- > test-agent@0.1.0 setup
1109
- > node scripts/setup.js
1110
-
1111
- 🚀 Setting up MCP-I Cloudflare Worker...
1112
-
1113
- 🔐 Checking Cloudflare authentication...
1114
-
1115
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1116
-
1117
-  Test Files 13 passed (14)
1118
-  Tests 253 passed | 2 skipped (258)
1119
-  Start at 11:40:25
1120
-  Duration 54.97s
1121
- [?2026l[?2026h✅ Logged in to Cloudflare
1122
-
1123
- 📦 Creating KV namespaces...
1124
-
1125
-
1126
- 📦 Creating NONCE_CACHE...
1127
- Description: Nonce cache for replay attack prevention
1128
-
1129
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1130
-
1131
-  Test Files 13 passed (14)
1132
-  Tests 253 passed | 2 skipped (258)
1133
-  Start at 11:40:25
1134
-  Duration 55.98s
1135
- [?2026l[?2026h
1136
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1137
-
1138
-  Test Files 13 passed (14)
1139
-  Tests 253 passed | 2 skipped (258)
1140
-  Start at 11:40:25
1141
-  Duration 56.99s
1142
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1143
-
1144
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1145
-
1146
-  Test Files 13 passed (14)
1147
-  Tests 253 passed | 2 skipped (258)
1148
-  Start at 11:40:25
1149
-  Duration 58.00s
1150
- [?2026l[?2026h
1151
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1152
-
1153
-  Test Files 13 passed (14)
1154
-  Tests 253 passed | 2 skipped (258)
1155
-  Start at 11:40:25
1156
-  Duration 59.01s
1157
- [?2026l[?2026h ✓ Namespace TEST_AGENT_NONCE_CACHE already exists
1158
- ✅ Updated wrangler.toml with TEST_AGENT_NONCE_CACHE namespace ID: 28ea55710de64255809bf983b369d9d2
1159
- ✅ Updated wrangler.toml with existing ID: 28ea55710de64255809bf983b369d9d2
1160
-
1161
- 📦 Creating PROOF_ARCHIVE...
1162
- Description: Proof archive for auditability
1163
-
1164
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1165
-
1166
-  Test Files 13 passed (14)
1167
-  Tests 253 passed | 2 skipped (258)
1168
-  Start at 11:40:25
1169
-  Duration 60.02s
1170
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1171
-
1172
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1173
-
1174
-  Test Files 13 passed (14)
1175
-  Tests 253 passed | 2 skipped (258)
1176
-  Start at 11:40:25
1177
-  Duration 61.03s
1178
- [?2026l[?2026h
1179
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1180
-
1181
-  Test Files 13 passed (14)
1182
-  Tests 253 passed | 2 skipped (258)
1183
-  Start at 11:40:25
1184
-  Duration 62.04s
1185
- [?2026l[?2026h ✓ Namespace TEST_AGENT_PROOF_ARCHIVE already exists
1186
- ✅ Updated wrangler.toml with TEST_AGENT_PROOF_ARCHIVE namespace ID: b2a546f3df8342fda54e4607fef42eeb
1187
- ✅ Updated wrangler.toml with existing ID: b2a546f3df8342fda54e4607fef42eeb
1188
-
1189
- 📦 Creating IDENTITY_STORAGE...
1190
- Description: Identity storage for persistent agent identity
1191
-
1192
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1193
-
1194
-  Test Files 13 passed (14)
1195
-  Tests 253 passed | 2 skipped (258)
1196
-  Start at 11:40:25
1197
-  Duration 63.04s
1198
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1199
-
1200
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1201
-
1202
-  Test Files 13 passed (14)
1203
-  Tests 253 passed | 2 skipped (258)
1204
-  Start at 11:40:25
1205
-  Duration 63.95s
1206
- [?2026l[?2026h
1207
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1208
-
1209
-  Test Files 13 passed (14)
1210
-  Tests 253 passed | 2 skipped (258)
1211
-  Start at 11:40:25
1212
-  Duration 64.96s
1213
- [?2026l[?2026h ✓ Namespace TEST_AGENT_IDENTITY_STORAGE already exists
1214
- ✅ Updated wrangler.toml with TEST_AGENT_IDENTITY_STORAGE namespace ID: 8ef07fbdd95745e4a29cf1c4b1aeb43f
1215
- ✅ Updated wrangler.toml with existing ID: 8ef07fbdd95745e4a29cf1c4b1aeb43f
1216
-
1217
- 📦 Creating DELEGATION_STORAGE...
1218
- Description: Delegation storage for OAuth flows
1219
-
1220
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1221
-
1222
-  Test Files 13 passed (14)
1223
-  Tests 253 passed | 2 skipped (258)
1224
-  Start at 11:40:25
1225
-  Duration 65.97s
1226
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1227
-
1228
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1229
-
1230
-  Test Files 13 passed (14)
1231
-  Tests 253 passed | 2 skipped (258)
1232
-  Start at 11:40:25
1233
-  Duration 66.98s
1234
- [?2026l[?2026h
1235
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1236
-
1237
-  Test Files 13 passed (14)
1238
-  Tests 253 passed | 2 skipped (258)
1239
-  Start at 11:40:25
1240
-  Duration 67.99s
1241
- [?2026l[?2026h ✓ Namespace TEST_AGENT_DELEGATION_STORAGE already exists
1242
- ✅ Updated wrangler.toml with TEST_AGENT_DELEGATION_STORAGE namespace ID: 92486341e481444bbeb86dacf47c2927
1243
- ✅ Updated wrangler.toml with existing ID: 92486341e481444bbeb86dacf47c2927
1244
-
1245
- 📦 Creating TOOL_PROTECTION_KV...
1246
- Description: Tool protection configuration cache
1247
-
1248
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1249
-
1250
-  Test Files 13 passed (14)
1251
-  Tests 253 passed | 2 skipped (258)
1252
-  Start at 11:40:25
1253
-  Duration 69.00s
1254
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1255
-
1256
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1257
-
1258
-  Test Files 13 passed (14)
1259
-  Tests 253 passed | 2 skipped (258)
1260
-  Start at 11:40:25
1261
-  Duration 70.01s
1262
- [?2026l[?2026h
1263
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 1/4
1264
-
1265
-  Test Files 13 passed (14)
1266
-  Tests 253 passed | 2 skipped (258)
1267
-  Start at 11:40:25
1268
-  Duration 71.02s
1269
- [?2026l[?2026h ✓ Namespace TEST_AGENT_TOOL_PROTECTION_KV already exists
1270
- ✅ Updated wrangler.toml with TEST_AGENT_TOOL_PROTECTION_KV namespace ID: 9f7286071da24fd48bae0bec2059c985
1271
- ✅ Updated wrangler.toml with existing ID: 9f7286071da24fd48bae0bec2059c985
1272
-
1273
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1274
- 📊 Setup Summary:
1275
- ✅ Success: 5/5 namespaces
1276
- ❌ Failed: 0/5 namespaces
1277
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1278
-
1279
- ✨ Setup complete!
1280
-
1281
- 🚀 Next steps:
1282
- 1. Review wrangler.toml to ensure all namespace IDs are populated
1283
- 2. Review .dev.vars for secrets configuration
1284
- 3. Run "npm run dev" to start the development server
1285
- 4. Run "npm run deploy" to deploy to Cloudflare Workers
1286
-
1287
- 📝 For production deployment:
1288
- wrangler secret put MCP_IDENTITY_PRIVATE_KEY
1289
- wrangler secret put AGENTSHIELD_API_KEY
1290
- # ADMIN_API_KEY is optional - falls back to AGENTSHIELD_API_KEY if not set
1291
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
1292
- 
1293
- ✅ KV namespaces created successfully!
1294
-
1295
367
  ============================================================
1296
368
  🎉 Cloudflare MCP-I project created successfully!
1297
369
  ============================================================
@@ -1312,25 +384,13 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
1312
384
  cd test-agent
1313
385
 
1314
386
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
1315
-  npm run dev # Start local development
387
+  wrangler login # Login to Cloudflare first!
388
+ npm run setup # Create KV namespaces
389
+ npm run dev # Start local development
1316
390
  npm run deploy # Deploy to Cloudflare
1317
391
 
1318
392
 
1319
-
1320
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 2/4
1321
-
1322
-  Test Files 13 passed (14)
1323
-  Tests 254 passed | 2 skipped (258)
1324
-  Start at 11:40:25
1325
-  Duration 71.42s
1326
- [?2026l[?2026h
1327
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 2/4
1328
-
1329
-  Test Files 13 passed (14)
1330
-  Tests 254 passed | 2 skipped (258)
1331
-  Start at 11:40:25
1332
-  Duration 72.02s
1333
- [?2026l[?2026hstdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
393
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
1334
394
  
1335
395
  🏗️ Generating Cloudflare MCP-I project: test-agent...
1336
396
 
@@ -1344,319 +404,6 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
1344
404
  - Created modular tool structure
1345
405
  - Created setup script for KV namespace creation
1346
406
 
1347
- 📦 Installing dependencies...
1348
-
1349
-
1350
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1351
-
1352
-  Test Files 13 passed (14)
1353
-  Tests 255 passed | 2 skipped (258)
1354
-  Start at 11:40:25
1355
-  Duration 72.83s
1356
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
1357
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
1358
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
1359
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
1360
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
1361
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
1362
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
1363
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
1364
-
1365
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1366
-
1367
-  Test Files 13 passed (14)
1368
-  Tests 255 passed | 2 skipped (258)
1369
-  Start at 11:40:25
1370
-  Duration 72.83s
1371
- [?2026l[?2026h
1372
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1373
-
1374
-  Test Files 13 passed (14)
1375
-  Tests 255 passed | 2 skipped (258)
1376
-  Start at 11:40:25
1377
-  Duration 73.03s
1378
- [?2026l[?2026h
1379
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1380
-
1381
-  Test Files 13 passed (14)
1382
-  Tests 255 passed | 2 skipped (258)
1383
-  Start at 11:40:25
1384
-  Duration 74.04s
1385
- [?2026l[?2026hnpm warn deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
1386
-
1387
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1388
-
1389
-  Test Files 13 passed (14)
1390
-  Tests 255 passed | 2 skipped (258)
1391
-  Start at 11:40:25
1392
-  Duration 75.05s
1393
- [?2026l[?2026hnpm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
1394
-
1395
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1396
-
1397
-  Test Files 13 passed (14)
1398
-  Tests 255 passed | 2 skipped (258)
1399
-  Start at 11:40:25
1400
-  Duration 76.05s
1401
- [?2026l[?2026h
1402
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1403
-
1404
-  Test Files 13 passed (14)
1405
-  Tests 255 passed | 2 skipped (258)
1406
-  Start at 11:40:25
1407
-  Duration 76.96s
1408
- [?2026l[?2026h
1409
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1410
-
1411
-  Test Files 13 passed (14)
1412
-  Tests 255 passed | 2 skipped (258)
1413
-  Start at 11:40:25
1414
-  Duration 77.97s
1415
- [?2026l[?2026h
1416
- added 285 packages, and audited 286 packages in 6s
1417
-
1418
- 68 packages are looking for funding
1419
- run `npm fund` for details
1420
-
1421
- 8 vulnerabilities (4 moderate, 3 high, 1 critical)
1422
-
1423
- To address all issues (including breaking changes), run:
1424
- npm audit fix --force
1425
-
1426
- Run `npm audit` for details.
1427
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
1428
- 
1429
- 🔍 Verifying package versions...
1430
-
1431
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
1432
- ✅ @kya-os/mcp-i-cloudflare@1.5.8-canary.64 installed correctly
1433
-
1434
- 🔧 Running setup script to create KV namespaces...
1435
-
1436
-
1437
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1438
-
1439
-  Test Files 13 passed (14)
1440
-  Tests 255 passed | 2 skipped (258)
1441
-  Start at 11:40:25
1442
-  Duration 78.98s
1443
- [?2026l[?2026hnpm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
1444
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
1445
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
1446
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
1447
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
1448
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
1449
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
1450
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
1451
-
1452
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1453
-
1454
-  Test Files 13 passed (14)
1455
-  Tests 255 passed | 2 skipped (258)
1456
-  Start at 11:40:25
1457
-  Duration 78.98s
1458
- [?2026l[?2026h
1459
- > test-agent@0.1.0 setup
1460
- > node scripts/setup.js
1461
-
1462
- 🚀 Setting up MCP-I Cloudflare Worker...
1463
-
1464
- 🔐 Checking Cloudflare authentication...
1465
-
1466
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1467
-
1468
-  Test Files 13 passed (14)
1469
-  Tests 255 passed | 2 skipped (258)
1470
-  Start at 11:40:25
1471
-  Duration 78.98s
1472
- [?2026l[?2026h
1473
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1474
-
1475
-  Test Files 13 passed (14)
1476
-  Tests 255 passed | 2 skipped (258)
1477
-  Start at 11:40:25
1478
-  Duration 79.99s
1479
- [?2026l[?2026h✅ Logged in to Cloudflare
1480
-
1481
- 📦 Creating KV namespaces...
1482
-
1483
-
1484
- 📦 Creating NONCE_CACHE...
1485
- Description: Nonce cache for replay attack prevention
1486
-
1487
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1488
-
1489
-  Test Files 13 passed (14)
1490
-  Tests 255 passed | 2 skipped (258)
1491
-  Start at 11:40:25
1492
-  Duration 80.99s
1493
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1494
-
1495
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1496
-
1497
-  Test Files 13 passed (14)
1498
-  Tests 255 passed | 2 skipped (258)
1499
-  Start at 11:40:25
1500
-  Duration 82.00s
1501
- [?2026l[?2026h
1502
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1503
-
1504
-  Test Files 13 passed (14)
1505
-  Tests 255 passed | 2 skipped (258)
1506
-  Start at 11:40:25
1507
-  Duration 83.01s
1508
- [?2026l[?2026h
1509
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1510
-
1511
-  Test Files 13 passed (14)
1512
-  Tests 255 passed | 2 skipped (258)
1513
-  Start at 11:40:25
1514
-  Duration 84.02s
1515
- [?2026l[?2026h ✓ Namespace TEST_AGENT_NONCE_CACHE already exists
1516
- ✅ Updated wrangler.toml with TEST_AGENT_NONCE_CACHE namespace ID: 28ea55710de64255809bf983b369d9d2
1517
- ✅ Updated wrangler.toml with existing ID: 28ea55710de64255809bf983b369d9d2
1518
-
1519
- 📦 Creating PROOF_ARCHIVE...
1520
- Description: Proof archive for auditability
1521
-
1522
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1523
-
1524
-  Test Files 13 passed (14)
1525
-  Tests 255 passed | 2 skipped (258)
1526
-  Start at 11:40:25
1527
-  Duration 85.03s
1528
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1529
-
1530
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1531
-
1532
-  Test Files 13 passed (14)
1533
-  Tests 255 passed | 2 skipped (258)
1534
-  Start at 11:40:25
1535
-  Duration 86.04s
1536
- [?2026l[?2026h
1537
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1538
-
1539
-  Test Files 13 passed (14)
1540
-  Tests 255 passed | 2 skipped (258)
1541
-  Start at 11:40:25
1542
-  Duration 87.05s
1543
- [?2026l[?2026h ✓ Namespace TEST_AGENT_PROOF_ARCHIVE already exists
1544
- ✅ Updated wrangler.toml with TEST_AGENT_PROOF_ARCHIVE namespace ID: b2a546f3df8342fda54e4607fef42eeb
1545
- ✅ Updated wrangler.toml with existing ID: b2a546f3df8342fda54e4607fef42eeb
1546
-
1547
- 📦 Creating IDENTITY_STORAGE...
1548
- Description: Identity storage for persistent agent identity
1549
-
1550
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1551
-
1552
-  Test Files 13 passed (14)
1553
-  Tests 255 passed | 2 skipped (258)
1554
-  Start at 11:40:25
1555
-  Duration 88.06s
1556
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1557
-
1558
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1559
-
1560
-  Test Files 13 passed (14)
1561
-  Tests 255 passed | 2 skipped (258)
1562
-  Start at 11:40:25
1563
-  Duration 89.07s
1564
- [?2026l[?2026h
1565
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1566
-
1567
-  Test Files 13 passed (14)
1568
-  Tests 255 passed | 2 skipped (258)
1569
-  Start at 11:40:25
1570
-  Duration 89.98s
1571
- [?2026l[?2026h ✓ Namespace TEST_AGENT_IDENTITY_STORAGE already exists
1572
- ✅ Updated wrangler.toml with TEST_AGENT_IDENTITY_STORAGE namespace ID: 8ef07fbdd95745e4a29cf1c4b1aeb43f
1573
- ✅ Updated wrangler.toml with existing ID: 8ef07fbdd95745e4a29cf1c4b1aeb43f
1574
-
1575
- 📦 Creating DELEGATION_STORAGE...
1576
- Description: Delegation storage for OAuth flows
1577
-
1578
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1579
-
1580
-  Test Files 13 passed (14)
1581
-  Tests 255 passed | 2 skipped (258)
1582
-  Start at 11:40:25
1583
-  Duration 90.98s
1584
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1585
-
1586
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1587
-
1588
-  Test Files 13 passed (14)
1589
-  Tests 255 passed | 2 skipped (258)
1590
-  Start at 11:40:25
1591
-  Duration 91.99s
1592
- [?2026l[?2026h
1593
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1594
-
1595
-  Test Files 13 passed (14)
1596
-  Tests 255 passed | 2 skipped (258)
1597
-  Start at 11:40:25
1598
-  Duration 93.00s
1599
- [?2026l[?2026h ✓ Namespace TEST_AGENT_DELEGATION_STORAGE already exists
1600
- ✅ Updated wrangler.toml with TEST_AGENT_DELEGATION_STORAGE namespace ID: 92486341e481444bbeb86dacf47c2927
1601
- ✅ Updated wrangler.toml with existing ID: 92486341e481444bbeb86dacf47c2927
1602
-
1603
- 📦 Creating TOOL_PROTECTION_KV...
1604
- Description: Tool protection configuration cache
1605
-
1606
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1607
-
1608
-  Test Files 13 passed (14)
1609
-  Tests 255 passed | 2 skipped (258)
1610
-  Start at 11:40:25
1611
-  Duration 94.01s
1612
- [?2026l[?2026h ℹ️ Namespace may already exist. Checking...
1613
-
1614
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1615
-
1616
-  Test Files 13 passed (14)
1617
-  Tests 255 passed | 2 skipped (258)
1618
-  Start at 11:40:25
1619
-  Duration 95.02s
1620
- [?2026l[?2026h
1621
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1622
-
1623
-  Test Files 13 passed (14)
1624
-  Tests 255 passed | 2 skipped (258)
1625
-  Start at 11:40:25
1626
-  Duration 96.03s
1627
- [?2026l[?2026h
1628
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1629
-
1630
-  Test Files 13 passed (14)
1631
-  Tests 255 passed | 2 skipped (258)
1632
-  Start at 11:40:25
1633
-  Duration 97.04s
1634
- [?2026l[?2026h ✓ Namespace TEST_AGENT_TOOL_PROTECTION_KV already exists
1635
- ✅ Updated wrangler.toml with TEST_AGENT_TOOL_PROTECTION_KV namespace ID: 9f7286071da24fd48bae0bec2059c985
1636
- ✅ Updated wrangler.toml with existing ID: 9f7286071da24fd48bae0bec2059c985
1637
-
1638
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1639
- 📊 Setup Summary:
1640
- ✅ Success: 5/5 namespaces
1641
- ❌ Failed: 0/5 namespaces
1642
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1643
-
1644
- ✨ Setup complete!
1645
-
1646
- 🚀 Next steps:
1647
- 1. Review wrangler.toml to ensure all namespace IDs are populated
1648
- 2. Review .dev.vars for secrets configuration
1649
- 3. Run "npm run dev" to start the development server
1650
- 4. Run "npm run deploy" to deploy to Cloudflare Workers
1651
-
1652
- 📝 For production deployment:
1653
- wrangler secret put MCP_IDENTITY_PRIVATE_KEY
1654
- wrangler secret put AGENTSHIELD_API_KEY
1655
- # ADMIN_API_KEY is optional - falls back to AGENTSHIELD_API_KEY if not set
1656
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
1657
- 
1658
- ✅ KV namespaces created successfully!
1659
-
1660
407
  ============================================================
1661
408
  🎉 Cloudflare MCP-I project created successfully!
1662
409
  ============================================================
@@ -1677,41 +424,34 @@ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in
1677
424
  cd test-agent
1678
425
 
1679
426
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
1680
-  npm run dev # Start local development
427
+  wrangler login # Login to Cloudflare first!
428
+ npm run setup # Create KV namespaces
429
+ npm run dev # Start local development
1681
430
  npm run deploy # Deploy to Cloudflare
1682
431
 
1683
432
 
433
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 95ms
434
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 166ms
1684
435
 
1685
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 3/4
1686
-
1687
-  Test Files 13 passed (14)
1688
-  Tests 255 passed | 2 skipped (258)
1689
-  Start at 11:40:25
1690
-  Duration 98.05s
1691
- [?2026l[?2026h
1692
-  ❯ src/__tests__/scaffolder-envprefix.test.ts 4/4
436
+  ❯ src/__tests__/cloudflare-template.test.ts 5/30
1693
437
 
1694
438
   Test Files 13 passed (14)
1695
-  Tests 256 passed | 2 skipped (258)
1696
-  Start at 11:40:25
1697
-  Duration 98.95s
1698
- [?2026l ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 98376ms
1699
- ✓ should include envPrefix in generated index.ts  23508ms
1700
- ✓ should use correct prefix format (uppercase with underscores)  24075ms
1701
- ✓ should include comment explaining envPrefix purpose  24519ms
1702
- ✓ should match envPrefix with KV binding names in wrangler.toml  26273ms
439
+  Tests 233 passed (258)
440
+  Start at 14:30:31
441
+  Duration 520ms
442
+ [?2026l ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 196ms
1703
443
 
1704
444
   Test Files  14 passed (14)
1705
445
   Tests  256 passed | 2 skipped (258)
1706
-  Start at  11:40:24
1707
-  Duration  99.09s (transform 775ms, setup 0ms, collect 2.15s, tests 99.51s, environment 2ms, prepare 581ms)
446
+  Start at  14:30:31
447
+  Duration  596ms (transform 574ms, setup 0ms, collect 1.07s, tests 931ms, environment 1ms, prepare 330ms)
1708
448
 
1709
449
   % Coverage report from v8
1710
450
 
1711
451
  =============================== Coverage summary ===============================
1712
- Statements : 29.07% ( 237/815 )
1713
- Branches : 25.84% ( 107/414 )
1714
- Functions : 37.5% ( 21/56 )
1715
- Lines : 29.29% ( 237/809 )
452
+ Statements : 26.5% ( 216/815 )
453
+ Branches : 24.63% ( 102/414 )
454
+ Functions : 32.14% ( 18/56 )
455
+ Lines : 26.69% ( 216/809 )
1716
456
  ================================================================================
1717
457
  [?25h