skillmkt 0.4.20 → 0.4.22

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.
@@ -38,9 +38,14 @@ export function dashboard({ hub, library, scan, upstream, conflicts, llm, llmVia
38
38
  err(`skillmkt · hub ${hub}${llm ? ` · llm ${llm.model} ✓${llmVia ? L(`(来自 ${llmVia},未写 config.yml)`, ` (from ${llmVia}, not in config.yml)`) : ''}` : ''}`);
39
39
  err('');
40
40
  err(`skills ${skills.length} installed${updates ? ` · ${updates} update available` : ''} · audit ${audits.length - bad}✓${bad ? `/${bad}⚠` : ''}`);
41
- const hs = scan.harnesses.filter((h) => h.state !== 'absent')
42
- .map((h) => `${h.id}${h.state === 'installed' ? '●' : h.state === 'available' ? '○available' : '~likely'}`);
43
- if (hs.length) err(`harnesses ${hs.join(' ')}`);
41
+ // 按状态分组展示(●已装/○仅CLI/~疑似),不再符号+文字混排
42
+ const grp = (st) => scan.harnesses.filter((h) => h.state === st).map((h) => h.id);
43
+ const parts = [
44
+ grp('installed').length && `${L('已装', 'installed')} ${grp('installed').join(' ')}`,
45
+ grp('available').length && `${L('可装', 'installable')} ${grp('available').join(' ')}`,
46
+ grp('likely').length && `${L('疑似', 'likely')} ${grp('likely').join(' ')}`,
47
+ ].filter(Boolean);
48
+ if (parts.length) err(`agents ${parts.join(' · ')}`);
44
49
  if (project) err(`project ${project.root}`);
45
50
  if (pending) err(`conflicts ${pending} pending — ${L('需要裁决', 'needs your decision')}`);
46
51
  if (externals) err(`external ${externals} ${L('未收编 — install <path> 纳入管理', 'unmanaged — `install <path>` to adopt')}`);
@@ -52,8 +57,8 @@ export function dashboard({ hub, library, scan, upstream, conflicts, llm, llmVia
52
57
  ? L('skillmkt init 把设置写进 config.yml(现在全靠环境变量兜底)', 'skillmkt init write settings to config.yml (currently env-only)')
53
58
  : L('skillmkt init 初始化设置(语言/模型/目标 agent)', 'skillmkt init set up language/model/agents'));
54
59
  hints.push(externals
55
- ? L('skillmkt list 安装矩阵 + ◌external 路径', 'skillmkt list install matrix + ◌external paths')
56
- : L('skillmkt list 安装矩阵', 'skillmkt list install matrix'));
60
+ ? L('skillmkt list 每个 skill 装在哪些 agent(◌=未收编)', 'skillmkt list which agents each skill is in (◌ = unmanaged)')
61
+ : L('skillmkt list 每个 skill 装在哪些 agent', 'skillmkt list which agents each skill is in'));
57
62
  hints.push(L('skillmkt --help 全部命令', 'skillmkt --help all commands'));
58
63
  hints.slice(0, 4).forEach((h) => err(h));
59
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillmkt",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
4
4
  "type": "module",
5
5
  "description": "Local-first agent skill manager: install, audit, merge, distribute.",
6
6
  "license": "MIT",