Repository navigation
Releases: Synapse-ACh/dsh-subagent-cost
Release list
v0.1.4 — client module id fix, bilingual docs
Fixes
fix(client): register the client module under the package iddsh-subagent-costinstead of the scaffold id@local/subagent-cost. Installing the npm package next to a leftover local link made the client bundle register twice, which failed web boot withduplicate factory registration.
Docs
- Bilingual README and bilingual
description/keywordsfor the npm page and plugin storefronts. assets/screenshot-dock.pngandassets/screenshot-panel.pnglinked from the README.
Notes
- No API or metering changes: the same
GET /api/subagent-cost/summary?session=<id>contract and the same four-bucket V4.1 pricing.
v0.1.3 — opaque summary panel
Published as dsh-subagent-cost@0.1.3 on npm (shasum 1461ee85...).
Fix: the dock summary panel was semi-transparent — its background was the theme token --dsw-specific-menu = #f8f9faf0 (94% alpha), so conversation text showed through. It now composites that menu tint over the opaque --dsw-alias-bg-base surface (#fff light / #151517 dark) and disables backdrop filters. Visual look unchanged, no transparency.
v0.1.2 — published to npm
Published as dsh-subagent-cost@0.1.2 on npm (shasum db6b7e11...). Fixes the Chinese dock label by registering locale dictionaries as a hard client dependency, so zh no longer depended on load order.
v0.1.1 — installable straight from the repo
Now that dsh resolves engines.dsh (0.2.1-alpha.4+) and the plugin manager is the install path for the desktop profile, the README leads with a one-line spec:
plugin_manager action:install_bundle target:github:bianshuyang3-prog/dsh-subagent-cost
package.jsondeclaresengines.dsh: >=0.2.1-rc.2 <0.3.0instead of a fixed version.- README install section rewritten around the git spec, with the local-checkout path kept as a fallback.
v0.1.0
First release: dock pill + per-turn panel for subagent token usage and CNY cost.
- host endpoint
GET /api/subagent-cost/summary?session=<id>(loopback only) - disk fast path with frame-by-frame zstd decoding (0.19s for 38 children vs 9.7s via sessionQuery)
- attribution by
subagent/catalogevents bucketed into parent turns - pricing vendored from @kidli1412/dsh-session-cost (MIT)