@kya-os/create-mcpi-app 1.8.20 → 1.8.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.20 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.22 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,53 +1,40 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.17 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.21 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > vitest run
4
4
 
5
5
 
6
6
  RUN v4.0.14 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 4ms
9
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
10
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 5ms
8
11
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
9
12
  [Session] Created session: secure-session
10
13
 
11
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 13ms
12
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
13
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
14
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
14
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 16ms
15
15
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
16
16
  [RemoteConfig] Neither projectId nor agentDid provided
17
17
 
18
18
  ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
19
- test-cloudflare/tests/do-routing.test.ts (14 tests) 41ms
19
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 20ms
20
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 42ms
20
21
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
21
22
 
22
23
  🏗️ Generating Cloudflare MCP-I project: test-agent...
23
24
 
25
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
26
+ 🔑 Generating cryptographic identity...
27
+
24
28
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
25
29
 
26
30
  📦 Installing dependencies with npm...
27
31
  ✓ Lockfile created (package-lock.json) - remember to commit it
28
32
 
29
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
30
- 🔑 Generating cryptographic identity...
31
-
32
33
  stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
33
34
 
34
35
  📦 Installing dependencies with yarn...
35
36
  ✓ Lockfile created (yarn.lock) - remember to commit it
36
37
 
37
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
38
-
39
- 📦 Installing dependencies with pnpm...
40
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
41
-
42
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
43
-
44
- 📦 Installing dependencies with npm...
45
- ✓ Lockfile created (package-lock.json) - remember to commit it
46
-
47
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 40ms
48
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
49
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
50
-
51
38
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
52
39
  ✔ Created Cloudflare MCP-I template files
53
40
  - Generated identity keys in .dev.vars
@@ -74,11 +61,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
74
61
  🚀 Next Steps:
75
62
  cd test-agent
76
63
 
77
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
78
-
79
- 📦 Installing dependencies with npm...
80
- ✓ Lockfile created (package-lock.json) - remember to commit it
81
-
82
64
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
83
65
  wrangler login # Login to Cloudflare first!
84
66
  npm run setup # Create KV namespaces
@@ -86,44 +68,30 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
86
68
  npm run deploy # Deploy to Cloudflare
87
69
 
88
70
 
89
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
90
- Failed to install dependencies with npm.
91
-
92
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
71
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
93
72
 
94
- 📦 Installing dependencies with npm...
73
+ 📦 Installing dependencies with pnpm...
74
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
95
75
 
96
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
76
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
97
77
 
98
78
  📦 Installing dependencies with npm...
99
-
100
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
101
- Failed to install dependencies with npm.
79
+ ✓ Lockfile created (package-lock.json) - remember to commit it
102
80
 
103
81
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
104
82
 
105
83
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
106
84
 
107
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
108
-
109
- 📦 Installing dependencies with npm...
110
-
111
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
112
- Failed to install dependencies with npm.
113
-
114
85
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
115
86
  🔑 Generating cryptographic identity...
116
87
 
117
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
118
-
119
- 📦 Installing dependencies with npm...
120
-
121
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
88
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
89
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
122
90
 
123
- 📦 Installing dependencies with unknown...
91
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
124
92
 
125
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
126
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
93
+ 📦 Installing dependencies with npm...
94
+ Lockfile created (package-lock.json) - remember to commit it
127
95
 
128
96
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
129
97
  ✔ Created Cloudflare MCP-I template files
@@ -158,18 +126,48 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
158
126
  npm run deploy # Deploy to Cloudflare
159
127
 
160
128
 
161
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
129
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
130
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
131
+
132
+ 📦 Installing dependencies with npm...
133
+
134
+ Failed to install dependencies with npm.
135
+
136
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
137
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
162
138
 
163
139
  📦 Installing dependencies with npm...
164
140
 
165
- src/__tests__/helpers/install.test.ts (20 tests) 59ms
166
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 61ms
141
+ Failed to install dependencies with npm.
142
+
167
143
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
168
144
 
169
145
  🏗️ Generating Cloudflare MCP-I project: test-agent...
170
146
 
171
147
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
172
148
  🔑 Generating cryptographic identity...
149
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
150
+ Failed to install dependencies with npm.
151
+
152
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
153
+
154
+ 📦 Installing dependencies with npm...
155
+
156
+
157
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
158
+
159
+ 📦 Installing dependencies with npm...
160
+
161
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
162
+
163
+ 📦 Installing dependencies with unknown...
164
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
165
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
166
+
167
+
168
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
169
+
170
+ 📦 Installing dependencies with npm...
173
171
 
174
172
  ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
175
173
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
@@ -198,6 +196,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
198
196
  🚀 Next Steps:
199
197
  cd test-agent
200
198
 
199
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 50ms
201
200
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
202
201
  wrangler login # Login to Cloudflare first!
203
202
  npm run setup # Create KV namespaces
@@ -212,7 +211,8 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
212
211
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
213
212
  🔑 Generating cryptographic identity...
214
213
 
215
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 63ms
214
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 62ms
215
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 72ms
216
216
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
217
217
  ✔ Created Cloudflare MCP-I template files
218
218
  - Generated identity keys in .dev.vars
@@ -246,12 +246,12 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
246
246
  npm run deploy # Deploy to Cloudflare
247
247
 
248
248
 
249
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 65ms
250
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 143ms
249
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 66ms
250
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 151ms
251
251
  ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 184ms
252
252
 
253
253
  Test Files 14 passed (14)
254
254
  Tests 256 passed | 2 skipped (258)
255
- Start at 01:16:25
256
- Duration 389ms (transform 652ms, setup 0ms, import 920ms, tests 688ms, environment 1ms)
255
+ Start at 13:04:05
256
+ Duration 495ms (transform 712ms, setup 0ms, import 1.32s, tests 683ms, environment 1ms)
257
257
 
@@ -80,7 +80,7 @@ export async function fetchCloudflareMcpiTemplate(targetDir, options) {
80
80
  "kv:create-tool-protection": `wrangler kv:namespace create ${projectNameUpper}_${KV_BINDING_NAMES[4]}`,
81
81
  },
82
82
  dependencies: {
83
- "@kya-os/mcp-i-cloudflare": "1.6.19",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.21",
84
84
  "@modelcontextprotocol/sdk": "1.19.1",
85
85
  agents: "0.2.21",
86
86
  hono: "4.6.3",
@@ -657,7 +657,7 @@ dist
657
657
  await runCommand(packageManager, ["install"], targetDir);
658
658
  // 13a. Verify installed version matches expected version
659
659
  console.log(chalk.blue("\n🔍 Verifying package versions..."));
660
- const expectedVersion = "1.6.19";
660
+ const expectedVersion = "1.6.21";
661
661
  try {
662
662
  const installedPackagePath = path.join(targetDir, "node_modules", "@kya-os", "mcp-i-cloudflare", "package.json");
663
663
  if (fs.existsSync(installedPackagePath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.8.20",
3
+ "version": "1.8.22",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "bin": {
6
6
  "create-mcpi-app": "./dist/index.js"
@@ -18,7 +18,7 @@
18
18
  "@kya-os/cli-effects": "^1.0.19",
19
19
  "@kya-os/contracts": "^1.6.1",
20
20
  "@kya-os/mcp-i": "^1.6.1",
21
- "@kya-os/mcp-i-cloudflare": "^1.6.19",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.21",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",