@khorsheed/dsh-local-agent 0.1.0-rc.7 → 0.1.0-rc.8
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/CHANGELOG.md +4 -0
- package/README.en.md +2 -2
- package/README.i18n.yaml +2 -2
- package/README.md +2 -2
- package/lib/client.js +2392 -1229
- package/lib/typert.host.js +6 -2
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# 变更记录
|
|
2
2
|
|
|
3
|
+
## 0.1.0-rc.8(2026-09-30)
|
|
4
|
+
|
|
5
|
+
家族同版联动:加宽 `@deepseek-ai/dsh-*` peer 区间以覆盖宿主 0.2.0(0.2.0 的兼容闸会禁用 peer 区间不覆盖宿主版本的已装插件)。无功能变更。
|
|
6
|
+
|
|
3
7
|
## 0.1.0-rc.7(2026-09-27)
|
|
4
8
|
|
|
5
9
|
家族同版联动:随宿主 0.1.7-rc.2 基线发布波重发,全量构建+测试在 rc.2 基线通过(rc.1→rc.2 无触及本家族的宿主变更,逐类清点见 [Agent Note](../../.agents/notes/implemented/architecture/2026-09-27-host-017-rc2-breaking-changes.md))。README 按仓标准补齐双语。无功能变更。
|
package/README.en.md
CHANGED
|
@@ -6,7 +6,7 @@ Drive the coding-agent CLIs installed on this machine — Kimi Code, Codex, Clau
|
|
|
6
6
|
|
|
7
7
|
This is the local-agent family core: each CLI registers as one harness and gets an isolated scoped home under the shared homes root (created 0700 — your native CLI installation is never touched), a `/<harness> login|sessions|status|logout` slash-command family, and an auth card in Settings; the family's delegation ability — handing session work to a local CLI and resuming it later, even across host restarts — hangs off the same registry. The harnesses themselves ship as separate packages (`@khorsheed/dsh-local-agent-kimi` and friends); this package contains none.
|
|
8
8
|
|
|
9
|
-
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-
|
|
9
|
+
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/08-local-agent.png" width="640" alt="the Local Agent cards under Settings → Plugins, header dots showing each provider's auth state">
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ This is the local-agent family core: each CLI registers as one harness and gets
|
|
|
18
18
|
- **Member sessions continue in the sidebar (host 0.1.6+)** — the official subagent directory gained an "Open in sidebar" row action: member sessions are one-shot subagents, so opened aside, this family's MemberComposer is elected as the writable composer — a zero-change benefit of this package; 0.1.5 hosts have no such entry and behave as before.
|
|
19
19
|
- **Several logins per harness (named scopes)** — `/<harness> login --scope <name>` opens a second scoped home at `<homesRoot>/<harness>@<name>`: its own login, its own session records, its own `delegations.jsonl`, and nothing copied from the default one. An evaluation can therefore compare two accounts of one harness in a single run.
|
|
20
20
|
|
|
21
|
-
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-
|
|
21
|
+
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/local-agent-member.png" width="640" alt="a member session delegated to a local CLI: live output streaming in, with the writable member composer and its model picker at the bottom">
|
|
22
22
|
|
|
23
23
|
## Install
|
|
24
24
|
|
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# last confirmed-consistent state. Both languages carry equal authority; after
|
|
3
3
|
# editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/local-agent/README.en.md
|
|
5
|
-
packages/local-agent/README.en.md:
|
|
6
|
-
packages/local-agent/README.md:
|
|
5
|
+
packages/local-agent/README.en.md: 131ab524efcb081b0cbd4f27f6bd2b221d58003f
|
|
6
|
+
packages/local-agent/README.md: 16d63a8046557a8f6d7582ec338f41a0f1774110
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
这是 local-agent 家族的核心包:每家 CLI 注册成一家 harness,得到共享 homes 根下一份 0700 的隔离作用域目录(你机器上原装的 CLI 安装绝不被动到)、一族 `/<harness> login|sessions|status|logout` 斜杠命令、设置里的一张认证卡片;家族的委派能力——把会话工作交给本机 CLI、之后跨宿主重启也能续跑——同样挂在这份注册表上。各家 harness 的实现在独立包里(`@khorsheed/dsh-local-agent-kimi` 等),本包自己一家都不含。
|
|
8
8
|
|
|
9
|
-
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-
|
|
9
|
+
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/08-local-agent.png" width="640" alt="设置 → 插件 → 可配置插件里的 Local Agent 卡片,卡头状态点一眼可见各 provider 授权状态">
|
|
10
10
|
|
|
11
11
|
## 特性
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
- **成员会话侧栏续写(宿主 0.1.6 起)**——官方 subagent 目录每行新增「在侧边栏打开」入口:成员会话本就是 one-shot subagent,侧栏内本家族 MemberComposer 自动当选为可写 composer,本包零改动受益;0.1.5 宿主没有该入口,行为不变。
|
|
19
19
|
- **一家多份登录(命名 scope)**——`/<harness> login --scope <名>` 在 `<homesRoot>/<家名>@<名>` 里另开一份作用域目录:各自登录、各自会话记录、各自 `delegations.jsonl`,凭证不复制。评测因此能在同一次 run 里比较同一家的两个账号。
|
|
20
20
|
|
|
21
|
-
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-
|
|
21
|
+
<img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/local-agent-member.png" width="640" alt="委派给本机 CLI 的成员会话:实时输出流式呈现,底部成员输入栏可继续对话并切换模型">
|
|
22
22
|
|
|
23
23
|
## 安装
|
|
24
24
|
|