Skip to content

Releases

dsh-plugin-pi-ui 0.1.1

Choose a tag to compare

@mabaoguo9527 mabaoguo9527 released this 11 Sep 15:18

dsh-plugin-pi-ui 0.1.1

本版本与 v0.1.0 的内容完全相同,只递增了版本号:给按 tag 或按提交固定依赖的
profile 一个明确的新版本可迁移到。

This release is content-identical to v0.1.0; it exists so a profile pinned to a
tag or a commit has a distinct version to move to.

中文

面向 DeepSeek Harness Web GUI 的 pi-web 风格侧边栏 chrome:一个 node 半部、一个
浏览器半部、一个 loader patch,无构建步骤。

侧边栏

  • 顶部临时会话:32px 行高、14px 标题、12px 相对时间(与随附会话行同规格),
    查看更多每次再加载 10 条,🗑 清理没有会话在使用的临时目录。
  • 工作目录:锚定在侧边栏垂直中央;紧凑下拉框是纯粹的目录选择器(目录列表、
    打开文件夹…、删除工作目录…),并记住你上次选定的目录,临时会话不会把它清空。
  • 下面的随附会话列表永远只显示一个目录的会话(当前会话的工作区,否则上次选定
    的目录),没有开关。
  • 文件浏览器:注册为右侧栏标签类型,以 extension 优先级接管内置的 files 类型,
    树以当前会话的工作目录为根;设置里关掉即恢复内置视图。

发送之前什么都不存在

  • 任何"新建会话"手势(临时会话 +、工作区 +、选中没有会话的目录)都只设置一个
    内存中的待定目标并进入草稿输入态;
  • 草稿输入框是随附空白态卡片上叠的两个可用镜像(输入框 + 发送圆钮),那一行其余
    部分完全是随附原样,没有提示文字,也没有插件自己的控件;
  • 发送时才创建:临时目标先建 scratch 目录再建会话(会话创建失败会回滚目录),
    工作区/目录目标只建会话,若已有空白会话则复用。

安装 / 升级

dsh plugin --profile web add dsh-plugin-pi-ui      # 首次
dsh plugin --profile web update dsh-plugin-pi-ui   # 升级
# 重启 dsh web(浏览器半部在启动时合成),然后刷新页面

已知限制

  • 空白态下随附的权限/模型座位本身是禁用的(随附工为"带工作目录的会话"才激活),
    插件只让输入与发送可用,刻意不重排那一行;
  • 待定目标只在内存中,首次发送前刷新页面会丢掉草稿;
  • 删除工作目录只动注册表,不删除目录与会话日志;
  • 宿主 HMR 在随附 web profile 中关闭,node 半部改动需要重启 dsh web。

English

pi-web-inspired sidebar chrome for the DeepSeek Harness Web GUI: one node half, one
browser half, one loader patch, no build step.

The sidebar

  • Temporary sessions at the top: 32px rows with a 14px title and a 12px relative
    timestamp (the shipped session row's own metrics), a 查看更多 footer that pages
    ten more, and a 🗑 that cleans scratch directories no session is using.
  • The working directory, anchored at the column's middle: a compact dropdown that is
    a pure directory picker (directories, Open folder…, Remove working directory…) and
    remembers the directory you chose, so a temporary session never blanks it out.
  • The shipped session list below always shows one directory's sessions — the
    current session's workspace, else the remembered one. No toggle.
  • A compact file explorer registered as a right-sidebar tab type that claims the
    shipped files kind at extension priority, rooted at the current session's
    working directory. The Settings switch restores the shipped view.

Nothing exists until you send

  • Every start gesture (temporary +, workspace +, picking a directory with no
    sessions) sets an in-memory pending target and opens the draft composer.
  • The draft composer is the shipped blank-state card with two live twins — an
    editable input over the card's own input box and a send control over its inert send
    circle. The rest of the row is the shipped row: no hint line, no plugin-drawn
    controls.
  • Sending mints the scratch directory and the session together (rolling the directory
    back if the session is refused), or creates the workspace session, reusing a
    provisional blank one when present.

Install / upgrade

dsh plugin --profile web add dsh-plugin-pi-ui      # first install
dsh plugin --profile web update dsh-plugin-pi-ui   # upgrade
# restart dsh web (the browser half is composed at boot), then reload the page

Known limitations

  • In the blank state the shipped permission and model seats are inert by design (the
    shipped conversation only activates them for a session with a working directory);
    the plugin makes the input and the send control live and leaves that row alone.
  • The pending target lives in memory: reloading before the first send drops the draft.
  • Removing a working directory touches the registry only — never a directory or a
    session log.
  • Host HMR is disabled in the shipped web profile, so node-half changes need a
    dsh web restart.

Full documentation: README.md · README.zh.md

v0.0.1

Choose a tag to compare

@mabaoguo9527 mabaoguo9527 released this 11 Sep 11:30

First release: three-block sidebar — temporary sessions (5 shown, +10 per 查看更多), working-directory header with switcher dropdown and new-session button, and the file explorer. Scratch directories roll back when session creation fails.