@kya-os/create-mcpi-app 1.8.24 β†’ 1.8.25

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,134 +1,103 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.23 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
- > vitest run --run
2
+ > @kya-os/create-mcpi-app@1.8.19 test /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
3
+ > vitest run
4
4
 
5
5
 
6
-  RUN  v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
6
+ RUN v4.0.5 /Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app
7
7
 
8
- βœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 60ms
9
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
10
- 
11
- πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
8
+ βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
9
+ βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
10
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
11
+ [Session] Created session: secure-session
12
+
13
+ βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 6ms
14
+ βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
15
+ βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
16
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
17
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
18
+ [RemoteConfig] Neither projectId nor agentDid provided
12
19
 
13
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
14
- πŸ”‘ Generating cryptographic identity...
15
20
 
16
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
17
- 
18
21
  πŸ“¦ Installing dependencies with npm...
19
22
  βœ“ Lockfile created (package-lock.json) - remember to commit it
20
23
 
21
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
22
- βœ” Created Cloudflare MCP-I template files
23
- - Generated identity keys in .dev.vars
24
- - Configured wrangler.toml with KV namespaces
25
- - Created modular tool structure
26
- - Created setup script for KV namespace creation
27
-
28
- ============================================================
29
- πŸŽ‰ Cloudflare MCP-I project created successfully!
30
- ============================================================
31
-
32
- πŸ“ Important Configuration Notes:
33
-
34
- 1. ADMIN_API_KEY (in .dev.vars):
35
- - Set to same value as AGENTSHIELD_API_KEY for convenience
36
- - You can change it if you need separate admin endpoint security
37
- - Required for admin endpoints like /admin/clear-cache
38
-
39
- 2. KV Namespaces (in wrangler.toml):
40
- - Required for MCP-I security features
41
- - Auto-created by 'npm run setup' script
42
- - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
43
-
44
- πŸš€ Next Steps:
45
- cd test-agent
46
-
47
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
48
-  wrangler login # Login to Cloudflare first!
49
- npm run setup # Create KV namespaces
50
- npm run dev # Start local development
51
- npm run deploy # Deploy to Cloudflare
24
+ βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
25
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
52
26
 
53
-
54
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
55
- 
56
27
  πŸ“¦ Installing dependencies with yarn...
57
28
  βœ“ Lockfile created (yarn.lock) - remember to commit it
58
29
 
59
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
60
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
30
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
61
31
 
62
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
63
- 
64
32
  πŸ“¦ Installing dependencies with pnpm...
65
33
  βœ“ Lockfile created (pnpm-lock.yaml) - remember to commit it
66
34
 
67
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
68
- 
69
- πŸ—οΈ Generating Cloudflare MCP-I project: my-awesome-agent...
70
-
71
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
72
- πŸ”‘ Generating cryptographic identity...
35
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
73
36
 
74
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
75
- 
76
37
  πŸ“¦ Installing dependencies with npm...
77
38
  βœ“ Lockfile created (package-lock.json) - remember to commit it
78
39
 
79
- βœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 23ms
80
- βœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 68ms
81
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
82
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
83
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
40
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
41
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
42
+
43
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
84
44
 
85
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
86
- 
87
45
  πŸ“¦ Installing dependencies with npm...
88
46
  βœ“ Lockfile created (package-lock.json) - remember to commit it
89
- Failed to install dependencies with npm.
90
47
 
91
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
92
- 
48
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
49
+
93
50
  πŸ“¦ Installing dependencies with npm...
94
51
 
95
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
52
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
53
+ Failed to install dependencies with npm.
54
+
55
+ βœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 62ms
56
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
96
57
 
97
- 
98
58
  πŸ“¦ Installing dependencies with npm...
59
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
60
+
61
+ Failed to install dependencies with npm.
62
+
63
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
99
64
 
100
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
101
- 
102
65
  πŸ“¦ Installing dependencies with npm...
103
66
 
104
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
105
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
106
- 
107
- Failed to install dependencies with npm.
67
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
68
+
108
69
  πŸ“¦ Installing dependencies with npm...
109
70
 
71
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
72
+ Failed to install dependencies with npm.
73
+
74
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
110
75
 
111
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
112
- 
113
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
114
- Failed to install dependencies with npm.
115
76
  πŸ“¦ Installing dependencies with unknown...
116
77
 
117
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
118
- 
78
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
79
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
80
+
81
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
82
+
83
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
84
+
85
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
119
86
 
120
87
  πŸ“¦ Installing dependencies with npm...
121
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
122
88
 
123
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
124
- βœ” Created Cloudflare MCP-I template files
89
+ βœ“ src/__tests__/helpers/install.test.ts (20 tests) 29ms
90
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
91
+ πŸ”‘ Generating cryptographic identity...
92
+
93
+ βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 43ms
94
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
95
+ βœ” Created Cloudflare MCP-I template files
125
96
  - Generated identity keys in .dev.vars
126
97
  - Configured wrangler.toml with KV namespaces
127
98
  - Created modular tool structure
128
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
129
99
  - Created setup script for KV namespace creation
130
100
 
131
-
132
101
  ============================================================
133
102
  πŸŽ‰ Cloudflare MCP-I project created successfully!
134
103
  ============================================================
@@ -146,24 +115,24 @@
146
115
  - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
147
116
 
148
117
  πŸš€ Next Steps:
149
- cd my-awesome-agent
118
+ cd test-agent
150
119
 
151
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
152
-  wrangler login # Login to Cloudflare first!
120
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
121
+ wrangler login # Login to Cloudflare first!
153
122
  npm run setup # Create KV namespaces
154
123
  npm run dev # Start local development
155
124
  npm run deploy # Deploy to Cloudflare
156
125
 
157
126
 
158
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
159
- 
160
- πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
127
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
128
+
129
+ πŸ—οΈ Generating Cloudflare MCP-I project: my-awesome-agent...
161
130
 
162
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
163
- πŸ”‘ Generating cryptographic identity...
131
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
132
+ πŸ”‘ Generating cryptographic identity...
164
133
 
165
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
166
- βœ” Created Cloudflare MCP-I template files
134
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
135
+ βœ” Created Cloudflare MCP-I template files
167
136
  - Generated identity keys in .dev.vars
168
137
  - Configured wrangler.toml with KV namespaces
169
138
  - Created modular tool structure
@@ -186,32 +155,24 @@
186
155
  - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
187
156
 
188
157
  πŸš€ Next Steps:
189
- cd test-agent
158
+ cd my-awesome-agent
190
159
 
191
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
192
-  wrangler login # Login to Cloudflare first!
160
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
161
+ wrangler login # Login to Cloudflare first!
193
162
  npm run setup # Create KV namespaces
194
163
  npm run dev # Start local development
195
164
  npm run deploy # Deploy to Cloudflare
196
165
 
197
166
 
198
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
199
- 
200
- πŸ“¦ Installing dependencies with custom...
167
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
201
168
 
202
- βœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 23ms
203
- βœ“ src/__tests__/helpers/install.test.ts (21 tests) 75ms
204
- βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 73ms
205
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
206
- 
207
169
  πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
208
170
 
209
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
210
- πŸ”‘ Generating cryptographic identity...
171
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
172
+ πŸ”‘ Generating cryptographic identity...
211
173
 
212
- βœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 70ms
213
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
214
- βœ” Created Cloudflare MCP-I template files
174
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
175
+ βœ” Created Cloudflare MCP-I template files
215
176
  - Generated identity keys in .dev.vars
216
177
  - Configured wrangler.toml with KV namespaces
217
178
  - Created modular tool structure
@@ -236,133 +197,101 @@
236
197
  πŸš€ Next Steps:
237
198
  cd test-agent
238
199
 
239
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
240
-  wrangler login # Login to Cloudflare first!
200
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
201
+ wrangler login # Login to Cloudflare first!
241
202
  npm run setup # Create KV namespaces
242
203
  npm run dev # Start local development
243
204
  npm run deploy # Deploy to Cloudflare
244
205
 
245
206
 
246
- βœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 90ms
247
- βœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 139ms
248
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
249
- 
250
- create-mcpi-app@1.8.23
251
-
252
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
253
- BANNER
254
-
255
- Enhanced with identity features by MCP-I
256
-
257
-
258
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
259
- 
260
- Next Steps:
261
- 1. Install dependencies:
262
- cd my-agent
263
- npm install
264
-
265
- 2. Start development server:
266
- npm run dev
267
-
268
- 3. Deploy when ready:
269
- npm run start
270
-
271
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
272
- 
273
- create-mcpi-app@1.8.23
274
-
275
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
276
- BANNER
277
-
278
- Enhanced with identity features by MCP-I
279
-
280
-
281
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
282
- Invalid project name:
283
- - bad
284
-
285
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
286
- 
287
- create-mcpi-app@1.8.23
288
-
289
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
290
- BANNER
291
-
292
- Enhanced with identity features by MCP-I
293
-
294
-
295
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
296
- 
297
- Next Steps:
298
- 1. Install dependencies:
299
- cd pnpm-agent
300
- pnpm install
301
-
302
- 2. Initialize identity:
303
- pnpm init
207
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
304
208
 
305
- 3. Start development server:
306
- pnpm dev
209
+ πŸ—οΈ Generating Cloudflare MCP-I project: test-agent...
307
210
 
308
- 4. Deploy when ready:
309
- pnpm start
211
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
212
+ πŸ”‘ Generating cryptographic identity...
213
+
214
+ ❯ src/__tests__/helpers/validate-project-structure.test.ts (23 tests | 1 failed) 52ms
215
+ Γ— should validate identity-enabled project structure correctly 3ms
216
+ βœ“ should validate vanilla project structure correctly 7ms
217
+ βœ“ should detect missing package.json 1ms
218
+ βœ“ should detect incorrect script count for identity project 1ms
219
+ βœ“ should detect incorrect script count for vanilla project 2ms
220
+ βœ“ should detect missing required scripts 1ms
221
+ βœ“ should detect missing greet.ts file 4ms
222
+ βœ“ should detect missing .gitignore file 2ms
223
+ βœ“ should detect missing xmcp.config.ts file 2ms
224
+ βœ“ should validate all required files exist 3ms
225
+ βœ“ should handle package.json without scripts 1ms
226
+ βœ“ should handle package.json with empty scripts 1ms
227
+ βœ“ should validate correct number of scripts 3ms
228
+ βœ“ should provide clear error messages for missing scripts 2ms
229
+ βœ“ should provide clear error messages for missing files 1ms
230
+ βœ“ should include file path in error messages 2ms
231
+ βœ“ should require .mcpi/ in .gitignore for identity projects 4ms
232
+ βœ“ should not require .mcpi/ in .gitignore for vanilla projects 3ms
233
+ βœ“ should detect npm lockfile 2ms
234
+ βœ“ should detect yarn lockfile 1ms
235
+ βœ“ should detect pnpm lockfile 1ms
236
+ βœ“ should warn when lockfile not found 1ms
237
+ βœ“ should handle unknown package manager 1ms
238
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
239
+ βœ” Created Cloudflare MCP-I template files
240
+ - Generated identity keys in .dev.vars
241
+ - Configured wrangler.toml with KV namespaces
242
+ - Created modular tool structure
243
+ - Created setup script for KV namespace creation
310
244
 
311
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
312
- 
313
- create-mcpi-app@1.8.23
245
+ ============================================================
246
+ πŸŽ‰ Cloudflare MCP-I project created successfully!
247
+ ============================================================
314
248
 
315
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
316
- BANNER
249
+ πŸ“ Important Configuration Notes:
317
250
 
318
- Enhanced with identity features by MCP-I
251
+ 1. ADMIN_API_KEY (in .dev.vars):
252
+ - Set to same value as AGENTSHIELD_API_KEY for convenience
253
+ - You can change it if you need separate admin endpoint security
254
+ - Required for admin endpoints like /admin/clear-cache
319
255
 
256
+ 2. KV Namespaces (in wrangler.toml):
257
+ - Required for MCP-I security features
258
+ - Auto-created by 'npm run setup' script
259
+ - Check wrangler.toml for 'TODO_REPLACE_WITH_ID' if setup failed
320
260
 
321
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
322
- 
323
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
261
+ πŸš€ Next Steps:
262
+ cd test-agent
324
263
 
264
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
265
+ wrangler login # Login to Cloudflare first!
266
+ npm run setup # Create KV namespaces
267
+ npm run dev # Start local development
268
+ npm run deploy # Deploy to Cloudflare
325
269
 
326
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
327
- 
328
- Next Steps:
329
- 1. Install dependencies:
330
- cd interactive-app
331
- pnpm install
332
270
 
333
- 2. Start development server:
334
- pnpm dev
271
+ βœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 40ms
272
+ βœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 49ms
273
+ βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 141ms
274
+ βœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 182ms
335
275
 
336
- 3. Deploy when ready:
337
- pnpm start
276
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
338
277
 
339
- βœ“ src/__tests__/cli-runner.test.ts (4 tests) 233ms
340
- βœ“ src/__tests__/utils/check-node.test.ts (7 tests) 48ms
341
- βœ“ src/__tests__/helpers/create.test.ts (13 tests) 166ms
342
- βœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 8ms
343
- βœ“ src/__tests__/helpers/rename.test.ts (6 tests) 19ms
344
- βœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 50ms
345
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
346
- [Session] Created session: secure-session
278
+ FAIL src/__tests__/helpers/validate-project-structure.test.ts > validateProjectStructure > Project structure validation > should validate identity-enabled project structure correctly
279
+ Error: ENOENT: no such file or directory, open '/Users/brian/Documents/Vouched/@sandbox/xmcp-i-S/packages/create-mcpi-app/test-temp/validate-test-1764171409545-6a9ur9/package.json'
280
+ ❯ Object.writeFileSync ../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js:78:13
281
+ ❯ src/__tests__/helpers/validate-project-structure.test.ts:60:10
282
+ 58| };
283
+ 59|
284
+ 60| fs.writeJsonSync(path.join(tempDir, 'package.json'), packageJson…
285
+ | ^
286
+ 61| fs.ensureDirSync(path.join(tempDir, 'src', 'tools'));
287
+ 62| fs.writeFileSync(path.join(tempDir, 'src', 'tools', 'greet.ts'),…
347
288
 
348
- βœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
349
- βœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 47ms
350
- βœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 27ms
351
- βœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 56ms
352
- βœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 73ms
353
- βœ“ src/__tests__/effects/index.test.ts (5 tests) 4ms
354
- βœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
355
- βœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
356
- βœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 5ms
357
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
358
- [RemoteConfig] Neither projectId nor agentDid provided
289
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
359
290
 
360
- βœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
361
- βœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 443ms
362
- βœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 511ms
363
291
 
364
-  Test Files  27 passed (27)
365
-  Tests  398 passed | 2 skipped (400)
366
-  Start at  16:38:47
367
-  Duration  900ms (transform 1.10s, setup 0ms, import 2.01s, tests 2.34s, environment 2ms)
292
+ Test Files 1 failed | 13 passed (14)
293
+ Tests 1 failed | 255 passed | 2 skipped (258)
294
+ Start at 10:36:49
295
+ Duration 495ms (transform 761ms, setup 0ms, collect 1.26s, tests 634ms, environment 1ms, prepare 74ms)
368
296
 
297
+  ELIFECYCLE  Test failed. See above for more details.
@@ -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.23",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.24",
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.23";
660
+ const expectedVersion = "1.6.24";
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.24",
3
+ "version": "1.8.25",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "bin": {
6
6
  "create-mcpi-app": "./dist/index.js"
@@ -18,7 +18,7 @@
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
19
  "@kya-os/contracts": "^1.6.3",
20
20
  "@kya-os/mcp-i": "^1.6.2",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.23",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.24",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",