@kya-os/create-mcpi-app 1.8.0 → 1.8.1

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.
@@ -5,32 +5,15 @@
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/cache-invalidation.test.ts (18 tests) 8ms
9
- ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 6ms
10
- ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 21ms
8
+ ✓ test-cloudflare/tests/cors-security.test.ts (29 tests) 3ms
9
+ ✓ test-cloudflare/tests/delegation.test.ts (12 tests) 4ms
11
10
  stdout | test-cloudflare/tests/session-management.test.ts > Session Management > Session Security > should not expose session data in logs
12
11
  [Session] Created session: secure-session
13
12
 
14
- src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 6ms
15
- ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 17ms
16
- ✓ src/__tests__/helpers/generate-identity.test.ts (24 tests) 28ms
17
- test-cloudflare/tests/do-routing.test.ts (14 tests) 50ms
18
- ✓ src/__tests__/helpers/generate-config.test.ts (25 tests) 64ms
19
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
20
-
21
- 📦 Installing dependencies with npm...
22
- ✓ Lockfile created (package-lock.json) - remember to commit it
23
-
24
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
25
-
26
- 📦 Installing dependencies with yarn...
27
- ✓ Lockfile created (yarn.lock) - remember to commit it
28
-
29
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
30
-
31
- 📦 Installing dependencies with pnpm...
32
- ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
33
-
13
+ test-cloudflare/tests/cache-invalidation.test.ts (18 tests) 4ms
14
+ ✓ test-cloudflare/tests/session-management.test.ts (17 tests) 16ms
15
+ ✓ src/utils/__tests__/fetch-remote-config.test.ts (9 tests) 3ms
16
+ src/__tests__/helpers/generate-identity.test.ts (24 tests) 67ms
34
17
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
35
18
 
36
19
  🏗️ Generating Cloudflare MCP-I project: test-agent...
@@ -38,38 +21,8 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
38
21
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
39
22
  🔑 Generating cryptographic identity...
40
23
 
41
- stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
42
-
43
- 📦 Installing dependencies with npm...
44
- ✓ Lockfile created (package-lock.json) - remember to commit it
45
-
46
- stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
47
- ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
48
- stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
49
-
50
-
51
- 📦 Installing dependencies with npm...
52
- ✓ Lockfile created (package-lock.json) - remember to commit it
53
-
54
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
55
-
56
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
57
- Failed to install dependencies with npm.
58
- 📦 Installing dependencies with npm...
59
-
60
-
61
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
62
-
63
- 📦 Installing dependencies with npm...
64
-
65
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
66
- Failed to install dependencies with npm.
67
-
68
- stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
69
- [RemoteConfig] Neither projectId nor agentDid provided
70
-
71
- ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
72
- ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 56ms
24
+ src/__tests__/helpers/generate-config.test.ts (25 tests) 52ms
25
+ ✓ src/__tests__/helpers/validate-project-structure.test.ts (23 tests) 43ms
73
26
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include envPrefix in generated index.ts
74
27
  ✔ Created Cloudflare MCP-I template files
75
28
  - Generated identity keys in .dev.vars
@@ -103,10 +56,7 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
103
56
  npm run deploy # Deploy to Cloudflare
104
57
 
105
58
 
106
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
107
-
108
- 📦 Installing dependencies with npm...
109
-
59
+ test-cloudflare/tests/do-routing.test.ts (14 tests) 68ms
110
60
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
111
61
 
112
62
  🏗️ Generating Cloudflare MCP-I project: my-awesome-agent...
@@ -114,13 +64,6 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
114
64
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
115
65
  🔑 Generating cryptographic identity...
116
66
 
117
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
118
- Failed to install dependencies with npm.
119
-
120
- stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
121
-
122
- 📦 Installing dependencies with npm...
123
-
124
67
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should use correct prefix format (uppercase with underscores)
125
68
  ✔ Created Cloudflare MCP-I template files
126
69
  - Generated identity keys in .dev.vars
@@ -158,21 +101,78 @@ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Confi
158
101
 
159
102
  🏗️ Generating Cloudflare MCP-I project: test-agent...
160
103
 
104
+ stderr | src/helpers/__tests__/config-builder.spec.ts > buildConfigWithRemote > should fallback to local config when remote fetch fails
105
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with npm
106
+
107
+ 📦 Installing dependencies with npm...
108
+ [RemoteConfig] Neither projectId nor agentDid provided
109
+ ✓ Lockfile created (package-lock.json) - remember to commit it
110
+
111
+ stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
112
+ 🔑 Generating cryptographic identity...
113
+
114
+
115
+ ✓ src/helpers/__tests__/config-builder.spec.ts (12 tests) 4ms
116
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with yarn
117
+
118
+ 📦 Installing dependencies with yarn...
119
+ ✓ Lockfile created (yarn.lock) - remember to commit it
120
+
121
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should install dependencies with pnpm
122
+
123
+ 📦 Installing dependencies with pnpm...
124
+ ✓ Lockfile created (pnpm-lock.yaml) - remember to commit it
125
+
126
+ stdout | src/__tests__/helpers/install.test.ts > install > Dependency installation > should use correct working directory
127
+
128
+ 📦 Installing dependencies with npm...
129
+ ✓ Lockfile created (package-lock.json) - remember to commit it
130
+
131
+ stderr | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should report correct package manager in log
132
+ ⚠️ Warning: No lockfile generated (pnpm-lock.yaml)
133
+
134
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
135
+ Failed to install dependencies with npm.
136
+
137
+ stdout | src/__tests__/helpers/install.test.ts > install > Install progress reporting > should check for lockfile after installation
138
+
139
+ 📦 Installing dependencies with npm...
140
+ ✓ Lockfile created (package-lock.json) - remember to commit it
141
+
142
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should throw error when installation fails
143
+
144
+ 📦 Installing dependencies with npm...
145
+
146
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
147
+
148
+ 📦 Installing dependencies with npm...
149
+
150
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle network errors during installation
151
+ Failed to install dependencies with npm.
152
+
153
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
154
+
155
+ 📦 Installing dependencies with npm...
156
+
157
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle permission errors during installation
158
+ Failed to install dependencies with npm.
159
+
160
+ stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should log error message when installation fails
161
+
162
+ 📦 Installing dependencies with npm...
163
+
161
164
  stdout | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
162
165
 
163
- stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
164
166
  📦 Installing dependencies with unknown...
165
167
 
168
+ stderr | src/__tests__/helpers/install.test.ts > install > Error handling > should handle invalid package manager gracefully
166
169
  ⚠️ Warning: Unknown package manager "unknown", cannot check lockfile
167
170
 
168
171
  stdout | src/__tests__/helpers/install.test.ts > install > Lockfile validation > should warn when lockfile not created
169
172
 
170
173
  📦 Installing dependencies with npm...
171
174
 
172
- ✓ src/__tests__/helpers/install.test.ts (20 tests) 125ms
173
- stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
174
- 🔑 Generating cryptographic identity...
175
-
175
+ ✓ src/__tests__/helpers/install.test.ts (20 tests) 31ms
176
176
  stdout | src/__tests__/scaffolder-envprefix.test.ts > Scaffolder envPrefix Configuration > should include comment explaining envPrefix purpose
177
177
  ✔ Created Cloudflare MCP-I template files
178
178
  - Generated identity keys in .dev.vars
@@ -246,13 +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) 269ms
250
- ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 604ms
251
- ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 1193ms
252
- ✓ should not create test files by default 415ms
249
+ ✓ src/__tests__/scaffolder-envprefix.test.ts (4 tests) 251ms
250
+ ✓ src/__tests__/helpers/fetch-cloudflare-mcpi-template.test.ts (21 tests) 427ms
251
+ ✓ src/__tests__/cloudflare-template.test.ts (30 tests | 2 skipped) 499ms
253
252
 
254
253
  Test Files 14 passed (14)
255
254
  Tests 256 passed | 2 skipped (258)
256
- Start at 20:03:16
257
- Duration 2.88s (transform 3.58s, setup 0ms, collect 5.50s, tests 2.45s, environment 1ms, prepare 295ms)
255
+ Start at 20:31:29
256
+ Duration 1.18s (transform 875ms, setup 0ms, collect 1.48s, tests 1.47s, environment 1ms, prepare 155ms)
258
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.0",
83
+ "@kya-os/mcp-i-cloudflare": "1.6.1",
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.0";
660
+ const expectedVersion = "1.6.1";
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.0",
3
+ "version": "1.8.1",
4
4
  "description": "Scaffold a new MCP-I application",
5
5
  "bin": {
6
6
  "create-mcpi-app": "./dist/index.js"