paseo-dsh 0.2.20 → 0.2.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.
package/OVERVIEW.md CHANGED
@@ -1,13 +1,13 @@
1
- dsh-paseo adds a native provider to Paseo for DeepSeek Harness (`dsh`), so a Paseo agent runs as a DSH session instead of an ACP client. The conversation stays in Paseo's normal agent view, and the plugin adds no screens of its own. It is a community plugin, not an official DeepSeek or Paseo product.
1
+ dsh-paseo adds a native provider to Paseo for DeepSeek Harness (`dsh`), so a Paseo agent runs as a DSH session instead of an ACP client. The conversation stays in Paseo's normal agent view. The plugin also adds one DSH Plugins page in Paseo's sidebar for managing the bundles in the profile it drives. It is a community plugin, not an official DeepSeek or Paseo product.
2
2
 
3
3
  ![A DSH session in Paseo: thinking rows, a shell and an image tool, per-turn stats, and the model and thinking controls in the composer](https://raw.githubusercontent.com/liuxing7954/paseo-dsh/af460f9af293131e07ebe357c41aa9e652ccf153/docs/assets/paseo-dsh-overview.png)
4
4
 
5
5
  Each Paseo agent session starts one `dsh --profile paseo` child process on the daemon machine and talks to it over a local stdio bridge. The process runs as your operating system user with the daemon's environment, so the credentials and permission policy are the ones DSH already uses; the plugin adds no sandbox of its own. Model and reasoning-effort choices come from the catalog DSH reports for the profile, so they follow your DSH configuration.
6
6
 
7
- DeepSeek Harness must be installed and logged in on the daemon machine, with `dsh` on the daemon's `PATH` or set through the provider command override. The plugin needs Paseo 0.9.2 or newer and Node.js 22 or newer on the daemon, and DSH 0.2.1-rc.2 is the tested line. On first use it provisions `~/.dsh/profiles/paseo`, and it never overwrites an existing profile file, so local edits to `cordis.patch.yml` survive reloads.
7
+ DeepSeek Harness must be installed and logged in on the daemon machine, with `dsh` on the daemon's `PATH` or set through the provider command override. The plugin needs Paseo 0.16 or newer and Node.js 22 or newer on the daemon, and DSH 0.2.2-rc.1 is the tested line. On first use it provisions `~/.dsh/profiles/paseo`, and it never overwrites an existing profile file, so local edits to `cordis.patch.yml` survive reloads.
8
8
 
9
- Composer features are passed to DSH rather than emulated. Attached images are admitted into DSH's attachment store, `/` commands and user-invocable skills come from DSH's registry, and steering, plan mode, question cards and permission prompts render as normal Paseo items. The session menu can switch the agent preset and permission mode when the profile declares them, the composer shows the context window and current occupancy that DSH reports, and each answer carries a small line with its first-token latency and output speed. Sessions persist by DSH session id, so a reopened agent resumes its context, and Paseo can list and import existing DSH sessions; an imported session replays its messages into the timeline.
9
+ Composer features are passed to DSH rather than emulated. Attached images are admitted into DSH's attachment store, `/` commands and user-invocable skills come from DSH's registry, and steering, plan mode, question cards and permission prompts render as normal Paseo items. The session menu can switch the agent preset and permission mode when the profile declares them, the composer shows the context window and current occupancy that DSH reports, and each answer carries a small line with its first-token latency and output speed. Sessions persist by DSH session id, so a reopened agent resumes its context, and Paseo can list and import existing DSH sessions; an imported session replays its messages into the timeline. The DSH Plugins page lists the profile's bundles, switches them on or off, installs registry packages that declare `dsh.bundle`, removes them, and checks for updates. Package operations go through `dsh plugin`; changes apply to new sessions. Bundles that ship a DSH web client UI are marked, because Paseo does not host DSH's client runtime.
10
10
 
11
11
  Images flow one way. The model receives attached images, but Paseo's transcript renders an image only from an `https://` Markdown URL, so a picture produced on the daemon has to be published to a URL first. Local paths, `file://` URIs and base64 data URLs do not display.
12
12
 
13
- Known limits: there is one `dsh` process per session, so each agent costs a process. Reloading the plugin or restarting the daemon ends a running turn, and the session has to be resumed. The provider id is `deepseek-harness-native`, which keeps it separate from an ACP `deepseek-harness` provider when both are installed. Windows and native iOS and Android clients are untested.
13
+ Every label the plugin draws follows the Paseo app language: timeline rows, the thinking row, the detail sheet, the per-turn stats line and the timeline style screen ship with English and Simplified Chinese catalogs, and are worded from the app language rather than from the provider. Changing Settings → General → Language re-words them without restarting the plugin. Known limits: there is one `dsh` process per session, so each agent costs a process. Reloading the plugin or restarting the daemon ends a running turn, and the session has to be resumed. The provider id is `deepseek-harness-native`, which keeps it separate from an ACP `deepseek-harness` provider when both are installed. Windows and native iOS and Android clients are untested.
@@ -0,0 +1,15 @@
1
+ dsh-paseo 给 Paseo 加一个 DeepSeek Harness(`dsh`)原生 provider,让 Paseo 的 agent 以 DSH 会话的方式运行,而不是当一个 ACP 客户端。对话仍在 Paseo 平时的 agent 视图里,插件还在 Paseo 侧边栏加一个 DSH Plugins 页面,用来管理它所驱动的 profile 里的 bundle。它是社区插件,不是 DeepSeek 或 Paseo 的官方产品。
2
+
3
+ ![Paseo 里的一个 DSH 会话:思考行、一次 shell 与一个图片工具、每回合统计,以及输入框里的模型和思考档位控件](https://raw.githubusercontent.com/liuxing7954/paseo-dsh/af460f9af293131e07ebe357c41aa9e652ccf153/docs/assets/paseo-dsh-overview.png)
4
+
5
+ 每个 Paseo agent 会话都会在 daemon 所在机器上起一个 `dsh --profile paseo` 子进程,并通过本地 stdio 桥与它通信。进程以你的操作系统用户身份、用 daemon 的环境运行,所以凭据和权限策略就是 DSH 本来用的那一套;插件自己不加沙箱。模型和思考档位的选项来自 DSH 为该 profile 报告的能力目录,因此跟随你的 DSH 配置。
6
+
7
+ daemon 机器上必须已安装并登录 DeepSeek Harness,`dsh` 要在 daemon 的 `PATH` 上,或通过 provider 的命令覆盖指定。插件需要 Paseo 0.16 或更新版本、daemon 上 Node.js 22 或更新版本,实测基准是 DSH 0.2.2-rc.1。首次使用时它会准备 `~/.dsh/profiles/paseo`;已存在的 profile 文件从不覆盖,所以你手改的 `cordis.patch.yml` 能活过重载。
8
+
9
+ 输入框里的功能是交给 DSH 执行的,不是仿造的。附加图片会进 DSH 的附件库;`/` 命令与用户可调用的 skill 来自 DSH 的注册表;插话、计划模式、提问卡与权限确认都按 Paseo 正常的条目渲染。会话菜单能在 profile 声明了的时候切换 agent preset 与权限模式,输入框会显示 DSH 报告的上下文窗口与当前占用,每个回答下面还有一行首字延迟与输出速度。会话按 DSH 会话 id 持久化,重开会话会接着用原来的上下文,Paseo 也能列出并导入已有的 DSH 会话;导入的会话会把消息回放进时间线。DSH Plugins 页面列出 profile 里的 bundle,可以启停、安装声明了 `dsh.bundle` 的 registry 包、卸载并检查更新。包操作走 `dsh plugin`,改动对新会话生效。带 DSH Web 客户端界面的 bundle 会被标注,因为 Paseo 不承载 DSH 的客户端运行时。
10
+
11
+ 图片是单向的。模型能收到你附上的图片,但 Paseo 的对话记录只渲染来自 `https://` Markdown 地址的图片,所以在 daemon 上生成的图片必须先发布成 URL。本地路径、`file://` URI 和 base64 data URL 都显示不出来。
12
+
13
+ 插件画出的每一个标签都跟随 Paseo 的应用语言:时间线行、思考行、详情抽屉、每回合统计行和时间线样式页都自带英文与简体中文两套文案,用词看应用语言而不是看 provider。在 设置 → 通用 → 语言 里切换,不用重启插件就会换词。
14
+
15
+ 已知限制:每个会话一个 `dsh` 进程,所以每个 agent 都要花一个进程。重载插件或重启 daemon 会结束正在跑的回合,会话需要重新恢复。provider id 是 `deepseek-harness-native`,这样同时装了 ACP 的 `deepseek-harness` provider 时两者不会冲突。Windows 以及原生 iOS、Android 客户端未测试。
package/README.md CHANGED
@@ -40,15 +40,13 @@ What you get that the ACP boundary can't carry:
40
40
  persona+capability bundles, chosen at session start and locked once it begins
41
41
  - Session **reopen and import**: a reopened session replays its conversation
42
42
  history, and native DSH sessions can be imported from Paseo
43
+ - A **DSH Plugins** page in the sidebar that lists the profile's bundles and
44
+ can enable, install, remove and update them (new sessions pick up changes)
43
45
 
44
46
  Full documentation, the adoption guide, and 20 real defects with their fixes
45
47
  live in the main repository: **https://github.com/liuxing7954/paseo-dsh**
46
48
 
47
- Requires Paseo ≥ 0.9.2 and the official `dsh` on the daemon's `PATH`.
48
-
49
- ## What it looks like
50
-
51
- ![A DSH session in Paseo: thinking rows, a shell and an image tool, per-turn stats, and the model and thinking controls in the composer](https://raw.githubusercontent.com/liuxing7954/paseo-dsh/main/docs/assets/paseo-dsh-overview.png)
49
+ Requires Paseo ≥ 0.16 and the official `dsh` on the daemon's `PATH`.
52
50
 
53
51
  ## Versioning
54
52
 
@@ -98,11 +96,13 @@ ACP 承载不了、而这里都有:
98
96
  - profile 声明了 agent preset 时的 **Preset** 下拉——人设 + 能力包,
99
97
  建会话时选、首个回合后锁定
100
98
  - **会话恢复与导入**:重开会话会回放历史;并可从 Paseo 导入 DSH 原生会话
99
+ - 左侧栏 **DSH Plugins** 页:列出 profile 里的 bundle,启停、安装、卸载、
100
+ 检查更新(新会话生效)
101
101
 
102
102
  完整文档、改造指南、以及 20 个真实缺陷的修复记录都在主仓库:
103
103
  **https://github.com/liuxing7954/paseo-dsh**
104
104
 
105
- 需要 Paseo ≥ 0.9.2,且 daemon 的 `PATH` 上有官方 `dsh`。
105
+ 需要 Paseo ≥ 0.16,且 daemon 的 `PATH` 上有官方 `dsh`。
106
106
 
107
107
  ### 版本策略
108
108