Skip to main content
Q

dsh-session-utils

qeggs-dev/dsh-session-utils

Git-like session control for DeepSeek Harness agents: list, inspect, create, send to, wait for, fork, archive, and move sessions; address subagents with nested or flattened paths; regex-search session history; and copy the current session ID from the composer.

Install

dsh plugin --profile web add github:qeggs-dev/dsh-session-utils

README

会话工具

以 git 方式操作 DeepSeek Harness 会话的 Agent 工具集

License: MIT DSH plugin Version Tools GitHub stars Issues

会话树与工具面板

English: a git-like Session control toolkit for DeepSeek Harness agents — list, inspect, create, send to, wait for, fork, archive, move, and change the permission of Sessions; address subagents with nested or flattened paths; regex-search Session history; configure per-tool approvals in Settings; and copy the current Session ID from the composer.

能力

  • 工作区与会话:workspace_list、session_list、session_exists、session_info
  • 新建与整理:session_create(可按照父会话派生子代理)、session_set_info(改标题/模型/preset)、session_fork、session_archive、session_move
  • 协作:session_send、session_wait、session_cancel_sleep、session_cancel_wait、session_access(修改目标会话权限)
  • 检索与子代理:session_search(8 种搜索范围)、session_subagent_list
  • 备份与迁移:session_export(打包成 zip)、session_import(从 zip 还原成新会话)
  • 子代理寻址:嵌套 <根>/<子>/<孙>,或平铺 <根>/<后代>;可带 <namespace>: 前缀(local 为内置)
  • 命名空间提供方:local 内置;其它插件可通过 sessionProviders 服务注册后端,session_id 写成 ns:... 即会路由过去
  • 设置页:设置 → 会话工具,横向四个标签页(常规 / 权限 / 提供方 / 关于)
  • 写操作在非完全权限下逐次审批(默认开启,可在设置页按工具关闭);结果统一为 JSON,错误统一为英文短句

快速开始

session_send  →  session_id: session-xxxx, text: "跑一下测试"
session_wait  →  session_id: session-xxxx

安装

plugin_manager → install_bundle → github:qeggs-dev/dsh-session-utils

装完不需要重启 DSH:Host 工具立即生效,客户端按钮刷新页面后出现;只有插件管理器提示「请重启 DSH 使更改生效」时才重启。完整说明见 docs/install.md。

文档

文档内容
docs/install.md安装步骤、生效方式、何时才需要重启 DSH
docs/usage.md工具参数、通用规则、子代理寻址与示例
docs/providers.md注册自己的命名空间后端(provider 接口与示例)
docs/settings.md设置页:权限审批开关、提供方管理、关于
docs/configuration.md插件配置项
docs/boundaries.md已知边界
docs/verification.md安装后的验证清单

许可证

MIT

Related plugins