@design.estate/dees-catalog 11.1.0 → 11.2.1
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 +50 -17
- 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 +26 -4
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.js +15 -8
- package/dist_ts_web/elements/00group-harness/harness.helpers.js +4 -2
- package/dist_ts_web/elements/00group-harness/toolregistry.js +10 -6
- package/package.json +1 -1
- package/readme.md +2 -2
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.demo.ts +25 -3
- package/ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.ts +14 -7
- package/ts_web/elements/00group-harness/harness.helpers.ts +3 -1
- package/ts_web/elements/00group-harness/toolregistry.ts +9 -5
package/dist_bundle/bundle.js
CHANGED
|
@@ -168881,7 +168881,7 @@ var harnessTerminalResultSummary = /* @__PURE__ */ __name((callArg) => {
|
|
|
168881
168881
|
const combined = `${stdout}${stdout && stderr ? "\n" : ""}${stderr}`;
|
|
168882
168882
|
const lineCount = combined ? harnessStripAnsi(combined).split("\n").filter((line) => line.trim()).length : 0;
|
|
168883
168883
|
if (lineCount > 0) parts.push(`${lineCount} ${lineCount === 1 ? "line" : "lines"}`);
|
|
168884
|
-
else
|
|
168884
|
+
else parts.push("no output");
|
|
168885
168885
|
const lastLine = harnessLastMeaningfulLine(stderr) || harnessLastMeaningfulLine(stdout);
|
|
168886
168886
|
const prefix = parts.join(" \xB7 ");
|
|
168887
168887
|
if (!lastLine) return prefix;
|
|
@@ -168925,12 +168925,16 @@ var defaultDescriptors = [
|
|
|
168925
168925
|
defaultExpanded: true,
|
|
168926
168926
|
layout: "full-row",
|
|
168927
168927
|
/*
|
|
168928
|
-
*
|
|
168929
|
-
*
|
|
168930
|
-
*
|
|
168931
|
-
*
|
|
168928
|
+
* A finished command collapses unless it reports a failure. A missing exit code is not a
|
|
168929
|
+
* failure — most harnesses never send one — so requiring proof of success kept nearly every
|
|
168930
|
+
* terminal card open and left whole transcripts expanded. A non-zero exit keeps its output on
|
|
168931
|
+
* screen; an error or a stopped command never reaches this rule, because the card keeps those
|
|
168932
|
+
* open on status alone. The user's own expand or collapse still wins over all of it.
|
|
168932
168933
|
*/
|
|
168933
|
-
collapseWhenFinished: /* @__PURE__ */ __name((call) =>
|
|
168934
|
+
collapseWhenFinished: /* @__PURE__ */ __name((call) => {
|
|
168935
|
+
const { exitCode: exitCode3 } = harnessTerminalOutcome(call);
|
|
168936
|
+
return exitCode3 === void 0 || exitCode3 === 0;
|
|
168937
|
+
}, "collapseWhenFinished"),
|
|
168934
168938
|
summary: harnessTerminalResultSummary
|
|
168935
168939
|
},
|
|
168936
168940
|
{
|
|
@@ -169797,8 +169801,8 @@ var toolShowcase = /* @__PURE__ */ __name(() => {
|
|
|
169797
169801
|
text: "Re-ran the suite to confirm the cache key fix.",
|
|
169798
169802
|
createdAt: now3 - 14e4
|
|
169799
169803
|
},
|
|
169800
|
-
// A
|
|
169801
|
-
//
|
|
169804
|
+
// A finished command that never reported an exit code: it collapses like any other clean
|
|
169805
|
+
// finish, alone in its row, so it shows the collapsed reading measure.
|
|
169802
169806
|
{
|
|
169803
169807
|
id: "demo-t5",
|
|
169804
169808
|
role: "tool",
|
|
@@ -169809,10 +169813,32 @@ var toolShowcase = /* @__PURE__ */ __name(() => {
|
|
|
169809
169813
|
name: "run_command",
|
|
169810
169814
|
status: "completed",
|
|
169811
169815
|
input: { command: "pnpm test --filter sitemap", cwd: "/srv/app" },
|
|
169812
|
-
output:
|
|
169816
|
+
output: "14 tests passed\n0 failed",
|
|
169813
169817
|
startedAt: now3 - 136e3,
|
|
169814
169818
|
finishedAt: now3 - 131e3
|
|
169815
169819
|
}
|
|
169820
|
+
},
|
|
169821
|
+
{
|
|
169822
|
+
id: "demo-t6",
|
|
169823
|
+
role: "assistant",
|
|
169824
|
+
text: "The lint run is still failing though.",
|
|
169825
|
+
createdAt: now3 - 12e4
|
|
169826
|
+
},
|
|
169827
|
+
// The other half of the rule: a non-zero exit keeps its output on screen and the pane with it.
|
|
169828
|
+
{
|
|
169829
|
+
id: "demo-t7",
|
|
169830
|
+
role: "tool",
|
|
169831
|
+
text: "",
|
|
169832
|
+
createdAt: now3 - 11e4,
|
|
169833
|
+
toolCall: {
|
|
169834
|
+
id: "call-7",
|
|
169835
|
+
name: "run_command",
|
|
169836
|
+
status: "completed",
|
|
169837
|
+
input: { command: "pnpm lint", cwd: "/srv/app" },
|
|
169838
|
+
output: { exitCode: 1, stdout: "", stderr: "sitemap.job.ts:12:3 error Unexpected any" },
|
|
169839
|
+
startedAt: now3 - 116e3,
|
|
169840
|
+
finishedAt: now3 - 111e3
|
|
169841
|
+
}
|
|
169816
169842
|
}
|
|
169817
169843
|
];
|
|
169818
169844
|
}, "toolShowcase");
|
|
@@ -176517,13 +176543,15 @@ __publicField(_DeesHarnessMessageList, "styles", [
|
|
|
176517
176543
|
|
|
176518
176544
|
/*
|
|
176519
176545
|
* 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.
|
|
176521
|
-
*
|
|
176522
|
-
*
|
|
176523
|
-
*
|
|
176546
|
+
* needs, so a closed card returns to the reading measure inside its row. Every full-row card
|
|
176547
|
+
* qualifies, however many share the group: they span all columns (see the grid-column rule
|
|
176548
|
+
* below) and stack vertically, so shrinking one never disturbs a neighbour. The side-by-side
|
|
176549
|
+
* grids are the compact and subagent ones, and neither is offered this width. The card
|
|
176550
|
+
* applies it itself — it alone knows whether it is open — and the measure stays defined
|
|
176551
|
+
* here, with the rest of the column rules.
|
|
176524
176552
|
*/
|
|
176525
|
-
.stack > [data-tool-layout='full-row']
|
|
176526
|
-
.virtualItem[data-tool-layout='full-row']
|
|
176553
|
+
.stack > [data-tool-layout='full-row'],
|
|
176554
|
+
.virtualItem[data-tool-layout='full-row'] {
|
|
176527
176555
|
--dees-harness-collapsed-tool-width: min(var(--dees-harness-content-width, 820px), 100%);
|
|
176528
176556
|
}
|
|
176529
176557
|
|
|
@@ -176584,8 +176612,13 @@ __publicField(_DeesHarnessMessageList, "styles", [
|
|
|
176584
176612
|
}
|
|
176585
176613
|
}
|
|
176586
176614
|
|
|
176615
|
+
/*
|
|
176616
|
+
* The activity line is the tail of the transcript, not chrome around it, so it sits on the
|
|
176617
|
+
* same measure as the prose rows and starts at their left edge instead of spanning the pane.
|
|
176618
|
+
*/
|
|
176587
176619
|
.statusRow {
|
|
176588
|
-
|
|
176620
|
+
width: min(var(--dees-harness-content-width, 820px), 100%);
|
|
176621
|
+
margin-inline: auto;
|
|
176589
176622
|
}
|
|
176590
176623
|
|
|
176591
176624
|
.empty {
|
|
@@ -223811,7 +223844,7 @@ init_group_runtime();
|
|
|
223811
223844
|
// ts_web/00_commitinfo_data.ts
|
|
223812
223845
|
var commitinfo = {
|
|
223813
223846
|
name: "@design.estate/dees-catalog",
|
|
223814
|
-
version: "11.1
|
|
223847
|
+
version: "11.2.1",
|
|
223815
223848
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
223816
223849
|
};
|
|
223817
223850
|
|