@kya-os/create-mcpi-app 1.9.32 → 1.9.34

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.
Files changed (55) hide show
  1. package/.turbo/turbo-build.log +27 -2
  2. package/.turbo/turbo-test$colon$coverage.log +1829 -0
  3. package/.turbo/turbo-test.log +260 -220
  4. package/dist/bundles/blank.js +112104 -0
  5. package/dist/bundles/ecommerce.js +112178 -0
  6. package/dist/bundles/hardware-world.js +112576 -0
  7. package/dist/bundles/manifest.json +28 -0
  8. package/dist/bundles/mix-station.js +112480 -0
  9. package/dist/cli-runner.d.ts.map +1 -1
  10. package/dist/cli-runner.js +23 -0
  11. package/dist/cli-runner.js.map +1 -1
  12. package/dist/helpers/fetch-cloudflare-mcpi-template.js +1 -1
  13. package/dist/helpers/generate-cloudflare-files.d.ts +1 -1
  14. package/dist/helpers/generate-cloudflare-files.d.ts.map +1 -1
  15. package/dist/helpers/generate-cloudflare-files.js +457 -41
  16. package/dist/helpers/generate-cloudflare-files.js.map +1 -1
  17. package/dist/helpers/generate-openapi-project.d.ts +36 -0
  18. package/dist/helpers/generate-openapi-project.d.ts.map +1 -0
  19. package/dist/helpers/generate-openapi-project.js +114 -0
  20. package/dist/helpers/generate-openapi-project.js.map +1 -0
  21. package/dist/helpers/generate-openapi-tools.d.ts +43 -0
  22. package/dist/helpers/generate-openapi-tools.d.ts.map +1 -0
  23. package/dist/helpers/generate-openapi-tools.js +550 -0
  24. package/dist/helpers/generate-openapi-tools.js.map +1 -0
  25. package/dist/helpers/generate-runtime-config.d.ts +16 -0
  26. package/dist/helpers/generate-runtime-config.d.ts.map +1 -0
  27. package/dist/helpers/generate-runtime-config.js +49 -0
  28. package/dist/helpers/generate-runtime-config.js.map +1 -0
  29. package/dist/helpers/get-package-versions.js +8 -8
  30. package/dist/helpers/get-package-versions.js.map +1 -1
  31. package/dist/helpers/openapi-ingestion.d.ts +21 -0
  32. package/dist/helpers/openapi-ingestion.d.ts.map +1 -0
  33. package/dist/helpers/openapi-ingestion.js +433 -0
  34. package/dist/helpers/openapi-ingestion.js.map +1 -0
  35. package/dist/helpers/wrap/command.d.ts +12 -0
  36. package/dist/helpers/wrap/command.d.ts.map +1 -0
  37. package/dist/helpers/wrap/command.js +344 -0
  38. package/dist/helpers/wrap/command.js.map +1 -0
  39. package/dist/helpers/wrap/detect-server.d.ts +30 -0
  40. package/dist/helpers/wrap/detect-server.d.ts.map +1 -0
  41. package/dist/helpers/wrap/detect-server.js +207 -0
  42. package/dist/helpers/wrap/detect-server.js.map +1 -0
  43. package/dist/helpers/wrap/index.d.ts +13 -0
  44. package/dist/helpers/wrap/index.d.ts.map +1 -0
  45. package/dist/helpers/wrap/index.js +11 -0
  46. package/dist/helpers/wrap/index.js.map +1 -0
  47. package/dist/helpers/wrap/templates.d.ts +24 -0
  48. package/dist/helpers/wrap/templates.d.ts.map +1 -0
  49. package/dist/helpers/wrap/templates.js +221 -0
  50. package/dist/helpers/wrap/templates.js.map +1 -0
  51. package/dist/types/openapi-generator.d.ts +142 -0
  52. package/dist/types/openapi-generator.d.ts.map +1 -0
  53. package/dist/types/openapi-generator.js +8 -0
  54. package/dist/types/openapi-generator.js.map +1 -0
  55. package/package.json +35 -9
@@ -1,57 +1,75 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.30 test /Users/dylanhobbs/.cursor/worktrees/xmcp-i/voe/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.33 test /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
-  RUN  v4.0.14 /Users/dylanhobbs/.cursor/worktrees/xmcp-i/voe/packages/create-mcpi-app
6
+  RUN  v4.0.18 /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
7
+
8
+ (node:20092) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
9
+ (Use `node --trace-warnings ...` to show where the warning was created)
10
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
11
+ 
12
+ 🏗️ Generating Cloudflare MCP-I project: test-project...
7
13
 
8
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 43ms
9
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 29ms
10
14
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
11
15
  
12
16
  🏗️ Generating Cloudflare MCP-I project: test-agent...
13
17
 
14
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
18
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
15
19
  🔑 Generating cryptographic identity...
16
20
 
17
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 32ms
21
+ (node:20080) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
22
+ (Use `node --trace-warnings ...` to show where the warning was created)
18
23
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
19
-  Created Cloudflare MCP-I template files
20
- - Generated identity keys in .dev.vars
21
- - Configured wrangler.toml with unified KV namespace (auto-provisioned)
22
- - Created modular tool structure
23
-
24
- ============================================================
25
- 🎉 Cloudflare MCP-I project created successfully!
26
- ============================================================
27
-
28
- 📝 Important Configuration Notes:
29
-
30
- 1. ADMIN_API_KEY (in .dev.vars):
31
- - Set to same value as AGENTSHIELD_API_KEY for convenience
32
- - You can change it if you need separate admin endpoint security
33
- - Required for admin endpoints like /admin/clear-cache
24
+ 🔑 Generating cryptographic identity...
34
25
 
35
- 2. KV Namespace (auto-provisioned by Wrangler v4):
36
- - Single unified namespace for all MCP-I storage
37
- - Automatically created on first deploy - no setup needed!
38
- - Wrangler updates wrangler.toml with namespace ID
26
+ (node:20084) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
27
+ (Use `node --trace-warnings ...` to show where the warning was created)
28
+ (node:20087) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
29
+ (Use `node --trace-warnings ...` to show where the warning was created)
30
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
31
+ 
32
+ (node:20081) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
33
+ (Use `node --trace-warnings ...` to show where the warning was created)
34
+ 📦 Installing dependencies with npm...
35
+ ✓ Lockfile created (package-lock.json) - remember to commit it
39
36
 
40
- 🚀 Next Steps:
41
- cd test-agent
42
- wrangler login # Login to Cloudflare first!
43
- npm run dev # Start local development
44
- npm run deploy # Deploy (KV auto-created!)
37
+ ❯ src/__tests__/helpers/identity-manager.test.ts (16 tests | 1 failed) 19ms
38
+ ✓ should detect Node.js MCP-I project with identity.json 3ms
39
+ ✓ should detect Node.js MCP-I project with xmcp.config.ts 1ms
40
+ ✓ should return false for non-MCP-I project 1ms
41
+ ✓ should return false for directory with only package.json 1ms
42
+ ✓ should detect Cloudflare project with MCP_IDENTITY_AGENT_DID 1ms
43
+ ✓ should detect Cloudflare project with durable_objects.bindings 1ms
44
+ ✓ should detect Cloudflare project with AGENTSHIELD_API_KEY 1ms
45
+ ✓ should return false for non-Cloudflare project 0ms
46
+ ✓ should return false for plain wrangler.toml without MCP-I markers 1ms
47
+ ✓ should reset Node.js identity by removing identity.json 1ms
48
+ ✓ should reset Cloudflare identity by removing variables from wrangler.toml 1ms
49
+ ✓ should handle missing identity gracefully 0ms
50
+  × should regenerate identity for Node.js project 4ms
51
+ ✓ should regenerate identity for Cloudflare project 2ms
52
+ ✓ should exit if not an MCP-I project 1ms
53
+ ✓ should handle both Node.js and Cloudflare project markers 3ms
54
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
55
+ 
56
+ 📦 Installing dependencies with yarn...
57
+ ✓ Lockfile created (yarn.lock) - remember to commit it
45
58
 
59
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
60
+ 
61
+ 📦 Installing dependencies with pnpm...
62
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
46
63
 
47
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
64
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
48
65
  
49
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
66
+ 📦 Installing dependencies with npm...
67
+ ✓ Lockfile created (package-lock.json) - remember to commit it
50
68
 
51
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
52
- 🔑 Generating cryptographic identity...
69
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
70
+ [RemoteConfig] Neither projectId nor agentDid provided
53
71
 
54
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
72
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
55
73
  ✔ Created Cloudflare MCP-I template files
56
74
  - Generated identity keys in .dev.vars
57
75
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -74,23 +92,18 @@
74
92
  - Wrangler updates wrangler.toml with namespace ID
75
93
 
76
94
  🚀 Next Steps:
77
- cd my-awesome-agent
95
+ cd test-agent
78
96
  wrangler login # Login to Cloudflare first!
79
97
  npm run dev # Start local development
80
98
  npm run deploy # Deploy (KV auto-created!)
81
99
 
82
100
 
83
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
84
- 
85
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
86
-
87
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
88
- 🔑 Generating cryptographic identity...
89
-
90
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
101
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 6ms
102
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
91
103
  ✔ Created Cloudflare MCP-I template files
92
104
  - Generated identity keys in .dev.vars
93
105
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
106
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
94
107
  - Created modular tool structure
95
108
 
96
109
  ============================================================
@@ -101,6 +114,8 @@
101
114
 
102
115
  1. ADMIN_API_KEY (in .dev.vars):
103
116
  - Set to same value as AGENTSHIELD_API_KEY for convenience
117
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
118
+
104
119
  - You can change it if you need separate admin endpoint security
105
120
  - Required for admin endpoints like /admin/clear-cache
106
121
 
@@ -110,67 +125,75 @@
110
125
  - Wrangler updates wrangler.toml with namespace ID
111
126
 
112
127
  🚀 Next Steps:
113
- cd test-agent
128
+ cd test-project
114
129
  wrangler login # Login to Cloudflare first!
115
130
  npm run dev # Start local development
116
131
  npm run deploy # Deploy (KV auto-created!)
117
132
 
118
133
 
119
- ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 361ms
120
- ✓ should call cli-register endpoint with correct payload  345ms
121
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
134
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
122
135
  
123
- 🏗️ Generating Cloudflare MCP-I project: test-project...
124
-
125
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
126
- 🔑 Generating cryptographic identity...
136
+ 📦 Installing dependencies with npm...
137
+ ✓ Lockfile created (package-lock.json) - remember to commit it
127
138
 
128
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 52ms
129
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
139
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
130
140
  
131
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
132
- create-mcpi-app@1.9.30
133
- Invalid project name:
141
+ 📦 Installing dependencies with npm...
134
142
 
135
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
136
- - bad
143
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 43ms
144
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
145
+ Failed to install dependencies with npm.
137
146
 
138
- BANNER
147
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
148
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
149
+ 
150
+ Failed to install dependencies with npm.
151
+ 📦 Installing dependencies with npm...
139
152
 
140
- Enhanced with identity features by MCP-I
141
153
 
154
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
155
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
156
+ Failed to install dependencies with npm.
142
157
 
143
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
144
158
  
145
- Next Steps:
146
- 1. Install dependencies:
147
- cd my-agent
148
- npm install
149
-
150
- 2. Start development server:
151
- npm run dev
159
+ 📦 Installing dependencies with npm...
152
160
 
153
- 3. Deploy when ready:
154
- npm run start
161
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
162
+ 
163
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
155
164
 
156
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
165
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
157
166
  
158
- create-mcpi-app@1.9.30
167
+ 📦 Installing dependencies with npm...
159
168
 
160
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
161
- BANNER
169
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
170
+ 🔑 Generating cryptographic identity...
162
171
 
163
- Enhanced with identity features by MCP-I
172
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
173
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
174
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
164
175
 
176
+ 
177
+ 📦 Installing dependencies with unknown...
165
178
 
166
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
179
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
167
180
  
168
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
181
+ 🏗️ Generating Cloudflare MCP-I project: test-project-env...
169
182
 
170
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
183
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
171
184
  🔑 Generating cryptographic identity...
172
185
 
173
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
186
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
187
+ 
188
+ 📦 Installing dependencies with npm...
189
+
190
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
191
+ 
192
+ 📦 Installing dependencies with custom...
193
+
194
+ ✓ src/__tests__/helpers/install.test.ts (21 tests) 37ms
195
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 40ms
196
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
174
197
  ✔ Created Cloudflare MCP-I template files
175
198
  - Generated identity keys in .dev.vars
176
199
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -193,13 +216,13 @@ Enhanced with identity features by MCP-I
193
216
  - Wrangler updates wrangler.toml with namespace ID
194
217
 
195
218
  🚀 Next Steps:
196
- cd test-project
219
+ cd my-awesome-agent
197
220
  wrangler login # Login to Cloudflare first!
198
221
  npm run dev # Start local development
199
222
  npm run deploy # Deploy (KV auto-created!)
200
223
 
201
224
 
202
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
225
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
203
226
  ✔ Created Cloudflare MCP-I template files
204
227
  - Generated identity keys in .dev.vars
205
228
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -222,21 +245,63 @@ Enhanced with identity features by MCP-I
222
245
  - Wrangler updates wrangler.toml with namespace ID
223
246
 
224
247
  🚀 Next Steps:
225
- cd test-agent
248
+ cd test-project-env
226
249
  wrangler login # Login to Cloudflare first!
227
250
  npm run dev # Start local development
228
251
  npm run deploy # Deploy (KV auto-created!)
229
252
 
230
253
 
231
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
254
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
232
255
  
233
- 🏗️ Generating Cloudflare MCP-I project: test-project-env...
256
+ create-mcpi-app@1.9.33
257
+
258
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
259
+ BANNER
260
+
261
+ Enhanced with identity features by MCP-I
262
+
263
+
264
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
265
+ 
266
+ Next Steps:
267
+ 1. Install dependencies:
268
+ cd my-agent
269
+ npm install
270
+
271
+ 2. Start development server:
272
+ npm run dev
273
+
274
+ 3. Deploy when ready:
275
+ npm run start
276
+
277
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
278
+ 
279
+ create-mcpi-app@1.9.33
280
+
281
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
282
+ 
283
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
284
+
285
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
286
+ 
287
+ 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
288
+
289
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
290
+ BANNER
291
+
292
+ Enhanced with identity features by MCP-I
293
+
294
+
295
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
296
+ Invalid project name:
297
+ - bad
298
+
299
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
300
+ 🔑 Generating cryptographic identity...
234
301
 
235
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 522ms
236
- ✓ should include comment explaining envPrefix purpose  352ms
237
302
  stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
238
303
  
239
- create-mcpi-app@1.9.30
304
+ create-mcpi-app@1.9.33
240
305
 
241
306
  stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
242
307
  BANNER
@@ -262,7 +327,7 @@ Next Steps:
262
327
 
263
328
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
264
329
  
265
- create-mcpi-app@1.9.30
330
+ create-mcpi-app@1.9.33
266
331
 
267
332
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
268
333
  BANNER
@@ -272,9 +337,10 @@ Enhanced with identity features by MCP-I
272
337
 
273
338
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
274
339
  
275
- Creating a new xmcp app in /Users/dylanhobbs/.cursor/worktrees/xmcp-i/voe/packages/create-mcpi-app/interactive-app.
340
+ Creating a new xmcp app in /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
276
341
 
277
342
 
343
+ ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 49ms
278
344
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
279
345
  
280
346
  Next Steps:
@@ -288,10 +354,8 @@ Next Steps:
288
354
  3. Deploy when ready:
289
355
  pnpm start
290
356
 
291
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
292
- 🔑 Generating cryptographic identity...
293
-
294
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
357
+ ✓ src/__tests__/index.test.ts (4 tests) 101ms
358
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
295
359
  ✔ Created Cloudflare MCP-I template files
296
360
  - Generated identity keys in .dev.vars
297
361
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -314,22 +378,24 @@ Next Steps:
314
378
  - Wrangler updates wrangler.toml with namespace ID
315
379
 
316
380
  🚀 Next Steps:
317
- cd test-project-env
381
+ cd test-project-with-id
318
382
  wrangler login # Login to Cloudflare first!
319
383
  npm run dev # Start local development
320
384
  npm run deploy # Deploy (KV auto-created!)
321
385
 
322
386
 
323
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
387
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
388
+ 🔑 Generating cryptographic identity...
389
+
390
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
324
391
  
325
- 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
392
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
326
393
 
327
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
394
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
328
395
  🔑 Generating cryptographic identity...
329
396
 
330
- ✓ src/__tests__/cli-runner.test.ts (4 tests) 1004ms
331
- ✓ passes CLI flags to createProject when using --yes  859ms
332
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
397
+ ✓ src/__tests__/cli-runner.test.ts (4 tests) 131ms
398
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
333
399
  ✔ Created Cloudflare MCP-I template files
334
400
  - Generated identity keys in .dev.vars
335
401
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -352,23 +418,20 @@ Next Steps:
352
418
  - Wrangler updates wrangler.toml with namespace ID
353
419
 
354
420
  🚀 Next Steps:
355
- cd test-project-with-id
421
+ cd test-project-no-id
356
422
  wrangler login # Login to Cloudflare first!
357
423
  npm run dev # Start local development
358
424
  npm run deploy # Deploy (KV auto-created!)
359
425
 
360
426
 
361
- ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 653ms
362
- ✓ MCPI template should not use any deprecated Wrangler v3 features  405ms
363
- ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 735ms
364
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
427
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
365
428
  
366
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
429
+ 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
367
430
 
368
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
431
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
369
432
  🔑 Generating cryptographic identity...
370
433
 
371
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
434
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
372
435
  ✔ Created Cloudflare MCP-I template files
373
436
  - Generated identity keys in .dev.vars
374
437
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -391,22 +454,21 @@ Next Steps:
391
454
  - Wrangler updates wrangler.toml with namespace ID
392
455
 
393
456
  🚀 Next Steps:
394
- cd test-project-no-id
457
+ cd test-project-runtime
395
458
  wrangler login # Login to Cloudflare first!
396
459
  npm run dev # Start local development
397
460
  npm run deploy # Deploy (KV auto-created!)
398
461
 
399
462
 
400
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
463
+ ✓ src/__tests__/helpers/create.test.ts (13 tests) 57ms
464
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
401
465
  
402
- 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
466
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
403
467
 
404
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
468
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
405
469
  🔑 Generating cryptographic identity...
406
470
 
407
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 865ms
408
- ✓ should distribute requests across shards  362ms
409
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
471
+ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
410
472
  ✔ Created Cloudflare MCP-I template files
411
473
  - Generated identity keys in .dev.vars
412
474
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -429,21 +491,14 @@ Next Steps:
429
491
  - Wrangler updates wrangler.toml with namespace ID
430
492
 
431
493
  🚀 Next Steps:
432
- cd test-project-runtime
494
+ cd test-project-no-workspace
433
495
  wrangler login # Login to Cloudflare first!
434
496
  npm run dev # Start local development
435
497
  npm run deploy # Deploy (KV auto-created!)
436
498
 
437
499
 
438
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
439
- 
440
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
441
-
442
- ✓ src/__tests__/index.test.ts (4 tests) 121ms
443
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
444
- 🔑 Generating cryptographic identity...
445
-
446
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
500
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 112ms
501
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
447
502
  ✔ Created Cloudflare MCP-I template files
448
503
  - Generated identity keys in .dev.vars
449
504
  - Configured wrangler.toml with unified KV namespace (auto-provisioned)
@@ -466,123 +521,108 @@ Next Steps:
466
521
  - Wrangler updates wrangler.toml with namespace ID
467
522
 
468
523
  🚀 Next Steps:
469
- cd test-project-no-workspace
524
+ cd test-agent
470
525
  wrangler login # Login to Cloudflare first!
471
526
  npm run dev # Start local development
472
527
  npm run deploy # Deploy (KV auto-created!)
473
528
 
474
529
 
475
- ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 924ms
476
- ✓ should not include workspace: references in scaffolded package.json  390ms
477
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 1930ms
478
- ✓ should generate consistent template structure on multiple calls  452ms
479
- ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 665ms
480
- ✓ should generate files that can be written to disk  340ms
481
- ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 381ms
482
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
483
- 
484
- 📦 Installing dependencies with npm...
485
- ✓ Lockfile created (package-lock.json) - remember to commit it
486
-
487
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
488
- 
489
- 📦 Installing dependencies with yarn...
490
- ✓ Lockfile created (yarn.lock) - remember to commit it
491
-
492
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
530
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
493
531
  
494
- 📦 Installing dependencies with pnpm...
495
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
532
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
496
533
 
497
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
498
- 
499
- 📦 Installing dependencies with npm...
500
- ✓ Lockfile created (package-lock.json) - remember to commit it
534
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
535
+ 🔑 Generating cryptographic identity...
501
536
 
502
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 64ms
503
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 635ms
504
- ✓ should detect npm lockfile  386ms
505
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
506
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
537
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
538
+  Created Cloudflare MCP-I template files
539
+ - Generated identity keys in .dev.vars
540
+ - Configured wrangler.toml with unified KV namespace (auto-provisioned)
541
+ - Created modular tool structure
507
542
 
508
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
509
- 
510
- 📦 Installing dependencies with npm...
511
- ✓ Lockfile created (package-lock.json) - remember to commit it
543
+ ============================================================
544
+ 🎉 Cloudflare MCP-I project created successfully!
545
+ ============================================================
512
546
 
513
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
514
- 
515
- 📦 Installing dependencies with npm...
547
+ 📝 Important Configuration Notes:
516
548
 
517
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
518
- Failed to install dependencies with npm.
549
+ 1. ADMIN_API_KEY (in .dev.vars):
550
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
551
+ - You can change it if you need separate admin endpoint security
552
+ - Required for admin endpoints like /admin/clear-cache
519
553
 
520
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
521
- 
522
- 📦 Installing dependencies with npm...
554
+ 2. KV Namespace (auto-provisioned by Wrangler v4):
555
+ - Single unified namespace for all MCP-I storage
556
+ - Automatically created on first deploy - no setup needed!
557
+ - Wrangler updates wrangler.toml with namespace ID
523
558
 
524
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
525
- Failed to install dependencies with npm.
559
+ 🚀 Next Steps:
560
+ cd test-agent
561
+ wrangler login # Login to Cloudflare first!
562
+ npm run dev # Start local development
563
+ npm run deploy # Deploy (KV auto-created!)
526
564
 
527
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
528
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
529
- 
530
- 📦 Installing dependencies with npm...
531
- Failed to install dependencies with npm.
532
565
 
566
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 163ms
567
+ ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 166ms
568
+ (node:20095) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
569
+ (Use `node --trace-warnings ...` to show where the warning was created)
570
+ ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 173ms
571
+ ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 41ms
572
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 221ms
573
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 231ms
574
+ ✓ src/__tests__/helpers/rename.test.ts (6 tests) 10ms
575
+ ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 19ms
576
+ ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 16ms
577
+ ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 67ms
578
+ ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 21ms
579
+ (node:20103) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
580
+ (Use `node --trace-warnings ...` to show where the warning was created)
581
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 55ms
582
+ ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 140ms
583
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 139ms
584
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
585
+ [Session] Created session: secure-session
533
586
 
534
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
535
- 
536
- 📦 Installing dependencies with npm...
587
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 30ms
588
+ ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 48ms
589
+ ✓ src/__tests__/utils/check-node.test.ts (7 tests) 13ms
590
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
591
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
592
+ ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
537
593
 
538
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
539
- 
540
- 📦 Installing dependencies with unknown...
594
+ ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 12ms
595
+ ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 8ms
596
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
597
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 5ms
598
+ ✓ src/__tests__/effects/index.test.ts (5 tests) 4ms
599
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
541
600
 
542
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
543
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
601
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
544
602
 
545
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 52ms
546
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
547
- 
548
- 📦 Installing dependencies with npm...
603
+  FAIL  src/__tests__/helpers/identity-manager.test.ts > Identity Manager > regenerateIdentity > should regenerate identity for Node.js project
604
+ AssertionError: expected false to be true // Object.is equality
549
605
 
550
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
551
- 
552
- 📦 Installing dependencies with custom...
606
+ - Expected
607
+ + Received
553
608
 
554
- ✓ src/__tests__/helpers/install.test.ts (21 tests) 325ms
555
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
556
- [Session] Created session: secure-session
609
+ - true
610
+ + false
557
611
 
558
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 422ms
559
- ✓ should read MCP session ID from Claude Desktop headers  390ms
560
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2960ms
561
- ✓ should use simplified agent class structure  395ms
562
- ✓ should include unified MCPI_KV binding regardless of API key  331ms
563
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 8ms
564
- ✓ src/__tests__/helpers/rename.test.ts (6 tests) 16ms
565
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 130ms
566
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
567
- ✓ src/__tests__/effects/index.test.ts (5 tests) 4ms
568
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 7ms
569
- ✓ src/__tests__/helpers/create.test.ts (13 tests) 727ms
570
- ✓ should create Cloudflare MCP-I project  342ms
571
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
572
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 352ms
573
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
574
- [RemoteConfig] Neither projectId nor agentDid provided
612
+  ❯ src/__tests__/helpers/identity-manager.test.ts:214:66
613
+ 212| 
614
+ 213|  // New identity should be saved
615
+ 214|  expect(fs.existsSync(path.join(mcpiDir, 'identity.json'))).toBe(…
616
+  |  ^
617
+ 215|  const identity = fs.readJsonSync(path.join(mcpiDir, 'identity.js…
618
+ 216|  expect(identity.did).toBe('did:key:zNewGeneratedIdentity123');
575
619
 
576
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 33ms
577
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
578
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
620
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
579
621
 
580
- ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 10ms
581
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 16ms
582
- ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 238ms
583
622
 
584
-  Test Files  34 passed (34)
585
-  Tests  501 passed | 3 skipped (504)
586
-  Start at  22:31:43
587
-  Duration  6.94s (transform 7.92s, setup 0ms, import 17.12s, tests 14.33s, environment 5ms)
623
+  Test Files  1 failed | 33 passed (34)
624
+  Tests  1 failed | 500 passed | 3 skipped (504)
625
+  Start at  08:06:07
626
+  Duration  706ms (transform 1.63s, setup 0ms, import 2.40s, tests 2.19s, environment 2ms)
588
627
 
628
+  ELIFECYCLE  Test failed. See above for more details.