skillmkt 0.4.10 → 0.4.11

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.
@@ -95,7 +95,6 @@ export async function run(ctx) {
95
95
  const ks = await choose(L('这个服务需要访问密钥,怎么提供?', 'This service needs an access key — how should it be provided?'), [
96
96
  { label: L('现在粘贴进来(只输一次,自动加密保存)', 'Paste it now (entered once, saved encrypted)'), v: 'paste' },
97
97
  { label: L('从环境变量 SKILLMKT_API_KEY 读', 'Read env var SKILLMKT_API_KEY'), v: 'env:SKILLMKT_API_KEY' },
98
- { label: L('从别的环境变量读(自己填变量名)', 'Read another env var (type the name yourself)'), v: 'env-custom' },
99
98
  { label: L('不需要密钥', 'No key needed'), v: null },
100
99
  ]);
101
100
  if (ks.v === 'paste') {
@@ -113,7 +112,7 @@ export async function run(ctx) {
113
112
  }
114
113
  }
115
114
  } else if (ks.v) {
116
- const vn = ks.v === 'env-custom' ? (await ask(L(' 环境变量名 > ', ' Env var name > '))).trim() : ks.v.slice(4);
115
+ const vn = ks.v.slice(4);
117
116
  if (vn) {
118
117
  api_key = `env:${vn}`;
119
118
  keyPlain = process.env[vn] ?? '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillmkt",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "type": "module",
5
5
  "description": "Local-first agent skill manager: install, audit, merge, distribute.",
6
6
  "license": "MIT",