@design.estate/dees-catalog 22.1.0 → 22.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +2062 -1354
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-3SSZ4CDV.js → chunk-B6IKM3SA.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-VIN4YGID.js → chunk-IASP6M5U.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6I3PIV5F.js → chunk-ZPJBKBPH.js} +8 -6
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6I3PIV5F.js.map → chunk-ZPJBKBPH.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-STYNV6A3.js → de-3ZAD2XFI.js} +8 -6
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-STYNV6A3.js.map → de-3ZAD2XFI.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-PULP7K3X.js → dees-modal-CPEH77LV.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-KEQHBOYE.js → dees-workspace-terminal-65M4HBRK.js} +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.d.ts +16 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.demo.js +458 -57
- package/dist_ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.js +67 -34
- package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.d.ts +22 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.js +61 -7
- package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.js +273 -27
- package/dist_ts_web/i18n/de.d.ts +16 -8
- package/dist_ts_web/i18n/de.js +7 -5
- package/dist_ts_web/i18n/messages.d.ts +16 -8
- package/dist_ts_web/i18n/messages.js +7 -5
- package/package.json +1 -1
- package/readme.md +4 -2
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.demo.ts +504 -98
- package/ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.ts +68 -33
- package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.ts +41 -2
- package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.ts +271 -25
- package/ts_web/i18n/de.ts +6 -4
- package/ts_web/i18n/messages.ts +6 -4
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-3SSZ4CDV.js.map → chunk-B6IKM3SA.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-VIN4YGID.js.map → chunk-IASP6M5U.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-PULP7K3X.js.map → dees-modal-CPEH77LV.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-KEQHBOYE.js.map → dees-workspace-terminal-65M4HBRK.js.map} +0 -0
package/readme.md
CHANGED
|
@@ -6318,7 +6318,7 @@ The compact **New group** button sits beside search whenever `enableGrouping` is
|
|
|
6318
6318
|
|
|
6319
6319
|
The Workspace demo pairs the list with a selected-session workspace. Its controls step through starting, working, feedback, approval, completion and failure without timers or backend operations. Question and permission responses update the selected session; declining approval pauses it. The narrow layout switches between the preserved list and detail panes with an **All sessions** control that restores row focus.
|
|
6320
6320
|
|
|
6321
|
-
Generic host resources use the exported `IHarnessResourceMeta` and `IHarnessResourceAssociation` contracts. Set `.resources`, `.resourceAssociations`, `.selectedResourceId`, and `.eligibleTargetsByResourceId`. Resource rows render as top-level rows in the ordered list, never as children of a session. Optional `projectLabel` renders on the resource metadata line after the kind and is searched like the title and preview. Set `.attachableSessions` (`IHarnessSessionMeta[]`) to sessions that resources may attach to without rendering them: their titles name a resource's attachments, and association requests and `eligibleTargetsByResourceId` accept them as targets. A list with resources and no rendered sessions searches
|
|
6321
|
+
Generic host resources use the exported `IHarnessResourceMeta` and `IHarnessResourceAssociation` contracts. Set `.resources`, `.resourceAssociations`, `.selectedResourceId`, and `.eligibleTargetsByResourceId`. Resource rows render as top-level rows in the ordered list, never as children of a session. Optional `projectLabel` renders on the resource metadata line after the kind and is searched like the title and preview. Set `.attachableSessions` (`IHarnessSessionMeta[]`) to sessions that resources may attach to without rendering them: their titles name a resource's attachments, and association requests and `eligibleTargetsByResourceId` accept them as targets. A list with resources and no rendered sessions searches its resources alone, so a host can show them beside a conversation list that lives elsewhere. Set `resourceKind` to the kind such a list shows, and its search field, loading note, empty note and no-match note use that kind's words: `terminal`, `browser` and `workspace` read as "Search terminals", "Loading browsers…", "No workspaces yet." and so on, any other kind as resources. Unset, the list takes the kind its resources share, and while it cannot tell what it shows it says "Search…" and "Loading…". `emptyText` still overrides the empty note. A resource can be attached to several items at once: `IHarnessResourceAssociation.targets` is a set of refs, de-duplicated on projection, and the row shows one marker per attachment — two by name, the rest as a `+N` count with every name in the row's title. `IHarnessResourceEventDetail.targets` carries the same set on select, open and context events. Resource metadata is presentation-only: the list never mounts a terminal, browser, file viewer, or other runtime.
|
|
6322
6322
|
|
|
6323
6323
|
**Attaching is a deliberate gesture, never an accident of reordering.** An association is an access grant: it shows as a decorative marker on the resource row (a link icon plus each target's title, resolved from `sessions` or `resources` regardless of search or collapse) and never moves the row. A resource dropped on the **centre half of a row** attaches to it; the outer quarters of that same row, and every gap between rows, stay purely positional. The row being targeted shows a ring, a tint and a link badge, and no insertion gap opens while it does. A drag attaches an unattached resource and moves a singly attached one. A resource attached to several conversations is only repositioned by drag — it offers no attach affordance on any row, because a drag cannot say which of its attachments was meant; use **Move to…** for that. Keyboard moves stay positional; attaching by keyboard goes through the host's menu. The target is any other item, so a resource may be attached to a session **or** to another resource such as a terminal, and to several at once:
|
|
6324
6324
|
|
|
@@ -6408,10 +6408,12 @@ Search covers resource ID, kind, title, and preview, and matches sessions and re
|
|
|
6408
6408
|
|
|
6409
6409
|
A plain, read-only list of sessions from any harness, fed by the host and never arranged by hand. Each `IHarnessSessionRow` is `{ id, harness, state, name, excerpt?, tickets?, updatedAt }`, where `harness` is `claude`, `codex`, `flex`, `opencode` or any other id, and `state` is `needs_input`, `working`, `completed` or `failed`. Rows fall into fixed groups in that order of urgency — Needs input, Working, Failed, Completed — each with its count, newest first. Completed shows its newest `completedLimit` rows (default 3) behind a "… N more" control; the selected row stays visible even when it is folded.
|
|
6410
6410
|
|
|
6411
|
-
One line per row: the harness glyph is the status mark (needs input blinks in the warning colour, working pulses slowly, failed is red, completed is muted and still), then the name, the first ticket as a chip ("+N" when there are more, every key in its title), and the age. The latest `excerpt` joins the line only when the list's own container is at least 720px wide; it measures itself with a container query, not the window. Each mark is named for assistive technology, for example "Codex · working". Under `prefers-reduced-motion` the marks keep their colours and stop moving. A harness the list does not know renders a generic bot glyph and its id. The glyphs are Lucide icons, not product logos.
|
|
6411
|
+
One line per row: the harness glyph is the status mark (needs input blinks in the warning colour, working pulses slowly, failed is red, completed is muted and still), then the name, the first ticket as a chip ("+N" when there are more, every key in its title), and the age. The latest `excerpt` joins the line only when the list's own container is at least 720px wide; it measures itself with a container query, not the window. Every row of every group shares one set of columns, so names, excerpts, chips and ages each start on one edge; in the wide layout the name column is as wide as the longest name, up to `--dees-harness-session-name-max` (default `20rem`), and a longer name ends in an ellipsis with its full text in the tooltip. Each mark is named for assistive technology, for example "Codex · working". Under `prefers-reduced-motion` the marks keep their colours and stop moving. A harness the list does not know renders a generic bot glyph and its id. The glyphs are Lucide icons, not product logos.
|
|
6412
6412
|
|
|
6413
6413
|
The list emits `harness-session-row-select` (`IHarnessSessionRowEventDetail`, `{ row }`) and `harness-session-ticket-select` (`IHarnessSessionTicketEventDetail`, `{ row, ticket }`, the first ticket); both bubble and are composed. Right-click on a row, or ContextMenu or Shift+F10 on a focused one, emits `harness-session-row-context` (`IHarnessSessionRowContextDetail`, `{ row, clientX, clientY, source, originalEvent }`): the list prevents the browser menu and the host opens its own, at the pointer or, for the keyboard (`source: 'keyboard'`), just under the row. `DeesContextmenu.openContextMenuWithOptions` takes a `MouseEvent`, so a keyboard request opens it with `new MouseEvent('contextmenu', { clientX, clientY })` and `ownerElement` set to the row's focus target. Keyboard: one tab stop; ArrowUp, ArrowDown, Home and End move between rows and the "more" control, ArrowRight and ArrowLeft between a row and its ticket chip, Enter or Space activates. A row that changes state keeps focus as it moves to its new group. `focusList()` moves focus into the list: to the row last used, else the selected row, else the first. Other properties: `selectedSessionId`, `loading`, and `emptyText`.
|
|
6414
6414
|
|
|
6415
|
+
While `loading` is set the list is `aria-busy`. The first load — `loading` with no rows — draws five placeholder rows under a placeholder group header, on the same columns and heights as the rows that replace them, so nothing moves when the feed answers. They appear only once the load has taken 200 ms, so a quick load never flashes them, and shimmer gently (still under `prefers-reduced-motion`). After `DeesHarnessSessionList.stillLoadingAfter` (10 000 ms) the list says "Still loading sessions…" and the placeholders hold still. Assistive technology hears one status, "Loading sessions…" and later the still-loading line; the placeholders are hidden from it. Rows already on show stay while more load: the skeleton never replaces them.
|
|
6416
|
+
|
|
6415
6417
|
```typescript
|
|
6416
6418
|
import type { IHarnessSessionRow, IHarnessSessionRowEventDetail } from '@design.estate/dees-catalog';
|
|
6417
6419
|
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '22.
|
|
6
|
+
version: '22.2.0',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
}
|