본문으로 건너뛰기
R

dsh-codex-status

rayzan-j/dsh-codex-status

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

설치

dsh plugin --profile web add github:rayzan-j/dsh-codex-status

README

dsh-codex-status

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 stateStockdsh-codex-status
Waiting for approval / plan review / an answeramber dot待审批 · 计划待审 · 待回答 in amber
Finished, not opened yetgreen dot已完成 in green
Turn runninggrey 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

관련 플러그인