@kya-os/create-mcpi-app 1.7.38-canary.0 → 1.7.38-canary.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.
@@ -0,0 +1,192 @@
1
+ # Deprecation Warnings Analysis
2
+
3
+ ## Summary
4
+
5
+ The deprecation warnings seen when running `npx @kya-os/create-mcpi-app` are **transitive dependencies** from upstream packages. They cannot be directly fixed in `create-mcpi-app` without fixing the root packages.
6
+
7
+ ## Warning Sources
8
+
9
+ ### 1. `inflight@1.0.6` (deprecated - leaks memory)
10
+
11
+ **Source Chain:**
12
+
13
+ ```
14
+ @kya-os/mcp-i
15
+ └─ clean-webpack-plugin@4.0.0
16
+ └─ del@4.1.1
17
+ └─ rimraf@2.7.1
18
+ └─ glob@7.2.3
19
+ └─ inflight@1.0.6 ❌
20
+
21
+ @kya-os/mcp-i
22
+ └─ del@7.1.0
23
+ └─ rimraf@3.0.2
24
+ └─ glob@7.2.3
25
+ └─ inflight@1.0.6 ❌
26
+ ```
27
+
28
+ **Fix Required In:** `@kya-os/mcp-i` package
29
+
30
+ - Update `clean-webpack-plugin` to latest version (may have fixed this)
31
+ - Update `del` to latest version (may have fixed this)
32
+ - Or replace `clean-webpack-plugin` with native Node.js alternatives
33
+
34
+ ### 2. `phin@2.9.3` and `phin@3.7.1` (deprecated - no longer supported)
35
+
36
+ **Source Chain:**
37
+
38
+ ```
39
+ @kya-os/cli
40
+ └─ terminal-image@3.1.1
41
+ └─ render-gif@2.0.4
42
+ └─ jimp@0.14.0
43
+ └─ @jimp/core@0.14.0
44
+ └─ load-bmfont@1.4.2
45
+ └─ phin@3.7.1 ❌
46
+ ```
47
+
48
+ **Fix Required In:** `@kya-os/cli` package
49
+
50
+ - Update `terminal-image` to latest version
51
+ - Or replace `terminal-image` with alternative that doesn't use deprecated `jimp`
52
+ - Or update `jimp` to latest version (if available)
53
+
54
+ ### 3. `rimraf@2.7.1` and `rimraf@3.0.2` (deprecated - use v4+)
55
+
56
+ **Source Chain:**
57
+
58
+ ```
59
+ @kya-os/mcp-i
60
+ └─ clean-webpack-plugin@4.0.0
61
+ └─ del@4.1.1
62
+ └─ rimraf@2.7.1 ❌
63
+
64
+ @kya-os/mcp-i
65
+ └─ del@7.1.0
66
+ └─ rimraf@3.0.2 ❌
67
+ ```
68
+
69
+ **Fix Required In:** `@kya-os/mcp-i` package
70
+
71
+ - Update `clean-webpack-plugin` to latest (may use rimraf@4+)
72
+ - Update `del` to latest version (may use rimraf@4+)
73
+ - Or add `rimraf@^5.0.0` as direct dependency to force resolution
74
+
75
+ ### 4. `glob@7.2.3` (deprecated - use v9+)
76
+
77
+ **Source Chain:**
78
+
79
+ ```
80
+ @kya-os/mcp-i
81
+ └─ clean-webpack-plugin@4.0.0
82
+ └─ del@4.1.1
83
+ └─ rimraf@2.7.1
84
+ └─ glob@7.2.3 ❌
85
+
86
+ @kya-os/mcp-i
87
+ └─ del@7.1.0
88
+ └─ rimraf@3.0.2
89
+ └─ glob@7.2.3 ❌
90
+ ```
91
+
92
+ **Fix Required In:** `@kya-os/mcp-i` package
93
+
94
+ - Same as rimraf - update `clean-webpack-plugin` and `del` to latest versions
95
+
96
+ ### 5. `node-domexception@1.0.0` (deprecated - use native DOMException)
97
+
98
+ **Source Chain:**
99
+
100
+ ```
101
+ @modelcontextprotocol/inspector (optional dependency)
102
+ └─ node-fetch@3.3.2
103
+ └─ fetch-blob@3.2.0
104
+ └─ node-domexception@1.0.0 ❌
105
+ ```
106
+
107
+ **Fix Required In:** `@modelcontextprotocol/inspector` package
108
+
109
+ - This is an external package we don't control
110
+ - Node.js 20+ has native DOMException, so this could be updated upstream
111
+
112
+ ## Solutions
113
+
114
+ ### Option 1: Fix in Upstream Packages (Recommended)
115
+
116
+ **For `@kya-os/mcp-i`:**
117
+
118
+ 1. Update `clean-webpack-plugin` to latest version
119
+ 2. Update `del` to latest version
120
+ 3. Consider replacing `clean-webpack-plugin` with native `fs.rmSync` (Node.js 14.14+)
121
+
122
+ **For `@kya-os/cli`:**
123
+
124
+ 1. Update `terminal-image` to latest version
125
+ 2. Consider replacing with alternative image display library
126
+ 3. Or make `terminal-image` optional/feature-flag
127
+
128
+ **For `@modelcontextprotocol/inspector`:**
129
+
130
+ - This is external - file issue with upstream maintainers
131
+ - Or consider making it truly optional (not installed unless needed)
132
+
133
+ ### Option 2: Use npm/pnpm Overrides (Quick Fix)
134
+
135
+ Add to `package.json`:
136
+
137
+ ```json
138
+ {
139
+ "pnpm": {
140
+ "overrides": {
141
+ "rimraf": "^5.0.0",
142
+ "glob": "^11.0.0"
143
+ }
144
+ }
145
+ }
146
+ ```
147
+
148
+ **Note:** This forces newer versions but may cause compatibility issues if upstream packages aren't compatible.
149
+
150
+ ### Option 3: Accept Warnings (Current State)
151
+
152
+ These are **warnings, not errors**. The package works fine. The warnings are:
153
+
154
+ - Informational only
155
+ - Don't affect functionality
156
+ - Will be resolved when upstream packages update
157
+
158
+ ## Impact Assessment
159
+
160
+ **Risk Level:** ⚠️ **LOW**
161
+
162
+ - Warnings don't affect functionality
163
+ - All deprecated packages still work
164
+ - No security vulnerabilities (just deprecation notices)
165
+
166
+ **User Experience Impact:** ⚠️ **MINIMAL**
167
+
168
+ - Users see warnings but package works
169
+ - Warnings are common in npm ecosystem
170
+ - Most users ignore deprecation warnings
171
+
172
+ ## Recommendation
173
+
174
+ **Short-term:** Accept the warnings - they don't affect functionality.
175
+
176
+ **Medium-term:** Fix in upstream packages (`@kya-os/mcp-i` and `@kya-os/cli`):
177
+
178
+ 1. Update `clean-webpack-plugin` and `del` in `@kya-os/mcp-i`
179
+ 2. Update `terminal-image` in `@kya-os/cli` or make it optional
180
+ 3. File issue with `@modelcontextprotocol/inspector` maintainers
181
+
182
+ **Long-term:** Consider replacing deprecated dependencies:
183
+
184
+ - Replace `clean-webpack-plugin` with native `fs.rmSync`
185
+ - Replace `terminal-image` with modern alternative
186
+ - Make `@modelcontextprotocol/inspector` truly optional
187
+
188
+ ## Quick Wins
189
+
190
+ 1. **Update `del` in `@kya-os/mcp-i`** - Latest version may use newer `rimraf`
191
+ 2. **Update `clean-webpack-plugin`** - Latest version may have fixed dependencies
192
+ 3. **Make `terminal-image` optional** - Only install if needed for avatar display
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/create-mcpi-app",
3
- "version": "1.7.38-canary.0",
3
+ "version": "1.7.38-canary.1",
4
4
  "description": "Bootstrap MCP applications with identity features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,9 +35,13 @@
35
35
  "commander": "^11.1.0",
36
36
  "fs-extra": "^11.2.0",
37
37
  "inquirer": "^12.9.4",
38
+ "node-fetch": "^3.3.2",
38
39
  "ora": "^8.0.1",
39
40
  "zod": "^3.25.76"
40
41
  },
42
+ "_comment": {
43
+ "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+)."
44
+ },
41
45
  "devDependencies": {
42
46
  "@kya-os/contracts": "^1.5.1",
43
47
  "@kya-os/mcp-i": "^1.5.5",