@kya-os/create-mcpi-app 1.8.27 → 1.8.28

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.26 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.28 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,24 +1,15 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.26 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.28 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
6
  RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
9
-
10
- šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
11
-
12
- āœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 38ms
13
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
14
- šŸ”‘ Generating cryptographic identity...
15
-
16
8
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
17
9
 
18
10
  šŸ“¦ Installing dependencies with npm...
19
11
  āœ“ Lockfile created (package-lock.json) - remember to commit it
20
12
 
21
- āœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 23ms
22
13
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
23
14
 
24
15
  šŸ“¦ Installing dependencies with yarn...
@@ -45,141 +36,52 @@ stdout | src/__tests__/helpers/install.test.ts > install > Install progress repo
45
36
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
46
37
 
47
38
  šŸ“¦ Installing dependencies with npm...
48
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
49
39
 
40
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
50
41
  Failed to install dependencies with npm.
51
42
 
52
43
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
53
44
 
54
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
55
45
  šŸ“¦ Installing dependencies with npm...
56
46
 
47
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
57
48
  Failed to install dependencies with npm.
58
49
 
59
50
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
60
51
 
61
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
62
52
  šŸ“¦ Installing dependencies with npm...
63
- Failed to install dependencies with npm.
64
53
 
54
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
55
+ Failed to install dependencies with npm.
65
56
 
66
57
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
58
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
67
59
 
68
60
  šŸ“¦ Installing dependencies with npm...
69
61
 
70
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
71
-
72
- create-mcpi-app@1.8.26
73
-
74
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
75
- BANNER
76
-
77
- Enhanced with identity features by MCP-I
78
-
79
-
80
- stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
81
-
82
- Next Steps:
83
- 1. Install dependencies:
84
- cd my-agent
85
- npm install
86
-
87
- 2. Start development server:
88
- npm run dev
89
-
90
- 3. Deploy when ready:
91
- npm run start
92
-
93
62
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
94
-
95
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
96
- šŸ“¦ Installing dependencies with unknown...
97
63
  āš ļø Warning: Unknown package manager "unknown", cannot check lockfile
98
64
 
99
65
 
100
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
101
-
102
- stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
103
- create-mcpi-app@1.8.26
104
-
105
- stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
106
- BANNER
107
- Invalid project name:
108
- - bad
109
-
110
- Enhanced with identity features by MCP-I
111
-
112
-
113
-
114
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
115
-
116
- create-mcpi-app@1.8.26
117
-
118
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
119
- BANNER
120
-
121
- Enhanced with identity features by MCP-I
122
-
123
-
124
- stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
125
-
126
- Next Steps:
127
- 1. Install dependencies:
128
- cd pnpm-agent
129
- pnpm install
130
-
131
- 2. Initialize identity:
132
- pnpm init
133
-
134
- 3. Start development server:
135
- pnpm dev
136
-
137
- 4. Deploy when ready:
138
- pnpm start
139
-
140
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
141
-
142
- create-mcpi-app@1.8.26
143
-
144
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
145
- BANNER
146
-
147
- Enhanced with identity features by MCP-I
148
-
149
-
150
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
151
-
152
- Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
153
-
154
-
155
- stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
156
-
157
- Next Steps:
158
- 1. Install dependencies:
159
- cd interactive-app
160
- pnpm install
161
-
162
- 2. Start development server:
163
- pnpm dev
164
-
165
- 3. Deploy when ready:
166
- pnpm start
66
+ šŸ“¦ Installing dependencies with unknown...
167
67
 
168
68
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
169
69
 
170
70
  šŸ“¦ Installing dependencies with npm...
171
71
 
172
- āœ“ src/__tests__/cli-runner.test.ts (4 tests) 101ms
173
72
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
174
73
 
175
74
  šŸ“¦ Installing dependencies with custom...
176
75
 
177
- āœ“ src/__tests__/helpers/install.test.ts (21 tests) 64ms
178
- āœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 79ms
179
- āœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 87ms
180
- āœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 118ms
181
- āœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 93ms
182
- āœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 139ms
76
+ āœ“ src/__tests__/helpers/install.test.ts (21 tests) 70ms
77
+ āœ“ src/__tests__/helpers/generate-identity.test.ts (24 tests) 64ms
78
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
79
+
80
+ šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
81
+
82
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
83
+ šŸ”‘ Generating cryptographic identity...
84
+
183
85
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
184
86
  āœ” Created Cloudflare MCP-I template files
185
87
  - Generated identity keys in .dev.vars
@@ -220,7 +122,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
220
122
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
221
123
  šŸ”‘ Generating cryptographic identity...
222
124
 
223
- āœ“ src/__tests__/helpers/create.test.ts (13 tests) 150ms
224
125
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
225
126
  āœ” Created Cloudflare MCP-I template files
226
127
  - Generated identity keys in .dev.vars
@@ -247,7 +148,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
247
148
  šŸš€ Next Steps:
248
149
  cd my-awesome-agent
249
150
 
250
- āœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 46ms
251
151
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
252
152
  wrangler login # Login to Cloudflare first!
253
153
  npm run setup # Create KV namespaces
@@ -259,15 +159,11 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
259
159
 
260
160
  šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
261
161
 
262
- āœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 37ms
263
162
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
264
163
  šŸ”‘ Generating cryptographic identity...
265
164
 
266
- āœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 14ms
267
- stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
268
- āš ļø dist-tag 'next' not available for xmcp, falling back to ^0.3.1
269
-
270
- āœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 13ms
165
+ āœ“ src/__tests__/helpers/copy-template.test.ts (11 tests) 53ms
166
+ āœ“ src/__tests__/helpers/generate-config.test.ts (25 tests) 111ms
271
167
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
272
168
  āœ” Created Cloudflare MCP-I template files
273
169
  - Generated identity keys in .dev.vars
@@ -305,16 +201,10 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
305
201
 
306
202
  šŸ—ļø Generating Cloudflare MCP-I project: test-agent...
307
203
 
308
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
309
- [Session] Created session: secure-session
310
-
311
- āœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
204
+ āœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 32ms
312
205
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
313
206
  šŸ”‘ Generating cryptographic identity...
314
207
 
315
- āœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 6ms
316
- āœ“ src/__tests__/helpers/rename.test.ts (6 tests) 12ms
317
- āœ“ src/__tests__/utils/check-node.test.ts (7 tests) 10ms
318
208
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
319
209
  āœ” Created Cloudflare MCP-I template files
320
210
  - Generated identity keys in .dev.vars
@@ -348,21 +238,133 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
348
238
  npm run deploy # Deploy to Cloudflare
349
239
 
350
240
 
351
- āœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 284ms
352
- āœ“ src/__tests__/helpers/identity-manager.test.ts (16 tests) 31ms
241
+ āœ“ test-cloudflare/tests/do-routing.test.ts (14 tests) 88ms
242
+ āœ“ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 338ms
243
+ āœ“ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 126ms
244
+ āœ“ src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 51ms
245
+ āœ“ src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 206ms
246
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
247
+
248
+ create-mcpi-app@1.8.28
249
+
250
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
251
+ BANNER
252
+
253
+ Enhanced with identity features by MCP-I
254
+
255
+
256
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
257
+
258
+ Next Steps:
259
+ 1. Install dependencies:
260
+ cd my-agent
261
+ npm install
262
+
263
+ 2. Start development server:
264
+ npm run dev
265
+
266
+ 3. Deploy when ready:
267
+ npm run start
268
+
269
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
270
+
271
+ create-mcpi-app@1.8.28
272
+
273
+ stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
274
+ Invalid project name:
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
+ - bad
281
+
282
+
283
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
284
+
285
+ create-mcpi-app@1.8.28
286
+
287
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
288
+ BANNER
289
+
290
+ Enhanced with identity features by MCP-I
291
+
292
+
293
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
294
+
295
+ Next Steps:
296
+ 1. Install dependencies:
297
+ cd pnpm-agent
298
+ pnpm install
299
+
300
+ 2. Initialize identity:
301
+ pnpm init
302
+
303
+ 3. Start development server:
304
+ pnpm dev
305
+
306
+ 4. Deploy when ready:
307
+ pnpm start
308
+
309
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
310
+
311
+ create-mcpi-app@1.8.28
312
+
313
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
314
+ BANNER
315
+
316
+ Enhanced with identity features by MCP-I
317
+
318
+
319
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
320
+
321
+ Creating a new xmcp app in /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
322
+
323
+
324
+ stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
325
+
326
+ Next Steps:
327
+ 1. Install dependencies:
328
+ cd interactive-app
329
+ pnpm install
330
+
331
+ 2. Start development server:
332
+ pnpm dev
333
+
334
+ 3. Deploy when ready:
335
+ pnpm start
336
+
337
+ āœ“ src/__tests__/cli-runner.test.ts (4 tests) 663ms
338
+ āœ“ passes CLI flags to createProject when using --yes 660ms
339
+ āœ“ src/__tests__/helpers/create.test.ts (13 tests) 75ms
340
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
341
+ [Session] Created session: secure-session
342
+
343
+ āœ“ test-cloudflare/tests/session-management.test.ts (17 tests) 25ms
344
+ āœ“ src/__tests__/helpers/get-package-versions.test.ts (6 tests) 38ms
345
+ āœ“ src/__tests__/utils/is-folder-empty.test.ts (21 tests) 263ms
346
+ āœ“ src/__tests__/utils/validate-project-name.test.ts (29 tests) 41ms
347
+ āœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 8ms
348
+ āœ“ src/__tests__/utils/check-node.test.ts (7 tests) 94ms
349
+ stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
350
+ āš ļø dist-tag 'next' not available for xmcp, falling back to ^0.3.1
351
+
352
+ āœ“ src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 34ms
353
+ āœ“ src/__tests__/helpers/rename.test.ts (6 tests) 16ms
354
+ āœ“ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
355
+ āœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 1444ms
353
356
  āœ“ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
354
- āœ“ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
355
- āœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
357
+ āœ“ src/__tests__/effects/index.test.ts (5 tests) 181ms
358
+ āœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 1531ms
359
+ āœ“ should generate consistent template structure on multiple calls 331ms
356
360
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
357
361
  [RemoteConfig] Neither projectId nor agentDid provided
358
362
 
359
- āœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
360
- āœ“ src/__tests__/effects/index.test.ts (5 tests) 3ms
361
- āœ“ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 404ms
362
- āœ“ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 444ms
363
+ āœ“ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
364
+ āœ“ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
363
365
 
364
366
  Test Files 27 passed (27)
365
367
  Tests 398 passed | 2 skipped (400)
366
- Start at 19:04:37
367
- Duration 672ms (transform 1.12s, setup 0ms, import 1.91s, tests 2.22s, environment 2ms)
368
+ Start at 19:15:13
369
+ Duration 3.86s (transform 3.20s, setup 0ms, import 8.63s, tests 5.57s, environment 2ms)
368
370
 
@@ -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.26",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.27",
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.26";
660
+ const expectedVersion = "1.6.27";
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.27",
3
+ "version": "1.8.28",
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.3",
17
+ "@kya-os/cli": "^1.4.4",
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
- "@kya-os/contracts": "^1.6.4",
20
- "@kya-os/mcp-i": "^1.6.3",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.25",
19
+ "@kya-os/contracts": "^1.6.5",
20
+ "@kya-os/mcp-i": "^1.6.4",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.27",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",