@kya-os/create-mcpi-app 1.8.32 → 1.8.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.31 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.34 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,18 +1,20 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.31 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.32 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
6
  RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 187ms
8
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 50ms
9
9
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
10
10
 
11
11
  🏗️ Generating Cloudflare MCP-I project: test-agent...
12
12
 
13
+ ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 40ms
13
14
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
14
15
  🔑 Generating cryptographic identity...
15
16
 
17
+ ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 15ms
16
18
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
17
19
  ✔ Created Cloudflare MCP-I template files
18
20
  - Generated identity keys in .dev.vars
@@ -39,6 +41,11 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
39
41
  🚀 Next Steps:
40
42
  cd test-agent
41
43
 
44
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
45
+
46
+ 📦 Installing dependencies with npm...
47
+ ✓ Lockfile created (package-lock.json) - remember to commit it
48
+
42
49
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
43
50
  wrangler login # Login to Cloudflare first!
44
51
  npm run setup # Create KV namespaces
@@ -46,31 +53,10 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
46
53
  npm run deploy # Deploy to Cloudflare
47
54
 
48
55
 
49
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 347ms
50
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
51
-
52
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
53
-
54
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 304ms
55
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 99ms
56
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
57
- 🔑 Generating cryptographic identity...
58
-
59
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 240ms
60
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
61
-
62
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
63
- 📦 Installing dependencies with npm...
64
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
65
-
66
- ✓ Lockfile created (package-lock.json) - remember to commit it
67
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
68
-
69
56
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
70
57
 
71
58
  📦 Installing dependencies with yarn...
72
59
  ✓ Lockfile created (yarn.lock) - remember to commit it
73
- Failed to install dependencies with npm.
74
60
 
75
61
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
76
62
 
@@ -79,52 +65,160 @@ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installati
79
65
 
80
66
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
81
67
 
82
-
83
68
  📦 Installing dependencies with npm...
84
69
  ✓ Lockfile created (package-lock.json) - remember to commit it
85
70
 
71
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 103ms
72
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
73
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
74
+
75
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
76
+
77
+ 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
78
+
86
79
  stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
87
80
 
88
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
89
81
  📦 Installing dependencies with npm...
90
- Failed to install dependencies with npm.
91
82
  ✓ Lockfile created (package-lock.json) - remember to commit it
92
83
 
93
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
84
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
85
+ 🔑 Generating cryptographic identity...
94
86
 
87
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
88
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
95
89
  Failed to install dependencies with npm.
96
90
 
97
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
98
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
99
-
100
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
101
91
 
102
92
  📦 Installing dependencies with npm...
103
93
 
94
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
95
+ Failed to install dependencies with npm.
104
96
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
105
97
 
98
+
106
99
  📦 Installing dependencies with npm...
100
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
107
101
 
108
102
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
109
103
 
110
104
  📦 Installing dependencies with npm...
105
+ Failed to install dependencies with npm.
106
+
111
107
 
112
108
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
113
109
 
114
110
  📦 Installing dependencies with npm...
115
111
 
112
+ ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 95ms
116
113
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
117
114
 
118
115
  📦 Installing dependencies with unknown...
119
116
 
117
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
118
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
120
119
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
121
120
 
121
+
122
122
  📦 Installing dependencies with npm...
123
123
 
124
124
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
125
125
 
126
126
  📦 Installing dependencies with custom...
127
127
 
128
+ ✓ src/__tests__/helpers/install.test.ts (21 tests) 71ms
129
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 84ms
130
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
131
+
132
+ create-mcpi-app@1.8.32
133
+
134
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
135
+ BANNER
136
+
137
+ Enhanced with identity features by MCP-I
138
+
139
+
140
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
141
+
142
+ Next Steps:
143
+ 1. Install dependencies:
144
+ cd my-agent
145
+ npm install
146
+
147
+ 2. Start development server:
148
+ npm run dev
149
+
150
+ 3. Deploy when ready:
151
+ npm run start
152
+
153
+ ✓ src/__tests__/utils/check-node.test.ts (7 tests) 11ms
154
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
155
+
156
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
157
+ create-mcpi-app@1.8.32
158
+ Invalid project name:
159
+
160
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
161
+ BANNER
162
+
163
+ Enhanced with identity features by MCP-I
164
+
165
+
166
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
167
+
168
+ - bad
169
+ create-mcpi-app@1.8.32
170
+
171
+
172
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
173
+ BANNER
174
+
175
+ Enhanced with identity features by MCP-I
176
+
177
+
178
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
179
+
180
+ Next Steps:
181
+ 1. Install dependencies:
182
+ cd pnpm-agent
183
+ pnpm install
184
+
185
+ 2. Initialize identity:
186
+ pnpm init
187
+
188
+ 3. Start development server:
189
+ pnpm dev
190
+
191
+ 4. Deploy when ready:
192
+ pnpm start
193
+
194
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
195
+
196
+ create-mcpi-app@1.8.32
197
+
198
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
199
+ BANNER
200
+
201
+ Enhanced with identity features by MCP-I
202
+
203
+
204
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
205
+
206
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
207
+
208
+
209
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
210
+
211
+ Next Steps:
212
+ 1. Install dependencies:
213
+ cd interactive-app
214
+ pnpm install
215
+
216
+ 2. Start development server:
217
+ pnpm dev
218
+
219
+ 3. Deploy when ready:
220
+ pnpm start
221
+
128
222
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
129
223
  ✔ Created Cloudflare MCP-I template files
130
224
  - Generated identity keys in .dev.vars
@@ -158,6 +252,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
158
252
  npm run deploy # Deploy to Cloudflare
159
253
 
160
254
 
255
+ ✓ src/__tests__/cli-runner.test.ts (4 tests) 179ms
161
256
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
162
257
 
163
258
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -165,6 +260,48 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
165
260
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
166
261
  🔑 Generating cryptographic identity...
167
262
 
263
+ 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
264
+
265
+ 🏗️ Generating Cloudflare MCP-I project: test-project...
266
+
267
+ 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
268
+ 🔑 Generating cryptographic identity...
269
+
270
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 190ms
271
+ 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
272
+ ✔ Created Cloudflare MCP-I template files
273
+ - Generated identity keys in .dev.vars
274
+ - Configured wrangler.toml with KV namespaces
275
+ - Created modular tool structure
276
+ - Created setup script for KV namespace creation
277
+
278
+ ============================================================
279
+ 🎉 Cloudflare MCP-I project created successfully!
280
+ ============================================================
281
+
282
+ 📝 Important Configuration Notes:
283
+
284
+ 1. ADMIN_API_KEY (in .dev.vars):
285
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
286
+ - You can change it if you need separate admin endpoint security
287
+ - Required for admin endpoints like /admin/clear-cache
288
+
289
+ 2. KV Namespaces (in wrangler.toml):
290
+ - Required for MCP-I security features
291
+ - Auto-created by 'npm run setup' script
292
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
293
+
294
+ 🚀 Next Steps:
295
+ cd test-project
296
+
297
+ 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
298
+ wrangler login # Login to Cloudflare first!
299
+ npm run setup # Create KV namespaces
300
+ npm run dev # Start local development
301
+ npm run deploy # Deploy to Cloudflare
302
+
303
+
304
+ ✓ src/__tests__/helpers/create.test.ts (13 tests) 167ms
168
305
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
169
306
  ✔ Created Cloudflare MCP-I template files
170
307
  - Generated identity keys in .dev.vars
@@ -198,8 +335,10 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
198
335
  npm run deploy # Deploy to Cloudflare
199
336
 
200
337
 
201
- src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 251ms
202
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 177ms
338
+ 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
339
+
340
+ 🏗️ Generating Cloudflare MCP-I project: test-project-env...
341
+
203
342
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
204
343
 
205
344
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -207,7 +346,14 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
207
346
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
208
347
  🔑 Generating cryptographic identity...
209
348
 
210
- src/__tests__/helpers/install.test.ts (21 tests) 190ms
349
+ 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
350
+ 🔑 Generating cryptographic identity...
351
+
352
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
353
+ [Session] Created session: secure-session
354
+
355
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
356
+ ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 36ms
211
357
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
212
358
  ✔ Created Cloudflare MCP-I template files
213
359
  - Generated identity keys in .dev.vars
@@ -241,133 +387,223 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
241
387
  npm run deploy # Deploy to Cloudflare
242
388
 
243
389
 
244
- src/__tests__/scaffolder-envprefix.test.ts (4 tests) 628ms
245
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
246
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
247
- Invalid project name:
248
- - bad
390
+ 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
391
+ Created Cloudflare MCP-I template files
392
+ - Generated identity keys in .dev.vars
393
+ - Configured wrangler.toml with KV namespaces
394
+ - Created modular tool structure
395
+ - Created setup script for KV namespace creation
249
396
 
397
+ ============================================================
398
+ 🎉 Cloudflare MCP-I project created successfully!
399
+ ============================================================
250
400
 
251
- create-mcpi-app@1.8.31
401
+ 📝 Important Configuration Notes:
252
402
 
253
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
254
- BANNER
403
+ 1. ADMIN_API_KEY (in .dev.vars):
404
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
405
+ - You can change it if you need separate admin endpoint security
406
+ - Required for admin endpoints like /admin/clear-cache
255
407
 
256
- Enhanced with identity features by MCP-I
408
+ 2. KV Namespaces (in wrangler.toml):
409
+ - Required for MCP-I security features
410
+ - Auto-created by 'npm run setup' script
411
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
257
412
 
413
+ 🚀 Next Steps:
414
+ cd test-project-env
258
415
 
259
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
416
+ 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
417
+ wrangler login # Login to Cloudflare first!
418
+ npm run setup # Create KV namespaces
419
+ npm run dev # Start local development
420
+ npm run deploy # Deploy to Cloudflare
260
421
 
261
- Next Steps:
262
- 1. Install dependencies:
263
- cd my-agent
264
- npm install
265
422
 
266
- 2. Start development server:
267
- npm run dev
423
+ ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 40ms
424
+ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 16ms
425
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 290ms
426
+ 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
268
427
 
269
- 3. Deploy when ready:
270
- npm run start
428
+ 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
271
429
 
272
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
430
+ 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
431
+ 🔑 Generating cryptographic identity...
273
432
 
274
- create-mcpi-app@1.8.31
433
+ ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 24ms
434
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
435
+ ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
275
436
 
276
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
277
- BANNER
437
+ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
438
+ 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
439
+ ✔ Created Cloudflare MCP-I template files
440
+ - Generated identity keys in .dev.vars
441
+ - Configured wrangler.toml with KV namespaces
442
+ - Created modular tool structure
443
+ - Created setup script for KV namespace creation
278
444
 
279
- Enhanced with identity features by MCP-I
445
+ ============================================================
446
+ 🎉 Cloudflare MCP-I project created successfully!
447
+ ============================================================
280
448
 
449
+ 📝 Important Configuration Notes:
281
450
 
282
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
451
+ 1. ADMIN_API_KEY (in .dev.vars):
452
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
453
+ - You can change it if you need separate admin endpoint security
454
+ - Required for admin endpoints like /admin/clear-cache
283
455
 
284
- create-mcpi-app@1.8.31
456
+ 2. KV Namespaces (in wrangler.toml):
457
+ - Required for MCP-I security features
458
+ - Auto-created by 'npm run setup' script
459
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
285
460
 
286
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
287
- BANNER
461
+ 🚀 Next Steps:
462
+ cd test-project-with-id
288
463
 
289
- Enhanced with identity features by MCP-I
464
+ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 29ms
465
+ ✓ src/__tests__/helpers/rename.test.ts (6 tests) 33ms
466
+ 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
467
+ wrangler login # Login to Cloudflare first!
468
+ npm run setup # Create KV namespaces
469
+ npm run dev # Start local development
470
+ npm run deploy # Deploy to Cloudflare
290
471
 
291
472
 
292
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
473
+ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
474
+ 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
293
475
 
294
- Next Steps:
295
- 1. Install dependencies:
296
- cd pnpm-agent
297
- pnpm install
476
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
298
477
 
299
- 2. Initialize identity:
300
- pnpm init
478
+ 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
479
+ 🔑 Generating cryptographic identity...
301
480
 
302
- 3. Start development server:
303
- pnpm dev
481
+ 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
482
+ Created Cloudflare MCP-I template files
483
+ - Generated identity keys in .dev.vars
484
+ - Configured wrangler.toml with KV namespaces
485
+ - Created modular tool structure
486
+ - Created setup script for KV namespace creation
304
487
 
305
- 4. Deploy when ready:
306
- pnpm start
488
+ ============================================================
489
+ 🎉 Cloudflare MCP-I project created successfully!
490
+ ============================================================
307
491
 
308
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
492
+ 📝 Important Configuration Notes:
309
493
 
310
- create-mcpi-app@1.8.31
494
+ 1. ADMIN_API_KEY (in .dev.vars):
495
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
496
+ - You can change it if you need separate admin endpoint security
497
+ - Required for admin endpoints like /admin/clear-cache
311
498
 
312
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
313
- BANNER
499
+ 2. KV Namespaces (in wrangler.toml):
500
+ - Required for MCP-I security features
501
+ - Auto-created by 'npm run setup' script
502
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
314
503
 
315
- Enhanced with identity features by MCP-I
504
+ 🚀 Next Steps:
505
+ cd test-project-no-id
316
506
 
507
+ 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
508
+ wrangler login # Login to Cloudflare first!
509
+ npm run setup # Create KV namespaces
510
+ npm run dev # Start local development
511
+ npm run deploy # Deploy to Cloudflare
317
512
 
318
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
319
513
 
320
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
514
+ 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
321
515
 
516
+ 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
322
517
 
323
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
518
+ 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
519
+ 🔑 Generating cryptographic identity...
324
520
 
325
- Next Steps:
326
- 1. Install dependencies:
327
- cd interactive-app
328
- pnpm install
521
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
522
+ 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
523
+ Created Cloudflare MCP-I template files
524
+ - Generated identity keys in .dev.vars
525
+ - Configured wrangler.toml with KV namespaces
526
+ - Created modular tool structure
527
+ - Created setup script for KV namespace creation
329
528
 
330
- 2. Start development server:
331
- pnpm dev
529
+ ============================================================
530
+ 🎉 Cloudflare MCP-I project created successfully!
531
+ ============================================================
332
532
 
333
- 3. Deploy when ready:
334
- pnpm start
533
+ 📝 Important Configuration Notes:
335
534
 
336
- src/__tests__/cli-runner.test.ts (4 tests) 981ms
337
- passes CLI flags to createProject when using --yes 976ms
338
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
339
- [Session] Created session: secure-session
535
+ 1. ADMIN_API_KEY (in .dev.vars):
536
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
537
+ - You can change it if you need separate admin endpoint security
538
+ - Required for admin endpoints like /admin/clear-cache
340
539
 
341
- test-cloudflare/tests/session-management.test.ts (17 tests) 54ms
342
- src/__tests__/helpers/create.test.ts (13 tests) 1012ms
343
- should pass apikey to Cloudflare template 649ms
344
- src/__tests__/helpers/generate-identity.test.ts (24 tests) 588ms
345
- ✓ should generate a valid identity 405ms
346
- src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 226ms
347
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
348
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
540
+ 2. KV Namespaces (in wrangler.toml):
541
+ - Required for MCP-I security features
542
+ - Auto-created by 'npm run setup' script
543
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
544
+
545
+ 🚀 Next Steps:
546
+ cd test-project-runtime
547
+
548
+ 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
549
+ wrangler login # Login to Cloudflare first!
550
+ npm run setup # Create KV namespaces
551
+ npm run dev # Start local development
552
+ npm run deploy # Deploy to Cloudflare
553
+
554
+
555
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
556
+ 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
557
+
558
+ 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
349
559
 
350
- src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 26ms
351
- test-cloudflare/tests/delegation.test.ts (12 tests) 61ms
352
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 83ms
353
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 204ms
354
- src/__tests__/utils/is-folder-empty.test.ts (21 tests) 28ms
355
- test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 165ms
560
+ 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
561
+ 🔑 Generating cryptographic identity...
562
+
563
+ ✓ src/__tests__/effects/index.test.ts (5 tests) 3ms
564
+ 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
565
+ Created Cloudflare MCP-I template files
566
+ - Generated identity keys in .dev.vars
567
+ - Configured wrangler.toml with KV namespaces
568
+ - Created modular tool structure
569
+ - Created setup script for KV namespace creation
570
+
571
+ ============================================================
572
+ 🎉 Cloudflare MCP-I project created successfully!
573
+ ============================================================
574
+
575
+ 📝 Important Configuration Notes:
576
+
577
+ 1. ADMIN_API_KEY (in .dev.vars):
578
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
579
+ - You can change it if you need separate admin endpoint security
580
+ - Required for admin endpoints like /admin/clear-cache
581
+
582
+ 2. KV Namespaces (in wrangler.toml):
583
+ - Required for MCP-I security features
584
+ - Auto-created by 'npm run setup' script
585
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
586
+
587
+ 🚀 Next Steps:
588
+ cd test-project-no-workspace
589
+
590
+ 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
591
+ wrangler login # Login to Cloudflare first!
592
+ npm run setup # Create KV namespaces
593
+ npm run dev # Start local development
594
+ npm run deploy # Deploy to Cloudflare
595
+
596
+
597
+ ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 221ms
356
598
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
357
599
  [RemoteConfig] Neither projectId nor agentDid provided
358
600
 
359
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 6ms
360
- ✓ src/__tests__/helpers/rename.test.ts (6 tests) 21ms
361
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 2633ms
362
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 7ms
363
- src/__tests__/effects/index.test.ts (5 tests) 43ms
364
- src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
365
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2940ms
366
- should import Durable Object class from agent.ts 304ms
367
- ✓ should use createMCPIApp (not deprecated adapter) 333ms
368
-
369
- Test Files 27 passed (27)
370
- Tests 398 passed | 2 skipped (400)
371
- Start at 01:32:16
372
- Duration 5.99s (transform 8.09s, setup 0ms, import 15.01s, tests 11.51s, environment 8ms)
601
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
602
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 450ms
603
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 457ms
604
+
605
+ Test Files 28 passed (28)
606
+ Tests 405 passed | 2 skipped (407)
607
+ Start at 03:22:22
608
+ Duration 788ms (transform 1.11s, setup 0ms, import 2.06s, tests 2.64s, environment 2ms)
373
609
 
@@ -80,7 +80,7 @@ export async function fetchCloudflareMcpiTemplate(targetDir, options) {
80
80
  "kv:create-tool-protection": `wrangler kv:namespace create ${projectNameUpper}_${KV_BINDING_NAMES[4]}`,
81
81
  },
82
82
  dependencies: {
83
- "@kya-os/mcp-i-cloudflare": "1.6.30",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.32",
84
84
  "@modelcontextprotocol/sdk": "1.19.1",
85
85
  agents: "0.2.21",
86
86
  hono: "4.6.3",
@@ -657,7 +657,7 @@ dist
657
657
  await runCommand(packageManager, ["install"], targetDir);
658
658
  // 13a. Verify installed version matches expected version
659
659
  console.log(chalk.blue("\n🔍 Verifying package versions..."));
660
- const expectedVersion = "1.6.30";
660
+ const expectedVersion = "1.6.32";
661
661
  try {
662
662
  const installedPackagePath = path.join(targetDir, "node_modules", "@kya-os", "mcp-i-cloudflare", "package.json");
663
663
  if (fs.existsSync(installedPackagePath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.8.32",
3
+ "version": "1.8.34",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "bin": {
6
6
  "create-mcpi-app": "./dist/index.js"
@@ -14,11 +14,11 @@
14
14
  "prepublishOnly": "npm run build && node scripts/validate-dependencies.js && node scripts/validate-template-versions.js"
15
15
  },
16
16
  "dependencies": {
17
- "@kya-os/cli": "^1.4.4",
17
+ "@kya-os/cli": "^1.4.6",
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
- "@kya-os/contracts": "^1.6.7",
20
- "@kya-os/mcp-i": "^1.6.5",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.30",
19
+ "@kya-os/contracts": "^1.6.8",
20
+ "@kya-os/mcp-i": "^1.6.6",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.32",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",