@kya-os/create-mcpi-app 1.8.21 → 1.8.22
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
|
@@ -5,15 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
|
|
7
7
|
|
|
8
|
-
✓ test-cloudflare/tests/
|
|
9
|
-
✓ test-cloudflare/tests/
|
|
10
|
-
✓ test-cloudflare/tests/
|
|
8
|
+
✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
|
|
9
|
+
✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
|
|
10
|
+
✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
|
|
11
11
|
stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
|
|
12
12
|
[Session] Created session: secure-session
|
|
13
13
|
|
|
14
|
-
✓ test-cloudflare/tests/session-management.test.ts (17 tests)
|
|
15
|
-
|
|
16
|
-
|
|
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
|
|
17
21
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
18
22
|
|
|
19
23
|
🏗️ Generating Cloudflare MCP-I project: test-agent...
|
|
@@ -21,10 +25,16 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
21
25
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
22
26
|
🔑 Generating cryptographic identity...
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
26
37
|
|
|
27
|
-
✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 7ms
|
|
28
38
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
29
39
|
✔ Created Cloudflare MCP-I template files
|
|
30
40
|
- Generated identity keys in .dev.vars
|
|
@@ -58,34 +68,23 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
58
68
|
npm run deploy # Deploy to Cloudflare
|
|
59
69
|
|
|
60
70
|
|
|
61
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with
|
|
71
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
62
72
|
|
|
63
|
-
📦 Installing dependencies with
|
|
64
|
-
✓ Lockfile created (
|
|
73
|
+
📦 Installing dependencies with pnpm...
|
|
74
|
+
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
65
75
|
|
|
66
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should
|
|
76
|
+
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
|
|
67
77
|
|
|
68
|
-
📦 Installing dependencies with
|
|
69
|
-
✓ Lockfile created (
|
|
78
|
+
📦 Installing dependencies with npm...
|
|
79
|
+
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
70
80
|
|
|
71
81
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
72
82
|
|
|
73
83
|
🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
74
84
|
|
|
75
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
|
|
76
|
-
|
|
77
|
-
📦 Installing dependencies with pnpm...
|
|
78
|
-
✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
79
|
-
|
|
80
85
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
81
86
|
🔑 Generating cryptographic identity...
|
|
82
87
|
|
|
83
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
|
|
84
|
-
|
|
85
|
-
📦 Installing dependencies with npm...
|
|
86
|
-
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
87
|
-
|
|
88
|
-
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
|
|
89
88
|
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
90
89
|
⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
91
90
|
|
|
@@ -94,29 +93,6 @@ stdout | src/__tests__/helpers/install.test.ts > install > Install progress repo
|
|
|
94
93
|
📦 Installing dependencies with npm...
|
|
95
94
|
✓ Lockfile created (package-lock.json) - remember to commit it
|
|
96
95
|
|
|
97
|
-
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 73ms
|
|
98
|
-
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 65ms
|
|
99
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
100
|
-
|
|
101
|
-
📦 Installing dependencies with npm...
|
|
102
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
103
|
-
Failed to install dependencies with npm.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
107
|
-
|
|
108
|
-
📦 Installing dependencies with npm...
|
|
109
|
-
|
|
110
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
111
|
-
Failed to install dependencies with npm.
|
|
112
|
-
|
|
113
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
114
|
-
|
|
115
|
-
📦 Installing dependencies with npm...
|
|
116
|
-
|
|
117
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
118
|
-
Failed to install dependencies with npm.
|
|
119
|
-
|
|
120
96
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
|
|
121
97
|
✔ Created Cloudflare MCP-I template files
|
|
122
98
|
- Generated identity keys in .dev.vars
|
|
@@ -150,16 +126,19 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
150
126
|
npm run deploy # Deploy to Cloudflare
|
|
151
127
|
|
|
152
128
|
|
|
153
|
-
|
|
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
|
|
154
131
|
|
|
155
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
156
132
|
📦 Installing dependencies with npm...
|
|
157
|
-
⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
158
133
|
|
|
134
|
+
Failed to install dependencies with npm.
|
|
159
135
|
|
|
160
|
-
|
|
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
|
|
161
138
|
|
|
162
|
-
📦 Installing dependencies with
|
|
139
|
+
📦 Installing dependencies with npm...
|
|
140
|
+
|
|
141
|
+
Failed to install dependencies with npm.
|
|
163
142
|
|
|
164
143
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
165
144
|
|
|
@@ -167,12 +146,30 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
167
146
|
|
|
168
147
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
169
148
|
🔑 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
|
+
|
|
170
167
|
|
|
171
168
|
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
172
169
|
|
|
173
170
|
📦 Installing dependencies with npm...
|
|
174
171
|
|
|
175
|
-
✓ src/__tests__/
|
|
172
|
+
✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
|
|
176
173
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
177
174
|
✔ Created Cloudflare MCP-I template files
|
|
178
175
|
- Generated identity keys in .dev.vars
|
|
@@ -199,6 +196,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
199
196
|
🚀 Next Steps:
|
|
200
197
|
cd test-agent
|
|
201
198
|
|
|
199
|
+
✓ src/__tests__/helpers/install.test.ts (20 tests) 50ms
|
|
202
200
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
|
|
203
201
|
wrangler login # Login to Cloudflare first!
|
|
204
202
|
npm run setup # Create KV namespaces
|
|
@@ -213,6 +211,8 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
213
211
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
214
212
|
🔑 Generating cryptographic identity...
|
|
215
213
|
|
|
214
|
+
✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 62ms
|
|
215
|
+
✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 72ms
|
|
216
216
|
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
217
217
|
✔ Created Cloudflare MCP-I template files
|
|
218
218
|
- Generated identity keys in .dev.vars
|
|
@@ -246,12 +246,12 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
246
246
|
npm run deploy # Deploy to Cloudflare
|
|
247
247
|
|
|
248
248
|
|
|
249
|
-
✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests)
|
|
250
|
-
✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests)
|
|
251
|
-
✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped)
|
|
249
|
+
✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 66ms
|
|
250
|
+
✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 151ms
|
|
251
|
+
✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 184ms
|
|
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 13:04:05
|
|
256
|
+
Duration 495ms (transform 712ms, setup 0ms, import 1.32s, tests 683ms, 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.21",
|
|
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.21";
|
|
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.22",
|
|
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.21",
|
|
22
22
|
"base-x": "^5.0.0",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
24
24
|
"commander": "^12.1.0",
|