@kya-os/create-mcpi-app 1.8.11 → 1.8.13

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.11 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.13 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,14 +1,23 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.8 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.13 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
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 53ms
9
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 6ms
10
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
11
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 11ms
12
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
13
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
14
+ [Session] Created session: secure-session
15
+
8
16
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
9
17
 
10
18
  🏗️ Generating Cloudflare MCP-I project: test-agent...
11
19
 
20
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 25ms
12
21
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
13
22
  🔑 Generating cryptographic identity...
14
23
 
@@ -52,6 +61,26 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
52
61
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
53
62
  🔑 Generating cryptographic identity...
54
63
 
64
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
65
+
66
+ 📦 Installing dependencies with npm...
67
+ ✓ Lockfile created (package-lock.json) - remember to commit it
68
+
69
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
70
+
71
+ 📦 Installing dependencies with yarn...
72
+ ✓ Lockfile created (yarn.lock) - remember to commit it
73
+
74
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
75
+
76
+ 📦 Installing dependencies with pnpm...
77
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
78
+
79
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
80
+
81
+ 📦 Installing dependencies with npm...
82
+ ✓ Lockfile created (package-lock.json) - remember to commit it
83
+
55
84
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
56
85
  ✔ Created Cloudflare MCP-I template files
57
86
  - Generated identity keys in .dev.vars
@@ -78,6 +107,9 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
78
107
  🚀 Next Steps:
79
108
  cd my-awesome-agent
80
109
 
110
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
111
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
112
+
81
113
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
82
114
  wrangler login # Login to Cloudflare first!
83
115
  npm run setup # Create KV namespaces
@@ -85,6 +117,48 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
85
117
  npm run deploy # Deploy to Cloudflare
86
118
 
87
119
 
120
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
121
+
122
+ 📦 Installing dependencies with npm...
123
+ ✓ Lockfile created (package-lock.json) - remember to commit it
124
+
125
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
126
+ Failed to install dependencies with npm.
127
+
128
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
129
+
130
+ 📦 Installing dependencies with npm...
131
+
132
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
133
+
134
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
135
+ 📦 Installing dependencies with npm...
136
+ Failed to install dependencies with npm.
137
+
138
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
139
+
140
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
141
+ Failed to install dependencies with npm.
142
+
143
+
144
+ 📦 Installing dependencies with npm...
145
+
146
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
147
+
148
+ 📦 Installing dependencies with npm...
149
+
150
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
151
+
152
+ 📦 Installing dependencies with unknown...
153
+
154
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
155
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
156
+
157
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
158
+
159
+ 📦 Installing dependencies with npm...
160
+
161
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 39ms
88
162
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
89
163
 
90
164
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -92,6 +166,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
92
166
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
93
167
  🔑 Generating cryptographic identity...
94
168
 
169
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 422ms
95
170
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
96
171
  ✔ Created Cloudflare MCP-I template files
97
172
  - Generated identity keys in .dev.vars
@@ -118,6 +193,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
118
193
  🚀 Next Steps:
119
194
  cd test-agent
120
195
 
196
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 301ms
121
197
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
122
198
  wrangler login # Login to Cloudflare first!
123
199
  npm run setup # Create KV namespaces
@@ -165,93 +241,17 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
165
241
  npm run deploy # Deploy to Cloudflare
166
242
 
167
243
 
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
244
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 198ms
245
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 224ms
171
246
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
172
247
  [RemoteConfig] Neither projectId nor agentDid provided
173
248
 
174
249
  ✓ 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
250
+ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 1116ms
251
+ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 1294ms
252
252
 
253
253
  Test Files 14 passed (14)
254
254
  Tests 256 passed | 2 skipped (258)
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)
255
+ Start at 04:18:46
256
+ Duration 2.95s (transform 4.32s, setup 0ms, collect 7.82s, tests 3.70s, environment 2ms, prepare 282ms)
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.11",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.13",
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.11";
660
+ const expectedVersion = "1.6.13";
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.11",
3
+ "version": "1.8.13",
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.11",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.13",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",