@kya-os/create-mcpi-app 1.8.21 → 1.8.23

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.21 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.23 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,19 +1,13 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.21 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.23 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
- test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
9
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
10
- test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
11
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
12
- [Session] Created session: secure-session
13
-
14
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 43ms
15
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 29ms
16
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 58ms
8
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 18ms
9
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
10
+ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 318ms
17
11
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
18
12
 
19
13
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -21,10 +15,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
21
15
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
22
16
  🔑 Generating cryptographic identity...
23
17
 
24
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
25
- [RemoteConfig] Neither projectId nor agentDid provided
26
-
27
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 7ms
28
18
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
29
19
  ✔ Created Cloudflare MCP-I template files
30
20
  - Generated identity keys in .dev.vars
@@ -58,65 +48,13 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
58
48
  npm run deploy # Deploy to Cloudflare
59
49
 
60
50
 
61
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
62
-
63
- 📦 Installing dependencies with npm...
64
- ✓ Lockfile created (package-lock.json) - remember to commit it
65
-
66
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
67
-
68
- 📦 Installing dependencies with yarn...
69
- ✓ Lockfile created (yarn.lock) - remember to commit it
70
-
71
51
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
72
52
 
73
53
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
74
54
 
75
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
76
-
77
- 📦 Installing dependencies with pnpm...
78
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
79
-
80
55
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
81
56
  🔑 Generating cryptographic identity...
82
57
 
83
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
84
-
85
- 📦 Installing dependencies with npm...
86
- ✓ Lockfile created (package-lock.json) - remember to commit it
87
-
88
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
89
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
90
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
91
-
92
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
93
-
94
- 📦 Installing dependencies with npm...
95
- ✓ Lockfile created (package-lock.json) - remember to commit it
96
-
97
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 73ms
98
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 65ms
99
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
100
-
101
- 📦 Installing dependencies with npm...
102
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
103
- Failed to install dependencies with npm.
104
-
105
-
106
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
107
-
108
- 📦 Installing dependencies with npm...
109
-
110
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
111
- Failed to install dependencies with npm.
112
-
113
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
114
-
115
- 📦 Installing dependencies with npm...
116
-
117
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
118
- Failed to install dependencies with npm.
119
-
120
58
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
121
59
  ✔ Created Cloudflare MCP-I template files
122
60
  - Generated identity keys in .dev.vars
@@ -150,17 +88,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
150
88
  npm run deploy # Deploy to Cloudflare
151
89
 
152
90
 
153
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
154
-
155
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
156
- 📦 Installing dependencies with npm...
157
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
158
-
159
-
160
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
161
-
162
- 📦 Installing dependencies with unknown...
163
-
164
91
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
165
92
 
166
93
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -168,11 +95,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
168
95
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
169
96
  🔑 Generating cryptographic identity...
170
97
 
171
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
172
-
173
- 📦 Installing dependencies with npm...
174
-
175
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 60ms
176
98
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
177
99
  ✔ Created Cloudflare MCP-I template files
178
100
  - Generated identity keys in .dev.vars
@@ -246,12 +168,90 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
246
168
  npm run deploy # Deploy to Cloudflare
247
169
 
248
170
 
249
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 143ms
250
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 544ms
251
- src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 865ms
171
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 240ms
172
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
173
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
174
+ [Session] Created session: secure-session
175
+
176
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 28ms
177
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 18ms
178
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 19ms
179
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
180
+ [RemoteConfig] Neither projectId nor agentDid provided
181
+
182
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 6ms
183
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 76ms
184
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
185
+
186
+ 📦 Installing dependencies with npm...
187
+ ✓ Lockfile created (package-lock.json) - remember to commit it
188
+
189
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
190
+
191
+ 📦 Installing dependencies with yarn...
192
+ ✓ Lockfile created (yarn.lock) - remember to commit it
193
+
194
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
195
+
196
+ 📦 Installing dependencies with pnpm...
197
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
198
+
199
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
200
+
201
+ 📦 Installing dependencies with npm...
202
+ ✓ Lockfile created (package-lock.json) - remember to commit it
203
+
204
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
205
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
206
+
207
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
208
+
209
+ 📦 Installing dependencies with npm...
210
+ ✓ Lockfile created (package-lock.json) - remember to commit it
211
+
212
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
213
+
214
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
215
+ Failed to install dependencies with npm.
216
+ 📦 Installing dependencies with npm...
217
+
218
+
219
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
220
+ Failed to install dependencies with npm.
221
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
222
+
223
+
224
+ 📦 Installing dependencies with npm...
225
+
226
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
227
+
228
+ 📦 Installing dependencies with npm...
229
+
230
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
231
+ Failed to install dependencies with npm.
232
+
233
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 270ms
234
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
235
+
236
+ 📦 Installing dependencies with npm...
237
+
238
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
239
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
240
+
241
+ 📦 Installing dependencies with unknown...
242
+
243
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
244
+
245
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
246
+
247
+ 📦 Installing dependencies with npm...
248
+
249
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 83ms
250
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 93ms
251
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 480ms
252
252
 
253
253
  Test Files 14 passed (14)
254
254
  Tests 256 passed | 2 skipped (258)
255
- Start at 12:37:37
256
- Duration 1.34s (transform 912ms, setup 0ms, import 1.54s, tests 1.91s, environment 1ms)
255
+ Start at 13:53:04
256
+ Duration 2.35s (transform 447ms, setup 0ms, import 1.15s, tests 1.66s, environment 1ms)
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.20",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.22",
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.20";
660
+ const expectedVersion = "1.6.22";
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.21",
3
+ "version": "1.8.23",
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.20",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.22",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",