@design.estate/dees-catalog 6.10.0 → 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 +113 -76
- 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/dist_ts_web/elements/00group-harness/toolregistry.js +11 -2
- 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/ts_web/elements/00group-harness/toolregistry.ts +10 -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,
|
|
@@ -173396,6 +173396,12 @@ var inputAny = /* @__PURE__ */ __name((call, key2) => {
|
|
|
173396
173396
|
return harnessIsRecord(call.input) ? call.input[key2] : void 0;
|
|
173397
173397
|
}, "inputAny");
|
|
173398
173398
|
var filePathOf = /* @__PURE__ */ __name((call) => inputField(call, "path") || inputField(call, "filePath") || inputField(call, "file"), "filePathOf");
|
|
173399
|
+
var projectTaskActions = /* @__PURE__ */ new Set(["list", "create", "update", "delete", "clear"]);
|
|
173400
|
+
var taskCallKind = /* @__PURE__ */ __name((call) => {
|
|
173401
|
+
if (String(call.name || "").toLowerCase() !== "task") return void 0;
|
|
173402
|
+
if (call.childSessionId || call.subtask) return "subtask";
|
|
173403
|
+
return projectTaskActions.has(inputField(call, "action")) ? "project-task" : "subtask";
|
|
173404
|
+
}, "taskCallKind");
|
|
173399
173405
|
var defaultDescriptors = [
|
|
173400
173406
|
{
|
|
173401
173407
|
kind: "terminal",
|
|
@@ -173497,6 +173503,7 @@ var defaultDescriptors = [
|
|
|
173497
173503
|
{
|
|
173498
173504
|
kind: "subtask",
|
|
173499
173505
|
names: ["delegate", "subagent"],
|
|
173506
|
+
match: /* @__PURE__ */ __name((call) => taskCallKind(call) === "subtask", "match"),
|
|
173500
173507
|
label: "Subagent",
|
|
173501
173508
|
icon: "lucide:Bot",
|
|
173502
173509
|
// The child's model belongs in the collapsed header: a subagent often
|
|
@@ -173518,7 +173525,7 @@ var defaultDescriptors = [
|
|
|
173518
173525
|
},
|
|
173519
173526
|
{
|
|
173520
173527
|
kind: "project-task",
|
|
173521
|
-
|
|
173528
|
+
match: /* @__PURE__ */ __name((call) => taskCallKind(call) === "project-task", "match"),
|
|
173522
173529
|
label: "Project task",
|
|
173523
173530
|
icon: "lucide:ListChecks",
|
|
173524
173531
|
subtitle: /* @__PURE__ */ __name((call) => {
|
|
@@ -175942,7 +175949,7 @@ var _DeesHarnessTodos = class _DeesHarnessTodos extends (_a78 = DeesElement, _to
|
|
|
175942
175949
|
(todo) => b2`
|
|
175943
175950
|
<div class="item ${todo.status}" role="listitem">
|
|
175944
175951
|
<span class="marker">
|
|
175945
|
-
${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>` : ""}
|
|
175946
175953
|
</span>
|
|
175947
175954
|
<span class="content">${todo.content}</span>
|
|
175948
175955
|
</div>
|
|
@@ -176053,15 +176060,22 @@ __publicField(_DeesHarnessTodos, "styles", [
|
|
|
176053
176060
|
color: #fff;
|
|
176054
176061
|
}
|
|
176055
176062
|
|
|
176063
|
+
.item.cancelled .marker {
|
|
176064
|
+
background: var(--dees-color-fill-secondary);
|
|
176065
|
+
color: var(--dees-color-text-muted);
|
|
176066
|
+
}
|
|
176067
|
+
|
|
176056
176068
|
.item.in_progress .content {
|
|
176057
176069
|
font-weight: 600;
|
|
176058
176070
|
}
|
|
176059
176071
|
|
|
176060
|
-
.item.completed
|
|
176072
|
+
.item.completed,
|
|
176073
|
+
.item.cancelled {
|
|
176061
176074
|
opacity: 0.62;
|
|
176062
176075
|
}
|
|
176063
176076
|
|
|
176064
|
-
.item.completed .content
|
|
176077
|
+
.item.completed .content,
|
|
176078
|
+
.item.cancelled .content {
|
|
176065
176079
|
text-decoration: line-through;
|
|
176066
176080
|
text-decoration-color: var(--dees-color-text-muted);
|
|
176067
176081
|
}
|
|
@@ -176341,7 +176355,7 @@ var projectTaskOutputItems = /* @__PURE__ */ __name((output) => {
|
|
|
176341
176355
|
}, "projectTaskOutputItems");
|
|
176342
176356
|
var hasUnsupportedTodoStatus = /* @__PURE__ */ __name((items) => items.some((item) => {
|
|
176343
176357
|
if (!harnessIsRecord(item) || typeof item.status !== "string") return false;
|
|
176344
|
-
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";
|
|
176345
176359
|
}), "hasUnsupportedTodoStatus");
|
|
176346
176360
|
var renderProjectTask = /* @__PURE__ */ __name((call, helpers) => {
|
|
176347
176361
|
const output = outputText(call);
|
|
@@ -181078,12 +181092,12 @@ var demoFunc62 = /* @__PURE__ */ __name(() => b2`
|
|
|
181078
181092
|
init_dist_ts26();
|
|
181079
181093
|
init_theme();
|
|
181080
181094
|
init_dees_icon();
|
|
181081
|
-
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;
|
|
181082
181096
|
var toDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2, key: value2 })), "toDropdownOptions");
|
|
181083
181097
|
var toLabeledDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2.label, key: value2.value })), "toLabeledDropdownOptions");
|
|
181084
181098
|
var nextSuggestionListId = 0;
|
|
181085
181099
|
_DeesHarnessComposer_decorators = [customElement("dees-harness-composer")];
|
|
181086
|
-
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) {
|
|
181087
181101
|
constructor() {
|
|
181088
181102
|
super(...arguments);
|
|
181089
181103
|
__privateAdd(this, _value17, __runInitializers(_init88, 8, this, "")), __runInitializers(_init88, 11, this);
|
|
@@ -181092,25 +181106,26 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
181092
181106
|
__privateAdd(this, _disabled5, __runInitializers(_init88, 20, this, false)), __runInitializers(_init88, 23, this);
|
|
181093
181107
|
__privateAdd(this, _busy3, __runInitializers(_init88, 24, this, false)), __runInitializers(_init88, 27, this);
|
|
181094
181108
|
__privateAdd(this, _queuedCount, __runInitializers(_init88, 28, this, 0)), __runInitializers(_init88, 31, this);
|
|
181095
|
-
__privateAdd(this,
|
|
181096
|
-
__privateAdd(this,
|
|
181097
|
-
__privateAdd(this,
|
|
181098
|
-
__privateAdd(this,
|
|
181099
|
-
__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);
|
|
181100
181115
|
__publicField(this, "composing", false);
|
|
181101
181116
|
__publicField(this, "suggestionListId", `dees-harness-composer-suggestions-${++nextSuggestionListId}`);
|
|
181102
|
-
__privateAdd(this, _maxAttachmentBytes, __runInitializers(_init88,
|
|
181103
|
-
__privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init88,
|
|
181104
|
-
__privateAdd(this, _maxAttachmentCount, __runInitializers(_init88,
|
|
181105
|
-
__privateAdd(this, _account, __runInitializers(_init88,
|
|
181106
|
-
__privateAdd(this, _accountOptions, __runInitializers(_init88,
|
|
181107
|
-
__privateAdd(this, _model, __runInitializers(_init88,
|
|
181108
|
-
__privateAdd(this, _modelOptions, __runInitializers(_init88,
|
|
181109
|
-
__privateAdd(this, _reasoningEffort, __runInitializers(_init88,
|
|
181110
|
-
__privateAdd(this, _effortOptions, __runInitializers(_init88,
|
|
181111
|
-
__privateAdd(this, _mode2, __runInitializers(_init88,
|
|
181112
|
-
__privateAdd(this, _modeOptions, __runInitializers(_init88,
|
|
181113
|
-
__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);
|
|
181114
181129
|
// ------------------------------------------------------------------ input
|
|
181115
181130
|
__publicField(this, "handleTextInput", /* @__PURE__ */ __name((event) => {
|
|
181116
181131
|
this.value = event.currentTarget.value;
|
|
@@ -181322,12 +181337,13 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
181322
181337
|
</div>
|
|
181323
181338
|
` : ""}
|
|
181324
181339
|
<span class="spacer"></span>
|
|
181340
|
+
${this.busy && this.queuedCount > 0 ? b2`<span class="queuedStatus" aria-live="polite">${this.queuedCount} queued</span>` : ""}
|
|
181325
181341
|
${this.busy ? b2`
|
|
181326
181342
|
<dees-button type="destructive" size="sm" @clicked=${() => this.emit("harness-abort", {})}>
|
|
181327
181343
|
Stop
|
|
181328
181344
|
</dees-button>
|
|
181329
181345
|
` : ""}
|
|
181330
|
-
${this.busy && !this.value.trim() && this.queuedCount > 0 ? b2`
|
|
181346
|
+
${this.busy && this.steeringEnabled && !this.value.trim() && this.queuedCount > 0 ? b2`
|
|
181331
181347
|
<dees-button type="accent" size="sm" @clicked=${() => this.emit("harness-steer", { queuedCount: this.queuedCount })}>
|
|
181332
181348
|
Steer now
|
|
181333
181349
|
</dees-button>
|
|
@@ -181553,6 +181569,7 @@ _docked = new WeakMap();
|
|
|
181553
181569
|
_disabled5 = new WeakMap();
|
|
181554
181570
|
_busy3 = new WeakMap();
|
|
181555
181571
|
_queuedCount = new WeakMap();
|
|
181572
|
+
_steeringEnabled = new WeakMap();
|
|
181556
181573
|
_attachments = new WeakMap();
|
|
181557
181574
|
_suggestions2 = new WeakMap();
|
|
181558
181575
|
_activeSuggestionIndex = new WeakMap();
|
|
@@ -181576,6 +181593,7 @@ __decorateElement(_init88, 4, "docked", _docked_dec, _DeesHarnessComposer, _dock
|
|
|
181576
181593
|
__decorateElement(_init88, 4, "disabled", _disabled_dec5, _DeesHarnessComposer, _disabled5);
|
|
181577
181594
|
__decorateElement(_init88, 4, "busy", _busy_dec3, _DeesHarnessComposer, _busy3);
|
|
181578
181595
|
__decorateElement(_init88, 4, "queuedCount", _queuedCount_dec, _DeesHarnessComposer, _queuedCount);
|
|
181596
|
+
__decorateElement(_init88, 4, "steeringEnabled", _steeringEnabled_dec, _DeesHarnessComposer, _steeringEnabled);
|
|
181579
181597
|
__decorateElement(_init88, 4, "attachments", _attachments_dec, _DeesHarnessComposer, _attachments);
|
|
181580
181598
|
__decorateElement(_init88, 4, "suggestions", _suggestions_dec2, _DeesHarnessComposer, _suggestions2);
|
|
181581
181599
|
__decorateElement(_init88, 4, "activeSuggestionIndex", _activeSuggestionIndex_dec, _DeesHarnessComposer, _activeSuggestionIndex);
|
|
@@ -181866,6 +181884,13 @@ __publicField(_DeesHarnessComposer, "styles", [
|
|
|
181866
181884
|
flex: 1;
|
|
181867
181885
|
}
|
|
181868
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
|
+
|
|
181869
181894
|
@container (max-width: 760px) {
|
|
181870
181895
|
.controlsRow {
|
|
181871
181896
|
flex-wrap: wrap;
|
|
@@ -181950,11 +181975,11 @@ var demoFunc63 = /* @__PURE__ */ __name(() => b2`
|
|
|
181950
181975
|
init_dist_ts26();
|
|
181951
181976
|
init_theme();
|
|
181952
181977
|
init_dees_icon();
|
|
181953
|
-
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;
|
|
181954
181979
|
var { repeat: repeat5 } = directives_exports;
|
|
181955
181980
|
var formatTokenCount = /* @__PURE__ */ __name((valueArg) => valueArg.toLocaleString("en-US"), "formatTokenCount");
|
|
181956
181981
|
_DeesHarnessSessionSidebar_decorators = [customElement("dees-harness-session-sidebar")];
|
|
181957
|
-
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) {
|
|
181958
181983
|
constructor() {
|
|
181959
181984
|
super(...arguments);
|
|
181960
181985
|
__privateAdd(this, _todos2, __runInitializers(_init89, 8, this, [])), __runInitializers(_init89, 11, this);
|
|
@@ -181969,13 +181994,14 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88
|
|
|
181969
181994
|
__privateAdd(this, _intelligenceExchanges, __runInitializers(_init89, 44, this, [])), __runInitializers(_init89, 47, this);
|
|
181970
181995
|
__privateAdd(this, _intelligenceBusy, __runInitializers(_init89, 48, this, false)), __runInitializers(_init89, 51, this);
|
|
181971
181996
|
__privateAdd(this, _intelligenceError, __runInitializers(_init89, 52, this, "")), __runInitializers(_init89, 55, this);
|
|
181972
|
-
__privateAdd(this,
|
|
181973
|
-
__privateAdd(this,
|
|
181974
|
-
__privateAdd(this,
|
|
181975
|
-
__privateAdd(this,
|
|
181976
|
-
__privateAdd(this,
|
|
181977
|
-
__privateAdd(this,
|
|
181978
|
-
__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);
|
|
181979
182005
|
__publicField(this, "sectionStateInitialized", false);
|
|
181980
182006
|
__publicField(this, "discardScratchpadDraft", /* @__PURE__ */ __name(() => {
|
|
181981
182007
|
if (this.scratchpad) this.acceptScratchpad(this.scratchpad);
|
|
@@ -182018,6 +182044,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a88
|
|
|
182018
182044
|
} else if (this.expandedSection !== void 0 && !availableSections.includes(this.expandedSection)) {
|
|
182019
182045
|
this.expandedSection = this.defaultExpandedSection;
|
|
182020
182046
|
}
|
|
182047
|
+
if (changedPropertiesArg.has("sessionKey")) this.intelligenceQuestion = "";
|
|
182021
182048
|
if (!changedPropertiesArg.has("scratchpad")) return;
|
|
182022
182049
|
const next2 = this.scratchpad;
|
|
182023
182050
|
if (!next2) {
|
|
@@ -182358,6 +182385,7 @@ _intelligenceEnabled = new WeakMap();
|
|
|
182358
182385
|
_intelligenceExchanges = new WeakMap();
|
|
182359
182386
|
_intelligenceBusy = new WeakMap();
|
|
182360
182387
|
_intelligenceError = new WeakMap();
|
|
182388
|
+
_sessionKey = new WeakMap();
|
|
182361
182389
|
_disabled6 = new WeakMap();
|
|
182362
182390
|
_scratchpadDraft = new WeakMap();
|
|
182363
182391
|
_scratchpadDraftRevision = new WeakMap();
|
|
@@ -182377,6 +182405,7 @@ __decorateElement(_init89, 4, "intelligenceEnabled", _intelligenceEnabled_dec, _
|
|
|
182377
182405
|
__decorateElement(_init89, 4, "intelligenceExchanges", _intelligenceExchanges_dec, _DeesHarnessSessionSidebar, _intelligenceExchanges);
|
|
182378
182406
|
__decorateElement(_init89, 4, "intelligenceBusy", _intelligenceBusy_dec, _DeesHarnessSessionSidebar, _intelligenceBusy);
|
|
182379
182407
|
__decorateElement(_init89, 4, "intelligenceError", _intelligenceError_dec, _DeesHarnessSessionSidebar, _intelligenceError);
|
|
182408
|
+
__decorateElement(_init89, 4, "sessionKey", _sessionKey_dec, _DeesHarnessSessionSidebar, _sessionKey);
|
|
182380
182409
|
__decorateElement(_init89, 4, "disabled", _disabled_dec6, _DeesHarnessSessionSidebar, _disabled6);
|
|
182381
182410
|
__decorateElement(_init89, 4, "scratchpadDraft", _scratchpadDraft_dec, _DeesHarnessSessionSidebar, _scratchpadDraft);
|
|
182382
182411
|
__decorateElement(_init89, 4, "scratchpadDraftRevision", _scratchpadDraftRevision_dec, _DeesHarnessSessionSidebar, _scratchpadDraftRevision);
|
|
@@ -182964,9 +182993,9 @@ var DeesHarnessUsage = _DeesHarnessUsage;
|
|
|
182964
182993
|
init_dist_ts26();
|
|
182965
182994
|
init_theme();
|
|
182966
182995
|
init_dees_icon();
|
|
182967
|
-
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;
|
|
182968
182997
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
182969
|
-
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) {
|
|
182970
182999
|
constructor() {
|
|
182971
183000
|
super(...arguments);
|
|
182972
183001
|
__privateAdd(this, _messages2, __runInitializers(_init91, 8, this, [])), __runInitializers(_init91, 11, this);
|
|
@@ -182978,43 +183007,45 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
182978
183007
|
__privateAdd(this, _loadingEarlier2, __runInitializers(_init91, 32, this, false)), __runInitializers(_init91, 35, this);
|
|
182979
183008
|
__privateAdd(this, _usage2, __runInitializers(_init91, 36, this, {})), __runInitializers(_init91, 39, this);
|
|
182980
183009
|
__privateAdd(this, _todos3, __runInitializers(_init91, 40, this, [])), __runInitializers(_init91, 43, this);
|
|
182981
|
-
__privateAdd(this,
|
|
182982
|
-
__privateAdd(this,
|
|
182983
|
-
__privateAdd(this,
|
|
182984
|
-
__privateAdd(this,
|
|
182985
|
-
__privateAdd(this,
|
|
182986
|
-
__privateAdd(this,
|
|
182987
|
-
__privateAdd(this,
|
|
182988
|
-
__privateAdd(this,
|
|
182989
|
-
__privateAdd(this,
|
|
182990
|
-
__privateAdd(this,
|
|
182991
|
-
__privateAdd(this,
|
|
182992
|
-
__privateAdd(this,
|
|
182993
|
-
__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);
|
|
182994
183024
|
__publicField(this, "sessionLayoutResizeObserver");
|
|
182995
|
-
__privateAdd(this, _heading6, __runInitializers(_init91,
|
|
182996
|
-
__privateAdd(this, _subheading, __runInitializers(_init91,
|
|
182997
|
-
__privateAdd(this, _showToolbar, __runInitializers(_init91,
|
|
182998
|
-
__privateAdd(this, _showRoles2, __runInitializers(_init91,
|
|
182999
|
-
__privateAdd(this, _showTimestamps2, __runInitializers(_init91,
|
|
183000
|
-
__privateAdd(this, _disabled7, __runInitializers(_init91,
|
|
183001
|
-
__privateAdd(this, _busy4, __runInitializers(_init91,
|
|
183002
|
-
__privateAdd(this, _queuedCount2, __runInitializers(_init91,
|
|
183003
|
-
__privateAdd(this,
|
|
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,
|
|
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);
|
|
183018
183049
|
__publicField(this, "toggleSessionSidebar", /* @__PURE__ */ __name(() => {
|
|
183019
183050
|
if (!this.narrowSessionLayout) {
|
|
183020
183051
|
this.desktopSessionSidebarVisible = !this.desktopSessionSidebarVisible;
|
|
@@ -183068,7 +183099,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183068
183099
|
this.sessionSidebarOpen = false;
|
|
183069
183100
|
}
|
|
183070
183101
|
get effectiveTodos() {
|
|
183071
|
-
if (this.todos.length) return this.todos;
|
|
183102
|
+
if (this.todosAuthoritative || this.todos.length) return this.todos;
|
|
183072
183103
|
for (let index3 = this.messages.length - 1; index3 >= 0; index3--) {
|
|
183073
183104
|
const call = this.messages[index3]?.toolCall;
|
|
183074
183105
|
if (!call) continue;
|
|
@@ -183083,7 +183114,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183083
183114
|
}
|
|
183084
183115
|
get hasSessionSidebar() {
|
|
183085
183116
|
if (!this.showSessionSidebar) return false;
|
|
183086
|
-
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;
|
|
183087
183118
|
}
|
|
183088
183119
|
get listElement() {
|
|
183089
183120
|
const element4 = this.shadowRoot?.querySelector("dees-harness-message-list");
|
|
@@ -183193,6 +183224,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183193
183224
|
.intelligenceExchanges=${this.intelligenceExchanges}
|
|
183194
183225
|
.intelligenceBusy=${this.intelligenceBusy}
|
|
183195
183226
|
.intelligenceError=${this.intelligenceError}
|
|
183227
|
+
.sessionKey=${this.transcriptKey}
|
|
183196
183228
|
.disabled=${this.disabled}
|
|
183197
183229
|
></dees-harness-session-sidebar>
|
|
183198
183230
|
</aside>
|
|
@@ -183210,6 +183242,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
183210
183242
|
.disabled=${this.disabled}
|
|
183211
183243
|
.busy=${this.busy || this.status.type === "busy"}
|
|
183212
183244
|
.queuedCount=${this.queuedCount}
|
|
183245
|
+
.steeringEnabled=${this.steeringEnabled}
|
|
183213
183246
|
.account=${this.account}
|
|
183214
183247
|
.accountOptions=${this.accountOptions}
|
|
183215
183248
|
.model=${this.model}
|
|
@@ -183278,6 +183311,7 @@ _hasEarlierMessages2 = new WeakMap();
|
|
|
183278
183311
|
_loadingEarlier2 = new WeakMap();
|
|
183279
183312
|
_usage2 = new WeakMap();
|
|
183280
183313
|
_todos3 = new WeakMap();
|
|
183314
|
+
_todosAuthoritative = new WeakMap();
|
|
183281
183315
|
_showTodosPanel = new WeakMap();
|
|
183282
183316
|
_showSessionSidebar = new WeakMap();
|
|
183283
183317
|
_sessionMetrics = new WeakMap();
|
|
@@ -183299,6 +183333,7 @@ _showTimestamps2 = new WeakMap();
|
|
|
183299
183333
|
_disabled7 = new WeakMap();
|
|
183300
183334
|
_busy4 = new WeakMap();
|
|
183301
183335
|
_queuedCount2 = new WeakMap();
|
|
183336
|
+
_steeringEnabled2 = new WeakMap();
|
|
183302
183337
|
_composerValue = new WeakMap();
|
|
183303
183338
|
_attachments2 = new WeakMap();
|
|
183304
183339
|
_suggestions3 = new WeakMap();
|
|
@@ -183323,6 +183358,7 @@ __decorateElement(_init91, 4, "hasEarlierMessages", _hasEarlierMessages_dec2, _D
|
|
|
183323
183358
|
__decorateElement(_init91, 4, "loadingEarlier", _loadingEarlier_dec2, _DeesHarnessChat, _loadingEarlier2);
|
|
183324
183359
|
__decorateElement(_init91, 4, "usage", _usage_dec2, _DeesHarnessChat, _usage2);
|
|
183325
183360
|
__decorateElement(_init91, 4, "todos", _todos_dec3, _DeesHarnessChat, _todos3);
|
|
183361
|
+
__decorateElement(_init91, 4, "todosAuthoritative", _todosAuthoritative_dec, _DeesHarnessChat, _todosAuthoritative);
|
|
183326
183362
|
__decorateElement(_init91, 4, "showTodosPanel", _showTodosPanel_dec, _DeesHarnessChat, _showTodosPanel);
|
|
183327
183363
|
__decorateElement(_init91, 4, "showSessionSidebar", _showSessionSidebar_dec, _DeesHarnessChat, _showSessionSidebar);
|
|
183328
183364
|
__decorateElement(_init91, 4, "sessionMetrics", _sessionMetrics_dec, _DeesHarnessChat, _sessionMetrics);
|
|
@@ -183344,6 +183380,7 @@ __decorateElement(_init91, 4, "showTimestamps", _showTimestamps_dec2, _DeesHarne
|
|
|
183344
183380
|
__decorateElement(_init91, 4, "disabled", _disabled_dec7, _DeesHarnessChat, _disabled7);
|
|
183345
183381
|
__decorateElement(_init91, 4, "busy", _busy_dec4, _DeesHarnessChat, _busy4);
|
|
183346
183382
|
__decorateElement(_init91, 4, "queuedCount", _queuedCount_dec2, _DeesHarnessChat, _queuedCount2);
|
|
183383
|
+
__decorateElement(_init91, 4, "steeringEnabled", _steeringEnabled_dec2, _DeesHarnessChat, _steeringEnabled2);
|
|
183347
183384
|
__decorateElement(_init91, 4, "composerValue", _composerValue_dec, _DeesHarnessChat, _composerValue);
|
|
183348
183385
|
__decorateElement(_init91, 4, "attachments", _attachments_dec2, _DeesHarnessChat, _attachments2);
|
|
183349
183386
|
__decorateElement(_init91, 4, "suggestions", _suggestions_dec3, _DeesHarnessChat, _suggestions3);
|
|
@@ -208028,7 +208065,7 @@ init_group_runtime();
|
|
|
208028
208065
|
// ts_web/00_commitinfo_data.ts
|
|
208029
208066
|
var commitinfo = {
|
|
208030
208067
|
name: "@design.estate/dees-catalog",
|
|
208031
|
-
version: "6.10.
|
|
208068
|
+
version: "6.10.2",
|
|
208032
208069
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
208033
208070
|
};
|
|
208034
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[];
|