dsh-process-console
Agent 与会话 活跃维护

dsh-process-console

softspark/dsh-process-console

将对话内的全部智能体及子智能体运行进程整合为实时控制台,完整呈现配对的工具请求与响应内容,以单一配置包形式一键安装,无需额外配置即可直接启用。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
Apache-2.0
开源协议
319 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:softspark/dsh-process-console
git clone https://github.com/softspark/dsh-process-console.git
git clone git@github.com:softspark/dsh-process-console.git
README.md main

dsh-process-console

A Processes tab for the DeepSeek Harness web UI: every agent and subagent of a conversation as a live console, with the exact request and response of each step.

npm
CI
License
DSH community plugin

The tab sits next to Chat and Trajectory. It lists every process of the current conversation, the main agent and each subagent under it, and prints the selected one as a live console: what the agent wrote, every tool request with its raw arguments, every tool response with its full content, the model behind each step, timing, errors and pending approvals.

Works on the published harness. No patch, no fork, no modified checkout. This is an independently maintained SoftSpark community integration. It is unofficial and is not affiliated with or endorsed by DeepSeek.

What's New in v2.0.0

  • DSH 0.1.2-rc.1 support through its Session Controller, Conversation, Trajectory, and pending-interaction services.
  • Catalog-only children in the process tree and protection against stale pagination after switching processes.
  • Enforced 70% coverage and complete browser TypeScript declarations.

Version 2 requires DSH 0.1.2-rc.1. Keep plugin 1.0.0 when using DSH 0.1.1-rc.2.

Full history in CHANGELOG.md.

Contents

Why

Chat shows the conversation. Trajectory shows one session's ledger. Neither answers the question "what is each process doing right now, with which exact request and which exact response". When a parent delegates to subagents the picture splits across sessions you have to open one at a time. This tab puts them side by side and keeps following the tail.

Requirements

  • Node.js 22.19.0 or newer
  • DeepSeek Harness 0.1.2-rc.1
  • pnpm for the profile plugin manager

Install

dsh plugin --profile web add @softspark/dsh-process-console --save-exact

Restart DSH. The package registers its row itself. For a local checkout:

pnpm install --ignore-scripts && pnpm run build
dsh plugin --profile web add "$(pwd)"

Update

Pins are exact on purpose. Move to a newer release by adding it again, then restart DSH:

dsh plugin --profile web add @softspark/dsh-process-console@<version> --save-exact

dsh plugin --profile web remove @softspark/dsh-process-console removes the tab and nothing else.

What you see

Column Content
Process tree The current session as main, then every session-backed subagent under it, nested by delegation depth, with a running or idle marker.
Console One line per event in log order. USER, CTX, STEER, THINK, ASSIST (provider/model, turn, step, time to first token, total, tokens), CALL (tool name and pretty-printed arguments), RESULT (full content, elapsed time since the call, error code), RUNNING, STREAM, WAIT, SYS, ERROR.
Toolbar Substring filter, load older history, raw JSON for every line, follow-tail toggle. Scrolling up pauses following; the toggle resumes it.
Per line Copy the body, or expand the raw payload of that one line. Long bodies start collapsed at 30 rows.

Tool calls include MCP tools, since the harness records them as ordinary tool events.

External delegations

One-shot external delegations (subagent_claude_code, subagent_gemini_copilot) have no session of their own, so a stock harness records only their final answer: they appear as a CALL and a RESULT in the parent console.

With the harness-side change described in kb/reference/subagent-stream.md, the provider appends the child's steps to the parent log as ignorable subagent/stream events, and this tab folds them into a nested row per child with its own live console. The change is four small patches on published harness packages (dsh-session, dsh-subagent, dsh-subagent-claude-code, dsh-subagent-acp), one reviewed set per harness version under patches/, shipped by dsh-drydock and proposed upstream in a GitHub Discussion, since the harness takes neither external pull requests nor issues yet. Without it the tab behaves exactly as before.

Documentation

Document Purpose
Architecture The slot, the data path and why the package is standalone
Security model What the tab can and cannot read
Setup Install and confirm
Common issues Why the tab is missing or a pane stays empty
Implementation plan Scope, success criteria, pre-mortem

Contributing

See CONTRIBUTING.md. pnpm run verify is the gate.

Security

The tab is read-only and adds no host surface; the model is in SECURITY.md and kb/reference/security.md.

License

Apache-2.0. See LICENSE and NOTICE.

Changelog

Every release is recorded in CHANGELOG.md.


Built by SoftSpark for people who want to see what their agents actually do.