@kya-os/create-mcpi-app 1.8.16 → 1.8.17
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,19 +1,53 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.8.
|
|
2
|
+
> @kya-os/create-mcpi-app@1.8.17 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
|
-
|
|
9
|
-
|
|
8
|
+
stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
|
|
9
|
+
[Session] Created session: secure-session
|
|
10
|
+
|
|
11
|
+
✓ test-cloudflare/tests/session-management.test.ts (17 tests) 13ms
|
|
12
|
+
✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
|
|
13
|
+
✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
|
|
14
|
+
✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
|
|
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
|
+
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 41ms
|
|
10
20
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
11
21
|
|
|
12
22
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
13
23
|
|
|
24
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
|
|
25
|
+
|
|
26
|
+
📦 Installing dependencies with npm...
|
|
27
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
28
|
+
|
|
14
29
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
15
30
|
🔑 Generating cryptographic identity...
|
|
16
31
|
|
|
32
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
|
|
33
|
+
|
|
34
|
+
📦 Installing dependencies with yarn...
|
|
35
|
+
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
36
|
+
|
|
37
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
38
|
+
|
|
39
|
+
📦 Installing dependencies with pnpm...
|
|
40
|
+
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
41
|
+
|
|
42
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
|
|
43
|
+
|
|
44
|
+
📦 Installing dependencies with npm...
|
|
45
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
46
|
+
|
|
47
|
+
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 40ms
|
|
48
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
49
|
+
⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
50
|
+
|
|
17
51
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
18
52
|
✔ Created Cloudflare MCP-I template files
|
|
19
53
|
- Generated identity keys in .dev.vars
|
|
@@ -40,6 +74,11 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
40
74
|
🚀 Next Steps:
|
|
41
75
|
cd test-agent
|
|
42
76
|
|
|
77
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
|
|
78
|
+
|
|
79
|
+
📦 Installing dependencies with npm...
|
|
80
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
81
|
+
|
|
43
82
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
44
83
|
wrangler login # Login to Cloudflare first!
|
|
45
84
|
npm run setup # Create KV namespaces
|
|
@@ -47,13 +86,45 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
47
86
|
npm run deploy # Deploy to Cloudflare
|
|
48
87
|
|
|
49
88
|
|
|
89
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
90
|
+
Failed to install dependencies with npm.
|
|
91
|
+
|
|
92
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
93
|
+
|
|
94
|
+
📦 Installing dependencies with npm...
|
|
95
|
+
|
|
96
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
97
|
+
|
|
98
|
+
📦 Installing dependencies with npm...
|
|
99
|
+
|
|
100
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
101
|
+
Failed to install dependencies with npm.
|
|
102
|
+
|
|
50
103
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
51
104
|
|
|
52
105
|
🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
53
106
|
|
|
107
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
108
|
+
|
|
109
|
+
📦 Installing dependencies with npm...
|
|
110
|
+
|
|
111
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
112
|
+
Failed to install dependencies with npm.
|
|
113
|
+
|
|
54
114
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
55
115
|
🔑 Generating cryptographic identity...
|
|
56
116
|
|
|
117
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
118
|
+
|
|
119
|
+
📦 Installing dependencies with npm...
|
|
120
|
+
|
|
121
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
122
|
+
|
|
123
|
+
📦 Installing dependencies with unknown...
|
|
124
|
+
|
|
125
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
126
|
+
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
127
|
+
|
|
57
128
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
58
129
|
✔ Created Cloudflare MCP-I template files
|
|
59
130
|
- Generated identity keys in .dev.vars
|
|
@@ -87,9 +158,12 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
87
158
|
npm run deploy # Deploy to Cloudflare
|
|
88
159
|
|
|
89
160
|
|
|
90
|
-
stdout |
|
|
91
|
-
[Session] Created session: secure-session
|
|
161
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
92
162
|
|
|
163
|
+
📦 Installing dependencies with npm...
|
|
164
|
+
|
|
165
|
+
✓ src/__tests__/helpers/install.test.ts (20 tests) 59ms
|
|
166
|
+
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 61ms
|
|
93
167
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
94
168
|
|
|
95
169
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
@@ -97,7 +171,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
97
171
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
98
172
|
🔑 Generating cryptographic identity...
|
|
99
173
|
|
|
100
|
-
✓
|
|
174
|
+
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
|
|
101
175
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
102
176
|
✔ Created Cloudflare MCP-I template files
|
|
103
177
|
- Generated identity keys in .dev.vars
|
|
@@ -131,7 +205,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
131
205
|
npm run deploy # Deploy to Cloudflare
|
|
132
206
|
|
|
133
207
|
|
|
134
|
-
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 29ms
|
|
135
208
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
136
209
|
|
|
137
210
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
@@ -139,6 +212,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
139
212
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
140
213
|
🔑 Generating cryptographic identity...
|
|
141
214
|
|
|
215
|
+
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 63ms
|
|
142
216
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
143
217
|
✔ Created Cloudflare MCP-I template files
|
|
144
218
|
- Generated identity keys in .dev.vars
|
|
@@ -172,88 +246,12 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
172
246
|
npm run deploy # Deploy to Cloudflare
|
|
173
247
|
|
|
174
248
|
|
|
175
|
-
✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests)
|
|
176
|
-
|
|
177
|
-
✓
|
|
178
|
-
stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
|
|
179
|
-
[RemoteConfig] Neither projectId nor agentDid provided
|
|
180
|
-
|
|
181
|
-
✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
|
|
182
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
|
|
183
|
-
|
|
184
|
-
📦 Installing dependencies with npm...
|
|
185
|
-
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
186
|
-
|
|
187
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
|
|
188
|
-
|
|
189
|
-
📦 Installing dependencies with yarn...
|
|
190
|
-
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
191
|
-
|
|
192
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
193
|
-
|
|
194
|
-
📦 Installing dependencies with pnpm...
|
|
195
|
-
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
196
|
-
|
|
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
|
-
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
|
|
203
|
-
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 102ms
|
|
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
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
213
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
214
|
-
|
|
215
|
-
📦 Installing dependencies with npm...
|
|
216
|
-
|
|
217
|
-
Failed to install dependencies with npm.
|
|
218
|
-
|
|
219
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
220
|
-
|
|
221
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
222
|
-
📦 Installing dependencies with npm...
|
|
223
|
-
|
|
224
|
-
Failed to install dependencies with npm.
|
|
225
|
-
|
|
226
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
227
|
-
Failed to install dependencies with npm.
|
|
228
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
229
|
-
|
|
230
|
-
📦 Installing dependencies with npm...
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
234
|
-
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
235
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
📦 Installing dependencies with npm...
|
|
239
|
-
|
|
240
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
241
|
-
|
|
242
|
-
📦 Installing dependencies with unknown...
|
|
243
|
-
|
|
244
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
245
|
-
|
|
246
|
-
📦 Installing dependencies with npm...
|
|
247
|
-
|
|
248
|
-
✓ src/__tests__/helpers/install.test.ts (20 tests) 32ms
|
|
249
|
-
✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
|
|
250
|
-
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 376ms
|
|
251
|
-
✓ session routing should have O(1) complexity 327ms
|
|
252
|
-
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 235ms
|
|
253
|
-
✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 1258ms
|
|
249
|
+
✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 65ms
|
|
250
|
+
✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 143ms
|
|
251
|
+
✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 184ms
|
|
254
252
|
|
|
255
253
|
Test Files 14 passed (14)
|
|
256
254
|
Tests 256 passed | 2 skipped (258)
|
|
257
|
-
Start at
|
|
258
|
-
Duration
|
|
255
|
+
Start at 01:16:25
|
|
256
|
+
Duration 389ms (transform 652ms, setup 0ms, import 920ms, tests 688ms, environment 1ms)
|
|
259
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.17",
|
|
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.17";
|
|
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.17",
|
|
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.17",
|
|
22
22
|
"base-x": "^5.0.0",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"commander": "^12.1.0",
|