@kya-os/create-mcpi-app 1.8.19 → 1.8.21

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.17 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.21 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,30 @@
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/cache-invalidation.test.ts (18 tests) 4ms
9
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 9ms
10
+ ✓ test-cloudflare/tests/delegation.test.ts (12 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
15
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
16
- [RemoteConfig] Neither projectId nor agentDid provided
17
-
18
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
19
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 41ms
14
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 43ms
15
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 29ms
16
+ ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 58ms
20
17
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
21
18
 
22
19
  🏗️ Generating Cloudflare MCP-I project: test-agent...
23
20
 
24
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
25
-
26
- 📦 Installing dependencies with npm...
27
- ✓ Lockfile created (package-lock.json) - remember to commit it
28
-
29
21
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
30
22
  🔑 Generating cryptographic identity...
31
23
 
32
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
33
-
34
- 📦 Installing dependencies with yarn...
35
- ✓ Lockfile created (yarn.lock) - remember to commit it
36
-
37
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
38
-
39
- 📦 Installing dependencies with pnpm...
40
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
41
-
42
- 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)
24
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
25
+ [RemoteConfig] Neither projectId nor agentDid provided
50
26
 
27
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 7ms
51
28
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
52
29
  ✔ Created Cloudflare MCP-I template files
53
30
  - Generated identity keys in .dev.vars
@@ -74,11 +51,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
74
51
  🚀 Next Steps:
75
52
  cd test-agent
76
53
 
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
54
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
83
55
  wrangler login # Login to Cloudflare first!
84
56
  npm run setup # Create KV namespaces
@@ -86,44 +58,64 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
86
58
  npm run deploy # Deploy to Cloudflare
87
59
 
88
60
 
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
61
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
93
62
 
94
63
  📦 Installing dependencies with npm...
64
+ ✓ Lockfile created (package-lock.json) - remember to commit it
95
65
 
96
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
97
-
98
- 📦 Installing dependencies with npm...
66
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
99
67
 
100
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
101
- Failed to install dependencies with npm.
68
+ 📦 Installing dependencies with yarn...
69
+ Lockfile created (yarn.lock) - remember to commit it
102
70
 
103
71
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
104
72
 
105
73
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
106
74
 
107
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
75
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
76
+
77
+ 📦 Installing dependencies with pnpm...
78
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
79
+
80
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
81
+ 🔑 Generating cryptographic identity...
82
+
83
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
108
84
 
109
85
  📦 Installing dependencies with npm...
86
+ ✓ Lockfile created (package-lock.json) - remember to commit it
110
87
 
111
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
88
+ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
89
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
90
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
91
+
92
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
93
+
94
+ 📦 Installing dependencies with npm...
95
+ ✓ Lockfile created (package-lock.json) - remember to commit it
96
+
97
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 73ms
98
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 65ms
99
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
100
+
101
+ 📦 Installing dependencies with npm...
102
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
112
103
  Failed to install dependencies with npm.
113
104
 
114
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
115
- 🔑 Generating cryptographic identity...
116
105
 
117
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
106
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
118
107
 
119
108
  📦 Installing dependencies with npm...
120
109
 
121
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
110
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
111
+ Failed to install dependencies with npm.
122
112
 
123
- 📦 Installing dependencies with unknown...
113
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
124
114
 
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
115
+ 📦 Installing dependencies with npm...
116
+
117
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
118
+ Failed to install dependencies with npm.
127
119
 
128
120
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
129
121
  ✔ Created Cloudflare MCP-I template files
@@ -158,12 +150,17 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
158
150
  npm run deploy # Deploy to Cloudflare
159
151
 
160
152
 
161
- stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
153
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
162
154
 
155
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
163
156
  📦 Installing dependencies with npm...
157
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
158
+
159
+
160
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
161
+
162
+ 📦 Installing dependencies with unknown...
164
163
 
165
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 59ms
166
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 61ms
167
164
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
168
165
 
169
166
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -171,7 +168,11 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
171
168
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
172
169
  🔑 Generating cryptographic identity...
173
170
 
174
- src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
171
+ stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
172
+
173
+ 📦 Installing dependencies with npm...
174
+
175
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 60ms
175
176
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
176
177
  ✔ Created Cloudflare MCP-I template files
177
178
  - Generated identity keys in .dev.vars
@@ -212,7 +213,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
212
213
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should match envPrefix with KV binding names in wrangler.toml
213
214
  🔑 Generating cryptographic identity...
214
215
 
215
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 63ms
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
251
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 184ms
249
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 143ms
250
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 544ms
251
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 865ms
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 12:37:37
256
+ Duration 1.34s (transform 912ms, setup 0ms, import 1.54s, tests 1.91s, 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.18",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.20",
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.18";
660
+ const expectedVersion = "1.6.20";
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.19",
3
+ "version": "1.8.21",
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.18",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.20",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",