skillmkt 0.4.22 → 0.4.24
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/client/lib/render.js +2 -5
- package/package.json +1 -1
package/client/lib/render.js
CHANGED
|
@@ -38,12 +38,11 @@ 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
|
-
//
|
|
41
|
+
// 按状态分组展示(已装/可装;likely 探测不确定不显示)
|
|
42
42
|
const grp = (st) => scan.harnesses.filter((h) => h.state === st).map((h) => h.id);
|
|
43
43
|
const parts = [
|
|
44
44
|
grp('installed').length && `${L('已装', 'installed')} ${grp('installed').join(' ')}`,
|
|
45
45
|
grp('available').length && `${L('可装', 'installable')} ${grp('available').join(' ')}`,
|
|
46
|
-
grp('likely').length && `${L('疑似', 'likely')} ${grp('likely').join(' ')}`,
|
|
47
46
|
].filter(Boolean);
|
|
48
47
|
if (parts.length) err(`agents ${parts.join(' · ')}`);
|
|
49
48
|
if (project) err(`project ${project.root}`);
|
|
@@ -56,9 +55,7 @@ export function dashboard({ hub, library, scan, upstream, conflicts, llm, llmVia
|
|
|
56
55
|
if (!configFile) hints.push(llmVia
|
|
57
56
|
? L('skillmkt init 把设置写进 config.yml(现在全靠环境变量兜底)', 'skillmkt init write settings to config.yml (currently env-only)')
|
|
58
57
|
: L('skillmkt init 初始化设置(语言/模型/目标 agent)', 'skillmkt init set up language/model/agents'));
|
|
59
|
-
hints.push(
|
|
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'));
|
|
58
|
+
hints.push(L('skillmkt list 列出所有 skill 及各自安装位置', 'skillmkt list list all skills and where they are installed'));
|
|
62
59
|
hints.push(L('skillmkt --help 全部命令', 'skillmkt --help all commands'));
|
|
63
60
|
hints.slice(0, 4).forEach((h) => err(h));
|
|
64
61
|
}
|