@kya-os/create-mcpi-app 1.8.37 → 1.8.39

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.35 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.39 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,21 +1,25 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.32 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
- > vitest run
2
+ > @kya-os/create-mcpi-app@1.8.38 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > vitest run --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) 50ms
8
+ 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
9
+
10
+ šŸ—ļø Generating Cloudflare MCP-I project: test-project...
11
+
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
+ šŸ”‘ Generating cryptographic identity...
14
+
9
15
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
10
16
 
11
17
  šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
12
18
 
13
- āœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 40ms
14
19
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
15
20
  šŸ”‘ Generating cryptographic identity...
16
21
 
17
- āœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 15ms
18
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
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
19
23
  āœ” Created Cloudflare MCP-I template files
20
24
  - Generated identity keys in .dev.vars
21
25
  - Configured wrangler.toml with KV namespaces
@@ -39,25 +43,66 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
39
43
  - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
40
44
 
41
45
  šŸš€ Next Steps:
42
- cd test-agent
46
+ cd test-project
47
+
48
+ āœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 46ms
49
+ 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
50
+ wrangler login # Login to Cloudflare first!
51
+ npm run setup # Create KV namespaces
52
+ npm run dev # Start local development
53
+ npm run deploy # Deploy to Cloudflare
54
+
43
55
 
44
56
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
45
57
 
46
58
  šŸ“¦ Installing dependencies with npm...
47
59
  āœ“ Lockfile created (package-lock.json) - remember to commit it
48
60
 
49
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
50
- wrangler login # Login to Cloudflare first!
51
- npm run setup # Create KV namespaces
52
- npm run dev # Start local development
53
- npm run deploy # Deploy to Cloudflare
61
+ 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
54
62
 
63
+ šŸ—ļø Generating Cloudflare MCP-I project: test-project-env...
55
64
 
56
65
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
57
66
 
58
67
  šŸ“¦ Installing dependencies with yarn...
59
68
  āœ“ Lockfile created (yarn.lock) - remember to commit it
60
69
 
70
+ 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
71
+ šŸ”‘ Generating cryptographic identity...
72
+
73
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
74
+ āœ” Created Cloudflare MCP-I template files
75
+ - Generated identity keys in .dev.vars
76
+ - Configured wrangler.toml with KV namespaces
77
+ - Created modular tool structure
78
+ - Created setup script for KV namespace creation
79
+
80
+ ============================================================
81
+ šŸŽ‰ Cloudflare MCP-I project created successfully!
82
+ ============================================================
83
+
84
+ šŸ“ Important Configuration Notes:
85
+
86
+ 1. ADMIN_API_KEY (in .dev.vars):
87
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
88
+ - You can change it if you need separate admin endpoint security
89
+ - Required for admin endpoints like /admin/clear-cache
90
+
91
+ 2. KV Namespaces (in wrangler.toml):
92
+ - Required for MCP-I security features
93
+ - Auto-created by 'npm run setup' script
94
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
95
+
96
+ šŸš€ Next Steps:
97
+ cd test-agent
98
+
99
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
100
+ wrangler login # Login to Cloudflare first!
101
+ npm run setup # Create KV namespaces
102
+ npm run dev # Start local development
103
+ npm run deploy # Deploy to Cloudflare
104
+
105
+
61
106
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
62
107
 
63
108
  šŸ“¦ Installing dependencies with pnpm...
@@ -68,56 +113,94 @@ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installati
68
113
  šŸ“¦ Installing dependencies with npm...
69
114
  āœ“ Lockfile created (package-lock.json) - remember to commit it
70
115
 
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)
116
+ 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
117
+ āœ” Created Cloudflare MCP-I template files
118
+ - Generated identity keys in .dev.vars
119
+ - Configured wrangler.toml with KV namespaces
120
+ - Created modular tool structure
121
+ - Created setup script for KV namespace creation
74
122
 
75
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
123
+ ============================================================
124
+ šŸŽ‰ Cloudflare MCP-I project created successfully!
125
+ ============================================================
76
126
 
77
- šŸ—ļø Generating Cloudflare MCP-I project: my-awesome-agent...
127
+ šŸ“ Important Configuration Notes:
128
+
129
+ 1. ADMIN_API_KEY (in .dev.vars):
130
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
131
+ - You can change it if you need separate admin endpoint security
132
+ - Required for admin endpoints like /admin/clear-cache
133
+
134
+ 2. KV Namespaces (in wrangler.toml):
135
+ - Required for MCP-I security features
136
+ - Auto-created by 'npm run setup' script
137
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
138
+
139
+ šŸš€ Next Steps:
140
+ cd test-project-env
141
+
142
+ 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
143
+ wrangler login # Login to Cloudflare first!
144
+ npm run setup # Create KV namespaces
145
+ npm run dev # Start local development
146
+ npm run deploy # Deploy to Cloudflare
147
+
148
+
149
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
150
+ āš ļø Warning: No lockfile generated (pnpm-lock.yaml)
78
151
 
79
152
  stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
80
153
 
81
154
  šŸ“¦ Installing dependencies with npm...
82
155
  āœ“ Lockfile created (package-lock.json) - remember to commit it
83
156
 
157
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
158
+
159
+ šŸ—ļø Generating Cloudflare MCP-I project: my-awesome-agent...
160
+
84
161
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
85
162
  šŸ”‘ Generating cryptographic identity...
86
163
 
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
89
- Failed to install dependencies with npm.
164
+ 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
90
165
 
166
+ šŸ—ļø Generating Cloudflare MCP-I project: test-project-with-id...
167
+
168
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
91
169
 
92
170
  šŸ“¦ Installing dependencies with npm...
93
171
 
94
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
172
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
95
173
  Failed to install dependencies with npm.
96
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
97
174
 
175
+ 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
176
+ šŸ”‘ Generating cryptographic identity...
177
+
178
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
98
179
 
180
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
99
181
  šŸ“¦ Installing dependencies with npm...
100
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
182
+ Failed to install dependencies with npm.
183
+
101
184
 
102
185
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
103
186
 
187
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
104
188
  šŸ“¦ Installing dependencies with npm...
105
- Failed to install dependencies with npm.
106
-
107
189
 
108
190
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
109
191
 
110
192
  šŸ“¦ Installing dependencies with npm...
111
193
 
112
- āœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 95ms
194
+ Failed to install dependencies with npm.
195
+
113
196
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
197
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
198
+ āš ļø Warning: Unknown package manager "unknown", cannot check lockfile
114
199
 
115
200
  šŸ“¦ Installing dependencies with unknown...
116
201
 
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
119
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
120
202
 
203
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
121
204
 
122
205
  šŸ“¦ Installing dependencies with npm...
123
206
 
@@ -125,11 +208,85 @@ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation >
125
208
 
126
209
  šŸ“¦ Installing dependencies with custom...
127
210
 
128
- āœ“ src/__tests__/helpers/install.test.ts (21 tests) 71ms
129
- āœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 84ms
211
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
212
+ āœ” Created Cloudflare MCP-I template files
213
+ - Generated identity keys in .dev.vars
214
+ - Configured wrangler.toml with KV namespaces
215
+ - Created modular tool structure
216
+ - Created setup script for KV namespace creation
217
+
218
+ ============================================================
219
+ šŸŽ‰ Cloudflare MCP-I project created successfully!
220
+ ============================================================
221
+
222
+ šŸ“ Important Configuration Notes:
223
+
224
+ 1. ADMIN_API_KEY (in .dev.vars):
225
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
226
+ - You can change it if you need separate admin endpoint security
227
+ - Required for admin endpoints like /admin/clear-cache
228
+
229
+ 2. KV Namespaces (in wrangler.toml):
230
+ - Required for MCP-I security features
231
+ - Auto-created by 'npm run setup' script
232
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
233
+
234
+ šŸš€ Next Steps:
235
+ cd my-awesome-agent
236
+
237
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
238
+ wrangler login # Login to Cloudflare first!
239
+ npm run setup # Create KV namespaces
240
+ npm run dev # Start local development
241
+ npm run deploy # Deploy to Cloudflare
242
+
243
+
244
+ āœ“ src/__tests__/helpers/install.test.ts (21 tests) 43ms
245
+ āœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 62ms
246
+ 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
247
+ āœ” Created Cloudflare MCP-I template files
248
+ - Generated identity keys in .dev.vars
249
+ - Configured wrangler.toml with KV namespaces
250
+ - Created modular tool structure
251
+ - Created setup script for KV namespace creation
252
+
253
+ ============================================================
254
+ šŸŽ‰ Cloudflare MCP-I project created successfully!
255
+ ============================================================
256
+
257
+ šŸ“ Important Configuration Notes:
258
+
259
+ 1. ADMIN_API_KEY (in .dev.vars):
260
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
261
+ - You can change it if you need separate admin endpoint security
262
+ - Required for admin endpoints like /admin/clear-cache
263
+
264
+ 2. KV Namespaces (in wrangler.toml):
265
+ - Required for MCP-I security features
266
+ - Auto-created by 'npm run setup' script
267
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
268
+
269
+ šŸš€ Next Steps:
270
+ cd test-project-with-id
271
+
272
+ 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
273
+ wrangler login # Login to Cloudflare first!
274
+ npm run setup # Create KV namespaces
275
+ npm run dev # Start local development
276
+ npm run deploy # Deploy to Cloudflare
277
+
278
+
279
+ āœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 62ms
280
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
281
+
282
+ šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
283
+
284
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
285
+ šŸ”‘ Generating cryptographic identity...
286
+
130
287
  stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
131
288
 
132
- create-mcpi-app@1.8.32
289
+ create-mcpi-app@1.8.38
133
290
 
134
291
  stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
135
292
  BANNER
@@ -150,12 +307,9 @@ Next Steps:
150
307
  3. Deploy when ready:
151
308
  npm run start
152
309
 
153
- āœ“ src/__tests__/utils/check-node.test.ts (7 tests) 11ms
154
310
  stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
155
311
 
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:
312
+ create-mcpi-app@1.8.38
159
313
 
160
314
  stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
161
315
  BANNER
@@ -163,11 +317,13 @@ BANNER
163
317
  Enhanced with identity features by MCP-I
164
318
 
165
319
 
166
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
167
-
320
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
321
+ Invalid project name:
168
322
  - bad
169
- create-mcpi-app@1.8.32
170
323
 
324
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
325
+
326
+ create-mcpi-app@1.8.38
171
327
 
172
328
  stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
173
329
  BANNER
@@ -193,7 +349,7 @@ Next Steps:
193
349
 
194
350
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
195
351
 
196
- create-mcpi-app@1.8.32
352
+ create-mcpi-app@1.8.38
197
353
 
198
354
  stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
199
355
  BANNER
@@ -219,89 +375,17 @@ Next Steps:
219
375
  3. Deploy when ready:
220
376
  pnpm start
221
377
 
222
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
223
- āœ” Created Cloudflare MCP-I template files
224
- - Generated identity keys in .dev.vars
225
- - Configured wrangler.toml with KV namespaces
226
- - Created modular tool structure
227
- - Created setup script for KV namespace creation
228
-
229
- ============================================================
230
- šŸŽ‰ Cloudflare MCP-I project created successfully!
231
- ============================================================
232
-
233
- šŸ“ Important Configuration Notes:
234
-
235
- 1. ADMIN_API_KEY (in .dev.vars):
236
- - Set to same value as AGENTSHIELD_API_KEY for convenience
237
- - You can change it if you need separate admin endpoint security
238
- - Required for admin endpoints like /admin/clear-cache
239
-
240
- 2. KV Namespaces (in wrangler.toml):
241
- - Required for MCP-I security features
242
- - Auto-created by 'npm run setup' script
243
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
244
-
245
- šŸš€ Next Steps:
246
- cd my-awesome-agent
247
-
248
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
249
- wrangler login # Login to Cloudflare first!
250
- npm run setup # Create KV namespaces
251
- npm run dev # Start local development
252
- npm run deploy # Deploy to Cloudflare
253
-
254
-
255
- āœ“ src/__tests__/cli-runner.test.ts (4 tests) 179ms
256
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
257
-
258
- šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
259
-
260
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
261
- šŸ”‘ Generating cryptographic identity...
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
378
+ āœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 74ms
379
+ āœ“ src/__tests__/cli-runner.test.ts (4 tests) 126ms
380
+ 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
381
 
265
- šŸ—ļø Generating Cloudflare MCP-I project: test-project...
382
+ šŸ—ļø Generating Cloudflare MCP-I project: test-project-no-id...
266
383
 
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
384
+ 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
385
  šŸ”‘ Generating cryptographic identity...
269
386
 
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
387
+ āœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 60ms
388
+ āœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 83ms
305
389
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
306
390
  āœ” Created Cloudflare MCP-I template files
307
391
  - Generated identity keys in .dev.vars
@@ -335,10 +419,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
335
419
  npm run deploy # Deploy to Cloudflare
336
420
 
337
421
 
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
-
342
422
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
343
423
 
344
424
  šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
@@ -346,96 +426,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
346
426
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
347
427
  šŸ”‘ Generating cryptographic identity...
348
428
 
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
357
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
358
- āœ” Created Cloudflare MCP-I template files
359
- - Generated identity keys in .dev.vars
360
- - Configured wrangler.toml with KV namespaces
361
- - Created modular tool structure
362
- - Created setup script for KV namespace creation
363
-
364
- ============================================================
365
- šŸŽ‰ Cloudflare MCP-I project created successfully!
366
- ============================================================
367
-
368
- šŸ“ Important Configuration Notes:
369
-
370
- 1. ADMIN_API_KEY (in .dev.vars):
371
- - Set to same value as AGENTSHIELD_API_KEY for convenience
372
- - You can change it if you need separate admin endpoint security
373
- - Required for admin endpoints like /admin/clear-cache
374
-
375
- 2. KV Namespaces (in wrangler.toml):
376
- - Required for MCP-I security features
377
- - Auto-created by 'npm run setup' script
378
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
379
-
380
- šŸš€ Next Steps:
381
- cd test-agent
382
-
383
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
384
- wrangler login # Login to Cloudflare first!
385
- npm run setup # Create KV namespaces
386
- npm run dev # Start local development
387
- npm run deploy # Deploy to Cloudflare
388
-
389
-
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
396
-
397
- ============================================================
398
- šŸŽ‰ Cloudflare MCP-I project created successfully!
399
- ============================================================
400
-
401
- šŸ“ Important Configuration Notes:
402
-
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
407
-
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
412
-
413
- šŸš€ Next Steps:
414
- cd test-project-env
415
-
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
421
-
422
-
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
427
-
428
- šŸ—ļø Generating Cloudflare MCP-I project: test-project-with-id...
429
-
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...
432
-
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
436
-
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
429
+ 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
439
430
  āœ” Created Cloudflare MCP-I template files
440
431
  - Generated identity keys in .dev.vars
441
432
  - Configured wrangler.toml with KV namespaces
@@ -459,26 +450,23 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
459
450
  - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
460
451
 
461
452
  šŸš€ Next Steps:
462
- cd test-project-with-id
453
+ cd test-project-no-id
463
454
 
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
455
+ 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
467
456
  wrangler login # Login to Cloudflare first!
468
457
  npm run setup # Create KV namespaces
469
458
  npm run dev # Start local development
470
459
  npm run deploy # Deploy to Cloudflare
471
460
 
472
461
 
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
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
475
463
 
476
- šŸ—ļø Generating Cloudflare MCP-I project: test-project-no-id...
464
+ šŸ—ļø Generating Cloudflare MCP-I project: test-project-runtime...
477
465
 
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
466
+ 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
479
467
  šŸ”‘ Generating cryptographic identity...
480
468
 
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
469
+ 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
482
470
  āœ” Created Cloudflare MCP-I template files
483
471
  - Generated identity keys in .dev.vars
484
472
  - Configured wrangler.toml with KV namespaces
@@ -502,24 +490,16 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
502
490
  - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
503
491
 
504
492
  šŸš€ Next Steps:
505
- cd test-project-no-id
493
+ cd test-project-runtime
506
494
 
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
495
+ 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
508
496
  wrangler login # Login to Cloudflare first!
509
497
  npm run setup # Create KV namespaces
510
498
  npm run dev # Start local development
511
499
  npm run deploy # Deploy to Cloudflare
512
500
 
513
501
 
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
515
-
516
- šŸ—ļø Generating Cloudflare MCP-I project: test-project-runtime...
517
-
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...
520
-
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
502
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
523
503
  āœ” Created Cloudflare MCP-I template files
524
504
  - Generated identity keys in .dev.vars
525
505
  - Configured wrangler.toml with KV namespaces
@@ -543,16 +523,16 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
543
523
  - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
544
524
 
545
525
  šŸš€ Next Steps:
546
- cd test-project-runtime
526
+ cd test-agent
547
527
 
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
528
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
549
529
  wrangler login # Login to Cloudflare first!
550
530
  npm run setup # Create KV namespaces
551
531
  npm run dev # Start local development
552
532
  npm run deploy # Deploy to Cloudflare
553
533
 
554
534
 
555
- āœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
535
+ āœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 143ms
556
536
  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
537
 
558
538
  šŸ—ļø Generating Cloudflare MCP-I project: test-project-no-workspace...
@@ -560,7 +540,6 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
560
540
  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
541
  šŸ”‘ Generating cryptographic identity...
562
542
 
563
- āœ“ src/__tests__/effects/index.test.ts (5 tests) 3ms
564
543
  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
544
  āœ” Created Cloudflare MCP-I template files
566
545
  - Generated identity keys in .dev.vars
@@ -594,16 +573,37 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
594
573
  npm run deploy # Deploy to Cloudflare
595
574
 
596
575
 
597
- āœ“ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 221ms
576
+ āœ“ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 204ms
577
+ āœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 27ms
578
+ āœ“ src/__tests__/helpers/create.test.ts (13 tests) 201ms
579
+ āœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 17ms
580
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
581
+ āš ļø dist-tag 'next' not available for xmcp, falling back to ^0.3.1
582
+
583
+ āœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 33ms
584
+ āœ“ src/__tests__/utils/check-node.test.ts (7 tests) 19ms
585
+ āœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 31ms
586
+ āœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
587
+ āœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 52ms
588
+ āœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 55ms
589
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
590
+ [Session] Created session: secure-session
591
+
592
+ āœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 116ms
593
+ āœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 12ms
594
+ āœ“ src/__tests__/helpers/rename.test.ts (6 tests) 11ms
595
+ āœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 392ms
596
+ āœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
597
+ āœ“ src/__tests__/effects/index.test.ts (5 tests) 3ms
598
+ āœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 5ms
598
599
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
599
600
  [RemoteConfig] Neither projectId nor agentDid provided
600
601
 
601
602
  āœ“ 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
603
+ āœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 447ms
604
604
 
605
605
  Test Files 28 passed (28)
606
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)
607
+ Start at 18:38:23
608
+ Duration 724ms (transform 962ms, setup 0ms, import 2.11s, tests 2.33s, environment 2ms)
609
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.37",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.39",
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.37";
660
+ const expectedVersion = "1.6.39";
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.37",
3
+ "version": "1.8.39",
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.7",
17
+ "@kya-os/cli": "^1.4.8",
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
- "@kya-os/contracts": "^1.6.10",
20
- "@kya-os/mcp-i": "^1.6.7",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.35",
19
+ "@kya-os/contracts": "^1.6.12",
20
+ "@kya-os/mcp-i": "^1.6.8",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.39",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",