@kya-os/create-mcpi-app 1.8.22 → 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.
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.8.
|
|
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
|
+
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 18ms
|
|
8
9
|
✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
|
|
9
|
-
✓
|
|
10
|
-
✓ test-cloudflare/tests/cache-invalidation.test.ts (18 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) 16ms
|
|
15
|
-
stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
|
|
16
|
-
[RemoteConfig] Neither projectId nor agentDid provided
|
|
17
|
-
|
|
18
|
-
✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
|
|
19
|
-
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 20ms
|
|
20
|
-
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 42ms
|
|
10
|
+
✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 318ms
|
|
21
11
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
22
12
|
|
|
23
13
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
@@ -25,16 +15,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
25
15
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
26
16
|
🔑 Generating cryptographic identity...
|
|
27
17
|
|
|
28
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
|
|
29
|
-
|
|
30
|
-
📦 Installing dependencies with npm...
|
|
31
|
-
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
32
|
-
|
|
33
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
|
|
34
|
-
|
|
35
|
-
📦 Installing dependencies with yarn...
|
|
36
|
-
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
37
|
-
|
|
38
18
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
39
19
|
✔ Created Cloudflare MCP-I template files
|
|
40
20
|
- Generated identity keys in .dev.vars
|
|
@@ -68,16 +48,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
68
48
|
npm run deploy # Deploy to Cloudflare
|
|
69
49
|
|
|
70
50
|
|
|
71
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
72
|
-
|
|
73
|
-
📦 Installing dependencies with pnpm...
|
|
74
|
-
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
75
|
-
|
|
76
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
|
|
77
|
-
|
|
78
|
-
📦 Installing dependencies with npm...
|
|
79
|
-
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
80
|
-
|
|
81
51
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
82
52
|
|
|
83
53
|
🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
@@ -85,14 +55,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
85
55
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
86
56
|
🔑 Generating cryptographic identity...
|
|
87
57
|
|
|
88
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
89
|
-
⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
90
|
-
|
|
91
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
|
|
92
|
-
|
|
93
|
-
📦 Installing dependencies with npm...
|
|
94
|
-
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
95
|
-
|
|
96
58
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
97
59
|
✔ Created Cloudflare MCP-I template files
|
|
98
60
|
- Generated identity keys in .dev.vars
|
|
@@ -126,50 +88,13 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
126
88
|
npm run deploy # Deploy to Cloudflare
|
|
127
89
|
|
|
128
90
|
|
|
129
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
130
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
131
|
-
|
|
132
|
-
📦 Installing dependencies with npm...
|
|
133
|
-
|
|
134
|
-
Failed to install dependencies with npm.
|
|
135
|
-
|
|
136
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
137
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
138
|
-
|
|
139
|
-
📦 Installing dependencies with npm...
|
|
140
|
-
|
|
141
|
-
Failed to install dependencies with npm.
|
|
142
|
-
|
|
143
91
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
144
92
|
|
|
145
93
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
146
94
|
|
|
147
95
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
148
96
|
🔑 Generating cryptographic identity...
|
|
149
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
150
|
-
Failed to install dependencies with npm.
|
|
151
|
-
|
|
152
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
153
|
-
|
|
154
|
-
📦 Installing dependencies with npm...
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
158
|
-
|
|
159
|
-
📦 Installing dependencies with npm...
|
|
160
|
-
|
|
161
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
162
|
-
|
|
163
|
-
📦 Installing dependencies with unknown...
|
|
164
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
165
|
-
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
169
|
-
|
|
170
|
-
📦 Installing dependencies with npm...
|
|
171
97
|
|
|
172
|
-
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
|
|
173
98
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
174
99
|
✔ Created Cloudflare MCP-I template files
|
|
175
100
|
- Generated identity keys in .dev.vars
|
|
@@ -196,7 +121,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
196
121
|
🚀 Next Steps:
|
|
197
122
|
cd test-agent
|
|
198
123
|
|
|
199
|
-
✓ src/__tests__/helpers/install.test.ts (20 tests) 50ms
|
|
200
124
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
201
125
|
wrangler login # Login to Cloudflare first!
|
|
202
126
|
npm run setup # Create KV namespaces
|
|
@@ -211,8 +135,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
211
135
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
212
136
|
🔑 Generating cryptographic identity...
|
|
213
137
|
|
|
214
|
-
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 62ms
|
|
215
|
-
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 72ms
|
|
216
138
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
217
139
|
✔ Created Cloudflare MCP-I template files
|
|
218
140
|
- 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)
|
|
250
|
-
✓ src/__tests__/
|
|
251
|
-
|
|
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 13:04
|
|
256
|
-
Duration
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|