@design.estate/dees-catalog 6.10.1 → 6.10.2
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 +105 -75
- 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 +6 -3
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +27 -8
- 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-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/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.md +7 -5
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +14 -5
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts +15 -1
- 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/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,
|
|
@@ -175949,7 +175949,7 @@ var _DeesHarnessTodos = class _DeesHarnessTodos extends (_a78 = DeesElement, _to
|
|
|
175949
175949
|
(todo) => b2`
|
|
175950
175950
|
<div class="item ${todo.status}" role="listitem">
|
|
175951
175951
|
<span class="marker">
|
|
175952
|
-
${todo.status === "completed" ? b2`<dees-icon icon="lucide:Check" iconSize="10"></dees-icon>` : ""}
|
|
175952
|
+
${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
175953
|
</span>
|
|
175954
175954
|
<span class="content">${todo.content}</span>
|
|
175955
175955
|
</div>
|
|
@@ -176060,15 +176060,22 @@ __publicField(_DeesHarnessTodos, "styles", [
|
|
|
176060
176060
|
color: #fff;
|
|
176061
176061
|
}
|
|
176062
176062
|
|
|
176063
|
+
.item.cancelled .marker {
|
|
176064
|
+
background: var(--dees-color-fill-secondary);
|
|
176065
|
+
color: var(--dees-color-text-muted);
|
|
176066
|
+
}
|
|
176067
|
+
|
|
176063
176068
|
.item.in_progress .content {
|
|
176064
176069
|
font-weight: 600;
|
|
176065
176070
|
}
|
|
176066
176071
|
|
|
176067
|
-
.item.completed
|
|
176072
|
+
.item.completed,
|
|
176073
|
+
.item.cancelled {
|
|
176068
176074
|
opacity: 0.62;
|
|
176069
176075
|
}
|
|
176070
176076
|
|
|
176071
|
-
.item.completed .content
|
|
176077
|
+
.item.completed .content,
|
|
176078
|
+
.item.cancelled .content {
|
|
176072
176079
|
text-decoration: line-through;
|
|
176073
176080
|
text-decoration-color: var(--dees-color-text-muted);
|
|
176074
176081
|
}
|
|
@@ -176348,7 +176355,7 @@ var projectTaskOutputItems = /* @__PURE__ */ __name((output) => {
|
|
|
176348
176355
|
}, "projectTaskOutputItems");
|
|
176349
176356
|
var hasUnsupportedTodoStatus = /* @__PURE__ */ __name((items) => items.some((item) => {
|
|
176350
176357
|
if (!harnessIsRecord(item) || typeof item.status !== "string") return false;
|
|
176351
|
-
return item.status !== "pending" && item.status !== "in_progress" && item.status !== "completed";
|
|
176358
|
+
return item.status !== "pending" && item.status !== "in_progress" && item.status !== "completed" && item.status !== "cancelled";
|
|
176352
176359
|
}), "hasUnsupportedTodoStatus");
|
|
176353
176360
|
var renderProjectTask = /* @__PURE__ */ __name((call, helpers) => {
|
|
176354
176361
|
const output = outputText(call);
|
|
@@ -181085,12 +181092,12 @@ var demoFunc62 = /* @__PURE__ */ __name(() => b2`
|
|
|
181085
181092
|
init_dist_ts26();
|
|
181086
181093
|
init_theme();
|
|
181087
181094
|
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;
|
|
181095
|
+
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
181096
|
var toDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2, key: value2 })), "toDropdownOptions");
|
|
181090
181097
|
var toLabeledDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2.label, key: value2.value })), "toLabeledDropdownOptions");
|
|
181091
181098
|
var nextSuggestionListId = 0;
|
|
181092
181099
|
_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) {
|
|
181100
|
+
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
181101
|
constructor() {
|
|
181095
181102
|
super(...arguments);
|
|
181096
181103
|
__privateAdd(this, _value17, __runInitializers(_init88, 8, this, "")), __runInitializers(_init88, 11, this);
|
|
@@ -181099,25 +181106,26 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
181099
181106
|
__privateAdd(this, _disabled5, __runInitializers(_init88, 20, this, false)), __runInitializers(_init88, 23, this);
|
|
181100
181107
|
__privateAdd(this, _busy3, __runInitializers(_init88, 24, this, false)), __runInitializers(_init88, 27, this);
|
|
181101
181108
|
__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,
|
|
181109
|
+
__privateAdd(this, _steeringEnabled, __runInitializers(_init88, 32, this, true)), __runInitializers(_init88, 35, this);
|
|
181110
|
+
__privateAdd(this, _attachments, __runInitializers(_init88, 36, this, [])), __runInitializers(_init88, 39, this);
|
|
181111
|
+
__privateAdd(this, _suggestions2, __runInitializers(_init88, 40, this, [])), __runInitializers(_init88, 43, this);
|
|
181112
|
+
__privateAdd(this, _activeSuggestionIndex, __runInitializers(_init88, 44, this, -1)), __runInitializers(_init88, 47, this);
|
|
181113
|
+
__privateAdd(this, _suggestionsDismissed, __runInitializers(_init88, 48, this, false)), __runInitializers(_init88, 51, this);
|
|
181114
|
+
__privateAdd(this, _promptFocused, __runInitializers(_init88, 52, this, false)), __runInitializers(_init88, 55, this);
|
|
181107
181115
|
__publicField(this, "composing", false);
|
|
181108
181116
|
__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,
|
|
181117
|
+
__privateAdd(this, _maxAttachmentBytes, __runInitializers(_init88, 56, this, harnessMaxAttachmentBytes)), __runInitializers(_init88, 59, this);
|
|
181118
|
+
__privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init88, 60, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init88, 63, this);
|
|
181119
|
+
__privateAdd(this, _maxAttachmentCount, __runInitializers(_init88, 64, this, Number.POSITIVE_INFINITY)), __runInitializers(_init88, 67, this);
|
|
181120
|
+
__privateAdd(this, _account, __runInitializers(_init88, 68, this, "")), __runInitializers(_init88, 71, this);
|
|
181121
|
+
__privateAdd(this, _accountOptions, __runInitializers(_init88, 72, this, [])), __runInitializers(_init88, 75, this);
|
|
181122
|
+
__privateAdd(this, _model, __runInitializers(_init88, 76, this, "")), __runInitializers(_init88, 79, this);
|
|
181123
|
+
__privateAdd(this, _modelOptions, __runInitializers(_init88, 80, this, [])), __runInitializers(_init88, 83, this);
|
|
181124
|
+
__privateAdd(this, _reasoningEffort, __runInitializers(_init88, 84, this, "")), __runInitializers(_init88, 87, this);
|
|
181125
|
+
__privateAdd(this, _effortOptions, __runInitializers(_init88, 88, this, [])), __runInitializers(_init88, 91, this);
|
|
181126
|
+
__privateAdd(this, _mode2, __runInitializers(_init88, 92, this, "")), __runInitializers(_init88, 95, this);
|
|
181127
|
+
__privateAdd(this, _modeOptions, __runInitializers(_init88, 96, this, [])), __runInitializers(_init88, 99, this);
|
|
181128
|
+
__privateAdd(this, _showModelControls, __runInitializers(_init88, 100, this, true)), __runInitializers(_init88, 103, this);
|
|
181121
181129
|
// ------------------------------------------------------------------ input
|
|
181122
181130
|
__publicField(this, "handleTextInput", /* @__PURE__ */ __name((event) => {
|
|
181123
181131
|
this.value = event.currentTarget.value;
|
|
@@ -181329,12 +181337,13 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
181329
181337
|
</div>
|
|
181330
181338
|
` : ""}
|
|
181331
181339
|
<span class="spacer"></span>
|
|
181340
|
+
${this.busy && this.queuedCount > 0 ? b2`<span class="queuedStatus" aria-live="polite">${this.queuedCount} queued</span>` : ""}
|
|
181332
181341
|
${this.busy ? b2`
|
|
181333
181342
|
<dees-button type="destructive" size="sm" @clicked=${() => this.emit("harness-abort", {})}>
|
|
181334
181343
|
Stop
|
|
181335
181344
|
</dees-button>
|
|
181336
181345
|
` : ""}
|
|
181337
|
-
${this.busy && !this.value.trim() && this.queuedCount > 0 ? b2`
|
|
181346
|
+
${this.busy && this.steeringEnabled && !this.value.trim() && this.queuedCount > 0 ? b2`
|
|
181338
181347
|
<dees-button type="accent" size="sm" @clicked=${() => this.emit("harness-steer", { queuedCount: this.queuedCount })}>
|
|
181339
181348
|
Steer now
|
|
181340
181349
|
</dees-button>
|
|
@@ -181560,6 +181569,7 @@ _docked = new WeakMap();
|
|
|
181560
181569
|
_disabled5 = new WeakMap();
|
|
181561
181570
|
_busy3 = new WeakMap();
|
|
181562
181571
|
_queuedCount = new WeakMap();
|
|
181572
|
+
_steeringEnabled = new WeakMap();
|
|
181563
181573
|
_attachments = new WeakMap();
|
|
181564
181574
|
_suggestions2 = new WeakMap();
|
|
181565
181575
|
_activeSuggestionIndex = new WeakMap();
|
|
@@ -181583,6 +181593,7 @@ __decorateElement(_init88, 4, "docked", _docked_dec, _DeesHarnessComposer, _dock
|
|
|
181583
181593
|
__decorateElement(_init88, 4, "disabled", _disabled_dec5, _DeesHarnessComposer, _disabled5);
|
|
181584
181594
|
__decorateElement(_init88, 4, "busy", _busy_dec3, _DeesHarnessComposer, _busy3);
|
|
181585
181595
|
__decorateElement(_init88, 4, "queuedCount", _queuedCount_dec, _DeesHarnessComposer, _queuedCount);
|
|
181596
|
+
__decorateElement(_init88, 4, "steeringEnabled", _steeringEnabled_dec, _DeesHarnessComposer, _steeringEnabled);
|
|
181586
181597
|
__decorateElement(_init88, 4, "attachments", _attachments_dec, _DeesHarnessComposer, _attachments);
|
|
181587
181598
|
__decorateElement(_init88, 4, "suggestions", _suggestions_dec2, _DeesHarnessComposer, _suggestions2);
|
|
181588
181599
|
__decorateElement(_init88, 4, "activeSuggestionIndex", _activeSuggestionIndex_dec, _DeesHarnessComposer, _activeSuggestionIndex);
|
|
@@ -181873,6 +181884,13 @@ __publicField(_DeesHarnessComposer, "styles", [
|
|
|
181873
181884
|
flex: 1;
|
|
181874
181885
|
}
|
|
181875
181886
|
|
|
181887
|
+
.queuedStatus {
|
|
181888
|
+
flex: 0 0 auto;
|
|
181889
|
+
color: var(--dees-color-text-muted);
|
|
181890
|
+
font-size: var(--dees-font-caption1-size, 11px);
|
|
181891
|
+
font-variant-numeric: tabular-nums;
|
|
181892
|
+
}
|
|
181893
|
+
|
|
181876
181894
|
@container (max-width: 760px) {
|
|
181877
181895
|
.controlsRow {
|
|
181878
181896
|
flex-wrap: wrap;
|
|
@@ -181957,11 +181975,11 @@ var demoFunc63 = /* @__PURE__ */ __name(() => b2`
|
|
|
181957
181975
|
init_dist_ts26();
|
|
181958
181976
|
init_theme();
|
|
181959
181977
|
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;
|
|
181978
|
+
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
181979
|
var { repeat: repeat5 } = directives_exports;
|
|
181962
181980
|
var formatTokenCount = /* @__PURE__ */ __name((valueArg) => valueArg.toLocaleString("en-US"), "formatTokenCount");
|
|
181963
181981
|
_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) {
|
|
181982
|
+
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
181983
|
constructor() {
|
|
181966
181984
|
super(...arguments);
|
|
181967
181985
|
__privateAdd(this, _todos2, __runInitializers(_init89, 8, this, [])), __runInitializers(_init89, 11, this);
|
|
@@ -181976,13 +181994,14 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88
|
|
|
181976
181994
|
__privateAdd(this, _intelligenceExchanges, __runInitializers(_init89, 44, this, [])), __runInitializers(_init89, 47, this);
|
|
181977
181995
|
__privateAdd(this, _intelligenceBusy, __runInitializers(_init89, 48, this, false)), __runInitializers(_init89, 51, this);
|
|
181978
181996
|
__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,
|
|
181997
|
+
__privateAdd(this, _sessionKey, __runInitializers(_init89, 56, this, "")), __runInitializers(_init89, 59, this);
|
|
181998
|
+
__privateAdd(this, _disabled6, __runInitializers(_init89, 60, this, false)), __runInitializers(_init89, 63, this);
|
|
181999
|
+
__privateAdd(this, _scratchpadDraft, __runInitializers(_init89, 64, this, "")), __runInitializers(_init89, 67, this);
|
|
182000
|
+
__privateAdd(this, _scratchpadDraftRevision, __runInitializers(_init89, 68, this, 0)), __runInitializers(_init89, 71, this);
|
|
182001
|
+
__privateAdd(this, _scratchpadDirty, __runInitializers(_init89, 72, this, false)), __runInitializers(_init89, 75, this);
|
|
182002
|
+
__privateAdd(this, _scratchpadStale, __runInitializers(_init89, 76, this, false)), __runInitializers(_init89, 79, this);
|
|
182003
|
+
__privateAdd(this, _intelligenceQuestion, __runInitializers(_init89, 80, this, "")), __runInitializers(_init89, 83, this);
|
|
182004
|
+
__privateAdd(this, _expandedSection, __runInitializers(_init89, 84, this)), __runInitializers(_init89, 87, this);
|
|
181986
182005
|
__publicField(this, "sectionStateInitialized", false);
|
|
181987
182006
|
__publicField(this, "discardScratchpadDraft", /* @__PURE__ */ __name(() => {
|
|
181988
182007
|
if (this.scratchpad) this.acceptScratchpad(this.scratchpad);
|
|
@@ -182025,6 +182044,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88
|
|
|
182025
182044
|
} else if (this.expandedSection !== void 0 && !availableSections.includes(this.expandedSection)) {
|
|
182026
182045
|
this.expandedSection = this.defaultExpandedSection;
|
|
182027
182046
|
}
|
|
182047
|
+
if (changedPropertiesArg.has("sessionKey")) this.intelligenceQuestion = "";
|
|
182028
182048
|
if (!changedPropertiesArg.has("scratchpad")) return;
|
|
182029
182049
|
const next2 = this.scratchpad;
|
|
182030
182050
|
if (!next2) {
|
|
@@ -182365,6 +182385,7 @@ _intelligenceEnabled = new WeakMap();
|
|
|
182365
182385
|
_intelligenceExchanges = new WeakMap();
|
|
182366
182386
|
_intelligenceBusy = new WeakMap();
|
|
182367
182387
|
_intelligenceError = new WeakMap();
|
|
182388
|
+
_sessionKey = new WeakMap();
|
|
182368
182389
|
_disabled6 = new WeakMap();
|
|
182369
182390
|
_scratchpadDraft = new WeakMap();
|
|
182370
182391
|
_scratchpadDraftRevision = new WeakMap();
|
|
@@ -182384,6 +182405,7 @@ __decorateElement(_init89, 4, "intelligenceEnabled", _intelligenceEnabled_dec, _
|
|
|
182384
182405
|
__decorateElement(_init89, 4, "intelligenceExchanges", _intelligenceExchanges_dec, _DeesHarnessSessionSidebar, _intelligenceExchanges);
|
|
182385
182406
|
__decorateElement(_init89, 4, "intelligenceBusy", _intelligenceBusy_dec, _DeesHarnessSessionSidebar, _intelligenceBusy);
|
|
182386
182407
|
__decorateElement(_init89, 4, "intelligenceError", _intelligenceError_dec, _DeesHarnessSessionSidebar, _intelligenceError);
|
|
182408
|
+
__decorateElement(_init89, 4, "sessionKey", _sessionKey_dec, _DeesHarnessSessionSidebar, _sessionKey);
|
|
182387
182409
|
__decorateElement(_init89, 4, "disabled", _disabled_dec6, _DeesHarnessSessionSidebar, _disabled6);
|
|
182388
182410
|
__decorateElement(_init89, 4, "scratchpadDraft", _scratchpadDraft_dec, _DeesHarnessSessionSidebar, _scratchpadDraft);
|
|
182389
182411
|
__decorateElement(_init89, 4, "scratchpadDraftRevision", _scratchpadDraftRevision_dec, _DeesHarnessSessionSidebar, _scratchpadDraftRevision);
|
|
@@ -182971,9 +182993,9 @@ var DeesHarnessUsage = _DeesHarnessUsage;
|
|
|
182971
182993
|
init_dist_ts26();
|
|
182972
182994
|
init_theme();
|
|
182973
182995
|
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;
|
|
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;
|
|
182975
182997
|
_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) {
|
|
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) {
|
|
182977
182999
|
constructor() {
|
|
182978
183000
|
super(...arguments);
|
|
182979
183001
|
__privateAdd(this, _messages2, __runInitializers(_init91, 8, this, [])), __runInitializers(_init91, 11, this);
|
|
@@ -182985,43 +183007,45 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
182985
183007
|
__privateAdd(this, _loadingEarlier2, __runInitializers(_init91, 32, this, false)), __runInitializers(_init91, 35, this);
|
|
182986
183008
|
__privateAdd(this, _usage2, __runInitializers(_init91, 36, this, {})), __runInitializers(_init91, 39, this);
|
|
182987
183009
|
__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,
|
|
183010
|
+
__privateAdd(this, _todosAuthoritative, __runInitializers(_init91, 44, this, false)), __runInitializers(_init91, 47, this);
|
|
183011
|
+
__privateAdd(this, _showTodosPanel, __runInitializers(_init91, 48, this, true)), __runInitializers(_init91, 51, this);
|
|
183012
|
+
__privateAdd(this, _showSessionSidebar, __runInitializers(_init91, 52, this, true)), __runInitializers(_init91, 55, this);
|
|
183013
|
+
__privateAdd(this, _sessionMetrics, __runInitializers(_init91, 56, this, {})), __runInitializers(_init91, 59, this);
|
|
183014
|
+
__privateAdd(this, _scratchpad2, __runInitializers(_init91, 60, this)), __runInitializers(_init91, 63, this);
|
|
183015
|
+
__privateAdd(this, _scratchpadBusy2, __runInitializers(_init91, 64, this, false)), __runInitializers(_init91, 67, this);
|
|
183016
|
+
__privateAdd(this, _scratchpadError2, __runInitializers(_init91, 68, this, "")), __runInitializers(_init91, 71, this);
|
|
183017
|
+
__privateAdd(this, _sessionIntelligenceEnabled, __runInitializers(_init91, 72, this, false)), __runInitializers(_init91, 75, this);
|
|
183018
|
+
__privateAdd(this, _intelligenceExchanges2, __runInitializers(_init91, 76, this, [])), __runInitializers(_init91, 79, this);
|
|
183019
|
+
__privateAdd(this, _intelligenceBusy2, __runInitializers(_init91, 80, this, false)), __runInitializers(_init91, 83, this);
|
|
183020
|
+
__privateAdd(this, _intelligenceError2, __runInitializers(_init91, 84, this, "")), __runInitializers(_init91, 87, this);
|
|
183021
|
+
__privateAdd(this, _sessionSidebarOpen, __runInitializers(_init91, 88, this, false)), __runInitializers(_init91, 91, this);
|
|
183022
|
+
__privateAdd(this, _desktopSessionSidebarVisible, __runInitializers(_init91, 92, this, true)), __runInitializers(_init91, 95, this);
|
|
183023
|
+
__privateAdd(this, _narrowSessionLayout, __runInitializers(_init91, 96, this, false)), __runInitializers(_init91, 99, this);
|
|
183001
183024
|
__publicField(this, "sessionLayoutResizeObserver");
|
|
183002
|
-
__privateAdd(this, _heading6, __runInitializers(_init91,
|
|
183003
|
-
__privateAdd(this, _subheading, __runInitializers(_init91,
|
|
183004
|
-
__privateAdd(this, _showToolbar, __runInitializers(_init91,
|
|
183005
|
-
__privateAdd(this, _showRoles2, __runInitializers(_init91,
|
|
183006
|
-
__privateAdd(this, _showTimestamps2, __runInitializers(_init91,
|
|
183007
|
-
__privateAdd(this, _disabled7, __runInitializers(_init91,
|
|
183008
|
-
__privateAdd(this, _busy4, __runInitializers(_init91,
|
|
183009
|
-
__privateAdd(this, _queuedCount2, __runInitializers(_init91,
|
|
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,
|
|
183025
|
+
__privateAdd(this, _heading6, __runInitializers(_init91, 100, this, "")), __runInitializers(_init91, 103, this);
|
|
183026
|
+
__privateAdd(this, _subheading, __runInitializers(_init91, 104, this, "")), __runInitializers(_init91, 107, this);
|
|
183027
|
+
__privateAdd(this, _showToolbar, __runInitializers(_init91, 108, this, true)), __runInitializers(_init91, 111, this);
|
|
183028
|
+
__privateAdd(this, _showRoles2, __runInitializers(_init91, 112, this, true)), __runInitializers(_init91, 115, this);
|
|
183029
|
+
__privateAdd(this, _showTimestamps2, __runInitializers(_init91, 116, this, true)), __runInitializers(_init91, 119, this);
|
|
183030
|
+
__privateAdd(this, _disabled7, __runInitializers(_init91, 120, this, false)), __runInitializers(_init91, 123, this);
|
|
183031
|
+
__privateAdd(this, _busy4, __runInitializers(_init91, 124, this, false)), __runInitializers(_init91, 127, this);
|
|
183032
|
+
__privateAdd(this, _queuedCount2, __runInitializers(_init91, 128, this, 0)), __runInitializers(_init91, 131, this);
|
|
183033
|
+
__privateAdd(this, _steeringEnabled2, __runInitializers(_init91, 132, this, true)), __runInitializers(_init91, 135, this);
|
|
183034
|
+
__privateAdd(this, _composerValue, __runInitializers(_init91, 136, this, "")), __runInitializers(_init91, 139, this);
|
|
183035
|
+
__privateAdd(this, _attachments2, __runInitializers(_init91, 140, this, [])), __runInitializers(_init91, 143, this);
|
|
183036
|
+
__privateAdd(this, _suggestions3, __runInitializers(_init91, 144, this, [])), __runInitializers(_init91, 147, this);
|
|
183037
|
+
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init91, 148, this, Number.POSITIVE_INFINITY)), __runInitializers(_init91, 151, this);
|
|
183038
|
+
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init91, 152, this, harnessMaxAttachmentBytes)), __runInitializers(_init91, 155, this);
|
|
183039
|
+
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init91, 156, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init91, 159, this);
|
|
183040
|
+
__privateAdd(this, _account2, __runInitializers(_init91, 160, this, "")), __runInitializers(_init91, 163, this);
|
|
183041
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init91, 164, this, [])), __runInitializers(_init91, 167, this);
|
|
183042
|
+
__privateAdd(this, _model2, __runInitializers(_init91, 168, this, "")), __runInitializers(_init91, 171, this);
|
|
183043
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init91, 172, this, [])), __runInitializers(_init91, 175, this);
|
|
183044
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init91, 176, this, "")), __runInitializers(_init91, 179, this);
|
|
183045
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init91, 180, this, [])), __runInitializers(_init91, 183, this);
|
|
183046
|
+
__privateAdd(this, _mode3, __runInitializers(_init91, 184, this, "")), __runInitializers(_init91, 187, this);
|
|
183047
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init91, 188, this, [])), __runInitializers(_init91, 191, this);
|
|
183048
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init91, 192, this, DeesHarnessToolRegistry.default)), __runInitializers(_init91, 195, this);
|
|
183025
183049
|
__publicField(this, "toggleSessionSidebar", /* @__PURE__ */ __name(() => {
|
|
183026
183050
|
if (!this.narrowSessionLayout) {
|
|
183027
183051
|
this.desktopSessionSidebarVisible = !this.desktopSessionSidebarVisible;
|
|
@@ -183075,7 +183099,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183075
183099
|
this.sessionSidebarOpen = false;
|
|
183076
183100
|
}
|
|
183077
183101
|
get effectiveTodos() {
|
|
183078
|
-
if (this.todos.length) return this.todos;
|
|
183102
|
+
if (this.todosAuthoritative || this.todos.length) return this.todos;
|
|
183079
183103
|
for (let index3 = this.messages.length - 1; index3 >= 0; index3--) {
|
|
183080
183104
|
const call = this.messages[index3]?.toolCall;
|
|
183081
183105
|
if (!call) continue;
|
|
@@ -183090,7 +183114,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183090
183114
|
}
|
|
183091
183115
|
get hasSessionSidebar() {
|
|
183092
183116
|
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;
|
|
183117
|
+
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
183118
|
}
|
|
183095
183119
|
get listElement() {
|
|
183096
183120
|
const element4 = this.shadowRoot?.querySelector("dees-harness-message-list");
|
|
@@ -183200,6 +183224,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183200
183224
|
.intelligenceExchanges=${this.intelligenceExchanges}
|
|
183201
183225
|
.intelligenceBusy=${this.intelligenceBusy}
|
|
183202
183226
|
.intelligenceError=${this.intelligenceError}
|
|
183227
|
+
.sessionKey=${this.transcriptKey}
|
|
183203
183228
|
.disabled=${this.disabled}
|
|
183204
183229
|
></dees-harness-session-sidebar>
|
|
183205
183230
|
</aside>
|
|
@@ -183217,6 +183242,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183217
183242
|
.disabled=${this.disabled}
|
|
183218
183243
|
.busy=${this.busy || this.status.type === "busy"}
|
|
183219
183244
|
.queuedCount=${this.queuedCount}
|
|
183245
|
+
.steeringEnabled=${this.steeringEnabled}
|
|
183220
183246
|
.account=${this.account}
|
|
183221
183247
|
.accountOptions=${this.accountOptions}
|
|
183222
183248
|
.model=${this.model}
|
|
@@ -183285,6 +183311,7 @@ _hasEarlierMessages2 = new WeakMap();
|
|
|
183285
183311
|
_loadingEarlier2 = new WeakMap();
|
|
183286
183312
|
_usage2 = new WeakMap();
|
|
183287
183313
|
_todos3 = new WeakMap();
|
|
183314
|
+
_todosAuthoritative = new WeakMap();
|
|
183288
183315
|
_showTodosPanel = new WeakMap();
|
|
183289
183316
|
_showSessionSidebar = new WeakMap();
|
|
183290
183317
|
_sessionMetrics = new WeakMap();
|
|
@@ -183306,6 +183333,7 @@ _showTimestamps2 = new WeakMap();
|
|
|
183306
183333
|
_disabled7 = new WeakMap();
|
|
183307
183334
|
_busy4 = new WeakMap();
|
|
183308
183335
|
_queuedCount2 = new WeakMap();
|
|
183336
|
+
_steeringEnabled2 = new WeakMap();
|
|
183309
183337
|
_composerValue = new WeakMap();
|
|
183310
183338
|
_attachments2 = new WeakMap();
|
|
183311
183339
|
_suggestions3 = new WeakMap();
|
|
@@ -183330,6 +183358,7 @@ __decorateElement(_init91, 4, "hasEarlierMessages", _hasEarlierMessages_dec2, _D
|
|
|
183330
183358
|
__decorateElement(_init91, 4, "loadingEarlier", _loadingEarlier_dec2, _DeesHarnessChat, _loadingEarlier2);
|
|
183331
183359
|
__decorateElement(_init91, 4, "usage", _usage_dec2, _DeesHarnessChat, _usage2);
|
|
183332
183360
|
__decorateElement(_init91, 4, "todos", _todos_dec3, _DeesHarnessChat, _todos3);
|
|
183361
|
+
__decorateElement(_init91, 4, "todosAuthoritative", _todosAuthoritative_dec, _DeesHarnessChat, _todosAuthoritative);
|
|
183333
183362
|
__decorateElement(_init91, 4, "showTodosPanel", _showTodosPanel_dec, _DeesHarnessChat, _showTodosPanel);
|
|
183334
183363
|
__decorateElement(_init91, 4, "showSessionSidebar", _showSessionSidebar_dec, _DeesHarnessChat, _showSessionSidebar);
|
|
183335
183364
|
__decorateElement(_init91, 4, "sessionMetrics", _sessionMetrics_dec, _DeesHarnessChat, _sessionMetrics);
|
|
@@ -183351,6 +183380,7 @@ __decorateElement(_init91, 4, "showTimestamps", _showTimestamps_dec2, _DeesHarne
|
|
|
183351
183380
|
__decorateElement(_init91, 4, "disabled", _disabled_dec7, _DeesHarnessChat, _disabled7);
|
|
183352
183381
|
__decorateElement(_init91, 4, "busy", _busy_dec4, _DeesHarnessChat, _busy4);
|
|
183353
183382
|
__decorateElement(_init91, 4, "queuedCount", _queuedCount_dec2, _DeesHarnessChat, _queuedCount2);
|
|
183383
|
+
__decorateElement(_init91, 4, "steeringEnabled", _steeringEnabled_dec2, _DeesHarnessChat, _steeringEnabled2);
|
|
183354
183384
|
__decorateElement(_init91, 4, "composerValue", _composerValue_dec, _DeesHarnessChat, _composerValue);
|
|
183355
183385
|
__decorateElement(_init91, 4, "attachments", _attachments_dec2, _DeesHarnessChat, _attachments2);
|
|
183356
183386
|
__decorateElement(_init91, 4, "suggestions", _suggestions_dec3, _DeesHarnessChat, _suggestions3);
|
|
@@ -208035,7 +208065,7 @@ init_group_runtime();
|
|
|
208035
208065
|
// ts_web/00_commitinfo_data.ts
|
|
208036
208066
|
var commitinfo = {
|
|
208037
208067
|
name: "@design.estate/dees-catalog",
|
|
208038
|
-
version: "6.10.
|
|
208068
|
+
version: "6.10.2",
|
|
208039
208069
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
208040
208070
|
};
|
|
208041
208071
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '6.10.
|
|
6
|
+
version: '6.10.2',
|
|
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
|
|
@@ -31,11 +31,12 @@ export declare class DeesHarnessChat extends DeesElement {
|
|
|
31
31
|
accessor loadingEarlier: boolean;
|
|
32
32
|
accessor usage: IHarnessUsage;
|
|
33
33
|
/**
|
|
34
|
-
* Current task list for the side panel.
|
|
35
|
-
* from the newest todo tool call in `messages
|
|
36
|
-
* hosts that stream todowrite calls get the sidebar for free.
|
|
34
|
+
* Current task list for the side panel. Unless todosAuthoritative is true,
|
|
35
|
+
* an empty list derives from the newest todo tool call in `messages`.
|
|
37
36
|
*/
|
|
38
37
|
accessor todos: IHarnessTodoItem[];
|
|
38
|
+
/** Treat an empty host-provided task list as authoritative instead of deriving transcript tasks. */
|
|
39
|
+
accessor todosAuthoritative: boolean;
|
|
39
40
|
accessor showTodosPanel: boolean;
|
|
40
41
|
accessor showSessionSidebar: boolean;
|
|
41
42
|
accessor sessionMetrics: IHarnessSessionMetrics;
|
|
@@ -59,6 +60,8 @@ export declare class DeesHarnessChat extends DeesElement {
|
|
|
59
60
|
accessor busy: boolean;
|
|
60
61
|
/** queued-message count while busy; enables the composer's "Steer now" */
|
|
61
62
|
accessor queuedCount: number;
|
|
63
|
+
/** Whether the host implements the optional harness-steer action. */
|
|
64
|
+
accessor steeringEnabled: boolean;
|
|
62
65
|
accessor composerValue: string;
|
|
63
66
|
accessor attachments: IHarnessAttachment[];
|
|
64
67
|
accessor suggestions: IHarnessComposerSuggestion[];
|