@kya-os/create-mcpi-app 1.8.7 → 1.8.8

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.7 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.8 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,16 +1,10 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.1 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.8 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.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
9
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
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/session-management.test.ts (17 tests) 20ms
14
8
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
15
9
 
16
10
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -18,71 +12,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
18
12
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
19
13
  🔑 Generating cryptographic identity...
20
14
 
21
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
22
-
23
- 📦 Installing dependencies with npm...
24
- ✓ Lockfile created (package-lock.json) - remember to commit it
25
-
26
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
27
-
28
- 📦 Installing dependencies with yarn...
29
- ✓ Lockfile created (yarn.lock) - remember to commit it
30
-
31
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
32
-
33
- 📦 Installing dependencies with pnpm...
34
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
35
-
36
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
37
-
38
- 📦 Installing dependencies with npm...
39
- ✓ Lockfile created (package-lock.json) - remember to commit it
40
-
41
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
42
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
43
-
44
- 📦 Installing dependencies with npm...
45
- ✓ Lockfile created (package-lock.json) - remember to commit it
46
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
47
-
48
-
49
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
50
-
51
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
52
- 📦 Installing dependencies with npm...
53
-
54
- Failed to install dependencies with npm.
55
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
56
-
57
- 📦 Installing dependencies with npm...
58
-
59
-
60
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
61
- Failed to install dependencies with npm.
62
-
63
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 78ms
64
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
65
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
66
- Failed to install dependencies with npm.
67
-
68
-
69
- 📦 Installing dependencies with npm...
70
-
71
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
72
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
73
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
74
-
75
-
76
- 📦 Installing dependencies with npm...
77
-
78
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
79
-
80
- 📦 Installing dependencies with unknown...
81
-
82
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
83
-
84
- 📦 Installing dependencies with npm...
85
-
86
15
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
87
16
  ✔ Created Cloudflare MCP-I template files
88
17
  - Generated identity keys in .dev.vars
@@ -109,9 +38,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
109
38
  🚀 Next Steps:
110
39
  cd test-agent
111
40
 
112
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 47ms
113
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 26ms
114
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
115
41
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
116
42
  wrangler login # Login to Cloudflare first!
117
43
  npm run setup # Create KV namespaces
@@ -119,8 +45,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
119
45
  npm run deploy # Deploy to Cloudflare
120
46
 
121
47
 
122
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 56ms
123
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 59ms
124
48
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
125
49
 
126
50
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
@@ -128,11 +52,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
128
52
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
129
53
  🔑 Generating cryptographic identity...
130
54
 
131
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
132
- [RemoteConfig] Neither projectId nor agentDid provided
133
-
134
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
135
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
136
55
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
137
56
  ✔ Created Cloudflare MCP-I template files
138
57
  - Generated identity keys in .dev.vars
@@ -246,12 +165,93 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
246
165
  npm run deploy # Deploy to Cloudflare
247
166
 
248
167
 
249
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 222ms
250
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 380ms
251
- src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 531ms
168
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 18ms
169
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
170
+ test-cloudflare/tests/do-routing.test.ts (14 tests) 41ms
171
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
172
+ [RemoteConfig] Neither projectId nor agentDid provided
173
+
174
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
175
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 10ms
176
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 10ms
177
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 160ms
178
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
179
+ [Session] Created session: secure-session
180
+
181
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
182
+
183
+ 📦 Installing dependencies with npm...
184
+ ✓ Lockfile created (package-lock.json) - remember to commit it
185
+
186
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
187
+
188
+ 📦 Installing dependencies with yarn...
189
+ ✓ Lockfile created (yarn.lock) - remember to commit it
190
+
191
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
192
+
193
+ 📦 Installing dependencies with pnpm...
194
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
195
+
196
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 13ms
197
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
198
+
199
+ 📦 Installing dependencies with npm...
200
+ ✓ Lockfile created (package-lock.json) - remember to commit it
201
+
202
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
203
+
204
+ 📦 Installing dependencies with npm...
205
+ ✓ Lockfile created (package-lock.json) - remember to commit it
206
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
207
+
208
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
209
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
210
+
211
+
212
+ 📦 Installing dependencies with npm...
213
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
214
+
215
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
216
+
217
+ Failed to install dependencies with npm.
218
+ 📦 Installing dependencies with npm...
219
+
220
+
221
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
222
+
223
+ 📦 Installing dependencies with npm...
224
+
225
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
226
+ Failed to install dependencies with npm.
227
+
228
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
229
+ Failed to install dependencies with npm.
230
+
231
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 262ms
232
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
233
+
234
+ 📦 Installing dependencies with npm...
235
+
236
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
237
+
238
+ 📦 Installing dependencies with unknown...
239
+
240
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
241
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
242
+
243
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
244
+
245
+ 📦 Installing dependencies with npm...
246
+
247
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 50ms
248
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
249
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 38ms
250
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 874ms
251
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 743ms
252
252
 
253
253
  Test Files 14 passed (14)
254
254
  Tests 256 passed | 2 skipped (258)
255
- Start at 22:53:48
256
- Duration 1.19s (transform 956ms, setup 0ms, collect 1.73s, tests 1.44s, environment 1ms, prepare 92ms)
255
+ Start at 02:27:25
256
+ Duration 3.10s (transform 1.21s, setup 0ms, collect 2.77s, tests 2.23s, environment 1ms, prepare 352ms)
257
257
 
@@ -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.7",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.8",
84
84
  "@modelcontextprotocol/sdk": "1.22.0",
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.7";
660
+ const expectedVersion = "1.6.8";
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.7",
3
+ "version": "1.8.8",
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.1",
20
20
  "@kya-os/mcp-i": "^1.6.1",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.7",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.8",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",