status-telemetry: session telemetry pill for the DSH composer dock

Client plugin bundle that contributes one entry to the
`conversation.composer.dock` list slot: a collapsed status pill that expands
in place into a token, performance and context panel. It adds a distinct
entry id and changes nothing the app already renders, so disabling the bundle
restores the previous UI.

- package.json declares dsh.bundle.patch and dsh.client (platform: web)
- cordis.patch.yml inserts the status-telemetry Loader row
- index.js is the mountable host half
- test/client.test.mjs runs offline with node --test (17 pass, 1 skip)

install.sh registers the bundle in dsh.profile.bundles as a bare package
name, which is the only form the loader resolves: it looks the entry up
through node_modules from the profile directory.
This commit is contained in:
Andre Neto
2026-10-08 11:42:36 +01:00
commit 232c26b8d0
10 changed files with 1483 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# Bundle patch for @local/dsh-status-telemetry.
#
# This file is applied because the profile lists the bundle in
# dsh.profile.bundles. Do not also insert this row into the profile's own
# cordis.patch.yml: the plugin would then load twice, and the second slot
# registration at the same id and priority would throw.
#
# `insert` names are anchored beside this file, so the specifier below resolves
# to this directory once the bundle is installed in the profile.
- insert:
- id: status-telemetry
name: '@local/dsh-status-telemetry'