skillmkt 0.4.9 → 0.4.10

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.
@@ -92,11 +92,9 @@ export async function run(ctx) {
92
92
  // 密钥:只在需要时问;粘贴的密钥用本机机器码加密存 config.yml
93
93
  let api_key = null, keyPlain = '';
94
94
  if (base_url && needKey) {
95
- // 只列当前 shell 真设了的环境变量,加自填项——不再硬塞用户看不懂的名字
96
- const envCands = ['SKILLMKT_API_KEY', 'OPENAI_API_KEY', 'OMLX_API_KEY'].filter((v) => process.env[v]);
97
95
  const ks = await choose(L('这个服务需要访问密钥,怎么提供?', 'This service needs an access key — how should it be provided?'), [
98
96
  { label: L('现在粘贴进来(只输一次,自动加密保存)', 'Paste it now (entered once, saved encrypted)'), v: 'paste' },
99
- ...envCands.map((v) => ({ label: L(`从环境变量 ${v} 读(当前 shell 已设置)`, `Read env var ${v} (set in this shell)`), v: `env:${v}` })),
97
+ { label: L('从环境变量 SKILLMKT_API_KEY 读', 'Read env var SKILLMKT_API_KEY'), v: 'env:SKILLMKT_API_KEY' },
100
98
  { label: L('从别的环境变量读(自己填变量名)', 'Read another env var (type the name yourself)'), v: 'env-custom' },
101
99
  { label: L('不需要密钥', 'No key needed'), v: null },
102
100
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillmkt",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "type": "module",
5
5
  "description": "Local-first agent skill manager: install, audit, merge, distribute.",
6
6
  "license": "MIT",