@design.estate/dees-catalog 6.10.2 → 6.12.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 +150 -54
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.d.ts +13 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.demo.js +17 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +41 -3
- package/dist_ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.d.ts +2 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.js +13 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.d.ts +7 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.js +33 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.d.ts +4 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.js +31 -5
- package/package.json +1 -1
- package/readme.hints.md +1 -0
- package/readme.md +33 -6
- package/readme.playbook.md +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.demo.ts +17 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +36 -0
- package/ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.ts +13 -1
- package/ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.ts +26 -0
- package/ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.ts +24 -3
package/dist_bundle/bundle.js
CHANGED
|
@@ -175197,6 +175197,22 @@ var demoFunc52 = /* @__PURE__ */ __name(() => b2`
|
|
|
175197
175197
|
.modeOptions=${["Planning", "Building"]}
|
|
175198
175198
|
.modelOptions=${["gpt-5.5", "gpt-5", "o4-mini"]}
|
|
175199
175199
|
.effortOptions=${["xhigh", "high", "medium", "low"]}
|
|
175200
|
+
.toolbarActions=${[
|
|
175201
|
+
{
|
|
175202
|
+
id: "refresh",
|
|
175203
|
+
label: "Refresh conversation",
|
|
175204
|
+
iconName: "lucide:RefreshCw",
|
|
175205
|
+
action: /* @__PURE__ */ __name(() => console.log("refresh conversation"), "action")
|
|
175206
|
+
},
|
|
175207
|
+
{
|
|
175208
|
+
id: "delete",
|
|
175209
|
+
label: "Delete conversation",
|
|
175210
|
+
iconName: "lucide:Trash2",
|
|
175211
|
+
disabled: true,
|
|
175212
|
+
action: /* @__PURE__ */ __name(() => console.log("delete conversation"), "action")
|
|
175213
|
+
}
|
|
175214
|
+
]}
|
|
175215
|
+
.markdownWhileStreaming=${false}
|
|
175200
175216
|
.usage=${{ inputTokens: 18400, outputTokens: 3100, totalTokens: 21500 }}
|
|
175201
175217
|
.sessionMetrics=${{
|
|
175202
175218
|
lifetimeUsedTokens: 184320,
|
|
@@ -176750,24 +176766,25 @@ var DeesHarnessToolFullscreen = _DeesHarnessToolFullscreen;
|
|
|
176750
176766
|
init_dist_ts26();
|
|
176751
176767
|
init_theme();
|
|
176752
176768
|
init_dees_icon();
|
|
176753
|
-
var _diffViewOverride_dec, _outcomeScanTone_dec, _returnFlash_dec, _bodyOverflowing_dec, _uncapped_dec, _bodyCapPx_dec, _bodyMounted_dec, _outputExpanded_dec, _expanded_dec2, _viewState_dec2, _allowSubtaskStreams_dec, _toolRegistry_dec2, _call_dec2, _a81, _DeesHarnessToolCard_decorators, _init82, _call2, _toolRegistry2, _allowSubtaskStreams, _viewState2, _expanded2, _outputExpanded, _bodyMounted, _bodyCapPx, _uncapped, _bodyOverflowing, _returnFlash, _outcomeScanTone, _diffViewOverride;
|
|
176769
|
+
var _diffViewOverride_dec, _outcomeScanTone_dec, _returnFlash_dec, _bodyOverflowing_dec, _uncapped_dec, _bodyCapPx_dec, _bodyMounted_dec, _outputExpanded_dec, _expanded_dec2, _viewState_dec2, _markdownWhileStreaming_dec, _allowSubtaskStreams_dec, _toolRegistry_dec2, _call_dec2, _a81, _DeesHarnessToolCard_decorators, _init82, _call2, _toolRegistry2, _allowSubtaskStreams, _markdownWhileStreaming, _viewState2, _expanded2, _outputExpanded, _bodyMounted, _bodyCapPx, _uncapped, _bodyOverflowing, _returnFlash, _outcomeScanTone, _diffViewOverride;
|
|
176754
176770
|
_DeesHarnessToolCard_decorators = [customElement("dees-harness-tool-card")];
|
|
176755
|
-
var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElement, _call_dec2 = [n5({ attribute: false })], _toolRegistry_dec2 = [n5({ attribute: false })], _allowSubtaskStreams_dec = [n5({ type: Boolean })], _viewState_dec2 = [n5({ attribute: false })], _expanded_dec2 = [r5()], _outputExpanded_dec = [r5()], _bodyMounted_dec = [r5()], _bodyCapPx_dec = [n5({ type: Number })], _uncapped_dec = [n5({ type: Boolean })], _bodyOverflowing_dec = [r5()], _returnFlash_dec = [r5()], _outcomeScanTone_dec = [r5()], _diffViewOverride_dec = [r5()], _a81) {
|
|
176771
|
+
var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElement, _call_dec2 = [n5({ attribute: false })], _toolRegistry_dec2 = [n5({ attribute: false })], _allowSubtaskStreams_dec = [n5({ type: Boolean })], _markdownWhileStreaming_dec = [n5({ type: Boolean })], _viewState_dec2 = [n5({ attribute: false })], _expanded_dec2 = [r5()], _outputExpanded_dec = [r5()], _bodyMounted_dec = [r5()], _bodyCapPx_dec = [n5({ type: Number })], _uncapped_dec = [n5({ type: Boolean })], _bodyOverflowing_dec = [r5()], _returnFlash_dec = [r5()], _outcomeScanTone_dec = [r5()], _diffViewOverride_dec = [r5()], _a81) {
|
|
176756
176772
|
constructor() {
|
|
176757
176773
|
super(...arguments);
|
|
176758
176774
|
__privateAdd(this, _call2, __runInitializers(_init82, 8, this, { id: "", name: "", status: "pending" })), __runInitializers(_init82, 11, this);
|
|
176759
176775
|
__privateAdd(this, _toolRegistry2, __runInitializers(_init82, 12, this, DeesHarnessToolRegistry.default)), __runInitializers(_init82, 15, this);
|
|
176760
176776
|
__privateAdd(this, _allowSubtaskStreams, __runInitializers(_init82, 16, this, true)), __runInitializers(_init82, 19, this);
|
|
176761
|
-
__privateAdd(this,
|
|
176762
|
-
__privateAdd(this,
|
|
176763
|
-
__privateAdd(this,
|
|
176764
|
-
__privateAdd(this,
|
|
176765
|
-
__privateAdd(this,
|
|
176766
|
-
__privateAdd(this,
|
|
176767
|
-
__privateAdd(this,
|
|
176768
|
-
__privateAdd(this,
|
|
176769
|
-
__privateAdd(this,
|
|
176770
|
-
__privateAdd(this,
|
|
176777
|
+
__privateAdd(this, _markdownWhileStreaming, __runInitializers(_init82, 20, this, true)), __runInitializers(_init82, 23, this);
|
|
176778
|
+
__privateAdd(this, _viewState2, __runInitializers(_init82, 24, this)), __runInitializers(_init82, 27, this);
|
|
176779
|
+
__privateAdd(this, _expanded2, __runInitializers(_init82, 28, this)), __runInitializers(_init82, 31, this);
|
|
176780
|
+
__privateAdd(this, _outputExpanded, __runInitializers(_init82, 32, this, false)), __runInitializers(_init82, 35, this);
|
|
176781
|
+
__privateAdd(this, _bodyMounted, __runInitializers(_init82, 36, this, false)), __runInitializers(_init82, 39, this);
|
|
176782
|
+
__privateAdd(this, _bodyCapPx, __runInitializers(_init82, 40, this, 360)), __runInitializers(_init82, 43, this);
|
|
176783
|
+
__privateAdd(this, _uncapped, __runInitializers(_init82, 44, this, false)), __runInitializers(_init82, 47, this);
|
|
176784
|
+
__privateAdd(this, _bodyOverflowing, __runInitializers(_init82, 48, this, false)), __runInitializers(_init82, 51, this);
|
|
176785
|
+
__privateAdd(this, _returnFlash, __runInitializers(_init82, 52, this, false)), __runInitializers(_init82, 55, this);
|
|
176786
|
+
__privateAdd(this, _outcomeScanTone, __runInitializers(_init82, 56, this, null)), __runInitializers(_init82, 59, this);
|
|
176787
|
+
__privateAdd(this, _diffViewOverride, __runInitializers(_init82, 60, this, null)), __runInitializers(_init82, 63, this);
|
|
176771
176788
|
__publicField(this, "bodyResizeObserver", null);
|
|
176772
176789
|
__publicField(this, "observedBodyInner", null);
|
|
176773
176790
|
__publicField(this, "fullscreenPortal", null);
|
|
@@ -176816,7 +176833,7 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176816
176833
|
composed: true
|
|
176817
176834
|
}));
|
|
176818
176835
|
const portal = document.createElement("dees-harness-tool-fullscreen");
|
|
176819
|
-
portal.call = this.
|
|
176836
|
+
portal.call = this.call;
|
|
176820
176837
|
portal.toolRegistry = this.toolRegistry;
|
|
176821
176838
|
portal.addEventListener("tool-fullscreen-close", this.closeFullscreen, { once: true });
|
|
176822
176839
|
document.body.append(portal);
|
|
@@ -177077,7 +177094,7 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
177077
177094
|
});
|
|
177078
177095
|
if (this.isOpen && !this.bodyMounted) this.bodyMounted = true;
|
|
177079
177096
|
if (changedProperties.has("call") && this.fullscreenPortal) {
|
|
177080
|
-
this.fullscreenPortal.call = this.
|
|
177097
|
+
this.fullscreenPortal.call = this.call;
|
|
177081
177098
|
}
|
|
177082
177099
|
this.connectSubtaskResultScroll();
|
|
177083
177100
|
if (!this.isOpen || this.uncapped || this.hasSubtaskPreview) {
|
|
@@ -177227,6 +177244,7 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
177227
177244
|
.toolRegistry=${this.toolRegistry}
|
|
177228
177245
|
.viewState=${this.viewState?.subtaskTranscript}
|
|
177229
177246
|
.allowSubtaskStreams=${false}
|
|
177247
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
177230
177248
|
.autoFollow=${this.isOpen}
|
|
177231
177249
|
.hideScrollbar=${true}
|
|
177232
177250
|
.fadeScrollEdges=${true}
|
|
@@ -177279,6 +177297,21 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
177279
177297
|
this.requestUpdate();
|
|
177280
177298
|
return true;
|
|
177281
177299
|
}
|
|
177300
|
+
/** Re-renders this card after its host mutates the shared call object in place. */
|
|
177301
|
+
refreshCall() {
|
|
177302
|
+
this.requestUpdate();
|
|
177303
|
+
const contentBlocks = this.shadowRoot?.querySelector("dees-harness-content-blocks");
|
|
177304
|
+
if (contentBlocks instanceof DeesHarnessContentBlocks) contentBlocks.requestUpdate();
|
|
177305
|
+
const nestedList = this.shadowRoot?.querySelector(".subtaskPreview > dees-harness-message-list");
|
|
177306
|
+
if (nestedList instanceof DeesHarnessMessageList) nestedList.refreshMessages();
|
|
177307
|
+
if (this.fullscreenPortal) {
|
|
177308
|
+
this.fullscreenPortal.requestUpdate();
|
|
177309
|
+
const fullscreenCard = this.fullscreenPortal.shadowRoot?.querySelector(
|
|
177310
|
+
"dees-harness-tool-card"
|
|
177311
|
+
);
|
|
177312
|
+
if (fullscreenCard instanceof _DeesHarnessToolCard) fullscreenCard.refreshCall();
|
|
177313
|
+
}
|
|
177314
|
+
}
|
|
177282
177315
|
createHelpers() {
|
|
177283
177316
|
return {
|
|
177284
177317
|
codeBlock: /* @__PURE__ */ __name((code5, language, filename) => b2`
|
|
@@ -177340,6 +177373,7 @@ _init82 = __decoratorStart(_a81);
|
|
|
177340
177373
|
_call2 = new WeakMap();
|
|
177341
177374
|
_toolRegistry2 = new WeakMap();
|
|
177342
177375
|
_allowSubtaskStreams = new WeakMap();
|
|
177376
|
+
_markdownWhileStreaming = new WeakMap();
|
|
177343
177377
|
_viewState2 = new WeakMap();
|
|
177344
177378
|
_expanded2 = new WeakMap();
|
|
177345
177379
|
_outputExpanded = new WeakMap();
|
|
@@ -177353,6 +177387,7 @@ _diffViewOverride = new WeakMap();
|
|
|
177353
177387
|
__decorateElement(_init82, 4, "call", _call_dec2, _DeesHarnessToolCard, _call2);
|
|
177354
177388
|
__decorateElement(_init82, 4, "toolRegistry", _toolRegistry_dec2, _DeesHarnessToolCard, _toolRegistry2);
|
|
177355
177389
|
__decorateElement(_init82, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec, _DeesHarnessToolCard, _allowSubtaskStreams);
|
|
177390
|
+
__decorateElement(_init82, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec, _DeesHarnessToolCard, _markdownWhileStreaming);
|
|
177356
177391
|
__decorateElement(_init82, 4, "viewState", _viewState_dec2, _DeesHarnessToolCard, _viewState2);
|
|
177357
177392
|
__decorateElement(_init82, 4, "expanded", _expanded_dec2, _DeesHarnessToolCard, _expanded2);
|
|
177358
177393
|
__decorateElement(_init82, 4, "outputExpanded", _outputExpanded_dec, _DeesHarnessToolCard, _outputExpanded);
|
|
@@ -177922,16 +177957,16 @@ init_dist_ts26();
|
|
|
177922
177957
|
init_theme();
|
|
177923
177958
|
init_services();
|
|
177924
177959
|
init_dees_icon();
|
|
177925
|
-
var _renderedMarkdownHtml_dec, _viewState_dec3, _suppressEntry_dec, _allowSubtaskStreams_dec2, _toolRegistry_dec3,
|
|
177960
|
+
var _renderedMarkdownHtml_dec, _viewState_dec3, _suppressEntry_dec, _allowSubtaskStreams_dec2, _toolRegistry_dec3, _markdownWhileStreaming_dec2, _showTimestamp_dec, _showRole_dec, _message_dec2, _a82, _DeesHarnessMessage_decorators, _init83, _message2, _showRole, _showTimestamp, _markdownWhileStreaming2, _toolRegistry3, _allowSubtaskStreams2, _suppressEntry, _viewState3, _renderedMarkdownHtml;
|
|
177926
177961
|
var markdownParseThrottleMs = 150;
|
|
177927
177962
|
_DeesHarnessMessage_decorators = [customElement("dees-harness-message")];
|
|
177928
|
-
var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement, _message_dec2 = [n5({ attribute: false })], _showRole_dec = [n5({ type: Boolean })], _showTimestamp_dec = [n5({ type: Boolean })],
|
|
177963
|
+
var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement, _message_dec2 = [n5({ attribute: false })], _showRole_dec = [n5({ type: Boolean })], _showTimestamp_dec = [n5({ type: Boolean })], _markdownWhileStreaming_dec2 = [n5({ type: Boolean })], _toolRegistry_dec3 = [n5({ attribute: false })], _allowSubtaskStreams_dec2 = [n5({ type: Boolean })], _suppressEntry_dec = [n5({ attribute: false })], _viewState_dec3 = [n5({ attribute: false })], _renderedMarkdownHtml_dec = [r5()], _a82) {
|
|
177929
177964
|
constructor() {
|
|
177930
177965
|
super(...arguments);
|
|
177931
177966
|
__privateAdd(this, _message2, __runInitializers(_init83, 8, this, { id: "", role: "assistant", text: "", createdAt: 0 })), __runInitializers(_init83, 11, this);
|
|
177932
177967
|
__privateAdd(this, _showRole, __runInitializers(_init83, 12, this, true)), __runInitializers(_init83, 15, this);
|
|
177933
177968
|
__privateAdd(this, _showTimestamp, __runInitializers(_init83, 16, this, false)), __runInitializers(_init83, 19, this);
|
|
177934
|
-
__privateAdd(this,
|
|
177969
|
+
__privateAdd(this, _markdownWhileStreaming2, __runInitializers(_init83, 20, this, true)), __runInitializers(_init83, 23, this);
|
|
177935
177970
|
__privateAdd(this, _toolRegistry3, __runInitializers(_init83, 24, this, DeesHarnessToolRegistry.default)), __runInitializers(_init83, 27, this);
|
|
177936
177971
|
__privateAdd(this, _allowSubtaskStreams2, __runInitializers(_init83, 28, this, true)), __runInitializers(_init83, 31, this);
|
|
177937
177972
|
__privateAdd(this, _suppressEntry, __runInitializers(_init83, 32, this, false)), __runInitializers(_init83, 35, this);
|
|
@@ -177985,6 +178020,15 @@ var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement,
|
|
|
177985
178020
|
this.message.updatedAt = Date.now();
|
|
177986
178021
|
this.requestUpdate();
|
|
177987
178022
|
}
|
|
178023
|
+
/** Re-renders this message after its host mutates the shared message object in place. */
|
|
178024
|
+
refreshMessage() {
|
|
178025
|
+
this.requestUpdate();
|
|
178026
|
+
for (const reasoningElement of this.shadowRoot?.querySelectorAll(
|
|
178027
|
+
"dees-harness-reasoning"
|
|
178028
|
+
) ?? []) reasoningElement.requestUpdate();
|
|
178029
|
+
const toolCard = this.shadowRoot?.querySelector("dees-harness-tool-card");
|
|
178030
|
+
if (toolCard instanceof DeesHarnessToolCard) toolCard.refreshCall();
|
|
178031
|
+
}
|
|
177988
178032
|
applySubtaskDelta(delta) {
|
|
177989
178033
|
const card = this.shadowRoot?.querySelector("dees-harness-tool-card");
|
|
177990
178034
|
return card?.applySubtaskDelta(delta) ?? false;
|
|
@@ -177998,6 +178042,7 @@ var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement,
|
|
|
177998
178042
|
.call=${message2.toolCall}
|
|
177999
178043
|
.toolRegistry=${this.toolRegistry}
|
|
178000
178044
|
.allowSubtaskStreams=${this.allowSubtaskStreams}
|
|
178045
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
178001
178046
|
.viewState=${this.viewState}
|
|
178002
178047
|
></dees-harness-tool-card>
|
|
178003
178048
|
`;
|
|
@@ -178031,6 +178076,7 @@ var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement,
|
|
|
178031
178076
|
.call=${message2.toolCall}
|
|
178032
178077
|
.toolRegistry=${this.toolRegistry}
|
|
178033
178078
|
.allowSubtaskStreams=${this.allowSubtaskStreams}
|
|
178079
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
178034
178080
|
.viewState=${this.viewState}
|
|
178035
178081
|
></dees-harness-tool-card>` : ""}
|
|
178036
178082
|
${this.renderText()}
|
|
@@ -178170,7 +178216,7 @@ _init83 = __decoratorStart(_a82);
|
|
|
178170
178216
|
_message2 = new WeakMap();
|
|
178171
178217
|
_showRole = new WeakMap();
|
|
178172
178218
|
_showTimestamp = new WeakMap();
|
|
178173
|
-
|
|
178219
|
+
_markdownWhileStreaming2 = new WeakMap();
|
|
178174
178220
|
_toolRegistry3 = new WeakMap();
|
|
178175
178221
|
_allowSubtaskStreams2 = new WeakMap();
|
|
178176
178222
|
_suppressEntry = new WeakMap();
|
|
@@ -178179,7 +178225,7 @@ _renderedMarkdownHtml = new WeakMap();
|
|
|
178179
178225
|
__decorateElement(_init83, 4, "message", _message_dec2, _DeesHarnessMessage, _message2);
|
|
178180
178226
|
__decorateElement(_init83, 4, "showRole", _showRole_dec, _DeesHarnessMessage, _showRole);
|
|
178181
178227
|
__decorateElement(_init83, 4, "showTimestamp", _showTimestamp_dec, _DeesHarnessMessage, _showTimestamp);
|
|
178182
|
-
__decorateElement(_init83, 4, "markdownWhileStreaming",
|
|
178228
|
+
__decorateElement(_init83, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec2, _DeesHarnessMessage, _markdownWhileStreaming2);
|
|
178183
178229
|
__decorateElement(_init83, 4, "toolRegistry", _toolRegistry_dec3, _DeesHarnessMessage, _toolRegistry3);
|
|
178184
178230
|
__decorateElement(_init83, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec2, _DeesHarnessMessage, _allowSubtaskStreams2);
|
|
178185
178231
|
__decorateElement(_init83, 4, "suppressEntry", _suppressEntry_dec, _DeesHarnessMessage, _suppressEntry);
|
|
@@ -179336,7 +179382,7 @@ var DeesHarnessQuestionCard = _DeesHarnessQuestionCard;
|
|
|
179336
179382
|
init_dist_ts26();
|
|
179337
179383
|
init_theme();
|
|
179338
179384
|
init_dees_icon();
|
|
179339
|
-
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;
|
|
179385
|
+
var _scrollFadeBottom_dec, _scrollFadeTop_dec, _entryAnimationsEnabled_dec, _showJumpChip_dec, _emptyText_dec, _emptyTitle_dec, _showTimestamps_dec, _showRoles_dec, _markdownWhileStreaming_dec3, _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, _markdownWhileStreaming3, _showRoles, _showTimestamps, _emptyTitle, _emptyText, _showJumpChip, _entryAnimationsEnabled, _scrollFadeTop, _scrollFadeBottom;
|
|
179340
179386
|
var { repeat: repeat4 } = directives_exports;
|
|
179341
179387
|
var pinThresholdPx = 48;
|
|
179342
179388
|
var loadEarlierThresholdPx = 24;
|
|
@@ -179346,7 +179392,7 @@ var virtualOverscanPx = 800;
|
|
|
179346
179392
|
var virtualGapPx = 8;
|
|
179347
179393
|
var maximumToolMessagesPerGroup = 4;
|
|
179348
179394
|
_DeesHarnessMessageList_decorators = [customElement("dees-harness-message-list")];
|
|
179349
|
-
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) {
|
|
179395
|
+
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 })], _markdownWhileStreaming_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) {
|
|
179350
179396
|
constructor() {
|
|
179351
179397
|
super(...arguments);
|
|
179352
179398
|
__privateAdd(this, _messages, __runInitializers(_init87, 8, this, [])), __runInitializers(_init87, 11, this);
|
|
@@ -179363,14 +179409,15 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
|
|
|
179363
179409
|
__privateAdd(this, _toolRegistry4, __runInitializers(_init87, 52, this, DeesHarnessToolRegistry.default)), __runInitializers(_init87, 55, this);
|
|
179364
179410
|
__privateAdd(this, _viewState6, __runInitializers(_init87, 56, this)), __runInitializers(_init87, 59, this);
|
|
179365
179411
|
__privateAdd(this, _allowSubtaskStreams3, __runInitializers(_init87, 60, this, true)), __runInitializers(_init87, 63, this);
|
|
179366
|
-
__privateAdd(this,
|
|
179367
|
-
__privateAdd(this,
|
|
179368
|
-
__privateAdd(this,
|
|
179369
|
-
__privateAdd(this,
|
|
179370
|
-
__privateAdd(this,
|
|
179371
|
-
__privateAdd(this,
|
|
179372
|
-
__privateAdd(this,
|
|
179373
|
-
__privateAdd(this,
|
|
179412
|
+
__privateAdd(this, _markdownWhileStreaming3, __runInitializers(_init87, 64, this, true)), __runInitializers(_init87, 67, this);
|
|
179413
|
+
__privateAdd(this, _showRoles, __runInitializers(_init87, 68, this, true)), __runInitializers(_init87, 71, this);
|
|
179414
|
+
__privateAdd(this, _showTimestamps, __runInitializers(_init87, 72, this, false)), __runInitializers(_init87, 75, this);
|
|
179415
|
+
__privateAdd(this, _emptyTitle, __runInitializers(_init87, 76, this, "No messages yet")), __runInitializers(_init87, 79, this);
|
|
179416
|
+
__privateAdd(this, _emptyText, __runInitializers(_init87, 80, this, "Start a conversation to see it here.")), __runInitializers(_init87, 83, this);
|
|
179417
|
+
__privateAdd(this, _showJumpChip, __runInitializers(_init87, 84, this, false)), __runInitializers(_init87, 87, this);
|
|
179418
|
+
__privateAdd(this, _entryAnimationsEnabled, __runInitializers(_init87, 88, this, false)), __runInitializers(_init87, 91, this);
|
|
179419
|
+
__privateAdd(this, _scrollFadeTop, __runInitializers(_init87, 92, this, false)), __runInitializers(_init87, 95, this);
|
|
179420
|
+
__privateAdd(this, _scrollFadeBottom, __runInitializers(_init87, 96, this, false)), __runInitializers(_init87, 99, this);
|
|
179374
179421
|
__publicField(this, "toolGroupIdByMessageId", /* @__PURE__ */ new Map());
|
|
179375
179422
|
__publicField(this, "nextToolGroupId", 1);
|
|
179376
179423
|
__publicField(this, "timelineRenderItems", []);
|
|
@@ -180029,6 +180076,7 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
|
|
|
180029
180076
|
.showTimestamp=${this.showTimestamps}
|
|
180030
180077
|
.toolRegistry=${this.toolRegistry}
|
|
180031
180078
|
.allowSubtaskStreams=${this.allowSubtaskStreams}
|
|
180079
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
180032
180080
|
.viewState=${this.messageViewState(itemArg.message.id)}
|
|
180033
180081
|
.suppressEntry=${!this.entryAnimationsEnabled || !this.currentNewContentKeys.has(itemArg.key)}
|
|
180034
180082
|
></dees-harness-message>
|
|
@@ -180127,6 +180175,26 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
|
|
|
180127
180175
|
}
|
|
180128
180176
|
this.followAfterContentChange();
|
|
180129
180177
|
}
|
|
180178
|
+
/**
|
|
180179
|
+
* Reconciles host mutations made directly to the shared message objects.
|
|
180180
|
+
* Omit IDs for structural changes; an empty ID list is intentionally a no-op.
|
|
180181
|
+
*/
|
|
180182
|
+
refreshMessages(messageIdsArg) {
|
|
180183
|
+
if (messageIdsArg?.length === 0) return;
|
|
180184
|
+
const messageIds = messageIdsArg ? new Set(messageIdsArg) : void 0;
|
|
180185
|
+
if (!messageIds) {
|
|
180186
|
+
this.rebuildTimeline();
|
|
180187
|
+
this.requestUpdate();
|
|
180188
|
+
}
|
|
180189
|
+
for (const element4 of this.shadowRoot?.querySelectorAll(
|
|
180190
|
+
"dees-harness-message[data-message-id]"
|
|
180191
|
+
) ?? []) {
|
|
180192
|
+
if (!(element4 instanceof DeesHarnessMessage)) continue;
|
|
180193
|
+
if (messageIds && !messageIds.has(element4.message.id)) continue;
|
|
180194
|
+
element4.refreshMessage();
|
|
180195
|
+
}
|
|
180196
|
+
this.followAfterContentChange();
|
|
180197
|
+
}
|
|
180130
180198
|
messageElement(messageId) {
|
|
180131
180199
|
const element4 = this.shadowRoot?.querySelector(`dees-harness-message[data-message-id="${CSS.escape(messageId)}"]`);
|
|
180132
180200
|
return element4 instanceof DeesHarnessMessage ? element4 : void 0;
|
|
@@ -180797,6 +180865,7 @@ _fadeScrollEdges = new WeakMap();
|
|
|
180797
180865
|
_toolRegistry4 = new WeakMap();
|
|
180798
180866
|
_viewState6 = new WeakMap();
|
|
180799
180867
|
_allowSubtaskStreams3 = new WeakMap();
|
|
180868
|
+
_markdownWhileStreaming3 = new WeakMap();
|
|
180800
180869
|
_showRoles = new WeakMap();
|
|
180801
180870
|
_showTimestamps = new WeakMap();
|
|
180802
180871
|
_emptyTitle = new WeakMap();
|
|
@@ -180819,6 +180888,7 @@ __decorateElement(_init87, 4, "fadeScrollEdges", _fadeScrollEdges_dec, _DeesHarn
|
|
|
180819
180888
|
__decorateElement(_init87, 4, "toolRegistry", _toolRegistry_dec4, _DeesHarnessMessageList, _toolRegistry4);
|
|
180820
180889
|
__decorateElement(_init87, 4, "viewState", _viewState_dec6, _DeesHarnessMessageList, _viewState6);
|
|
180821
180890
|
__decorateElement(_init87, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec3, _DeesHarnessMessageList, _allowSubtaskStreams3);
|
|
180891
|
+
__decorateElement(_init87, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec3, _DeesHarnessMessageList, _markdownWhileStreaming3);
|
|
180822
180892
|
__decorateElement(_init87, 4, "showRoles", _showRoles_dec, _DeesHarnessMessageList, _showRoles);
|
|
180823
180893
|
__decorateElement(_init87, 4, "showTimestamps", _showTimestamps_dec, _DeesHarnessMessageList, _showTimestamps);
|
|
180824
180894
|
__decorateElement(_init87, 4, "emptyTitle", _emptyTitle_dec, _DeesHarnessMessageList, _emptyTitle);
|
|
@@ -182993,9 +183063,9 @@ var DeesHarnessUsage = _DeesHarnessUsage;
|
|
|
182993
183063
|
init_dist_ts26();
|
|
182994
183064
|
init_theme();
|
|
182995
183065
|
init_dees_icon();
|
|
182996
|
-
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, _steeringEnabled_dec2, _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, _todosAuthoritative_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, _todosAuthoritative, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _sessionIntelligenceEnabled, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading6, _subheading, _showToolbar, _showRoles2, _showTimestamps2, _disabled7, _busy4, _queuedCount2, _steeringEnabled2, _composerValue, _attachments2, _suggestions3, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _account2, _accountOptions2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode3, _modeOptions2, _toolRegistry6;
|
|
183066
|
+
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, _steeringEnabled_dec2, _queuedCount_dec2, _busy_dec4, _disabled_dec7, _markdownWhileStreaming_dec4, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec, _toolbarActions_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, _todosAuthoritative_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, _todosAuthoritative, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _sessionIntelligenceEnabled, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading6, _subheading, _toolbarActions, _showToolbar, _showRoles2, _showTimestamps2, _markdownWhileStreaming4, _disabled7, _busy4, _queuedCount2, _steeringEnabled2, _composerValue, _attachments2, _suggestions3, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _account2, _accountOptions2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode3, _modeOptions2, _toolRegistry6;
|
|
182997
183067
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
182998
|
-
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 })], _todosAuthoritative_dec = [n5({ type: Boolean })], _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 })], _steeringEnabled_dec2 = [n5({ type: Boolean })], _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) {
|
|
183068
|
+
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 })], _todosAuthoritative_dec = [n5({ type: Boolean })], _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()], _toolbarActions_dec = [n5({ attribute: false })], _showToolbar_dec = [n5({ type: Boolean })], _showRoles_dec2 = [n5({ type: Boolean })], _showTimestamps_dec2 = [n5({ type: Boolean })], _markdownWhileStreaming_dec4 = [n5({ type: Boolean })], _disabled_dec7 = [n5({ type: Boolean })], _busy_dec4 = [n5({ type: Boolean })], _queuedCount_dec2 = [n5({ type: Number })], _steeringEnabled_dec2 = [n5({ type: Boolean })], _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) {
|
|
182999
183069
|
constructor() {
|
|
183000
183070
|
super(...arguments);
|
|
183001
183071
|
__privateAdd(this, _messages2, __runInitializers(_init91, 8, this, [])), __runInitializers(_init91, 11, this);
|
|
@@ -183024,28 +183094,30 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183024
183094
|
__publicField(this, "sessionLayoutResizeObserver");
|
|
183025
183095
|
__privateAdd(this, _heading6, __runInitializers(_init91, 100, this, "")), __runInitializers(_init91, 103, this);
|
|
183026
183096
|
__privateAdd(this, _subheading, __runInitializers(_init91, 104, this, "")), __runInitializers(_init91, 107, this);
|
|
183027
|
-
__privateAdd(this,
|
|
183028
|
-
__privateAdd(this,
|
|
183029
|
-
__privateAdd(this,
|
|
183030
|
-
__privateAdd(this,
|
|
183031
|
-
__privateAdd(this,
|
|
183032
|
-
__privateAdd(this,
|
|
183033
|
-
__privateAdd(this,
|
|
183034
|
-
__privateAdd(this,
|
|
183035
|
-
__privateAdd(this,
|
|
183036
|
-
__privateAdd(this,
|
|
183037
|
-
__privateAdd(this,
|
|
183038
|
-
__privateAdd(this,
|
|
183039
|
-
__privateAdd(this,
|
|
183040
|
-
__privateAdd(this,
|
|
183041
|
-
__privateAdd(this,
|
|
183042
|
-
__privateAdd(this,
|
|
183043
|
-
__privateAdd(this,
|
|
183044
|
-
__privateAdd(this,
|
|
183045
|
-
__privateAdd(this,
|
|
183046
|
-
__privateAdd(this,
|
|
183047
|
-
__privateAdd(this,
|
|
183048
|
-
__privateAdd(this,
|
|
183097
|
+
__privateAdd(this, _toolbarActions, __runInitializers(_init91, 108, this, [])), __runInitializers(_init91, 111, this);
|
|
183098
|
+
__privateAdd(this, _showToolbar, __runInitializers(_init91, 112, this, true)), __runInitializers(_init91, 115, this);
|
|
183099
|
+
__privateAdd(this, _showRoles2, __runInitializers(_init91, 116, this, true)), __runInitializers(_init91, 119, this);
|
|
183100
|
+
__privateAdd(this, _showTimestamps2, __runInitializers(_init91, 120, this, true)), __runInitializers(_init91, 123, this);
|
|
183101
|
+
__privateAdd(this, _markdownWhileStreaming4, __runInitializers(_init91, 124, this, true)), __runInitializers(_init91, 127, this);
|
|
183102
|
+
__privateAdd(this, _disabled7, __runInitializers(_init91, 128, this, false)), __runInitializers(_init91, 131, this);
|
|
183103
|
+
__privateAdd(this, _busy4, __runInitializers(_init91, 132, this, false)), __runInitializers(_init91, 135, this);
|
|
183104
|
+
__privateAdd(this, _queuedCount2, __runInitializers(_init91, 136, this, 0)), __runInitializers(_init91, 139, this);
|
|
183105
|
+
__privateAdd(this, _steeringEnabled2, __runInitializers(_init91, 140, this, true)), __runInitializers(_init91, 143, this);
|
|
183106
|
+
__privateAdd(this, _composerValue, __runInitializers(_init91, 144, this, "")), __runInitializers(_init91, 147, this);
|
|
183107
|
+
__privateAdd(this, _attachments2, __runInitializers(_init91, 148, this, [])), __runInitializers(_init91, 151, this);
|
|
183108
|
+
__privateAdd(this, _suggestions3, __runInitializers(_init91, 152, this, [])), __runInitializers(_init91, 155, this);
|
|
183109
|
+
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init91, 156, this, Number.POSITIVE_INFINITY)), __runInitializers(_init91, 159, this);
|
|
183110
|
+
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init91, 160, this, harnessMaxAttachmentBytes)), __runInitializers(_init91, 163, this);
|
|
183111
|
+
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init91, 164, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init91, 167, this);
|
|
183112
|
+
__privateAdd(this, _account2, __runInitializers(_init91, 168, this, "")), __runInitializers(_init91, 171, this);
|
|
183113
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init91, 172, this, [])), __runInitializers(_init91, 175, this);
|
|
183114
|
+
__privateAdd(this, _model2, __runInitializers(_init91, 176, this, "")), __runInitializers(_init91, 179, this);
|
|
183115
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init91, 180, this, [])), __runInitializers(_init91, 183, this);
|
|
183116
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init91, 184, this, "")), __runInitializers(_init91, 187, this);
|
|
183117
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init91, 188, this, [])), __runInitializers(_init91, 191, this);
|
|
183118
|
+
__privateAdd(this, _mode3, __runInitializers(_init91, 192, this, "")), __runInitializers(_init91, 195, this);
|
|
183119
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init91, 196, this, [])), __runInitializers(_init91, 199, this);
|
|
183120
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init91, 200, this, DeesHarnessToolRegistry.default)), __runInitializers(_init91, 203, this);
|
|
183049
183121
|
__publicField(this, "toggleSessionSidebar", /* @__PURE__ */ __name(() => {
|
|
183050
183122
|
if (!this.narrowSessionLayout) {
|
|
183051
183123
|
this.desktopSessionSidebarVisible = !this.desktopSessionSidebarVisible;
|
|
@@ -183064,6 +183136,12 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183064
183136
|
this.listElement?.applyDelta(delta);
|
|
183065
183137
|
if (!delta.parentMessageId && delta.type === "tool-update") this.requestUpdate();
|
|
183066
183138
|
}
|
|
183139
|
+
/** Reconciles direct host mutations while retaining the canonical message array. */
|
|
183140
|
+
refreshMessages(messageIdsArg) {
|
|
183141
|
+
if (messageIdsArg?.length === 0) return;
|
|
183142
|
+
this.listElement?.refreshMessages(messageIdsArg);
|
|
183143
|
+
this.requestUpdate();
|
|
183144
|
+
}
|
|
183067
183145
|
async focusComposer() {
|
|
183068
183146
|
await this.updateComplete;
|
|
183069
183147
|
await this.composerElement?.focusPrompt();
|
|
@@ -183156,6 +183234,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183156
183234
|
.loadingEarlier=${this.loadingEarlier}
|
|
183157
183235
|
.showRoles=${this.showRoles}
|
|
183158
183236
|
.showTimestamps=${this.showTimestamps}
|
|
183237
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
183159
183238
|
.toolRegistry=${this.toolRegistry}
|
|
183160
183239
|
></dees-harness-message-list>
|
|
183161
183240
|
${this.heading ? b2`
|
|
@@ -183280,6 +183359,19 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183280
183359
|
</div>
|
|
183281
183360
|
<div class="toolbarActions">
|
|
183282
183361
|
<dees-harness-usage compact .usage=${this.usage}></dees-harness-usage>
|
|
183362
|
+
${this.toolbarActions.map((actionArg) => {
|
|
183363
|
+
return b2`
|
|
183364
|
+
<dees-button
|
|
183365
|
+
size="icon"
|
|
183366
|
+
type="ghost"
|
|
183367
|
+
.icon=${actionArg.iconName}
|
|
183368
|
+
.text=${actionArg.label}
|
|
183369
|
+
.disabled=${Boolean(actionArg.disabled)}
|
|
183370
|
+
title=${actionArg.tooltip ?? actionArg.label}
|
|
183371
|
+
@clicked=${() => actionArg.action()}
|
|
183372
|
+
></dees-button>
|
|
183373
|
+
`;
|
|
183374
|
+
})}
|
|
183283
183375
|
${this.hasSessionSidebar ? b2`
|
|
183284
183376
|
<button
|
|
183285
183377
|
class="toolbarSessionPanelToggle"
|
|
@@ -183327,9 +183419,11 @@ _desktopSessionSidebarVisible = new WeakMap();
|
|
|
183327
183419
|
_narrowSessionLayout = new WeakMap();
|
|
183328
183420
|
_heading6 = new WeakMap();
|
|
183329
183421
|
_subheading = new WeakMap();
|
|
183422
|
+
_toolbarActions = new WeakMap();
|
|
183330
183423
|
_showToolbar = new WeakMap();
|
|
183331
183424
|
_showRoles2 = new WeakMap();
|
|
183332
183425
|
_showTimestamps2 = new WeakMap();
|
|
183426
|
+
_markdownWhileStreaming4 = new WeakMap();
|
|
183333
183427
|
_disabled7 = new WeakMap();
|
|
183334
183428
|
_busy4 = new WeakMap();
|
|
183335
183429
|
_queuedCount2 = new WeakMap();
|
|
@@ -183374,9 +183468,11 @@ __decorateElement(_init91, 4, "desktopSessionSidebarVisible", _desktopSessionSid
|
|
|
183374
183468
|
__decorateElement(_init91, 4, "narrowSessionLayout", _narrowSessionLayout_dec, _DeesHarnessChat, _narrowSessionLayout);
|
|
183375
183469
|
__decorateElement(_init91, 4, "heading", _heading_dec6, _DeesHarnessChat, _heading6);
|
|
183376
183470
|
__decorateElement(_init91, 4, "subheading", _subheading_dec, _DeesHarnessChat, _subheading);
|
|
183471
|
+
__decorateElement(_init91, 4, "toolbarActions", _toolbarActions_dec, _DeesHarnessChat, _toolbarActions);
|
|
183377
183472
|
__decorateElement(_init91, 4, "showToolbar", _showToolbar_dec, _DeesHarnessChat, _showToolbar);
|
|
183378
183473
|
__decorateElement(_init91, 4, "showRoles", _showRoles_dec2, _DeesHarnessChat, _showRoles2);
|
|
183379
183474
|
__decorateElement(_init91, 4, "showTimestamps", _showTimestamps_dec2, _DeesHarnessChat, _showTimestamps2);
|
|
183475
|
+
__decorateElement(_init91, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec4, _DeesHarnessChat, _markdownWhileStreaming4);
|
|
183380
183476
|
__decorateElement(_init91, 4, "disabled", _disabled_dec7, _DeesHarnessChat, _disabled7);
|
|
183381
183477
|
__decorateElement(_init91, 4, "busy", _busy_dec4, _DeesHarnessChat, _busy4);
|
|
183382
183478
|
__decorateElement(_init91, 4, "queuedCount", _queuedCount_dec2, _DeesHarnessChat, _queuedCount2);
|
|
@@ -208065,7 +208161,7 @@ init_group_runtime();
|
|
|
208065
208161
|
// ts_web/00_commitinfo_data.ts
|
|
208066
208162
|
var commitinfo = {
|
|
208067
208163
|
name: "@design.estate/dees-catalog",
|
|
208068
|
-
version: "6.
|
|
208164
|
+
version: "6.12.0",
|
|
208069
208165
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
208070
208166
|
};
|
|
208071
208167
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '6.
|
|
6
|
+
version: '6.12.0',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsNkJBQTZCO0lBQ25DLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLFdBQVcsRUFBRSxzSkFBc0o7Q0FDcEssQ0FBQSJ9
|
|
@@ -11,6 +11,14 @@ declare global {
|
|
|
11
11
|
'dees-harness-chat': DeesHarnessChat;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
export interface IHarnessChatToolbarAction {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
iconName: string;
|
|
18
|
+
action: () => void | Promise<void>;
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
14
22
|
/**
|
|
15
23
|
* The assembled agent chat: optional toolbar, streaming message list,
|
|
16
24
|
* pinned permission queue, status line, and composer. Owns no business
|
|
@@ -53,9 +61,12 @@ export declare class DeesHarnessChat extends DeesElement {
|
|
|
53
61
|
private sessionLayoutResizeObserver;
|
|
54
62
|
accessor heading: string;
|
|
55
63
|
accessor subheading: string;
|
|
64
|
+
accessor toolbarActions: IHarnessChatToolbarAction[];
|
|
56
65
|
accessor showToolbar: boolean;
|
|
57
66
|
accessor showRoles: boolean;
|
|
58
67
|
accessor showTimestamps: boolean;
|
|
68
|
+
/** Parse markdown during active streams; disable to parse only at message end. */
|
|
69
|
+
accessor markdownWhileStreaming: boolean;
|
|
59
70
|
accessor disabled: boolean;
|
|
60
71
|
accessor busy: boolean;
|
|
61
72
|
/** queued-message count while busy; enables the composer's "Steer now" */
|
|
@@ -81,6 +92,8 @@ export declare class DeesHarnessChat extends DeesElement {
|
|
|
81
92
|
static styles: import("@design.estate/dees-element").CSSResult[];
|
|
82
93
|
/** Streams an incremental update into the message list. */
|
|
83
94
|
applyDelta(delta: THarnessStreamDelta): void;
|
|
95
|
+
/** Reconciles direct host mutations while retaining the canonical message array. */
|
|
96
|
+
refreshMessages(messageIdsArg?: readonly string[]): void;
|
|
84
97
|
focusComposer(): Promise<void>;
|
|
85
98
|
clearComposer(): void;
|
|
86
99
|
scrollToBottom(force?: boolean): void;
|