- Início
- Plugins
- Melhorias de UI
- dsh-codex-status
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.
Instalar
dsh plugin --profile web add github:rayzan-j/dsh-codex-statusREADME
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 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 npmRayZan-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
Plugins relacionados
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui