@kya-os/create-mcpi-app 1.7.40-canary.28 → 1.7.40

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.7.15 build /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
3
- > tsc --build && chmod +x dist/index.js
2
+ > @kya-os/create-mcpi-app@1.7.39-canary.24 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
+ > tsc && chmod +x dist/index.js
4
4
 
@@ -1,216 +1,331 @@
1
-
2
- > @kya-os/create-mcpi-app@1.7.39-canary.24 test:coverage /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
3
- > vitest --run --coverage
4
-
5
- ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
6
-
7
- package.json:15:6:
8
- 15 │ "types": "./dist/index.d.ts"
9
- ~~~~~~~
10
-
11
- The "import" condition comes earlier and will be used for all "import" statements:
12
-
13
- package.json:13:6:
14
- 13 │ "import": "./dist/index.js",
15
- ~~~~~~~~
16
-
17
- The "require" condition comes earlier and will be used for all "require" calls:
18
-
19
- package.json:14:6:
20
- 14 │ "require": "./dist/index.js",
21
- ~~~~~~~~~
22
-
23
- ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
24
-
25
- package.json:20:6:
26
- 20 │ "types": "./dist/helpers/config-builder.d.ts"
27
- ~~~~~~~
28
-
29
- The "import" condition comes earlier and will be used for all "import" statements:
30
-
31
- package.json:18:6:
32
- 18 │ "import": "./dist/helpers/config-builder.js",
33
- ~~~~~~~~
34
-
35
- The "require" condition comes earlier and will be used for all "require" calls:
36
-
37
- package.json:19:6:
38
- 19 │ "require": "./dist/helpers/config-builder.js",
39
- ~~~~~~~~~
40
-
41
-
42
- RUN v4.0.5 /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
43
- Coverage enabled with v8
44
-
45
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
46
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
47
- [RemoteConfig] API returned 404: Not Found
48
-
49
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
50
- [RemoteConfig] Failed to fetch config: Error: Network error
51
- at /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
52
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
53
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
54
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
55
- at new Promise (<anonymous>)
56
- at runWithTimeout (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
57
- at runTest (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
58
- at processTicksAndRejections (node:internal/process/task_queues:105:5)
59
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
60
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
61
-
62
- test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
63
- stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
64
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
65
- [RemoteConfig] Neither projectId nor agentDid provided
66
- [Session] Created session: secure-session
67
-
68
-
69
- stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
70
- [RemoteConfig] Cache read failed: Error: Cache error
71
- at /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
72
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
73
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
74
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
75
- at new Promise (<anonymous>)
76
- at runWithTimeout (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
77
- at runTest (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
78
- at processTicksAndRejections (node:internal/process/task_queues:105:5)
79
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
80
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
81
-
82
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
83
- src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 8ms
84
- test-cloudflare/tests/session-management.test.ts (17 tests) 15ms
85
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
86
-
87
- 📦 Installing dependencies with yarn...
88
- Lockfile created (yarn.lock) - remember to commit it
89
-
90
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
91
-
92
- 📦 Installing dependencies with pnpm...
93
- Lockfile created (pnpm-lock.yaml) - remember to commit it
94
-
95
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
96
-
97
- 📦 Installing dependencies with npm...
98
- Lockfile created (package-lock.json) - remember to commit it
99
-
100
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
101
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
102
-
103
- test-cloudflare/tests/do-routing.test.ts (14 tests) 107ms
104
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
105
-
106
- 📦 Installing dependencies with npm...
107
- Lockfile created (package-lock.json) - remember to commit it
108
-
109
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
110
-
111
- 📦 Installing dependencies with npm...
112
-
113
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
114
- Failed to install dependencies with npm.
115
-
116
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
117
-
118
- 📦 Installing dependencies with npm...
119
-
120
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
121
- Failed to install dependencies with npm.
122
-
123
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
124
-
125
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
126
- 📦 Installing dependencies with npm...
127
- Failed to install dependencies with npm.
128
-
129
-
130
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
131
-
132
- 📦 Installing dependencies with npm...
133
-
134
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
135
-
136
- 📦 Installing dependencies with unknown...
137
-
138
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
139
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
140
-
141
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
142
-
143
- 📦 Installing dependencies with npm...
144
-
145
- src/__tests__/helpers/install.test.ts (20 tests | 1 failed) 54ms
146
- ✓ should detect npm from package-lock.json 2ms
147
- should detect yarn from yarn.lock 1ms
148
- should detect pnpm from pnpm-lock.yaml 1ms
149
- should return null when no lockfile exists 0ms
150
- should prioritize pnpm over npm 5ms
151
- should prioritize yarn over npm 8ms
152
- × should install dependencies with npm 6ms
153
- should install dependencies with yarn 3ms
154
- ✓ should install dependencies with pnpm 2ms
155
- should use correct working directory 4ms
156
- should log installation start message 1ms
157
- ✓ should report correct package manager in log 9ms
158
- should check for lockfile after installation 1ms
159
- ✓ should throw error when installation fails 1ms
160
- should handle network errors during installation 2ms
161
- should handle permission errors during installation 1ms
162
- ✓ should log error message when installation fails 1ms
163
- should handle invalid package manager gracefully 1ms
164
- should validate npm lockfile after installation 2ms
165
- ✓ should warn when lockfile not created 1ms
166
- src/__tests__/helpers/generate-identity.test.ts (24 tests) 113ms
167
- src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 82ms
168
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 120ms
169
- src/__tests__/cloudflare-template.test.ts (24 tests) 347ms
170
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 269ms
171
-
172
- ⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯
173
-
174
- FAIL src/helpers/__tests__/config-builder.spec.ts [ src/helpers/__tests__/config-builder.spec.ts ]
175
- Error: Missing "./config" specifier in "@kya-os/contracts" package
176
- Plugin: vite:import-analysis
177
- File: /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/helpers/config-builder.ts:14:32
178
- 1 | import { buildBaseConfig } from "@kya-os/contracts/config";
179
- | ^
180
- 2 | export { buildBaseConfig };
181
- 3 | import {
182
- ❯ e ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:8823:8
183
- n ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:8835:14
184
- o ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:8863:10
185
- ❯ resolveExportsOrImports ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11869:45
186
- ❯ resolveDeepImport ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11883:22
187
- tryNodeResolve ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11758:70
188
- ResolveIdContext.handler ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:11597:16
189
- ❯ EnvironmentPluginContainer.resolveId ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:30825:56
190
- TransformPluginContext.resolve ../../node_modules/.pnpm/vite@7.1.12_@types+node@20.19.19_jiti@2.4.2_lightningcss@1.30.1_terser@5.43.1_tsx@4.20.4_yaml@2.8.0/node_modules/vite/dist/node/chunks/config.js:31036:13
191
-
192
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
193
-
194
-
195
- ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
196
-
197
- FAIL src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
198
- Error: ENOENT: no such file or directory, mkdir '/Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/test-temp/install-test-1762827503184-7jlm3'
199
- Object.module.exports.makeDirSync ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13
200
- ❯ src/__tests__/helpers/install.test.ts:105:8
201
- 103| beforeEach(() => {
202
- 104| tempDir = path.join(process.cwd(), 'test-temp', `install-test-${Da…
203
- 105| fs.ensureDirSync(tempDir);
204
- | ^
205
- 106|
206
- 107| // Create minimal package.json for installation
207
-
208
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
209
-
210
-
211
- Test Files 2 failed | 11 passed (13)
212
- Tests 1 failed | 235 passed (236)
213
- Start at 21:18:22
214
- Duration 923ms (transform 775ms, setup 0ms, collect 1.42s, tests 1.13s, environment 1ms, prepare 677ms)
215
-
216
-  ELIFECYCLE  Command failed with exit code 1.
1
+
2
+ 
3
+ > @kya-os/create-mcpi-app@1.7.39-canary.25 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
+ > vitest --run --coverage
5
+
6
+ [?25l▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
7
+
8
+ package.json:15:6:
9
+  15 │ "types": "./dist/index.d.ts"
10
+ ╵ ~~~~~~~
11
+
12
+ The "import" condition comes earlier and will be used for all "import" statements:
13
+
14
+ package.json:13:6:
15
+  13 │ "import": "./dist/index.js",
16
+ ╵ ~~~~~~~~
17
+
18
+ The "require" condition comes earlier and will be used for all "require" calls:
19
+
20
+ package.json:14:6:
21
+  14 │ "require": "./dist/index.js",
22
+ ╵ ~~~~~~~~~
23
+
24
+ ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
25
+
26
+ package.json:20:6:
27
+  20 │ "types": "./dist/helpers/config-builder.d.ts"
28
+ ╵ ~~~~~~~
29
+
30
+ The "import" condition comes earlier and will be used for all "import" statements:
31
+
32
+ package.json:18:6:
33
+  18 │ "import": "./dist/helpers/config-builder.js",
34
+ ╵ ~~~~~~~~
35
+
36
+ The "require" condition comes earlier and will be used for all "require" calls:
37
+
38
+ package.json:19:6:
39
+  19 │ "require": "./dist/helpers/config-builder.js",
40
+ ╵ ~~~~~~~~~
41
+
42
+
43
+  RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
44
+ Coverage enabled with v8
45
+
46
+ [?2026h
47
+  src/__tests__/helpers/generate-config.test.ts [queued]
48
+
49
+  Test Files 0 passed (13)
50
+  Tests 0 passed (0)
51
+  Start at 14:14:49
52
+  Duration 104ms
53
+ [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
54
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 6ms
55
+
56
+  src/__tests__/cloudflare-template.test.ts [queued]
57
+  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
58
+  src/__tests__/helpers/generate-config.test.ts [queued]
59
+  src/__tests__/helpers/generate-identity.test.ts [queued]
60
+  src/__tests__/helpers/install.test.ts [queued]
61
+  ❯ src/__tests__/helpers/validate-project-structure.test.ts 0/23
62
+  src/helpers/__tests__/config-builder.spec.ts [queued]
63
+  src/utils/__tests__/fetch-remote-config.test.ts [queued]
64
+  test-cloudflare/tests/cors-security.test.ts 1/29
65
+  test-cloudflare/tests/do-routing.test.ts 0/14
66
+  test-cloudflare/tests/session-management.test.ts 0/17
67
+
68
+  Test Files 2 passed (13)
69
+  Tests 31 passed (113)
70
+  Start at 14:14:49
71
+  Duration 203ms
72
+ [?2026l[?2026h ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
73
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
74
+ [Session] Created session: secure-session
75
+
76
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 22ms
77
+
78
+
79
+
80
+
81
+
82
+
83
+  src/__tests__/cloudflare-template.test.ts 1/24
84
+  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
85
+
86
+  Test Files 11 passed (13)
87
+  Tests 204 passed (248)
88
+  Start at 14:14:49
89
+  Duration 405ms
90
+ [?2026l[?2026hstderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
91
+ [RemoteConfig] API returned 404: Not Found
92
+
93
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
94
+ [RemoteConfig] Failed to fetch config: Error: Network error
95
+ at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
96
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
97
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
98
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
99
+ at new Promise (<anonymous>)
100
+ at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
101
+ at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
102
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
103
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
104
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
105
+
106
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
107
+ [RemoteConfig] Neither projectId nor agentDid provided
108
+
109
+ stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
110
+ [RemoteConfig] Cache read failed: Error: Cache error
111
+ at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
112
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
113
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
114
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
115
+ at new Promise (<anonymous>)
116
+ at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
117
+ at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
118
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
119
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
120
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
121
+
122
+
123
+  src/__tests__/cloudflare-template.test.ts 1/24
124
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
125
+
126
+  Test Files 11 passed (13)
127
+  Tests 204 passed (248)
128
+  Start at 14:14:49
129
+  Duration 405ms
130
+ [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 7ms
131
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 34ms
132
+
133
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
134
+  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
135
+
136
+  Test Files 11 passed (13)
137
+  Tests 204 passed (248)
138
+  Start at 14:14:49
139
+  Duration 405ms
140
+ [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
141
+ [RemoteConfig] Neither projectId nor agentDid provided
142
+
143
+
144
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
145
+ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
146
+
147
+  Test Files 11 passed (13)
148
+  Tests 204 passed (248)
149
+  Start at 14:14:49
150
+  Duration 405ms
151
+ [?2026l[?2026h ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
152
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 40ms
153
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
154
+ 
155
+ 📦 Installing dependencies with npm...
156
+ Lockfile created (package-lock.json) - remember to commit it
157
+
158
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
159
+ 
160
+ 📦 Installing dependencies with yarn...
161
+ Lockfile created (yarn.lock) - remember to commit it
162
+
163
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 97ms
164
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
165
+ 
166
+ 📦 Installing dependencies with pnpm...
167
+ Lockfile created (pnpm-lock.yaml) - remember to commit it
168
+
169
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
170
+ 
171
+ 📦 Installing dependencies with npm...
172
+ Lockfile created (package-lock.json) - remember to commit it
173
+
174
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 31ms
175
+
176
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
177
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
178
+
179
+  Test Files 11 passed (13)
180
+  Tests 204 passed (248)
181
+  Start at 14:14:49
182
+  Duration 405ms
183
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
184
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
185
+
186
+
187
+ src/__tests__/cloudflare-template.test.ts 1/24
188
+ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
189
+
190
+  Test Files 11 passed (13)
191
+  Tests 204 passed (248)
192
+  Start at 14:14:49
193
+  Duration 405ms
194
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
195
+ 
196
+ 📦 Installing dependencies with npm...
197
+ Lockfile created (package-lock.json) - remember to commit it
198
+
199
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
200
+ 
201
+ 📦 Installing dependencies with npm...
202
+
203
+
204
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
205
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
206
+
207
+  Test Files 11 passed (13)
208
+  Tests 204 passed (248)
209
+  Start at 14:14:49
210
+  Duration 405ms
211
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
212
+ Failed to install dependencies with npm.
213
+
214
+
215
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
216
+  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
217
+
218
+  Test Files 11 passed (13)
219
+  Tests 204 passed (248)
220
+  Start at 14:14:49
221
+  Duration 405ms
222
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
223
+ 
224
+ 📦 Installing dependencies with npm...
225
+
226
+
227
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
228
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
229
+
230
+  Test Files 11 passed (13)
231
+  Tests 204 passed (248)
232
+  Start at 14:14:49
233
+  Duration 405ms
234
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
235
+ Failed to install dependencies with npm.
236
+
237
+
238
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
239
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
240
+
241
+  Test Files 11 passed (13)
242
+  Tests 204 passed (248)
243
+  Start at 14:14:49
244
+  Duration 405ms
245
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
246
+ 
247
+ 📦 Installing dependencies with npm...
248
+
249
+
250
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
251
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
252
+
253
+  Test Files 11 passed (13)
254
+  Tests 204 passed (248)
255
+  Start at 14:14:49
256
+  Duration 405ms
257
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
258
+ Failed to install dependencies with npm.
259
+
260
+
261
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
262
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
263
+
264
+  Test Files 11 passed (13)
265
+  Tests 204 passed (248)
266
+  Start at 14:14:49
267
+  Duration 405ms
268
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
269
+ 
270
+ 📦 Installing dependencies with npm...
271
+
272
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
273
+ 
274
+ 📦 Installing dependencies with unknown...
275
+
276
+
277
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
278
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
279
+
280
+  Test Files 11 passed (13)
281
+  Tests 204 passed (248)
282
+  Start at 14:14:49
283
+  Duration 405ms
284
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
285
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
286
+
287
+
288
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
289
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
290
+
291
+  Test Files 11 passed (13)
292
+  Tests 204 passed (248)
293
+  Start at 14:14:49
294
+  Duration 405ms
295
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
296
+ 
297
+ 📦 Installing dependencies with npm...
298
+
299
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 26ms
300
+
301
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
302
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
303
+
304
+  Test Files 11 passed (13)
305
+  Tests 204 passed (248)
306
+  Start at 14:14:49
307
+  Duration 405ms
308
+ [?2026l ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 111ms
309
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 102ms
310
+
311
+  Test Files  13 passed (13)
312
+  Tests  248 passed (248)
313
+  Start at  14:14:49
314
+  Duration  452ms (transform 537ms, setup 0ms, collect 913ms, tests 489ms, environment 1ms, prepare 299ms)
315
+
316
+  % Coverage report from v8
317
+ ---------------------------------|---------|----------|---------|---------|-------------------
318
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
319
+ ---------------------------------|---------|----------|---------|---------|-------------------
320
+ All files  |  96.49 |  94.11 |  100 |  96.49 |  
321
+  helpers  |  97.29 |  95.12 |  100 |  97.29 |  
322
+  config-builder.ts  |  100 |  100 |  100 |  100 |  
323
+  ...cloudflare-mcpi-template.ts |  94.54 |  90.9 |  100 |  94.54 | 823,835,940-948 
324
+  generate-config.ts  |  100 |  100 |  100 |  100 |  
325
+  generate-identity.ts  |  100 |  100 |  100 |  100 |  
326
+  install.ts  |  100 |  100 |  100 |  100 |  
327
+  validate-project-structure.ts  |  100 |  100 |  100 |  100 |  
328
+  utils  |  91.42 |  90 |  100 |  91.42 |  
329
+  fetch-remote-config.ts  |  91.42 |  90 |  100 |  91.42 | 152-153,169 
330
+ ---------------------------------|---------|----------|---------|---------|-------------------
331
+ [?25h
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @kya-os/create-mcpi-app@1.7.39-canary.25 test /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
3
+ > @kya-os/create-mcpi-app@1.7.39-canary.24 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
4
4
  > vitest --run
5
5
 
6
6
  [?25l▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@@ -40,114 +40,81 @@
40
40
  ╵ ~~~~~~~~~
41
41
 
42
42
 
43
-  RUN  v4.0.5 /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app
43
+  RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
44
44
 
45
45
  [?2026h
46
-  ❯ test-cloudflare/tests/session-management.test.ts [queued]
46
+  ❯ src/__tests__/cloudflare-template.test.ts [queued]
47
47
 
48
48
   Test Files 0 passed (13)
49
49
   Tests 0 passed (0)
50
-  Start at 15:09:05
51
-  Duration 204ms
52
- [?2026l[?2026hstdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
50
+  Start at 00:36:03
51
+  Duration 101ms
52
+ [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
53
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
54
+ stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
53
55
  [Session] Created session: secure-session
54
56
 
57
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
55
58
  ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 13ms
56
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
57
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
58
59
 
59
60
   ❯ src/__tests__/cloudflare-template.test.ts [queued]
60
61
   ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts [queued]
61
62
   ❯ src/__tests__/helpers/generate-config.test.ts [queued]
62
-  ❯ src/__tests__/helpers/generate-identity.test.ts [queued]
63
+  ❯ src/__tests__/helpers/generate-identity.test.ts 0/24
63
64
   ❯ src/__tests__/helpers/install.test.ts [queued]
64
65
   ❯ src/__tests__/helpers/validate-project-structure.test.ts [queued]
65
66
   ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
66
-  ❯ src/utils/__tests__/fetch-remote-config.test.ts [queued]
67
-  ❯ test-cloudflare/tests/delegation.test.ts 0/12
67
+  ❯ src/utils/__tests__/fetch-remote-config.test.ts 0/9
68
68
   ❯ test-cloudflare/tests/do-routing.test.ts 0/14
69
69
 
70
-  Test Files 3 passed (13)
71
-  Tests 64 passed (90)
72
-  Start at 15:09:05
73
-  Duration 305ms
74
- [?2026l[?2026h ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 10ms
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
84
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
85
-
86
-  Test Files 11 passed (13)
87
-  Tests 204 passed (248)
88
-  Start at 15:09:05
89
-  Duration 405ms
70
+  Test Files 4 passed (13)
71
+  Tests 76 passed (123)
72
+  Start at 00:36:03
73
+  Duration 202ms
90
74
  [?2026l[?2026hstderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API request fails
91
75
  [RemoteConfig] API returned 404: Not Found
92
76
 
93
77
  stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if API throws error
94
78
  [RemoteConfig] Failed to fetch config: Error: Network error
95
- at /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
96
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
97
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
98
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
79
+ at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:173:35
80
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
81
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
82
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
99
83
  at new Promise (<anonymous>)
100
- at runWithTimeout (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
101
- at runTest (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
102
-  at processTicksAndRejections (node:internal/process/task_queues:105:5)
103
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
104
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
84
+ at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
85
+ at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
86
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
87
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
88
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
105
89
 
106
90
  stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should return null if neither projectId nor agentDid provided
107
91
  [RemoteConfig] Neither projectId nor agentDid provided
108
92
 
109
93
  stderr | src/utils/__tests__/fetch-remote-config.test.ts > fetchRemoteConfig > Error handling > should handle cache read errors gracefully
110
94
  [RemoteConfig] Cache read failed: Error: Cache error
111
- at /Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
112
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
113
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
114
- at file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
95
+ at /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/utils/__tests__/fetch-remote-config.test.ts:201:50
96
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:157:11
97
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:753:26
98
+ at file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1636:20
115
99
  at new Promise (<anonymous>)
116
- at runWithTimeout (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
117
- at runTest (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
118
-  at processTicksAndRejections (node:internal/process/task_queues:105:5)
119
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
120
- at runSuite (file:///Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
121
-
122
-
123
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
124
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
125
-
126
-  Test Files 11 passed (13)
127
-  Tests 204 passed (248)
128
-  Start at 15:09:05
129
-  Duration 405ms
130
- [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 9ms
131
-
132
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
133
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
134
-
135
-  Test Files 11 passed (13)
136
-  Tests 204 passed (248)
137
-  Start at 15:09:05
138
-  Duration 405ms
139
- [?2026l[?2026hstderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
140
- [RemoteConfig] Neither projectId nor agentDid provided
100
+ at runWithTimeout (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1602:10)
101
+ at runTest (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1309:12)
102
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
103
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
104
+ at runSuite (file:///Users/dylanhobbs/Documents/@kya-os/xmcp-i/node_modules/.pnpm/@vitest+runner@4.0.5/node_modules/@vitest/runner/dist/index.js:1468:8)
141
105
 
142
106
 
143
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
144
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
107
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
108
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
109
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
145
110
 
146
-  Test Files 11 passed (13)
147
-  Tests 204 passed (248)
148
-  Start at 15:09:05
149
-  Duration 405ms
150
- [?2026l[?2026h ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 6ms
111
+  Test Files 10 passed (13)
112
+  Tests 192 passed (236)
113
+  Start at 00:36:03
114
+  Duration 303ms
115
+ [?2026l[?2026h ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 6ms
116
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 39ms
117
+ ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 27ms
151
118
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
152
119
  
153
120
  📦 Installing dependencies with npm...
@@ -169,25 +136,27 @@
169
136
  ✓ Lockfile created (package-lock.json) - remember to commit it
170
137
 
171
138
 
172
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
173
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
139
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
140
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
141
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
174
142
 
175
-  Test Files 11 passed (13)
176
-  Tests 204 passed (248)
177
-  Start at 15:09:05
178
-  Duration 405ms
179
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
143
+  Test Files 10 passed (13)
144
+  Tests 192 passed (236)
145
+  Start at 00:36:03
146
+  Duration 303ms
147
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
180
148
  ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
181
149
 
182
150
 
183
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
184
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
151
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
152
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
153
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
185
154
 
186
-  Test Files 11 passed (13)
187
-  Tests 204 passed (248)
188
-  Start at 15:09:05
189
-  Duration 405ms
190
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
155
+  Test Files 10 passed (13)
156
+  Tests 192 passed (236)
157
+  Start at 00:36:03
158
+  Duration 303ms
159
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
191
160
  
192
161
  📦 Installing dependencies with npm...
193
162
  ✓ Lockfile created (package-lock.json) - remember to commit it
@@ -197,157 +166,143 @@
197
166
  📦 Installing dependencies with npm...
198
167
 
199
168
 
200
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
201
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
169
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
170
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
171
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
202
172
 
203
-  Test Files 11 passed (13)
204
-  Tests 204 passed (248)
205
-  Start at 15:09:05
206
-  Duration 405ms
207
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
173
+  Test Files 10 passed (13)
174
+  Tests 192 passed (236)
175
+  Start at 00:36:03
176
+  Duration 303ms
177
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
208
178
  Failed to install dependencies with npm.
209
179
 
210
180
 
211
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
212
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
181
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
182
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
183
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
213
184
 
214
-  Test Files 11 passed (13)
215
-  Tests 204 passed (248)
216
-  Start at 15:09:05
217
-  Duration 405ms
218
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
185
+  Test Files 10 passed (13)
186
+  Tests 192 passed (236)
187
+  Start at 00:36:03
188
+  Duration 303ms
189
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
219
190
  
220
191
  📦 Installing dependencies with npm...
221
192
 
222
193
 
223
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
224
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
194
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
195
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
196
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
225
197
 
226
-  Test Files 11 passed (13)
227
-  Tests 204 passed (248)
228
-  Start at 15:09:05
229
-  Duration 405ms
230
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
198
+  Test Files 10 passed (13)
199
+  Tests 192 passed (236)
200
+  Start at 00:36:03
201
+  Duration 303ms
202
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
231
203
  Failed to install dependencies with npm.
232
204
 
233
205
 
234
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
235
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
206
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
207
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
208
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
236
209
 
237
-  Test Files 11 passed (13)
238
-  Tests 204 passed (248)
239
-  Start at 15:09:05
240
-  Duration 405ms
241
- [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
210
+  Test Files 10 passed (13)
211
+  Tests 192 passed (236)
212
+  Start at 00:36:03
213
+  Duration 303ms
214
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
242
215
  
243
216
  📦 Installing dependencies with npm...
244
217
 
245
218
 
246
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
247
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
219
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
220
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
221
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
248
222
 
249
-  Test Files 11 passed (13)
250
-  Tests 204 passed (248)
251
-  Start at 15:09:05
252
-  Duration 405ms
253
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
223
+  Test Files 10 passed (13)
224
+  Tests 192 passed (236)
225
+  Start at 00:36:03
226
+  Duration 303ms
227
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
254
228
  Failed to install dependencies with npm.
255
229
 
256
230
 
257
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
258
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
231
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
232
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
233
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
259
234
 
260
-  Test Files 11 passed (13)
261
-  Tests 204 passed (248)
262
-  Start at 15:09:05
263
-  Duration 405ms
264
- [?2026l[?2026h ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 46ms
265
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
235
+  Test Files 10 passed (13)
236
+  Tests 192 passed (236)
237
+  Start at 00:36:03
238
+  Duration 303ms
239
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
266
240
  
267
241
  📦 Installing dependencies with npm...
268
242
 
243
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 42ms
269
244
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
270
245
  
271
246
  📦 Installing dependencies with unknown...
272
247
 
273
248
 
274
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
275
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
249
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
250
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
251
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
276
252
 
277
-  Test Files 11 passed (13)
278
-  Tests 204 passed (248)
279
-  Start at 15:09:05
280
-  Duration 405ms
281
- [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
253
+  Test Files 10 passed (13)
254
+  Tests 192 passed (236)
255
+  Start at 00:36:03
256
+  Duration 303ms
257
+ [?2026l[?2026hstderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
282
258
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
283
259
 
284
260
 
285
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
286
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
261
+  ❯ src/__tests__/cloudflare-template.test.ts 1/24
262
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
263
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
287
264
 
288
-  Test Files 11 passed (13)
289
-  Tests 204 passed (248)
290
-  Start at 15:09:05
291
-  Duration 405ms
292
- [?2026l[?2026h ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 76ms
293
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
265
+  Test Files 10 passed (13)
266
+  Tests 192 passed (236)
267
+  Start at 00:36:03
268
+  Duration 303ms
269
+ [?2026l[?2026hstdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
294
270
  
295
271
  📦 Installing dependencies with npm...
296
272
 
273
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 50ms
297
274
  ✓ src/__tests__/helpers/install.test.ts (20 tests) 35ms
298
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 47ms
299
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 52ms
300
-
301
-  ❯ src/__tests__/cloudflare-template.test.ts 0/24
302
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 1/21
303
-
304
-  Test Files 11 passed (13)
305
-  Tests 204 passed (248)
306
-  Start at 15:09:05
307
-  Duration 405ms
308
- [?2026l ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests | 1 failed) 112ms
309
- ✓ should fetch and generate template successfully 12ms
310
- ✓ should use default project name from path when not provided 10ms
311
- ✓ should handle different package managers 14ms
312
- ✓ should generate template with correct project structure 5ms
313
- ✓ should generate consistent template structure on multiple calls 10ms
314
- ✓ should handle template generation without overwriting existing files incorrectly 6ms
315
- ✓ should handle missing dependencies gracefully 1ms
316
- ✓ should handle permission errors gracefully 1ms
317
- ✓ should handle disk space errors (simulated) 2ms
318
- ✓ should transform project name to valid class name 5ms
319
- ✓ should handle special characters in project name 5ms
320
- ✓ should handle numeric project names 4ms
321
- ✓ should handle project names with only special characters 4ms
322
- ✓ should handle project names with only dots 4ms
323
- ✓ should transform KV namespace bindings correctly 5ms
324
- ✓ should transform package.json scripts correctly 4ms
325
- ✓ should transform index.ts class name correctly 6ms
326
- ✓ should include API key in .dev.vars when provided 4ms
327
- ✓ should handle missing API key gracefully 4ms
328
- ✓ should skip identity generation when skipIdentity is true 4ms
329
-  × should generate identity when skipIdentity is false 2ms
330
- ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 120ms
331
-
332
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
333
-
334
-  FAIL  src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts > fetchCloudflareMcpiTemplate > Skip identity option > should generate identity when skipIdentity is false
335
- Error: ENOENT: no such file or directory, mkdir '/Users/brian/Documents/@kya-os/modelcontextprotocol-identity/xmcp-i/packages/create-mcpi-app/test-temp/fetch-test-1762891745752-qfxt1v'
336
-  ❯ Object.module.exports.makeDirSync ../../node_modules/.pnpm/fs-extra@11.3.0/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13
337
-  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts:20:8
338
-  18|  beforeEach(() => {
339
-  19|  tempDir = path.join(process.cwd(), 'test-temp', `fetch-test-${Date.now()}-${Math.random().toString(36).substring(7)}`);
340
-  20|  fs.ensureDirSync(tempDir);
341
-  |  ^
342
-  21|  console.log = vi.fn();
343
-  22|  console.error = vi.fn();
344
-
345
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
275
+
276
+  src/__tests__/cloudflare-template.test.ts 1/24
277
+  ❯ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts 0/21
278
+  ❯ src/helpers/__tests__/config-builder.spec.ts [queued]
279
+
280
+  Test Files 10 passed (13)
281
+  Tests 192 passed (236)
282
+  Start at 00:36:03
283
+  Duration 303ms
284
+ [?2026l ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 119ms
285
+ ✓ src/__tests__/cloudflare-template.test.ts (24 tests) 130ms
286
+
287
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
288
+
289
+  FAIL  src/helpers/__tests__/config-builder.spec.ts [ src/helpers/__tests__/config-builder.spec.ts ]
290
+ Error: Cannot find package '@kya-os/contracts/config' imported from '/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/config-builder.ts'
291
+  ❯ src/helpers/config-builder.ts:14:1
292
+  12| 
293
+  13| // Import buildBaseConfig from contracts for local use and re-export
294
+  14| import { buildBaseConfig } from '@kya-os/contracts/config';
295
+  | ^
296
+  15| 
297
+  16| // Re-export buildBaseConfig for backward compatibility
298
+  ❯ src/helpers/__tests__/config-builder.spec.ts:9:1
299
+
300
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
346
301
 
347
302
 
348
303
   Test Files  1 failed | 12 passed (13)
349
-  Tests  1 failed | 247 passed (248)
350
-  Start at  15:09:05
351
-  Duration  526ms (transform 683ms, setup 0ms, collect 1.36s, tests 535ms, environment 1ms, prepare 81ms)
304
+  Tests  236 passed (236)
305
+  Start at  00:36:03
306
+  Duration  371ms (transform 698ms, setup 0ms, collect 920ms, tests 471ms, environment 1ms, prepare 43ms)
352
307
 
353
308
  [?25h ELIFECYCLE  Test failed. See above for more details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.7.40-canary.28",
3
+ "version": "1.7.40",
4
4
  "description": "Bootstrap MCP applications with identity features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "prepublishOnly": "npm run build && node scripts/validate-dependencies.js"
29
29
  },
30
30
  "dependencies": {
31
- "@kya-os/cli": "^1.3.4-canary.3",
31
+ "@kya-os/cli": "^1.3.4",
32
32
  "@kya-os/cli-effects": "^1.0.19",
33
33
  "base-x": "^5.0.0",
34
34
  "chalk": "^5.3.0",
@@ -38,8 +38,8 @@
38
38
  "node-fetch": "^3.3.2",
39
39
  "ora": "^8.0.1",
40
40
  "zod": "^3.25.76",
41
- "@kya-os/mcp-i": "^1.5.8-canary.0",
42
- "@kya-os/mcp-i-cloudflare": "^1.5.1-canary.0"
41
+ "@kya-os/mcp-i": "^1.5.8",
42
+ "@kya-os/mcp-i-cloudflare": "^1.5.1"
43
43
  },
44
44
  "_comment": {
45
45
  "node-fetch": "Required by @kya-os/cli-effects (transitive dependency). cli-effects imports node-fetch but doesn't declare it. TODO: Update cli-effects to declare node-fetch or use native fetch (Node 20+)."