@design.estate/dees-catalog 11.0.0 → 11.1.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 +76 -10
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.demo.js +24 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.js +13 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.js +9 -7
- package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.js +14 -5
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.js +19 -1
- package/dist_ts_web/elements/00group-harness/interfaces.d.ts +4 -0
- package/package.json +1 -1
- package/readme.md +4 -4
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.demo.ts +23 -0
- package/ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.ts +12 -0
- package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.ts +8 -6
- package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.ts +15 -4
- package/ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.ts +18 -0
- package/ts_web/elements/00group-harness/interfaces.ts +4 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -169790,6 +169790,29 @@ var toolShowcase = /* @__PURE__ */ __name(() => {
|
|
|
169790
169790
|
startedAt: now3 - 155e3,
|
|
169791
169791
|
finishedAt: now3 - 152e3
|
|
169792
169792
|
}
|
|
169793
|
+
},
|
|
169794
|
+
{
|
|
169795
|
+
id: "demo-t4",
|
|
169796
|
+
role: "assistant",
|
|
169797
|
+
text: "Re-ran the suite to confirm the cache key fix.",
|
|
169798
|
+
createdAt: now3 - 14e4
|
|
169799
|
+
},
|
|
169800
|
+
// A terminal card alone in its row: expanded it takes the pane, and once it collapses it
|
|
169801
|
+
// returns to the reading measure like the prose around it.
|
|
169802
|
+
{
|
|
169803
|
+
id: "demo-t5",
|
|
169804
|
+
role: "tool",
|
|
169805
|
+
text: "",
|
|
169806
|
+
createdAt: now3 - 13e4,
|
|
169807
|
+
toolCall: {
|
|
169808
|
+
id: "call-5",
|
|
169809
|
+
name: "run_command",
|
|
169810
|
+
status: "completed",
|
|
169811
|
+
input: { command: "pnpm test --filter sitemap", cwd: "/srv/app" },
|
|
169812
|
+
output: { exitCode: 0, stdout: "14 tests passed\n0 failed" },
|
|
169813
|
+
startedAt: now3 - 136e3,
|
|
169814
|
+
finishedAt: now3 - 131e3
|
|
169815
|
+
}
|
|
169793
169816
|
}
|
|
169794
169817
|
];
|
|
169795
169818
|
}, "toolShowcase");
|
|
@@ -172543,6 +172566,7 @@ ${derivedSubtitle}` : subtitle;
|
|
|
172543
172566
|
}
|
|
172544
172567
|
updated(changedProperties) {
|
|
172545
172568
|
super.updated(changedProperties);
|
|
172569
|
+
this.toggleAttribute("data-collapsed", !this.isOpen);
|
|
172546
172570
|
if (!this.isConnected) return;
|
|
172547
172571
|
this.terminalScrollHydrationFrame ??= requestAnimationFrame(() => {
|
|
172548
172572
|
this.terminalScrollHydrationFrame = null;
|
|
@@ -172877,7 +172901,21 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
172877
172901
|
:host {
|
|
172878
172902
|
display: block;
|
|
172879
172903
|
container-type: inline-size;
|
|
172904
|
+
margin-inline: auto;
|
|
172905
|
+
max-width: 100%;
|
|
172880
172906
|
font-family: var(--dees-font-family);
|
|
172907
|
+
transition: max-width var(--dees-transition-default) var(--dees-ease-standard);
|
|
172908
|
+
}
|
|
172909
|
+
|
|
172910
|
+
/*
|
|
172911
|
+
* A collapsed card may be held to a narrower measure than its row. The host — not the inner
|
|
172912
|
+
* surface — carries the constraint so the card's own inline-size container keeps measuring
|
|
172913
|
+
* what is actually rendered. The width comes from the context the card sits in: a transcript
|
|
172914
|
+
* row that holds this card alone sets it, a multi-card grid cell leaves it unset, and a
|
|
172915
|
+
* direct host falls back to the full row.
|
|
172916
|
+
*/
|
|
172917
|
+
:host([data-collapsed]) {
|
|
172918
|
+
max-width: var(--dees-harness-collapsed-tool-width, 100%);
|
|
172881
172919
|
}
|
|
172882
172920
|
|
|
172883
172921
|
.harness-card.subtaskPreviewCard {
|
|
@@ -176477,6 +176515,18 @@ __publicField(_DeesHarnessMessageList, "styles", [
|
|
|
176477
176515
|
width: 100%;
|
|
176478
176516
|
}
|
|
176479
176517
|
|
|
176518
|
+
/*
|
|
176519
|
+
* The pane is what an open command or diff needs, not what its one-line collapsed header
|
|
176520
|
+
* needs, so a closed card returns to the reading measure inside its row. Only a row holding
|
|
176521
|
+
* a single card offers it: in a multi-card grid the cell width is the layout, and shrinking
|
|
176522
|
+
* one card would break the row. The card applies this itself — it alone knows whether it is
|
|
176523
|
+
* open — and the measure stays defined here, with the rest of the column rules.
|
|
176524
|
+
*/
|
|
176525
|
+
.stack > [data-tool-layout='full-row'][data-tool-count='1'],
|
|
176526
|
+
.virtualItem[data-tool-layout='full-row'][data-tool-count='1'] {
|
|
176527
|
+
--dees-harness-collapsed-tool-width: min(var(--dees-harness-content-width, 820px), 100%);
|
|
176528
|
+
}
|
|
176529
|
+
|
|
176480
176530
|
/*
|
|
176481
176531
|
* One or two subagents are read like any other content, so they stay on the measure. The
|
|
176482
176532
|
* pane is only worth taking once three or more cards have to sit side by side.
|
|
@@ -179398,13 +179448,13 @@ var stages = {
|
|
|
179398
179448
|
paused: { state: "normal", label: "Paused", description: "Permission was declined. The requested action did not run." }
|
|
179399
179449
|
};
|
|
179400
179450
|
var demoSessions = /* @__PURE__ */ __name(() => [
|
|
179401
|
-
{ title: "Fix sitemap cache key", harness: { id: "codex", name: "Codex" }, stage: "approval" },
|
|
179402
|
-
{ title: "Investigate model rate limits", harness: { id: "opencode", name: "OpenCode" }, stage: "working" },
|
|
179403
|
-
{ title: "Refactor workbench layout", harness: { id: "flexharness", name: "FlexHarness" }, stage: "feedback" },
|
|
179404
|
-
{ title: "Add adaptive code diffs", harness: { id: "codex", name: "Codex" }, stage: "finished" },
|
|
179405
|
-
{ title: "Prepare the catalog release", harness: { id: "opencode", name: "OpenCode" }, stage: "error" },
|
|
179451
|
+
{ title: "Fix sitemap cache key", harness: { id: "codex", name: "Codex" }, projectLabel: "storefront", stage: "approval" },
|
|
179452
|
+
{ title: "Investigate model rate limits", harness: { id: "opencode", name: "OpenCode" }, projectLabel: "gateway", stage: "working" },
|
|
179453
|
+
{ title: "Refactor workbench layout", harness: { id: "flexharness", name: "FlexHarness" }, projectLabel: "storefront", stage: "feedback" },
|
|
179454
|
+
{ title: "Add adaptive code diffs", harness: { id: "codex", name: "Codex" }, projectLabel: "catalog", stage: "finished" },
|
|
179455
|
+
{ title: "Prepare the catalog release", harness: { id: "opencode", name: "OpenCode" }, projectLabel: "catalog", stage: "error" },
|
|
179406
179456
|
{ title: "Improve agent onboarding", harness: { id: "flexharness", name: "FlexHarness" }, stage: "idle" },
|
|
179407
|
-
{ title: "Draft the migration guide", harness: { id: "codex", name: "Codex" }, stage: "starting" }
|
|
179457
|
+
{ title: "Draft the migration guide", harness: { id: "codex", name: "Codex" }, projectLabel: "gateway", stage: "starting" }
|
|
179408
179458
|
].map((session, index3) => ({
|
|
179409
179459
|
...session,
|
|
179410
179460
|
id: `session-${index3}`,
|
|
@@ -179445,6 +179495,7 @@ var demoResources = [
|
|
|
179445
179495
|
title: "Build shell",
|
|
179446
179496
|
icon: "lucide:Terminal",
|
|
179447
179497
|
preview: "pnpm run build",
|
|
179498
|
+
projectLabel: "storefront",
|
|
179448
179499
|
updatedAt: Date.now() - 9e4,
|
|
179449
179500
|
state: "ready"
|
|
179450
179501
|
},
|
|
@@ -179454,6 +179505,7 @@ var demoResources = [
|
|
|
179454
179505
|
title: "Release notes",
|
|
179455
179506
|
icon: "lucide:FileText",
|
|
179456
179507
|
preview: "Catalog migration notes",
|
|
179508
|
+
projectLabel: "catalog",
|
|
179457
179509
|
updatedAt: Date.now() - 18e4
|
|
179458
179510
|
},
|
|
179459
179511
|
{
|
|
@@ -180114,7 +180166,13 @@ var _DeesHarnessSessionList = class _DeesHarnessSessionList extends (_a100 = Dee
|
|
|
180114
180166
|
return [...pinned, ...ordered, ...unknown3];
|
|
180115
180167
|
}
|
|
180116
180168
|
resourceMatchesSearch(resourceArg, queryArg) {
|
|
180117
|
-
return [
|
|
180169
|
+
return [
|
|
180170
|
+
resourceArg.id,
|
|
180171
|
+
resourceArg.kind,
|
|
180172
|
+
resourceArg.title,
|
|
180173
|
+
resourceArg.preview,
|
|
180174
|
+
resourceArg.projectLabel
|
|
180175
|
+
].filter(Boolean).join(" ").toLowerCase().includes(queryArg);
|
|
180118
180176
|
}
|
|
180119
180177
|
sessionMatchesSearch(sessionArg, queryArg) {
|
|
180120
180178
|
return [
|
|
@@ -180123,6 +180181,7 @@ var _DeesHarnessSessionList = class _DeesHarnessSessionList extends (_a100 = Dee
|
|
|
180123
180181
|
sessionArg.id,
|
|
180124
180182
|
sessionArg.harness?.id,
|
|
180125
180183
|
sessionArg.harness?.name,
|
|
180184
|
+
sessionArg.projectLabel,
|
|
180126
180185
|
this.sessionStatusLabel(sessionArg),
|
|
180127
180186
|
this.sessionStateLabel(sessionArg.state ?? "normal")
|
|
180128
180187
|
].filter(Boolean).join(" ").toLowerCase().includes(queryArg);
|
|
@@ -180454,6 +180513,7 @@ var _DeesHarnessSessionList = class _DeesHarnessSessionList extends (_a100 = Dee
|
|
|
180454
180513
|
const detailsId = `session-details-${session.id}`;
|
|
180455
180514
|
const dropIndex = index3 < 0 ? 0 : index3;
|
|
180456
180515
|
const title = session.title || session.id;
|
|
180516
|
+
const projectLabel = session.projectLabel?.trim() ?? "";
|
|
180457
180517
|
return b2`
|
|
180458
180518
|
<article
|
|
180459
180519
|
class="item state-${state4} ${active ? "active" : ""} ${expanded ? "expanded" : ""} ${session.id === this.selectedSessionId ? "selected" : ""} ${sameItem(this.draggingItem, { kind: "session", id: session.id }) ? "dragging" : ""}"
|
|
@@ -180513,6 +180573,10 @@ var _DeesHarnessSessionList = class _DeesHarnessSessionList extends (_a100 = Dee
|
|
|
180513
180573
|
<span class="harnessName" title=${session.harness.name}>${session.harness.name}</span>
|
|
180514
180574
|
<span aria-hidden="true">·</span>
|
|
180515
180575
|
` : ""}
|
|
180576
|
+
${projectLabel ? b2`
|
|
180577
|
+
<span class="projectName" title=${projectLabel}>${projectLabel}</span>
|
|
180578
|
+
<span aria-hidden="true">·</span>
|
|
180579
|
+
` : ""}
|
|
180516
180580
|
<span class="itemTime">${harnessFormatRelativeTime(session.updatedAt ?? session.createdAt)}</span>
|
|
180517
180581
|
</span>
|
|
180518
180582
|
</span>
|
|
@@ -180562,6 +180626,7 @@ var _DeesHarnessSessionList = class _DeesHarnessSessionList extends (_a100 = Dee
|
|
|
180562
180626
|
const contextOpen = resourceArg.id === this.resourceContextResourceId;
|
|
180563
180627
|
const attachedTitle = attachedTarget ? this.itemTitleFor(attachedTarget) : "";
|
|
180564
180628
|
const title = resourceArg.title || resourceArg.id;
|
|
180629
|
+
const projectLabel = resourceArg.projectLabel?.trim() ?? "";
|
|
180565
180630
|
const dropIndex = indexArg < 0 ? 0 : indexArg;
|
|
180566
180631
|
return b2`
|
|
180567
180632
|
<article
|
|
@@ -180614,7 +180679,7 @@ var _DeesHarnessSessionList = class _DeesHarnessSessionList extends (_a100 = Dee
|
|
|
180614
180679
|
<span class="resourceTitle">${title}</span>
|
|
180615
180680
|
${resourceArg.preview ? b2`<span class="resourcePreview">${resourceArg.preview}</span>` : ""}
|
|
180616
180681
|
<span class="resourceMeta">
|
|
180617
|
-
${resourceArg.kind}${resourceArg.state ? ` \xB7 ${resourceArg.state}` : ""}${resourceArg.updatedAt || resourceArg.createdAt ? ` \xB7 ${harnessFormatRelativeTime(resourceArg.updatedAt ?? resourceArg.createdAt)}` : ""}
|
|
180682
|
+
${resourceArg.kind}${projectLabel ? ` \xB7 ${projectLabel}` : ""}${resourceArg.state ? ` \xB7 ${resourceArg.state}` : ""}${resourceArg.updatedAt || resourceArg.createdAt ? ` \xB7 ${harnessFormatRelativeTime(resourceArg.updatedAt ?? resourceArg.createdAt)}` : ""}
|
|
180618
180683
|
</span>
|
|
180619
180684
|
${attachedTarget ? b2`
|
|
180620
180685
|
<span class="resourceAttachment" title=${`Attached to ${attachedTitle}`}>
|
|
@@ -181524,7 +181589,8 @@ __publicField(_DeesHarnessSessionList, "styles", [
|
|
|
181524
181589
|
line-height: 14px;
|
|
181525
181590
|
}
|
|
181526
181591
|
|
|
181527
|
-
.harnessName
|
|
181592
|
+
.harnessName,
|
|
181593
|
+
.projectName {
|
|
181528
181594
|
min-width: 0;
|
|
181529
181595
|
overflow: hidden;
|
|
181530
181596
|
text-overflow: ellipsis;
|
|
@@ -223745,7 +223811,7 @@ init_group_runtime();
|
|
|
223745
223811
|
// ts_web/00_commitinfo_data.ts
|
|
223746
223812
|
var commitinfo = {
|
|
223747
223813
|
name: "@design.estate/dees-catalog",
|
|
223748
|
-
version: "11.
|
|
223814
|
+
version: "11.1.0",
|
|
223749
223815
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
223750
223816
|
};
|
|
223751
223817
|
|