@kya-os/create-mcpi-app 1.8.12 → 1.8.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.11 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.13 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
3
3
  > tsc && chmod +x dist/index.js
4
4
 
@@ -1,49 +1,26 @@
1
1
 
2
- > @kya-os/create-mcpi-app@1.8.12 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
2
+ > @kya-os/create-mcpi-app@1.8.13 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.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app
7
7
 
8
- test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
9
- ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
8
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 53ms
9
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 6ms
10
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 5ms
11
+ ✓ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 11ms
12
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 5ms
10
13
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
11
14
  [Session] Created session: secure-session
12
15
 
13
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
14
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 16ms
15
- ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 4ms
16
- ✓ test-cloudflare/tests/do-routing.test.ts (14 tests) 45ms
17
16
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
18
17
 
19
18
  🏗️ Generating Cloudflare MCP-I project: test-agent...
20
19
 
21
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
22
-
23
- 📦 Installing dependencies with npm...
24
- ✓ Lockfile created (package-lock.json) - remember to commit it
25
-
20
+ test-cloudflare/tests/session-management.test.ts (17 tests) 25ms
26
21
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
27
22
  🔑 Generating cryptographic identity...
28
23
 
29
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
30
-
31
- 📦 Installing dependencies with yarn...
32
- ✓ Lockfile created (yarn.lock) - remember to commit it
33
-
34
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
35
-
36
- 📦 Installing dependencies with pnpm...
37
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
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
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
45
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
46
-
47
24
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
48
25
  ✔ Created Cloudflare MCP-I template files
49
26
  - Generated identity keys in .dev.vars
@@ -70,11 +47,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
70
47
  🚀 Next Steps:
71
48
  cd test-agent
72
49
 
73
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
74
-
75
- 📦 Installing dependencies with npm...
76
- ✓ Lockfile created (package-lock.json) - remember to commit it
77
-
78
50
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
79
51
  wrangler login # Login to Cloudflare first!
80
52
  npm run setup # Create KV namespaces
@@ -82,28 +54,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
82
54
  npm run deploy # Deploy to Cloudflare
83
55
 
84
56
 
85
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
86
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
87
-
88
- 📦 Installing dependencies with npm...
89
-
90
- Failed to install dependencies with npm.
91
-
92
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
93
-
94
- 📦 Installing dependencies with npm...
95
-
96
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
97
- Failed to install dependencies with npm.
98
-
99
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 48ms
100
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
101
-
102
- 📦 Installing dependencies with npm...
103
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
104
- Failed to install dependencies with npm.
105
-
106
-
107
57
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
108
58
 
109
59
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
@@ -111,16 +61,25 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
111
61
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
112
62
  🔑 Generating cryptographic identity...
113
63
 
114
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
64
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
115
65
 
116
66
  📦 Installing dependencies with npm...
67
+ ✓ Lockfile created (package-lock.json) - remember to commit it
117
68
 
118
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
69
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
119
70
 
120
- 📦 Installing dependencies with unknown...
71
+ 📦 Installing dependencies with yarn...
72
+ ✓ Lockfile created (yarn.lock) - remember to commit it
121
73
 
122
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
123
- ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
74
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
75
+
76
+ 📦 Installing dependencies with pnpm...
77
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
78
+
79
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
80
+
81
+ 📦 Installing dependencies with npm...
82
+ ✓ Lockfile created (package-lock.json) - remember to commit it
124
83
 
125
84
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
126
85
  ✔ Created Cloudflare MCP-I template files
@@ -148,6 +107,9 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
148
107
  🚀 Next Steps:
149
108
  cd my-awesome-agent
150
109
 
110
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
111
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
112
+
151
113
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
152
114
  wrangler login # Login to Cloudflare first!
153
115
  npm run setup # Create KV namespaces
@@ -155,19 +117,56 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
155
117
  npm run deploy # Deploy to Cloudflare
156
118
 
157
119
 
120
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
121
+
122
+ 📦 Installing dependencies with npm...
123
+ ✓ Lockfile created (package-lock.json) - remember to commit it
124
+
125
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
126
+ Failed to install dependencies with npm.
127
+
128
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
129
+
130
+ 📦 Installing dependencies with npm...
131
+
132
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
133
+
134
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
135
+ 📦 Installing dependencies with npm...
136
+ Failed to install dependencies with npm.
137
+
138
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
139
+
140
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
141
+ Failed to install dependencies with npm.
142
+
143
+
144
+ 📦 Installing dependencies with npm...
145
+
146
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
147
+
148
+ 📦 Installing dependencies with npm...
149
+
150
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
151
+
152
+ 📦 Installing dependencies with unknown...
153
+
154
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
155
+ ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
156
+
158
157
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
159
158
 
160
159
  📦 Installing dependencies with npm...
161
160
 
161
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 39ms
162
162
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
163
163
 
164
164
  🏗️ Generating Cloudflare MCP-I project: test-agent...
165
165
 
166
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 43ms
167
166
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
168
167
  🔑 Generating cryptographic identity...
169
168
 
170
- src/__tests__/helpers/generate-config.test.ts (25 tests) 51ms
169
+ test-cloudflare/tests/do-routing.test.ts (14 tests) 422ms
171
170
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
172
171
  ✔ Created Cloudflare MCP-I template files
173
172
  - Generated identity keys in .dev.vars
@@ -194,6 +193,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
194
193
  🚀 Next Steps:
195
194
  cd test-agent
196
195
 
196
+ ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 301ms
197
197
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
198
198
  wrangler login # Login to Cloudflare first!
199
199
  npm run setup # Create KV namespaces
@@ -241,17 +241,17 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
241
241
  npm run deploy # Deploy to Cloudflare
242
242
 
243
243
 
244
- ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 58ms
245
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 57ms
244
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 198ms
245
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 224ms
246
246
  stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
247
247
  [RemoteConfig] Neither projectId nor agentDid provided
248
248
 
249
249
  ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 3ms
250
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 137ms
251
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 166ms
250
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 1116ms
251
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 1294ms
252
252
 
253
253
  Test Files 14 passed (14)
254
254
  Tests 256 passed | 2 skipped (258)
255
- Start at 03:59:47
256
- Duration 420ms (transform 787ms, setup 0ms, collect 1.16s, tests 639ms, environment 1ms, prepare 45ms)
255
+ Start at 04:18:46
256
+ Duration 2.95s (transform 4.32s, setup 0ms, collect 7.82s, tests 3.70s, environment 2ms, prepare 282ms)
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.12",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.13",
84
84
  "@modelcontextprotocol/sdk": "1.22.0",
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.12";
660
+ const expectedVersion = "1.6.13";
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.12",
3
+ "version": "1.8.13",
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.12",
21
+ "@kya-os/mcp-i-cloudflare": "^1.6.13",
22
22
  "base-x": "^5.0.0",
23
23
  "chalk": "^4.1.2",
24
24
  "commander": "^12.1.0",