@kya-os/create-mcpi-app 1.9.11 β 1.9.13
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 +1 -1
- package/.turbo/turbo-test.log +487 -286
- package/dist/helpers/get-package-versions.js +8 -8
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,96 +1,45 @@
|
|
|
1
1
|
|
|
2
|
-
> @kya-os/create-mcpi-app@1.9.
|
|
2
|
+
> @kya-os/create-mcpi-app@1.9.12 test /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app
|
|
3
3
|
> vitest run
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
RUN
|
|
7
|
-
|
|
8
|
-
β src/__tests__/helpers/generate-config.test.ts (25 tests) 51ms
|
|
9
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
|
|
10
|
-
|
|
11
|
-
π¦ Installing dependencies with npm...
|
|
12
|
-
β Lockfile created (package-lock.json) - remember to commit it
|
|
13
|
-
|
|
14
|
-
stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
6
|
+
[1m[46m RUN [49m[22m [36mv4.0.14 [39m[90m/Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app[39m
|
|
15
7
|
|
|
8
|
+
(node:27119) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
9
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
10
|
+
[32mβ[39m src/__tests__/index.test.ts [2m([22m[2m4 tests[22m[2m)[22m[33m 2668[2mms[22m[39m
|
|
11
|
+
[33m[2mβ[22m[39m should load .env from package directory and current working directory [33m 2096[2mms[22m[39m
|
|
12
|
+
[33m[2mβ[22m[39m should call runCLI with process.argv [33m 407[2mms[22m[39m
|
|
13
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
14
|
+
[22m[39m
|
|
16
15
|
ποΈ Generating Cloudflare MCP-I project: test-project...
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
18
|
+
[22m[39mπ Generating cryptographic identity...
|
|
19
19
|
|
|
20
|
+
(node:27092) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
21
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
22
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include envPrefix in generated index.ts
|
|
23
|
+
[22m[39m
|
|
20
24
|
ποΈ Generating Cloudflare MCP-I project: test-agent...
|
|
21
25
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
|
|
45
|
-
|
|
46
|
-
π¦ Installing dependencies with npm...
|
|
47
|
-
β Lockfile created (package-lock.json) - remember to commit it
|
|
48
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
|
|
49
|
-
|
|
50
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
51
|
-
|
|
52
|
-
π¦ Installing dependencies with npm...
|
|
53
|
-
|
|
54
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
55
|
-
|
|
56
|
-
π¦ Installing dependencies with npm...
|
|
57
|
-
β οΈ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
|
|
61
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
62
|
-
|
|
63
|
-
π¦ Installing dependencies with npm...
|
|
64
|
-
Failed to install dependencies with npm.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
|
|
68
|
-
|
|
69
|
-
π¦ Installing dependencies with npm...
|
|
70
|
-
|
|
71
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
|
|
72
|
-
Failed to install dependencies with npm.
|
|
73
|
-
|
|
74
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
|
|
75
|
-
Failed to install dependencies with npm.
|
|
76
|
-
|
|
77
|
-
stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
78
|
-
β οΈ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
79
|
-
|
|
80
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
|
|
81
|
-
|
|
82
|
-
π¦ Installing dependencies with unknown...
|
|
83
|
-
|
|
84
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
|
|
85
|
-
|
|
86
|
-
π¦ Installing dependencies with npm...
|
|
87
|
-
|
|
88
|
-
stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when package manager lockfile cannot be determined
|
|
89
|
-
|
|
90
|
-
π¦ Installing dependencies with custom...
|
|
91
|
-
|
|
92
|
-
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
|
|
93
|
-
β Created Cloudflare MCP-I template files
|
|
26
|
+
(node:27089) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
27
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
28
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include envPrefix in generated index.ts
|
|
29
|
+
[22m[39mπ Generating cryptographic identity...
|
|
30
|
+
|
|
31
|
+
(node:27095) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
32
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
33
|
+
[32mβ[39m src/__tests__/helpers/copy-template.test.ts [2m([22m[2m11 tests[22m[2m)[22m[33m 5509[2mms[22m[39m
|
|
34
|
+
[33m[2mβ[22m[39m should copy files from source to target [33m 553[2mms[22m[39m
|
|
35
|
+
[33m[2mβ[22m[39m should copy directories recursively [33m 1494[2mms[22m[39m
|
|
36
|
+
[33m[2mβ[22m[39m should not copy files starting with dot [33m 1000[2mms[22m[39m
|
|
37
|
+
[33m[2mβ[22m[39m should not copy directories starting with dot [33m 620[2mms[22m[39m
|
|
38
|
+
[33m[2mβ[22m[39m should not copy .DS_Store [33m 429[2mms[22m[39m
|
|
39
|
+
[33m[2mβ[22m[39m should handle files with special characters in names [33m 541[2mms[22m[39m
|
|
40
|
+
[33m[2mβ[22m[39m should handle binary files [33m 529[2mms[22m[39m
|
|
41
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould scaffold with correct @kya-os/mcp-i-cloudflare version
|
|
42
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
94
43
|
- Generated identity keys in .dev.vars
|
|
95
44
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
96
45
|
- Created modular tool structure
|
|
@@ -112,21 +61,40 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
112
61
|
- Wrangler updates wrangler.toml with namespace IDs
|
|
113
62
|
|
|
114
63
|
π Next Steps:
|
|
115
|
-
cd test-
|
|
64
|
+
cd test-project
|
|
116
65
|
wrangler login # Login to Cloudflare first!
|
|
117
66
|
npm run dev # Start local development
|
|
118
67
|
npm run deploy # Deploy (KV auto-created!)
|
|
119
68
|
|
|
120
69
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
70
|
+
(node:27090) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
71
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
72
|
+
[31mβ―[39m test-cloudflare/tests/do-routing.test.ts [2m([22m[2m14 tests[22m[2m | [22m[31m2 failed[39m[2m)[22m[33m 7010[2mms[22m[39m
|
|
73
|
+
[33m[2mβ[22m[39m should route to different instances for different sessions [33m 631[2mms[22m[39m
|
|
74
|
+
[32mβ[39m should route to same instance for same session[32m 2[2mms[22m[39m
|
|
75
|
+
[32mβ[39m should handle both mcp-session-id header casings[32m 3[2mms[22m[39m
|
|
76
|
+
[32mβ[39m should generate random session if header missing[32m 2[2mms[22m[39m
|
|
77
|
+
[33m[2mβ[22m[39m should distribute requests across shards [33m 2133[2mms[22m[39m
|
|
78
|
+
[32mβ[39m should consistently route same session to same shard[32m 12[2mms[22m[39m
|
|
79
|
+
[32mβ[39m should respect custom shard count[32m 95[2mms[22m[39m
|
|
80
|
+
[32mβ[39m should fall back to default when strategy unknown[32m 1[2mms[22m[39m
|
|
81
|
+
[32mβ[39m should use session strategy when not configured[32m 42[2mms[22m[39m
|
|
82
|
+
[31m [31mΓ[31m session routing should have O(1) complexity[39m[33m 2312[2mms[22m[39m
|
|
83
|
+
[31m [31mΓ[31m shard routing should have O(n) complexity for hash[39m[33m 696[2mms[22m[39m
|
|
84
|
+
[33m[2mβ[22m[39m should handle empty session ID [33m 545[2mms[22m[39m
|
|
85
|
+
[32mβ[39m should handle non-numeric shard count[32m 6[2mms[22m[39m
|
|
86
|
+
[32mβ[39m should handle special characters in session ID[32m 118[2mms[22m[39m
|
|
87
|
+
[32mβ[39m src/__tests__/helpers/generate-identity.test.ts [2m([22m[2m24 tests[22m[2m)[22m[33m 7040[2mms[22m[39m
|
|
88
|
+
[33m[2mβ[22m[39m should generate a valid identity [33m 641[2mms[22m[39m
|
|
89
|
+
[33m[2mβ[22m[39m should generate unique identities on each call [33m 875[2mms[22m[39m
|
|
90
|
+
[33m[2mβ[22m[39m should generate identity with correct structure [33m 809[2mms[22m[39m
|
|
91
|
+
[33m[2mβ[22m[39m should generate identity with valid ISO timestamp [33m 1074[2mms[22m[39m
|
|
92
|
+
[33m[2mβ[22m[39m should generate valid Ed25519 key pair [33m 674[2mms[22m[39m
|
|
93
|
+
[33m[2mβ[22m[39m should generate keys that can be used for signing [33m 469[2mms[22m[39m
|
|
94
|
+
[33m[2mβ[22m[39m should generate identity that matches expected interface [33m 444[2mms[22m[39m
|
|
95
|
+
[33m[2mβ[22m[39m should generate DID that corresponds to public key [33m 528[2mms[22m[39m
|
|
96
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include envPrefix in generated index.ts
|
|
97
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
130
98
|
- Generated identity keys in .dev.vars
|
|
131
99
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
132
100
|
- Created modular tool structure
|
|
@@ -148,21 +116,66 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
148
116
|
- Wrangler updates wrangler.toml with namespace IDs
|
|
149
117
|
|
|
150
118
|
π Next Steps:
|
|
151
|
-
cd
|
|
119
|
+
cd test-agent
|
|
152
120
|
wrangler login # Login to Cloudflare first!
|
|
153
121
|
npm run dev # Start local development
|
|
154
122
|
npm run deploy # Deploy (KV auto-created!)
|
|
155
123
|
|
|
156
124
|
|
|
157
|
-
|
|
125
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
126
|
+
[22m[39m
|
|
127
|
+
ποΈ Generating Cloudflare MCP-I project: test-project-env...
|
|
158
128
|
|
|
159
|
-
|
|
129
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
130
|
+
[22m[39mπ Generating cryptographic identity...
|
|
131
|
+
|
|
132
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould use correct prefix format (uppercase with underscores)
|
|
133
|
+
[22m[39m
|
|
134
|
+
ποΈ Generating Cloudflare MCP-I project: my-awesome-agent...
|
|
135
|
+
|
|
136
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould use correct prefix format (uppercase with underscores)
|
|
137
|
+
[22m[39mπ Generating cryptographic identity...
|
|
138
|
+
|
|
139
|
+
[32mβ[39m src/__tests__/helpers/generate-config.test.ts [2m([22m[2m25 tests[22m[2m)[22m[33m 4905[2mms[22m[39m
|
|
140
|
+
[33m[2mβ[22m[39m should generate xmcp.config.ts with default values [33m 801[2mms[22m[39m
|
|
141
|
+
[33m[2mβ[22m[39m should generate config with STDIO transport when specified [33m 326[2mms[22m[39m
|
|
142
|
+
[33m[2mβ[22m[39m should generate config without identity when skipIdentity is true [33m 547[2mms[22m[39m
|
|
143
|
+
[33m[2mβ[22m[39m should use default tools path [33m 530[2mms[22m[39m
|
|
144
|
+
[33m[2mβ[22m[39m should generate runtime config with default values [33m 1181[2mms[22m[39m
|
|
145
|
+
[33m[2mβ[22m[39m should create valid TypeScript config file [33m 508[2mms[22m[39m
|
|
146
|
+
[90mstderr[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mexits when project name validation fails
|
|
147
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mexits when project name validation fails
|
|
148
|
+
[22m[39mInvalid project name:
|
|
149
|
+
- bad
|
|
150
|
+
[22m[39m
|
|
151
|
+
create-mcpi-app@1.9.12
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
create-mcpi-app@1.9.12
|
|
155
|
+
BANNER
|
|
156
|
+
|
|
157
|
+
Enhanced with identity features by MCP-I
|
|
158
|
+
|
|
159
|
+
BANNER
|
|
160
|
+
|
|
161
|
+
Enhanced with identity features by MCP-I
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mexits when project name validation fails
|
|
165
|
+
[22m[39m
|
|
166
|
+
Next Steps:
|
|
167
|
+
1. Initialize identity:
|
|
168
|
+
cd bad-app
|
|
169
|
+
npm run init
|
|
170
|
+
|
|
171
|
+
2. Start development server:
|
|
172
|
+
npm run dev
|
|
160
173
|
|
|
161
|
-
|
|
162
|
-
|
|
174
|
+
3. Deploy when ready:
|
|
175
|
+
npm run start
|
|
163
176
|
|
|
164
|
-
|
|
165
|
-
β Created Cloudflare MCP-I template files
|
|
177
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
178
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
166
179
|
- Generated identity keys in .dev.vars
|
|
167
180
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
168
181
|
- Created modular tool structure
|
|
@@ -184,14 +197,14 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
184
197
|
- Wrangler updates wrangler.toml with namespace IDs
|
|
185
198
|
|
|
186
199
|
π Next Steps:
|
|
187
|
-
cd test-
|
|
200
|
+
cd test-project-env
|
|
188
201
|
wrangler login # Login to Cloudflare first!
|
|
189
202
|
npm run dev # Start local development
|
|
190
203
|
npm run deploy # Deploy (KV auto-created!)
|
|
191
204
|
|
|
192
205
|
|
|
193
|
-
|
|
194
|
-
β Created Cloudflare MCP-I template files
|
|
206
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould use correct prefix format (uppercase with underscores)
|
|
207
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
195
208
|
- Generated identity keys in .dev.vars
|
|
196
209
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
197
210
|
- Created modular tool structure
|
|
@@ -213,21 +226,95 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
|
|
|
213
226
|
- Wrangler updates wrangler.toml with namespace IDs
|
|
214
227
|
|
|
215
228
|
π Next Steps:
|
|
216
|
-
cd
|
|
229
|
+
cd my-awesome-agent
|
|
217
230
|
wrangler login # Login to Cloudflare first!
|
|
218
231
|
npm run dev # Start local development
|
|
219
232
|
npm run deploy # Deploy (KV auto-created!)
|
|
220
233
|
|
|
221
234
|
|
|
222
|
-
|
|
235
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mhonors package manager and version flags
|
|
236
|
+
[22m[39m
|
|
237
|
+
create-mcpi-app@1.9.12
|
|
223
238
|
|
|
224
|
-
|
|
239
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mhonors package manager and version flags
|
|
240
|
+
[22m[39mBANNER
|
|
241
|
+
|
|
242
|
+
Enhanced with identity features by MCP-I
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mhonors package manager and version flags
|
|
246
|
+
[22m[39m
|
|
247
|
+
Next Steps:
|
|
248
|
+
1. Install dependencies:
|
|
249
|
+
cd pnpm-agent
|
|
250
|
+
pnpm install
|
|
251
|
+
|
|
252
|
+
2. Initialize identity:
|
|
253
|
+
pnpm init
|
|
254
|
+
|
|
255
|
+
3. Start development server:
|
|
256
|
+
pnpm dev
|
|
257
|
+
|
|
258
|
+
4. Deploy when ready:
|
|
259
|
+
pnpm start
|
|
260
|
+
|
|
261
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
262
|
+
[22m[39m
|
|
263
|
+
create-mcpi-app@1.9.12
|
|
264
|
+
|
|
265
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
266
|
+
[22m[39mBANNER
|
|
267
|
+
|
|
268
|
+
Enhanced with identity features by MCP-I
|
|
225
269
|
|
|
226
|
-
stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should include AGENTSHIELD_PROJECT_ID in wrangler.toml template
|
|
227
|
-
π Generating cryptographic identity...
|
|
228
270
|
|
|
229
|
-
|
|
230
|
-
|
|
271
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
272
|
+
[22m[39m
|
|
273
|
+
Creating a new xmcp app in /Users/dylanhobbs/@kya-os/xmcp-i/packages/create-mcpi-app/interactive-app.
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
277
|
+
[22m[39m
|
|
278
|
+
ποΈ Generating Cloudflare MCP-I project: test-project-with-id...
|
|
279
|
+
|
|
280
|
+
[90mstdout[2m | src/__tests__/cli-runner.test.ts[2m > [22m[2mrunCLI[2m > [22m[2mprompts for package manager and transports when --yes is not set
|
|
281
|
+
[22m[39m
|
|
282
|
+
Next Steps:
|
|
283
|
+
1. Install dependencies:
|
|
284
|
+
cd interactive-app
|
|
285
|
+
pnpm install
|
|
286
|
+
|
|
287
|
+
2. Start development server:
|
|
288
|
+
pnpm dev
|
|
289
|
+
|
|
290
|
+
3. Deploy when ready:
|
|
291
|
+
pnpm start
|
|
292
|
+
|
|
293
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
294
|
+
[22m[39mπ Generating cryptographic identity...
|
|
295
|
+
|
|
296
|
+
[31mβ―[39m src/__tests__/cli-runner.test.ts [2m([22m[2m4 tests[22m[2m | [22m[31m2 failed[39m[2m)[22m[33m 11065[2mms[22m[39m
|
|
297
|
+
[31m [31mΓ[31m passes CLI flags to createProject when using --yes[39m[33m 5089[2mms[22m[39m
|
|
298
|
+
[31m [31mΓ[31m exits when project name validation fails[39m[33m 5401[2mms[22m[39m
|
|
299
|
+
[32mβ[39m honors package manager and version flags[32m 64[2mms[22m[39m
|
|
300
|
+
[33m[2mβ[22m[39m prompts for package manager and transports when --yes is not set [33m 503[2mms[22m[39m
|
|
301
|
+
[32mβ[39m src/__tests__/helpers/validate-project-structure.test.ts [2m([22m[2m23 tests[22m[2m)[22m[33m 4229[2mms[22m[39m
|
|
302
|
+
[33m[2mβ[22m[39m should validate identity-enabled project structure correctly [33m 540[2mms[22m[39m
|
|
303
|
+
[33m[2mβ[22m[39m should validate vanilla project structure correctly [33m 681[2mms[22m[39m
|
|
304
|
+
[33m[2mβ[22m[39m should detect missing package.json [33m 694[2mms[22m[39m
|
|
305
|
+
[33m[2mβ[22m[39m should detect missing xmcp.config.ts file [33m 315[2mms[22m[39m
|
|
306
|
+
[33m[2mβ[22m[39m should validate all required files exist [33m 501[2mms[22m[39m
|
|
307
|
+
[33m[2mβ[22m[39m should include file path in error messages [33m 417[2mms[22m[39m
|
|
308
|
+
[33m[2mβ[22m[39m should detect npm lockfile [33m 360[2mms[22m[39m
|
|
309
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include comment explaining envPrefix purpose
|
|
310
|
+
[22m[39m
|
|
311
|
+
ποΈ Generating Cloudflare MCP-I project: test-agent...
|
|
312
|
+
|
|
313
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include comment explaining envPrefix purpose
|
|
314
|
+
[22m[39mπ Generating cryptographic identity...
|
|
315
|
+
|
|
316
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould set AGENTSHIELD_PROJECT_ID when --project is provided
|
|
317
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
231
318
|
- Generated identity keys in .dev.vars
|
|
232
319
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
233
320
|
- Created modular tool structure
|
|
@@ -249,21 +336,21 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
|
|
|
249
336
|
- Wrangler updates wrangler.toml with namespace IDs
|
|
250
337
|
|
|
251
338
|
π Next Steps:
|
|
252
|
-
cd test-project-
|
|
339
|
+
cd test-project-with-id
|
|
253
340
|
wrangler login # Login to Cloudflare first!
|
|
254
341
|
npm run dev # Start local development
|
|
255
342
|
npm run deploy # Deploy (KV auto-created!)
|
|
256
343
|
|
|
257
344
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
β Created Cloudflare MCP-I template files
|
|
345
|
+
[32mβ[39m src/__tests__/helpers/fetch-mcpi-template.test.ts [2m([22m[2m16 tests[22m[2m)[22m[33m 5064[2mms[22m[39m
|
|
346
|
+
[33m[2mβ[22m[39m should create package.json with correct structure [33m 623[2mms[22m[39m
|
|
347
|
+
[33m[2mβ[22m[39m should include @kya-os dependencies [33m 544[2mms[22m[39m
|
|
348
|
+
[33m[2mβ[22m[39m should include required scripts [33m 1241[2mms[22m[39m
|
|
349
|
+
[33m[2mβ[22m[39m should create src/tools directory [33m 785[2mms[22m[39m
|
|
350
|
+
[33m[2mβ[22m[39m should create README.md [33m 429[2mms[22m[39m
|
|
351
|
+
[33m[2mβ[22m[39m should generate identity when skipIdentity is false [33m 485[2mms[22m[39m
|
|
352
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould include comment explaining envPrefix purpose
|
|
353
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
267
354
|
- Generated identity keys in .dev.vars
|
|
268
355
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
269
356
|
- Created modular tool structure
|
|
@@ -285,24 +372,28 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
|
|
|
285
372
|
- Wrangler updates wrangler.toml with namespace IDs
|
|
286
373
|
|
|
287
374
|
π Next Steps:
|
|
288
|
-
cd test-
|
|
375
|
+
cd test-agent
|
|
289
376
|
wrangler login # Login to Cloudflare first!
|
|
290
377
|
npm run dev # Start local development
|
|
291
378
|
npm run deploy # Deploy (KV auto-created!)
|
|
292
379
|
|
|
293
380
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
β src/__tests__/index.test.ts (4 tests) 141ms
|
|
297
|
-
stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Cloudflare Template Dependencies > should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
298
|
-
|
|
381
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
382
|
+
[22m[39m
|
|
299
383
|
ποΈ Generating Cloudflare MCP-I project: test-project-no-id...
|
|
300
384
|
|
|
301
|
-
|
|
302
|
-
π Generating cryptographic identity...
|
|
385
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
386
|
+
[22m[39mπ Generating cryptographic identity...
|
|
387
|
+
|
|
388
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould match envPrefix with KV binding names in wrangler.toml
|
|
389
|
+
[22m[39m
|
|
390
|
+
ποΈ Generating Cloudflare MCP-I project: test-agent...
|
|
391
|
+
|
|
392
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould match envPrefix with KV binding names in wrangler.toml
|
|
393
|
+
[22m[39mπ Generating cryptographic identity...
|
|
303
394
|
|
|
304
|
-
|
|
305
|
-
β Created Cloudflare MCP-I template files
|
|
395
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mCloudflare Template Dependencies[2m > [22m[2mshould comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided
|
|
396
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
306
397
|
- Generated identity keys in .dev.vars
|
|
307
398
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
308
399
|
- Created modular tool structure
|
|
@@ -330,22 +421,8 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
|
|
|
330
421
|
npm run deploy # Deploy (KV auto-created!)
|
|
331
422
|
|
|
332
423
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
ποΈ Generating Cloudflare MCP-I project: test-project-runtime...
|
|
336
|
-
|
|
337
|
-
stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffolder Dependency Verification E2E > Runtime Config Includes projectId > should pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
338
|
-
π Generating cryptographic identity...
|
|
339
|
-
|
|
340
|
-
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
341
|
-
|
|
342
|
-
ποΈ Generating Cloudflare MCP-I project: test-agent...
|
|
343
|
-
|
|
344
|
-
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
345
|
-
π Generating cryptographic identity...
|
|
346
|
-
|
|
347
|
-
stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
|
|
348
|
-
β Created Cloudflare MCP-I template files
|
|
424
|
+
[90mstdout[2m | src/__tests__/scaffolder-envprefix.test.ts[2m > [22m[2mScaffolder envPrefix Configuration[2m > [22m[2mshould match envPrefix with KV binding names in wrangler.toml
|
|
425
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
349
426
|
- Generated identity keys in .dev.vars
|
|
350
427
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
351
428
|
- Created modular tool structure
|
|
@@ -373,9 +450,29 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
|
|
|
373
450
|
npm run deploy # Deploy (KV auto-created!)
|
|
374
451
|
|
|
375
452
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
453
|
+
[32mβ[39m src/__tests__/scaffolder-envprefix.test.ts [2m([22m[2m4 tests[22m[2m)[22m[33m 8004[2mms[22m[39m
|
|
454
|
+
[33m[2mβ[22m[39m should include envPrefix in generated index.ts [33m 3501[2mms[22m[39m
|
|
455
|
+
[33m[2mβ[22m[39m should use correct prefix format (uppercase with underscores) [33m 1413[2mms[22m[39m
|
|
456
|
+
[33m[2mβ[22m[39m should include comment explaining envPrefix purpose [33m 2007[2mms[22m[39m
|
|
457
|
+
[33m[2mβ[22m[39m should match envPrefix with KV binding names in wrangler.toml [33m 1073[2mms[22m[39m
|
|
458
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
459
|
+
[22m[39m
|
|
460
|
+
ποΈ Generating Cloudflare MCP-I project: test-project-runtime...
|
|
461
|
+
|
|
462
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
463
|
+
[22m[39mπ Generating cryptographic identity...
|
|
464
|
+
|
|
465
|
+
[32mβ[39m src/__tests__/helpers/create.test.ts [2m([22m[2m13 tests[22m[2m)[22m[33m 5990[2mms[22m[39m
|
|
466
|
+
[33m[2mβ[22m[39m should create Node.js MCP-I project (default) [33m 741[2mms[22m[39m
|
|
467
|
+
[33m[2mβ[22m[39m should create Cloudflare MCP-I project [33m 1117[2mms[22m[39m
|
|
468
|
+
[33m[2mβ[22m[39m should create Cloudflare verifier project [33m 331[2mms[22m[39m
|
|
469
|
+
[33m[2mβ[22m[39m should generate identity for Node.js project when not skipped [33m 573[2mms[22m[39m
|
|
470
|
+
[33m[2mβ[22m[39m should add vercel.json when deployToVercel is true [33m 583[2mms[22m[39m
|
|
471
|
+
[33m[2mβ[22m[39m should rename _gitignore to .gitignore [33m 458[2mms[22m[39m
|
|
472
|
+
[33m[2mβ[22m[39m should pass apikey to Cloudflare template [33m 767[2mms[22m[39m
|
|
473
|
+
[33m[2mβ[22m[39m should pass projectId to Cloudflare template [33m 754[2mms[22m[39m
|
|
474
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mRuntime Config Includes projectId[2m > [22m[2mshould pass AGENTSHIELD_PROJECT_ID to runtime config
|
|
475
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
379
476
|
- Generated identity keys in .dev.vars
|
|
380
477
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
381
478
|
- Created modular tool structure
|
|
@@ -403,15 +500,43 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
|
|
|
403
500
|
npm run deploy # Deploy (KV auto-created!)
|
|
404
501
|
|
|
405
502
|
|
|
406
|
-
|
|
407
|
-
|
|
503
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
504
|
+
[22m[39m
|
|
408
505
|
ποΈ Generating Cloudflare MCP-I project: test-project-no-workspace...
|
|
409
506
|
|
|
410
|
-
|
|
411
|
-
π Generating cryptographic identity...
|
|
507
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
508
|
+
[22m[39mπ Generating cryptographic identity...
|
|
509
|
+
|
|
510
|
+
[32mβ[39m src/__tests__/wrangler-v4-compatibility.test.ts [2m([22m[2m11 tests[22m[2m)[22m[33m 8663[2mms[22m[39m
|
|
511
|
+
[33m[2mβ[22m[39m should use Wrangler v4.x in package.json [33m 2295[2mms[22m[39m
|
|
512
|
+
[33m[2mβ[22m[39m should use modern compatibility_flags in wrangler.toml (not deprecated node_compat) [33m 686[2mms[22m[39m
|
|
513
|
+
[33m[2mβ[22m[39m should use updated @cloudflare/workers-types [33m 1315[2mms[22m[39m
|
|
514
|
+
[33m[2mβ[22m[39m should use compatible @cloudflare/vitest-pool-workers version [33m 1270[2mms[22m[39m
|
|
515
|
+
[33m[2mβ[22m[39m should use a valid compatibility_date (not a future date) [33m 916[2mms[22m[39m
|
|
516
|
+
[33m[2mβ[22m[39m should include all required scripts for Wrangler v4 [33m 724[2mms[22m[39m
|
|
517
|
+
[33m[2mβ[22m[39m MCPI template should not use any deprecated Wrangler v3 features [33m 1116[2mms[22m[39m
|
|
518
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with npm
|
|
519
|
+
[22m[39m
|
|
520
|
+
π¦ Installing dependencies with npm...
|
|
521
|
+
β Lockfile created (package-lock.json) - remember to commit it
|
|
522
|
+
|
|
523
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with yarn
|
|
524
|
+
[22m[39m
|
|
525
|
+
π¦ Installing dependencies with yarn...
|
|
526
|
+
β Lockfile created (yarn.lock) - remember to commit it
|
|
527
|
+
|
|
528
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould install dependencies with pnpm
|
|
529
|
+
[22m[39m
|
|
530
|
+
π¦ Installing dependencies with pnpm...
|
|
531
|
+
β Lockfile created (pnpm-lock.yaml) - remember to commit it
|
|
532
|
+
|
|
533
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mDependency installation[2m > [22m[2mshould use correct working directory
|
|
534
|
+
[22m[39m
|
|
535
|
+
π¦ Installing dependencies with npm...
|
|
536
|
+
β Lockfile created (package-lock.json) - remember to commit it
|
|
412
537
|
|
|
413
|
-
|
|
414
|
-
β Created Cloudflare MCP-I template files
|
|
538
|
+
[90mstdout[2m | src/__tests__/e2e/scaffolder-dependency-verification.test.ts[2m > [22m[2mScaffolder Dependency Verification E2E[2m > [22m[2mNo Workspace References[2m > [22m[2mshould not include workspace: references in scaffolded package.json
|
|
539
|
+
[22m[39mβ Created Cloudflare MCP-I template files
|
|
415
540
|
- Generated identity keys in .dev.vars
|
|
416
541
|
- Configured wrangler.toml with KV namespaces (auto-provisioned)
|
|
417
542
|
- Created modular tool structure
|
|
@@ -439,147 +564,223 @@ stdout | src/__tests__/e2e/scaffolder-dependency-verification.test.ts > Scaffold
|
|
|
439
564
|
npm run deploy # Deploy (KV auto-created!)
|
|
440
565
|
|
|
441
566
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
create-mcpi-app@1.9.10
|
|
446
|
-
|
|
447
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
|
|
448
|
-
BANNER
|
|
449
|
-
|
|
450
|
-
Enhanced with identity features by MCP-I
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > passes CLI flags to createProject when using --yes
|
|
454
|
-
|
|
455
|
-
Next Steps:
|
|
456
|
-
1. Install dependencies:
|
|
457
|
-
cd my-agent
|
|
458
|
-
npm install
|
|
459
|
-
|
|
460
|
-
2. Start development server:
|
|
461
|
-
npm run dev
|
|
462
|
-
|
|
463
|
-
3. Deploy when ready:
|
|
464
|
-
npm run start
|
|
465
|
-
|
|
466
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
|
|
467
|
-
|
|
468
|
-
create-mcpi-app@1.9.10
|
|
469
|
-
|
|
470
|
-
stderr | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
|
|
471
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > exits when project name validation fails
|
|
472
|
-
BANNER
|
|
473
|
-
|
|
474
|
-
Enhanced with identity features by MCP-I
|
|
475
|
-
|
|
476
|
-
Invalid project name:
|
|
477
|
-
|
|
478
|
-
- bad
|
|
479
|
-
|
|
480
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
|
|
481
|
-
|
|
482
|
-
create-mcpi-app@1.9.10
|
|
483
|
-
|
|
484
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
|
|
485
|
-
BANNER
|
|
486
|
-
|
|
487
|
-
Enhanced with identity features by MCP-I
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > honors package manager and version flags
|
|
491
|
-
|
|
492
|
-
Next Steps:
|
|
493
|
-
1. Install dependencies:
|
|
494
|
-
cd pnpm-agent
|
|
495
|
-
pnpm install
|
|
496
|
-
|
|
497
|
-
2. Initialize identity:
|
|
498
|
-
pnpm init
|
|
499
|
-
|
|
500
|
-
3. Start development server:
|
|
501
|
-
pnpm dev
|
|
502
|
-
|
|
503
|
-
4. Deploy when ready:
|
|
504
|
-
pnpm start
|
|
505
|
-
|
|
506
|
-
stdout | src/__tests__/cli-runner.test.ts > runCLI > prompts for package manager and transports when --yes is not set
|
|
567
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mInstall progress reporting[2m > [22m[2mshould report correct package manager in log
|
|
568
|
+
[22m[39mβ οΈ Warning: No lockfile generated (pnpm-lock.yaml)
|
|
507
569
|
|
|
508
|
-
|
|
570
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould throw error when installation fails
|
|
571
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mInstall progress reporting[2m > [22m[2mshould check for lockfile after installation
|
|
572
|
+
[22m[39m
|
|
573
|
+
π¦ Installing dependencies with npm...
|
|
574
|
+
[22m[39mFailed to install dependencies with npm.
|
|
509
575
|
|
|
510
|
-
|
|
511
|
-
BANNER
|
|
576
|
+
β Lockfile created (package-lock.json) - remember to commit it
|
|
512
577
|
|
|
513
|
-
|
|
578
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle network errors during installation
|
|
579
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould throw error when installation fails
|
|
580
|
+
[22m[39m
|
|
581
|
+
π¦ Installing dependencies with npm...
|
|
514
582
|
|
|
583
|
+
[22m[39mFailed to install dependencies with npm.
|
|
584
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle network errors during installation
|
|
515
585
|
|
|
516
|
-
|
|
586
|
+
[22m[39m
|
|
587
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle permission errors during installation
|
|
588
|
+
π¦ Installing dependencies with npm...
|
|
517
589
|
|
|
518
|
-
|
|
590
|
+
[22m[39mFailed to install dependencies with npm.
|
|
591
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle permission errors during installation
|
|
592
|
+
[22m[39m
|
|
593
|
+
π¦ Installing dependencies with npm...
|
|
519
594
|
|
|
520
595
|
|
|
521
|
-
|
|
596
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould log error message when installation fails
|
|
597
|
+
[22m[39m
|
|
598
|
+
π¦ Installing dependencies with npm...
|
|
522
599
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
600
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
601
|
+
[22m[39m
|
|
602
|
+
[90mstderr[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mError handling[2m > [22m[2mshould handle invalid package manager gracefully
|
|
603
|
+
[22m[39mβ οΈ Warning: Unknown package manager "unknown", cannot check lockfile
|
|
604
|
+
π¦ Installing dependencies with unknown...
|
|
527
605
|
|
|
528
|
-
2. Start development server:
|
|
529
|
-
pnpm dev
|
|
530
606
|
|
|
531
|
-
|
|
532
|
-
|
|
607
|
+
[32mβ[39m src/__tests__/e2e/scaffolder-dependency-verification.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 10808[2mms[22m[39m
|
|
608
|
+
[33m[2mβ[22m[39m should scaffold with correct @kya-os/mcp-i-cloudflare version [33m 4012[2mms[22m[39m
|
|
609
|
+
[33m[2mβ[22m[39m should include AGENTSHIELD_PROJECT_ID in wrangler.toml template [33m 1640[2mms[22m[39m
|
|
610
|
+
[33m[2mβ[22m[39m should set AGENTSHIELD_PROJECT_ID when --project is provided [33m 1832[2mms[22m[39m
|
|
611
|
+
[33m[2mβ[22m[39m should comment out AGENTSHIELD_PROJECT_ID when --project is NOT provided [33m 1653[2mms[22m[39m
|
|
612
|
+
[33m[2mβ[22m[39m should pass AGENTSHIELD_PROJECT_ID to runtime config [33m 912[2mms[22m[39m
|
|
613
|
+
[33m[2mβ[22m[39m should use dynamic version for dependency and expectedVersion [33m 402[2mms[22m[39m
|
|
614
|
+
[33m[2mβ[22m[39m should not include workspace: references in scaffolded package.json [33m 354[2mms[22m[39m
|
|
615
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when lockfile not created
|
|
616
|
+
[22m[39m
|
|
617
|
+
π¦ Installing dependencies with npm...
|
|
533
618
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
β src/__tests__/helpers/create.test.ts (13 tests) 581ms
|
|
538
|
-
β should pass apikey to Cloudflare template 416ms
|
|
539
|
-
β src/__tests__/helpers/get-package-versions.test.ts (6 tests) 648ms
|
|
540
|
-
β should return versions from actual package.json 360ms
|
|
541
|
-
β src/__tests__/helpers/apply-identity-preset.test.ts (16 tests) 1362ms
|
|
542
|
-
β should throw error when package.json does not exist 402ms
|
|
543
|
-
β src/__tests__/utils/is-folder-empty.test.ts (21 tests) 30ms
|
|
544
|
-
β src/__tests__/helpers/fetch-mcpi-template.test.ts (16 tests) 289ms
|
|
545
|
-
β test-cloudflare/tests/do-routing.test.ts (14 tests) 286ms
|
|
546
|
-
β src/__tests__/utils/check-node.test.ts (7 tests) 9ms
|
|
547
|
-
β src/__tests__/helpers/generate-identity.test.ts (24 tests) 116ms
|
|
548
|
-
β src/__tests__/helpers/copy-template.test.ts (11 tests) 165ms
|
|
549
|
-
β src/__tests__/helpers/kta-registration.test.ts (8 tests) 42ms
|
|
550
|
-
β src/__tests__/helpers/fetch-cloudflare-template.test.ts (4 tests) 534ms
|
|
551
|
-
stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
|
|
552
|
-
[Session] Created session: secure-session
|
|
553
|
-
|
|
554
|
-
β src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 2224ms
|
|
555
|
-
β should have matching DO class name in agent.ts and index.ts 427ms
|
|
556
|
-
β should handle invalid project names 333ms
|
|
557
|
-
β src/__tests__/helpers/generate-cloudflare-files.test.ts (26 tests | 1 skipped) 606ms
|
|
558
|
-
β should generate unique DID for each call (without skipIdentity) 517ms
|
|
559
|
-
stderr | src/__tests__/helpers/fetch-xmcp-template.test.ts > fetchXMCPTemplate > falls back to default when next channel is unavailable
|
|
560
|
-
β οΈ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
|
|
561
|
-
|
|
562
|
-
β src/__tests__/helpers/fetch-xmcp-template.test.ts (3 tests) 21ms
|
|
563
|
-
β src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (25 tests) 2255ms
|
|
564
|
-
β should handle different package managers 349ms
|
|
565
|
-
β should handle template generation without overwriting existing files incorrectly 488ms
|
|
566
|
-
β should skip identity generation when skipIdentity is true 496ms
|
|
567
|
-
β test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
|
|
568
|
-
β src/__tests__/effects/index.test.ts (5 tests) 5ms
|
|
569
|
-
β test-cloudflare/tests/session-management.test.ts (17 tests) 14ms
|
|
570
|
-
β src/helpers/__tests__/generate-cloudflare-files.spec.ts (28 tests) 50ms
|
|
571
|
-
β src/__tests__/utils/validate-project-name.test.ts (29 tests) 37ms
|
|
572
|
-
β test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 35ms
|
|
573
|
-
β src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 6ms
|
|
574
|
-
β src/__tests__/helpers/rename.test.ts (6 tests) 340ms
|
|
575
|
-
β test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
|
|
576
|
-
stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
|
|
577
|
-
[RemoteConfig] Neither projectId nor agentDid provided
|
|
578
|
-
|
|
579
|
-
β src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
|
|
580
|
-
|
|
581
|
-
Test Files 34 passed (34)
|
|
582
|
-
Tests 501 passed | 3 skipped (504)
|
|
583
|
-
Start at 15:01:58
|
|
584
|
-
Duration 4.25s (transform 2.99s, setup 0ms, import 9.58s, tests 11.52s, environment 3ms)
|
|
619
|
+
[90mstdout[2m | src/__tests__/helpers/install.test.ts[2m > [22m[2minstall[2m > [22m[2mLockfile validation[2m > [22m[2mshould warn when package manager lockfile cannot be determined
|
|
620
|
+
[22m[39m
|
|
621
|
+
π¦ Installing dependencies with custom...
|
|
585
622
|
|
|
623
|
+
[32mβ[39m src/__tests__/helpers/install.test.ts [2m([22m[2m21 tests[22m[2m)[22m[33m 1637[2mms[22m[39m
|
|
624
|
+
[33m[2mβ[22m[39m should detect yarn from yarn.lock [33m 470[2mms[22m[39m
|
|
625
|
+
(node:27423) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
626
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
627
|
+
[90mstdout[2m | test-cloudflare/tests/session-management.test.ts[2m > [22m[2mSession Management[2m > [22m[2mSession Security[2m > [22m[2mshould not expose session data in logs
|
|
628
|
+
[22m[39m[Session] Created session: secure-session
|
|
629
|
+
|
|
630
|
+
[32mβ[39m test-cloudflare/tests/session-management.test.ts [2m([22m[2m17 tests[22m[2m)[22m[33m 805[2mms[22m[39m
|
|
631
|
+
[33m[2mβ[22m[39m should read MCP session ID from Claude Desktop headers [33m 535[2mms[22m[39m
|
|
632
|
+
[32mβ[39m src/__tests__/utils/is-folder-empty.test.ts [2m([22m[2m21 tests[22m[2m)[22m[33m 390[2mms[22m[39m
|
|
633
|
+
[32mβ[39m src/__tests__/helpers/get-package-versions.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 910[2mms[22m[39m
|
|
634
|
+
[33m[2mβ[22m[39m should return fresh versions after cache clear [33m 544[2mms[22m[39m
|
|
635
|
+
[32mβ[39m src/__tests__/helpers/apply-identity-preset.test.ts [2m([22m[2m16 tests[22m[2m)[22m[33m 13679[2mms[22m[39m
|
|
636
|
+
[33m[2mβ[22m[39m should return early when noIdentity is true [33m 643[2mms[22m[39m
|
|
637
|
+
[33m[2mβ[22m[39m should enhance existing tools when tools directory exists with files [33m 1906[2mms[22m[39m
|
|
638
|
+
[33m[2mβ[22m[39m should create hello tool when tools directory exists but is empty [33m 2123[2mms[22m[39m
|
|
639
|
+
[33m[2mβ[22m[39m should create tools directory and hello tool when tools directory does not exist [33m 794[2mms[22m[39m
|
|
640
|
+
[33m[2mβ[22m[39m should update index.ts with hello export [33m 882[2mms[22m[39m
|
|
641
|
+
[33m[2mβ[22m[39m should not duplicate hello export in index.ts [33m 2038[2mms[22m[39m
|
|
642
|
+
[33m[2mβ[22m[39m should handle tool file with 'hello' in content without false positive [33m 766[2mms[22m[39m
|
|
643
|
+
[33m[2mβ[22m[39m should add identity dependencies with published versions [33m 775[2mms[22m[39m
|
|
644
|
+
[33m[2mβ[22m[39m should use workspace dependencies when MCPI_USE_WORKSPACE is true [33m 721[2mms[22m[39m
|
|
645
|
+
[33m[2mβ[22m[39m should append to existing .gitignore without duplicates [33m 371[2mms[22m[39m
|
|
646
|
+
[33m[2mβ[22m[39m should create .mcpi directory [33m 573[2mms[22m[39m
|
|
647
|
+
[33m[2mβ[22m[39m should throw error when package.json does not exist [33m 561[2mms[22m[39m
|
|
648
|
+
[33m[2mβ[22m[39m should handle getPackageVersions failure gracefully [33m 507[2mms[22m[39m
|
|
649
|
+
[33m[2mβ[22m[39m should log progress messages when applying preset [33m 637[2mms[22m[39m
|
|
650
|
+
(node:27446) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
|
|
651
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
652
|
+
[32mβ[39m src/__tests__/helpers/kta-registration.test.ts [2m([22m[2m8 tests[22m[2m)[22m[33m 1159[2mms[22m[39m
|
|
653
|
+
[33m[2mβ[22m[39m should call cli-register endpoint with correct payload [33m 871[2mms[22m[39m
|
|
654
|
+
[32mβ[39m src/__tests__/helpers/identity-manager.test.ts [2m([22m[2m16 tests[22m[2m)[22m[33m 1241[2mms[22m[39m
|
|
655
|
+
[33m[2mβ[22m[39m should reset Cloudflare identity by removing variables from wrangler.toml [33m 381[2mms[22m[39m
|
|
656
|
+
[32mβ[39m src/helpers/__tests__/generate-cloudflare-files.spec.ts [2m([22m[2m28 tests[22m[2m)[22m[33m 872[2mms[22m[39m
|
|
657
|
+
[32mβ[39m src/__tests__/helpers/generate-cloudflare-files.test.ts [2m([22m[2m26 tests[22m[2m | [22m[33m1 skipped[39m[2m)[22m[33m 1685[2mms[22m[39m
|
|
658
|
+
[33m[2mβ[22m[39m should generate files that can be written to disk [33m 1405[2mms[22m[39m
|
|
659
|
+
[32mβ[39m src/__tests__/utils/check-node.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 981[2mms[22m[39m
|
|
660
|
+
[33m[2mβ[22m[39m should not exit for Node.js 20.x [33m 500[2mms[22m[39m
|
|
661
|
+
[33m[2mβ[22m[39m should exit for Node.js 16.x [33m 306[2mms[22m[39m
|
|
662
|
+
[90mstderr[2m | src/__tests__/helpers/fetch-xmcp-template.test.ts[2m > [22m[2mfetchXMCPTemplate[2m > [22m[2mfalls back to default when next channel is unavailable
|
|
663
|
+
[22m[39mβ οΈ dist-tag 'next' not available for xmcp, falling back to ^0.3.1
|
|
664
|
+
|
|
665
|
+
[32mβ[39m src/__tests__/helpers/fetch-xmcp-template.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m 705[2mms[22m[39m
|
|
666
|
+
[33m[2mβ[22m[39m creates minimal XMCP template structure [33m 490[2mms[22m[39m
|
|
667
|
+
[32mβ[39m src/__tests__/utils/validate-project-name.test.ts [2m([22m[2m29 tests[22m[2m)[22m[33m 401[2mms[22m[39m
|
|
668
|
+
[32mβ[39m test-cloudflare/tests/cache-invalidation.test.ts [2m([22m[2m18 tests[22m[2m)[22m[33m 853[2mms[22m[39m
|
|
669
|
+
[32mβ[39m src/__tests__/helpers/rename.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 979[2mms[22m[39m
|
|
670
|
+
[32mβ[39m src/__tests__/helpers/fetch-cloudflare-template.test.ts [2m([22m[2m4 tests[22m[2m)[22m[33m 675[2mms[22m[39m
|
|
671
|
+
[32mβ[39m src/__tests__/effects/index.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 95[2mms[22m[39m
|
|
672
|
+
[32mβ[39m test-cloudflare/tests/delegation.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 125[2mms[22m[39m
|
|
673
|
+
[32mβ[39m src/utils/__tests__/fetch-remote-config.test.ts [2m([22m[2m9 tests[22m[2m)[22m[33m 404[2mms[22m[39m
|
|
674
|
+
[32mβ[39m test-cloudflare/tests/cors-security.test.ts [2m([22m[2m29 tests[22m[2m)[22m[32m 62[2mms[22m[39m
|
|
675
|
+
[90mstderr[2m | src/helpers/__tests__/config-builder.spec.ts[2m > [22m[2mbuildConfigWithRemote[2m > [22m[2mshould fallback to local config when remote fetch fails
|
|
676
|
+
[22m[39m[RemoteConfig] Neither projectId nor agentDid provided
|
|
677
|
+
|
|
678
|
+
[32mβ[39m src/helpers/__tests__/config-builder.spec.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 51[2mms[22m[39m
|
|
679
|
+
[32mβ[39m src/__tests__/cloudflare-template.test.ts [2m([22m[2m30 tests[22m[2m | [22m[33m2 skipped[39m[2m)[22m[33m 19811[2mms[22m[39m
|
|
680
|
+
[33m[2mβ[22m[39m should create all required files and directories [33m 4023[2mms[22m[39m
|
|
681
|
+
[33m[2mβ[22m[39m should create mcpi-runtime-config.ts with correct structure [33m 1249[2mms[22m[39m
|
|
682
|
+
[33m[2mβ[22m[39m should create index.ts with correct structure [33m 414[2mms[22m[39m
|
|
683
|
+
[33m[2mβ[22m[39m should export Durable Object class for Cloudflare Workers binding [33m 1879[2mms[22m[39m
|
|
684
|
+
[33m[2mβ[22m[39m should import Durable Object class from agent.ts [33m 889[2mms[22m[39m
|
|
685
|
+
[33m[2mβ[22m[39m should generate agent class with all required abstract methods [33m 694[2mms[22m[39m
|
|
686
|
+
[33m[2mβ[22m[39m should export Durable Object matching wrangler.toml class_name [33m 671[2mms[22m[39m
|
|
687
|
+
[33m[2mβ[22m[39m should include MCP_SERVER_URL placeholder in wrangler.toml [33m 557[2mms[22m[39m
|
|
688
|
+
[33m[2mβ[22m[39m should handle MCP_SERVER_URL configuration [33m 890[2mms[22m[39m
|
|
689
|
+
[33m[2mβ[22m[39m should use simplified agent class structure [33m 474[2mms[22m[39m
|
|
690
|
+
[33m[2mβ[22m[39m should include all required KV namespace bindings in wrangler.toml [33m 336[2mms[22m[39m
|
|
691
|
+
[33m[2mβ[22m[39m should create KV namespace creation scripts in package.json [33m 794[2mms[22m[39m
|
|
692
|
+
[33m[2mβ[22m[39m should not include setup script (Wrangler v4 auto-provisions) [33m 444[2mms[22m[39m
|
|
693
|
+
[33m[2mβ[22m[39m should include correct imports in runtime config [33m 533[2mms[22m[39m
|
|
694
|
+
[33m[2mβ[22m[39m should conditionally enable tool protection KV when API key provided [33m 635[2mms[22m[39m
|
|
695
|
+
[33m[2mβ[22m[39m should comment out tool protection KV when no API key provided [33m 422[2mms[22m[39m
|
|
696
|
+
[33m[2mβ[22m[39m should generate identity when skipIdentity is false [33m 1567[2mms[22m[39m
|
|
697
|
+
[33m[2mβ[22m[39m should skip identity generation when skipIdentity is true [33m 724[2mms[22m[39m
|
|
698
|
+
[33m[2mβ[22m[39m should include identity variables in wrangler.toml [33m 595[2mms[22m[39m
|
|
699
|
+
[33m[2mβ[22m[39m should handle invalid project names [33m 518[2mms[22m[39m
|
|
700
|
+
[33m[2mβ[22m[39m should use correct package manager in scripts [33m 313[2mms[22m[39m
|
|
701
|
+
[32mβ[39m src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [2m([22m[2m25 tests[22m[2m)[22m[33m 18453[2mms[22m[39m
|
|
702
|
+
[33m[2mβ[22m[39m should fetch and generate template successfully [33m 2305[2mms[22m[39m
|
|
703
|
+
[33m[2mβ[22m[39m should use default project name from path when not provided [33m 926[2mms[22m[39m
|
|
704
|
+
[33m[2mβ[22m[39m should handle different package managers [33m 3602[2mms[22m[39m
|
|
705
|
+
[33m[2mβ[22m[39m should generate template with correct project structure [33m 1192[2mms[22m[39m
|
|
706
|
+
[33m[2mβ[22m[39m should generate consistent template structure on multiple calls [33m 468[2mms[22m[39m
|
|
707
|
+
[33m[2mβ[22m[39m should handle template generation without overwriting existing files incorrectly [33m 713[2mms[22m[39m
|
|
708
|
+
[33m[2mβ[22m[39m should transform project name to valid class name [33m 781[2mms[22m[39m
|
|
709
|
+
[33m[2mβ[22m[39m should handle special characters in project name [33m 945[2mms[22m[39m
|
|
710
|
+
[33m[2mβ[22m[39m should handle numeric project names [33m 455[2mms[22m[39m
|
|
711
|
+
[33m[2mβ[22m[39m should handle project names with only dots [33m 443[2mms[22m[39m
|
|
712
|
+
[33m[2mβ[22m[39m should transform KV namespace bindings correctly [33m 802[2mms[22m[39m
|
|
713
|
+
[33m[2mβ[22m[39m should transform package.json scripts correctly [33m 700[2mms[22m[39m
|
|
714
|
+
[33m[2mβ[22m[39m should transform index.ts class name correctly [33m 1084[2mms[22m[39m
|
|
715
|
+
[33m[2mβ[22m[39m should include API key in .dev.vars when provided [33m 814[2mms[22m[39m
|
|
716
|
+
[33m[2mβ[22m[39m should handle missing API key gracefully [33m 648[2mms[22m[39m
|
|
717
|
+
[33m[2mβ[22m[39m should skip identity generation when skipIdentity is true [33m 706[2mms[22m[39m
|
|
718
|
+
[33m[2mβ[22m[39m should include valid JSON in KTA_REGISTRATION when registered [33m 405[2mms[22m[39m
|
|
719
|
+
|
|
720
|
+
[31mβ―β―β―β―β―β―β―[39m[1m[41m Failed Tests 4 [49m[22m[31mβ―β―β―β―β―β―β―[39m
|
|
721
|
+
|
|
722
|
+
[41m[1m FAIL [22m[49m src/__tests__/cli-runner.test.ts[2m > [22mrunCLI[2m > [22mpasses CLI flags to createProject when using --yes
|
|
723
|
+
[31m[1mError[22m: Test timed out in 5000ms.
|
|
724
|
+
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".[39m
|
|
725
|
+
[36m [2mβ―[22m src/__tests__/cli-runner.test.ts:[2m82:3[22m[39m
|
|
726
|
+
[90m 80| [39m }
|
|
727
|
+
[90m 81| [39m
|
|
728
|
+
[90m 82| [39m it("passes CLI flags to createProject when using --yes", async () =>β¦
|
|
729
|
+
[90m | [39m [31m^[39m
|
|
730
|
+
[90m 83| [39m mockCreateProject[33m.[39m[34mmockResolvedValue[39m({ success[33m:[39m [35mtrue[39m })[33m;[39m
|
|
731
|
+
[90m 84| [39m mockCreateKYAOSBanner[33m.[39m[34mmockResolvedValue[39m([32m"BANNER"[39m)[33m;[39m
|
|
732
|
+
|
|
733
|
+
[31m[2mβ―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―[1/4]β―[22m[39m
|
|
734
|
+
|
|
735
|
+
[41m[1m FAIL [22m[49m src/__tests__/cli-runner.test.ts[2m > [22mrunCLI[2m > [22mexits when project name validation fails
|
|
736
|
+
[31m[1mAssertionError[22m: promise resolved "undefined" instead of rejecting[39m
|
|
737
|
+
|
|
738
|
+
[32m- Expected:[39m
|
|
739
|
+
Error {
|
|
740
|
+
"message": "rejected promise",
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
[31m+ Received:[39m
|
|
744
|
+
undefined
|
|
745
|
+
|
|
746
|
+
[36m [2mβ―[22m src/__tests__/cli-runner.test.ts:[2m126:30[22m[39m
|
|
747
|
+
[90m124| [39m [35mconst[39m args [33m=[39m [[32m"node"[39m[33m,[39m [32m"create-mcpi-app"[39m[33m,[39m [32m"bad-app"[39m[33m,[39m [32m"--yes"[39m][33m;[39m
|
|
748
|
+
[90m125| [39m
|
|
749
|
+
[90m126| [39m [35mawait[39m [34mexpect[39m([34mrunCLI[39m(args))[33m.[39mrejects[33m.[39m[34mtoThrow[39m([32m"process.exit called"[39m)[33m;[39m
|
|
750
|
+
[90m | [39m [31m^[39m
|
|
751
|
+
[90m127| [39m [34mexpect[39m(mockCreateProject)[33m.[39mnot[33m.[39m[34mtoHaveBeenCalled[39m()[33m;[39m
|
|
752
|
+
[90m128| [39m })[33m;[39m
|
|
753
|
+
|
|
754
|
+
[31m[2mβ―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―[2/4]β―[22m[39m
|
|
755
|
+
|
|
756
|
+
[41m[1m FAIL [22m[49m test-cloudflare/tests/do-routing.test.ts[2m > [22mDurable Object Multi-Instance Routing[2m > [22mPerformance Characteristics[2m > [22msession routing should have O(1) complexity
|
|
757
|
+
[31m[1mAssertionError[22m: expected 2279.717041 to be less than 600[39m
|
|
758
|
+
[36m [2mβ―[22m test-cloudflare/tests/do-routing.test.ts:[2m229:24[22m[39m
|
|
759
|
+
[90m227| [39m
|
|
760
|
+
[90m228| [39m // Should complete 10k operations in < 600ms (relaxed for CI envβ¦
|
|
761
|
+
[90m229| [39m [34mexpect[39m(duration)[33m.[39m[34mtoBeLessThan[39m([34m600[39m)[33m;[39m
|
|
762
|
+
[90m | [39m [31m^[39m
|
|
763
|
+
[90m230| [39m })[33m;[39m
|
|
764
|
+
[90m231| [39m
|
|
765
|
+
|
|
766
|
+
[31m[2mβ―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―[3/4]β―[22m[39m
|
|
767
|
+
|
|
768
|
+
[41m[1m FAIL [22m[49m test-cloudflare/tests/do-routing.test.ts[2m > [22mDurable Object Multi-Instance Routing[2m > [22mPerformance Characteristics[2m > [22mshard routing should have O(n) complexity for hash
|
|
769
|
+
[31m[1mAssertionError[22m: expected 685.3002509999988 to be less than 500[39m
|
|
770
|
+
[36m [2mβ―[22m test-cloudflare/tests/do-routing.test.ts:[2m266:44[22m[39m
|
|
771
|
+
[90m264| [39m // Both operations should complete in reasonable time (< 500ms tβ¦
|
|
772
|
+
[90m265| [39m // Higher threshold accounts for CI environment variability and β¦
|
|
773
|
+
[90m266| [39m [34mexpect[39m(longDuration [33m+[39m shortDuration)[33m.[39m[34mtoBeLessThan[39m([34m500[39m)[33m;[39m
|
|
774
|
+
[90m | [39m [31m^[39m
|
|
775
|
+
[90m267| [39m })[33m;[39m
|
|
776
|
+
[90m268| [39m })[33m;[39m
|
|
777
|
+
|
|
778
|
+
[31m[2mβ―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―[4/4]β―[22m[39m
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
[2m Test Files [22m [1m[31m2 failed[39m[22m[2m | [22m[1m[32m32 passed[39m[22m[90m (34)[39m
|
|
782
|
+
[2m Tests [22m [1m[31m4 failed[39m[22m[2m | [22m[1m[32m497 passed[39m[22m[2m | [22m[33m3 skipped[39m[90m (504)[39m
|
|
783
|
+
[2m Start at [22m 19:08:38
|
|
784
|
+
[2m Duration [22m 36.47s[2m (transform 61.36s, setup 0ms, import 109.98s, tests 146.93s, environment 102ms)[22m
|
|
785
|
+
|
|
786
|
+
βELIFECYCLEβ Test failed. See above for more details.
|
|
@@ -64,10 +64,10 @@ export async function getPackageVersions() {
|
|
|
64
64
|
const deps = packageJson.dependencies || {};
|
|
65
65
|
// Extract and normalize versions
|
|
66
66
|
cachedVersions = {
|
|
67
|
-
"@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.
|
|
68
|
-
"@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.
|
|
69
|
-
"@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.
|
|
70
|
-
"@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.
|
|
67
|
+
"@kya-os/mcp-i": normalizeVersion(deps["@kya-os/mcp-i"] || "^1.7.7"),
|
|
68
|
+
"@kya-os/cli": normalizeVersion(deps["@kya-os/cli"] || "^1.5.6"),
|
|
69
|
+
"@kya-os/mcp-i-cloudflare": normalizeVersion(deps["@kya-os/mcp-i-cloudflare"] || "^1.7.17"),
|
|
70
|
+
"@kya-os/contracts": normalizeVersion(deps["@kya-os/contracts"] || "^1.7.12"),
|
|
71
71
|
};
|
|
72
72
|
return cachedVersions;
|
|
73
73
|
}
|
|
@@ -75,10 +75,10 @@ export async function getPackageVersions() {
|
|
|
75
75
|
// Fallback to safe default versions if package.json can't be read
|
|
76
76
|
console.warn("[getPackageVersions] Warning: Could not read package.json, using defaults");
|
|
77
77
|
return {
|
|
78
|
-
"@kya-os/mcp-i": "^1.7.
|
|
79
|
-
"@kya-os/cli": "^1.5.
|
|
80
|
-
"@kya-os/mcp-i-cloudflare": "^1.7.
|
|
81
|
-
"@kya-os/contracts": "^1.7.
|
|
78
|
+
"@kya-os/mcp-i": "^1.7.7",
|
|
79
|
+
"@kya-os/cli": "^1.5.6",
|
|
80
|
+
"@kya-os/mcp-i-cloudflare": "^1.7.17",
|
|
81
|
+
"@kya-os/contracts": "^1.7.12",
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/create-mcpi-app",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.13",
|
|
4
4
|
"description": "Scaffold a new MCP-I application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/helpers/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@kya-os/cli-effects": "^1.0.19",
|
|
37
37
|
"@kya-os/contracts": "^1.7.12",
|
|
38
38
|
"@kya-os/mcp-i": "^1.7.7",
|
|
39
|
-
"@kya-os/mcp-i-cloudflare": "^1.7.
|
|
39
|
+
"@kya-os/mcp-i-cloudflare": "^1.7.17",
|
|
40
40
|
"base-x": "^5.0.0",
|
|
41
41
|
"chalk": "^4.1.2",
|
|
42
42
|
"commander": "^12.1.0",
|