Preface¶
When running multi-agent collaborations with AgentTeams, team state, token consumption, and working time are often scattered across session directories and the .agent-teams state. To get a centralized view in the DSH sidebar of “what’s running, how much it costs, and how long it’s been working,” the default interface is usually not intuitive enough.
dsh-agent-teams-dashboard is a client-side plugin for DSH Web: it adds a «Teams» section to the sidebar and provides a dashboard for each AgentTeams-related session—active and recently finished (last three days) teams, token usage and costs (USD/RUB) by time range, total working time, and an archive. Maintained by dadgrand, repository dadgrand/dsh-agent-teams-dashboard, current version 0.1.0, licensed under MIT. The plugin is categorized as a client extension in the DSH community catalog; see the catalog page at SkillHub plugin page.
What This Is¶
In one sentence: it read-only aggregates local DSH and AgentTeams state and renders a panel inside the DSH Shell; the panel does not access the external network directly and only calls same-origin JSON routes on the local machine.
The architecture has two halves (as described in the README):
- Host side:
index.js+lib/host/, reads DSH/AgentTeams state and exposes two JSON routes over loopback. - Browser side:
lib/client.js, draws the UI inside the DSH Shell.
Dependencies:
- DSH Web must support client plugins:
dsh.engines.dsh >= 0.2.0-rc.2(thedsh.clientbundle,sidebar.panellist/mainslots, etc.). - Data source: the AgentTeams plugin
@nanmicoder/dsh-agent-teamsmust be installed; if it isn’t, this plugin can still mount but the dashboard will be empty, and orca avatars will fall back to monograms.
Core Features¶
The following capabilities are drawn from the repository’s README feature list.
Sidebar and Overview¶
- Sidebar section «Teams» (panel id
agent-teams-dashboard, order 10); shows a live indicator dot when teams are running. - Time ranges: Today, 7 days (panel default), 30 days, All time, plus a custom range picker.
- Three main cards:
- Tokens: cache / input / output, stacked by day.
- Cost: primarily USD, RUB always visible; can show CBR exchange rate date and stale/override markers.
- Time: total working time and merged “online” time.
Team Cards and Archive¶
- Team grid: adaptive title font size with two-line truncation; colored status dots (active, waiting, halted, stalled, completed, unknown); lead and member orca images (monogram fallback when images are missing); dependency-ordered task roadmap and segmented progress bar; single-line metric footnotes.
- Archive: search by title; sort by end date, title, or cost; older teams can also be accessed via a bottom sticky button.
- Navigation: clicking a card or archive row opens the team chat (lead session) via the Shell; if the session doesn’t exist, a toast is shown and no navigation occurs.
Experience and Robustness¶
- Skeleton, empty, no-data-in-range, error, stale, and partial data states.
- A single corrupted
team.jsonwon’t wipe the page; only a warning bar is shown and the rest remains visible. - Light/dark themes follow DSH tokens; keyboard focus, polite live region, reduced motion support; RU/EN text dictionaries.
Installation and Activation¶
Prerequisites: DSH Web client plugin support, and (to see data) @nanmicoder/dsh-agent-teams.
Install from Git (recommended)¶
Replace <profile> with your DSH profile name (on Desktop the default is often desktop). After the command finishes, restart the host; the loader will automatically mount cordis.patch.yml.
dsh plugin --profile <profile> add --save-exact git+https://github.com/dadgrand/dsh-agent-teams-dashboard.git#v0.1.0
Desktop Plugin Manager¶
Open Settings → Plugins, choose “Install from Git URL”, paste:
git+https://github.com/dadgrand/dsh-agent-teams-dashboard.git#v0.1.0
Confirm installation and restart the host; the sidebar will show «Teams».
Manual Profile Editing¶
Add the following to the dependencies section of <DSH_HOME>/profiles/<profile>/package.json:
{
"dependencies": {
"dsh-agent-teams-dashboard": "git+https://github.com/dadgrand/dsh-agent-teams-dashboard.git#v0.1.0"
}
}
And add the package name to dsh.profile.bundles in the same file:
{
"dsh": {
"profile": {
"bundles": ["...", "dsh-agent-teams-dashboard"]
}
}
}
Then install and restart:
cd <DSH_HOME>/profiles/<profile>
pnpm install
<DSH_HOME> defaults to %USERPROFILE%\.dsh on Windows and ~/.dsh on macOS/Linux.
Configuration (Optional)¶
If no config is provided, defaults are used. You can override them in the profile’s cordis.patch.yml, for example:
- id: teams-dashboard
name: 'dsh-agent-teams-dashboard'
config:
archiveDays: 5
fxEnabled: true
Common keys (full table in the README):
| Key | Default | Summary |
|---|---|---|
stateDir |
.agent-teams |
AgentTeams state directory within each workspace |
archiveDays |
3 |
Days of inactivity before moving to archive (the panel requests 3 days) |
defaultRange |
today |
Default when a request has no range (panel itself defaults to 7 days) |
fxEnabled |
true |
Whether to fetch CBR exchange rates; false uses cache or built-in rates |
usdRub / cnyRub |
unset | Manual rates, take precedence over fetched values |
The environment variables DSH_TEAMS_DASHBOARD_USD_RUB and DSH_TEAMS_DASHBOARD_CNY_RUB can also override exchange rates.
Typical Usage¶
- Install and restart the DSH host; confirm AgentTeams is enabled in the same profile and produces
.agent-teamsdata in the workspace. - Open DSH Web and go to the «Teams» section in the sidebar.
- Choose a time range at the top (default 7 days) and review the three main cards for tokens, USD/RUB costs, and working time.
- In the team grid, check status and the task roadmap; use the archive to search or sort for history, or use the bottom button to access older teams.
- Click a team card or archive row to jump to the corresponding lead session and continue the conversation.
The panel only requests same-origin routes on local loopback; remote access to these routes returns 403 forbidden: loopback-only.
Privacy, Networking, and Suitability Notes¶
The plugin is read-only with respect to DSH home and workspaces; it does not read message bodies, does not read AgentTeams inboxes (inbox/*.jsonl is out of scope), and does not send telemetry. The only write is the exchange rate cache <DSH_HOME>/cache/dsh-teams-dashboard/fx.json (which can be deleted).
When fxEnabled: true is set, the only outbound requests are to the Central Bank of Russia exchange rate endpoints:
https://www.cbr.ru/scripts/XML_daily.asphttps://www.cbr-xml-daily.ru/daily_json.js(fallback)
If you don’t need external exchange rates, set fxEnabled: false.
Who it’s for: developers already using AgentTeams for multi-session collaboration on DSH who want to see token usage, costs, working time, and archives uniformly in the Web UI.
Before installing: the plugin reads local storage and session logs with the current DSH process permissions; review the GitHub source and the MIT license before installing. The DSH community catalog (such as SkillHub) is an independent site and is not officially affiliated with DeepSeek / High-Flyer; in the ecosystem, DSH emphasizes “everything is a plugin,” and this plugin is one such client-side visualization extension.
If «Teams» is missing from the sidebar, the README suggests checking dsh.profile.bundles, whether git dependencies resolved completely, and whether the host has been restarted.
Summary¶
dsh-agent-teams-dashboard brings AgentTeams team cards, usage curves, dual-currency costs, working time, and archives into the DSH Web sidebar, keeping data local and serving the panel via loopback. For installation commands and configuration details, refer to the repository README.