@kya-os/create-mcpi-app 1.8.45 → 1.8.46

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,5 +1,5 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.40 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.46 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
@@ -12,20 +12,11 @@
12
12
  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
13
13
  🔑 Generating cryptographic identity...
14
14
 
15
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
16
- 
17
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
18
-
19
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 43ms
20
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
21
- 🔑 Generating cryptographic identity...
22
-
23
15
  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
24
16
  ✔ Created Cloudflare MCP-I template files
25
17
  - Generated identity keys in .dev.vars
26
- - Configured wrangler.toml with KV namespaces
18
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
27
19
  - Created modular tool structure
28
- - Created setup script for KV namespace creation
29
20
 
30
21
  ============================================================
31
22
  🎉 Cloudflare MCP-I project created successfully!
@@ -50,13 +41,18 @@
50
41
  npm run deploy # Deploy (KV auto-created!)
51
42
 
52
43
 
53
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 60ms
54
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
44
+ 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
45
+ 
46
+ 🏗️ Generating Cloudflare MCP-I project: test-project-env...
47
+
48
+ 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
49
+ 🔑 Generating cryptographic identity...
50
+
51
+ 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
55
52
  ✔ Created Cloudflare MCP-I template files
56
53
  - Generated identity keys in .dev.vars
57
- - Configured wrangler.toml with KV namespaces
54
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
58
55
  - Created modular tool structure
59
- - Created setup script for KV namespace creation
60
56
 
61
57
  ============================================================
62
58
  🎉 Cloudflare MCP-I project created successfully!
@@ -75,128 +71,24 @@
75
71
  - Wrangler updates wrangler.toml with namespace IDs
76
72
 
77
73
  🚀 Next Steps:
78
- cd test-agent
74
+ cd test-project-env
79
75
  wrangler login # Login to Cloudflare first!
80
76
  npm run dev # Start local development
81
77
  npm run deploy # Deploy (KV auto-created!)
82
78
 
83
79
 
84
- 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
85
- 
86
- 🏗️ Generating Cloudflare MCP-I project: test-project-env...
87
-
88
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
80
+ 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
89
81
  
90
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
91
-
92
- 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
93
- 🔑 Generating cryptographic identity...
82
+ 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
94
83
 
95
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
84
+ 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
96
85
  🔑 Generating cryptographic identity...
97
86
 
98
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
99
- 
100
- create-mcpi-app@1.8.40
101
-
102
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
103
- BANNER
104
-
105
- Enhanced with identity features by MCP-I
106
-
107
-
108
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 70ms
109
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
110
- 
111
- Next Steps:
112
- 1. Install dependencies:
113
- cd my-agent
114
- npm install
115
-
116
- 2. Start development server:
117
- npm run dev
118
-
119
- 3. Deploy when ready:
120
- npm run start
121
-
122
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
123
- Invalid project name:
124
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
125
- - bad
126
- 
127
- create-mcpi-app@1.8.40
128
-
129
-
130
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
131
- BANNER
132
-
133
- Enhanced with identity features by MCP-I
134
-
135
-
136
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
137
- 
138
- create-mcpi-app@1.8.40
139
-
140
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
141
- BANNER
142
-
143
- Enhanced with identity features by MCP-I
144
-
145
-
146
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
147
- 
148
- Next Steps:
149
- 1. Install dependencies:
150
- cd pnpm-agent
151
- pnpm install
152
-
153
- 2. Initialize identity:
154
- pnpm init
155
-
156
- 3. Start development server:
157
- pnpm dev
158
-
159
- 4. Deploy when ready:
160
- pnpm start
161
-
162
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
163
- 
164
- create-mcpi-app@1.8.40
165
-
166
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
167
- BANNER
168
-
169
- Enhanced with identity features by MCP-I
170
-
171
-
172
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
173
- 
174
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
175
-
176
-
177
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
178
- 
179
- Next Steps:
180
- 1. Install dependencies:
181
- cd interactive-app
182
- pnpm install
183
-
184
- 2. Start development server:
185
- pnpm dev
186
-
187
- 3. Deploy when ready:
188
- pnpm start
189
-
190
- ✓ src/__tests__/cli-runner.test.ts (4 tests) 113ms
191
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 47ms
192
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 71ms
193
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 83ms
194
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
87
+ 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
195
88
  ✔ Created Cloudflare MCP-I template files
196
89
  - Generated identity keys in .dev.vars
197
- - Configured wrangler.toml with KV namespaces
90
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
198
91
  - Created modular tool structure
199
- - Created setup script for KV namespace creation
200
92
 
201
93
  ============================================================
202
94
  🎉 Cloudflare MCP-I project created successfully!
@@ -215,18 +107,24 @@ Next Steps:
215
107
  - Wrangler updates wrangler.toml with namespace IDs
216
108
 
217
109
  🚀 Next Steps:
218
- cd my-awesome-agent
110
+ cd test-project-with-id
219
111
  wrangler login # Login to Cloudflare first!
220
112
  npm run dev # Start local development
221
113
  npm run deploy # Deploy (KV auto-created!)
222
114
 
223
115
 
224
- 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
116
+ 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
117
+ 
118
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
119
+
120
+ 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
121
+ 🔑 Generating cryptographic identity...
122
+
123
+ 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
225
124
  ✔ Created Cloudflare MCP-I template files
226
125
  - Generated identity keys in .dev.vars
227
- - Configured wrangler.toml with KV namespaces
126
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
228
127
  - Created modular tool structure
229
- - Created setup script for KV namespace creation
230
128
 
231
129
  ============================================================
232
130
  🎉 Cloudflare MCP-I project created successfully!
@@ -245,33 +143,24 @@ Next Steps:
245
143
  - Wrangler updates wrangler.toml with namespace IDs
246
144
 
247
145
  🚀 Next Steps:
248
- cd test-project-env
146
+ cd test-project-no-id
249
147
  wrangler login # Login to Cloudflare first!
250
148
  npm run dev # Start local development
251
149
  npm run deploy # Deploy (KV auto-created!)
252
150
 
253
151
 
254
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
255
- 
256
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
257
-
258
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
259
- 🔑 Generating cryptographic identity...
260
-
261
- 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
152
+ 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
262
153
  
263
- 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
154
+ 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
264
155
 
265
- 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
156
+ 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
266
157
  🔑 Generating cryptographic identity...
267
158
 
268
- ✓ src/__tests__/helpers/create.test.ts (13 tests) 102ms
269
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
159
+ 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
270
160
  ✔ Created Cloudflare MCP-I template files
271
161
  - Generated identity keys in .dev.vars
272
- - Configured wrangler.toml with KV namespaces
162
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
273
163
  - Created modular tool structure
274
- - Created setup script for KV namespace creation
275
164
 
276
165
  ============================================================
277
166
  🎉 Cloudflare MCP-I project created successfully!
@@ -290,18 +179,24 @@ Next Steps:
290
179
  - Wrangler updates wrangler.toml with namespace IDs
291
180
 
292
181
  🚀 Next Steps:
293
- cd test-agent
182
+ cd test-project-runtime
294
183
  wrangler login # Login to Cloudflare first!
295
184
  npm run dev # Start local development
296
185
  npm run deploy # Deploy (KV auto-created!)
297
186
 
298
187
 
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
188
+ 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
189
+ 
190
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
191
+
192
+ 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
193
+ 🔑 Generating cryptographic identity...
194
+
195
+ 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
300
196
  ✔ Created Cloudflare MCP-I template files
301
197
  - Generated identity keys in .dev.vars
302
- - Configured wrangler.toml with KV namespaces
198
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
303
199
  - Created modular tool structure
304
- - Created setup script for KV namespace creation
305
200
 
306
201
  ============================================================
307
202
  🎉 Cloudflare MCP-I project created successfully!
@@ -320,32 +215,31 @@ Next Steps:
320
215
  - Wrangler updates wrangler.toml with namespace IDs
321
216
 
322
217
  🚀 Next Steps:
323
- cd test-project-with-id
218
+ cd test-project-no-workspace
324
219
  wrangler login # Login to Cloudflare first!
325
220
  npm run dev # Start local development
326
221
  npm run deploy # Deploy (KV auto-created!)
327
222
 
328
223
 
329
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
224
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 90ms
225
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 223ms
226
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 88ms
227
+ ✓ src/__tests__/index.test.ts (4 tests) 88ms
228
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
330
229
  
331
230
  🏗️ Generating Cloudflare MCP-I project: test-agent...
332
231
 
333
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
334
- 🔑 Generating cryptographic identity...
335
-
336
- 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
337
- 
338
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
339
-
340
- 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
232
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
341
233
  🔑 Generating cryptographic identity...
342
234
 
343
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
235
+ ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 162ms
236
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 371ms
237
+ ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 151ms
238
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
344
239
  ✔ Created Cloudflare MCP-I template files
345
240
  - Generated identity keys in .dev.vars
346
- - Configured wrangler.toml with KV namespaces
241
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
347
242
  - Created modular tool structure
348
- - Created setup script for KV namespace creation
349
243
 
350
244
  ============================================================
351
245
  🎉 Cloudflare MCP-I project created successfully!
@@ -370,12 +264,21 @@ Next Steps:
370
264
  npm run deploy # Deploy (KV auto-created!)
371
265
 
372
266
 
373
- 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
267
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
268
+ 
269
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
270
+
271
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
272
+ 🔑 Generating cryptographic identity...
273
+
274
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 38ms
275
+ ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 162ms
276
+ ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 9ms
277
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
374
278
  ✔ Created Cloudflare MCP-I template files
375
279
  - Generated identity keys in .dev.vars
376
- - Configured wrangler.toml with KV namespaces
280
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
377
281
  - Created modular tool structure
378
- - Created setup script for KV namespace creation
379
282
 
380
283
  ============================================================
381
284
  🎉 Cloudflare MCP-I project created successfully!
@@ -394,29 +297,25 @@ Next Steps:
394
297
  - Wrangler updates wrangler.toml with namespace IDs
395
298
 
396
299
  🚀 Next Steps:
397
- cd test-project-no-id
300
+ cd my-awesome-agent
398
301
  wrangler login # Login to Cloudflare first!
399
302
  npm run dev # Start local development
400
303
  npm run deploy # Deploy (KV auto-created!)
401
304
 
402
305
 
403
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 181ms
404
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 5ms
405
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 10ms
406
- 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
+ ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 12ms
307
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
407
308
  
408
- 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
309
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
409
310
 
410
- 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
311
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
411
312
  🔑 Generating cryptographic identity...
412
313
 
413
- ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 224ms
414
- 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
314
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
415
315
  ✔ Created Cloudflare MCP-I template files
416
316
  - Generated identity keys in .dev.vars
417
- - Configured wrangler.toml with KV namespaces
317
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
418
318
  - Created modular tool structure
419
- - Created setup script for KV namespace creation
420
319
 
421
320
  ============================================================
422
321
  🎉 Cloudflare MCP-I project created successfully!
@@ -435,30 +334,26 @@ Next Steps:
435
334
  - Wrangler updates wrangler.toml with namespace IDs
436
335
 
437
336
  🚀 Next Steps:
438
- cd test-project-runtime
337
+ cd test-agent
439
338
  wrangler login # Login to Cloudflare first!
440
339
  npm run dev # Start local development
441
340
  npm run deploy # Deploy (KV auto-created!)
442
341
 
443
342
 
444
- 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
343
+ ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 328ms
344
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
445
345
  
446
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
346
+ 🏗️ Generating Cloudflare MCP-I project: test-agent...
447
347
 
448
- 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
348
+ ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 188ms
349
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
449
350
  🔑 Generating cryptographic identity...
450
351
 
451
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
452
- 
453
- 📦 Installing dependencies with npm...
454
- ✓ Lockfile created (package-lock.json) - remember to commit it
455
-
456
- 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
352
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
457
353
  ✔ Created Cloudflare MCP-I template files
458
354
  - Generated identity keys in .dev.vars
459
- - Configured wrangler.toml with KV namespaces
355
+ - Configured wrangler.toml with KV namespaces (auto-provisioned)
460
356
  - Created modular tool structure
461
- - Created setup script for KV namespace creation
462
357
 
463
358
  ============================================================
464
359
  🎉 Cloudflare MCP-I project created successfully!
@@ -477,104 +372,204 @@ Next Steps:
477
372
  - Wrangler updates wrangler.toml with namespace IDs
478
373
 
479
374
  🚀 Next Steps:
480
- cd test-project-no-workspace
375
+ cd test-agent
481
376
  wrangler login # Login to Cloudflare first!
482
377
  npm run dev # Start local development
483
378
  npm run deploy # Deploy (KV auto-created!)
484
379
 
485
380
 
486
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 58ms
381
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 764ms
382
+ ✓ should include envPrefix in generated index.ts  355ms
383
+ ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 257ms
384
+ ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 33ms
385
+ ✓ src/__tests__/utils/check-node.test.ts (7 tests) 256ms
386
+ ✓ src/__tests__/helpers/create.test.ts (13 tests) 568ms
387
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
388
+ 
389
+ create-mcpi-app@1.8.46
390
+
391
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
392
+ BANNER
393
+
394
+ Enhanced with identity features by MCP-I
395
+
396
+
397
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
398
+ 
399
+ Next Steps:
400
+ 1. Install dependencies:
401
+ cd my-agent
402
+ npm install
403
+
404
+ 2. Start development server:
405
+ npm run dev
406
+
407
+ 3. Deploy when ready:
408
+ npm run start
409
+
410
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
411
+ 
412
+ create-mcpi-app@1.8.46
413
+
414
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
415
+ BANNER
416
+
417
+ Enhanced with identity features by MCP-I
418
+
419
+
420
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
421
+ Invalid project name:
422
+ - bad
423
+
424
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
425
+ 
426
+ create-mcpi-app@1.8.46
427
+
428
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
429
+ BANNER
430
+
431
+ Enhanced with identity features by MCP-I
432
+
433
+
434
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
435
+ 
436
+ Next Steps:
437
+ 1. Install dependencies:
438
+ cd pnpm-agent
439
+ pnpm install
440
+
441
+ 2. Initialize identity:
442
+ pnpm init
443
+
444
+ 3. Start development server:
445
+ pnpm dev
446
+
447
+ 4. Deploy when ready:
448
+ pnpm start
449
+
450
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
451
+ 
452
+ create-mcpi-app@1.8.46
453
+
454
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
455
+ BANNER
456
+
457
+ Enhanced with identity features by MCP-I
458
+
459
+
460
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
461
+ 
462
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
463
+
464
+
465
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
466
+ 
467
+ Next Steps:
468
+ 1. Install dependencies:
469
+ cd interactive-app
470
+ pnpm install
471
+
472
+ 2. Start development server:
473
+ pnpm dev
474
+
475
+ 3. Deploy when ready:
476
+ pnpm start
477
+
478
+ ✓ src/__tests__/cli-runner.test.ts (4 tests) 71ms
479
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 56ms
480
+ ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (24 tests | 1 skipped) 357ms
481
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
482
+ 
483
+ 📦 Installing dependencies with npm...
484
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
485
+ ✓ Lockfile created (package-lock.json) - remember to commit it
486
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
487
+
488
+
489
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
490
+ Failed to install dependencies with npm.
487
491
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
488
492
  
493
+
494
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
489
495
  📦 Installing dependencies with yarn...
490
496
  ✓ Lockfile created (yarn.lock) - remember to commit it
491
497
 
492
- ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 300ms
493
498
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
494
499
  
500
+ Failed to install dependencies with npm.
495
501
  📦 Installing dependencies with pnpm...
496
502
  ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
497
503
 
498
504
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
505
+
499
506
  
500
507
  📦 Installing dependencies with npm...
501
508
  ✓ Lockfile created (package-lock.json) - remember to commit it
502
-
503
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
504
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
509
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
505
510
 
506
511
  stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
512
+ Failed to install dependencies with npm.
507
513
  
508
514
  📦 Installing dependencies with npm...
515
+
509
516
  ✓ Lockfile created (package-lock.json) - remember to commit it
510
517
 
511
518
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
512
519
  
513
520
  📦 Installing dependencies with npm...
514
521
 
515
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
516
- Failed to install dependencies with npm.
517
-
518
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
519
522
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
520
523
  
521
- Failed to install dependencies with npm.
522
-
523
524
  📦 Installing dependencies with npm...
524
525
 
525
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
526
526
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
527
- Failed to install dependencies with npm.
528
527
  
529
528
  📦 Installing dependencies with npm...
530
529
 
531
530
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
532
-
533
531
  
534
532
  📦 Installing dependencies with npm...
535
533
 
534
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 8ms
535
+ ✓ src/__tests__/helpers/rename.test.ts (6 tests) 8ms
536
536
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
537
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
538
537
  
539
538
  📦 Installing dependencies with unknown...
540
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
541
-
542
539
 
543
- ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 42ms
544
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 80ms
540
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
545
541
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
546
542
  
547
543
  📦 Installing dependencies with npm...
544
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
548
545
 
549
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 17ms
550
546
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
551
547
  
552
548
  📦 Installing dependencies with custom...
553
549
 
554
- ✓ src/__tests__/helpers/install.test.ts (21 tests) 132ms
550
+
551
+ ✓ src/__tests__/helpers/install.test.ts (21 tests) 142ms
552
+ ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 712ms
553
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 152ms
555
554
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
556
555
  [Session] Created session: secure-session
557
556
 
558
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 28ms
559
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
557
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 15ms
558
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
559
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 92ms
560
560
  stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
561
561
  ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
562
562
 
563
+ ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 33ms
563
564
  ✓ src/__tests__/effects/index.test.ts (5 tests) 4ms
564
- ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 30ms
565
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
566
- ✓ src/__tests__/helpers/rename.test.ts (6 tests) 13ms
567
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 30ms
568
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 434ms
569
565
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
570
566
  [RemoteConfig] Neither projectId nor agentDid provided
571
567
 
572
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
568
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
573
569
  ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
574
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 472ms
575
570
 
576
-  Test Files  29 passed (29)
577
-  Tests  416 passed | 2 skipped (418)
578
-  Start at  18:43:51
579
-  Duration  702ms (transform 1.07s, setup 0ms, import 2.17s, tests 2.66s, environment 2ms)
571
+  Test Files  33 passed (33)
572
+  Tests  487 passed | 3 skipped (490)
573
+  Start at  22:10:16
574
+  Duration  3.95s (transform 3.69s, setup 0ms, import 10.26s, tests 5.45s, environment 2ms)
580
575