Preface¶
When running Claude Code, Codex, local DSH tasks, or Open Design routine tasks simultaneously in DSH (DeepSeek Harness), state is often scattered across their respective session directories, internal HTTP endpoints, and local logs. Answering “who is running right now, which one just failed, where are the artifacts” usually requires switching between multiple windows.
dsh-aiagent-taskboard is a client-side DSH plugin published by maintainer linglanxin (currently 0 GitHub stars). It does not start a separate persistent process; instead, it provides a “Task Board” entry in the DSH sidebar, displaying task start/end times, durations, and artifacts in two views — list and timeline (swimlanes) — refreshing every 5 seconds. Open Design and recently modified session directories also appear on the panel. The following covers its positioning, data sources, installation and configuration, and the limitations you should accept before use.
What Is This¶
Plugin repository: linglanxin/dsh-aiagent-taskboard. Directory page: SkillHub plugin page.
One-sentence positioning: Minimal real-time task board — see at a glance what Claude Code / Codex / DSH / Open Design is currently doing (list + swimlane timeline). The host half aggregates read-only state via GET /api/aiagent-taskboard/state (about 4-second cache); the client half renders the sidebar and main view in the DSH Web interface.
UI and Core Features¶
Layout¶
- One entry in the sidebar (Task Board), with the main view being the same panel.
- Top: one chip per agent (blue = running, green = succeeded today, red = failed, gray = idle), plus the Open Design daemon’s port/version.
- Middle: list view and timeline view, sharing the same data.
- Bottom: recent session directories. The entire page refreshes roughly every 5 seconds.
List View¶
One row per task: status dot, name, agent, duration, how long ago. Clicking a row expands directory, exit code, result, and artifacts.
Timeline (Swimlane) View¶
One swimlane corresponds to one agent, one horizontal bar corresponds to one task, and the horizontal axis represents time.
- The time range can be switched between 6 hours / 24 hours / 7 days, with the right end being “now” (dashed line).
- Tasks whose time overlaps within the same swimlane are automatically assigned to the second, third row (greedy packing: find the first row where “the previous bar has ended”), avoiding mutual occlusion.
- Running task bars extend to “now”.
- Colors are consistent with the list: blue = running, green = succeeded, red = failed; tasks that are too short are drawn with a 0.7% minimum width to remain visible.
- Clicking a bar also expands directory, exit code, result, and artifacts.
The timeline layout is computed by the pure function buildTimeline(tasks, { now, windowMs }) (exported in the repository, for testing): it returns the window, ticks, and rows for each swimlane. Tasks without a start time or completely outside the window are discarded.
Data Sources (No Standalone Daemon)¶
| Source | Location | Description |
|---|---|---|
| Event log | <stateDir>\events.jsonl |
Written by the local agent wrapper calling a script to append start/end/artifact lines (the README mentions aiagent-log.ps1 is commonly used on Windows, not published with this repository) |
| Open Design | daemon HTTP (random port) | On polling, uses the pid from data\diagnostics\daemon-health.json and netstat to find the port, then reads /api/routines and the latest run; if not found, shows “not running” |
| Session directories | <sessionRoots>\* |
Recently modified working directories |
All paths are configurable (see next section). Defaults are derived from the home directory, e.g., on Windows %USERPROFILE%\aiagent\.state\events.jsonl.
When registering the API, the host must declare requestBody: 'buffered'. If missing, the DSH /api bridge may attach a body to GET requests, triggering a TypeError, and the webserver will return a bare HTTP 400 (shown as red text on the panel). The README suggests checking <AIAGENT_STATE_DIR>\host-loads.log for a taskboard-host v2 GET+buffered line to verify the running host half version.
Installation and Activation¶
Recommended to install from GitHub via the DSH plugin manager (the manager handles dependencies and updates):
dsh plugin --profile desktop add dsh-aiagent-taskboard@git+https://github.com/linglanxin/dsh-aiagent-taskboard.git
# For the exact subcommand, refer to `dsh plugin add --help`; you can also clone into <profile>\node_modules\ and use the scripts in the repo
On Windows, you can also use the PowerShell scripts included in the repository (default target profile is desktop):
powershell -ExecutionPolicy Bypass -File tools\install.ps1
powershell -ExecutionPolicy Bypass -File tools\uninstall.ps1
Installation does two things: creates a directory junction in <profile>\node_modules\; appends a - insert: line to <profile>\cordis.patch.yml (the original file is backed up to ~\.dsh\.dsh-rollback-*).
Reload note: After modifying the host half index.js, you must reload DSH (if HMR is not enabled, plugin-manager.reload() will skip it); if only modifying the client client.js, just refresh the page.
Environment requirements (from package.json): Node ^22.19.0 || >=24.0.0; DSH >=0.2.0-rc.2 <0.3.0. License MIT, current package version 0.1.0.
Configuration¶
Priority: environment variables > local.config.json in the plugin directory (gitignored) > home directory defaults.
| Setting | Environment variable | local.config.json |
Default (Windows) |
|---|---|---|---|
| Agent root directory | AIAGENT_HOME |
agentHome |
%USERPROFILE%\aiagent |
| Event log directory | AIAGENT_STATE_DIR |
stateDir |
<agentHome>\.state |
| Session root directories | AIAGENT_SESSION_ROOTS (;-separated) |
sessionRoots (array) |
<agentHome>\{codex,claudecode,dsh} |
| Open Design data directory | OD_DATA_DIR |
odDataDir |
%APPDATA%\Open Design\namespaces\release-stable-win\data |
Copy local.config.example.json to local.config.json and modify; if the file is missing or malformed, it silently falls back to defaults.
Typical Usage and Self-Testing¶
The panel itself does not start agents; to see Codex / Claude Code entries on the task board, you need separate local wrappers writing events to events.jsonl. If these scripts are not configured, the task list may be empty, though the panel may still show “Session directories” and Open Design related blocks.
To clear history: delete <stateDir>\events.jsonl (append-only, no automatic cleanup).
Self-test commands in the repository:
node test\host.test.mjs # event folding/status/duration/artifacts/agent aggregation + routing requestBody regression
node test\client.test.mjs # bundle registration, panel rendering, buildTimeline layout
Use Cases and Notes¶
Suitable for: Developers already using multiple AI agents or Open Design in a DSH desktop profile who want to see “who is running, just completed/failed, directories and artifacts” in a single Web panel, and are willing to maintain the event log writing pipeline.
Limitations (key points from the README):
- Per-message progress for Codex / Claude is not shown on this panel; only task start/end and artifacts are available; details require checking respective session files.
- Open Design HTTP is an internal interface and may change after upgrades; port discovery failure does not affect other data display.
- This repository only contains the panel;
aiagent-log.ps1and wrappers such ascodex.cmd/claude.cmdbelong to a separate set of local scripts and are not distributed with this package.
Security and permissions: The plugin reads local paths and performs port discovery logic with the current DSH process permissions. Before installation, read the source code and the MIT license to confirm the paths and data directories comply with your environment policy. The DSH community directory (e.g., SkillHub) is an independent site with no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
dsh-aiagent-taskboard consolidates multi-source task state into the DSH sidebar: chip overview, list details, swimlane timeline, and session directories. It is suitable for scenarios requiring a “global view at this moment” rather than deep-diving into individual session transcripts. For more information, see GitHub README and the SkillHub directory page.