@design.estate/dees-catalog 6.9.1 → 6.10.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.
@@ -173396,6 +173396,12 @@ var inputAny = /* @__PURE__ */ __name((call, key2) => {
173396
173396
  return harnessIsRecord(call.input) ? call.input[key2] : void 0;
173397
173397
  }, "inputAny");
173398
173398
  var filePathOf = /* @__PURE__ */ __name((call) => inputField(call, "path") || inputField(call, "filePath") || inputField(call, "file"), "filePathOf");
173399
+ var projectTaskActions = /* @__PURE__ */ new Set(["list", "create", "update", "delete", "clear"]);
173400
+ var taskCallKind = /* @__PURE__ */ __name((call) => {
173401
+ if (String(call.name || "").toLowerCase() !== "task") return void 0;
173402
+ if (call.childSessionId || call.subtask) return "subtask";
173403
+ return projectTaskActions.has(inputField(call, "action")) ? "project-task" : "subtask";
173404
+ }, "taskCallKind");
173399
173405
  var defaultDescriptors = [
173400
173406
  {
173401
173407
  kind: "terminal",
@@ -173497,6 +173503,7 @@ var defaultDescriptors = [
173497
173503
  {
173498
173504
  kind: "subtask",
173499
173505
  names: ["delegate", "subagent"],
173506
+ match: /* @__PURE__ */ __name((call) => taskCallKind(call) === "subtask", "match"),
173500
173507
  label: "Subagent",
173501
173508
  icon: "lucide:Bot",
173502
173509
  // The child's model belongs in the collapsed header: a subagent often
@@ -173518,7 +173525,7 @@ var defaultDescriptors = [
173518
173525
  },
173519
173526
  {
173520
173527
  kind: "project-task",
173521
- names: ["task"],
173528
+ match: /* @__PURE__ */ __name((call) => taskCallKind(call) === "project-task", "match"),
173522
173529
  label: "Project task",
173523
173530
  icon: "lucide:ListChecks",
173524
173531
  subtitle: /* @__PURE__ */ __name((call) => {
@@ -179322,15 +179329,17 @@ var DeesHarnessQuestionCard = _DeesHarnessQuestionCard;
179322
179329
  init_dist_ts26();
179323
179330
  init_theme();
179324
179331
  init_dees_icon();
179325
- var _scrollFadeBottom_dec, _scrollFadeTop_dec, _entryAnimationsEnabled_dec, _showJumpChip_dec, _emptyText_dec, _emptyTitle_dec, _showTimestamps_dec, _showRoles_dec, _allowSubtaskStreams_dec3, _viewState_dec6, _toolRegistry_dec4, _fadeScrollEdges_dec, _hideScrollbar_dec, _autoFollow_dec, _questions_dec, _permissionsBusy_dec, _permissions_dec, _status_dec5, _messages_dec, _a86, _DeesHarnessMessageList_decorators, _init87, _messages, _status5, _permissions, _permissionsBusy, _questions, _autoFollow, _hideScrollbar, _fadeScrollEdges, _toolRegistry4, _viewState6, _allowSubtaskStreams3, _showRoles, _showTimestamps, _emptyTitle, _emptyText, _showJumpChip, _entryAnimationsEnabled, _scrollFadeTop, _scrollFadeBottom;
179332
+ var _scrollFadeBottom_dec, _scrollFadeTop_dec, _entryAnimationsEnabled_dec, _showJumpChip_dec, _emptyText_dec, _emptyTitle_dec, _showTimestamps_dec, _showRoles_dec, _allowSubtaskStreams_dec3, _viewState_dec6, _toolRegistry_dec4, _fadeScrollEdges_dec, _hideScrollbar_dec, _loadingEarlier_dec, _hasEarlierMessages_dec, _transcriptKey_dec, _autoFollow_dec, _questions_dec, _permissionsBusy_dec, _permissions_dec, _status_dec5, _messages_dec, _a86, _DeesHarnessMessageList_decorators, _init87, _messages, _status5, _permissions, _permissionsBusy, _questions, _autoFollow, _transcriptKey, _hasEarlierMessages, _loadingEarlier, _hideScrollbar, _fadeScrollEdges, _toolRegistry4, _viewState6, _allowSubtaskStreams3, _showRoles, _showTimestamps, _emptyTitle, _emptyText, _showJumpChip, _entryAnimationsEnabled, _scrollFadeTop, _scrollFadeBottom;
179326
179333
  var { repeat: repeat4 } = directives_exports;
179327
179334
  var pinThresholdPx = 48;
179335
+ var loadEarlierThresholdPx = 24;
179336
+ var scrollIntentSettlementMs = 250;
179328
179337
  var virtualizationThreshold = 40;
179329
179338
  var virtualOverscanPx = 800;
179330
179339
  var virtualGapPx = 8;
179331
179340
  var maximumToolMessagesPerGroup = 4;
179332
179341
  _DeesHarnessMessageList_decorators = [customElement("dees-harness-message-list")];
179333
- var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = DeesElement, _messages_dec = [n5({ attribute: false })], _status_dec5 = [n5({ attribute: false })], _permissions_dec = [n5({ attribute: false })], _permissionsBusy_dec = [n5({ type: Boolean })], _questions_dec = [n5({ attribute: false })], _autoFollow_dec = [n5({ type: Boolean })], _hideScrollbar_dec = [n5({ type: Boolean })], _fadeScrollEdges_dec = [n5({ type: Boolean })], _toolRegistry_dec4 = [n5({ attribute: false })], _viewState_dec6 = [n5({ attribute: false })], _allowSubtaskStreams_dec3 = [n5({ type: Boolean })], _showRoles_dec = [n5({ type: Boolean })], _showTimestamps_dec = [n5({ type: Boolean })], _emptyTitle_dec = [n5()], _emptyText_dec = [n5()], _showJumpChip_dec = [r5()], _entryAnimationsEnabled_dec = [r5()], _scrollFadeTop_dec = [r5()], _scrollFadeBottom_dec = [r5()], _a86) {
179342
+ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = DeesElement, _messages_dec = [n5({ attribute: false })], _status_dec5 = [n5({ attribute: false })], _permissions_dec = [n5({ attribute: false })], _permissionsBusy_dec = [n5({ type: Boolean })], _questions_dec = [n5({ attribute: false })], _autoFollow_dec = [n5({ type: Boolean })], _transcriptKey_dec = [n5()], _hasEarlierMessages_dec = [n5({ type: Boolean })], _loadingEarlier_dec = [n5({ type: Boolean })], _hideScrollbar_dec = [n5({ type: Boolean })], _fadeScrollEdges_dec = [n5({ type: Boolean })], _toolRegistry_dec4 = [n5({ attribute: false })], _viewState_dec6 = [n5({ attribute: false })], _allowSubtaskStreams_dec3 = [n5({ type: Boolean })], _showRoles_dec = [n5({ type: Boolean })], _showTimestamps_dec = [n5({ type: Boolean })], _emptyTitle_dec = [n5()], _emptyText_dec = [n5()], _showJumpChip_dec = [r5()], _entryAnimationsEnabled_dec = [r5()], _scrollFadeTop_dec = [r5()], _scrollFadeBottom_dec = [r5()], _a86) {
179334
179343
  constructor() {
179335
179344
  super(...arguments);
179336
179345
  __privateAdd(this, _messages, __runInitializers(_init87, 8, this, [])), __runInitializers(_init87, 11, this);
@@ -179339,19 +179348,22 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179339
179348
  __privateAdd(this, _permissionsBusy, __runInitializers(_init87, 20, this, false)), __runInitializers(_init87, 23, this);
179340
179349
  __privateAdd(this, _questions, __runInitializers(_init87, 24, this, [])), __runInitializers(_init87, 27, this);
179341
179350
  __privateAdd(this, _autoFollow, __runInitializers(_init87, 28, this, true)), __runInitializers(_init87, 31, this);
179342
- __privateAdd(this, _hideScrollbar, __runInitializers(_init87, 32, this, false)), __runInitializers(_init87, 35, this);
179343
- __privateAdd(this, _fadeScrollEdges, __runInitializers(_init87, 36, this, false)), __runInitializers(_init87, 39, this);
179344
- __privateAdd(this, _toolRegistry4, __runInitializers(_init87, 40, this, DeesHarnessToolRegistry.default)), __runInitializers(_init87, 43, this);
179345
- __privateAdd(this, _viewState6, __runInitializers(_init87, 44, this)), __runInitializers(_init87, 47, this);
179346
- __privateAdd(this, _allowSubtaskStreams3, __runInitializers(_init87, 48, this, true)), __runInitializers(_init87, 51, this);
179347
- __privateAdd(this, _showRoles, __runInitializers(_init87, 52, this, true)), __runInitializers(_init87, 55, this);
179348
- __privateAdd(this, _showTimestamps, __runInitializers(_init87, 56, this, false)), __runInitializers(_init87, 59, this);
179349
- __privateAdd(this, _emptyTitle, __runInitializers(_init87, 60, this, "No messages yet")), __runInitializers(_init87, 63, this);
179350
- __privateAdd(this, _emptyText, __runInitializers(_init87, 64, this, "Start a conversation to see it here.")), __runInitializers(_init87, 67, this);
179351
- __privateAdd(this, _showJumpChip, __runInitializers(_init87, 68, this, false)), __runInitializers(_init87, 71, this);
179352
- __privateAdd(this, _entryAnimationsEnabled, __runInitializers(_init87, 72, this, false)), __runInitializers(_init87, 75, this);
179353
- __privateAdd(this, _scrollFadeTop, __runInitializers(_init87, 76, this, false)), __runInitializers(_init87, 79, this);
179354
- __privateAdd(this, _scrollFadeBottom, __runInitializers(_init87, 80, this, false)), __runInitializers(_init87, 83, this);
179351
+ __privateAdd(this, _transcriptKey, __runInitializers(_init87, 32, this, "")), __runInitializers(_init87, 35, this);
179352
+ __privateAdd(this, _hasEarlierMessages, __runInitializers(_init87, 36, this, false)), __runInitializers(_init87, 39, this);
179353
+ __privateAdd(this, _loadingEarlier, __runInitializers(_init87, 40, this, false)), __runInitializers(_init87, 43, this);
179354
+ __privateAdd(this, _hideScrollbar, __runInitializers(_init87, 44, this, false)), __runInitializers(_init87, 47, this);
179355
+ __privateAdd(this, _fadeScrollEdges, __runInitializers(_init87, 48, this, false)), __runInitializers(_init87, 51, this);
179356
+ __privateAdd(this, _toolRegistry4, __runInitializers(_init87, 52, this, DeesHarnessToolRegistry.default)), __runInitializers(_init87, 55, this);
179357
+ __privateAdd(this, _viewState6, __runInitializers(_init87, 56, this)), __runInitializers(_init87, 59, this);
179358
+ __privateAdd(this, _allowSubtaskStreams3, __runInitializers(_init87, 60, this, true)), __runInitializers(_init87, 63, this);
179359
+ __privateAdd(this, _showRoles, __runInitializers(_init87, 64, this, true)), __runInitializers(_init87, 67, this);
179360
+ __privateAdd(this, _showTimestamps, __runInitializers(_init87, 68, this, false)), __runInitializers(_init87, 71, this);
179361
+ __privateAdd(this, _emptyTitle, __runInitializers(_init87, 72, this, "No messages yet")), __runInitializers(_init87, 75, this);
179362
+ __privateAdd(this, _emptyText, __runInitializers(_init87, 76, this, "Start a conversation to see it here.")), __runInitializers(_init87, 79, this);
179363
+ __privateAdd(this, _showJumpChip, __runInitializers(_init87, 80, this, false)), __runInitializers(_init87, 83, this);
179364
+ __privateAdd(this, _entryAnimationsEnabled, __runInitializers(_init87, 84, this, false)), __runInitializers(_init87, 87, this);
179365
+ __privateAdd(this, _scrollFadeTop, __runInitializers(_init87, 88, this, false)), __runInitializers(_init87, 91, this);
179366
+ __privateAdd(this, _scrollFadeBottom, __runInitializers(_init87, 92, this, false)), __runInitializers(_init87, 95, this);
179355
179367
  __publicField(this, "toolGroupIdByMessageId", /* @__PURE__ */ new Map());
179356
179368
  __publicField(this, "nextToolGroupId", 1);
179357
179369
  __publicField(this, "timelineRenderItems", []);
@@ -179394,6 +179406,16 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179394
179406
  __publicField(this, "virtualizationDisablePending", false);
179395
179407
  __publicField(this, "virtualizationActivationFrame", null);
179396
179408
  __publicField(this, "selectionChangeListening", false);
179409
+ __publicField(this, "loadEarlierLatched", false);
179410
+ __publicField(this, "loadingEarlierObserved", false);
179411
+ __publicField(this, "earlierScrollIntent", false);
179412
+ __publicField(this, "scrollbarGestureActive", false);
179413
+ __publicField(this, "touchScrollY");
179414
+ __publicField(this, "scrollIntentTimer");
179415
+ __publicField(this, "programmaticScrollTop");
179416
+ __publicField(this, "programmaticScrollGeneration", 0);
179417
+ __publicField(this, "programmaticScrollFrame", null);
179418
+ __publicField(this, "programmaticScrollSecondFrame", null);
179397
179419
  __publicField(this, "contentResizeObserver", null);
179398
179420
  __publicField(this, "observedScrollContent", null);
179399
179421
  __publicField(this, "observedContentBlockSize", null);
@@ -179413,32 +179435,91 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179413
179435
  if (!this.autoFollow || this.userUnpinned) return;
179414
179436
  const container = this.scrollContainer;
179415
179437
  if (!container) return;
179416
- container.scrollTop = container.scrollHeight;
179417
- this.lastObservedScrollTop = container.scrollTop;
179438
+ this.setProgrammaticScrollTop(container, container.scrollHeight);
179418
179439
  }, "repinToBottom"));
179419
179440
  __publicField(this, "handleUserScrollIntent", /* @__PURE__ */ __name((event) => {
179420
- if (event.composedPath().some(
179421
- (candidate) => candidate instanceof _DeesHarnessMessageList && candidate !== this
179422
- )) return;
179441
+ if (this.eventComesFromNestedMessageList(event)) return;
179423
179442
  if (event.type === "wheel") {
179424
179443
  this.cancelFullAnchorRestore();
179425
- if (event.deltaY >= 0) return;
179444
+ const deltaY = event.deltaY;
179445
+ if (deltaY < 0) {
179446
+ this.armEarlierScrollIntent();
179447
+ this.requestEarlierIfAtTop();
179448
+ this.markUserUnpinned();
179449
+ } else if (deltaY > 0) {
179450
+ this.clearEarlierScrollIntent();
179451
+ }
179452
+ return;
179426
179453
  }
179427
- if (event.type === "keydown" && !["ArrowUp", "PageUp", "Home"].includes(event.key)) {
179428
- if (["ArrowDown", "PageDown", "End", " "].includes(event.key)) {
179454
+ if (event.type === "keydown") {
179455
+ if (this.keyboardEventOriginIsInteractive(event)) return;
179456
+ const key2 = event.key;
179457
+ if (["ArrowUp", "PageUp", "Home"].includes(key2)) {
179458
+ this.cancelFullAnchorRestore();
179459
+ this.armEarlierScrollIntent();
179460
+ this.requestEarlierIfAtTop();
179461
+ this.markUserUnpinned();
179462
+ } else if (["ArrowDown", "PageDown", "End", " "].includes(key2)) {
179463
+ this.clearEarlierScrollIntent();
179429
179464
  this.cancelFullAnchorRestore();
179430
179465
  }
179431
179466
  return;
179432
179467
  }
179433
- if (event.type === "pointerdown" && event.target !== this.scrollContainer) return;
179434
- this.cancelFullAnchorRestore();
179435
- this.userUnpinned = true;
179436
- this.measurementAnchor = void 0;
179468
+ if (event.type === "touchmove") {
179469
+ const currentY = event.touches[0]?.clientY;
179470
+ const previousY = this.touchScrollY;
179471
+ this.touchScrollY = currentY;
179472
+ if (currentY === void 0 || previousY === void 0) return;
179473
+ if (currentY > previousY + 0.5) {
179474
+ this.armEarlierScrollIntent();
179475
+ this.requestEarlierIfAtTop();
179476
+ } else if (currentY < previousY - 0.5) {
179477
+ this.clearEarlierScrollIntent();
179478
+ } else {
179479
+ return;
179480
+ }
179481
+ this.cancelFullAnchorRestore();
179482
+ this.markUserUnpinned();
179483
+ return;
179484
+ }
179485
+ if (event.type === "pointerdown") {
179486
+ if (event.button !== 0) return;
179487
+ if (event.target !== this.scrollContainer) return;
179488
+ this.scrollbarGestureActive = true;
179489
+ this.cancelFullAnchorRestore();
179490
+ this.markUserUnpinned();
179491
+ }
179437
179492
  }, "handleUserScrollIntent"));
179493
+ __publicField(this, "handleTouchStart", /* @__PURE__ */ __name((eventArg) => {
179494
+ if (this.eventComesFromNestedMessageList(eventArg)) return;
179495
+ this.touchScrollY = eventArg.touches[0]?.clientY;
179496
+ }, "handleTouchStart"));
179497
+ __publicField(this, "handleTouchEnd", /* @__PURE__ */ __name(() => {
179498
+ this.touchScrollY = void 0;
179499
+ if (this.earlierScrollIntent) this.scheduleScrollIntentSettlement();
179500
+ }, "handleTouchEnd"));
179501
+ __publicField(this, "handleTouchCancel", /* @__PURE__ */ __name(() => {
179502
+ this.touchScrollY = void 0;
179503
+ this.clearEarlierScrollIntent();
179504
+ }, "handleTouchCancel"));
179438
179505
  __publicField(this, "handleScroll", /* @__PURE__ */ __name(() => {
179439
179506
  const container = this.scrollContainer;
179440
179507
  if (!container) return;
179441
179508
  const top = container.scrollTop;
179509
+ const previousTop = this.lastObservedScrollTop;
179510
+ const programmatic = this.consumeProgrammaticScroll(top);
179511
+ if (programmatic) {
179512
+ this.clearEarlierScrollIntent();
179513
+ } else {
179514
+ if (this.scrollbarGestureActive && top < previousTop - 0.5) {
179515
+ this.armEarlierScrollIntent();
179516
+ } else if (top > previousTop + 0.5) {
179517
+ this.clearEarlierScrollIntent();
179518
+ } else if (this.earlierScrollIntent) {
179519
+ this.scheduleScrollIntentSettlement();
179520
+ }
179521
+ if (this.earlierScrollIntent) this.requestEarlierIfAtTop();
179522
+ }
179442
179523
  this.syncScrollEdgeFades();
179443
179524
  if (this.isPinnedToBottom) {
179444
179525
  this.userUnpinned = false;
@@ -179450,6 +179531,9 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179450
179531
  this.scheduleVirtualRangeUpdate();
179451
179532
  this.schedulePendingVirtualizationActivation();
179452
179533
  }, "handleScroll"));
179534
+ __publicField(this, "handleScrollEnd", /* @__PURE__ */ __name(() => {
179535
+ this.clearEarlierScrollIntent();
179536
+ }, "handleScrollEnd"));
179453
179537
  __publicField(this, "handleSelectionChange", /* @__PURE__ */ __name(() => {
179454
179538
  const selection = document.getSelection();
179455
179539
  if (!selection || selection.rangeCount === 0 || !this.selectionGestureActive && this.selectionGestureSnapshot && !this.selectionMatchesGestureSnapshot(selection) || !this.selectionGestureActive && selection.isCollapsed && !this.hasCrossShadowSelectionFallback) this.clearSelectionGesture();
@@ -179466,6 +179550,7 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179466
179550
  if (key2) this.selectionGestureKeys.add(key2);
179467
179551
  }, "handlePointerDown"));
179468
179552
  __publicField(this, "handlePointerUp", /* @__PURE__ */ __name((eventArg) => {
179553
+ this.scrollbarGestureActive = false;
179469
179554
  if (eventArg.button !== 0) return;
179470
179555
  const key2 = this.timelineKeyForEvent(eventArg);
179471
179556
  if (key2) this.selectionGestureKeys.add(key2);
@@ -179481,6 +179566,8 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179481
179566
  this.handleProtectedStateChange();
179482
179567
  }, "handlePointerUp"));
179483
179568
  __publicField(this, "handlePointerCancel", /* @__PURE__ */ __name(() => {
179569
+ this.scrollbarGestureActive = false;
179570
+ this.clearEarlierScrollIntent();
179484
179571
  this.clearSelectionGesture();
179485
179572
  this.handleProtectedStateChange();
179486
179573
  }, "handlePointerCancel"));
@@ -179574,11 +179661,25 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179574
179661
  }
179575
179662
  willUpdate(changedProperties) {
179576
179663
  super.willUpdate(changedProperties);
179664
+ if (changedProperties.has("transcriptKey")) this.resetTranscriptContext();
179665
+ if (changedProperties.has("hasEarlierMessages") && !this.hasEarlierMessages) {
179666
+ this.loadEarlierLatched = false;
179667
+ this.loadingEarlierObserved = false;
179668
+ this.clearEarlierScrollIntent();
179669
+ }
179670
+ if (changedProperties.has("loadingEarlier")) {
179671
+ const wasLoadingEarlier = changedProperties.get("loadingEarlier") === true;
179672
+ if (this.loadingEarlier) this.loadingEarlierObserved = true;
179673
+ else if (wasLoadingEarlier && this.loadingEarlierObserved) {
179674
+ this.loadEarlierLatched = false;
179675
+ this.loadingEarlierObserved = false;
179676
+ }
179677
+ }
179577
179678
  if (changedProperties.has("viewState") && this.viewState) {
179578
179679
  this.clearTranscriptViewState(this.localViewState);
179579
179680
  }
179580
179681
  const registryChanged = this.timelineRegistryRevision !== this.toolRegistry.revision;
179581
- if (this.timelineRegistryRevision < 0 || changedProperties.has("messages") || changedProperties.has("permissions") || changedProperties.has("questions") || changedProperties.has("toolRegistry") || changedProperties.has("viewState") || registryChanged) {
179682
+ if (this.timelineRegistryRevision < 0 || changedProperties.has("messages") || changedProperties.has("permissions") || changedProperties.has("questions") || changedProperties.has("toolRegistry") || changedProperties.has("viewState") || changedProperties.has("transcriptKey") || registryChanged) {
179582
179683
  this.rebuildTimeline();
179583
179684
  }
179584
179685
  }
@@ -179793,8 +179894,12 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
179793
179894
  <div
179794
179895
  class=${`scroll ${this.hideScrollbar ? "hideScrollbar" : ""} ${this.scrollFadeTop ? "fadeTop" : ""} ${this.scrollFadeBottom ? "fadeBottom" : ""}`}
179795
179896
  @scroll=${this.handleScroll}
179897
+ @scrollend=${this.handleScrollEnd}
179796
179898
  @wheel=${this.handleUserScrollIntent}
179899
+ @touchstart=${this.handleTouchStart}
179797
179900
  @touchmove=${this.handleUserScrollIntent}
179901
+ @touchend=${this.handleTouchEnd}
179902
+ @touchcancel=${this.handleTouchCancel}
179798
179903
  @pointerdown=${this.handlePointerDown}
179799
179904
  @pointerup=${this.handlePointerUp}
179800
179905
  @pointercancel=${this.handlePointerCancel}
@@ -180047,6 +180152,122 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
180047
180152
  });
180048
180153
  });
180049
180154
  }
180155
+ markUserUnpinned() {
180156
+ this.userUnpinned = true;
180157
+ this.measurementAnchor = void 0;
180158
+ }
180159
+ eventComesFromNestedMessageList(eventArg) {
180160
+ return eventArg.composedPath().some(
180161
+ (candidate) => candidate instanceof _DeesHarnessMessageList && candidate !== this
180162
+ );
180163
+ }
180164
+ keyboardEventOriginIsInteractive(eventArg) {
180165
+ return eventArg.composedPath().some((candidate) => candidate instanceof HTMLElement && candidate !== this && (candidate.isContentEditable || candidate.matches("input, textarea, select, button, [contenteditable]")));
180166
+ }
180167
+ armEarlierScrollIntent() {
180168
+ this.earlierScrollIntent = true;
180169
+ this.scheduleScrollIntentSettlement();
180170
+ }
180171
+ scheduleScrollIntentSettlement() {
180172
+ if (this.scrollIntentTimer) clearTimeout(this.scrollIntentTimer);
180173
+ this.scrollIntentTimer = setTimeout(() => {
180174
+ this.scrollIntentTimer = void 0;
180175
+ this.earlierScrollIntent = false;
180176
+ }, scrollIntentSettlementMs);
180177
+ }
180178
+ clearEarlierScrollIntent() {
180179
+ if (this.scrollIntentTimer) clearTimeout(this.scrollIntentTimer);
180180
+ this.scrollIntentTimer = void 0;
180181
+ this.earlierScrollIntent = false;
180182
+ }
180183
+ requestEarlierIfAtTop() {
180184
+ const container = this.scrollContainer;
180185
+ if (!container || container.scrollTop > loadEarlierThresholdPx || !this.hasEarlierMessages || this.loadingEarlier || this.loadEarlierLatched) return;
180186
+ this.loadEarlierLatched = true;
180187
+ this.clearEarlierScrollIntent();
180188
+ this.dispatchEvent(new CustomEvent("harness-load-earlier", {
180189
+ bubbles: true,
180190
+ composed: true
180191
+ }));
180192
+ }
180193
+ resetLoadEarlierState() {
180194
+ this.loadEarlierLatched = false;
180195
+ this.loadingEarlierObserved = false;
180196
+ this.scrollbarGestureActive = false;
180197
+ this.touchScrollY = void 0;
180198
+ this.clearEarlierScrollIntent();
180199
+ }
180200
+ setProgrammaticScrollTop(containerArg, topArg) {
180201
+ this.clearProgrammaticScrollMarker();
180202
+ const generation = ++this.programmaticScrollGeneration;
180203
+ containerArg.scrollTop = topArg;
180204
+ this.programmaticScrollTop = containerArg.scrollTop;
180205
+ this.lastObservedScrollTop = containerArg.scrollTop;
180206
+ this.programmaticScrollFrame = requestAnimationFrame(() => {
180207
+ this.programmaticScrollFrame = null;
180208
+ if (generation !== this.programmaticScrollGeneration) return;
180209
+ this.programmaticScrollSecondFrame = requestAnimationFrame(() => {
180210
+ this.programmaticScrollSecondFrame = null;
180211
+ if (generation === this.programmaticScrollGeneration) {
180212
+ this.programmaticScrollTop = void 0;
180213
+ }
180214
+ });
180215
+ });
180216
+ }
180217
+ consumeProgrammaticScroll(topArg) {
180218
+ if (this.programmaticScrollTop === void 0) return false;
180219
+ const matches2 = Math.abs(this.programmaticScrollTop - topArg) <= 1;
180220
+ this.clearProgrammaticScrollMarker();
180221
+ return matches2;
180222
+ }
180223
+ clearProgrammaticScrollMarker() {
180224
+ this.programmaticScrollGeneration += 1;
180225
+ if (this.programmaticScrollFrame !== null) cancelAnimationFrame(this.programmaticScrollFrame);
180226
+ if (this.programmaticScrollSecondFrame !== null) cancelAnimationFrame(this.programmaticScrollSecondFrame);
180227
+ this.programmaticScrollFrame = null;
180228
+ this.programmaticScrollSecondFrame = null;
180229
+ this.programmaticScrollTop = void 0;
180230
+ }
180231
+ resetTranscriptContext() {
180232
+ this.cancelFullAnchorRestore();
180233
+ if (this.followFrame !== null) cancelAnimationFrame(this.followFrame);
180234
+ if (this.followSecondFrame !== null) cancelAnimationFrame(this.followSecondFrame);
180235
+ if (this.virtualMeasureFrame !== null) cancelAnimationFrame(this.virtualMeasureFrame);
180236
+ if (this.virtualRangeFrame !== null) cancelAnimationFrame(this.virtualRangeFrame);
180237
+ if (this.virtualizationActivationFrame !== null) cancelAnimationFrame(this.virtualizationActivationFrame);
180238
+ this.followFrame = null;
180239
+ this.followSecondFrame = null;
180240
+ this.virtualMeasureFrame = null;
180241
+ this.virtualRangeFrame = null;
180242
+ this.virtualizationActivationFrame = null;
180243
+ this.pendingVirtualAnchor = void 0;
180244
+ this.pendingFullAnchor = void 0;
180245
+ this.measurementAnchor = void 0;
180246
+ this.pendingVirtualRepin = false;
180247
+ this.virtualizationEnabled = false;
180248
+ this.virtualizationEnablePending = false;
180249
+ this.virtualizationDisablePending = false;
180250
+ this.virtualStartIndex = 0;
180251
+ this.virtualEndIndex = 0;
180252
+ this.retainedVirtualKeys.clear();
180253
+ this.explicitRetainedVirtualKey = void 0;
180254
+ this.measuredVirtualHeights.clear();
180255
+ this.virtualOffsets = [];
180256
+ this.virtualTotalHeight = 0;
180257
+ this.toolGroupIdByMessageId.clear();
180258
+ this.nextToolGroupId = 1;
180259
+ this.timelineRegistryRevision = -1;
180260
+ this.knownContentKeys.clear();
180261
+ this.currentNewContentKeys.clear();
180262
+ this.clearTranscriptViewState(this.localViewState);
180263
+ this.clearSelectionGesture();
180264
+ this.disconnectSelectionChangeListener();
180265
+ this.userUnpinned = false;
180266
+ this.lastObservedScrollTop = 0;
180267
+ this.showJumpChip = false;
180268
+ this.resetLoadEarlierState();
180269
+ this.clearProgrammaticScrollMarker();
180270
+ }
180050
180271
  scrollToBottom(force = false) {
180051
180272
  const container = this.scrollContainer;
180052
180273
  if (!container) return;
@@ -180056,8 +180277,7 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
180056
180277
  this.measurementAnchor = void 0;
180057
180278
  }
180058
180279
  if (force || this.isPinnedToBottom) {
180059
- container.scrollTop = container.scrollHeight;
180060
- this.lastObservedScrollTop = container.scrollTop;
180280
+ this.setProgrammaticScrollTop(container, container.scrollHeight);
180061
180281
  this.showJumpChip = false;
180062
180282
  }
180063
180283
  this.syncScrollEdgeFades();
@@ -180103,6 +180323,13 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
180103
180323
  }
180104
180324
  updated(changedProperties) {
180105
180325
  super.updated(changedProperties);
180326
+ if (changedProperties.has("transcriptKey")) {
180327
+ const container = this.scrollContainer;
180328
+ if (container) {
180329
+ if (this.autoFollow) this.scrollToBottom(true);
180330
+ else this.setProgrammaticScrollTop(container, 0);
180331
+ }
180332
+ }
180106
180333
  if (changedProperties.has("messages") || changedProperties.has("status") || changedProperties.has("permissions") || changedProperties.has("questions")) {
180107
180334
  this.followAfterContentChange();
180108
180335
  }
@@ -180265,14 +180492,20 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
180265
180492
  const index3 = this.timelineIndexByKey.get(anchorArg.key);
180266
180493
  if (index3 === void 0) return;
180267
180494
  const stack = this.shadowRoot?.querySelector(".virtualStack");
180268
- containerArg.scrollTop = (stack?.offsetTop ?? 0) + (this.virtualOffsets[index3] ?? 0) + anchorArg.offset;
180495
+ this.setProgrammaticScrollTop(
180496
+ containerArg,
180497
+ (stack?.offsetTop ?? 0) + (this.virtualOffsets[index3] ?? 0) + anchorArg.offset
180498
+ );
180269
180499
  }
180270
180500
  restoreFullAnchor(containerArg, anchorArg) {
180271
180501
  const element4 = this.shadowRoot?.querySelector(
180272
180502
  `.stack > [data-timeline-key="${CSS.escape(anchorArg.key)}"]`
180273
180503
  );
180274
180504
  if (!element4) return;
180275
- containerArg.scrollTop += element4.getBoundingClientRect().top - containerArg.getBoundingClientRect().top + anchorArg.offset;
180505
+ this.setProgrammaticScrollTop(
180506
+ containerArg,
180507
+ containerArg.scrollTop + element4.getBoundingClientRect().top - containerArg.getBoundingClientRect().top + anchorArg.offset
180508
+ );
180276
180509
  }
180277
180510
  scheduleFullAnchorRestore(containerArg, anchorArg) {
180278
180511
  this.cancelFullAnchorRestore();
@@ -180532,6 +180765,8 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
180532
180765
  this.explicitRetainedVirtualKey = void 0;
180533
180766
  this.retainedVirtualKeys.clear();
180534
180767
  this.clearSelectionGesture();
180768
+ this.resetLoadEarlierState();
180769
+ this.clearProgrammaticScrollMarker();
180535
180770
  this.entryAnimationsEnabled = true;
180536
180771
  this.disconnectContentResizeObserver();
180537
180772
  this.disconnectVirtualObservers();
@@ -180547,6 +180782,9 @@ _permissions = new WeakMap();
180547
180782
  _permissionsBusy = new WeakMap();
180548
180783
  _questions = new WeakMap();
180549
180784
  _autoFollow = new WeakMap();
180785
+ _transcriptKey = new WeakMap();
180786
+ _hasEarlierMessages = new WeakMap();
180787
+ _loadingEarlier = new WeakMap();
180550
180788
  _hideScrollbar = new WeakMap();
180551
180789
  _fadeScrollEdges = new WeakMap();
180552
180790
  _toolRegistry4 = new WeakMap();
@@ -180566,6 +180804,9 @@ __decorateElement(_init87, 4, "permissions", _permissions_dec, _DeesHarnessMessa
180566
180804
  __decorateElement(_init87, 4, "permissionsBusy", _permissionsBusy_dec, _DeesHarnessMessageList, _permissionsBusy);
180567
180805
  __decorateElement(_init87, 4, "questions", _questions_dec, _DeesHarnessMessageList, _questions);
180568
180806
  __decorateElement(_init87, 4, "autoFollow", _autoFollow_dec, _DeesHarnessMessageList, _autoFollow);
180807
+ __decorateElement(_init87, 4, "transcriptKey", _transcriptKey_dec, _DeesHarnessMessageList, _transcriptKey);
180808
+ __decorateElement(_init87, 4, "hasEarlierMessages", _hasEarlierMessages_dec, _DeesHarnessMessageList, _hasEarlierMessages);
180809
+ __decorateElement(_init87, 4, "loadingEarlier", _loadingEarlier_dec, _DeesHarnessMessageList, _loadingEarlier);
180569
180810
  __decorateElement(_init87, 4, "hideScrollbar", _hideScrollbar_dec, _DeesHarnessMessageList, _hideScrollbar);
180570
180811
  __decorateElement(_init87, 4, "fadeScrollEdges", _fadeScrollEdges_dec, _DeesHarnessMessageList, _fadeScrollEdges);
180571
180812
  __decorateElement(_init87, 4, "toolRegistry", _toolRegistry_dec4, _DeesHarnessMessageList, _toolRegistry4);
@@ -182730,54 +182971,57 @@ var DeesHarnessUsage = _DeesHarnessUsage;
182730
182971
  init_dist_ts26();
182731
182972
  init_theme();
182732
182973
  init_dees_icon();
182733
- var _toolRegistry_dec6, _modeOptions_dec2, _mode_dec3, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountOptions_dec2, _account_dec2, _maxTotalAttachmentBytes_dec2, _maxAttachmentBytes_dec2, _maxAttachmentCount_dec2, _suggestions_dec3, _attachments_dec2, _composerValue_dec, _queuedCount_dec2, _busy_dec4, _disabled_dec7, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec, _subheading_dec, _heading_dec6, _narrowSessionLayout_dec, _desktopSessionSidebarVisible_dec, _sessionSidebarOpen_dec, _intelligenceError_dec2, _intelligenceBusy_dec2, _intelligenceExchanges_dec2, _sessionIntelligenceEnabled_dec, _scratchpadError_dec2, _scratchpadBusy_dec2, _scratchpad_dec2, _sessionMetrics_dec, _showSessionSidebar_dec, _showTodosPanel_dec, _todos_dec3, _usage_dec2, _status_dec6, _questions_dec2, _permissions_dec2, _messages_dec2, _a90, _DeesHarnessChat_decorators, _init91, _messages2, _permissions2, _questions2, _status6, _usage2, _todos3, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _sessionIntelligenceEnabled, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading6, _subheading, _showToolbar, _showRoles2, _showTimestamps2, _disabled7, _busy4, _queuedCount2, _composerValue, _attachments2, _suggestions3, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _account2, _accountOptions2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode3, _modeOptions2, _toolRegistry6;
182974
+ var _toolRegistry_dec6, _modeOptions_dec2, _mode_dec3, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountOptions_dec2, _account_dec2, _maxTotalAttachmentBytes_dec2, _maxAttachmentBytes_dec2, _maxAttachmentCount_dec2, _suggestions_dec3, _attachments_dec2, _composerValue_dec, _queuedCount_dec2, _busy_dec4, _disabled_dec7, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec, _subheading_dec, _heading_dec6, _narrowSessionLayout_dec, _desktopSessionSidebarVisible_dec, _sessionSidebarOpen_dec, _intelligenceError_dec2, _intelligenceBusy_dec2, _intelligenceExchanges_dec2, _sessionIntelligenceEnabled_dec, _scratchpadError_dec2, _scratchpadBusy_dec2, _scratchpad_dec2, _sessionMetrics_dec, _showSessionSidebar_dec, _showTodosPanel_dec, _todos_dec3, _usage_dec2, _loadingEarlier_dec2, _hasEarlierMessages_dec2, _transcriptKey_dec2, _status_dec6, _questions_dec2, _permissions_dec2, _messages_dec2, _a90, _DeesHarnessChat_decorators, _init91, _messages2, _permissions2, _questions2, _status6, _transcriptKey2, _hasEarlierMessages2, _loadingEarlier2, _usage2, _todos3, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _sessionIntelligenceEnabled, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading6, _subheading, _showToolbar, _showRoles2, _showTimestamps2, _disabled7, _busy4, _queuedCount2, _composerValue, _attachments2, _suggestions3, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _account2, _accountOptions2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode3, _modeOptions2, _toolRegistry6;
182734
182975
  _DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
182735
- var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _messages_dec2 = [n5({ attribute: false })], _permissions_dec2 = [n5({ attribute: false })], _questions_dec2 = [n5({ attribute: false })], _status_dec6 = [n5({ attribute: false })], _usage_dec2 = [n5({ attribute: false })], _todos_dec3 = [n5({ attribute: false })], _showTodosPanel_dec = [n5({ type: Boolean })], _showSessionSidebar_dec = [n5({ type: Boolean })], _sessionMetrics_dec = [n5({ attribute: false })], _scratchpad_dec2 = [n5({ attribute: false })], _scratchpadBusy_dec2 = [n5({ type: Boolean })], _scratchpadError_dec2 = [n5()], _sessionIntelligenceEnabled_dec = [n5({ type: Boolean })], _intelligenceExchanges_dec2 = [n5({ attribute: false })], _intelligenceBusy_dec2 = [n5({ type: Boolean })], _intelligenceError_dec2 = [n5()], _sessionSidebarOpen_dec = [r5()], _desktopSessionSidebarVisible_dec = [r5()], _narrowSessionLayout_dec = [r5()], _heading_dec6 = [n5()], _subheading_dec = [n5()], _showToolbar_dec = [n5({ type: Boolean })], _showRoles_dec2 = [n5({ type: Boolean })], _showTimestamps_dec2 = [n5({ type: Boolean })], _disabled_dec7 = [n5({ type: Boolean })], _busy_dec4 = [n5({ type: Boolean })], _queuedCount_dec2 = [n5({ type: Number })], _composerValue_dec = [n5()], _attachments_dec2 = [n5({ attribute: false })], _suggestions_dec3 = [n5({ attribute: false })], _maxAttachmentCount_dec2 = [n5({ type: Number })], _maxAttachmentBytes_dec2 = [n5({ type: Number })], _maxTotalAttachmentBytes_dec2 = [n5({ type: Number })], _account_dec2 = [n5()], _accountOptions_dec2 = [n5({ attribute: false })], _model_dec2 = [n5()], _modelOptions_dec2 = [n5({ attribute: false })], _reasoningEffort_dec2 = [n5()], _effortOptions_dec2 = [n5({ attribute: false })], _mode_dec3 = [n5()], _modeOptions_dec2 = [n5({ attribute: false })], _toolRegistry_dec6 = [n5({ attribute: false })], _a90) {
182976
+ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _messages_dec2 = [n5({ attribute: false })], _permissions_dec2 = [n5({ attribute: false })], _questions_dec2 = [n5({ attribute: false })], _status_dec6 = [n5({ attribute: false })], _transcriptKey_dec2 = [n5()], _hasEarlierMessages_dec2 = [n5({ type: Boolean })], _loadingEarlier_dec2 = [n5({ type: Boolean })], _usage_dec2 = [n5({ attribute: false })], _todos_dec3 = [n5({ attribute: false })], _showTodosPanel_dec = [n5({ type: Boolean })], _showSessionSidebar_dec = [n5({ type: Boolean })], _sessionMetrics_dec = [n5({ attribute: false })], _scratchpad_dec2 = [n5({ attribute: false })], _scratchpadBusy_dec2 = [n5({ type: Boolean })], _scratchpadError_dec2 = [n5()], _sessionIntelligenceEnabled_dec = [n5({ type: Boolean })], _intelligenceExchanges_dec2 = [n5({ attribute: false })], _intelligenceBusy_dec2 = [n5({ type: Boolean })], _intelligenceError_dec2 = [n5()], _sessionSidebarOpen_dec = [r5()], _desktopSessionSidebarVisible_dec = [r5()], _narrowSessionLayout_dec = [r5()], _heading_dec6 = [n5()], _subheading_dec = [n5()], _showToolbar_dec = [n5({ type: Boolean })], _showRoles_dec2 = [n5({ type: Boolean })], _showTimestamps_dec2 = [n5({ type: Boolean })], _disabled_dec7 = [n5({ type: Boolean })], _busy_dec4 = [n5({ type: Boolean })], _queuedCount_dec2 = [n5({ type: Number })], _composerValue_dec = [n5()], _attachments_dec2 = [n5({ attribute: false })], _suggestions_dec3 = [n5({ attribute: false })], _maxAttachmentCount_dec2 = [n5({ type: Number })], _maxAttachmentBytes_dec2 = [n5({ type: Number })], _maxTotalAttachmentBytes_dec2 = [n5({ type: Number })], _account_dec2 = [n5()], _accountOptions_dec2 = [n5({ attribute: false })], _model_dec2 = [n5()], _modelOptions_dec2 = [n5({ attribute: false })], _reasoningEffort_dec2 = [n5()], _effortOptions_dec2 = [n5({ attribute: false })], _mode_dec3 = [n5()], _modeOptions_dec2 = [n5({ attribute: false })], _toolRegistry_dec6 = [n5({ attribute: false })], _a90) {
182736
182977
  constructor() {
182737
182978
  super(...arguments);
182738
182979
  __privateAdd(this, _messages2, __runInitializers(_init91, 8, this, [])), __runInitializers(_init91, 11, this);
182739
182980
  __privateAdd(this, _permissions2, __runInitializers(_init91, 12, this, [])), __runInitializers(_init91, 15, this);
182740
182981
  __privateAdd(this, _questions2, __runInitializers(_init91, 16, this, [])), __runInitializers(_init91, 19, this);
182741
182982
  __privateAdd(this, _status6, __runInitializers(_init91, 20, this, { type: "idle" })), __runInitializers(_init91, 23, this);
182742
- __privateAdd(this, _usage2, __runInitializers(_init91, 24, this, {})), __runInitializers(_init91, 27, this);
182743
- __privateAdd(this, _todos3, __runInitializers(_init91, 28, this, [])), __runInitializers(_init91, 31, this);
182744
- __privateAdd(this, _showTodosPanel, __runInitializers(_init91, 32, this, true)), __runInitializers(_init91, 35, this);
182745
- __privateAdd(this, _showSessionSidebar, __runInitializers(_init91, 36, this, true)), __runInitializers(_init91, 39, this);
182746
- __privateAdd(this, _sessionMetrics, __runInitializers(_init91, 40, this, {})), __runInitializers(_init91, 43, this);
182747
- __privateAdd(this, _scratchpad2, __runInitializers(_init91, 44, this)), __runInitializers(_init91, 47, this);
182748
- __privateAdd(this, _scratchpadBusy2, __runInitializers(_init91, 48, this, false)), __runInitializers(_init91, 51, this);
182749
- __privateAdd(this, _scratchpadError2, __runInitializers(_init91, 52, this, "")), __runInitializers(_init91, 55, this);
182750
- __privateAdd(this, _sessionIntelligenceEnabled, __runInitializers(_init91, 56, this, false)), __runInitializers(_init91, 59, this);
182751
- __privateAdd(this, _intelligenceExchanges2, __runInitializers(_init91, 60, this, [])), __runInitializers(_init91, 63, this);
182752
- __privateAdd(this, _intelligenceBusy2, __runInitializers(_init91, 64, this, false)), __runInitializers(_init91, 67, this);
182753
- __privateAdd(this, _intelligenceError2, __runInitializers(_init91, 68, this, "")), __runInitializers(_init91, 71, this);
182754
- __privateAdd(this, _sessionSidebarOpen, __runInitializers(_init91, 72, this, false)), __runInitializers(_init91, 75, this);
182755
- __privateAdd(this, _desktopSessionSidebarVisible, __runInitializers(_init91, 76, this, true)), __runInitializers(_init91, 79, this);
182756
- __privateAdd(this, _narrowSessionLayout, __runInitializers(_init91, 80, this, false)), __runInitializers(_init91, 83, this);
182983
+ __privateAdd(this, _transcriptKey2, __runInitializers(_init91, 24, this, "")), __runInitializers(_init91, 27, this);
182984
+ __privateAdd(this, _hasEarlierMessages2, __runInitializers(_init91, 28, this, false)), __runInitializers(_init91, 31, this);
182985
+ __privateAdd(this, _loadingEarlier2, __runInitializers(_init91, 32, this, false)), __runInitializers(_init91, 35, this);
182986
+ __privateAdd(this, _usage2, __runInitializers(_init91, 36, this, {})), __runInitializers(_init91, 39, this);
182987
+ __privateAdd(this, _todos3, __runInitializers(_init91, 40, this, [])), __runInitializers(_init91, 43, this);
182988
+ __privateAdd(this, _showTodosPanel, __runInitializers(_init91, 44, this, true)), __runInitializers(_init91, 47, this);
182989
+ __privateAdd(this, _showSessionSidebar, __runInitializers(_init91, 48, this, true)), __runInitializers(_init91, 51, this);
182990
+ __privateAdd(this, _sessionMetrics, __runInitializers(_init91, 52, this, {})), __runInitializers(_init91, 55, this);
182991
+ __privateAdd(this, _scratchpad2, __runInitializers(_init91, 56, this)), __runInitializers(_init91, 59, this);
182992
+ __privateAdd(this, _scratchpadBusy2, __runInitializers(_init91, 60, this, false)), __runInitializers(_init91, 63, this);
182993
+ __privateAdd(this, _scratchpadError2, __runInitializers(_init91, 64, this, "")), __runInitializers(_init91, 67, this);
182994
+ __privateAdd(this, _sessionIntelligenceEnabled, __runInitializers(_init91, 68, this, false)), __runInitializers(_init91, 71, this);
182995
+ __privateAdd(this, _intelligenceExchanges2, __runInitializers(_init91, 72, this, [])), __runInitializers(_init91, 75, this);
182996
+ __privateAdd(this, _intelligenceBusy2, __runInitializers(_init91, 76, this, false)), __runInitializers(_init91, 79, this);
182997
+ __privateAdd(this, _intelligenceError2, __runInitializers(_init91, 80, this, "")), __runInitializers(_init91, 83, this);
182998
+ __privateAdd(this, _sessionSidebarOpen, __runInitializers(_init91, 84, this, false)), __runInitializers(_init91, 87, this);
182999
+ __privateAdd(this, _desktopSessionSidebarVisible, __runInitializers(_init91, 88, this, true)), __runInitializers(_init91, 91, this);
183000
+ __privateAdd(this, _narrowSessionLayout, __runInitializers(_init91, 92, this, false)), __runInitializers(_init91, 95, this);
182757
183001
  __publicField(this, "sessionLayoutResizeObserver");
182758
- __privateAdd(this, _heading6, __runInitializers(_init91, 84, this, "")), __runInitializers(_init91, 87, this);
182759
- __privateAdd(this, _subheading, __runInitializers(_init91, 88, this, "")), __runInitializers(_init91, 91, this);
182760
- __privateAdd(this, _showToolbar, __runInitializers(_init91, 92, this, true)), __runInitializers(_init91, 95, this);
182761
- __privateAdd(this, _showRoles2, __runInitializers(_init91, 96, this, true)), __runInitializers(_init91, 99, this);
182762
- __privateAdd(this, _showTimestamps2, __runInitializers(_init91, 100, this, true)), __runInitializers(_init91, 103, this);
182763
- __privateAdd(this, _disabled7, __runInitializers(_init91, 104, this, false)), __runInitializers(_init91, 107, this);
182764
- __privateAdd(this, _busy4, __runInitializers(_init91, 108, this, false)), __runInitializers(_init91, 111, this);
182765
- __privateAdd(this, _queuedCount2, __runInitializers(_init91, 112, this, 0)), __runInitializers(_init91, 115, this);
182766
- __privateAdd(this, _composerValue, __runInitializers(_init91, 116, this, "")), __runInitializers(_init91, 119, this);
182767
- __privateAdd(this, _attachments2, __runInitializers(_init91, 120, this, [])), __runInitializers(_init91, 123, this);
182768
- __privateAdd(this, _suggestions3, __runInitializers(_init91, 124, this, [])), __runInitializers(_init91, 127, this);
182769
- __privateAdd(this, _maxAttachmentCount2, __runInitializers(_init91, 128, this, Number.POSITIVE_INFINITY)), __runInitializers(_init91, 131, this);
182770
- __privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init91, 132, this, harnessMaxAttachmentBytes)), __runInitializers(_init91, 135, this);
182771
- __privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init91, 136, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init91, 139, this);
182772
- __privateAdd(this, _account2, __runInitializers(_init91, 140, this, "")), __runInitializers(_init91, 143, this);
182773
- __privateAdd(this, _accountOptions2, __runInitializers(_init91, 144, this, [])), __runInitializers(_init91, 147, this);
182774
- __privateAdd(this, _model2, __runInitializers(_init91, 148, this, "")), __runInitializers(_init91, 151, this);
182775
- __privateAdd(this, _modelOptions2, __runInitializers(_init91, 152, this, [])), __runInitializers(_init91, 155, this);
182776
- __privateAdd(this, _reasoningEffort2, __runInitializers(_init91, 156, this, "")), __runInitializers(_init91, 159, this);
182777
- __privateAdd(this, _effortOptions2, __runInitializers(_init91, 160, this, [])), __runInitializers(_init91, 163, this);
182778
- __privateAdd(this, _mode3, __runInitializers(_init91, 164, this, "")), __runInitializers(_init91, 167, this);
182779
- __privateAdd(this, _modeOptions2, __runInitializers(_init91, 168, this, [])), __runInitializers(_init91, 171, this);
182780
- __privateAdd(this, _toolRegistry6, __runInitializers(_init91, 172, this, DeesHarnessToolRegistry.default)), __runInitializers(_init91, 175, this);
183002
+ __privateAdd(this, _heading6, __runInitializers(_init91, 96, this, "")), __runInitializers(_init91, 99, this);
183003
+ __privateAdd(this, _subheading, __runInitializers(_init91, 100, this, "")), __runInitializers(_init91, 103, this);
183004
+ __privateAdd(this, _showToolbar, __runInitializers(_init91, 104, this, true)), __runInitializers(_init91, 107, this);
183005
+ __privateAdd(this, _showRoles2, __runInitializers(_init91, 108, this, true)), __runInitializers(_init91, 111, this);
183006
+ __privateAdd(this, _showTimestamps2, __runInitializers(_init91, 112, this, true)), __runInitializers(_init91, 115, this);
183007
+ __privateAdd(this, _disabled7, __runInitializers(_init91, 116, this, false)), __runInitializers(_init91, 119, this);
183008
+ __privateAdd(this, _busy4, __runInitializers(_init91, 120, this, false)), __runInitializers(_init91, 123, this);
183009
+ __privateAdd(this, _queuedCount2, __runInitializers(_init91, 124, this, 0)), __runInitializers(_init91, 127, this);
183010
+ __privateAdd(this, _composerValue, __runInitializers(_init91, 128, this, "")), __runInitializers(_init91, 131, this);
183011
+ __privateAdd(this, _attachments2, __runInitializers(_init91, 132, this, [])), __runInitializers(_init91, 135, this);
183012
+ __privateAdd(this, _suggestions3, __runInitializers(_init91, 136, this, [])), __runInitializers(_init91, 139, this);
183013
+ __privateAdd(this, _maxAttachmentCount2, __runInitializers(_init91, 140, this, Number.POSITIVE_INFINITY)), __runInitializers(_init91, 143, this);
183014
+ __privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init91, 144, this, harnessMaxAttachmentBytes)), __runInitializers(_init91, 147, this);
183015
+ __privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init91, 148, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init91, 151, this);
183016
+ __privateAdd(this, _account2, __runInitializers(_init91, 152, this, "")), __runInitializers(_init91, 155, this);
183017
+ __privateAdd(this, _accountOptions2, __runInitializers(_init91, 156, this, [])), __runInitializers(_init91, 159, this);
183018
+ __privateAdd(this, _model2, __runInitializers(_init91, 160, this, "")), __runInitializers(_init91, 163, this);
183019
+ __privateAdd(this, _modelOptions2, __runInitializers(_init91, 164, this, [])), __runInitializers(_init91, 167, this);
183020
+ __privateAdd(this, _reasoningEffort2, __runInitializers(_init91, 168, this, "")), __runInitializers(_init91, 171, this);
183021
+ __privateAdd(this, _effortOptions2, __runInitializers(_init91, 172, this, [])), __runInitializers(_init91, 175, this);
183022
+ __privateAdd(this, _mode3, __runInitializers(_init91, 176, this, "")), __runInitializers(_init91, 179, this);
183023
+ __privateAdd(this, _modeOptions2, __runInitializers(_init91, 180, this, [])), __runInitializers(_init91, 183, this);
183024
+ __privateAdd(this, _toolRegistry6, __runInitializers(_init91, 184, this, DeesHarnessToolRegistry.default)), __runInitializers(_init91, 187, this);
182781
183025
  __publicField(this, "toggleSessionSidebar", /* @__PURE__ */ __name(() => {
182782
183026
  if (!this.narrowSessionLayout) {
182783
183027
  this.desktopSessionSidebarVisible = !this.desktopSessionSidebarVisible;
@@ -182883,6 +183127,9 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
182883
183127
  .permissionsBusy=${this.disabled}
182884
183128
  .questions=${this.questions}
182885
183129
  .status=${this.status}
183130
+ .transcriptKey=${this.transcriptKey}
183131
+ .hasEarlierMessages=${this.hasEarlierMessages}
183132
+ .loadingEarlier=${this.loadingEarlier}
182886
183133
  .showRoles=${this.showRoles}
182887
183134
  .showTimestamps=${this.showTimestamps}
182888
183135
  .toolRegistry=${this.toolRegistry}
@@ -183033,6 +183280,9 @@ _messages2 = new WeakMap();
183033
183280
  _permissions2 = new WeakMap();
183034
183281
  _questions2 = new WeakMap();
183035
183282
  _status6 = new WeakMap();
183283
+ _transcriptKey2 = new WeakMap();
183284
+ _hasEarlierMessages2 = new WeakMap();
183285
+ _loadingEarlier2 = new WeakMap();
183036
183286
  _usage2 = new WeakMap();
183037
183287
  _todos3 = new WeakMap();
183038
183288
  _showTodosPanel = new WeakMap();
@@ -183075,6 +183325,9 @@ __decorateElement(_init91, 4, "messages", _messages_dec2, _DeesHarnessChat, _mes
183075
183325
  __decorateElement(_init91, 4, "permissions", _permissions_dec2, _DeesHarnessChat, _permissions2);
183076
183326
  __decorateElement(_init91, 4, "questions", _questions_dec2, _DeesHarnessChat, _questions2);
183077
183327
  __decorateElement(_init91, 4, "status", _status_dec6, _DeesHarnessChat, _status6);
183328
+ __decorateElement(_init91, 4, "transcriptKey", _transcriptKey_dec2, _DeesHarnessChat, _transcriptKey2);
183329
+ __decorateElement(_init91, 4, "hasEarlierMessages", _hasEarlierMessages_dec2, _DeesHarnessChat, _hasEarlierMessages2);
183330
+ __decorateElement(_init91, 4, "loadingEarlier", _loadingEarlier_dec2, _DeesHarnessChat, _loadingEarlier2);
183078
183331
  __decorateElement(_init91, 4, "usage", _usage_dec2, _DeesHarnessChat, _usage2);
183079
183332
  __decorateElement(_init91, 4, "todos", _todos_dec3, _DeesHarnessChat, _todos3);
183080
183333
  __decorateElement(_init91, 4, "showTodosPanel", _showTodosPanel_dec, _DeesHarnessChat, _showTodosPanel);
@@ -207782,7 +208035,7 @@ init_group_runtime();
207782
208035
  // ts_web/00_commitinfo_data.ts
207783
208036
  var commitinfo = {
207784
208037
  name: "@design.estate/dees-catalog",
207785
- version: "6.9.1",
208038
+ version: "6.10.1",
207786
208039
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
207787
208040
  };
207788
208041