rushangle-cli 0.2.0 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rushangle-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "SkillHub CLI - 数智凯航技能市场命令行工具",
5
5
  "bin": {
6
6
  "rushangle": "./bin/rushangle.js"
@@ -129,7 +129,10 @@ module.exports = new Command('install')
129
129
  const match = listData.items.find(
130
130
  s => s.name === nameOrId || s.id === nameOrId
131
131
  );
132
- if (match) item = match;
132
+ if (match) {
133
+ // Re-fetch full data (list data is sanitized)
134
+ item = await api.getMcp(match.id);
135
+ }
133
136
  }
134
137
  }
135
138
 
@@ -183,7 +186,10 @@ module.exports = new Command('install')
183
186
  const match = listData.items.find(
184
187
  s => s.name === nameOrId || s.id === nameOrId
185
188
  );
186
- if (match) item = match;
189
+ if (match) {
190
+ // Re-fetch full data (list data is sanitized)
191
+ item = await api.getCode(match.id);
192
+ }
187
193
  }
188
194
  }
189
195