github bowenliang123/dsh-context v0.75.0

6 hours ago

Install / Update

dsh plugin --profile web add dsh-context@latest
# or
dsh plugin --profile web update dsh-context@latest

What's New

image image

This release adds the Command Executions panel with a summary rail, moves the supported dsh set to the 0.2.0 / 0.2.1 lines (the 0.1.x line is dropped — upgrade dsh first), reworks the Context panel entry preferences with a new Hide option, and fixes subagent history reads, page scrolling under the Context Browser, Fleet family edges, and more.

Features

  • Command Executions panel — a new full-width panel below Events / File Activity on the Context tab logs every shell and code-mode execution of the session: one running record per bash / pwsh / run_code tool call, settled by the tool result and refined by the 0.2.1 line's job events, with nested PTC dispatches buffered under their run_code root.

    • Rows show status, a workspace-stripped command preview, shape badges (lines / heredoc / inline / background) and the duration (marked ≈ when derived from envelopes). A row expands to the full command, its model-authored intent, exit / cwd / output facts and Copy; clicking a row's time stamp reveals the result message in the Context Browser.
    • Chips filter All / Failed / Slow / Background, and search reads command, description and cwd.
    • A summary rail beside the list: colored KPI blocks (settled runs, failed share, total time, background), an Attention section (Slowest / Failing / Repeats / Background) whose rows drive the list, and a Programs ranking of every program with its share of runs — the rail's own search included.
    • Past 100 matched rows the list is windowed, so a long log stays smooth; pre-0.2.1 logs degrade gracefully and background dispatches read honestly as running until a settlement lands.
  • dsh 0.2.0-rc.2+ / 0.2.1-rc.2+ supported, 0.1.x dropped — the supported set is now exactly the dsh 0.2.0 and 0.2.1 lines from rc.2; the 0.1.7 line is no longer supported. Please upgrade dsh to 0.2.0-rc.2 or newer before updating the plugin.

  • Context panel entry reworked, Fleet tab fixed (#194)

    • The placement preference becomes Context panel entry with explicit options: All / Tab / Sidebar / Hide. Hide mounts neither the conversation Context tab nor the right Sidebar panel; the Context Insights page, the Fleet tab and the /context modal stay reachable.
    • The Fleet tab hangs on its own Show/Hide switch: a sidebar-only Context panel no longer withdraws it.
  • Context Browser: filtered count and token total — every filter toolbar prints ×N ≈T beside its search input: the rows left by the text and kind filters plus their estimated token price, anchored to the category's whole-block meter total.

  • In-field clear button — every filter and search field across the cards (command panel, File Activity, Context Browser and the /context modal, Fleet members and tasks, overview, the rich-text find bar) shows a small × while it holds a value; one click clears it and keeps focus.

  • File Activity: "By lines" sort, now the default — files order by added + removed line churn (+100 / −20 ranks as 120; equal churn falls back to newest op), and the card opens on this sort.

  • Events: jump to the landed step — clicking a compaction or prune row exits the overview ribbon, pins the first step it contributed to, and opens it in the detail panel and Context Browser.

Fixes and changes

  • Subagent context browser loads the system prompt (#193) — history reads went out under a plain session address and were refused with session/agent-busy; they now resolve through the subagent's durable parent address, re-resolved per read so a retry heals a late address.
  • Page scrolling under a collapsed Context Browser (#187) — the vertical wheel chains to the page when the rows region has nothing to scroll; horizontal containment (history swipe) and the /context overlay's containment stay.
  • Fleet family tree excludes forked sessions — a dsh fork is an ordinary session, not a family child; it now roots its own family while subagents and team members display unchanged.
  • Fleet network canvas fills the stretched card — the graph no longer clips at the 560px fold while the card's lower half stays empty.
  • Programs attribution across shell dialects — assignments and variable fragments no longer mis-read as programs; POSIX shells and PowerShell are scanned dialect-aware with basename normalization.
  • Rail lenses reset when switching attention rows — a failed filter or stale search no longer stacks with the next row's lens; the rail's fixed sections hold their height with only Programs scrolling.
  • Answer chip counts only real replies — whitespace-only text blocks no longer inflate the Answer kind, so the chip agrees with the stats card's tally.
  • Overview hover and pin rules stay visible over ribbon bands — the hover and pin rule no longer vanishes behind the stacked bands.
  • Plugins page jump works on dsh 0.2.1 — the settings entries open the plugin's page through the harness's openBundle navigator verb instead of polling the DOM, so a remembered plugins.tab selection can no longer strand the jump.
  • Fold pairing map refuses the reserved __proto__ call id (#197 by @jeanlyn).
  • The watch build runs a lean profile that cuts the watcher's resident memory (idle ~187MB → 68MB); repo-wide comment trim; CI auto-closes issues and PRs older than 15 days; READMEs and screenshots updated.

Commits

  • feat(ui): render the command detail as section cards with a result block (a904d85)
  • style(ui): color the command filters and drop the redundant title tally (7c140a7)
  • perf(watch): cut the watcher's resident memory (6686587)
  • feat(ui): add a hidden option to the Context panel entry (87e02b1)
  • style(ui): keep the placement options at All, Tab, Sidebar (cc4af61)
  • feat(ui): rework the settings card's grouping and entry copy (a04f963)
  • fix(fold): refuse the reserved proto call id in the pairing map (#197) (ff1ed68)
  • fix(agents): let the Fleet network canvas fill the stretched card (cdfa041)
  • feat(ui): add an in-field clear button to every search input (29294f3)
  • fix(history): address subagent sessions by their durable parent (dac81c6)
  • perf(commands): derive execution rows once and window the long log (6d66730)
  • fix(agents): clarify code review process and independent verification steps (5439215)
  • fix(commands): attribute programs across shell dialects (da01939)
  • style(commands): give the rail semantic color and aligned labels (209ab97)
  • fix(commands): reset the rail lenses when switching attention rows (570d881)
  • style(commands): lift the rail headings, row stripes, and metadata (21f8584)
  • fix(commands): make the programs ranking the rail's only scroller (dbc7446)
  • feat(commands): give the Command Executions panel a summary rail and a capped height (31abd50)
  • feat(commands): add the Command Executions panel to the Context tab (16c5c0f)
  • feat(browser): show filtered count and token total beside search (4266fed)
  • feat(files): default File Activity to the line-changes sort (cfd6766)
  • docs: refresh the File Activity screenshot for the line-changes sort (413b5ec)
  • feat(files): sort File Activity by added-plus-removed lines (5c83a32)
  • fix(scripts): run the differential fold check against the supported tag sources (fc7b57e)
  • feat(compat): support dsh 0.2.0-rc.2+ and 0.2.1-rc.2+, dropping the 0.1.7 line (4bafdf0)
  • chore(docs): update AGENTS.md with improved review process and clarity (5b0584e)
  • chore(docs): update AGENTS.md with improved review process and clarity (cc6aaa7)
  • chore(docs): update AGENTS.md with improved review process and clarity (2c82590)
  • chore(docs): update AGENTS.md with improved review process and clarity (e658b13)
  • fix(client): jump to the plugin's Plugins page through the panel navigator (ede4720)
  • chore(comments): trim code comments to the decision kernels across the tree (5749e40)
  • fix(client): keep the page scrolling under a collapsed context browser (a67356f)
  • chore(docs): update comments guidelines to emphasize minimalism and clarity (13c22c8)
  • fix(client): keep the overview hover and pin rules above the ribbon bands (629ee36)
  • feat(events): jump compaction and prune rows to their landed-on step (688e219)
  • chore(docs): temporarily remove the condemnation link of Kevinzzz6's zcode-context at zai-org/zcode-plugins#112 (comment) with standing all reserved rights and condemnation to his action (643681f)
  • fix(fleet): keep forked sessions out of the family tree (97c7cdb)
  • ci(workflows): auto-close issues and PRs older than 15 days daily (2f68c1c)
  • 更新 README.md (2bde34d)
  • 更新 README.md (3cafc9e)
  • fix(browser): count only fold-stamped replies as the Answer kind (14aa60d)

v0.74.0...v0.75.0 · 41 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.