dsh-agency-agents 0.3.0 → 0.3.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 +16 -9
- package/client.js +179 -0
- package/docs/DETAIL.md +1 -1
- package/docs/PUBLISHING.md +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,20 +15,26 @@
|
|
|
15
15
|
|
|
16
16
|
## 安装
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#
|
|
18
|
+
公开包:**`dsh-agency-agents@0.3.1`**(npm 公共 registry)。由 DSH 的插件管理器统一安装/升级:
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
plugin_manager: action=install_bundle, target=dsh-agency-agents@0.3.1
|
|
22
|
+
# 或 Plugins 页搜索 dsh-agency-agents 直接安装
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
镜像还没同步时,用发布产物的 tarball 离线安装(同样受 DSH 管理,可随时 remove/升级):
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
plugin_manager: action=install_bundle, target=file:C:/Users/63676/dsh-bundles/dist/dsh-agency-agents-0.3.1.tgz
|
|
23
29
|
```
|
|
24
30
|
|
|
25
31
|
安装后:**Plugins → Agency Agents** 能看到条目;左侧栏出现图标;点开即是管理页。
|
|
26
32
|
|
|
27
|
-
>
|
|
33
|
+
> 依赖:peer 只有 `@deepseek-ai/dsh-tools` 与 `@deepseek-ai/schemastery`(由 DSH 安装本身提供,运行时从安装解析);浏览器端零依赖。
|
|
28
34
|
|
|
29
35
|
## 配置
|
|
30
36
|
|
|
31
|
-
配置就是 DSH 插件配置页里的这一行(**Plugins → Agency Agents →
|
|
37
|
+
配置就是 DSH 插件配置页里的这一行(**Plugins → Agency Agents → 行右侧「配置」**)。DSH 的原生配置编辑器把它写进 profile patch 层(`$DSH_HOME/profiles/<profile>/cordis.patch.yml`),升级插件不会丢;插件自己不持有设置文件,也没有第二套保存逻辑。
|
|
32
38
|
|
|
33
39
|
```yaml
|
|
34
40
|
- id: agency-agents
|
|
@@ -61,9 +67,9 @@
|
|
|
61
67
|
| **协作流程** | 浏览 4 个 runbook(`startup-mvp` / `enterprise-feature` / `marketing-campaign` / `incident-response`),显示分组、activation(`always` / `week 3+` / `as needed`)与缺失角色;点「根据此流程组建团队」带着该 runbook 跳到「团队编排」。 |
|
|
62
68
|
| **团队编排** | 填目标、调规模、选偏好 division、手动增删角色;「生成编排」得到 Lead / Specialist / Reviewer / Integrator、任务 DAG、写入范围与约 3.2 KB 可执行提示词;两种启动方式见下。 |
|
|
63
69
|
| **版本** | 列出已保存版本;对非当前版本「切换到此版本」会原子切换 active 指针,页面立刻回退到旧版本。 |
|
|
64
|
-
| ~~**设置**~~ | 已移除:配置全部交给 DSH
|
|
70
|
+
| ~~**设置**~~ | 已移除:配置全部交给 DSH 插件页的原生配置表单(Plugins → Agency Agents → 该行「配置」) |
|
|
65
71
|
|
|
66
|
-
> **配置在哪里**:全部配置都在 **Plugins → Agency Agents →
|
|
72
|
+
> **配置在哪里**:全部配置都在 **Plugins → Agency Agents → 行右侧「配置」**(DSH 原生插件配置表单,直接写 Loader 行)。插件面板只保留角色 / 协作流程 / 团队编排 / 版本四个页签,没有自己的设置页,也没有偏好文件。GitHub Token 是 `role('secret')` 配置字段:读取时被 DSH 脱敏,不会回传页面。
|
|
67
73
|
|
|
68
74
|
**从 runbook 起团队**:协作流程页选 runbook → 「根据此流程组建团队」→ 填目标与规模 → 「生成编排」→ 启动。
|
|
69
75
|
|
|
@@ -279,6 +285,7 @@ node --test
|
|
|
279
285
|
|
|
280
286
|
| 迁移 | 做了什么 | 证据 |
|
|
281
287
|
|---|---|---|
|
|
288
|
+
| **插件 0.3.1(补回配置入口)** | 把配置页注册到 DSH 插件页的原生槽 `plugins.row.config`(键 `dsh-agency-agents#agency-agents`):页面 chrome、表单状态与写入全部由宿主提供(`form.mutate` → 配置文档),插件不再有 `/settings` 接口或偏好文件 | Plugins → Agency Agents → 行右侧「配置」可编辑全部 16 个字段;Token 为 secret 字段,读取脱敏 |
|
|
282
289
|
| **插件 0.2.2 → 0.3.0(交接 DSH 统一管理)** | ① 删除插件自管的设置页/保存按钮/`preferences.json` 与 `/settings` 接口;② 16 个配置字段全部回到 DSH 的插件配置页(`Config` → Loader 行),Token 改为 `role('secret')` 配置字段(读取脱敏);③ 旧技能维护动作移入面板(检测到才显示);④ 补 `LICENSE`、`icon`、打包元数据,`pnpm pack` 产物可安装并加载 | 单测 87 pass;`pnpm pack` 34 个文件;tarball 装进临时工程 + 加载 `Config({})` 成功;插件重载后 5 个工具注册 |
|
|
283
290
|
| **0.2.2-rc.5 → 0.2.3-alpha.2**(本插件 0.2.1 → 0.2.2) | ① `dsh-tools` peer+dev → `0.2.3-alpha.2`,`schemastery` → `~3.20.0-alpha.1`(宿主已升到 3.20.0-alpha.1);② `engines.dsh` 按官方新规范改为 `^0.2.3-alpha.2`(caret + prerelease 下界);③ 全量测试对 0.2.3-alpha.2 SDK 重跑;④ 适配**新增强制鉴权**:`dsh-host-authentication-token` 让所有路由默认 `auth: 'required'`,我们把插件路由显式声明为 `required`,并给客户端补了 401 专属提示("此页面未通过 DSH 鉴权") | `node --test` → 81 pass;`index.js` 在 schemastery 3.20.0-alpha.1 下可加载且 `Config({})` 正常;无 cookie 探针 → `GET /agency-agents/api/v1/ping` = **401 `unauthorized`**(证明路由已注册且受鉴权保护);5 个工具在 0.2.3-alpha.2 上注册成功、`agency_roles_search` 实际调用成功 |
|
|
284
291
|
| **0.2.2-rc.4 → 0.2.2-rc.5**(本插件 0.2.0 → 0.2.1) | ① `@deepseek-ai/dsh-tools` peer+dev 升到 `0.2.2-rc.5` 并 `pnpm install`;② `TESTED_SDK_VERSION` 改为 `0.2.2-rc.5`(`/ping.sdkVersionDrift` 归零);③ `/ping.hostVersion` 改为读运行时解析到的 SDK 版本,不再硬编码;④ 全量测试对 rc.5 SDK 重跑 | `/ping` → `sdk=0.2.2-rc.5, host=0.2.2-rc.5, drift=""`;`node --test` → 81 pass;`agentTeams` / `sessionController.prompt` / `main`+`sidebar.panellist` 槽及 `useSessions` 标准 prop 经 Inspect 复核**签名未变**;`Config.listConfigs` 仍为 `schema` |
|
package/client.js
CHANGED
|
@@ -140,6 +140,25 @@ window.__ModuleLoader__.load({
|
|
|
140
140
|
'legacy.parked': '已停用 {count} 个旧技能(保存在 {target})',
|
|
141
141
|
'legacy.restore': '恢复旧技能',
|
|
142
142
|
'legacy.restored': '已恢复 {count} 个旧技能',
|
|
143
|
+
'config.summary': '每 {interval} 分钟检查 · 团队上限 {cap} · 自动关闭:{auto}',
|
|
144
|
+
'config.summaryPending': '正在读取配置…',
|
|
145
|
+
'config.on': '开',
|
|
146
|
+
'config.off': '关',
|
|
147
|
+
'config.unavailable': '这个页面没有拿到可写的配置表单。',
|
|
148
|
+
'config.interval': '自动检查间隔(分钟)',
|
|
149
|
+
'config.maxTeam': '团队上限',
|
|
150
|
+
'config.proxy': '代理',
|
|
151
|
+
'config.proxyPlaceholder': 'http://127.0.0.1:7890(留空表示直连)',
|
|
152
|
+
'config.token': 'GitHub Token(留空不修改)',
|
|
153
|
+
'config.tokenPlaceholder': '粘贴 token 后保存',
|
|
154
|
+
'config.tokenHint': 'Token 是 secret 字段:DSH 读取时脱敏,页面不会再显示已保存的值。',
|
|
155
|
+
'config.tokenClear': '清除 Token',
|
|
156
|
+
'config.strict': '严格校验(上游有坏文件就整体拒绝)',
|
|
157
|
+
'config.autoTeamMode': '任务板清空后自动关闭 Team 模式',
|
|
158
|
+
'config.saved': '已保存',
|
|
159
|
+
'config.refused': '保存被 Host 拒绝(检查数值范围)',
|
|
160
|
+
'config.failed': '保存失败:{message}',
|
|
161
|
+
'config.numeric': '间隔与团队上限必须是数字',
|
|
143
162
|
'header.upstream': '上游',
|
|
144
163
|
'header.updated': '生成于',
|
|
145
164
|
'header.checkNow': '检查',
|
|
@@ -263,6 +282,25 @@ window.__ModuleLoader__.load({
|
|
|
263
282
|
'legacy.parked': '{count} legacy skill(s) parked in {target}',
|
|
264
283
|
'legacy.restore': 'Restore legacy skills',
|
|
265
284
|
'legacy.restored': 'Restored {count} legacy skill(s)',
|
|
285
|
+
'config.summary': 'Checks every {interval} min · team cap {cap} · auto-off: {auto}',
|
|
286
|
+
'config.summaryPending': 'Loading configuration…',
|
|
287
|
+
'config.on': 'on',
|
|
288
|
+
'config.off': 'off',
|
|
289
|
+
'config.unavailable': 'This page did not receive a writable configuration form.',
|
|
290
|
+
'config.interval': 'Automatic check interval (minutes)',
|
|
291
|
+
'config.maxTeam': 'Team cap',
|
|
292
|
+
'config.proxy': 'Proxy',
|
|
293
|
+
'config.proxyPlaceholder': 'http://127.0.0.1:7890 (empty = direct)',
|
|
294
|
+
'config.token': 'GitHub token (leave empty to keep)',
|
|
295
|
+
'config.tokenPlaceholder': 'Paste a token and save',
|
|
296
|
+
'config.tokenHint': 'The token is a secret field: DSH redacts it on every read, so a saved value is never shown again.',
|
|
297
|
+
'config.tokenClear': 'Clear token',
|
|
298
|
+
'config.strict': 'Strict validation (reject a sync with a bad file)',
|
|
299
|
+
'config.autoTeamMode': 'Switch Team mode off automatically once the board is empty',
|
|
300
|
+
'config.saved': 'Saved',
|
|
301
|
+
'config.refused': 'The Host refused the write (check the numeric ranges)',
|
|
302
|
+
'config.failed': 'Could not save: {message}',
|
|
303
|
+
'config.numeric': 'Interval and team cap must be numbers',
|
|
266
304
|
'header.upstream': 'upstream',
|
|
267
305
|
'header.updated': 'generated',
|
|
268
306
|
'header.checkNow': 'Check',
|
|
@@ -364,6 +402,10 @@ border-radius:var(--dsw-radius-md);border:0.5px solid var(--dsw-alias-border-l2)
|
|
|
364
402
|
.aag-field textarea{height:auto;min-height:72px;padding:8px 10px;resize:vertical}
|
|
365
403
|
.aag-field input:focus,.aag-field select:focus,.aag-field textarea:focus{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-1px}
|
|
366
404
|
.aag-check{display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:var(--dsw-alias-label-primary)}
|
|
405
|
+
.aag-config{display:flex;flex-direction:column;gap:12px;max-width:560px;padding:4px 0}
|
|
406
|
+
.aag-configChecks{display:flex;flex-direction:column;gap:8px}
|
|
407
|
+
.aag-configHint{font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary);margin:0}
|
|
408
|
+
.aag-configSummary{font-size:12px;line-height:18px;color:var(--dsw-alias-label-tertiary)}
|
|
367
409
|
.aag-notice{padding:8px 12px;border-radius:var(--dsw-radius-md);font-size:12px;line-height:18px;border:0.5px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary)}
|
|
368
410
|
.aag-notice.warn{border-color:var(--dsw-alias-state-warn-primary);color:var(--dsw-alias-state-warn-primary)}
|
|
369
411
|
.aag-notice.ok{border-color:var(--dsw-alias-state-success-primary);color:var(--dsw-alias-state-success-primary)}
|
|
@@ -478,6 +520,138 @@ animation:aag-spin .8s linear infinite}
|
|
|
478
520
|
)
|
|
479
521
|
}
|
|
480
522
|
|
|
523
|
+
/**
|
|
524
|
+
* Native Plugins-page configuration for this bundle's row.
|
|
525
|
+
*
|
|
526
|
+
* Registered through `plugins.row.config`, so DSH draws the page chrome and
|
|
527
|
+
* owns both the form state and the write path: every edit goes through the
|
|
528
|
+
* Host settings document (`form.mutate`), never through a plugin endpoint.
|
|
529
|
+
* The GitHub token stays a `role('secret')` config field, so the Host hands
|
|
530
|
+
* this page a redacted value and the page can only set or clear it.
|
|
531
|
+
* @param {{ view?: 'summary' | 'page', form?: object, t?: Function }} props - Slot props.
|
|
532
|
+
* @returns {object | null} React element.
|
|
533
|
+
*/
|
|
534
|
+
function AgencyConfigPage(props) {
|
|
535
|
+
const t = typeof props.t === 'function' ? props.t : key => key
|
|
536
|
+
const form = props.form
|
|
537
|
+
const values = form?.state?.value
|
|
538
|
+
const [draft, setDraft] = React.useState(undefined)
|
|
539
|
+
const [busy, setBusy] = React.useState(false)
|
|
540
|
+
const [notice, setNotice] = React.useState(undefined)
|
|
541
|
+
|
|
542
|
+
React.useEffect(() => {
|
|
543
|
+
if (values === undefined) return
|
|
544
|
+
setDraft({
|
|
545
|
+
intervalMinutes: values.intervalMinutes,
|
|
546
|
+
maxTeamMembers: values.maxTeamMembers,
|
|
547
|
+
strictValidation: values.strictValidation === true,
|
|
548
|
+
autoTeamMode: values.autoTeamMode !== false,
|
|
549
|
+
proxy: values.proxy ?? '',
|
|
550
|
+
githubToken: '',
|
|
551
|
+
})
|
|
552
|
+
}, [values])
|
|
553
|
+
|
|
554
|
+
if (props.view === 'summary') {
|
|
555
|
+
if (values === undefined) return h('span', { className: 'aag-configHint' }, t('config.summaryPending'))
|
|
556
|
+
return h(
|
|
557
|
+
'span',
|
|
558
|
+
{ className: 'aag-configSummary' },
|
|
559
|
+
t('config.summary')
|
|
560
|
+
.replace('{interval}', String(values.intervalMinutes ?? '—'))
|
|
561
|
+
.replace('{cap}', String(values.maxTeamMembers ?? '—'))
|
|
562
|
+
.replace('{auto}', values.autoTeamMode !== false ? t('config.on') : t('config.off')),
|
|
563
|
+
)
|
|
564
|
+
}
|
|
565
|
+
if (form === undefined) return h('p', { className: 'aag-configHint' }, t('config.unavailable'))
|
|
566
|
+
if (form.state.status !== 'ready' || draft === undefined) return h(Skeleton)
|
|
567
|
+
|
|
568
|
+
const persist = async ops => {
|
|
569
|
+
setBusy(true)
|
|
570
|
+
setNotice(undefined)
|
|
571
|
+
try {
|
|
572
|
+
const accepted = await form.mutate(ops)
|
|
573
|
+
setNotice({ kind: accepted ? 'ok' : 'bad', text: accepted ? t('config.saved') : t('config.refused') })
|
|
574
|
+
if (accepted) setDraft(current => (current === undefined ? current : { ...current, githubToken: '' }))
|
|
575
|
+
} catch (error) {
|
|
576
|
+
setNotice({ kind: 'bad', text: t('config.failed').replace('{message}', error instanceof Error ? error.message : String(error)) })
|
|
577
|
+
} finally {
|
|
578
|
+
setBusy(false)
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
const save = () => {
|
|
583
|
+
const interval = Number(draft.intervalMinutes)
|
|
584
|
+
const cap = Number(draft.maxTeamMembers)
|
|
585
|
+
if (!Number.isFinite(interval) || !Number.isFinite(cap)) {
|
|
586
|
+
setNotice({ kind: 'bad', text: t('config.failed').replace('{message}', t('config.numeric')) })
|
|
587
|
+
return
|
|
588
|
+
}
|
|
589
|
+
const ops = [
|
|
590
|
+
{ op: 'set', path: ['intervalMinutes'], value: Math.trunc(interval) },
|
|
591
|
+
{ op: 'set', path: ['maxTeamMembers'], value: Math.trunc(cap) },
|
|
592
|
+
{ op: 'set', path: ['strictValidation'], value: draft.strictValidation === true },
|
|
593
|
+
{ op: 'set', path: ['autoTeamMode'], value: draft.autoTeamMode !== false },
|
|
594
|
+
{ op: 'set', path: ['proxy'], value: typeof draft.proxy === 'string' ? draft.proxy.trim() : '' },
|
|
595
|
+
]
|
|
596
|
+
if (typeof draft.githubToken === 'string' && draft.githubToken.trim() !== '') {
|
|
597
|
+
ops.push({ op: 'set', path: ['githubToken'], value: draft.githubToken.trim() })
|
|
598
|
+
}
|
|
599
|
+
void persist(ops)
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
const field = (label, control) => h('label', { className: 'aag-field' }, h('span', null, label), control)
|
|
603
|
+
return h(
|
|
604
|
+
'div',
|
|
605
|
+
{ className: 'aag-config' },
|
|
606
|
+
notice === undefined ? null : h('p', { className: notice.kind === 'ok' ? 'aag-notice ok' : 'aag-notice bad' }, notice.text),
|
|
607
|
+
h(
|
|
608
|
+
'div',
|
|
609
|
+
{ className: 'aag-grid2' },
|
|
610
|
+
field(
|
|
611
|
+
t('config.interval'),
|
|
612
|
+
h('input', { type: 'number', min: 5, max: 1440, value: draft.intervalMinutes, onChange: event => setDraft({ ...draft, intervalMinutes: event.target.value }) }),
|
|
613
|
+
),
|
|
614
|
+
field(
|
|
615
|
+
t('config.maxTeam'),
|
|
616
|
+
h('input', { type: 'number', min: 1, max: 16, value: draft.maxTeamMembers, onChange: event => setDraft({ ...draft, maxTeamMembers: event.target.value }) }),
|
|
617
|
+
),
|
|
618
|
+
field(
|
|
619
|
+
t('config.proxy'),
|
|
620
|
+
h('input', { type: 'text', placeholder: t('config.proxyPlaceholder'), value: draft.proxy, onChange: event => setDraft({ ...draft, proxy: event.target.value }) }),
|
|
621
|
+
),
|
|
622
|
+
field(
|
|
623
|
+
t('config.token'),
|
|
624
|
+
h('input', { type: 'password', placeholder: t('config.tokenPlaceholder'), value: draft.githubToken, onChange: event => setDraft({ ...draft, githubToken: event.target.value }) }),
|
|
625
|
+
),
|
|
626
|
+
),
|
|
627
|
+
h(
|
|
628
|
+
'div',
|
|
629
|
+
{ className: 'aag-configChecks' },
|
|
630
|
+
h('label', { className: 'aag-check' },
|
|
631
|
+
h('input', { type: 'checkbox', checked: draft.strictValidation, onChange: event => setDraft({ ...draft, strictValidation: event.target.checked }) }),
|
|
632
|
+
h('span', null, t('config.strict')),
|
|
633
|
+
),
|
|
634
|
+
h('label', { className: 'aag-check' },
|
|
635
|
+
h('input', { type: 'checkbox', checked: draft.autoTeamMode, onChange: event => setDraft({ ...draft, autoTeamMode: event.target.checked }) }),
|
|
636
|
+
h('span', null, t('config.autoTeamMode')),
|
|
637
|
+
),
|
|
638
|
+
),
|
|
639
|
+
h('p', { className: 'aag-configHint' }, t('config.tokenHint')),
|
|
640
|
+
h(
|
|
641
|
+
'div',
|
|
642
|
+
{ className: 'aag-toolbar' },
|
|
643
|
+
h('button', { type: 'button', className: 'aag-button primary', disabled: busy, onClick: save },
|
|
644
|
+
busy ? h('span', { className: 'aag-spin' }) : null, t('action.save')),
|
|
645
|
+
h('button', {
|
|
646
|
+
type: 'button',
|
|
647
|
+
className: 'aag-button ghost',
|
|
648
|
+
disabled: busy || typeof values?.githubToken === 'string' && values.githubToken !== '',
|
|
649
|
+
onClick: () => void persist([{ op: 'unset', path: ['githubToken'] }]),
|
|
650
|
+
}, t('config.tokenClear')),
|
|
651
|
+
),
|
|
652
|
+
)
|
|
653
|
+
}
|
|
654
|
+
|
|
481
655
|
/**
|
|
482
656
|
* Legacy Agent Skills maintenance: the old `~/.dsh/skills/agency-*` copies
|
|
483
657
|
* that duplicate this plugin roster. The native plugin configuration page
|
|
@@ -1459,6 +1633,11 @@ animation:aag-spin .8s linear infinite}
|
|
|
1459
1633
|
ctx.slots.register({ name: 'sidebar.panellist', id: 'agency-agents', order: 20, label: () => t('panel.title'), locale: NS }, AgencyIcon),
|
|
1460
1634
|
)
|
|
1461
1635
|
ctx.slots.inject('main', () => ctx.slots.register({ name: 'main', key: 'agency-agents', locale: NS }, AgencyPanel))
|
|
1636
|
+
// Native Plugins page: the bundle row's configuration page. DSH draws the
|
|
1637
|
+
// chrome and owns the form state and write path (form.mutate).
|
|
1638
|
+
ctx.slots.inject('plugins.row.config', () =>
|
|
1639
|
+
ctx.slots.register({ name: 'plugins.row.config', key: 'dsh-agency-agents#agency-agents', locale: NS }, AgencyConfigPage),
|
|
1640
|
+
)
|
|
1462
1641
|
},
|
|
1463
1642
|
}
|
|
1464
1643
|
},
|
package/docs/DETAIL.md
CHANGED
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
- **值得组队**:直接在当前会话开启 DSH 原生 Team 模式并投递团队任务,不新开会话;成功后会提示会话 id 与 Team 模式。
|
|
48
48
|
- **不值得**:明确提示"单 Agent 更合适"(或"目标太短"),不创建团队、不开启 Team 模式。
|
|
49
49
|
- **用完自动关**:团队任务板清空(全部 `completed`/`deleted`)并过了 90 秒宽限后,插件自动关闭该会话的 Team 模式,面板收到 `team/mode` 事件提示;配置页的 `autoTeamMode` 可关掉这个行为。
|
|
50
|
-
- 所有配置(间隔 / 团队上限 / 严格校验 / 自动关闭 / 代理 / Token)都在 **Plugins → Agency Agents →
|
|
50
|
+
- 所有配置(间隔 / 团队上限 / 严格校验 / 自动关闭 / 代理 / Token)都在 **Plugins → Agency Agents → 行右侧「配置」**:DSH 原生插件配置表单直接写 Loader 行,插件没有自己的设置页与偏好文件。旧技能维护是面板里的一个提示块(检测到才出现)。
|
|
51
51
|
- 团队规模上限仍是 `min(maxActiveSubagents, maxTeamMembers)`。面板拿不到当前会话 id 时退回"新开会话";模型侧调用要求当前会话可用,否则明确报错并提示改用 `mode:"new"`。
|
package/docs/PUBLISHING.md
CHANGED
|
@@ -35,6 +35,7 @@ node -e "import('./node_modules/dsh-agency-agents/index.js').then(m => console.l
|
|
|
35
35
|
5. 在 DSH 的 Plugins 页搜索安装,或:
|
|
36
36
|
`plugin_manager install_bundle dsh-agency-agents@0.3.0`。
|
|
37
37
|
|
|
38
|
+
> **首次发布注意**:npm 对全新包名会先写一个 `0.0.0-stage` 占位("Temporary package placeholder for staged publishing"),真实版本要等 registry 处理完成才出现在 `versions` 里;`npm view <pkg> versions --prefer-online` 可确认。DSH 的 profile 若配置了 npm 镜像,镜像同步会滞后于官方 registry(本机实测官方已发布、镜像仍是 `0.0.0-stage`),此时用 `file:<tarball>` 安装,等镜像同步后再换成版本号安装。
|
|
38
39
|
## 3. 私有/内网 market 索引
|
|
39
40
|
|
|
40
41
|
不发布公共 npm 时,同样先 `npm pack` 得到一个可安装包,然后二选一:
|