@tinyforge/dsh-plugin-manager-wj 1.6.0 → 1.7.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/README.md CHANGED
@@ -4,11 +4,13 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@tinyforge/dsh-plugin-manager-wj.svg)](https://www.npmjs.com/package/@tinyforge/dsh-plugin-manager-wj)
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
6
 
7
- **WJ Plugin Management** is the Web management layer for DeepSeek Harness's three-layer plugin-management design. It extends the independent WJ bundle and adds a management tab under **Settings → Plugins** whose four views switch without leaving the page: **Plugins**, **Configuration**, **Skills** and **Tools**.
7
+ **WJ Plugin Management** is the Web management layer for DeepSeek Harness's three-layer plugin-management design. It extends the independent WJ bundle and adds a management tab under **Settings → Plugins** whose five views switch without leaving the page: **Plugins**, **Health**, **Configuration**, **Skills** and **Tools**.
8
+
9
+ ![WJ Plugin Management: the five management views](docs/screenshot.webp)
8
10
 
9
11
  ## Features
10
12
 
11
- - **Switchable views:** one tab strip switches between plugin health, configuration, the skill catalog, and tool registration ownership. A visited view stays mounted, so a configuration draft and the search term survive switching.
13
+ - **Switchable views:** one tab strip switches between the plugin list, health findings, configuration, the skill catalog, and tool registration ownership. A visited view stays mounted, so a configuration draft and the search term survive switching.
12
14
  - **Harness Core:** consumes the Host's plugin registry, configuration resolver, conflict detector, lifecycle/dependency manager, and settings services.
13
15
  - **Management API:** shows plugin state, derived activation findings, configuration provenance, and tool runtime registrations. It can enable or disable profile-addressable plugins.
14
16
  - **Management UI:** filters the active view, edits non-secret scalar settings through the existing schema-backed `configForms`, and reports each tool's scope with its owner (an MCP server, or the plugin package the Host half matched). Plugin rows show the package's localized title and introduction; a Loader-internal entry that carries no package metadata states that instead of leaving a blank line.
@@ -17,7 +19,8 @@
17
19
 
18
20
  | View | Source | Notes |
19
21
  | --- | --- | --- |
20
- | Plugins | the Loader projection from `pluginInventory.list()` | Enable/disable addressable entries; findings are derived from failed fibers and their `diagnostic`. |
22
+ | Plugins | the Loader projection from `pluginInventory.list()` | Enable/disable addressable entries and show each package's localized title and introduction. |
23
+ | Health | the same Loader projection | Derived only from entries whose startup failed (the fiber reached `failed`) and their `diagnostic`; a zero count says no entry failed to start instead of showing "no records". |
21
24
  | Configuration | `configForms.describe`, `pluginManager.getConfigProvenance` | Secret fields are omitted; provenance shows layers and redacted identities. |
22
25
  | Skills | `skills/list` through the active session | Session-scoped, so the catalog resolves from the session working directory and reloads automatically when the active session changes. Model-invocable and user-only entries are marked separately. |
23
26
  | Tools | this package's Host half, `GET /api/wj/tool-inventory` | Runtime tool registrations, with the plugin that provides each tool and the scope it applies to. |
@@ -55,11 +58,11 @@ npm install @tinyforge/dsh-plugin-manager-wj
55
58
  ## Release
56
59
 
57
60
  ```sh
58
- npm test # node --test: 30 checks (views, tool ownership, Host route, inject contract, module id, patch shape)
61
+ npm test # node --test: 34 checks (views, findings, tool ownership, Host route, package metadata, inject contract, module id, patch shape)
59
62
  npm publish --access public # writes to registry.npmjs.org
60
63
  ```
61
64
 
62
- The package name is scoped, so publishing a new version needs maintainer access to the `@tinyforge` npm scope. Tag the published commit (`git tag v1.6.0 && git push --tags`) so the GitHub history matches the registry.
65
+ The package name is scoped, so publishing a new version needs maintainer access to the `@tinyforge` npm scope. Tag the published commit (`git tag v1.7.1 && git push --tags`) so the GitHub history matches the registry.
63
66
 
64
67
  ## Development
65
68
 
package/README.zh.md CHANGED
@@ -4,11 +4,13 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@tinyforge/dsh-plugin-manager-wj.svg)](https://www.npmjs.com/package/@tinyforge/dsh-plugin-manager-wj)
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
6
 
7
- **WJ 插件管理中心**是 DeepSeek Harness 三层插件管理架构的 Web 管理层,扩展现有独立 WJ bundle,并在 **设置 → 插件** 下添加管理标签页。页面内有 **插件 / 配置 / Skill / 工具** 四个视图,可直接切换,不需要离开当前页面。
7
+ **WJ 插件管理中心**是 DeepSeek Harness 三层插件管理架构的 Web 管理层,扩展现有独立 WJ bundle,并在 **设置 → 插件** 下添加管理标签页。页面内有 **插件 / 健康诊断 / 配置 / Skill / 工具** 五个视图,可直接切换,不需要离开当前页面。
8
+
9
+ ![WJ 插件管理:五个管理视图](docs/screenshot.webp)
8
10
 
9
11
  ## 功能
10
12
 
11
- - **可切换视图:**一条标签栏在插件健康、配置、Skill 目录与工具注册归属之间切换。已访问过的视图保持挂载,因此切换时配置草稿和搜索词都不会丢失。
13
+ - **可切换视图:**一条标签栏在插件清单、健康诊断、配置、Skill 目录与工具注册归属之间切换。已访问过的视图保持挂载,因此切换时配置草稿和搜索词都不会丢失。
12
14
  - **Harness Core:**使用 Host 提供的插件注册表、配置解析、冲突检测、生命周期与依赖管理,以及设置服务。
13
15
  - **Management API:**查看插件状态、激活诊断、配置来源和工具运行时注册;可启停当前 Profile 能寻址的插件。
14
16
  - **Management UI:**按视图过滤,通过现有 schema 表单 `configForms` 编辑非密钥标量配置;工具视图给出每个工具的作用域与归属(MCP 服务器或推断出的插件包)。插件行显示包本地化的标题与说明;Loader 内部条目若没有包元数据,会明确写出这一点,而不是留空。
@@ -17,7 +19,8 @@
17
19
 
18
20
  | 视图 | 数据来源 | 说明 |
19
21
  | --- | --- | --- |
20
- | 插件 | `pluginInventory.list()` 的 Loader 投影 | 启停当前 Profile 能寻址的条目,并由失败 fiber 派生激活诊断。 |
22
+ | 插件 | `pluginInventory.list()` 的 Loader 投影 | 启停当前 Profile 能寻址的条目,并显示包本地化的标题与说明。 |
23
+ | 健康诊断 | 同一份 Loader 投影 | 只由启动失败(fiber 进入 `failed`)的条目及其 `diagnostic` 派生;数量为 0 时明确说明没有启动失败,而不是显示"暂无记录"。 |
21
24
  | 配置 | `configForms.describe`、`pluginManager.getConfigProvenance` | 隐藏密钥字段;来源只显示层名称与脱敏标识。 |
22
25
  | Skill | 通过当前会话读取 `skills/list` | 按会话解析,目录来自会话工作目录,并在活动会话变化时自动重新加载;模型可调用与仅用户可调用分开标记。 |
23
26
  | 工具 | 本包 Host 半边的 `GET /api/wj/tool-inventory` | 运行时工具注册清单,以及每个工具由哪个插件提供、作用于哪个范围。 |
@@ -55,11 +58,11 @@ npm install @tinyforge/dsh-plugin-manager-wj
55
58
  ## 发布
56
59
 
57
60
  ```sh
58
- npm test # node --test:30 项检查(视图、工具归属、Host 路由、inject 契约、模块 id、patch 结构)
61
+ npm test # node --test:34 项检查(视图、健康诊断、工具归属、Host 路由、包元数据、inject 契约、模块 id、patch 结构)
59
62
  npm publish --access public # 发布到 registry.npmjs.org
60
63
  ```
61
64
 
62
- 包名带 scope,发布新版本需要 `@tinyforge` npm scope 的维护者权限。发布后给对应提交打 tag(`git tag v1.6.0 && git push --tags`),让 GitHub 历史与 registry 版本对应。
65
+ 包名带 scope,发布新版本需要 `@tinyforge` npm scope 的维护者权限。发布后给对应提交打 tag(`git tag v1.7.1 && git push --tags`),让 GitHub 历史与 registry 版本对应。
63
66
 
64
67
  ## 开发
65
68
 
package/client.js CHANGED
@@ -11,7 +11,7 @@ window.__ModuleLoader__.load({
11
11
  const NS = 'settings.pluginManagerWj'
12
12
  // MCP server management is owned by the Host's MCP settings bundle, so this page shows no MCP
13
13
  // server list of its own: a second list here duplicated that page and read the same remote.
14
- const TAB_ORDER = ['plugins', 'config', 'skill', 'tools']
14
+ const TAB_ORDER = ['plugins', 'findings', 'config', 'skill', 'tools']
15
15
  const TAB_KEY = 'dsh-plugin-manager-wj/tab'
16
16
  // The Host half serves the tool registry on the shared authenticated `/api` channel; the
17
17
  // official Remote table carries no tool namespace, so this route is the only way in.
@@ -284,7 +284,7 @@ window.__ModuleLoader__.load({
284
284
  }, h('span', null, item.label), item.count === undefined ? null : h('span', { style: styles.tabCount }, String(item.count)))))
285
285
  }
286
286
 
287
- function PluginsPanel({ pluginRows, findings, plugins, query, busy, canManage, onToggle, resolve, t }) {
287
+ function PluginsPanel({ pluginRows, query, busy, canManage, onToggle, resolve, t }) {
288
288
  // A row's display title and introduction are package metadata, not the module specifier.
289
289
  // The Host localizes both; a Loader-internal entry that carries no package metadata says so
290
290
  // instead of leaving the line empty, so a short technical name is never mistaken for a bug.
@@ -295,24 +295,8 @@ window.__ModuleLoader__.load({
295
295
  if (row.meta?.error) return resolve(row.meta.error) || row.meta.error
296
296
  return row.meta === undefined ? t('pluginNoMeta') : t('pluginNoDescription')
297
297
  }
298
- const severity = value => t(SEVERITY_KEY[value] ?? 'severityInfo')
299
298
  return h('div', { style: styles.page },
300
299
  h('p', { style: styles.description }, t('pluginsIntro')),
301
- h(Section, { id: 'findings', title: t('findingsTitle'), count: `${findings.length} ${t('items')}`, empty: t(query ? 'noMatches' : 'noRows') },
302
- findings.length ? h('ul', { style: styles.list }, findings.map(finding => {
303
- const severe = finding.severity === 'error'
304
- const affected = finding.affectedEntryIds.map(id => plugins.find(plugin => plugin.entryId === id)?.moduleName ?? id).join(', ')
305
- return h('li', { key: finding.id, style: styles.row },
306
- h('div', { style: styles.rowHead },
307
- h('div', null,
308
- h('h3', { style: styles.rowTitle }, t(finding.code)),
309
- h('div', { style: styles.meta }, h('span', null, `${t('severity')}: ${severity(finding.severity)}`), affected ? h('span', null, `${t('affected')}: ${affected}`) : null)),
310
- h('span', { style: { ...styles.badge, ...(severe ? styles.error : styles.warning) } }, severity(finding.severity))),
311
- finding.evidence?.name || finding.evidence?.serverName || finding.evidence?.packageName
312
- ? h('div', { style: styles.meta }, `${t('evidence')}: ${finding.evidence.name ?? finding.evidence.serverName ?? finding.evidence.packageName}`)
313
- : null,
314
- finding.evidence?.detail ? h('p', { style: { ...styles.message, padding: '4px 0 0' } }, finding.evidence.detail) : null)
315
- })) : null),
316
300
  h(Section, { id: 'plugins', title: t('pluginsTitle'), count: `${pluginRows.length} ${t('items')}`, empty: t(query ? 'noMatches' : 'noRows') },
317
301
  pluginRows.length ? h('ul', { style: styles.list }, pluginRows.map(row => h('li', { key: row.entryId, style: styles.row },
318
302
  h('div', { style: styles.rowHead },
@@ -328,6 +312,31 @@ window.__ModuleLoader__.load({
328
312
  row.diagnostic ? h('p', { style: styles.meta }, t('activationFailed')) : null))) : null))
329
313
  }
330
314
 
315
+ // Findings answer "is anything broken", which is a different question from "which plugin is
316
+ // enabled", so they get their own view and tab instead of hiding at the top of the plugin list.
317
+ function FindingsPanel({ findings, plugins, query, t }) {
318
+ const severity = value => t(SEVERITY_KEY[value] ?? 'severityInfo')
319
+ return h('div', { style: styles.page },
320
+ h('p', { style: styles.description }, t('findingsIntro')),
321
+ h(Section, {
322
+ id: 'findings', title: t('findingsTitle'), count: `${findings.length} ${t('items')}`,
323
+ empty: t(query ? 'noMatches' : 'findingsEmpty'),
324
+ }, findings.length ? h('ul', { style: styles.list }, findings.map(finding => {
325
+ const severe = finding.severity === 'error'
326
+ const affected = finding.affectedEntryIds.map(id => plugins.find(plugin => plugin.entryId === id)?.moduleName ?? id).join(', ')
327
+ return h('li', { key: finding.id, style: styles.row },
328
+ h('div', { style: styles.rowHead },
329
+ h('div', null,
330
+ h('h3', { style: styles.rowTitle }, t(finding.code)),
331
+ h('div', { style: styles.meta }, h('span', null, `${t('severity')}: ${severity(finding.severity)}`), affected ? h('span', null, `${t('affected')}: ${affected}`) : null)),
332
+ h('span', { style: { ...styles.badge, ...(severe ? styles.error : styles.warning) } }, severity(finding.severity))),
333
+ finding.evidence?.name || finding.evidence?.serverName || finding.evidence?.packageName
334
+ ? h('div', { style: styles.meta }, `${t('evidence')}: ${finding.evidence.name ?? finding.evidence.serverName ?? finding.evidence.packageName}`)
335
+ : null,
336
+ finding.evidence?.detail ? h('p', { style: { ...styles.message, padding: '4px 0 0' } }, finding.evidence.detail) : null)
337
+ })) : null))
338
+ }
339
+
331
340
  function ConfigPanel({ settings, settingsReady, plugins, forms, provenance, t }) {
332
341
  const namespaces = settings?.namespaces ?? []
333
342
  return h('div', { style: styles.page },
@@ -487,8 +496,9 @@ window.__ModuleLoader__.load({
487
496
  return () => { live = false }
488
497
  }, [list, manager, forms, revision])
489
498
 
490
- // The tool registry is session-wide Host state and the route scans package sources once, so
491
- // it loads when the view is first opened, and again only when the page is refreshed.
499
+ // The tool registry is session-wide Host state, so it loads as soon as this page mounts rather
500
+ // than when the Tools view is opened: the summary stat and the tab count would otherwise read
501
+ // "—" until the first visit, which looks like a broken read. It reloads on refresh.
492
502
  //
493
503
  // The loaded revision is held in a ref rather than in this effect's dependencies. A dependency
494
504
  // on `tools` re-ran this effect right after it set the loading state; React then disposed the
@@ -497,7 +507,7 @@ window.__ModuleLoader__.load({
497
507
  // resolve the read before the cleanup, which is why it never showed).
498
508
  const loadedToolsRevision = React.useRef(undefined)
499
509
  React.useEffect(() => {
500
- if (tab !== 'tools' || typeof loadTools !== 'function') return undefined
510
+ if (typeof loadTools !== 'function') return undefined
501
511
  if (loadedToolsRevision.current === revision) return undefined
502
512
  let live = true
503
513
  setTools({ kind: 'loading', revision })
@@ -511,7 +521,7 @@ window.__ModuleLoader__.load({
511
521
  })
512
522
  .catch(() => { if (live) setTools({ kind: 'error', revision }) })
513
523
  return () => { live = false }
514
- }, [loadTools, tab, revision])
524
+ }, [loadTools, revision])
515
525
 
516
526
  const refresh = () => {
517
527
  setState(current => ({ kind: 'loading', snapshot: current.snapshot }))
@@ -575,6 +585,7 @@ window.__ModuleLoader__.load({
575
585
 
576
586
  const tabs = [
577
587
  { id: 'plugins', label: t('tabs.plugins'), count: plugins.length },
588
+ { id: 'findings', label: t('tabs.findings'), count: findings.length },
578
589
  { id: 'config', label: t('tabs.config'), count: settings?.namespaces?.length },
579
590
  { id: 'skill', label: t('tabs.skill'), count: skills?.kind === 'ready' ? skills.items.length : undefined },
580
591
  { id: 'tools', label: t('tabs.tools'), count: toolsView.kind === 'ready' ? toolRows.length : undefined },
@@ -594,7 +605,7 @@ window.__ModuleLoader__.load({
594
605
  [health?.enabledCount ?? plugins.filter(row => row.enabled).length, 'enabled'],
595
606
  [health ? health.findings.length : '—', 'findings'],
596
607
  [skills?.kind === 'ready' ? skills.items.length : '—', 'skills'],
597
- [toolsView.kind === 'ready' ? toolRows.length : '—', 'toolsStat'],
608
+ [toolsView.kind === 'ready' ? toolRows.length : toolsView.kind === 'loading' ? '…' : '—', 'toolsStat'],
598
609
  ]
599
610
  const showStats = state.kind === 'ready' && current !== undefined
600
611
 
@@ -618,9 +629,10 @@ window.__ModuleLoader__.load({
618
629
  h('button', { type: 'button', style: styles.button, onClick: refresh }, t('retry'))) : null,
619
630
  notice ? h('p', { role: 'status', style: styles.message }, notice) : null,
620
631
  panel('plugins', h(PluginsPanel, {
621
- pluginRows, findings, plugins, query: needle, busy, canManage,
632
+ pluginRows, query: needle, busy, canManage,
622
633
  onToggle: toggle, resolve, t,
623
634
  })),
635
+ panel('findings', h(FindingsPanel, { findings, plugins, query: needle, t })),
624
636
  panel('config', h(ConfigPanel, { settings, settingsReady: settings !== undefined, plugins, forms, provenance: current?.provenance, t })),
625
637
  panel('skill', h(SkillPanel, { skills, needle, onRetry: refresh, t })),
626
638
  panel('tools', h(ToolsPanel, { tools: toolsView, toolRows, rows: toolRows, needle, onRetry: refresh, t })))
@@ -636,7 +648,7 @@ window.__ModuleLoader__.load({
636
648
  const zh = {
637
649
  tab: '插件管理', search: '搜索当前视图的插件、配置、Skill 或工具', refresh: '刷新', loading: '正在读取 Host 状态…', loadingShort: '读取中…',
638
650
  eyebrow: '插件健康与管理', heading: '插件管理', description: '查看插件状态与冲突,追踪配置来源,浏览 Skill 目录与工具注册归属,并通过受控操作修复问题。', summary: '当前状态', items: '项',
639
- viewsLabel: '管理视图', 'tabs.plugins': '插件', 'tabs.config': '配置', 'tabs.skill': 'Skill', 'tabs.tools': '工具',
651
+ viewsLabel: '管理视图', 'tabs.plugins': '插件', 'tabs.findings': '健康诊断', 'tabs.config': '配置', 'tabs.skill': 'Skill', 'tabs.tools': '工具',
640
652
  pluginsIntro: '实时插件清单、健康诊断与启停操作。只列出当前 Profile 可寻址的插件。',
641
653
  pluginNoDescription: '该包未声明说明。', pluginNoMeta: 'Loader 内部条目,无包元数据。',
642
654
  configIntro: '按 Host schema 编辑非密钥配置,并查看每个字段的有效来源与被覆盖层。',
@@ -646,7 +658,7 @@ window.__ModuleLoader__.load({
646
658
  error: '无法读取运行时清单。', retry: '重试', noRows: '暂无记录。', noMatches: '没有匹配的记录。',
647
659
  loadingTools: '正在读取工具注册清单…', toolInventoryUnavailable: '此 Host 未提供工具注册清单路由(/api/wj/tool-inventory),工具视图不可用。', toolInventoryError: '无法读取工具注册清单。',
648
660
  ownerUnknown: '未记录(Host 未暴露归属)', ownerMcp: 'MCP 服务器', ownerInferred: '推断',
649
- findingsTitle: '健康诊断', pluginsTitle: '插件', configurationTitle: '配置管理', plugins: '插件', enabled: '已启用', findings: '发现项', severity: '严重程度', affected: '相关插件', evidence: '证据',
661
+ findingsTitle: '健康诊断', findingsIntro: '插件健康诊断来自启动失败(fiber 进入 failed)的条目及其失败原因;已停用或尚未加载的条目不算异常。', findingsEmpty: '未发现插件健康问题:当前没有启动失败的条目。', pluginsTitle: '插件', configurationTitle: '配置管理', plugins: '插件', enabled: '已启用', findings: '发现项', severity: '严重程度', affected: '相关插件', evidence: '证据',
650
662
  configEmpty: 'Host 未暴露可编辑的配置命名空间。', configUnavailable: '此 Host 未提供设置表单接口,配置视图不可用。',
651
663
  skillsTitle: 'Skill 目录', skillEmpty: '当前会话没有可用的 Skill。', skillUnsupported: '此 Host 未提供 skills 接口,Skill 目录不可用。', skillNoSession: '尚无可用会话。打开或切换会话后,这里会自动加载,无需刷新。', skillError: '无法读取 Skill 目录。', loadingSkills: '正在读取 Skill 目录…',
652
664
  skillModelInvocable: '模型可调用', skillUserOnly: '仅用户可调用', skillWhenToUse: '适用场景', skillPath: '指令文件',
@@ -663,7 +675,7 @@ window.__ModuleLoader__.load({
663
675
  const en = {
664
676
  tab: 'Plugin management', search: 'Search the current view for plugins, settings, skills or tools', refresh: 'Refresh', loading: 'Reading Host state…', loadingShort: 'Loading…',
665
677
  eyebrow: 'PLUGIN HEALTH AND MANAGEMENT', heading: 'Plugin management', description: 'Review plugin status and conflicts, trace configuration sources, browse the skill catalog and tool ownership, and repair issues through bounded actions.', summary: 'Current status', items: 'items',
666
- viewsLabel: 'Management views', 'tabs.plugins': 'Plugins', 'tabs.config': 'Configuration', 'tabs.skill': 'Skills', 'tabs.tools': 'Tools',
678
+ viewsLabel: 'Management views', 'tabs.plugins': 'Plugins', 'tabs.findings': 'Health', 'tabs.config': 'Configuration', 'tabs.skill': 'Skills', 'tabs.tools': 'Tools',
667
679
  pluginsIntro: 'Live plugin inventory, health findings and enable/disable actions. Only plugins addressable by the active profile are listed.',
668
680
  pluginNoDescription: 'The package declares no description.', pluginNoMeta: 'Loader-internal entry; no package metadata.',
669
681
  configIntro: 'Edit non-secret settings through the Host schema and see each field’s effective source and shadowed layers.',
@@ -673,7 +685,7 @@ window.__ModuleLoader__.load({
673
685
  error: 'The runtime inventory could not be read.', retry: 'Retry', noRows: 'No records.', noMatches: 'No matching records.',
674
686
  loadingTools: 'Reading the tool registry…', toolInventoryUnavailable: 'This Host does not serve the tool registry route (/api/wj/tool-inventory); the tool view is unavailable.', toolInventoryError: 'The tool registry could not be read.',
675
687
  ownerUnknown: 'Not recorded (the Host exposes no owner)', ownerMcp: 'MCP server', ownerInferred: 'inferred',
676
- findingsTitle: 'Health findings', pluginsTitle: 'Plugins', configurationTitle: 'Configuration', plugins: 'plugins', enabled: 'enabled', findings: 'findings', severity: 'Severity', affected: 'Affected plugins', evidence: 'Evidence',
688
+ findingsTitle: 'Health findings', findingsIntro: 'Plugin health findings derive from entries whose startup failed (the fiber reached “failed”) and the diagnostic the Host returned; disabled or not-yet-loaded entries are not findings.', findingsEmpty: 'No plugin health findings: no addressable entry failed to start.', pluginsTitle: 'Plugins', configurationTitle: 'Configuration', plugins: 'plugins', enabled: 'enabled', findings: 'findings', severity: 'Severity', affected: 'Affected plugins', evidence: 'Evidence',
677
689
  configEmpty: 'The Host exposes no editable configuration namespaces.', configUnavailable: 'This Host does not expose settings forms; configuration is unavailable.',
678
690
  skillsTitle: 'Skill catalog', skillEmpty: 'The current session has no available skills.', skillUnsupported: 'This Host does not expose the skills interface; the catalog is unavailable.', skillNoSession: 'No session yet. Open or switch a session and this view loads automatically — no refresh needed.', skillError: 'The skill catalog could not be read.', loadingSkills: 'Reading the skill catalog…',
679
691
  skillModelInvocable: 'Model-invocable', skillUserOnly: 'User-only', skillWhenToUse: 'When to use', skillPath: 'Instruction file',
Binary file
package/icon.webp ADDED
Binary file
package/locale/en.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "meta": {
3
- "title": "WJ Plugin Management"
3
+ "title": "WJ Plugin Management",
4
+ "description": "One management page for plugin health findings, configuration provenance, the skill catalog and tool ownership. For MCP server management, install @tinyforge/dsh-mcp-settings, which provides the MCP settings page."
4
5
  },
5
6
  "tab": "Plugin management",
6
7
  "views": {
@@ -18,7 +19,7 @@
18
19
  "empty": "There are no plugin or tool records yet.",
19
20
  "unsupported": "This Harness Host does not provide plugin management and runtime inventory. Upgrade Harness to manage plugins.",
20
21
  "tools": "Tool registrations",
21
- "mcpNote": "Adding and connecting MCP servers belongs to the Host's MCP settings page; this page covers plugin-side ownership only.",
22
+ "mcpNote": "Adding and connecting MCP servers belongs to the MCP settings page provided by @tinyforge/dsh-mcp-settings; this page covers plugin-side ownership only.",
22
23
  "owner": "Owning plugin",
23
24
  "scope": "Scope",
24
25
  "global": "Global",
package/locale/zh.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "meta": {
3
- "title": "WJ 插件管理"
3
+ "title": "WJ 插件管理",
4
+ "description": "插件健康诊断、配置来源、Skill 目录与工具注册归属的统一管理页。MCP 服务器管理推荐安装 @tinyforge/dsh-mcp-settings,由它提供 MCP 设置页。"
4
5
  },
5
6
  "tab": "插件管理",
6
7
  "views": {
@@ -18,7 +19,7 @@
18
19
  "empty": "当前没有插件或工具记录。",
19
20
  "unsupported": "当前 Harness Host 未提供插件管理和运行时清单,请升级 Harness 后管理插件。",
20
21
  "tools": "工具注册",
21
- "mcpNote": "MCP 服务器的添加与连接由 Host 的 MCP 设置页负责;本页只做插件侧的注册归属诊断。",
22
+ "mcpNote": "MCP 服务器的添加与连接由 @tinyforge/dsh-mcp-settings 提供的 MCP 设置页负责;本页只做插件侧的注册归属诊断。",
22
23
  "owner": "所属插件",
23
24
  "scope": "作用域",
24
25
  "global": "全局",
package/package.json CHANGED
@@ -1,16 +1,20 @@
1
1
  {
2
2
  "name": "@tinyforge/dsh-plugin-manager-wj",
3
- "version": "1.6.0",
4
- "description": "Switchable plugin, configuration, skill and tool-ownership views with health diagnostics, configuration provenance, and tool inventory for DeepSeek Harness.",
3
+ "version": "1.7.1",
4
+ "description": "Plugin health, configuration provenance, skill catalog and tool-ownership views for DeepSeek Harness; MCP server management is recommended through @tinyforge/dsh-mcp-settings.",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
+ "icon": "icon.webp",
7
8
  "scripts": { "test": "node --test" },
8
9
  "exports": {
9
10
  ".": "./index.js",
10
11
  "./client": "./client.js",
12
+ "./cordis.patch.yml": "./cordis.patch.yml",
13
+ "./icon": "./icon.webp",
14
+ "./package.json": "./package.json",
11
15
  "./locale/*.json": "./locale/*.json"
12
16
  },
13
- "files": ["index.js", "client.js", "cordis.patch.yml", "locale/*.json", "README.md", "README.zh.md", "LICENSE"],
17
+ "files": ["index.js", "client.js", "cordis.patch.yml", "icon.webp", "docs/screenshot.webp", "locale/*.json", "README.md", "README.zh.md", "LICENSE"],
14
18
  "dsh": {
15
19
  "bundle": { "patch": "./cordis.patch.yml" },
16
20
  "client": {