@kya-os/create-mcpi-app 1.8.11 → 1.8.12
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-test.log
CHANGED
|
@@ -1,17 +1,49 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.8.
|
|
2
|
+
> @kya-os/create-mcpi-app@1.8.12 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/cors-security.test.ts (29 tests) 3ms
|
|
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/delegation.test.ts (12 tests) 4ms
|
|
14
|
+
✓ test-cloudflare/tests/session-management.test.ts (17 tests) 16ms
|
|
15
|
+
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
|
|
16
|
+
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 45ms
|
|
8
17
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
9
18
|
|
|
10
19
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
11
20
|
|
|
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
|
+
|
|
12
26
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
13
27
|
🔑 Generating cryptographic identity...
|
|
14
28
|
|
|
29
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
|
|
30
|
+
|
|
31
|
+
📦 Installing dependencies with yarn...
|
|
32
|
+
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
33
|
+
|
|
34
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
35
|
+
|
|
36
|
+
📦 Installing dependencies with pnpm...
|
|
37
|
+
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
38
|
+
|
|
39
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
|
|
40
|
+
|
|
41
|
+
📦 Installing dependencies with npm...
|
|
42
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
43
|
+
|
|
44
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
45
|
+
⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
46
|
+
|
|
15
47
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
16
48
|
✔ Created Cloudflare MCP-I template files
|
|
17
49
|
- Generated identity keys in .dev.vars
|
|
@@ -38,6 +70,11 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
38
70
|
🚀 Next Steps:
|
|
39
71
|
cd test-agent
|
|
40
72
|
|
|
73
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
|
|
74
|
+
|
|
75
|
+
📦 Installing dependencies with npm...
|
|
76
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
77
|
+
|
|
41
78
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
42
79
|
wrangler login # Login to Cloudflare first!
|
|
43
80
|
npm run setup # Create KV namespaces
|
|
@@ -45,6 +82,28 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
45
82
|
npm run deploy # Deploy to Cloudflare
|
|
46
83
|
|
|
47
84
|
|
|
85
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
86
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
87
|
+
|
|
88
|
+
📦 Installing dependencies with npm...
|
|
89
|
+
|
|
90
|
+
Failed to install dependencies with npm.
|
|
91
|
+
|
|
92
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
93
|
+
|
|
94
|
+
📦 Installing dependencies with npm...
|
|
95
|
+
|
|
96
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
97
|
+
Failed to install dependencies with npm.
|
|
98
|
+
|
|
99
|
+
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 48ms
|
|
100
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
101
|
+
|
|
102
|
+
📦 Installing dependencies with npm...
|
|
103
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
104
|
+
Failed to install dependencies with npm.
|
|
105
|
+
|
|
106
|
+
|
|
48
107
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
49
108
|
|
|
50
109
|
🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
@@ -52,6 +111,17 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
52
111
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
53
112
|
🔑 Generating cryptographic identity...
|
|
54
113
|
|
|
114
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
115
|
+
|
|
116
|
+
📦 Installing dependencies with npm...
|
|
117
|
+
|
|
118
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
119
|
+
|
|
120
|
+
📦 Installing dependencies with unknown...
|
|
121
|
+
|
|
122
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
123
|
+
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
124
|
+
|
|
55
125
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
56
126
|
✔ Created Cloudflare MCP-I template files
|
|
57
127
|
- Generated identity keys in .dev.vars
|
|
@@ -85,13 +155,19 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
85
155
|
npm run deploy # Deploy to Cloudflare
|
|
86
156
|
|
|
87
157
|
|
|
158
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
159
|
+
|
|
160
|
+
📦 Installing dependencies with npm...
|
|
161
|
+
|
|
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...
|
|
91
165
|
|
|
166
|
+
✓ src/__tests__/helpers/install.test.ts (20 tests) 43ms
|
|
92
167
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
93
168
|
🔑 Generating cryptographic identity...
|
|
94
169
|
|
|
170
|
+
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 51ms
|
|
95
171
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
96
172
|
✔ Created Cloudflare MCP-I template files
|
|
97
173
|
- Generated identity keys in .dev.vars
|
|
@@ -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)
|
|
169
|
-
✓ src/
|
|
170
|
-
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 41ms
|
|
244
|
+
✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 58ms
|
|
245
|
+
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 57ms
|
|
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
|
-
✓
|
|
176
|
-
✓
|
|
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) 137ms
|
|
251
|
+
✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 166ms
|
|
252
252
|
|
|
253
253
|
Test Files 14 passed (14)
|
|
254
254
|
Tests 256 passed | 2 skipped (258)
|
|
255
|
-
Start at
|
|
256
|
-
Duration
|
|
255
|
+
Start at 03:59:47
|
|
256
|
+
Duration 420ms (transform 787ms, setup 0ms, collect 1.16s, tests 639ms, environment 1ms, prepare 45ms)
|
|
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.12",
|
|
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.
|
|
660
|
+
const expectedVersion = "1.6.12";
|
|
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.12",
|
|
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.12",
|
|
22
22
|
"base-x": "^5.0.0",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"commander": "^12.1.0",
|