@kya-os/create-mcpi-app 1.9.22 → 1.9.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.9.22 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.9.23 build /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -65,10 +65,10 @@ export async function getPackageVersions() {
65
65
  // Extract and normalize versions
66
66
  // Note: fallback versions here must match the error case fallbacks below
67
67
  cachedVersions = {
68
- "@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.10"),
69
- "@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.6"),
70
- "@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.25"),
71
- "@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.17"),
68
+ "@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.12"),
69
+ "@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.8"),
70
+ "@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.28"),
71
+ "@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.20"),
72
72
  };
73
73
  return cachedVersions;
74
74
  }
@@ -76,10 +76,10 @@ export async function getPackageVersions() {
76
76
  // Fallback to safe default versions if package.json can't be read
77
77
  console.warn("[getPackageVersions] Warning: Could not read package.json, using defaults");
78
78
  return {
79
- "@kya-os/mcp-i": "^1.7.10",
80
- "@kya-os/cli": "^1.5.6",
81
- "@kya-os/mcp-i-cloudflare": "^1.7.25",
82
- "@kya-os/contracts": "^1.7.17",
79
+ "@kya-os/mcp-i": "^1.7.12",
80
+ "@kya-os/cli": "^1.5.8",
81
+ "@kya-os/mcp-i-cloudflare": "^1.7.28",
82
+ "@kya-os/contracts": "^1.7.20",
83
83
  };
84
84
  }
85
85
  }
package/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.9.22",
3
+ "version": "1.9.24",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "type": "module",
6
6
  "main": "./dist/helpers/index.js",
@@ -22,21 +22,12 @@
22
22
  "bin": {
23
23
  "create-mcpi-app": "./dist/index.js"
24
24
  },
25
- "scripts": {
26
- "build": "tsc && chmod +x dist/index.js",
27
- "test": "vitest run",
28
- "test:coverage": "vitest run --coverage",
29
- "test:integration": "vitest run --config vitest.integration.config.ts --reporter=verbose",
30
- "lint": "eslint .",
31
- "clean": "rm -rf dist .turbo node_modules",
32
- "prepublishOnly": "npm run build && node scripts/validate-dependencies.js && node scripts/validate-template-versions.js"
33
- },
34
25
  "dependencies": {
35
- "@kya-os/cli": "^1.5.6",
26
+ "@kya-os/cli": "^1.5.8",
36
27
  "@kya-os/cli-effects": "^1.0.19",
37
- "@kya-os/contracts": "^1.7.17",
28
+ "@kya-os/contracts": "^1.7.20",
38
29
  "@kya-os/mcp-i": "^1.7.10",
39
- "@kya-os/mcp-i-cloudflare": "^1.7.25",
30
+ "@kya-os/mcp-i-cloudflare": "^1.7.28",
40
31
  "base-x": "^5.0.0",
41
32
  "chalk": "^4.1.2",
42
33
  "commander": "^12.1.0",
@@ -65,5 +56,13 @@
65
56
  },
66
57
  "publishConfig": {
67
58
  "access": "public"
59
+ },
60
+ "scripts": {
61
+ "build": "tsc && chmod +x dist/index.js",
62
+ "test": "vitest run",
63
+ "test:coverage": "vitest run --coverage",
64
+ "test:integration": "vitest run --config vitest.integration.config.ts --reporter=verbose",
65
+ "lint": "eslint .",
66
+ "clean": "rm -rf dist .turbo node_modules"
68
67
  }
69
- }
68
+ }
@@ -1,586 +0,0 @@
1
-
2
- > @kya-os/create-mcpi-app@1.9.20 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
- > vitest run
4
-
5
-
6
- RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
-
8
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 393ms
9
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
10
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
11
-
12
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
13
-
14
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
15
- 🔑 Generating cryptographic identity...
16
-
17
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 218ms
18
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
19
-
20
- 🏗️ Generating Cloudflare MCP-I project: test-project...
21
-
22
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
23
- 🔑 Generating cryptographic identity...
24
-
25
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
26
- ✔ Created Cloudflare MCP-I template files
27
- - Generated identity keys in .dev.vars
28
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
29
- - Created modular tool structure
30
-
31
- ============================================================
32
- 🎉 Cloudflare MCP-I project created successfully!
33
- ============================================================
34
-
35
- 📝 Important Configuration Notes:
36
-
37
- 1. ADMIN_API_KEY (in .dev.vars):
38
- - Set to same value as AGENTSHIELD_API_KEY for convenience
39
- - You can change it if you need separate admin endpoint security
40
- - Required for admin endpoints like /admin/clear-cache
41
-
42
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
43
- - Required for MCP-I security features
44
- - ✨ Automatically created on first deploy - no setup needed!
45
- - Wrangler updates wrangler.toml with namespace IDs
46
-
47
- 🚀 Next Steps:
48
- cd test-agent
49
- wrangler login # Login to Cloudflare first!
50
- npm run dev # Start local development
51
- npm run deploy # Deploy (KV auto-created!)
52
-
53
-
54
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
55
-
56
- 🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
57
-
58
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
59
- 🔑 Generating cryptographic identity...
60
-
61
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
62
- ✔ Created Cloudflare MCP-I template files
63
- - Generated identity keys in .dev.vars
64
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
65
- - Created modular tool structure
66
-
67
- ============================================================
68
- 🎉 Cloudflare MCP-I project created successfully!
69
- ============================================================
70
-
71
- 📝 Important Configuration Notes:
72
-
73
- 1. ADMIN_API_KEY (in .dev.vars):
74
- - Set to same value as AGENTSHIELD_API_KEY for convenience
75
- - You can change it if you need separate admin endpoint security
76
- - Required for admin endpoints like /admin/clear-cache
77
-
78
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
79
- - Required for MCP-I security features
80
- - ✨ Automatically created on first deploy - no setup needed!
81
- - Wrangler updates wrangler.toml with namespace IDs
82
-
83
- 🚀 Next Steps:
84
- cd my-awesome-agent
85
- wrangler login # Login to Cloudflare first!
86
- npm run dev # Start local development
87
- npm run deploy # Deploy (KV auto-created!)
88
-
89
-
90
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
91
-
92
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
93
-
94
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
95
- 🔑 Generating cryptographic identity...
96
-
97
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
98
- ✔ Created Cloudflare MCP-I template files
99
- - Generated identity keys in .dev.vars
100
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
101
- - Created modular tool structure
102
-
103
- ============================================================
104
- 🎉 Cloudflare MCP-I project created successfully!
105
- ============================================================
106
-
107
- 📝 Important Configuration Notes:
108
-
109
- 1. ADMIN_API_KEY (in .dev.vars):
110
- - Set to same value as AGENTSHIELD_API_KEY for convenience
111
- - You can change it if you need separate admin endpoint security
112
- - Required for admin endpoints like /admin/clear-cache
113
-
114
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
115
- - Required for MCP-I security features
116
- - ✨ Automatically created on first deploy - no setup needed!
117
- - Wrangler updates wrangler.toml with namespace IDs
118
-
119
- 🚀 Next Steps:
120
- cd test-project
121
- wrangler login # Login to Cloudflare first!
122
- npm run dev # Start local development
123
- npm run deploy # Deploy (KV auto-created!)
124
-
125
-
126
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
127
-
128
- 🏗️ Generating Cloudflare MCP-I project: test-project-env...
129
-
130
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
131
- 🔑 Generating cryptographic identity...
132
-
133
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
134
- ✔ Created Cloudflare MCP-I template files
135
- - Generated identity keys in .dev.vars
136
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
137
- - Created modular tool structure
138
-
139
- ============================================================
140
- 🎉 Cloudflare MCP-I project created successfully!
141
- ============================================================
142
-
143
- 📝 Important Configuration Notes:
144
-
145
- 1. ADMIN_API_KEY (in .dev.vars):
146
- - Set to same value as AGENTSHIELD_API_KEY for convenience
147
- - You can change it if you need separate admin endpoint security
148
- - Required for admin endpoints like /admin/clear-cache
149
-
150
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
151
- - Required for MCP-I security features
152
- - ✨ Automatically created on first deploy - no setup needed!
153
- - Wrangler updates wrangler.toml with namespace IDs
154
-
155
- 🚀 Next Steps:
156
- cd test-project-env
157
- wrangler login # Login to Cloudflare first!
158
- npm run dev # Start local development
159
- npm run deploy # Deploy (KV auto-created!)
160
-
161
-
162
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
163
-
164
- 🏗️ Generating Cloudflare MCP-I project: test-project-with-id...
165
-
166
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
167
- ✔ Created Cloudflare MCP-I template files
168
- - Generated identity keys in .dev.vars
169
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
170
- - Created modular tool structure
171
-
172
- ============================================================
173
- 🎉 Cloudflare MCP-I project created successfully!
174
- ============================================================
175
-
176
- 📝 Important Configuration Notes:
177
-
178
- 1. ADMIN_API_KEY (in .dev.vars):
179
- - Set to same value as AGENTSHIELD_API_KEY for convenience
180
- - You can change it if you need separate admin endpoint security
181
- - Required for admin endpoints like /admin/clear-cache
182
-
183
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
184
- - Required for MCP-I security features
185
- - ✨ Automatically created on first deploy - no setup needed!
186
- - Wrangler updates wrangler.toml with namespace IDs
187
-
188
- 🚀 Next Steps:
189
- cd test-agent
190
- wrangler login # Login to Cloudflare first!
191
- npm run dev # Start local development
192
- npm run deploy # Deploy (KV auto-created!)
193
-
194
-
195
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
196
-
197
- 🏗️ Generating Cloudflare MCP-I project: test-agent...
198
-
199
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
200
- 🔑 Generating cryptographic identity...
201
-
202
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
203
- 🔑 Generating cryptographic identity...
204
-
205
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
206
- ✔ Created Cloudflare MCP-I template files
207
- - Generated identity keys in .dev.vars
208
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
209
- - Created modular tool structure
210
-
211
- ============================================================
212
- 🎉 Cloudflare MCP-I project created successfully!
213
- ============================================================
214
-
215
- 📝 Important Configuration Notes:
216
-
217
- 1. ADMIN_API_KEY (in .dev.vars):
218
- - Set to same value as AGENTSHIELD_API_KEY for convenience
219
- - You can change it if you need separate admin endpoint security
220
- - Required for admin endpoints like /admin/clear-cache
221
-
222
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
223
- - Required for MCP-I security features
224
- - ✨ Automatically created on first deploy - no setup needed!
225
- - Wrangler updates wrangler.toml with namespace IDs
226
-
227
- 🚀 Next Steps:
228
- cd test-agent
229
- wrangler login # Login to Cloudflare first!
230
- npm run dev # Start local development
231
- npm run deploy # Deploy (KV auto-created!)
232
-
233
-
234
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should set AGENTSHIELD_PROJECT_ID when --project is provided
235
- ✔ Created Cloudflare MCP-I template files
236
- - Generated identity keys in .dev.vars
237
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
238
- - Created modular tool structure
239
-
240
- ============================================================
241
- 🎉 Cloudflare MCP-I project created successfully!
242
- ============================================================
243
-
244
- 📝 Important Configuration Notes:
245
-
246
- 1. ADMIN_API_KEY (in .dev.vars):
247
- - Set to same value as AGENTSHIELD_API_KEY for convenience
248
- - You can change it if you need separate admin endpoint security
249
- - Required for admin endpoints like /admin/clear-cache
250
-
251
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
252
- - Required for MCP-I security features
253
- - ✨ Automatically created on first deploy - no setup needed!
254
- - Wrangler updates wrangler.toml with namespace IDs
255
-
256
- 🚀 Next Steps:
257
- cd test-project-with-id
258
- wrangler login # Login to Cloudflare first!
259
- npm run dev # Start local development
260
- npm run deploy # Deploy (KV auto-created!)
261
-
262
-
263
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
264
-
265
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-id...
266
-
267
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
268
- 🔑 Generating cryptographic identity...
269
-
270
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 796ms
271
- ✓ should include envPrefix in generated index.ts 424ms
272
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
273
- ✔ Created Cloudflare MCP-I template files
274
- - Generated identity keys in .dev.vars
275
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
276
- - Created modular tool structure
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 (auto-provisioned by Wrangler v4):
290
- - Required for MCP-I security features
291
- - ✨ Automatically created on first deploy - no setup needed!
292
- - Wrangler updates wrangler.toml with namespace IDs
293
-
294
- 🚀 Next Steps:
295
- cd test-project-no-id
296
- wrangler login # Login to Cloudflare first!
297
- npm run dev # Start local development
298
- npm run deploy # Deploy (KV auto-created!)
299
-
300
-
301
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
302
-
303
- 🏗️ Generating Cloudflare MCP-I project: test-project-runtime...
304
-
305
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
306
- 🔑 Generating cryptographic identity...
307
-
308
- ✓ src/__tests__/helpers/identity-manager.test.ts (16 tests) 40ms
309
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
310
- ✔ Created Cloudflare MCP-I template files
311
- - Generated identity keys in .dev.vars
312
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
313
- - Created modular tool structure
314
-
315
- ============================================================
316
- 🎉 Cloudflare MCP-I project created successfully!
317
- ============================================================
318
-
319
- 📝 Important Configuration Notes:
320
-
321
- 1. ADMIN_API_KEY (in .dev.vars):
322
- - Set to same value as AGENTSHIELD_API_KEY for convenience
323
- - You can change it if you need separate admin endpoint security
324
- - Required for admin endpoints like /admin/clear-cache
325
-
326
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
327
- - Required for MCP-I security features
328
- - ✨ Automatically created on first deploy - no setup needed!
329
- - Wrangler updates wrangler.toml with namespace IDs
330
-
331
- 🚀 Next Steps:
332
- cd test-project-runtime
333
- wrangler login # Login to Cloudflare first!
334
- npm run dev # Start local development
335
- npm run deploy # Deploy (KV auto-created!)
336
-
337
-
338
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
339
-
340
- 🏗️ Generating Cloudflare MCP-I project: test-project-no-workspace...
341
-
342
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
343
- [Session] Created session: secure-session
344
-
345
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
346
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
347
- 🔑 Generating cryptographic identity...
348
-
349
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
350
-
351
- create-mcpi-app@1.9.20
352
-
353
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
354
- BANNER
355
-
356
- Enhanced with identity features by MCP-I
357
-
358
-
359
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
360
-
361
- Next Steps:
362
- 1. Install dependencies:
363
- cd my-agent
364
- npm install
365
-
366
- 2. Start development server:
367
- npm run dev
368
-
369
- 3. Deploy when ready:
370
- npm run start
371
-
372
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
373
-
374
- create-mcpi-app@1.9.20
375
-
376
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
377
- Invalid project name:
378
- - bad
379
-
380
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
381
- BANNER
382
-
383
- Enhanced with identity features by MCP-I
384
-
385
-
386
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
387
-
388
- create-mcpi-app@1.9.20
389
-
390
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
391
- BANNER
392
-
393
- Enhanced with identity features by MCP-I
394
-
395
-
396
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
397
-
398
- Next Steps:
399
- 1. Install dependencies:
400
- cd pnpm-agent
401
- pnpm install
402
-
403
- 2. Initialize identity:
404
- pnpm init
405
-
406
- 3. Start development server:
407
- pnpm dev
408
-
409
- 4. Deploy when ready:
410
- pnpm start
411
-
412
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
413
-
414
- create-mcpi-app@1.9.20
415
-
416
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
417
- BANNER
418
-
419
- Enhanced with identity features by MCP-I
420
-
421
-
422
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
423
-
424
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
425
-
426
-
427
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
428
-
429
- Next Steps:
430
- 1. Install dependencies:
431
- cd interactive-app
432
- pnpm install
433
-
434
- 2. Start development server:
435
- pnpm dev
436
-
437
- 3. Deploy when ready:
438
- pnpm start
439
-
440
- stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > No Workspace References > should not include workspace: references in scaffolded package.json
441
- ✔ Created Cloudflare MCP-I template files
442
- - Generated identity keys in .dev.vars
443
- - Configured wrangler.toml with KV namespaces (auto-provisioned)
444
- - Created modular tool structure
445
-
446
- ============================================================
447
- 🎉 Cloudflare MCP-I project created successfully!
448
- ============================================================
449
-
450
- 📝 Important Configuration Notes:
451
-
452
- 1. ADMIN_API_KEY (in .dev.vars):
453
- - Set to same value as AGENTSHIELD_API_KEY for convenience
454
- - You can change it if you need separate admin endpoint security
455
- - Required for admin endpoints like /admin/clear-cache
456
-
457
- 2. KV Namespaces (auto-provisioned by Wrangler v4):
458
- - Required for MCP-I security features
459
- - ✨ Automatically created on first deploy - no setup needed!
460
- - Wrangler updates wrangler.toml with namespace IDs
461
-
462
- 🚀 Next Steps:
463
- cd test-project-no-workspace
464
- wrangler login # Login to Cloudflare first!
465
- npm run dev # Start local development
466
- npm run deploy # Deploy (KV auto-created!)
467
-
468
-
469
- ✓ src/__tests__/cli-runner.test.ts (4 tests) 1178ms
470
- ✓ passes CLI flags to createProject when using --yes 1042ms
471
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 706ms
472
- ✓ session routing should have O(1) complexity 520ms
473
- ✓ src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 96ms
474
- ✓ src/__tests__/e2e/scaffolder-dependency-verification.test.ts (7 tests) 967ms
475
- ✓ should scaffold with correct @kya-os/mcp-i-cloudflare version 355ms
476
- ✓ should not include workspace: references in scaffolded package.json 349ms
477
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 377ms
478
- ✓ src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 918ms
479
- ✓ should enhance existing tools when tools directory exists with files 315ms
480
- ✓ should throw error when package.json does not exist 388ms
481
- ✓ src/__tests__/wrangler-v4-compatibility.test.ts (11 tests) 726ms
482
- ✓ src/__tests__/index.test.ts (4 tests) 291ms
483
- ✓ src/__tests__/helpers/create.test.ts (13 tests) 659ms
484
- ✓ src/__tests__/helpers/copy-template.test.ts (11 tests) 71ms
485
- ✓ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 335ms
486
- ✓ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 127ms
487
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
488
-
489
- 📦 Installing dependencies with npm...
490
- ✓ Lockfile created (package-lock.json) - remember to commit it
491
-
492
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
493
-
494
- 📦 Installing dependencies with yarn...
495
- ✓ Lockfile created (yarn.lock) - remember to commit it
496
-
497
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
498
-
499
- 📦 Installing dependencies with pnpm...
500
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
501
-
502
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
503
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
504
-
505
- 📦 Installing dependencies with npm...
506
- ✓ Lockfile created (package-lock.json) - remember to commit it
507
-
508
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
509
-
510
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
511
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
512
-
513
- 📦 Installing dependencies with npm...
514
- Failed to install dependencies with npm.
515
- ✓ Lockfile created (package-lock.json) - remember to commit it
516
-
517
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
518
-
519
-
520
- 📦 Installing dependencies with npm...
521
-
522
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
523
-
524
- 📦 Installing dependencies with npm...
525
-
526
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
527
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
528
-
529
- 📦 Installing dependencies with npm...
530
- Failed to install dependencies with npm.
531
-
532
-
533
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
534
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
535
- Failed to install dependencies with npm.
536
-
537
-
538
- 📦 Installing dependencies with npm...
539
-
540
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
541
-
542
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
543
- 📦 Installing dependencies with unknown...
544
-
545
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
546
-
547
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 375ms
548
- ✓ src/__tests__/utils/validate-project-name.test.ts (29 tests) 58ms
549
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
550
-
551
- 📦 Installing dependencies with npm...
552
-
553
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
554
-
555
- 📦 Installing dependencies with custom...
556
-
557
- ✓ src/__tests__/helpers/kta-registration.test.ts (8 tests) 24ms
558
- ✓ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 61ms
559
- ✓ src/__tests__/helpers/install.test.ts (21 tests) 264ms
560
- ✓ src/__tests__/helpers/rename.test.ts (6 tests) 134ms
561
- ✓ src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 378ms
562
- ✓ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 387ms
563
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
564
- [RemoteConfig] Neither projectId nor agentDid provided
565
-
566
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
567
- ✓ src/__tests__/effects/index.test.ts (5 tests) 3ms
568
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2176ms
569
- ✓ should import Durable Object class from agent.ts 398ms
570
- ✓ should include MCP_SERVER_URL placeholder in wrangler.toml 378ms
571
- ✓ should create KV namespace creation scripts in package.json 388ms
572
- ✓ should skip identity generation when skipIdentity is true 342ms
573
- ✓ src/__tests__/utils/check-node.test.ts (7 tests) 22ms
574
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
575
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 69ms
576
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
577
- ⚠️ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
578
-
579
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
580
- ✓ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 162ms
581
-
582
- Test Files 34 passed (34)
583
- Tests 501 passed | 3 skipped (504)
584
- Start at 18:23:04
585
- Duration 5.95s (transform 6.51s, setup 0ms, import 17.71s, tests 12.05s, environment 3ms)
586
-