@kya-os/create-mcpi-app 1.7.42-canary.76 → 1.7.42-canary.78
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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.7.42-canary.
|
|
2
|
+
> @kya-os/create-mcpi-app@1.7.42-canary.78 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
|
|
3
3
|
> tsc && chmod +x dist/index.js
|
|
4
4
|
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.7.42-canary.
|
|
2
|
+
> @kya-os/create-mcpi-app@1.7.42-canary.76 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
|
-
✓
|
|
9
|
-
✓
|
|
10
|
-
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 34ms
|
|
11
|
-
✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 22ms
|
|
12
|
-
stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
|
|
13
|
-
[RemoteConfig] Neither projectId nor agentDid provided
|
|
14
|
-
|
|
15
|
-
✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
|
|
16
|
-
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
|
|
17
|
-
✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 7ms
|
|
8
|
+
✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
|
|
9
|
+
✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
|
|
18
10
|
✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
|
|
19
11
|
stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
|
|
20
12
|
[Session] Created session: secure-session
|
|
21
13
|
|
|
22
|
-
✓ test-cloudflare/tests/session-management.test.ts (17 tests)
|
|
14
|
+
✓ test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
|
|
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) 4ms
|
|
19
|
+
✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 38ms
|
|
23
20
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
24
21
|
|
|
25
22
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
@@ -37,6 +34,17 @@ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installati
|
|
|
37
34
|
📦 Installing dependencies with yarn...
|
|
38
35
|
✓ Lockfile created (yarn.lock) - remember to commit it
|
|
39
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
|
+
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 36ms
|
|
43
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
|
|
44
|
+
|
|
45
|
+
📦 Installing dependencies with npm...
|
|
46
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
47
|
+
|
|
40
48
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
41
49
|
✔ Created Cloudflare MCP-I template files
|
|
42
50
|
- Generated identity keys in .dev.vars
|
|
@@ -63,11 +71,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
63
71
|
🚀 Next Steps:
|
|
64
72
|
cd test-agent
|
|
65
73
|
|
|
66
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
67
|
-
|
|
68
|
-
📦 Installing dependencies with pnpm...
|
|
69
|
-
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
70
|
-
|
|
71
74
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
72
75
|
wrangler login # Login to Cloudflare first!
|
|
73
76
|
npm run setup # Create KV namespaces
|
|
@@ -75,7 +78,10 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
75
78
|
npm run deploy # Deploy to Cloudflare
|
|
76
79
|
|
|
77
80
|
|
|
78
|
-
|
|
81
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
82
|
+
⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
83
|
+
|
|
84
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
|
|
79
85
|
|
|
80
86
|
📦 Installing dependencies with npm...
|
|
81
87
|
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
@@ -84,22 +90,14 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
84
90
|
|
|
85
91
|
🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
86
92
|
|
|
87
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
88
|
-
⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
89
|
-
|
|
90
93
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
91
94
|
🔑 Generating cryptographic identity...
|
|
92
95
|
|
|
93
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
|
|
94
|
-
|
|
95
|
-
📦 Installing dependencies with npm...
|
|
96
|
-
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
97
|
-
|
|
98
96
|
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
99
97
|
|
|
100
98
|
📦 Installing dependencies with npm...
|
|
101
|
-
|
|
102
99
|
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
100
|
+
|
|
103
101
|
Failed to install dependencies with npm.
|
|
104
102
|
|
|
105
103
|
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
@@ -109,36 +107,15 @@ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > shou
|
|
|
109
107
|
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
110
108
|
Failed to install dependencies with npm.
|
|
111
109
|
|
|
112
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
113
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
114
|
-
|
|
115
|
-
📦 Installing dependencies with npm...
|
|
116
|
-
|
|
117
|
-
Failed to install dependencies with npm.
|
|
118
|
-
|
|
119
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
120
|
-
|
|
121
|
-
📦 Installing dependencies with npm...
|
|
122
|
-
|
|
123
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
124
|
-
|
|
125
|
-
📦 Installing dependencies with unknown...
|
|
126
|
-
|
|
127
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
128
|
-
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
129
|
-
|
|
130
|
-
✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 32ms
|
|
131
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
132
|
-
|
|
133
|
-
📦 Installing dependencies with npm...
|
|
134
|
-
|
|
135
|
-
✓ src/__tests__/helpers/install.test.ts (20 tests) 43ms
|
|
136
110
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
111
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
137
112
|
✔ Created Cloudflare MCP-I template files
|
|
138
113
|
- Generated identity keys in .dev.vars
|
|
139
114
|
- Configured wrangler.toml with KV namespaces
|
|
140
115
|
- Created modular tool structure
|
|
141
116
|
- Created setup script for KV namespace creation
|
|
117
|
+
Failed to install dependencies with npm.
|
|
118
|
+
|
|
142
119
|
|
|
143
120
|
============================================================
|
|
144
121
|
🎉 Cloudflare MCP-I project created successfully!
|
|
@@ -159,6 +136,10 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
159
136
|
🚀 Next Steps:
|
|
160
137
|
cd my-awesome-agent
|
|
161
138
|
|
|
139
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
140
|
+
|
|
141
|
+
📦 Installing dependencies with npm...
|
|
142
|
+
|
|
162
143
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
163
144
|
wrangler login # Login to Cloudflare first!
|
|
164
145
|
npm run setup # Create KV namespaces
|
|
@@ -166,7 +147,17 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
166
147
|
npm run deploy # Deploy to Cloudflare
|
|
167
148
|
|
|
168
149
|
|
|
169
|
-
|
|
150
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
151
|
+
|
|
152
|
+
📦 Installing dependencies with npm...
|
|
153
|
+
|
|
154
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
155
|
+
|
|
156
|
+
📦 Installing dependencies with unknown...
|
|
157
|
+
|
|
158
|
+
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
159
|
+
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
160
|
+
|
|
170
161
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
171
162
|
|
|
172
163
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
@@ -174,6 +165,11 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
174
165
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
175
166
|
🔑 Generating cryptographic identity...
|
|
176
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
|
+
|
|
172
|
+
✓ src/__tests__/helpers/install.test.ts (20 tests) 45ms
|
|
177
173
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
178
174
|
✔ Created Cloudflare MCP-I template files
|
|
179
175
|
- Generated identity keys in .dev.vars
|
|
@@ -214,6 +210,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
214
210
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
215
211
|
🔑 Generating cryptographic identity...
|
|
216
212
|
|
|
213
|
+
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 53ms
|
|
217
214
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
218
215
|
✔ Created Cloudflare MCP-I template files
|
|
219
216
|
- Generated identity keys in .dev.vars
|
|
@@ -247,11 +244,14 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
247
244
|
npm run deploy # Deploy to Cloudflare
|
|
248
245
|
|
|
249
246
|
|
|
250
|
-
✓ src/__tests__/
|
|
251
|
-
✓ src/__tests__/
|
|
247
|
+
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 57ms
|
|
248
|
+
✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 49ms
|
|
249
|
+
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
|
|
250
|
+
✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 115ms
|
|
251
|
+
✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 147ms
|
|
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 16:24:15
|
|
256
|
+
Duration 378ms (transform 660ms, setup 0ms, collect 1.05s, tests 571ms, environment 1ms, prepare 44ms)
|
|
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.5.8-canary.
|
|
83
|
+
"@kya-os/mcp-i-cloudflare": "1.5.8-canary.74",
|
|
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.5.8-canary.
|
|
660
|
+
const expectedVersion = "1.5.8-canary.74";
|
|
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.7.42-canary.
|
|
3
|
+
"version": "1.7.42-canary.78",
|
|
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.5.3-canary.28",
|
|
20
20
|
"@kya-os/mcp-i": "^1.5.9-canary.29",
|
|
21
|
-
"@kya-os/mcp-i-cloudflare": "^1.5.8-canary.
|
|
21
|
+
"@kya-os/mcp-i-cloudflare": "^1.5.8-canary.74",
|
|
22
22
|
"base-x": "^5.0.0",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"commander": "^12.1.0",
|