@design.estate/dees-catalog 11.1.0 → 11.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 +42 -11
- 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 +7 -2
- 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 +6 -1
- 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");
|
|
@@ -176584,8 +176610,13 @@ __publicField(_DeesHarnessMessageList, "styles", [
|
|
|
176584
176610
|
}
|
|
176585
176611
|
}
|
|
176586
176612
|
|
|
176613
|
+
/*
|
|
176614
|
+
* The activity line is the tail of the transcript, not chrome around it, so it sits on the
|
|
176615
|
+
* same measure as the prose rows and starts at their left edge instead of spanning the pane.
|
|
176616
|
+
*/
|
|
176587
176617
|
.statusRow {
|
|
176588
|
-
|
|
176618
|
+
width: min(var(--dees-harness-content-width, 820px), 100%);
|
|
176619
|
+
margin-inline: auto;
|
|
176589
176620
|
}
|
|
176590
176621
|
|
|
176591
176622
|
.empty {
|
|
@@ -223811,7 +223842,7 @@ init_group_runtime();
|
|
|
223811
223842
|
// ts_web/00_commitinfo_data.ts
|
|
223812
223843
|
var commitinfo = {
|
|
223813
223844
|
name: "@design.estate/dees-catalog",
|
|
223814
|
-
version: "11.
|
|
223845
|
+
version: "11.2.0",
|
|
223815
223846
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
223816
223847
|
};
|
|
223817
223848
|
|