DeepSeek Harness Plugin

RayZan-J/dsh-codex-status

Stars ★ 0 Downloads (30d) 445 Category UI Enhancements Added 2026-12-01 npm dsh-codex-status

Replaces the sidebar session status dots with colored words in the page language: waiting for approval, finished but unopened, or running.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-codex-status

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:RayZan-J/dsh-codex-status

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Codex-style session status for DeepSeek Harness: the sidebar's colored status dots become short colored words.

中文说明

The stock session list marks state with a 6px dot — green for a finished turn you have not opened, amber for something waiting on you, a spinner while a turn runs. A dot makes you decode a color. This bundle writes the state out instead:

Session state Stock dsh-codex-status
Waiting for approval / plan review / an answer amber dot 待审批 · 计划待审 · 待回答 in amber
Finished, not opened yet green dot 已完成 in green
Turn running grey spinner 进行中 in blue, gently pulsing

Wording follows the page language (zh / en); colors come from the host theme tokens, so light/dark and accent changes carry over.

Install

In DSH, open Plugins → Add plugin and enter one of:

  • dsh-codex-status — from npm
  • RayZan-J/dsh-codex-status — straight from this repository
  • an absolute path to a clone of this repository

Enable the bundle if it is not already enabled, then refresh the page. There is no build step, no host-side code, and no network request at runtime.

Manual alternative: add the bundle's own patch row to your profile's cordis.patch.yml:

- insert:
    - id: codex-status
      name: 'dsh-codex-status'

How it works

The bundle is presentation only. Its Client module appends one scoped stylesheet to the document head inside ctx.effect, so disabling or unloading the plugin removes it again.

The stylesheet hooks two stable, public attributes of a session row — data-row-key="session:<id>" and the data-state attribute of the status mark (done, warning, ongoing) — and never the hashed CSS-module class names, so a renamed class does not break it. Colors are --dsw-alias-state-* tokens.

Every rule sits behind @supports selector(:has(*)). On an engine without :has() the stylesheet does nothing and the stock dots stay, rather than hiding the indicator and rendering no replacement.

Limitations

  • Only the session rows of the sidebar workspace list are touched. Dots in hover cards, search results and tool rows keep their stock look — those places already pair the dot with a text label.
  • For 已完成 and 进行中, the status word occupies the row's trailing cell where the relative time sits, the same place the app already uses for 待审批. The time is still in the row's hover card.
  • The selectors assume the row keeps its current shape (status mark in the first cell, trailing label in the third). A future DSH redesign can stop the words from appearing; it will not throw or break the page.

Uninstall

Disable or remove the bundle in Plugins, or drop the codex-status row from cordis.patch.yml. The dots come back immediately after a refresh.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.