@design.estate/dees-catalog 13.3.1 → 13.4.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.
@@ -180726,6 +180726,16 @@ var demoCalls = [
180726
180726
  name: "mystery_tool",
180727
180727
  status: "pending",
180728
180728
  input: { anything: "goes", level: 3 }
180729
+ },
180730
+ {
180731
+ // A live snapshot the producer cut to its transfer budget: the card shows a prefix and says so.
180732
+ id: "t14",
180733
+ name: "run_command",
180734
+ status: "running",
180735
+ input: { command: "pnpm build --verbose", cwd: "/srv/app" },
180736
+ output: { stdout: "compiling ts_web\u2026\nbundling 214 modules\u2026" },
180737
+ outputTruncated: true,
180738
+ startedAt: now2 - 300
180729
180739
  }
180730
180740
  ];
180731
180741
  var demoFunc58 = /* @__PURE__ */ __name(() => demoPage("Tool activity", "Inspect commands, changes, resources and subagent activity.", b2`
@@ -182085,6 +182095,15 @@ ${derivedSubtitle}` : subtitle;
182085
182095
  </span>
182086
182096
  `;
182087
182097
  }
182098
+ /**
182099
+ * Discloses a payload the producer cut to its live transfer budget. The prefix carries no marker
182100
+ * of its own — an in-band one would survive into the durable text that replaces it — so the card
182101
+ * is the only place the bound can be said, and it says it in words rather than by tone alone.
182102
+ */
182103
+ renderTruncationNotice(call) {
182104
+ const notice = call.outputTruncated && call.errorTextTruncated ? "Live preview \u2014 the complete output and error arrive with the transcript." : call.errorTextTruncated ? "Live preview \u2014 the complete error arrives with the transcript." : call.outputTruncated ? "Live preview \u2014 the complete output arrives with the transcript." : "";
182105
+ return notice ? b2`<div class="truncationNotice">${notice}</div>` : b2``;
182106
+ }
182088
182107
  renderBody(call) {
182089
182108
  const descriptor = this.descriptor;
182090
182109
  const helpers = this.createHelpers();
@@ -182093,8 +182112,9 @@ ${derivedSubtitle}` : subtitle;
182093
182112
  helpers
182094
182113
  );
182095
182114
  const subtaskAction = descriptor.kind === "subtask" ? this.renderSubtaskAction(call) : b2``;
182115
+ const truncationNotice = this.renderTruncationNotice(call);
182096
182116
  if (!this.hasLiveSubtaskPreview || !call.subtask) {
182097
- return descriptor.kind === "subtask" ? b2`${base2}${subtaskAction}` : base2;
182117
+ return descriptor.kind === "subtask" ? b2`${base2}${truncationNotice}${subtaskAction}` : b2`${base2}${truncationNotice}`;
182098
182118
  }
182099
182119
  const subtask = call.subtask;
182100
182120
  return b2`
@@ -182631,6 +182651,32 @@ __publicField(_DeesHarnessToolCard, "styles", [
182631
182651
  font-size: var(--dees-font-caption1-size, 11px);
182632
182652
  }
182633
182653
 
182654
+ /*
182655
+ * Sits in the body grid next to the payload rather than inside it: "Show all" lifts the
182656
+ * card's own character clamp, while this bound belongs to the producer and outlives it, so
182657
+ * the two must never read as one control.
182658
+ */
182659
+ .truncationNotice {
182660
+ padding-top: var(--dees-spacing-xs);
182661
+ border-top: 1px solid var(--dees-color-border-subtle);
182662
+ color: var(--dees-color-text-secondary);
182663
+ font-size: var(--dees-font-caption1-size, 11px);
182664
+ }
182665
+
182666
+ /*
182667
+ * The subtask body is the one body that places its parts by row, so the notice claims a row
182668
+ * of its own there — auto-placement would drop it past the pinned drill-in action, away from
182669
+ * the Result it describes. Both rules are conditional: without a notice the subtask body
182670
+ * keeps its three rows, and no other body gains an empty row and its gap.
182671
+ */
182672
+ .body:not(.liveSubtaskBody):has(> .harness-subtask-open) > .truncationNotice {
182673
+ grid-row: 3;
182674
+ }
182675
+
182676
+ .body:not(.liveSubtaskBody):has(> .truncationNotice) > .harness-subtask-open {
182677
+ grid-row: 4;
182678
+ }
182679
+
182634
182680
  .harness-subtask-detail {
182635
182681
  display: grid;
182636
182682
  align-content: start;
@@ -238156,7 +238202,7 @@ init_group_runtime();
238156
238202
  // ts_web/00_commitinfo_data.ts
238157
238203
  var commitinfo = {
238158
238204
  name: "@design.estate/dees-catalog",
238159
- version: "13.3.1",
238205
+ version: "13.4.0",
238160
238206
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
238161
238207
  };
238162
238208