DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

dsh-codex-runs

Codex Runs

Read-only panel for Codex CLI run history: scans ~/.codex/sessions rollouts (last 7 days) and serves GET /api/codex-runs to a collapsible web panel.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:zehuan-huang/dsh-codex-runs#9be9aa9a37fa6893f92f5755cb46fc48d2a553fd
READMECompatibilityVersions

Compatibility and provenance

Codex Runs is published as dsh-codex-runs and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/23/2026

Versions

0.1.0stable
10/23/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/23/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in developer-tools.

MarketdshmarketVisual plugin market inside DeepSeek Harness — browse, search, and one-click install community plugins. · DSH 可视化插件市场:逛一逛,点一下,装好。Opsdsh-opsNative file and PTC tools for DSH on Windows x64, Linux x64 and macOS arm64/x64; Windows-only optional Bash payload and host PowerShell integrationCc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessRemotedsh-remoteRemote-work assistant for DeepSeek Harness: connect SSH (password/key/agent/keyboard-interactive, multi-hop ProxyJump), list hosts from ~/.ssh/config, pick a remote workspace, operate on it with 21 rw_* tools, conflict-aware mirror sync, an embedded PTY t

README

dsh-codex-runs

一个自包含的 DSH Web 插件:把 Codex CLI 自己的 rollout 会话文件渲染成右上角的只读运行记录面板。

  • 数据源:~/.codex/sessions/<YYYY>/<MM>/<DD>/rollout-<时间>-<sessionUuid>.jsonl
  • 只读路由:GET /api/codex-runs
  • 不改任何 Codex 文件、不写状态文件、不依赖任何第三方补丁

安装

dsh plugin --profile web add /path/to/dsh-codex-runs
# 确认 profile 的 dsh.profile.bundles 里出现 "dsh-codex-runs",然后重启 dsh web

面板

标题 Codex 运行记录 (N),右上角固定,10s 轮询,折叠状态存 localStorage["dsh-codex-runs:open"]。

每行:HH:MM · <cwd basename> · ●done / ◐running / ✕aborted / ?unknown · 耗时

展开后:sessionId(可复制)、model、cwd 全路径、totalTokens、lastMessage 全文。

数据是怎么读的

一个 rollout 文件就是一个 run。为了一次读多份又不把多 MB 的文件整个拉进内存:

读取大小用途
head4 KB,按行边界自动增长到能读完 session_meta(实测该行约 22 KB),必要时向前探测,上限 256 KBsessionId / cwd / 起始时间(session_meta)、model(turn_context)
tail64 KBtask_started / task_complete / turn_aborted、累计 token(info.total_token_usage.total_tokens)、最后一条 assistant 消息

只扫描 mtime 在最近 7 天内的文件,最多 200 个;返回按 startedAt 倒序的 50 条。 解析结果按 (path, size, mtimeMs) 缓存,所以 10s 一次的轮询只在文件真的变长时才重读。

status 判定:最后一个事件是 task_complete → done;turn_aborted → aborted;只有 task_started 时,文件仍在新写入(5 分钟内)→ running,否则 aborted;读到的窗口里没有任何 回合事件 → unknown。

durationMs = endedAt - startedAt(整段会话跨度,包含多轮之间的空闲时间);running 时由前端用 当前时间算实时耗时。

路由响应

{ "ok": true, "runs": [{ "id": "…", "cwd": "…", "model": "gpt-6.1-sol", "startedAt": "…",
  "endedAt": "…", "status": "done", "durationMs": 5480, "lastMessage": "…",
  "totalTokens": 21413, "rolloutPath": "…" }], "rootMissing": false,
  "scannedFiles": 10, "matchedFiles": 10, "generatedAt": "…" }

任何异常都返回 { "ok": false, "error": { "name", "message", "code"? } },日志里只有条数与错误码, 不含 rollout 内容。

信任模型:只接受同源 GET。回环调用(面板自己)直接放行;其它来源必须由宿主的 connection 服务放行(Host/Origin 围栏 + 已认证的浏览器会话),围栏不可用时一律 403。

License

MIT