@kya-os/create-mcpi-app 1.9.19 β†’ 1.9.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.18 build /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.21 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,45 +1,29 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.12 test /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.20 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
-  RUN  v4.0.14 /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
6
+ RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- (node:27119) 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
- βœ“ src/__tests__/index.test.ts (4 tests) 2668ms
11
- βœ“ should load .env from package directory and current working directory  2096ms
12
- βœ“ should call runCLI with process.argv  407ms
13
- 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
14
- 
15
- πŸ—οΈ Generating Cloudflare MCP-I project: test-project...
16
-
17
- 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
18
- πŸ”‘ Generating cryptographic identity...
8
+ βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 393ms
9
+ βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
10
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
19
11
 
20
- (node:27092) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
21
- (Use `node --trace-warnings ...` to show where the warning was created)
22
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
23
- 
24
12
  πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
25
13
 
26
- (node:27089) 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
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
29
- πŸ”‘ Generating cryptographic identity...
30
-
31
- (node:27095) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
32
- (Use `node --trace-warnings ...` to show where the warning was created)
33
- βœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 5509ms
34
- βœ“ should copy files from source to target  553ms
35
- βœ“ should copy directories recursively  1494ms
36
- βœ“ should not copy files starting with dot  1000ms
37
- βœ“ should not copy directories starting with dot  620ms
38
- βœ“ should not copy .DS_Store  429ms
39
- βœ“ should handle files with special characters in names  541ms
40
- βœ“ should handle binary files  529ms
41
- 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
42
- βœ” Created Cloudflare MCP-I template files
14
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
15
+ πŸ”‘ Generating cryptographic identity...
16
+
17
+ βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 218ms
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
19
+
20
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-project...
21
+
22
+ 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
23
+ πŸ”‘ Generating cryptographic identity...
24
+
25
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
26
+ βœ” Created Cloudflare MCP-I template files
43
27
  - Generated identity keys in .dev.vars
44
28
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
45
29
  - Created modular tool structure
@@ -61,40 +45,21 @@
61
45
  - Wrangler updates wrangler.toml with namespace IDs
62
46
 
63
47
  πŸš€ Next Steps:
64
- cd test-project
48
+ cd test-agent
65
49
  wrangler login # Login to Cloudflare first!
66
50
  npm run dev # Start local development
67
51
  npm run deploy # Deploy (KV auto-created!)
68
52
 
69
53
 
70
- (node:27090) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
71
- (Use `node --trace-warnings ...` to show where the warning was created)
72
- ❯ test-cloudflare/tests/do-routing.test.ts (14 tests | 2 failed) 7010ms
73
- βœ“ should route to different instances for different sessions  631ms
74
- βœ“ should route to same instance for same session 2ms
75
- βœ“ should handle both mcp-session-id header casings 3ms
76
- βœ“ should generate random session if header missing 2ms
77
- βœ“ should distribute requests across shards  2133ms
78
- βœ“ should consistently route same session to same shard 12ms
79
- βœ“ should respect custom shard count 95ms
80
- βœ“ should fall back to default when strategy unknown 1ms
81
- βœ“ should use session strategy when not configured 42ms
82
-  Γ— session routing should have O(1) complexity 2312ms
83
-  Γ— shard routing should have O(n) complexity for hash 696ms
84
- βœ“ should handle empty session ID  545ms
85
- βœ“ should handle non-numeric shard count 6ms
86
- βœ“ should handle special characters in session ID 118ms
87
- βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 7040ms
88
- βœ“ should generate a valid identity  641ms
89
- βœ“ should generate unique identities on each call  875ms
90
- βœ“ should generate identity with correct structure  809ms
91
- βœ“ should generate identity with valid ISO timestamp  1074ms
92
- βœ“ should generate valid Ed25519 key pair  674ms
93
- βœ“ should generate keys that can be used for signing  469ms
94
- βœ“ should generate identity that matches expected interface  444ms
95
- βœ“ should generate DID that corresponds to public key  528ms
96
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
97
- βœ” Created Cloudflare MCP-I template files
54
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
55
+
56
+ πŸ—οΈ Generating Cloudflare MCP-I project: my-awesome-agent...
57
+
58
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
59
+ πŸ”‘ Generating cryptographic identity...
60
+
61
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
62
+ βœ” Created Cloudflare MCP-I template files
98
63
  - Generated identity keys in .dev.vars
99
64
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
100
65
  - Created modular tool structure
@@ -116,66 +81,21 @@
116
81
  - Wrangler updates wrangler.toml with namespace IDs
117
82
 
118
83
  πŸš€ Next Steps:
119
- cd test-agent
84
+ cd my-awesome-agent
120
85
  wrangler login # Login to Cloudflare first!
121
86
  npm run dev # Start local development
122
87
  npm run deploy # Deploy (KV auto-created!)
123
88
 
124
89
 
125
- 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
126
- 
127
- πŸ—οΈ Generating Cloudflare MCP-I project: test-project-env...
128
-
129
- 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
130
- πŸ”‘ Generating cryptographic identity...
131
-
132
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
133
- 
134
- πŸ—οΈ Generating Cloudflare MCP-I project: my-awesome-agent...
135
-
136
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
137
- πŸ”‘ Generating cryptographic identity...
138
-
139
- βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 4905ms
140
- βœ“ should generate xmcp.config.ts with default values  801ms
141
- βœ“ should generate config with STDIO transport when specified  326ms
142
- βœ“ should generate config without identity when skipIdentity is true  547ms
143
- βœ“ should use default tools path  530ms
144
- βœ“ should generate runtime config with default values  1181ms
145
- βœ“ should create valid TypeScript config file  508ms
146
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
147
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
148
- Invalid project name:
149
- - bad
150
- 
151
- create-mcpi-app@1.9.12
90
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
152
91
 
92
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
153
93
 
154
- create-mcpi-app@1.9.12
155
- BANNER
156
-
157
- Enhanced with identity features by MCP-I
158
-
159
- BANNER
160
-
161
- Enhanced with identity features by MCP-I
162
-
163
-
164
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
165
- 
166
- Next Steps:
167
- 1. Initialize identity:
168
- cd bad-app
169
- npm run init
170
-
171
- 2. Start development server:
172
- npm run dev
173
-
174
- 3. Deploy when ready:
175
- npm run start
94
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
95
+ πŸ”‘ Generating cryptographic identity...
176
96
 
177
- 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
178
- βœ” Created Cloudflare MCP-I template files
97
+ 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
98
+ βœ” Created Cloudflare MCP-I template files
179
99
  - Generated identity keys in .dev.vars
180
100
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
181
101
  - Created modular tool structure
@@ -197,14 +117,21 @@ Next Steps:
197
117
  - Wrangler updates wrangler.toml with namespace IDs
198
118
 
199
119
  πŸš€ Next Steps:
200
- cd test-project-env
120
+ cd test-project
201
121
  wrangler login # Login to Cloudflare first!
202
122
  npm run dev # Start local development
203
123
  npm run deploy # Deploy (KV auto-created!)
204
124
 
205
125
 
206
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
207
- βœ” Created Cloudflare MCP-I template files
126
+ 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
127
+
128
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-project-env...
129
+
130
+ 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
131
+ πŸ”‘ Generating cryptographic identity...
132
+
133
+ 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
134
+ βœ” Created Cloudflare MCP-I template files
208
135
  - Generated identity keys in .dev.vars
209
136
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
210
137
  - Created modular tool structure
@@ -226,95 +153,18 @@ Next Steps:
226
153
  - Wrangler updates wrangler.toml with namespace IDs
227
154
 
228
155
  πŸš€ Next Steps:
229
- cd my-awesome-agent
156
+ cd test-project-env
230
157
  wrangler login # Login to Cloudflare first!
231
158
  npm run dev # Start local development
232
159
  npm run deploy # Deploy (KV auto-created!)
233
160
 
234
161
 
235
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
236
- 
237
- create-mcpi-app@1.9.12
238
-
239
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
240
- BANNER
162
+ 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
241
163
 
242
- Enhanced with identity features by MCP-I
243
-
244
-
245
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
246
- 
247
- Next Steps:
248
- 1. Install dependencies:
249
- cd pnpm-agent
250
- pnpm install
251
-
252
- 2. Initialize identity:
253
- pnpm init
254
-
255
- 3. Start development server:
256
- pnpm dev
257
-
258
- 4. Deploy when ready:
259
- pnpm start
260
-
261
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
262
- 
263
- create-mcpi-app@1.9.12
264
-
265
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
266
- BANNER
267
-
268
- Enhanced with identity features by MCP-I
269
-
270
-
271
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
272
- 
273
- Creating a new xmcp app in /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
274
-
275
-
276
- 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
277
- 
278
164
  πŸ—οΈ Generating Cloudflare MCP-I project: test-project-with-id...
279
165
 
280
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
281
- 
282
- Next Steps:
283
- 1. Install dependencies:
284
- cd interactive-app
285
- pnpm install
286
-
287
- 2. Start development server:
288
- pnpm dev
289
-
290
- 3. Deploy when ready:
291
- pnpm start
292
-
293
- 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
294
- πŸ”‘ Generating cryptographic identity...
295
-
296
- ❯ src/__tests__/cli-runner.test.ts (4 tests | 2 failed) 11065ms
297
-  Γ— passes CLI flags to createProject when using --yes 5089ms
298
-  Γ— exits when project name validation fails 5401ms
299
- βœ“ honors package manager and version flags 64ms
300
- βœ“ prompts for package manager and transports when --yes is not set  503ms
301
- βœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 4229ms
302
- βœ“ should validate identity-enabled project structure correctly  540ms
303
- βœ“ should validate vanilla project structure correctly  681ms
304
- βœ“ should detect missing package.json  694ms
305
- βœ“ should detect missing xmcp.config.ts file  315ms
306
- βœ“ should validate all required files exist  501ms
307
- βœ“ should include file path in error messages  417ms
308
- βœ“ should detect npm lockfile  360ms
309
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
310
- 
311
- πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
312
-
313
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
314
- πŸ”‘ Generating cryptographic identity...
315
-
316
- 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
317
- βœ” Created Cloudflare MCP-I template files
166
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
167
+ βœ” Created Cloudflare MCP-I template files
318
168
  - Generated identity keys in .dev.vars
319
169
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
320
170
  - Created modular tool structure
@@ -336,21 +186,24 @@ Next Steps:
336
186
  - Wrangler updates wrangler.toml with namespace IDs
337
187
 
338
188
  πŸš€ Next Steps:
339
- cd test-project-with-id
189
+ cd test-agent
340
190
  wrangler login # Login to Cloudflare first!
341
191
  npm run dev # Start local development
342
192
  npm run deploy # Deploy (KV auto-created!)
343
193
 
344
194
 
345
- βœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 5064ms
346
- βœ“ should create package.json with correct structure  623ms
347
- βœ“ should include @kya-os dependencies  544ms
348
- βœ“ should include required scripts  1241ms
349
- βœ“ should create src/tools directory  785ms
350
- βœ“ should create README.md  429ms
351
- βœ“ should generate identity when skipIdentity is false  485ms
352
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
353
- βœ” Created Cloudflare MCP-I template files
195
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
196
+
197
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
198
+
199
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
200
+ πŸ”‘ Generating cryptographic identity...
201
+
202
+ 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
203
+ πŸ”‘ Generating cryptographic identity...
204
+
205
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
206
+ βœ” Created Cloudflare MCP-I template files
354
207
  - Generated identity keys in .dev.vars
355
208
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
356
209
  - Created modular tool structure
@@ -378,22 +231,8 @@ Next Steps:
378
231
  npm run deploy # Deploy (KV auto-created!)
379
232
 
380
233
 
381
- 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
382
- 
383
- πŸ—οΈ Generating Cloudflare MCP-I project: test-project-no-id...
384
-
385
- 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
386
- πŸ”‘ Generating cryptographic identity...
387
-
388
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
389
- 
390
- πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
391
-
392
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
393
- πŸ”‘ Generating cryptographic identity...
394
-
395
- 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
396
- βœ” Created Cloudflare MCP-I template files
234
+ 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
235
+ βœ” Created Cloudflare MCP-I template files
397
236
  - Generated identity keys in .dev.vars
398
237
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
399
238
  - Created modular tool structure
@@ -415,14 +254,23 @@ Next Steps:
415
254
  - Wrangler updates wrangler.toml with namespace IDs
416
255
 
417
256
  πŸš€ Next Steps:
418
- cd test-project-no-id
257
+ cd test-project-with-id
419
258
  wrangler login # Login to Cloudflare first!
420
259
  npm run dev # Start local development
421
260
  npm run deploy # Deploy (KV auto-created!)
422
261
 
423
262
 
424
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
425
- βœ” Created Cloudflare MCP-I template files
263
+ 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
264
+
265
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-project-no-id...
266
+
267
+ 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
268
+ πŸ”‘ Generating cryptographic identity...
269
+
270
+ βœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 796ms
271
+ βœ“ should include envPrefix in generated index.ts 424ms
272
+ 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
273
+ βœ” Created Cloudflare MCP-I template files
426
274
  - Generated identity keys in .dev.vars
427
275
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
428
276
  - Created modular tool structure
@@ -444,35 +292,22 @@ Next Steps:
444
292
  - Wrangler updates wrangler.toml with namespace IDs
445
293
 
446
294
  πŸš€ Next Steps:
447
- cd test-agent
295
+ cd test-project-no-id
448
296
  wrangler login # Login to Cloudflare first!
449
297
  npm run dev # Start local development
450
298
  npm run deploy # Deploy (KV auto-created!)
451
299
 
452
300
 
453
- βœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 8004ms
454
- βœ“ should include envPrefix in generated index.ts  3501ms
455
- βœ“ should use correct prefix format (uppercase with underscores)  1413ms
456
- βœ“ should include comment explaining envPrefix purpose  2007ms
457
- βœ“ should match envPrefix with KV binding names in wrangler.toml  1073ms
458
- 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
459
- 
301
+ 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
302
+
460
303
  πŸ—οΈ Generating Cloudflare MCP-I project: test-project-runtime...
461
304
 
462
- 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
- πŸ”‘ Generating cryptographic identity...
464
-
465
- βœ“ src/__tests__/helpers/create.test.ts (13 tests) 5990ms
466
- βœ“ should create Node.js MCP-I project (default)  741ms
467
- βœ“ should create Cloudflare MCP-I project  1117ms
468
- βœ“ should create Cloudflare verifier project  331ms
469
- βœ“ should generate identity for Node.js project when not skipped  573ms
470
- βœ“ should add vercel.json when deployToVercel is true  583ms
471
- βœ“ should rename _gitignore to .gitignore  458ms
472
- βœ“ should pass apikey to Cloudflare template  767ms
473
- βœ“ should pass projectId to Cloudflare template  754ms
474
- 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
475
- βœ” Created Cloudflare MCP-I template files
305
+ 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
306
+ πŸ”‘ Generating cryptographic identity...
307
+
308
+ βœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 40ms
309
+ 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
310
+ βœ” Created Cloudflare MCP-I template files
476
311
  - Generated identity keys in .dev.vars
477
312
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
478
313
  - Created modular tool structure
@@ -500,43 +335,110 @@ Next Steps:
500
335
  npm run deploy # Deploy (KV auto-created!)
501
336
 
502
337
 
503
- 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
504
- 
338
+ 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
339
+
505
340
  πŸ—οΈ Generating Cloudflare MCP-I project: test-project-no-workspace...
506
341
 
507
- 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
508
- πŸ”‘ Generating cryptographic identity...
509
-
510
- βœ“ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 8663ms
511
- βœ“ should use Wrangler v4.x in package.json  2295ms
512
- βœ“ should use modern compatibility_flags in wrangler.toml (not deprecated node_compat)  686ms
513
- βœ“ should use updated @cloudflare/workers-types  1315ms
514
- βœ“ should use compatible @cloudflare/vitest-pool-workers version  1270ms
515
- βœ“ should use a valid compatibility_date (not a future date)  916ms
516
- βœ“ should include all required scripts for Wrangler v4  724ms
517
- βœ“ MCPI template should not use any deprecated Wrangler v3 features  1116ms
518
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
519
- 
520
- πŸ“¦ Installing dependencies with npm...
521
- βœ“ Lockfile created (package-lock.json) - remember to commit it
342
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
343
+ [Session] Created session: secure-session
522
344
 
523
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
524
- 
525
- πŸ“¦ Installing dependencies with yarn...
526
- βœ“ Lockfile created (yarn.lock) - remember to commit it
345
+ βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
346
+ 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
347
+ πŸ”‘ Generating cryptographic identity...
527
348
 
528
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
529
- 
530
- πŸ“¦ Installing dependencies with pnpm...
531
- βœ“ Lockfile created (pnpm-lock.yaml) - remember to commit it
349
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
532
350
 
533
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
534
- 
535
- πŸ“¦ Installing dependencies with npm...
536
- βœ“ Lockfile created (package-lock.json) - remember to commit it
351
+ create-mcpi-app@1.9.20
352
+
353
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
354
+ BANNER
355
+
356
+ Enhanced with identity features by MCP-I
357
+
358
+
359
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
360
+
361
+ Next Steps:
362
+ 1. Install dependencies:
363
+ cd my-agent
364
+ npm install
365
+
366
+ 2. Start development server:
367
+ npm run dev
368
+
369
+ 3. Deploy when ready:
370
+ npm run start
537
371
 
538
- 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
539
- βœ” Created Cloudflare MCP-I template files
372
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
373
+
374
+ create-mcpi-app@1.9.20
375
+
376
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
377
+ Invalid project name:
378
+ - bad
379
+
380
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
381
+ BANNER
382
+
383
+ Enhanced with identity features by MCP-I
384
+
385
+
386
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
387
+
388
+ create-mcpi-app@1.9.20
389
+
390
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
391
+ BANNER
392
+
393
+ Enhanced with identity features by MCP-I
394
+
395
+
396
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
397
+
398
+ Next Steps:
399
+ 1. Install dependencies:
400
+ cd pnpm-agent
401
+ pnpm install
402
+
403
+ 2. Initialize identity:
404
+ pnpm init
405
+
406
+ 3. Start development server:
407
+ pnpm dev
408
+
409
+ 4. Deploy when ready:
410
+ pnpm start
411
+
412
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
413
+
414
+ create-mcpi-app@1.9.20
415
+
416
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
417
+ BANNER
418
+
419
+ Enhanced with identity features by MCP-I
420
+
421
+
422
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
423
+
424
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
425
+
426
+
427
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
428
+
429
+ Next Steps:
430
+ 1. Install dependencies:
431
+ cd interactive-app
432
+ pnpm install
433
+
434
+ 2. Start development server:
435
+ pnpm dev
436
+
437
+ 3. Deploy when ready:
438
+ pnpm start
439
+
440
+ 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
441
+ βœ” Created Cloudflare MCP-I template files
540
442
  - Generated identity keys in .dev.vars
541
443
  - Configured wrangler.toml with KV namespaces (auto-provisioned)
542
444
  - Created modular tool structure
@@ -564,223 +466,121 @@ Next Steps:
564
466
  npm run deploy # Deploy (KV auto-created!)
565
467
 
566
468
 
567
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
568
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
469
+ βœ“ src/__tests__/cli-runner.test.ts (4 tests) 1178ms
470
+ βœ“ passes CLI flags to createProject when using --yes 1042ms
471
+ βœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 706ms
472
+ βœ“ session routing should have O(1) complexity 520ms
473
+ βœ“ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 96ms
474
+ βœ“ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 967ms
475
+ βœ“ should scaffold with correct @kya-os/mcp-i-cloudflare version 355ms
476
+ βœ“ should not include workspace: references in scaffolded package.json 349ms
477
+ βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 377ms
478
+ βœ“ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 918ms
479
+ βœ“ should enhance existing tools when tools directory exists with files 315ms
480
+ βœ“ should throw error when package.json does not exist 388ms
481
+ βœ“ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 726ms
482
+ βœ“ src/__tests__/index.test.ts (4 tests) 291ms
483
+ βœ“ src/__tests__/helpers/create.test.ts (13 tests) 659ms
484
+ βœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 71ms
485
+ βœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 335ms
486
+ βœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 127ms
487
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
488
+
489
+ πŸ“¦ Installing dependencies with npm...
490
+ βœ“ Lockfile created (package-lock.json) - remember to commit it
491
+
492
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
493
+
494
+ πŸ“¦ Installing dependencies with yarn...
495
+ βœ“ Lockfile created (yarn.lock) - remember to commit it
496
+
497
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
498
+
499
+ πŸ“¦ Installing dependencies with pnpm...
500
+ βœ“ Lockfile created (pnpm-lock.yaml) - remember to commit it
501
+
502
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
503
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
569
504
 
570
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
571
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
572
- 
573
505
  πŸ“¦ Installing dependencies with npm...
574
- Failed to install dependencies with npm.
506
+ βœ“ Lockfile created (package-lock.json) - remember to commit it
507
+
508
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
575
509
 
510
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
511
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
512
+
513
+ πŸ“¦ Installing dependencies with npm...
514
+ Failed to install dependencies with npm.
576
515
  βœ“ Lockfile created (package-lock.json) - remember to commit it
577
516
 
578
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
579
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
580
- 
517
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
518
+
519
+
581
520
  πŸ“¦ Installing dependencies with npm...
582
521
 
583
- Failed to install dependencies with npm.
584
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
522
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
585
523
 
586
- 
587
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
588
524
  πŸ“¦ Installing dependencies with npm...
589
525
 
590
- Failed to install dependencies with npm.
591
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
592
- 
526
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
527
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
528
+
593
529
  πŸ“¦ Installing dependencies with npm...
530
+ Failed to install dependencies with npm.
531
+
532
+
533
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
534
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
535
+ Failed to install dependencies with npm.
594
536
 
595
537
 
596
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
597
- 
598
538
  πŸ“¦ Installing dependencies with npm...
599
539
 
600
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
601
- 
602
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
603
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
540
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
541
+
542
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
604
543
  πŸ“¦ Installing dependencies with unknown...
605
544
 
545
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
546
+
547
+ βœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 375ms
548
+ βœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 58ms
549
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
606
550
 
607
- βœ“ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 10808ms
608
- βœ“ should scaffold with correct @kya-os/mcp-i-cloudflare version  4012ms
609
- βœ“ should include AGENTSHIELD_PROJECT_ID in wrangler.toml template  1640ms
610
- βœ“ should set AGENTSHIELD_PROJECT_ID when --project is provided  1832ms
611
- βœ“ should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided  1653ms
612
- βœ“ should pass AGENTSHIELD_PROJECT_ID to runtime config  912ms
613
- βœ“ should use dynamic version for dependency and expectedVersion  402ms
614
- βœ“ should not include workspace: references in scaffolded package.json  354ms
615
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
616
- 
617
551
  πŸ“¦ Installing dependencies with npm...
618
552
 
619
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
620
- 
553
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
554
+
621
555
  πŸ“¦ Installing dependencies with custom...
622
556
 
623
- βœ“ src/__tests__/helpers/install.test.ts (21 tests) 1637ms
624
- βœ“ should detect yarn from yarn.lock  470ms
625
- (node:27423) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
626
- (Use `node --trace-warnings ...` to show where the warning was created)
627
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
628
- [Session] Created session: secure-session
629
-
630
- βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 805ms
631
- βœ“ should read MCP session ID from Claude Desktop headers  535ms
632
- βœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 390ms
633
- βœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 910ms
634
- βœ“ should return fresh versions after cache clear  544ms
635
- βœ“ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 13679ms
636
- βœ“ should return early when noIdentity is true  643ms
637
- βœ“ should enhance existing tools when tools directory exists with files  1906ms
638
- βœ“ should create hello tool when tools directory exists but is empty  2123ms
639
- βœ“ should create tools directory and hello tool when tools directory does not exist  794ms
640
- βœ“ should update index.ts with hello export  882ms
641
- βœ“ should not duplicate hello export in index.ts  2038ms
642
- βœ“ should handle tool file with 'hello' in content without false positive  766ms
643
- βœ“ should add identity dependencies with published versions  775ms
644
- βœ“ should use workspace dependencies when MCPI_USE_WORKSPACE is true  721ms
645
- βœ“ should append to existing .gitignore without duplicates  371ms
646
- βœ“ should create .mcpi directory  573ms
647
- βœ“ should throw error when package.json does not exist  561ms
648
- βœ“ should handle getPackageVersions failure gracefully  507ms
649
- βœ“ should log progress messages when applying preset  637ms
650
- (node:27446) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
651
- (Use `node --trace-warnings ...` to show where the warning was created)
652
- βœ“ src/__tests__/helpers/kta-registration.test.ts (8 tests) 1159ms
653
- βœ“ should call cli-register endpoint with correct payload  871ms
654
- βœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 1241ms
655
- βœ“ should reset Cloudflare identity by removing variables from wrangler.toml  381ms
656
- βœ“ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 872ms
657
- βœ“ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 1685ms
658
- βœ“ should generate files that can be written to disk  1405ms
659
- βœ“ src/__tests__/utils/check-node.test.ts (7 tests) 981ms
660
- βœ“ should not exit for Node.js 20.x  500ms
661
- βœ“ should exit for Node.js 16.x  306ms
662
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
663
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
664
-
665
- βœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 705ms
666
- βœ“ creates minimal XMCP template structure  490ms
667
- βœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 401ms
668
- βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 853ms
669
- βœ“ src/__tests__/helpers/rename.test.ts (6 tests) 979ms
670
- βœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 675ms
671
- βœ“ src/__tests__/effects/index.test.ts (5 tests) 95ms
672
- βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 125ms
673
- βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 404ms
674
- βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 62ms
675
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
676
- [RemoteConfig] Neither projectId nor agentDid provided
677
-
678
- βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 51ms
679
- βœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 19811ms
680
- βœ“ should create all required files and directories  4023ms
681
- βœ“ should create mcpi-runtime-config.ts with correct structure  1249ms
682
- βœ“ should create index.ts with correct structure  414ms
683
- βœ“ should export Durable Object class for Cloudflare Workers binding  1879ms
684
- βœ“ should import Durable Object class from agent.ts  889ms
685
- βœ“ should generate agent class with all required abstract methods  694ms
686
- βœ“ should export Durable Object matching wrangler.toml class_name  671ms
687
- βœ“ should include MCP_SERVER_URL placeholder in wrangler.toml  557ms
688
- βœ“ should handle MCP_SERVER_URL configuration  890ms
689
- βœ“ should use simplified agent class structure  474ms
690
- βœ“ should include all required KV namespace bindings in wrangler.toml  336ms
691
- βœ“ should create KV namespace creation scripts in package.json  794ms
692
- βœ“ should not include setup script (Wrangler v4 auto-provisions)  444ms
693
- βœ“ should include correct imports in runtime config  533ms
694
- βœ“ should conditionally enable tool protection KV when API key provided  635ms
695
- βœ“ should comment out tool protection KV when no API key provided  422ms
696
- βœ“ should generate identity when skipIdentity is false  1567ms
697
- βœ“ should skip identity generation when skipIdentity is true  724ms
698
- βœ“ should include identity variables in wrangler.toml  595ms
699
- βœ“ should handle invalid project names  518ms
700
- βœ“ should use correct package manager in scripts  313ms
701
- βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 18453ms
702
- βœ“ should fetch and generate template successfully  2305ms
703
- βœ“ should use default project name from path when not provided  926ms
704
- βœ“ should handle different package managers  3602ms
705
- βœ“ should generate template with correct project structure  1192ms
706
- βœ“ should generate consistent template structure on multiple calls  468ms
707
- βœ“ should handle template generation without overwriting existing files incorrectly  713ms
708
- βœ“ should transform project name to valid class name  781ms
709
- βœ“ should handle special characters in project name  945ms
710
- βœ“ should handle numeric project names  455ms
711
- βœ“ should handle project names with only dots  443ms
712
- βœ“ should transform KV namespace bindings correctly  802ms
713
- βœ“ should transform package.json scripts correctly  700ms
714
- βœ“ should transform index.ts class name correctly  1084ms
715
- βœ“ should include API key in .dev.vars when provided  814ms
716
- βœ“ should handle missing API key gracefully  648ms
717
- βœ“ should skip identity generation when skipIdentity is true  706ms
718
- βœ“ should include valid JSON in KTA_REGISTRATION when registered  405ms
719
-
720
- ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯
721
-
722
-  FAIL  src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
723
- Error: Test timed out in 5000ms.
724
- If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
725
-  ❯ src/__tests__/cli-runner.test.ts:82:3
726
-  80|  }
727
-  81| 
728
-  82|  it("passes CLI flags to createProject when using --yes", async () =>…
729
-  |  ^
730
-  83|  mockCreateProject.mockResolvedValue({ success: true });
731
-  84|  mockCreateKYAOSBanner.mockResolvedValue("BANNER");
732
-
733
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯
734
-
735
-  FAIL  src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
736
- AssertionError: promise resolved "undefined" instead of rejecting
737
-
738
- - Expected:
739
- Error {
740
- "message": "rejected promise",
741
- }
742
-
743
- + Received:
744
- undefined
745
-
746
-  ❯ src/__tests__/cli-runner.test.ts:126:30
747
- 124|  const args = ["node", "create-mcpi-app", "bad-app", "--yes"];
748
- 125| 
749
- 126|  await expect(runCLI(args)).rejects.toThrow("process.exit called");
750
-  |  ^
751
- 127|  expect(mockCreateProject).not.toHaveBeenCalled();
752
- 128|  });
753
-
754
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯
755
-
756
-  FAIL  test-cloudflare/tests/do-routing.test.ts > Durable Object Multi-Instance Routing > Performance Characteristics > session routing should have O(1) complexity
757
- AssertionError: expected 2279.717041 to be less than 600
758
-  ❯ test-cloudflare/tests/do-routing.test.ts:229:24
759
- 227| 
760
- 228|  // Should complete 10k operations in < 600ms (relaxed for CI env…
761
- 229|  expect(duration).toBeLessThan(600);
762
-  |  ^
763
- 230|  });
764
- 231| 
765
-
766
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/4]⎯
767
-
768
-  FAIL  test-cloudflare/tests/do-routing.test.ts > Durable Object Multi-Instance Routing > Performance Characteristics > shard routing should have O(n) complexity for hash
769
- AssertionError: expected 685.3002509999988 to be less than 500
770
-  ❯ test-cloudflare/tests/do-routing.test.ts:266:44
771
- 264|  // Both operations should complete in reasonable time (< 500ms t…
772
- 265|  // Higher threshold accounts for CI environment variability and …
773
- 266|  expect(longDuration + shortDuration).toBeLessThan(500);
774
-  |  ^
775
- 267|  });
776
- 268|  });
777
-
778
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/4]⎯
779
-
780
-
781
-  Test Files  2 failed | 32 passed (34)
782
-  Tests  4 failed | 497 passed | 3 skipped (504)
783
-  Start at  19:08:38
784
-  Duration  36.47s (transform 61.36s, setup 0ms, import 109.98s, tests 146.93s, environment 102ms)
785
-
786
-  ELIFECYCLE  Test failed. See above for more details.
557
+ βœ“ src/__tests__/helpers/kta-registration.test.ts (8 tests) 24ms
558
+ βœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 61ms
559
+ βœ“ src/__tests__/helpers/install.test.ts (21 tests) 264ms
560
+ βœ“ src/__tests__/helpers/rename.test.ts (6 tests) 134ms
561
+ βœ“ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 378ms
562
+ βœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 387ms
563
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
564
+ [RemoteConfig] Neither projectId nor agentDid provided
565
+
566
+ βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
567
+ βœ“ src/__tests__/effects/index.test.ts (5 tests) 3ms
568
+ βœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2176ms
569
+ βœ“ should import Durable Object class from agent.ts 398ms
570
+ βœ“ should include MCP_SERVER_URL placeholder in wrangler.toml 378ms
571
+ βœ“ should create KV namespace creation scripts in package.json 388ms
572
+ βœ“ should skip identity generation when skipIdentity is true 342ms
573
+ βœ“ src/__tests__/utils/check-node.test.ts (7 tests) 22ms
574
+ βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
575
+ βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 69ms
576
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
577
+ ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
578
+
579
+ βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
580
+ βœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 162ms
581
+
582
+ Test Files 34 passed (34)
583
+ Tests 501 passed | 3 skipped (504)
584
+ Start at 18:23:04
585
+ Duration 5.95s (transform 6.51s, setup 0ms, import 17.71s, tests 12.05s, environment 3ms)
586
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.9.19",
3
+ "version": "1.9.21",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "type": "module",
6
6
  "main": "./dist/helpers/index.js",
@@ -36,7 +36,7 @@
36
36
  "@kya-os/cli-effects": "^1.0.19",
37
37
  "@kya-os/contracts": "^1.7.17",
38
38
  "@kya-os/mcp-i": "^1.7.10",
39
- "@kya-os/mcp-i-cloudflare": "^1.7.23",
39
+ "@kya-os/mcp-i-cloudflare": "^1.7.25",
40
40
  "base-x": "^5.0.0",
41
41
  "chalk": "^4.1.2",
42
42
  "commander": "^12.1.0",