Introduction¶
When you kick off a background task in DeepSeek Harness (DSH)—say, starting a local dev server—it becomes easy to forget whether it’s still running once you switch to another session. By default, DSH attaches background tasks to the current session, so figuring out “what’s still running in the background” relies on memory or scrolling through chat history. The “Job Desk” plugin, available in the plugin marketplace, consolidates background tasks from all sessions into a single page, grouped by workspace, session, or script, and lets you inspect output tails and stop tasks.
What It Is¶
“Job Desk” is a DSH plugin maintained by zihangii, categorized under Workflow. It displays background tasks from all DSH sessions in a unified interface, supporting grouping by workspace, session, or script, viewing task output tails, stopping tasks, or jumping to the session that spawned them.
Core Features¶
Everything on One Page¶
Background tasks from all sessions (including sub-agent sessions) are listed on a single page, annotated with the spawner, the project it belongs to, the executed command, uptime, and output volume. View the same set of tasks through three perspectives: workspace, session, or script.
Peeking at Output¶
Output is read from the tail of a ring buffer via a non-consuming read interface. The model’s own job_output cursor remains unaffected—any output it expects to see is still there.
Stop on the Fly¶
Supports individual stop (with a confirmation dialog) and “Stop All” which stops tasks one by one. The plugin only interacts with DSH’s own task registry; it does not touch DSH’s process or any other processes.
Jump Back to the Scene¶
Each task has an “Open Session” button that jumps directly to the session that spawned it (requires the host to provide uiWorkspace support).
Active-Only View¶
Historical tasks can be hidden with one click. The header displays the current number of running tasks, the number of sessions involved, workspaces, and scripts.
Auto-Refresh¶
The page refreshes every 3 seconds and automatically pauses when the page is in the background, conserving battery.
Installation & Activation¶
Once listed in the marketplace, you can install it by clicking in “Plugins → Marketplace.” Before listing, install it via:
Method 1: Pre-built Package¶
- Download the latest
dsh-job-desk-<version>.tgzfrom the Releases page. - In “Plugins → Add Plugin,” select the file to install.
Method 2: Local Directory¶
- Clone the repository locally.
- In “Plugins → Add Plugin,” select the directory to install.
Method 3: Command Line¶
dsh plugin add <https URL of the tarball>
If your profile is not web, append --profile <name>.
After installation, “Job Desk” automatically appears in the sidebar—click it to use. No restart required.
How It Works¶
The host side only reads DSH’s own background task registry ctx.jobs:
- Iterates through each session’s task list, merges tasks that don’t belong to any session, and deduplicates by id;
- Session titles are obtained via sessionTitle, working directories come from the session header, and workspace attribution comes from the workspace registry;
- Script names are extracted from the command line; the full command line is displayed as-is.
The browser side fetches data through the same-origin endpoint /job-desk/api and only accepts requests from the local page.
Use Cases & Caveats¶
Ideal for DSH users who need to manage background tasks across multiple sessions simultaneously—for example, launching several local services or running long-duration scripts in a development workflow.
Keep the following in mind:
- Background tasks are in-process; they disappear when DSH restarts, and the Job Desk will be cleared as well.
- Only background tasks registered by DSH itself are listed. Processes detached from the task registry (e.g., via nohup) are not visible.
- Output only shows the tail of the ring buffer; older output is discarded, and this is explicitly indicated.
- The “Open Session” feature depends on the host providing uiWorkspace. Without that support, the button is not shown.
Want to Modify It¶
There is no build step—edit the source code directly:
- index.js: Host side. Handles task aggregation, stopping, output tails, and serves /job-desk/api.
- client.js: Browser side. Handles the sidebar entry and the main-area task desk.
- cordis.patch.yml: Inserts the plugin line into DSH.
- locale/*.json: Chinese and English titles and descriptions for the plugin card.
- icon.svg: Plugin icon (vector).
- assets/: Marketplace card icon and documentation screenshots.
After making changes, simply re-install the directory to apply.
License¶
MIT License.
Summary¶
“Job Desk” consolidates DSH background tasks scattered across different sessions into a single management view. With three grouping perspectives, output tail inspection, and stop controls, it solves the common “what’s still running in the background?” problem. Well suited for developers who need unified management of background tasks.