@design.estate/dees-catalog 6.10.1 → 6.11.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 +178 -102
- 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 +17 -3
- 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 +60 -10
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.js +22 -3
- package/dist_ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.js +3 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.js +12 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.js +13 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-todos/dees-harness-todos.js +13 -4
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.js +12 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/renderers.js +5 -2
- package/dist_ts_web/elements/00group-harness/harness.helpers.js +6 -2
- package/dist_ts_web/elements/00group-harness/interfaces.d.ts +1 -1
- package/package.json +1 -1
- package/readme.hints.md +1 -0
- package/readme.md +21 -9
- 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 +43 -5
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts +15 -1
- package/ts_web/elements/00group-harness/dees-harness-message/dees-harness-message.ts +2 -0
- package/ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.ts +5 -0
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts +5 -0
- package/ts_web/elements/00group-harness/dees-harness-todos/dees-harness-todos.ts +12 -3
- package/ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.ts +5 -0
- package/ts_web/elements/00group-harness/dees-harness-tool-card/renderers.ts +4 -1
- package/ts_web/elements/00group-harness/harness.helpers.ts +5 -1
- package/ts_web/elements/00group-harness/interfaces.ts +1 -1
package/dist_bundle/bundle.js
CHANGED
|
@@ -173347,7 +173347,7 @@ var harnessParseTodos = /* @__PURE__ */ __name((value2) => {
|
|
|
173347
173347
|
if (!harnessIsRecord(entry)) continue;
|
|
173348
173348
|
const content3 = String(entry.content ?? entry.subject ?? entry.title ?? "").trim();
|
|
173349
173349
|
if (!content3) continue;
|
|
173350
|
-
const status = entry.status === "completed" || entry.status === "in_progress" ? entry.status : "pending";
|
|
173350
|
+
const status = entry.status === "completed" || entry.status === "in_progress" || entry.status === "cancelled" ? entry.status : "pending";
|
|
173351
173351
|
result.push({
|
|
173352
173352
|
id: entry.id !== void 0 ? String(entry.id) : void 0,
|
|
173353
173353
|
content: content3,
|
|
@@ -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,
|
|
@@ -175949,7 +175965,7 @@ var _DeesHarnessTodos = class _DeesHarnessTodos extends (_a78 = DeesElement, _to
|
|
|
175949
175965
|
(todo) => b2`
|
|
175950
175966
|
<div class="item ${todo.status}" role="listitem">
|
|
175951
175967
|
<span class="marker">
|
|
175952
|
-
${todo.status === "completed" ? b2`<dees-icon icon="lucide:Check" iconSize="10"></dees-icon>` : ""}
|
|
175968
|
+
${todo.status === "completed" ? b2`<dees-icon icon="lucide:Check" iconSize="10"></dees-icon>` : todo.status === "cancelled" ? b2`<dees-icon icon="lucide:X" iconSize="10"></dees-icon>` : ""}
|
|
175953
175969
|
</span>
|
|
175954
175970
|
<span class="content">${todo.content}</span>
|
|
175955
175971
|
</div>
|
|
@@ -176060,15 +176076,22 @@ __publicField(_DeesHarnessTodos, "styles", [
|
|
|
176060
176076
|
color: #fff;
|
|
176061
176077
|
}
|
|
176062
176078
|
|
|
176079
|
+
.item.cancelled .marker {
|
|
176080
|
+
background: var(--dees-color-fill-secondary);
|
|
176081
|
+
color: var(--dees-color-text-muted);
|
|
176082
|
+
}
|
|
176083
|
+
|
|
176063
176084
|
.item.in_progress .content {
|
|
176064
176085
|
font-weight: 600;
|
|
176065
176086
|
}
|
|
176066
176087
|
|
|
176067
|
-
.item.completed
|
|
176088
|
+
.item.completed,
|
|
176089
|
+
.item.cancelled {
|
|
176068
176090
|
opacity: 0.62;
|
|
176069
176091
|
}
|
|
176070
176092
|
|
|
176071
|
-
.item.completed .content
|
|
176093
|
+
.item.completed .content,
|
|
176094
|
+
.item.cancelled .content {
|
|
176072
176095
|
text-decoration: line-through;
|
|
176073
176096
|
text-decoration-color: var(--dees-color-text-muted);
|
|
176074
176097
|
}
|
|
@@ -176348,7 +176371,7 @@ var projectTaskOutputItems = /* @__PURE__ */ __name((output) => {
|
|
|
176348
176371
|
}, "projectTaskOutputItems");
|
|
176349
176372
|
var hasUnsupportedTodoStatus = /* @__PURE__ */ __name((items) => items.some((item) => {
|
|
176350
176373
|
if (!harnessIsRecord(item) || typeof item.status !== "string") return false;
|
|
176351
|
-
return item.status !== "pending" && item.status !== "in_progress" && item.status !== "completed";
|
|
176374
|
+
return item.status !== "pending" && item.status !== "in_progress" && item.status !== "completed" && item.status !== "cancelled";
|
|
176352
176375
|
}), "hasUnsupportedTodoStatus");
|
|
176353
176376
|
var renderProjectTask = /* @__PURE__ */ __name((call, helpers) => {
|
|
176354
176377
|
const output = outputText(call);
|
|
@@ -176743,24 +176766,25 @@ var DeesHarnessToolFullscreen = _DeesHarnessToolFullscreen;
|
|
|
176743
176766
|
init_dist_ts26();
|
|
176744
176767
|
init_theme();
|
|
176745
176768
|
init_dees_icon();
|
|
176746
|
-
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;
|
|
176747
176770
|
_DeesHarnessToolCard_decorators = [customElement("dees-harness-tool-card")];
|
|
176748
|
-
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) {
|
|
176749
176772
|
constructor() {
|
|
176750
176773
|
super(...arguments);
|
|
176751
176774
|
__privateAdd(this, _call2, __runInitializers(_init82, 8, this, { id: "", name: "", status: "pending" })), __runInitializers(_init82, 11, this);
|
|
176752
176775
|
__privateAdd(this, _toolRegistry2, __runInitializers(_init82, 12, this, DeesHarnessToolRegistry.default)), __runInitializers(_init82, 15, this);
|
|
176753
176776
|
__privateAdd(this, _allowSubtaskStreams, __runInitializers(_init82, 16, this, true)), __runInitializers(_init82, 19, this);
|
|
176754
|
-
__privateAdd(this,
|
|
176755
|
-
__privateAdd(this,
|
|
176756
|
-
__privateAdd(this,
|
|
176757
|
-
__privateAdd(this,
|
|
176758
|
-
__privateAdd(this,
|
|
176759
|
-
__privateAdd(this,
|
|
176760
|
-
__privateAdd(this,
|
|
176761
|
-
__privateAdd(this,
|
|
176762
|
-
__privateAdd(this,
|
|
176763
|
-
__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);
|
|
176764
176788
|
__publicField(this, "bodyResizeObserver", null);
|
|
176765
176789
|
__publicField(this, "observedBodyInner", null);
|
|
176766
176790
|
__publicField(this, "fullscreenPortal", null);
|
|
@@ -177220,6 +177244,7 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
177220
177244
|
.toolRegistry=${this.toolRegistry}
|
|
177221
177245
|
.viewState=${this.viewState?.subtaskTranscript}
|
|
177222
177246
|
.allowSubtaskStreams=${false}
|
|
177247
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
177223
177248
|
.autoFollow=${this.isOpen}
|
|
177224
177249
|
.hideScrollbar=${true}
|
|
177225
177250
|
.fadeScrollEdges=${true}
|
|
@@ -177333,6 +177358,7 @@ _init82 = __decoratorStart(_a81);
|
|
|
177333
177358
|
_call2 = new WeakMap();
|
|
177334
177359
|
_toolRegistry2 = new WeakMap();
|
|
177335
177360
|
_allowSubtaskStreams = new WeakMap();
|
|
177361
|
+
_markdownWhileStreaming = new WeakMap();
|
|
177336
177362
|
_viewState2 = new WeakMap();
|
|
177337
177363
|
_expanded2 = new WeakMap();
|
|
177338
177364
|
_outputExpanded = new WeakMap();
|
|
@@ -177346,6 +177372,7 @@ _diffViewOverride = new WeakMap();
|
|
|
177346
177372
|
__decorateElement(_init82, 4, "call", _call_dec2, _DeesHarnessToolCard, _call2);
|
|
177347
177373
|
__decorateElement(_init82, 4, "toolRegistry", _toolRegistry_dec2, _DeesHarnessToolCard, _toolRegistry2);
|
|
177348
177374
|
__decorateElement(_init82, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec, _DeesHarnessToolCard, _allowSubtaskStreams);
|
|
177375
|
+
__decorateElement(_init82, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec, _DeesHarnessToolCard, _markdownWhileStreaming);
|
|
177349
177376
|
__decorateElement(_init82, 4, "viewState", _viewState_dec2, _DeesHarnessToolCard, _viewState2);
|
|
177350
177377
|
__decorateElement(_init82, 4, "expanded", _expanded_dec2, _DeesHarnessToolCard, _expanded2);
|
|
177351
177378
|
__decorateElement(_init82, 4, "outputExpanded", _outputExpanded_dec, _DeesHarnessToolCard, _outputExpanded);
|
|
@@ -177915,16 +177942,16 @@ init_dist_ts26();
|
|
|
177915
177942
|
init_theme();
|
|
177916
177943
|
init_services();
|
|
177917
177944
|
init_dees_icon();
|
|
177918
|
-
var _renderedMarkdownHtml_dec, _viewState_dec3, _suppressEntry_dec, _allowSubtaskStreams_dec2, _toolRegistry_dec3,
|
|
177945
|
+
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;
|
|
177919
177946
|
var markdownParseThrottleMs = 150;
|
|
177920
177947
|
_DeesHarnessMessage_decorators = [customElement("dees-harness-message")];
|
|
177921
|
-
var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement, _message_dec2 = [n5({ attribute: false })], _showRole_dec = [n5({ type: Boolean })], _showTimestamp_dec = [n5({ type: Boolean })],
|
|
177948
|
+
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) {
|
|
177922
177949
|
constructor() {
|
|
177923
177950
|
super(...arguments);
|
|
177924
177951
|
__privateAdd(this, _message2, __runInitializers(_init83, 8, this, { id: "", role: "assistant", text: "", createdAt: 0 })), __runInitializers(_init83, 11, this);
|
|
177925
177952
|
__privateAdd(this, _showRole, __runInitializers(_init83, 12, this, true)), __runInitializers(_init83, 15, this);
|
|
177926
177953
|
__privateAdd(this, _showTimestamp, __runInitializers(_init83, 16, this, false)), __runInitializers(_init83, 19, this);
|
|
177927
|
-
__privateAdd(this,
|
|
177954
|
+
__privateAdd(this, _markdownWhileStreaming2, __runInitializers(_init83, 20, this, true)), __runInitializers(_init83, 23, this);
|
|
177928
177955
|
__privateAdd(this, _toolRegistry3, __runInitializers(_init83, 24, this, DeesHarnessToolRegistry.default)), __runInitializers(_init83, 27, this);
|
|
177929
177956
|
__privateAdd(this, _allowSubtaskStreams2, __runInitializers(_init83, 28, this, true)), __runInitializers(_init83, 31, this);
|
|
177930
177957
|
__privateAdd(this, _suppressEntry, __runInitializers(_init83, 32, this, false)), __runInitializers(_init83, 35, this);
|
|
@@ -177991,6 +178018,7 @@ var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement,
|
|
|
177991
178018
|
.call=${message2.toolCall}
|
|
177992
178019
|
.toolRegistry=${this.toolRegistry}
|
|
177993
178020
|
.allowSubtaskStreams=${this.allowSubtaskStreams}
|
|
178021
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
177994
178022
|
.viewState=${this.viewState}
|
|
177995
178023
|
></dees-harness-tool-card>
|
|
177996
178024
|
`;
|
|
@@ -178024,6 +178052,7 @@ var _DeesHarnessMessage = class _DeesHarnessMessage extends (_a82 = DeesElement,
|
|
|
178024
178052
|
.call=${message2.toolCall}
|
|
178025
178053
|
.toolRegistry=${this.toolRegistry}
|
|
178026
178054
|
.allowSubtaskStreams=${this.allowSubtaskStreams}
|
|
178055
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
178027
178056
|
.viewState=${this.viewState}
|
|
178028
178057
|
></dees-harness-tool-card>` : ""}
|
|
178029
178058
|
${this.renderText()}
|
|
@@ -178163,7 +178192,7 @@ _init83 = __decoratorStart(_a82);
|
|
|
178163
178192
|
_message2 = new WeakMap();
|
|
178164
178193
|
_showRole = new WeakMap();
|
|
178165
178194
|
_showTimestamp = new WeakMap();
|
|
178166
|
-
|
|
178195
|
+
_markdownWhileStreaming2 = new WeakMap();
|
|
178167
178196
|
_toolRegistry3 = new WeakMap();
|
|
178168
178197
|
_allowSubtaskStreams2 = new WeakMap();
|
|
178169
178198
|
_suppressEntry = new WeakMap();
|
|
@@ -178172,7 +178201,7 @@ _renderedMarkdownHtml = new WeakMap();
|
|
|
178172
178201
|
__decorateElement(_init83, 4, "message", _message_dec2, _DeesHarnessMessage, _message2);
|
|
178173
178202
|
__decorateElement(_init83, 4, "showRole", _showRole_dec, _DeesHarnessMessage, _showRole);
|
|
178174
178203
|
__decorateElement(_init83, 4, "showTimestamp", _showTimestamp_dec, _DeesHarnessMessage, _showTimestamp);
|
|
178175
|
-
__decorateElement(_init83, 4, "markdownWhileStreaming",
|
|
178204
|
+
__decorateElement(_init83, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec2, _DeesHarnessMessage, _markdownWhileStreaming2);
|
|
178176
178205
|
__decorateElement(_init83, 4, "toolRegistry", _toolRegistry_dec3, _DeesHarnessMessage, _toolRegistry3);
|
|
178177
178206
|
__decorateElement(_init83, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec2, _DeesHarnessMessage, _allowSubtaskStreams2);
|
|
178178
178207
|
__decorateElement(_init83, 4, "suppressEntry", _suppressEntry_dec, _DeesHarnessMessage, _suppressEntry);
|
|
@@ -179329,7 +179358,7 @@ var DeesHarnessQuestionCard = _DeesHarnessQuestionCard;
|
|
|
179329
179358
|
init_dist_ts26();
|
|
179330
179359
|
init_theme();
|
|
179331
179360
|
init_dees_icon();
|
|
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;
|
|
179361
|
+
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;
|
|
179333
179362
|
var { repeat: repeat4 } = directives_exports;
|
|
179334
179363
|
var pinThresholdPx = 48;
|
|
179335
179364
|
var loadEarlierThresholdPx = 24;
|
|
@@ -179339,7 +179368,7 @@ var virtualOverscanPx = 800;
|
|
|
179339
179368
|
var virtualGapPx = 8;
|
|
179340
179369
|
var maximumToolMessagesPerGroup = 4;
|
|
179341
179370
|
_DeesHarnessMessageList_decorators = [customElement("dees-harness-message-list")];
|
|
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) {
|
|
179371
|
+
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) {
|
|
179343
179372
|
constructor() {
|
|
179344
179373
|
super(...arguments);
|
|
179345
179374
|
__privateAdd(this, _messages, __runInitializers(_init87, 8, this, [])), __runInitializers(_init87, 11, this);
|
|
@@ -179356,14 +179385,15 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
|
|
|
179356
179385
|
__privateAdd(this, _toolRegistry4, __runInitializers(_init87, 52, this, DeesHarnessToolRegistry.default)), __runInitializers(_init87, 55, this);
|
|
179357
179386
|
__privateAdd(this, _viewState6, __runInitializers(_init87, 56, this)), __runInitializers(_init87, 59, this);
|
|
179358
179387
|
__privateAdd(this, _allowSubtaskStreams3, __runInitializers(_init87, 60, this, true)), __runInitializers(_init87, 63, this);
|
|
179359
|
-
__privateAdd(this,
|
|
179360
|
-
__privateAdd(this,
|
|
179361
|
-
__privateAdd(this,
|
|
179362
|
-
__privateAdd(this,
|
|
179363
|
-
__privateAdd(this,
|
|
179364
|
-
__privateAdd(this,
|
|
179365
|
-
__privateAdd(this,
|
|
179366
|
-
__privateAdd(this,
|
|
179388
|
+
__privateAdd(this, _markdownWhileStreaming3, __runInitializers(_init87, 64, this, true)), __runInitializers(_init87, 67, this);
|
|
179389
|
+
__privateAdd(this, _showRoles, __runInitializers(_init87, 68, this, true)), __runInitializers(_init87, 71, this);
|
|
179390
|
+
__privateAdd(this, _showTimestamps, __runInitializers(_init87, 72, this, false)), __runInitializers(_init87, 75, this);
|
|
179391
|
+
__privateAdd(this, _emptyTitle, __runInitializers(_init87, 76, this, "No messages yet")), __runInitializers(_init87, 79, this);
|
|
179392
|
+
__privateAdd(this, _emptyText, __runInitializers(_init87, 80, this, "Start a conversation to see it here.")), __runInitializers(_init87, 83, this);
|
|
179393
|
+
__privateAdd(this, _showJumpChip, __runInitializers(_init87, 84, this, false)), __runInitializers(_init87, 87, this);
|
|
179394
|
+
__privateAdd(this, _entryAnimationsEnabled, __runInitializers(_init87, 88, this, false)), __runInitializers(_init87, 91, this);
|
|
179395
|
+
__privateAdd(this, _scrollFadeTop, __runInitializers(_init87, 92, this, false)), __runInitializers(_init87, 95, this);
|
|
179396
|
+
__privateAdd(this, _scrollFadeBottom, __runInitializers(_init87, 96, this, false)), __runInitializers(_init87, 99, this);
|
|
179367
179397
|
__publicField(this, "toolGroupIdByMessageId", /* @__PURE__ */ new Map());
|
|
179368
179398
|
__publicField(this, "nextToolGroupId", 1);
|
|
179369
179399
|
__publicField(this, "timelineRenderItems", []);
|
|
@@ -180022,6 +180052,7 @@ var _DeesHarnessMessageList = class _DeesHarnessMessageList extends (_a86 = Dees
|
|
|
180022
180052
|
.showTimestamp=${this.showTimestamps}
|
|
180023
180053
|
.toolRegistry=${this.toolRegistry}
|
|
180024
180054
|
.allowSubtaskStreams=${this.allowSubtaskStreams}
|
|
180055
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
180025
180056
|
.viewState=${this.messageViewState(itemArg.message.id)}
|
|
180026
180057
|
.suppressEntry=${!this.entryAnimationsEnabled || !this.currentNewContentKeys.has(itemArg.key)}
|
|
180027
180058
|
></dees-harness-message>
|
|
@@ -180790,6 +180821,7 @@ _fadeScrollEdges = new WeakMap();
|
|
|
180790
180821
|
_toolRegistry4 = new WeakMap();
|
|
180791
180822
|
_viewState6 = new WeakMap();
|
|
180792
180823
|
_allowSubtaskStreams3 = new WeakMap();
|
|
180824
|
+
_markdownWhileStreaming3 = new WeakMap();
|
|
180793
180825
|
_showRoles = new WeakMap();
|
|
180794
180826
|
_showTimestamps = new WeakMap();
|
|
180795
180827
|
_emptyTitle = new WeakMap();
|
|
@@ -180812,6 +180844,7 @@ __decorateElement(_init87, 4, "fadeScrollEdges", _fadeScrollEdges_dec, _DeesHarn
|
|
|
180812
180844
|
__decorateElement(_init87, 4, "toolRegistry", _toolRegistry_dec4, _DeesHarnessMessageList, _toolRegistry4);
|
|
180813
180845
|
__decorateElement(_init87, 4, "viewState", _viewState_dec6, _DeesHarnessMessageList, _viewState6);
|
|
180814
180846
|
__decorateElement(_init87, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec3, _DeesHarnessMessageList, _allowSubtaskStreams3);
|
|
180847
|
+
__decorateElement(_init87, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec3, _DeesHarnessMessageList, _markdownWhileStreaming3);
|
|
180815
180848
|
__decorateElement(_init87, 4, "showRoles", _showRoles_dec, _DeesHarnessMessageList, _showRoles);
|
|
180816
180849
|
__decorateElement(_init87, 4, "showTimestamps", _showTimestamps_dec, _DeesHarnessMessageList, _showTimestamps);
|
|
180817
180850
|
__decorateElement(_init87, 4, "emptyTitle", _emptyTitle_dec, _DeesHarnessMessageList, _emptyTitle);
|
|
@@ -181085,12 +181118,12 @@ var demoFunc62 = /* @__PURE__ */ __name(() => b2`
|
|
|
181085
181118
|
init_dist_ts26();
|
|
181086
181119
|
init_theme();
|
|
181087
181120
|
init_dees_icon();
|
|
181088
|
-
var _showModelControls_dec, _modeOptions_dec, _mode_dec2, _effortOptions_dec, _reasoningEffort_dec, _modelOptions_dec, _model_dec, _accountOptions_dec, _account_dec, _maxAttachmentCount_dec, _maxTotalAttachmentBytes_dec, _maxAttachmentBytes_dec, _promptFocused_dec, _suggestionsDismissed_dec, _activeSuggestionIndex_dec, _suggestions_dec2, _attachments_dec, _queuedCount_dec, _busy_dec3, _disabled_dec5, _docked_dec, _placeholder_dec6, _value_dec17, _a87, _DeesHarnessComposer_decorators, _init88, _value17, _placeholder6, _docked, _disabled5, _busy3, _queuedCount, _attachments, _suggestions2, _activeSuggestionIndex, _suggestionsDismissed, _promptFocused, _maxAttachmentBytes, _maxTotalAttachmentBytes, _maxAttachmentCount, _account, _accountOptions, _model, _modelOptions, _reasoningEffort, _effortOptions, _mode2, _modeOptions, _showModelControls;
|
|
181121
|
+
var _showModelControls_dec, _modeOptions_dec, _mode_dec2, _effortOptions_dec, _reasoningEffort_dec, _modelOptions_dec, _model_dec, _accountOptions_dec, _account_dec, _maxAttachmentCount_dec, _maxTotalAttachmentBytes_dec, _maxAttachmentBytes_dec, _promptFocused_dec, _suggestionsDismissed_dec, _activeSuggestionIndex_dec, _suggestions_dec2, _attachments_dec, _steeringEnabled_dec, _queuedCount_dec, _busy_dec3, _disabled_dec5, _docked_dec, _placeholder_dec6, _value_dec17, _a87, _DeesHarnessComposer_decorators, _init88, _value17, _placeholder6, _docked, _disabled5, _busy3, _queuedCount, _steeringEnabled, _attachments, _suggestions2, _activeSuggestionIndex, _suggestionsDismissed, _promptFocused, _maxAttachmentBytes, _maxTotalAttachmentBytes, _maxAttachmentCount, _account, _accountOptions, _model, _modelOptions, _reasoningEffort, _effortOptions, _mode2, _modeOptions, _showModelControls;
|
|
181089
181122
|
var toDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2, key: value2 })), "toDropdownOptions");
|
|
181090
181123
|
var toLabeledDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2.label, key: value2.value })), "toLabeledDropdownOptions");
|
|
181091
181124
|
var nextSuggestionListId = 0;
|
|
181092
181125
|
_DeesHarnessComposer_decorators = [customElement("dees-harness-composer")];
|
|
181093
|
-
var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElement, _value_dec17 = [n5()], _placeholder_dec6 = [n5()], _docked_dec = [n5({ type: Boolean, reflect: true })], _disabled_dec5 = [n5({ type: Boolean })], _busy_dec3 = [n5({ type: Boolean })], _queuedCount_dec = [n5({ type: Number })], _attachments_dec = [n5({ attribute: false })], _suggestions_dec2 = [n5({ attribute: false })], _activeSuggestionIndex_dec = [r5()], _suggestionsDismissed_dec = [r5()], _promptFocused_dec = [r5()], _maxAttachmentBytes_dec = [n5({ type: Number })], _maxTotalAttachmentBytes_dec = [n5({ type: Number })], _maxAttachmentCount_dec = [n5({ type: Number })], _account_dec = [n5()], _accountOptions_dec = [n5({ attribute: false })], _model_dec = [n5()], _modelOptions_dec = [n5({ attribute: false })], _reasoningEffort_dec = [n5()], _effortOptions_dec = [n5({ attribute: false })], _mode_dec2 = [n5()], _modeOptions_dec = [n5({ attribute: false })], _showModelControls_dec = [n5({ type: Boolean })], _a87) {
|
|
181126
|
+
var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElement, _value_dec17 = [n5()], _placeholder_dec6 = [n5()], _docked_dec = [n5({ type: Boolean, reflect: true })], _disabled_dec5 = [n5({ type: Boolean })], _busy_dec3 = [n5({ type: Boolean })], _queuedCount_dec = [n5({ type: Number })], _steeringEnabled_dec = [n5({ type: Boolean })], _attachments_dec = [n5({ attribute: false })], _suggestions_dec2 = [n5({ attribute: false })], _activeSuggestionIndex_dec = [r5()], _suggestionsDismissed_dec = [r5()], _promptFocused_dec = [r5()], _maxAttachmentBytes_dec = [n5({ type: Number })], _maxTotalAttachmentBytes_dec = [n5({ type: Number })], _maxAttachmentCount_dec = [n5({ type: Number })], _account_dec = [n5()], _accountOptions_dec = [n5({ attribute: false })], _model_dec = [n5()], _modelOptions_dec = [n5({ attribute: false })], _reasoningEffort_dec = [n5()], _effortOptions_dec = [n5({ attribute: false })], _mode_dec2 = [n5()], _modeOptions_dec = [n5({ attribute: false })], _showModelControls_dec = [n5({ type: Boolean })], _a87) {
|
|
181094
181127
|
constructor() {
|
|
181095
181128
|
super(...arguments);
|
|
181096
181129
|
__privateAdd(this, _value17, __runInitializers(_init88, 8, this, "")), __runInitializers(_init88, 11, this);
|
|
@@ -181099,25 +181132,26 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
181099
181132
|
__privateAdd(this, _disabled5, __runInitializers(_init88, 20, this, false)), __runInitializers(_init88, 23, this);
|
|
181100
181133
|
__privateAdd(this, _busy3, __runInitializers(_init88, 24, this, false)), __runInitializers(_init88, 27, this);
|
|
181101
181134
|
__privateAdd(this, _queuedCount, __runInitializers(_init88, 28, this, 0)), __runInitializers(_init88, 31, this);
|
|
181102
|
-
__privateAdd(this,
|
|
181103
|
-
__privateAdd(this,
|
|
181104
|
-
__privateAdd(this,
|
|
181105
|
-
__privateAdd(this,
|
|
181106
|
-
__privateAdd(this,
|
|
181135
|
+
__privateAdd(this, _steeringEnabled, __runInitializers(_init88, 32, this, true)), __runInitializers(_init88, 35, this);
|
|
181136
|
+
__privateAdd(this, _attachments, __runInitializers(_init88, 36, this, [])), __runInitializers(_init88, 39, this);
|
|
181137
|
+
__privateAdd(this, _suggestions2, __runInitializers(_init88, 40, this, [])), __runInitializers(_init88, 43, this);
|
|
181138
|
+
__privateAdd(this, _activeSuggestionIndex, __runInitializers(_init88, 44, this, -1)), __runInitializers(_init88, 47, this);
|
|
181139
|
+
__privateAdd(this, _suggestionsDismissed, __runInitializers(_init88, 48, this, false)), __runInitializers(_init88, 51, this);
|
|
181140
|
+
__privateAdd(this, _promptFocused, __runInitializers(_init88, 52, this, false)), __runInitializers(_init88, 55, this);
|
|
181107
181141
|
__publicField(this, "composing", false);
|
|
181108
181142
|
__publicField(this, "suggestionListId", `dees-harness-composer-suggestions-${++nextSuggestionListId}`);
|
|
181109
|
-
__privateAdd(this, _maxAttachmentBytes, __runInitializers(_init88,
|
|
181110
|
-
__privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init88,
|
|
181111
|
-
__privateAdd(this, _maxAttachmentCount, __runInitializers(_init88,
|
|
181112
|
-
__privateAdd(this, _account, __runInitializers(_init88,
|
|
181113
|
-
__privateAdd(this, _accountOptions, __runInitializers(_init88,
|
|
181114
|
-
__privateAdd(this, _model, __runInitializers(_init88,
|
|
181115
|
-
__privateAdd(this, _modelOptions, __runInitializers(_init88,
|
|
181116
|
-
__privateAdd(this, _reasoningEffort, __runInitializers(_init88,
|
|
181117
|
-
__privateAdd(this, _effortOptions, __runInitializers(_init88,
|
|
181118
|
-
__privateAdd(this, _mode2, __runInitializers(_init88,
|
|
181119
|
-
__privateAdd(this, _modeOptions, __runInitializers(_init88,
|
|
181120
|
-
__privateAdd(this, _showModelControls, __runInitializers(_init88,
|
|
181143
|
+
__privateAdd(this, _maxAttachmentBytes, __runInitializers(_init88, 56, this, harnessMaxAttachmentBytes)), __runInitializers(_init88, 59, this);
|
|
181144
|
+
__privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init88, 60, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init88, 63, this);
|
|
181145
|
+
__privateAdd(this, _maxAttachmentCount, __runInitializers(_init88, 64, this, Number.POSITIVE_INFINITY)), __runInitializers(_init88, 67, this);
|
|
181146
|
+
__privateAdd(this, _account, __runInitializers(_init88, 68, this, "")), __runInitializers(_init88, 71, this);
|
|
181147
|
+
__privateAdd(this, _accountOptions, __runInitializers(_init88, 72, this, [])), __runInitializers(_init88, 75, this);
|
|
181148
|
+
__privateAdd(this, _model, __runInitializers(_init88, 76, this, "")), __runInitializers(_init88, 79, this);
|
|
181149
|
+
__privateAdd(this, _modelOptions, __runInitializers(_init88, 80, this, [])), __runInitializers(_init88, 83, this);
|
|
181150
|
+
__privateAdd(this, _reasoningEffort, __runInitializers(_init88, 84, this, "")), __runInitializers(_init88, 87, this);
|
|
181151
|
+
__privateAdd(this, _effortOptions, __runInitializers(_init88, 88, this, [])), __runInitializers(_init88, 91, this);
|
|
181152
|
+
__privateAdd(this, _mode2, __runInitializers(_init88, 92, this, "")), __runInitializers(_init88, 95, this);
|
|
181153
|
+
__privateAdd(this, _modeOptions, __runInitializers(_init88, 96, this, [])), __runInitializers(_init88, 99, this);
|
|
181154
|
+
__privateAdd(this, _showModelControls, __runInitializers(_init88, 100, this, true)), __runInitializers(_init88, 103, this);
|
|
181121
181155
|
// ------------------------------------------------------------------ input
|
|
181122
181156
|
__publicField(this, "handleTextInput", /* @__PURE__ */ __name((event) => {
|
|
181123
181157
|
this.value = event.currentTarget.value;
|
|
@@ -181329,12 +181363,13 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
181329
181363
|
</div>
|
|
181330
181364
|
` : ""}
|
|
181331
181365
|
<span class="spacer"></span>
|
|
181366
|
+
${this.busy && this.queuedCount > 0 ? b2`<span class="queuedStatus" aria-live="polite">${this.queuedCount} queued</span>` : ""}
|
|
181332
181367
|
${this.busy ? b2`
|
|
181333
181368
|
<dees-button type="destructive" size="sm" @clicked=${() => this.emit("harness-abort", {})}>
|
|
181334
181369
|
Stop
|
|
181335
181370
|
</dees-button>
|
|
181336
181371
|
` : ""}
|
|
181337
|
-
${this.busy && !this.value.trim() && this.queuedCount > 0 ? b2`
|
|
181372
|
+
${this.busy && this.steeringEnabled && !this.value.trim() && this.queuedCount > 0 ? b2`
|
|
181338
181373
|
<dees-button type="accent" size="sm" @clicked=${() => this.emit("harness-steer", { queuedCount: this.queuedCount })}>
|
|
181339
181374
|
Steer now
|
|
181340
181375
|
</dees-button>
|
|
@@ -181560,6 +181595,7 @@ _docked = new WeakMap();
|
|
|
181560
181595
|
_disabled5 = new WeakMap();
|
|
181561
181596
|
_busy3 = new WeakMap();
|
|
181562
181597
|
_queuedCount = new WeakMap();
|
|
181598
|
+
_steeringEnabled = new WeakMap();
|
|
181563
181599
|
_attachments = new WeakMap();
|
|
181564
181600
|
_suggestions2 = new WeakMap();
|
|
181565
181601
|
_activeSuggestionIndex = new WeakMap();
|
|
@@ -181583,6 +181619,7 @@ __decorateElement(_init88, 4, "docked", _docked_dec, _DeesHarnessComposer, _dock
|
|
|
181583
181619
|
__decorateElement(_init88, 4, "disabled", _disabled_dec5, _DeesHarnessComposer, _disabled5);
|
|
181584
181620
|
__decorateElement(_init88, 4, "busy", _busy_dec3, _DeesHarnessComposer, _busy3);
|
|
181585
181621
|
__decorateElement(_init88, 4, "queuedCount", _queuedCount_dec, _DeesHarnessComposer, _queuedCount);
|
|
181622
|
+
__decorateElement(_init88, 4, "steeringEnabled", _steeringEnabled_dec, _DeesHarnessComposer, _steeringEnabled);
|
|
181586
181623
|
__decorateElement(_init88, 4, "attachments", _attachments_dec, _DeesHarnessComposer, _attachments);
|
|
181587
181624
|
__decorateElement(_init88, 4, "suggestions", _suggestions_dec2, _DeesHarnessComposer, _suggestions2);
|
|
181588
181625
|
__decorateElement(_init88, 4, "activeSuggestionIndex", _activeSuggestionIndex_dec, _DeesHarnessComposer, _activeSuggestionIndex);
|
|
@@ -181873,6 +181910,13 @@ __publicField(_DeesHarnessComposer, "styles", [
|
|
|
181873
181910
|
flex: 1;
|
|
181874
181911
|
}
|
|
181875
181912
|
|
|
181913
|
+
.queuedStatus {
|
|
181914
|
+
flex: 0 0 auto;
|
|
181915
|
+
color: var(--dees-color-text-muted);
|
|
181916
|
+
font-size: var(--dees-font-caption1-size, 11px);
|
|
181917
|
+
font-variant-numeric: tabular-nums;
|
|
181918
|
+
}
|
|
181919
|
+
|
|
181876
181920
|
@container (max-width: 760px) {
|
|
181877
181921
|
.controlsRow {
|
|
181878
181922
|
flex-wrap: wrap;
|
|
@@ -181957,11 +182001,11 @@ var demoFunc63 = /* @__PURE__ */ __name(() => b2`
|
|
|
181957
182001
|
init_dist_ts26();
|
|
181958
182002
|
init_theme();
|
|
181959
182003
|
init_dees_icon();
|
|
181960
|
-
var _expandedSection_dec, _intelligenceQuestion_dec, _scratchpadStale_dec, _scratchpadDirty_dec, _scratchpadDraftRevision_dec, _scratchpadDraft_dec, _disabled_dec6, _intelligenceError_dec, _intelligenceBusy_dec, _intelligenceExchanges_dec, _intelligenceEnabled_dec, _scratchpadError_dec, _scratchpadBusy_dec, _scratchpad_dec, _metrics_dec2, _toolRegistry_dec5, _toolMessages_dec, _showTasks_dec, _todos_dec2, _a88, _DeesHarnessSessionSidebar_decorators, _init89, _todos2, _showTasks, _toolMessages, _toolRegistry5, _metrics2, _scratchpad, _scratchpadBusy, _scratchpadError, _intelligenceEnabled, _intelligenceExchanges, _intelligenceBusy, _intelligenceError, _disabled6, _scratchpadDraft, _scratchpadDraftRevision, _scratchpadDirty, _scratchpadStale, _intelligenceQuestion, _expandedSection;
|
|
182004
|
+
var _expandedSection_dec, _intelligenceQuestion_dec, _scratchpadStale_dec, _scratchpadDirty_dec, _scratchpadDraftRevision_dec, _scratchpadDraft_dec, _disabled_dec6, _sessionKey_dec, _intelligenceError_dec, _intelligenceBusy_dec, _intelligenceExchanges_dec, _intelligenceEnabled_dec, _scratchpadError_dec, _scratchpadBusy_dec, _scratchpad_dec, _metrics_dec2, _toolRegistry_dec5, _toolMessages_dec, _showTasks_dec, _todos_dec2, _a88, _DeesHarnessSessionSidebar_decorators, _init89, _todos2, _showTasks, _toolMessages, _toolRegistry5, _metrics2, _scratchpad, _scratchpadBusy, _scratchpadError, _intelligenceEnabled, _intelligenceExchanges, _intelligenceBusy, _intelligenceError, _sessionKey, _disabled6, _scratchpadDraft, _scratchpadDraftRevision, _scratchpadDirty, _scratchpadStale, _intelligenceQuestion, _expandedSection;
|
|
181961
182005
|
var { repeat: repeat5 } = directives_exports;
|
|
181962
182006
|
var formatTokenCount = /* @__PURE__ */ __name((valueArg) => valueArg.toLocaleString("en-US"), "formatTokenCount");
|
|
181963
182007
|
_DeesHarnessSessionSidebar_decorators = [customElement("dees-harness-session-sidebar")];
|
|
181964
|
-
var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88 = DeesElement, _todos_dec2 = [n5({ attribute: false })], _showTasks_dec = [n5({ type: Boolean })], _toolMessages_dec = [n5({ attribute: false })], _toolRegistry_dec5 = [n5({ attribute: false })], _metrics_dec2 = [n5({ attribute: false })], _scratchpad_dec = [n5({ attribute: false })], _scratchpadBusy_dec = [n5({ type: Boolean })], _scratchpadError_dec = [n5()], _intelligenceEnabled_dec = [n5({ type: Boolean })], _intelligenceExchanges_dec = [n5({ attribute: false })], _intelligenceBusy_dec = [n5({ type: Boolean })], _intelligenceError_dec = [n5()], _disabled_dec6 = [n5({ type: Boolean })], _scratchpadDraft_dec = [r5()], _scratchpadDraftRevision_dec = [r5()], _scratchpadDirty_dec = [r5()], _scratchpadStale_dec = [r5()], _intelligenceQuestion_dec = [r5()], _expandedSection_dec = [r5()], _a88) {
|
|
182008
|
+
var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88 = DeesElement, _todos_dec2 = [n5({ attribute: false })], _showTasks_dec = [n5({ type: Boolean })], _toolMessages_dec = [n5({ attribute: false })], _toolRegistry_dec5 = [n5({ attribute: false })], _metrics_dec2 = [n5({ attribute: false })], _scratchpad_dec = [n5({ attribute: false })], _scratchpadBusy_dec = [n5({ type: Boolean })], _scratchpadError_dec = [n5()], _intelligenceEnabled_dec = [n5({ type: Boolean })], _intelligenceExchanges_dec = [n5({ attribute: false })], _intelligenceBusy_dec = [n5({ type: Boolean })], _intelligenceError_dec = [n5()], _sessionKey_dec = [n5()], _disabled_dec6 = [n5({ type: Boolean })], _scratchpadDraft_dec = [r5()], _scratchpadDraftRevision_dec = [r5()], _scratchpadDirty_dec = [r5()], _scratchpadStale_dec = [r5()], _intelligenceQuestion_dec = [r5()], _expandedSection_dec = [r5()], _a88) {
|
|
181965
182009
|
constructor() {
|
|
181966
182010
|
super(...arguments);
|
|
181967
182011
|
__privateAdd(this, _todos2, __runInitializers(_init89, 8, this, [])), __runInitializers(_init89, 11, this);
|
|
@@ -181976,13 +182020,14 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88
|
|
|
181976
182020
|
__privateAdd(this, _intelligenceExchanges, __runInitializers(_init89, 44, this, [])), __runInitializers(_init89, 47, this);
|
|
181977
182021
|
__privateAdd(this, _intelligenceBusy, __runInitializers(_init89, 48, this, false)), __runInitializers(_init89, 51, this);
|
|
181978
182022
|
__privateAdd(this, _intelligenceError, __runInitializers(_init89, 52, this, "")), __runInitializers(_init89, 55, this);
|
|
181979
|
-
__privateAdd(this,
|
|
181980
|
-
__privateAdd(this,
|
|
181981
|
-
__privateAdd(this,
|
|
181982
|
-
__privateAdd(this,
|
|
181983
|
-
__privateAdd(this,
|
|
181984
|
-
__privateAdd(this,
|
|
181985
|
-
__privateAdd(this,
|
|
182023
|
+
__privateAdd(this, _sessionKey, __runInitializers(_init89, 56, this, "")), __runInitializers(_init89, 59, this);
|
|
182024
|
+
__privateAdd(this, _disabled6, __runInitializers(_init89, 60, this, false)), __runInitializers(_init89, 63, this);
|
|
182025
|
+
__privateAdd(this, _scratchpadDraft, __runInitializers(_init89, 64, this, "")), __runInitializers(_init89, 67, this);
|
|
182026
|
+
__privateAdd(this, _scratchpadDraftRevision, __runInitializers(_init89, 68, this, 0)), __runInitializers(_init89, 71, this);
|
|
182027
|
+
__privateAdd(this, _scratchpadDirty, __runInitializers(_init89, 72, this, false)), __runInitializers(_init89, 75, this);
|
|
182028
|
+
__privateAdd(this, _scratchpadStale, __runInitializers(_init89, 76, this, false)), __runInitializers(_init89, 79, this);
|
|
182029
|
+
__privateAdd(this, _intelligenceQuestion, __runInitializers(_init89, 80, this, "")), __runInitializers(_init89, 83, this);
|
|
182030
|
+
__privateAdd(this, _expandedSection, __runInitializers(_init89, 84, this)), __runInitializers(_init89, 87, this);
|
|
181986
182031
|
__publicField(this, "sectionStateInitialized", false);
|
|
181987
182032
|
__publicField(this, "discardScratchpadDraft", /* @__PURE__ */ __name(() => {
|
|
181988
182033
|
if (this.scratchpad) this.acceptScratchpad(this.scratchpad);
|
|
@@ -182025,6 +182070,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88
|
|
|
182025
182070
|
} else if (this.expandedSection !== void 0 && !availableSections.includes(this.expandedSection)) {
|
|
182026
182071
|
this.expandedSection = this.defaultExpandedSection;
|
|
182027
182072
|
}
|
|
182073
|
+
if (changedPropertiesArg.has("sessionKey")) this.intelligenceQuestion = "";
|
|
182028
182074
|
if (!changedPropertiesArg.has("scratchpad")) return;
|
|
182029
182075
|
const next2 = this.scratchpad;
|
|
182030
182076
|
if (!next2) {
|
|
@@ -182365,6 +182411,7 @@ _intelligenceEnabled = new WeakMap();
|
|
|
182365
182411
|
_intelligenceExchanges = new WeakMap();
|
|
182366
182412
|
_intelligenceBusy = new WeakMap();
|
|
182367
182413
|
_intelligenceError = new WeakMap();
|
|
182414
|
+
_sessionKey = new WeakMap();
|
|
182368
182415
|
_disabled6 = new WeakMap();
|
|
182369
182416
|
_scratchpadDraft = new WeakMap();
|
|
182370
182417
|
_scratchpadDraftRevision = new WeakMap();
|
|
@@ -182384,6 +182431,7 @@ __decorateElement(_init89, 4, "intelligenceEnabled", _intelligenceEnabled_dec, _
|
|
|
182384
182431
|
__decorateElement(_init89, 4, "intelligenceExchanges", _intelligenceExchanges_dec, _DeesHarnessSessionSidebar, _intelligenceExchanges);
|
|
182385
182432
|
__decorateElement(_init89, 4, "intelligenceBusy", _intelligenceBusy_dec, _DeesHarnessSessionSidebar, _intelligenceBusy);
|
|
182386
182433
|
__decorateElement(_init89, 4, "intelligenceError", _intelligenceError_dec, _DeesHarnessSessionSidebar, _intelligenceError);
|
|
182434
|
+
__decorateElement(_init89, 4, "sessionKey", _sessionKey_dec, _DeesHarnessSessionSidebar, _sessionKey);
|
|
182387
182435
|
__decorateElement(_init89, 4, "disabled", _disabled_dec6, _DeesHarnessSessionSidebar, _disabled6);
|
|
182388
182436
|
__decorateElement(_init89, 4, "scratchpadDraft", _scratchpadDraft_dec, _DeesHarnessSessionSidebar, _scratchpadDraft);
|
|
182389
182437
|
__decorateElement(_init89, 4, "scratchpadDraftRevision", _scratchpadDraftRevision_dec, _DeesHarnessSessionSidebar, _scratchpadDraftRevision);
|
|
@@ -182971,9 +183019,9 @@ var DeesHarnessUsage = _DeesHarnessUsage;
|
|
|
182971
183019
|
init_dist_ts26();
|
|
182972
183020
|
init_theme();
|
|
182973
183021
|
init_dees_icon();
|
|
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;
|
|
183022
|
+
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;
|
|
182975
183023
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
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) {
|
|
183024
|
+
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) {
|
|
182977
183025
|
constructor() {
|
|
182978
183026
|
super(...arguments);
|
|
182979
183027
|
__privateAdd(this, _messages2, __runInitializers(_init91, 8, this, [])), __runInitializers(_init91, 11, this);
|
|
@@ -182985,43 +183033,47 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
182985
183033
|
__privateAdd(this, _loadingEarlier2, __runInitializers(_init91, 32, this, false)), __runInitializers(_init91, 35, this);
|
|
182986
183034
|
__privateAdd(this, _usage2, __runInitializers(_init91, 36, this, {})), __runInitializers(_init91, 39, this);
|
|
182987
183035
|
__privateAdd(this, _todos3, __runInitializers(_init91, 40, this, [])), __runInitializers(_init91, 43, this);
|
|
182988
|
-
__privateAdd(this,
|
|
182989
|
-
__privateAdd(this,
|
|
182990
|
-
__privateAdd(this,
|
|
182991
|
-
__privateAdd(this,
|
|
182992
|
-
__privateAdd(this,
|
|
182993
|
-
__privateAdd(this,
|
|
182994
|
-
__privateAdd(this,
|
|
182995
|
-
__privateAdd(this,
|
|
182996
|
-
__privateAdd(this,
|
|
182997
|
-
__privateAdd(this,
|
|
182998
|
-
__privateAdd(this,
|
|
182999
|
-
__privateAdd(this,
|
|
183000
|
-
__privateAdd(this,
|
|
183036
|
+
__privateAdd(this, _todosAuthoritative, __runInitializers(_init91, 44, this, false)), __runInitializers(_init91, 47, this);
|
|
183037
|
+
__privateAdd(this, _showTodosPanel, __runInitializers(_init91, 48, this, true)), __runInitializers(_init91, 51, this);
|
|
183038
|
+
__privateAdd(this, _showSessionSidebar, __runInitializers(_init91, 52, this, true)), __runInitializers(_init91, 55, this);
|
|
183039
|
+
__privateAdd(this, _sessionMetrics, __runInitializers(_init91, 56, this, {})), __runInitializers(_init91, 59, this);
|
|
183040
|
+
__privateAdd(this, _scratchpad2, __runInitializers(_init91, 60, this)), __runInitializers(_init91, 63, this);
|
|
183041
|
+
__privateAdd(this, _scratchpadBusy2, __runInitializers(_init91, 64, this, false)), __runInitializers(_init91, 67, this);
|
|
183042
|
+
__privateAdd(this, _scratchpadError2, __runInitializers(_init91, 68, this, "")), __runInitializers(_init91, 71, this);
|
|
183043
|
+
__privateAdd(this, _sessionIntelligenceEnabled, __runInitializers(_init91, 72, this, false)), __runInitializers(_init91, 75, this);
|
|
183044
|
+
__privateAdd(this, _intelligenceExchanges2, __runInitializers(_init91, 76, this, [])), __runInitializers(_init91, 79, this);
|
|
183045
|
+
__privateAdd(this, _intelligenceBusy2, __runInitializers(_init91, 80, this, false)), __runInitializers(_init91, 83, this);
|
|
183046
|
+
__privateAdd(this, _intelligenceError2, __runInitializers(_init91, 84, this, "")), __runInitializers(_init91, 87, this);
|
|
183047
|
+
__privateAdd(this, _sessionSidebarOpen, __runInitializers(_init91, 88, this, false)), __runInitializers(_init91, 91, this);
|
|
183048
|
+
__privateAdd(this, _desktopSessionSidebarVisible, __runInitializers(_init91, 92, this, true)), __runInitializers(_init91, 95, this);
|
|
183049
|
+
__privateAdd(this, _narrowSessionLayout, __runInitializers(_init91, 96, this, false)), __runInitializers(_init91, 99, this);
|
|
183001
183050
|
__publicField(this, "sessionLayoutResizeObserver");
|
|
183002
|
-
__privateAdd(this, _heading6, __runInitializers(_init91,
|
|
183003
|
-
__privateAdd(this, _subheading, __runInitializers(_init91,
|
|
183004
|
-
__privateAdd(this,
|
|
183005
|
-
__privateAdd(this,
|
|
183006
|
-
__privateAdd(this,
|
|
183007
|
-
__privateAdd(this,
|
|
183008
|
-
__privateAdd(this,
|
|
183009
|
-
__privateAdd(this,
|
|
183010
|
-
__privateAdd(this,
|
|
183011
|
-
__privateAdd(this,
|
|
183012
|
-
__privateAdd(this,
|
|
183013
|
-
__privateAdd(this,
|
|
183014
|
-
__privateAdd(this,
|
|
183015
|
-
__privateAdd(this,
|
|
183016
|
-
__privateAdd(this,
|
|
183017
|
-
__privateAdd(this,
|
|
183018
|
-
__privateAdd(this,
|
|
183019
|
-
__privateAdd(this,
|
|
183020
|
-
__privateAdd(this,
|
|
183021
|
-
__privateAdd(this,
|
|
183022
|
-
__privateAdd(this,
|
|
183023
|
-
__privateAdd(this,
|
|
183024
|
-
__privateAdd(this,
|
|
183051
|
+
__privateAdd(this, _heading6, __runInitializers(_init91, 100, this, "")), __runInitializers(_init91, 103, this);
|
|
183052
|
+
__privateAdd(this, _subheading, __runInitializers(_init91, 104, this, "")), __runInitializers(_init91, 107, this);
|
|
183053
|
+
__privateAdd(this, _toolbarActions, __runInitializers(_init91, 108, this, [])), __runInitializers(_init91, 111, this);
|
|
183054
|
+
__privateAdd(this, _showToolbar, __runInitializers(_init91, 112, this, true)), __runInitializers(_init91, 115, this);
|
|
183055
|
+
__privateAdd(this, _showRoles2, __runInitializers(_init91, 116, this, true)), __runInitializers(_init91, 119, this);
|
|
183056
|
+
__privateAdd(this, _showTimestamps2, __runInitializers(_init91, 120, this, true)), __runInitializers(_init91, 123, this);
|
|
183057
|
+
__privateAdd(this, _markdownWhileStreaming4, __runInitializers(_init91, 124, this, true)), __runInitializers(_init91, 127, this);
|
|
183058
|
+
__privateAdd(this, _disabled7, __runInitializers(_init91, 128, this, false)), __runInitializers(_init91, 131, this);
|
|
183059
|
+
__privateAdd(this, _busy4, __runInitializers(_init91, 132, this, false)), __runInitializers(_init91, 135, this);
|
|
183060
|
+
__privateAdd(this, _queuedCount2, __runInitializers(_init91, 136, this, 0)), __runInitializers(_init91, 139, this);
|
|
183061
|
+
__privateAdd(this, _steeringEnabled2, __runInitializers(_init91, 140, this, true)), __runInitializers(_init91, 143, this);
|
|
183062
|
+
__privateAdd(this, _composerValue, __runInitializers(_init91, 144, this, "")), __runInitializers(_init91, 147, this);
|
|
183063
|
+
__privateAdd(this, _attachments2, __runInitializers(_init91, 148, this, [])), __runInitializers(_init91, 151, this);
|
|
183064
|
+
__privateAdd(this, _suggestions3, __runInitializers(_init91, 152, this, [])), __runInitializers(_init91, 155, this);
|
|
183065
|
+
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init91, 156, this, Number.POSITIVE_INFINITY)), __runInitializers(_init91, 159, this);
|
|
183066
|
+
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init91, 160, this, harnessMaxAttachmentBytes)), __runInitializers(_init91, 163, this);
|
|
183067
|
+
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init91, 164, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init91, 167, this);
|
|
183068
|
+
__privateAdd(this, _account2, __runInitializers(_init91, 168, this, "")), __runInitializers(_init91, 171, this);
|
|
183069
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init91, 172, this, [])), __runInitializers(_init91, 175, this);
|
|
183070
|
+
__privateAdd(this, _model2, __runInitializers(_init91, 176, this, "")), __runInitializers(_init91, 179, this);
|
|
183071
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init91, 180, this, [])), __runInitializers(_init91, 183, this);
|
|
183072
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init91, 184, this, "")), __runInitializers(_init91, 187, this);
|
|
183073
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init91, 188, this, [])), __runInitializers(_init91, 191, this);
|
|
183074
|
+
__privateAdd(this, _mode3, __runInitializers(_init91, 192, this, "")), __runInitializers(_init91, 195, this);
|
|
183075
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init91, 196, this, [])), __runInitializers(_init91, 199, this);
|
|
183076
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init91, 200, this, DeesHarnessToolRegistry.default)), __runInitializers(_init91, 203, this);
|
|
183025
183077
|
__publicField(this, "toggleSessionSidebar", /* @__PURE__ */ __name(() => {
|
|
183026
183078
|
if (!this.narrowSessionLayout) {
|
|
183027
183079
|
this.desktopSessionSidebarVisible = !this.desktopSessionSidebarVisible;
|
|
@@ -183075,7 +183127,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183075
183127
|
this.sessionSidebarOpen = false;
|
|
183076
183128
|
}
|
|
183077
183129
|
get effectiveTodos() {
|
|
183078
|
-
if (this.todos.length) return this.todos;
|
|
183130
|
+
if (this.todosAuthoritative || this.todos.length) return this.todos;
|
|
183079
183131
|
for (let index3 = this.messages.length - 1; index3 >= 0; index3--) {
|
|
183080
183132
|
const call = this.messages[index3]?.toolCall;
|
|
183081
183133
|
if (!call) continue;
|
|
@@ -183090,7 +183142,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183090
183142
|
}
|
|
183091
183143
|
get hasSessionSidebar() {
|
|
183092
183144
|
if (!this.showSessionSidebar) return false;
|
|
183093
|
-
return this.showTodosPanel && this.effectiveTodos.length > 0 || this.toolActivityMessages.length > 0 || Object.values(this.sessionMetrics).some((value2) => value2 !== void 0) || this.scratchpad !== void 0 || this.sessionIntelligenceEnabled;
|
|
183145
|
+
return this.showTodosPanel && (this.todosAuthoritative || this.effectiveTodos.length > 0) || this.toolActivityMessages.length > 0 || Object.values(this.sessionMetrics).some((value2) => value2 !== void 0) || this.scratchpad !== void 0 || this.sessionIntelligenceEnabled;
|
|
183094
183146
|
}
|
|
183095
183147
|
get listElement() {
|
|
183096
183148
|
const element4 = this.shadowRoot?.querySelector("dees-harness-message-list");
|
|
@@ -183132,6 +183184,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183132
183184
|
.loadingEarlier=${this.loadingEarlier}
|
|
183133
183185
|
.showRoles=${this.showRoles}
|
|
183134
183186
|
.showTimestamps=${this.showTimestamps}
|
|
183187
|
+
.markdownWhileStreaming=${this.markdownWhileStreaming}
|
|
183135
183188
|
.toolRegistry=${this.toolRegistry}
|
|
183136
183189
|
></dees-harness-message-list>
|
|
183137
183190
|
${this.heading ? b2`
|
|
@@ -183200,6 +183253,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183200
183253
|
.intelligenceExchanges=${this.intelligenceExchanges}
|
|
183201
183254
|
.intelligenceBusy=${this.intelligenceBusy}
|
|
183202
183255
|
.intelligenceError=${this.intelligenceError}
|
|
183256
|
+
.sessionKey=${this.transcriptKey}
|
|
183203
183257
|
.disabled=${this.disabled}
|
|
183204
183258
|
></dees-harness-session-sidebar>
|
|
183205
183259
|
</aside>
|
|
@@ -183217,6 +183271,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183217
183271
|
.disabled=${this.disabled}
|
|
183218
183272
|
.busy=${this.busy || this.status.type === "busy"}
|
|
183219
183273
|
.queuedCount=${this.queuedCount}
|
|
183274
|
+
.steeringEnabled=${this.steeringEnabled}
|
|
183220
183275
|
.account=${this.account}
|
|
183221
183276
|
.accountOptions=${this.accountOptions}
|
|
183222
183277
|
.model=${this.model}
|
|
@@ -183254,6 +183309,19 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183254
183309
|
</div>
|
|
183255
183310
|
<div class="toolbarActions">
|
|
183256
183311
|
<dees-harness-usage compact .usage=${this.usage}></dees-harness-usage>
|
|
183312
|
+
${this.toolbarActions.map((actionArg) => {
|
|
183313
|
+
return b2`
|
|
183314
|
+
<dees-button
|
|
183315
|
+
size="icon"
|
|
183316
|
+
type="ghost"
|
|
183317
|
+
.icon=${actionArg.iconName}
|
|
183318
|
+
.text=${actionArg.label}
|
|
183319
|
+
.disabled=${Boolean(actionArg.disabled)}
|
|
183320
|
+
title=${actionArg.tooltip ?? actionArg.label}
|
|
183321
|
+
@clicked=${() => actionArg.action()}
|
|
183322
|
+
></dees-button>
|
|
183323
|
+
`;
|
|
183324
|
+
})}
|
|
183257
183325
|
${this.hasSessionSidebar ? b2`
|
|
183258
183326
|
<button
|
|
183259
183327
|
class="toolbarSessionPanelToggle"
|
|
@@ -183285,6 +183353,7 @@ _hasEarlierMessages2 = new WeakMap();
|
|
|
183285
183353
|
_loadingEarlier2 = new WeakMap();
|
|
183286
183354
|
_usage2 = new WeakMap();
|
|
183287
183355
|
_todos3 = new WeakMap();
|
|
183356
|
+
_todosAuthoritative = new WeakMap();
|
|
183288
183357
|
_showTodosPanel = new WeakMap();
|
|
183289
183358
|
_showSessionSidebar = new WeakMap();
|
|
183290
183359
|
_sessionMetrics = new WeakMap();
|
|
@@ -183300,12 +183369,15 @@ _desktopSessionSidebarVisible = new WeakMap();
|
|
|
183300
183369
|
_narrowSessionLayout = new WeakMap();
|
|
183301
183370
|
_heading6 = new WeakMap();
|
|
183302
183371
|
_subheading = new WeakMap();
|
|
183372
|
+
_toolbarActions = new WeakMap();
|
|
183303
183373
|
_showToolbar = new WeakMap();
|
|
183304
183374
|
_showRoles2 = new WeakMap();
|
|
183305
183375
|
_showTimestamps2 = new WeakMap();
|
|
183376
|
+
_markdownWhileStreaming4 = new WeakMap();
|
|
183306
183377
|
_disabled7 = new WeakMap();
|
|
183307
183378
|
_busy4 = new WeakMap();
|
|
183308
183379
|
_queuedCount2 = new WeakMap();
|
|
183380
|
+
_steeringEnabled2 = new WeakMap();
|
|
183309
183381
|
_composerValue = new WeakMap();
|
|
183310
183382
|
_attachments2 = new WeakMap();
|
|
183311
183383
|
_suggestions3 = new WeakMap();
|
|
@@ -183330,6 +183402,7 @@ __decorateElement(_init91, 4, "hasEarlierMessages", _hasEarlierMessages_dec2, _D
|
|
|
183330
183402
|
__decorateElement(_init91, 4, "loadingEarlier", _loadingEarlier_dec2, _DeesHarnessChat, _loadingEarlier2);
|
|
183331
183403
|
__decorateElement(_init91, 4, "usage", _usage_dec2, _DeesHarnessChat, _usage2);
|
|
183332
183404
|
__decorateElement(_init91, 4, "todos", _todos_dec3, _DeesHarnessChat, _todos3);
|
|
183405
|
+
__decorateElement(_init91, 4, "todosAuthoritative", _todosAuthoritative_dec, _DeesHarnessChat, _todosAuthoritative);
|
|
183333
183406
|
__decorateElement(_init91, 4, "showTodosPanel", _showTodosPanel_dec, _DeesHarnessChat, _showTodosPanel);
|
|
183334
183407
|
__decorateElement(_init91, 4, "showSessionSidebar", _showSessionSidebar_dec, _DeesHarnessChat, _showSessionSidebar);
|
|
183335
183408
|
__decorateElement(_init91, 4, "sessionMetrics", _sessionMetrics_dec, _DeesHarnessChat, _sessionMetrics);
|
|
@@ -183345,12 +183418,15 @@ __decorateElement(_init91, 4, "desktopSessionSidebarVisible", _desktopSessionSid
|
|
|
183345
183418
|
__decorateElement(_init91, 4, "narrowSessionLayout", _narrowSessionLayout_dec, _DeesHarnessChat, _narrowSessionLayout);
|
|
183346
183419
|
__decorateElement(_init91, 4, "heading", _heading_dec6, _DeesHarnessChat, _heading6);
|
|
183347
183420
|
__decorateElement(_init91, 4, "subheading", _subheading_dec, _DeesHarnessChat, _subheading);
|
|
183421
|
+
__decorateElement(_init91, 4, "toolbarActions", _toolbarActions_dec, _DeesHarnessChat, _toolbarActions);
|
|
183348
183422
|
__decorateElement(_init91, 4, "showToolbar", _showToolbar_dec, _DeesHarnessChat, _showToolbar);
|
|
183349
183423
|
__decorateElement(_init91, 4, "showRoles", _showRoles_dec2, _DeesHarnessChat, _showRoles2);
|
|
183350
183424
|
__decorateElement(_init91, 4, "showTimestamps", _showTimestamps_dec2, _DeesHarnessChat, _showTimestamps2);
|
|
183425
|
+
__decorateElement(_init91, 4, "markdownWhileStreaming", _markdownWhileStreaming_dec4, _DeesHarnessChat, _markdownWhileStreaming4);
|
|
183351
183426
|
__decorateElement(_init91, 4, "disabled", _disabled_dec7, _DeesHarnessChat, _disabled7);
|
|
183352
183427
|
__decorateElement(_init91, 4, "busy", _busy_dec4, _DeesHarnessChat, _busy4);
|
|
183353
183428
|
__decorateElement(_init91, 4, "queuedCount", _queuedCount_dec2, _DeesHarnessChat, _queuedCount2);
|
|
183429
|
+
__decorateElement(_init91, 4, "steeringEnabled", _steeringEnabled_dec2, _DeesHarnessChat, _steeringEnabled2);
|
|
183354
183430
|
__decorateElement(_init91, 4, "composerValue", _composerValue_dec, _DeesHarnessChat, _composerValue);
|
|
183355
183431
|
__decorateElement(_init91, 4, "attachments", _attachments_dec2, _DeesHarnessChat, _attachments2);
|
|
183356
183432
|
__decorateElement(_init91, 4, "suggestions", _suggestions_dec3, _DeesHarnessChat, _suggestions3);
|
|
@@ -208035,7 +208111,7 @@ init_group_runtime();
|
|
|
208035
208111
|
// ts_web/00_commitinfo_data.ts
|
|
208036
208112
|
var commitinfo = {
|
|
208037
208113
|
name: "@design.estate/dees-catalog",
|
|
208038
|
-
version: "6.
|
|
208114
|
+
version: "6.11.0",
|
|
208039
208115
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
208040
208116
|
};
|
|
208041
208117
|
|