@design.estate/dees-catalog 21.50.0 → 21.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +198 -74
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-5CIKWTZS.js → chunk-BDM5QXSP.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-UPDBEHU2.js → chunk-MBTYK6OF.js} +5 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-UPDBEHU2.js.map → chunk-MBTYK6OF.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-QTYZW5MS.js → chunk-Y5OEUCXR.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-E2CUVVOP.js → de-VWHISDLM.js} +5 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-E2CUVVOP.js.map → de-VWHISDLM.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-KFHL5PON.js → dees-modal-3GPKOPGS.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-3LVVC4NB.js → dees-workspace-terminal-SC2OYJI3.js} +4 -4
- 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 +5 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +23 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.d.ts +14 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.demo.js +37 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.js +94 -2
- package/dist_ts_web/elements/00group-harness/interfaces.d.ts +4 -0
- package/dist_ts_web/i18n/de.d.ts +12 -0
- package/dist_ts_web/i18n/de.js +4 -1
- package/dist_ts_web/i18n/messages.d.ts +12 -0
- package/dist_ts_web/i18n/messages.js +4 -1
- package/package.json +1 -1
- package/readme.md +6 -4
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +12 -0
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.demo.ts +38 -1
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts +97 -1
- package/ts_web/elements/00group-harness/interfaces.ts +5 -0
- package/ts_web/i18n/de.ts +3 -0
- package/ts_web/i18n/messages.ts +3 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-5CIKWTZS.js.map → chunk-BDM5QXSP.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-QTYZW5MS.js.map → chunk-Y5OEUCXR.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-KFHL5PON.js.map → dees-modal-3GPKOPGS.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-3LVVC4NB.js.map → dees-workspace-terminal-SC2OYJI3.js.map} +0 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
ownAppuiLabels,
|
|
26
26
|
resolveAppuiLabels,
|
|
27
27
|
xtermStyles
|
|
28
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
28
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-Y5OEUCXR.js";
|
|
29
29
|
import {
|
|
30
30
|
ActionRunController,
|
|
31
31
|
BarInfoController,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
workspaceVisibility,
|
|
128
128
|
zIndexLayers,
|
|
129
129
|
zIndexRegistry
|
|
130
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
130
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-BDM5QXSP.js";
|
|
131
131
|
import {
|
|
132
132
|
dcMessages,
|
|
133
133
|
dcSourceI18n,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
firstDayOfWeek,
|
|
138
138
|
iso_exports,
|
|
139
139
|
momentFormat
|
|
140
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
140
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-MBTYK6OF.js";
|
|
141
141
|
import {
|
|
142
142
|
__decorateElement,
|
|
143
143
|
__decoratorMetadata,
|
|
@@ -55692,6 +55692,32 @@ var attachedResources = [
|
|
|
55692
55692
|
preview: "http://localhost:3000/checkout"
|
|
55693
55693
|
}
|
|
55694
55694
|
];
|
|
55695
|
+
var workers = [
|
|
55696
|
+
{
|
|
55697
|
+
id: "worker-checkout",
|
|
55698
|
+
title: "checkout-cache",
|
|
55699
|
+
state: "working",
|
|
55700
|
+
statusLabel: "Working",
|
|
55701
|
+
harness: { id: "claude", name: "Claude Code" },
|
|
55702
|
+
preview: "SHOP-41 \xB7 Cache keys use the route manifest hash"
|
|
55703
|
+
},
|
|
55704
|
+
{
|
|
55705
|
+
id: "worker-release",
|
|
55706
|
+
title: "release-notes",
|
|
55707
|
+
state: "attention",
|
|
55708
|
+
statusLabel: "Needs input",
|
|
55709
|
+
harness: { id: "codex", name: "Codex" },
|
|
55710
|
+
preview: "SHOP-44 \xB7 Which version goes out first?"
|
|
55711
|
+
},
|
|
55712
|
+
{
|
|
55713
|
+
id: "worker-audit",
|
|
55714
|
+
title: "license-audit",
|
|
55715
|
+
state: "finished",
|
|
55716
|
+
statusLabel: "Stopped",
|
|
55717
|
+
harness: { id: "claude", name: "Claude Code" },
|
|
55718
|
+
preview: "SHOP-39"
|
|
55719
|
+
}
|
|
55720
|
+
];
|
|
55695
55721
|
var draftScratchpad = {
|
|
55696
55722
|
id: "draft",
|
|
55697
55723
|
text: "",
|
|
@@ -55715,7 +55741,7 @@ var showEvent = /* @__PURE__ */ __name((event) => {
|
|
|
55715
55741
|
detail: event.detail
|
|
55716
55742
|
});
|
|
55717
55743
|
}, "showEvent");
|
|
55718
|
-
var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", "Tasks, context usage, scratchpad, attached resources and session intelligence alongside a conversation.", b`
|
|
55744
|
+
var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", "Tasks, workers, context usage, scratchpad, attached resources and session intelligence alongside a conversation.", b`
|
|
55719
55745
|
<style>
|
|
55720
55746
|
.harnessSessionSidebarDemos {
|
|
55721
55747
|
display: flex;
|
|
@@ -55755,6 +55781,15 @@ var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", "Tasks
|
|
|
55755
55781
|
@harness-scratchpad-input=${showEvent}
|
|
55756
55782
|
></dees-harness-session-sidebar>
|
|
55757
55783
|
</div>
|
|
55784
|
+
<div class="harnessSessionSidebarDemo">
|
|
55785
|
+
<dees-harness-session-sidebar
|
|
55786
|
+
.showTasks=${false}
|
|
55787
|
+
.workers=${workers}
|
|
55788
|
+
selectedWorkerId="worker-release"
|
|
55789
|
+
.scratchpad=${scratchpad}
|
|
55790
|
+
@harness-worker-open=${showEvent}
|
|
55791
|
+
></dees-harness-session-sidebar>
|
|
55792
|
+
</div>
|
|
55758
55793
|
<div class="harnessSessionSidebarDemo">
|
|
55759
55794
|
<dees-harness-session-sidebar
|
|
55760
55795
|
.showTasks=${false}
|
|
@@ -55776,10 +55811,10 @@ var demoFunc47 = /* @__PURE__ */ __name(() => demoPage("Session details", "Tasks
|
|
|
55776
55811
|
`), "demoFunc");
|
|
55777
55812
|
|
|
55778
55813
|
// ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts
|
|
55779
|
-
var _expandedSection_dec, _intelligenceQuestion_dec, _scratchpadStale_dec, _scratchpadDirty_dec, _scratchpadDraftRevision_dec, _scratchpadDraft_dec, _disabled_dec4, _sessionKey_dec, _intelligenceError_dec, _intelligenceBusy_dec, _intelligenceExchanges_dec, _intelligenceHeading_dec, _intelligenceAvailabilityAction_dec, _intelligenceUnavailableReason_dec, _intelligenceAvailabilityStatus_dec, _intelligenceEnabled_dec, _attachedResources_dec, _scratchpadError_dec, _scratchpadBusy_dec, _scratchpad_dec, _metrics_dec, _toolRegistry_dec5, _toolMessages_dec, _showTasks_dec, _todos_dec2, _a68, _DeesHarnessSessionSidebar_decorators, _init70, _todos2, _showTasks, _toolMessages, _toolRegistry5, _metrics, _scratchpad, _scratchpadBusy, _scratchpadError, _attachedResources, _intelligenceEnabled, _intelligenceAvailabilityStatus, _intelligenceUnavailableReason, _intelligenceAvailabilityAction, _intelligenceHeading, _intelligenceExchanges, _intelligenceBusy, _intelligenceError, _sessionKey, _disabled4, _scratchpadDraft, _scratchpadDraftRevision, _scratchpadDirty, _scratchpadStale, _intelligenceQuestion, _expandedSection;
|
|
55814
|
+
var _expandedSection_dec, _intelligenceQuestion_dec, _scratchpadStale_dec, _scratchpadDirty_dec, _scratchpadDraftRevision_dec, _scratchpadDraft_dec, _disabled_dec4, _sessionKey_dec, _intelligenceError_dec, _intelligenceBusy_dec, _intelligenceExchanges_dec, _intelligenceHeading_dec, _intelligenceAvailabilityAction_dec, _intelligenceUnavailableReason_dec, _intelligenceAvailabilityStatus_dec, _intelligenceEnabled_dec, _selectedWorkerId_dec, _workers_dec, _attachedResources_dec, _scratchpadError_dec, _scratchpadBusy_dec, _scratchpad_dec, _metrics_dec, _toolRegistry_dec5, _toolMessages_dec, _showTasks_dec, _todos_dec2, _a68, _DeesHarnessSessionSidebar_decorators, _init70, _todos2, _showTasks, _toolMessages, _toolRegistry5, _metrics, _scratchpad, _scratchpadBusy, _scratchpadError, _attachedResources, _workers, _selectedWorkerId, _intelligenceEnabled, _intelligenceAvailabilityStatus, _intelligenceUnavailableReason, _intelligenceAvailabilityAction, _intelligenceHeading, _intelligenceExchanges, _intelligenceBusy, _intelligenceError, _sessionKey, _disabled4, _scratchpadDraft, _scratchpadDraftRevision, _scratchpadDirty, _scratchpadStale, _intelligenceQuestion, _expandedSection;
|
|
55780
55815
|
var { repeat: repeat4 } = directives_exports;
|
|
55781
55816
|
_DeesHarnessSessionSidebar_decorators = [customElement("dees-harness-session-sidebar")];
|
|
55782
|
-
var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68 = DeesElement, _todos_dec2 = [n({ attribute: false })], _showTasks_dec = [n({ type: Boolean, reflect: true })], _toolMessages_dec = [n({ attribute: false })], _toolRegistry_dec5 = [n({ attribute: false })], _metrics_dec = [n({ attribute: false })], _scratchpad_dec = [n({ attribute: false })], _scratchpadBusy_dec = [n({ type: Boolean, reflect: true })], _scratchpadError_dec = [n({ reflect: true })], _attachedResources_dec = [n({ attribute: false })], _intelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec = [n({ reflect: true })], _intelligenceUnavailableReason_dec = [n({ reflect: true })], _intelligenceAvailabilityAction_dec = [n({ attribute: false })], _intelligenceHeading_dec = [n({ reflect: true })], _intelligenceExchanges_dec = [n({ attribute: false })], _intelligenceBusy_dec = [n({ type: Boolean, reflect: true })], _intelligenceError_dec = [n({ reflect: true })], _sessionKey_dec = [n({ reflect: true })], _disabled_dec4 = [n({ type: Boolean, reflect: true })], _scratchpadDraft_dec = [r2()], _scratchpadDraftRevision_dec = [r2()], _scratchpadDirty_dec = [r2()], _scratchpadStale_dec = [r2()], _intelligenceQuestion_dec = [r2()], _expandedSection_dec = [r2()], _a68) {
|
|
55817
|
+
var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68 = DeesElement, _todos_dec2 = [n({ attribute: false })], _showTasks_dec = [n({ type: Boolean, reflect: true })], _toolMessages_dec = [n({ attribute: false })], _toolRegistry_dec5 = [n({ attribute: false })], _metrics_dec = [n({ attribute: false })], _scratchpad_dec = [n({ attribute: false })], _scratchpadBusy_dec = [n({ type: Boolean, reflect: true })], _scratchpadError_dec = [n({ reflect: true })], _attachedResources_dec = [n({ attribute: false })], _workers_dec = [n({ attribute: false })], _selectedWorkerId_dec = [n({ reflect: true })], _intelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec = [n({ reflect: true })], _intelligenceUnavailableReason_dec = [n({ reflect: true })], _intelligenceAvailabilityAction_dec = [n({ attribute: false })], _intelligenceHeading_dec = [n({ reflect: true })], _intelligenceExchanges_dec = [n({ attribute: false })], _intelligenceBusy_dec = [n({ type: Boolean, reflect: true })], _intelligenceError_dec = [n({ reflect: true })], _sessionKey_dec = [n({ reflect: true })], _disabled_dec4 = [n({ type: Boolean, reflect: true })], _scratchpadDraft_dec = [r2()], _scratchpadDraftRevision_dec = [r2()], _scratchpadDirty_dec = [r2()], _scratchpadStale_dec = [r2()], _intelligenceQuestion_dec = [r2()], _expandedSection_dec = [r2()], _a68) {
|
|
55783
55818
|
constructor() {
|
|
55784
55819
|
super(...arguments);
|
|
55785
55820
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -55792,22 +55827,24 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
55792
55827
|
__privateAdd(this, _scratchpadBusy, __runInitializers(_init70, 32, this, false)), __runInitializers(_init70, 35, this);
|
|
55793
55828
|
__privateAdd(this, _scratchpadError, __runInitializers(_init70, 36, this, "")), __runInitializers(_init70, 39, this);
|
|
55794
55829
|
__privateAdd(this, _attachedResources, __runInitializers(_init70, 40, this)), __runInitializers(_init70, 43, this);
|
|
55795
|
-
__privateAdd(this,
|
|
55796
|
-
__privateAdd(this,
|
|
55797
|
-
__privateAdd(this,
|
|
55798
|
-
__privateAdd(this,
|
|
55799
|
-
__privateAdd(this,
|
|
55800
|
-
__privateAdd(this,
|
|
55801
|
-
__privateAdd(this,
|
|
55802
|
-
__privateAdd(this,
|
|
55803
|
-
__privateAdd(this,
|
|
55804
|
-
__privateAdd(this,
|
|
55805
|
-
__privateAdd(this,
|
|
55806
|
-
__privateAdd(this,
|
|
55807
|
-
__privateAdd(this,
|
|
55808
|
-
__privateAdd(this,
|
|
55809
|
-
__privateAdd(this,
|
|
55810
|
-
__privateAdd(this,
|
|
55830
|
+
__privateAdd(this, _workers, __runInitializers(_init70, 44, this)), __runInitializers(_init70, 47, this);
|
|
55831
|
+
__privateAdd(this, _selectedWorkerId, __runInitializers(_init70, 48, this, "")), __runInitializers(_init70, 51, this);
|
|
55832
|
+
__privateAdd(this, _intelligenceEnabled, __runInitializers(_init70, 52, this, false)), __runInitializers(_init70, 55, this);
|
|
55833
|
+
__privateAdd(this, _intelligenceAvailabilityStatus, __runInitializers(_init70, 56, this, "available")), __runInitializers(_init70, 59, this);
|
|
55834
|
+
__privateAdd(this, _intelligenceUnavailableReason, __runInitializers(_init70, 60, this, "")), __runInitializers(_init70, 63, this);
|
|
55835
|
+
__privateAdd(this, _intelligenceAvailabilityAction, __runInitializers(_init70, 64, this)), __runInitializers(_init70, 67, this);
|
|
55836
|
+
__privateAdd(this, _intelligenceHeading, __runInitializers(_init70, 68, this, "")), __runInitializers(_init70, 71, this);
|
|
55837
|
+
__privateAdd(this, _intelligenceExchanges, __runInitializers(_init70, 72, this, [])), __runInitializers(_init70, 75, this);
|
|
55838
|
+
__privateAdd(this, _intelligenceBusy, __runInitializers(_init70, 76, this, false)), __runInitializers(_init70, 79, this);
|
|
55839
|
+
__privateAdd(this, _intelligenceError, __runInitializers(_init70, 80, this, "")), __runInitializers(_init70, 83, this);
|
|
55840
|
+
__privateAdd(this, _sessionKey, __runInitializers(_init70, 84, this, "")), __runInitializers(_init70, 87, this);
|
|
55841
|
+
__privateAdd(this, _disabled4, __runInitializers(_init70, 88, this, false)), __runInitializers(_init70, 91, this);
|
|
55842
|
+
__privateAdd(this, _scratchpadDraft, __runInitializers(_init70, 92, this, "")), __runInitializers(_init70, 95, this);
|
|
55843
|
+
__privateAdd(this, _scratchpadDraftRevision, __runInitializers(_init70, 96, this, 0)), __runInitializers(_init70, 99, this);
|
|
55844
|
+
__privateAdd(this, _scratchpadDirty, __runInitializers(_init70, 100, this, false)), __runInitializers(_init70, 103, this);
|
|
55845
|
+
__privateAdd(this, _scratchpadStale, __runInitializers(_init70, 104, this, false)), __runInitializers(_init70, 107, this);
|
|
55846
|
+
__privateAdd(this, _intelligenceQuestion, __runInitializers(_init70, 108, this, "")), __runInitializers(_init70, 111, this);
|
|
55847
|
+
__privateAdd(this, _expandedSection, __runInitializers(_init70, 112, this)), __runInitializers(_init70, 115, this);
|
|
55811
55848
|
__publicField(this, "sectionStateInitialized", false);
|
|
55812
55849
|
/** The scratchpad's `unsavedText` the editor took up, so it is taken up once per id and text. */
|
|
55813
55850
|
__publicField(this, "takenUnsavedText");
|
|
@@ -56029,6 +56066,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56029
56066
|
return b`
|
|
56030
56067
|
<div class="sidebar">
|
|
56031
56068
|
${this.showTasks ? this.renderTasks() : ""}
|
|
56069
|
+
${this.workers ? this.renderWorkers() : ""}
|
|
56032
56070
|
${this.toolActivityEntries.length ? this.renderToolActivity() : ""}
|
|
56033
56071
|
${this.hasMetrics ? this.renderMetrics() : ""}
|
|
56034
56072
|
${this.scratchpad ? this.renderScratchpad() : ""}
|
|
@@ -56052,6 +56090,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56052
56090
|
get availableSections() {
|
|
56053
56091
|
return [
|
|
56054
56092
|
...this.showTasks ? ["tasks"] : [],
|
|
56093
|
+
...this.workers ? ["workers"] : [],
|
|
56055
56094
|
...this.toolActivityEntries.length ? ["activity"] : [],
|
|
56056
56095
|
...this.hasMetrics ? ["metrics"] : [],
|
|
56057
56096
|
...this.scratchpad ? ["scratchpad"] : [],
|
|
@@ -56061,6 +56100,7 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56061
56100
|
}
|
|
56062
56101
|
get defaultExpandedSection() {
|
|
56063
56102
|
if (this.showTasks && this.todos.length > 0) return "tasks";
|
|
56103
|
+
if (this.workers?.length) return "workers";
|
|
56064
56104
|
if (this.toolActivityEntries.length) return "activity";
|
|
56065
56105
|
if (this.hasMetrics) return "metrics";
|
|
56066
56106
|
if (this.scratchpad) return "scratchpad";
|
|
@@ -56366,6 +56406,59 @@ var _DeesHarnessSessionSidebar = class _DeesHarnessSessionSidebar extends (_a68
|
|
|
56366
56406
|
`
|
|
56367
56407
|
);
|
|
56368
56408
|
}
|
|
56409
|
+
renderWorkers() {
|
|
56410
|
+
const workers2 = this.workers ?? [];
|
|
56411
|
+
return this.renderSection(
|
|
56412
|
+
"workers",
|
|
56413
|
+
this.t("sidebar.workers"),
|
|
56414
|
+
"lucide:Users",
|
|
56415
|
+
workers2.length ? b`
|
|
56416
|
+
<div class="resourceList">
|
|
56417
|
+
${repeat4(
|
|
56418
|
+
workers2,
|
|
56419
|
+
(worker) => worker.id,
|
|
56420
|
+
(worker) => this.renderWorker(worker)
|
|
56421
|
+
)}
|
|
56422
|
+
</div>
|
|
56423
|
+
` : b`<div class="empty">${this.t("sidebar.noWorkers")}</div>`,
|
|
56424
|
+
workers2.length ? this.t.format.number(workers2.length) : ""
|
|
56425
|
+
);
|
|
56426
|
+
}
|
|
56427
|
+
/** One worker: its harness, name and state over what it works on, as one button that opens it. */
|
|
56428
|
+
renderWorker(workerArg) {
|
|
56429
|
+
const title = workerArg.title || workerArg.id;
|
|
56430
|
+
const meta = [workerArg.harness?.name, workerArg.preview?.trim()].filter(Boolean).join(" \xB7 ");
|
|
56431
|
+
const current = this.selectedWorkerId !== "" && this.selectedWorkerId === workerArg.id;
|
|
56432
|
+
return b`
|
|
56433
|
+
<button
|
|
56434
|
+
class=${`resourceItem workerItem state-${workerArg.state ?? "normal"}`}
|
|
56435
|
+
type="button"
|
|
56436
|
+
data-worker-id=${workerArg.id}
|
|
56437
|
+
aria-current=${current ? "true" : "false"}
|
|
56438
|
+
aria-label=${this.t("sidebar.openWorker", { title })}
|
|
56439
|
+
@click=${() => this.openWorker(workerArg)}
|
|
56440
|
+
>
|
|
56441
|
+
<span class="resourceIcon">
|
|
56442
|
+
<dees-icon icon=${workerArg.icon || workerArg.harness?.icon || "lucide:Bot"} iconSize="13"></dees-icon>
|
|
56443
|
+
</span>
|
|
56444
|
+
<span class="resourceCopy">
|
|
56445
|
+
<span class="resourceTitleRow">
|
|
56446
|
+
<span class="resourceTitle" title=${title}>${title}</span>
|
|
56447
|
+
${workerArg.statusLabel ? b`<span class="resourceState">${workerArg.statusLabel}</span>` : ""}
|
|
56448
|
+
</span>
|
|
56449
|
+
${meta ? b`<dees-harness-overflow-text class="resourceMeta" title=${meta}>${meta}</dees-harness-overflow-text>` : ""}
|
|
56450
|
+
</span>
|
|
56451
|
+
</button>
|
|
56452
|
+
`;
|
|
56453
|
+
}
|
|
56454
|
+
openWorker(workerArg) {
|
|
56455
|
+
const detail = { worker: workerArg };
|
|
56456
|
+
this.dispatchEvent(new CustomEvent("harness-worker-open", {
|
|
56457
|
+
detail,
|
|
56458
|
+
bubbles: true,
|
|
56459
|
+
composed: true
|
|
56460
|
+
}));
|
|
56461
|
+
}
|
|
56369
56462
|
renderAttachedResources() {
|
|
56370
56463
|
const resources = this.attachedResources ?? [];
|
|
56371
56464
|
return this.renderSection(
|
|
@@ -56517,6 +56610,8 @@ _scratchpad = new WeakMap();
|
|
|
56517
56610
|
_scratchpadBusy = new WeakMap();
|
|
56518
56611
|
_scratchpadError = new WeakMap();
|
|
56519
56612
|
_attachedResources = new WeakMap();
|
|
56613
|
+
_workers = new WeakMap();
|
|
56614
|
+
_selectedWorkerId = new WeakMap();
|
|
56520
56615
|
_intelligenceEnabled = new WeakMap();
|
|
56521
56616
|
_intelligenceAvailabilityStatus = new WeakMap();
|
|
56522
56617
|
_intelligenceUnavailableReason = new WeakMap();
|
|
@@ -56542,6 +56637,8 @@ __decorateElement(_init70, 4, "scratchpad", _scratchpad_dec, _DeesHarnessSession
|
|
|
56542
56637
|
__decorateElement(_init70, 4, "scratchpadBusy", _scratchpadBusy_dec, _DeesHarnessSessionSidebar, _scratchpadBusy);
|
|
56543
56638
|
__decorateElement(_init70, 4, "scratchpadError", _scratchpadError_dec, _DeesHarnessSessionSidebar, _scratchpadError);
|
|
56544
56639
|
__decorateElement(_init70, 4, "attachedResources", _attachedResources_dec, _DeesHarnessSessionSidebar, _attachedResources);
|
|
56640
|
+
__decorateElement(_init70, 4, "workers", _workers_dec, _DeesHarnessSessionSidebar, _workers);
|
|
56641
|
+
__decorateElement(_init70, 4, "selectedWorkerId", _selectedWorkerId_dec, _DeesHarnessSessionSidebar, _selectedWorkerId);
|
|
56545
56642
|
__decorateElement(_init70, 4, "intelligenceEnabled", _intelligenceEnabled_dec, _DeesHarnessSessionSidebar, _intelligenceEnabled);
|
|
56546
56643
|
__decorateElement(_init70, 4, "intelligenceAvailabilityStatus", _intelligenceAvailabilityStatus_dec, _DeesHarnessSessionSidebar, _intelligenceAvailabilityStatus);
|
|
56547
56644
|
__decorateElement(_init70, 4, "intelligenceUnavailableReason", _intelligenceUnavailableReason_dec, _DeesHarnessSessionSidebar, _intelligenceUnavailableReason);
|
|
@@ -56894,6 +56991,25 @@ __publicField(_DeesHarnessSessionSidebar, "styles", [
|
|
|
56894
56991
|
white-space: nowrap;
|
|
56895
56992
|
}
|
|
56896
56993
|
|
|
56994
|
+
.workerItem[aria-current='true'] {
|
|
56995
|
+
background: var(--dees-color-fill-secondary);
|
|
56996
|
+
}
|
|
56997
|
+
|
|
56998
|
+
.workerItem.state-working .resourceIcon,
|
|
56999
|
+
.workerItem.state-working .resourceState {
|
|
57000
|
+
color: var(--dees-color-accent-primary);
|
|
57001
|
+
}
|
|
57002
|
+
|
|
57003
|
+
.workerItem.state-attention .resourceIcon,
|
|
57004
|
+
.workerItem.state-attention .resourceState {
|
|
57005
|
+
color: var(--dees-color-text-warning);
|
|
57006
|
+
}
|
|
57007
|
+
|
|
57008
|
+
.workerItem.state-error .resourceIcon,
|
|
57009
|
+
.workerItem.state-error .resourceState {
|
|
57010
|
+
color: var(--dees-color-text-error);
|
|
57011
|
+
}
|
|
57012
|
+
|
|
56897
57013
|
.activityMeta {
|
|
56898
57014
|
margin-top: var(--dees-spacing-2xs);
|
|
56899
57015
|
color: var(--dees-color-text-muted);
|
|
@@ -57158,9 +57274,9 @@ __runInitializers(_init71, 1, _DeesHarnessUsage);
|
|
|
57158
57274
|
var DeesHarnessUsage = _DeesHarnessUsage;
|
|
57159
57275
|
|
|
57160
57276
|
// ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts
|
|
57161
|
-
var _toolRegistry_dec6, _menuActions_dec2, _modeOptions_dec2, _mode_dec2, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountNote_dec2, _accountOptions_dec2, _account_dec2, _attachmentAccept_dec2, _maxTotalAttachmentBytes_dec2, _maxAttachmentBytes_dec2, _maxAttachmentCount_dec2, _starterPrompts_dec2, _commands_dec2, _attachmentsEnabled_dec2, _attachments_dec2, _composerValue_dec, _busyDeliveryModes_dec2, _queuedCount_dec2, _abortDisabledReason_dec2, _abortEnabled_dec2, _busy_dec4, _inputLocked_dec2, _disabled_dec5, _markdownWhileStreaming_dec5, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec2, _toolbarActions_dec, _subheading_dec, _heading_dec7, _narrowSessionLayout_dec, _desktopSessionSidebarVisible_dec, _sessionSidebarOpen_dec, _intelligenceError_dec2, _intelligenceBusy_dec2, _intelligenceExchanges_dec2, _intelligenceHeading_dec2, _intelligenceAvailabilityAction_dec2, _intelligenceUnavailableReason_dec2, _intelligenceAvailabilityStatus_dec2, _sessionIntelligenceEnabled_dec, _attachedResources_dec2, _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_dec4, _questions_dec2, _permissions_dec2, _resolveAttachment_dec3, _loadEarlierHistory_dec2, _hasEarlierHistory_dec2, _history_dec2, _messages_dec2, _a70, _DeesHarnessChat_decorators, _init72, _messages2, _history2, _hasEarlierHistory2, _loadEarlierHistory2, _resolveAttachment3, _permissions2, _questions2, _status4, _transcriptKey2, _hasEarlierMessages2, _loadingEarlier2, _usage2, _todos3, _todosAuthoritative, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _attachedResources2, _sessionIntelligenceEnabled, _intelligenceAvailabilityStatus2, _intelligenceUnavailableReason2, _intelligenceAvailabilityAction2, _intelligenceHeading2, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading7, _subheading, _toolbarActions, _showToolbar2, _showRoles2, _showTimestamps2, _markdownWhileStreaming5, _disabled5, _inputLocked2, _busy4, _abortEnabled2, _abortDisabledReason2, _queuedCount2, _busyDeliveryModes2, _composerValue, _attachments2, _attachmentsEnabled2, _commands2, _starterPrompts2, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _attachmentAccept2, _account2, _accountOptions2, _accountNote2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode2, _modeOptions2, _menuActions2, _toolRegistry6;
|
|
57277
|
+
var _toolRegistry_dec6, _menuActions_dec2, _modeOptions_dec2, _mode_dec2, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountNote_dec2, _accountOptions_dec2, _account_dec2, _attachmentAccept_dec2, _maxTotalAttachmentBytes_dec2, _maxAttachmentBytes_dec2, _maxAttachmentCount_dec2, _starterPrompts_dec2, _commands_dec2, _attachmentsEnabled_dec2, _attachments_dec2, _composerValue_dec, _busyDeliveryModes_dec2, _queuedCount_dec2, _abortDisabledReason_dec2, _abortEnabled_dec2, _busy_dec4, _inputLocked_dec2, _disabled_dec5, _markdownWhileStreaming_dec5, _showTimestamps_dec2, _showRoles_dec2, _showToolbar_dec2, _toolbarActions_dec, _subheading_dec, _heading_dec7, _narrowSessionLayout_dec, _desktopSessionSidebarVisible_dec, _sessionSidebarOpen_dec, _intelligenceError_dec2, _intelligenceBusy_dec2, _intelligenceExchanges_dec2, _intelligenceHeading_dec2, _intelligenceAvailabilityAction_dec2, _intelligenceUnavailableReason_dec2, _intelligenceAvailabilityStatus_dec2, _sessionIntelligenceEnabled_dec, _selectedWorkerId_dec2, _workers_dec2, _attachedResources_dec2, _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_dec4, _questions_dec2, _permissions_dec2, _resolveAttachment_dec3, _loadEarlierHistory_dec2, _hasEarlierHistory_dec2, _history_dec2, _messages_dec2, _a70, _DeesHarnessChat_decorators, _init72, _messages2, _history2, _hasEarlierHistory2, _loadEarlierHistory2, _resolveAttachment3, _permissions2, _questions2, _status4, _transcriptKey2, _hasEarlierMessages2, _loadingEarlier2, _usage2, _todos3, _todosAuthoritative, _showTodosPanel, _showSessionSidebar, _sessionMetrics, _scratchpad2, _scratchpadBusy2, _scratchpadError2, _attachedResources2, _workers2, _selectedWorkerId2, _sessionIntelligenceEnabled, _intelligenceAvailabilityStatus2, _intelligenceUnavailableReason2, _intelligenceAvailabilityAction2, _intelligenceHeading2, _intelligenceExchanges2, _intelligenceBusy2, _intelligenceError2, _sessionSidebarOpen, _desktopSessionSidebarVisible, _narrowSessionLayout, _heading7, _subheading, _toolbarActions, _showToolbar2, _showRoles2, _showTimestamps2, _markdownWhileStreaming5, _disabled5, _inputLocked2, _busy4, _abortEnabled2, _abortDisabledReason2, _queuedCount2, _busyDeliveryModes2, _composerValue, _attachments2, _attachmentsEnabled2, _commands2, _starterPrompts2, _maxAttachmentCount2, _maxAttachmentBytes2, _maxTotalAttachmentBytes2, _attachmentAccept2, _account2, _accountOptions2, _accountNote2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode2, _modeOptions2, _menuActions2, _toolRegistry6;
|
|
57162
57278
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
57163
|
-
var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _messages_dec2 = [n({ attribute: false })], _history_dec2 = [n({ attribute: false })], _hasEarlierHistory_dec2 = [n({ type: Boolean, reflect: true })], _loadEarlierHistory_dec2 = [n({ attribute: false })], _resolveAttachment_dec3 = [n({ attribute: false })], _permissions_dec2 = [n({ attribute: false })], _questions_dec2 = [n({ attribute: false })], _status_dec4 = [n({ attribute: false })], _transcriptKey_dec2 = [n({ reflect: true })], _hasEarlierMessages_dec2 = [n({ type: Boolean, reflect: true })], _loadingEarlier_dec2 = [n({ type: Boolean, reflect: true })], _usage_dec2 = [n({ attribute: false })], _todos_dec3 = [n({ attribute: false })], _todosAuthoritative_dec = [n({ type: Boolean, reflect: true })], _showTodosPanel_dec = [n({ type: Boolean, reflect: true })], _showSessionSidebar_dec = [n({ type: Boolean, reflect: true })], _sessionMetrics_dec = [n({ attribute: false })], _scratchpad_dec2 = [n({ attribute: false })], _scratchpadBusy_dec2 = [n({ type: Boolean, reflect: true })], _scratchpadError_dec2 = [n({ reflect: true })], _attachedResources_dec2 = [n({ attribute: false })], _sessionIntelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec2 = [n({ reflect: true })], _intelligenceUnavailableReason_dec2 = [n({ reflect: true })], _intelligenceAvailabilityAction_dec2 = [n({ attribute: false })], _intelligenceHeading_dec2 = [n({ reflect: true })], _intelligenceExchanges_dec2 = [n({ attribute: false })], _intelligenceBusy_dec2 = [n({ type: Boolean, reflect: true })], _intelligenceError_dec2 = [n({ reflect: true })], _sessionSidebarOpen_dec = [r2()], _desktopSessionSidebarVisible_dec = [r2()], _narrowSessionLayout_dec = [r2()], _heading_dec7 = [n({ reflect: true })], _subheading_dec = [n({ reflect: true })], _toolbarActions_dec = [n({ attribute: false })], _showToolbar_dec2 = [n({ type: Boolean, reflect: true })], _showRoles_dec2 = [n({ type: Boolean, reflect: true })], _showTimestamps_dec2 = [n({ type: Boolean, reflect: true })], _markdownWhileStreaming_dec5 = [n({ type: Boolean, reflect: true })], _disabled_dec5 = [n({ type: Boolean, reflect: true })], _inputLocked_dec2 = [n({ type: Boolean, reflect: true })], _busy_dec4 = [n({ type: Boolean, reflect: true })], _abortEnabled_dec2 = [n({ type: Boolean, reflect: true })], _abortDisabledReason_dec2 = [n({ reflect: true })], _queuedCount_dec2 = [n({ type: Number, reflect: true })], _busyDeliveryModes_dec2 = [n({ attribute: false })], _composerValue_dec = [n()], _attachments_dec2 = [n({ attribute: false })], _attachmentsEnabled_dec2 = [n({ attribute: false })], _commands_dec2 = [n({ attribute: false })], _starterPrompts_dec2 = [n({ attribute: false })], _maxAttachmentCount_dec2 = [n({ type: Number, reflect: true })], _maxAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _maxTotalAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _attachmentAccept_dec2 = [n({ type: String, reflect: true })], _account_dec2 = [n({ reflect: true })], _accountOptions_dec2 = [n({ attribute: false })], _accountNote_dec2 = [n({ reflect: true })], _model_dec2 = [n({ reflect: true })], _modelOptions_dec2 = [n({ attribute: false })], _reasoningEffort_dec2 = [n({ reflect: true })], _effortOptions_dec2 = [n({ attribute: false })], _mode_dec2 = [n({ reflect: true })], _modeOptions_dec2 = [n({ attribute: false })], _menuActions_dec2 = [n({ attribute: false })], _toolRegistry_dec6 = [n({ attribute: false })], _a70) {
|
|
57279
|
+
var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _messages_dec2 = [n({ attribute: false })], _history_dec2 = [n({ attribute: false })], _hasEarlierHistory_dec2 = [n({ type: Boolean, reflect: true })], _loadEarlierHistory_dec2 = [n({ attribute: false })], _resolveAttachment_dec3 = [n({ attribute: false })], _permissions_dec2 = [n({ attribute: false })], _questions_dec2 = [n({ attribute: false })], _status_dec4 = [n({ attribute: false })], _transcriptKey_dec2 = [n({ reflect: true })], _hasEarlierMessages_dec2 = [n({ type: Boolean, reflect: true })], _loadingEarlier_dec2 = [n({ type: Boolean, reflect: true })], _usage_dec2 = [n({ attribute: false })], _todos_dec3 = [n({ attribute: false })], _todosAuthoritative_dec = [n({ type: Boolean, reflect: true })], _showTodosPanel_dec = [n({ type: Boolean, reflect: true })], _showSessionSidebar_dec = [n({ type: Boolean, reflect: true })], _sessionMetrics_dec = [n({ attribute: false })], _scratchpad_dec2 = [n({ attribute: false })], _scratchpadBusy_dec2 = [n({ type: Boolean, reflect: true })], _scratchpadError_dec2 = [n({ reflect: true })], _attachedResources_dec2 = [n({ attribute: false })], _workers_dec2 = [n({ attribute: false })], _selectedWorkerId_dec2 = [n({ reflect: true })], _sessionIntelligenceEnabled_dec = [n({ type: Boolean, reflect: true })], _intelligenceAvailabilityStatus_dec2 = [n({ reflect: true })], _intelligenceUnavailableReason_dec2 = [n({ reflect: true })], _intelligenceAvailabilityAction_dec2 = [n({ attribute: false })], _intelligenceHeading_dec2 = [n({ reflect: true })], _intelligenceExchanges_dec2 = [n({ attribute: false })], _intelligenceBusy_dec2 = [n({ type: Boolean, reflect: true })], _intelligenceError_dec2 = [n({ reflect: true })], _sessionSidebarOpen_dec = [r2()], _desktopSessionSidebarVisible_dec = [r2()], _narrowSessionLayout_dec = [r2()], _heading_dec7 = [n({ reflect: true })], _subheading_dec = [n({ reflect: true })], _toolbarActions_dec = [n({ attribute: false })], _showToolbar_dec2 = [n({ type: Boolean, reflect: true })], _showRoles_dec2 = [n({ type: Boolean, reflect: true })], _showTimestamps_dec2 = [n({ type: Boolean, reflect: true })], _markdownWhileStreaming_dec5 = [n({ type: Boolean, reflect: true })], _disabled_dec5 = [n({ type: Boolean, reflect: true })], _inputLocked_dec2 = [n({ type: Boolean, reflect: true })], _busy_dec4 = [n({ type: Boolean, reflect: true })], _abortEnabled_dec2 = [n({ type: Boolean, reflect: true })], _abortDisabledReason_dec2 = [n({ reflect: true })], _queuedCount_dec2 = [n({ type: Number, reflect: true })], _busyDeliveryModes_dec2 = [n({ attribute: false })], _composerValue_dec = [n()], _attachments_dec2 = [n({ attribute: false })], _attachmentsEnabled_dec2 = [n({ attribute: false })], _commands_dec2 = [n({ attribute: false })], _starterPrompts_dec2 = [n({ attribute: false })], _maxAttachmentCount_dec2 = [n({ type: Number, reflect: true })], _maxAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _maxTotalAttachmentBytes_dec2 = [n({ type: Number, reflect: true })], _attachmentAccept_dec2 = [n({ type: String, reflect: true })], _account_dec2 = [n({ reflect: true })], _accountOptions_dec2 = [n({ attribute: false })], _accountNote_dec2 = [n({ reflect: true })], _model_dec2 = [n({ reflect: true })], _modelOptions_dec2 = [n({ attribute: false })], _reasoningEffort_dec2 = [n({ reflect: true })], _effortOptions_dec2 = [n({ attribute: false })], _mode_dec2 = [n({ reflect: true })], _modeOptions_dec2 = [n({ attribute: false })], _menuActions_dec2 = [n({ attribute: false })], _toolRegistry_dec6 = [n({ attribute: false })], _a70) {
|
|
57164
57280
|
constructor() {
|
|
57165
57281
|
super(...arguments);
|
|
57166
57282
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -57185,52 +57301,54 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
57185
57301
|
__privateAdd(this, _scratchpadBusy2, __runInitializers(_init72, 80, this, false)), __runInitializers(_init72, 83, this);
|
|
57186
57302
|
__privateAdd(this, _scratchpadError2, __runInitializers(_init72, 84, this, "")), __runInitializers(_init72, 87, this);
|
|
57187
57303
|
__privateAdd(this, _attachedResources2, __runInitializers(_init72, 88, this)), __runInitializers(_init72, 91, this);
|
|
57188
|
-
__privateAdd(this,
|
|
57189
|
-
__privateAdd(this,
|
|
57190
|
-
__privateAdd(this,
|
|
57191
|
-
__privateAdd(this,
|
|
57192
|
-
__privateAdd(this,
|
|
57193
|
-
__privateAdd(this,
|
|
57194
|
-
__privateAdd(this,
|
|
57195
|
-
__privateAdd(this,
|
|
57196
|
-
__privateAdd(this,
|
|
57197
|
-
__privateAdd(this,
|
|
57198
|
-
__privateAdd(this,
|
|
57304
|
+
__privateAdd(this, _workers2, __runInitializers(_init72, 92, this)), __runInitializers(_init72, 95, this);
|
|
57305
|
+
__privateAdd(this, _selectedWorkerId2, __runInitializers(_init72, 96, this, "")), __runInitializers(_init72, 99, this);
|
|
57306
|
+
__privateAdd(this, _sessionIntelligenceEnabled, __runInitializers(_init72, 100, this, false)), __runInitializers(_init72, 103, this);
|
|
57307
|
+
__privateAdd(this, _intelligenceAvailabilityStatus2, __runInitializers(_init72, 104, this, "available")), __runInitializers(_init72, 107, this);
|
|
57308
|
+
__privateAdd(this, _intelligenceUnavailableReason2, __runInitializers(_init72, 108, this, "")), __runInitializers(_init72, 111, this);
|
|
57309
|
+
__privateAdd(this, _intelligenceAvailabilityAction2, __runInitializers(_init72, 112, this)), __runInitializers(_init72, 115, this);
|
|
57310
|
+
__privateAdd(this, _intelligenceHeading2, __runInitializers(_init72, 116, this, "")), __runInitializers(_init72, 119, this);
|
|
57311
|
+
__privateAdd(this, _intelligenceExchanges2, __runInitializers(_init72, 120, this, [])), __runInitializers(_init72, 123, this);
|
|
57312
|
+
__privateAdd(this, _intelligenceBusy2, __runInitializers(_init72, 124, this, false)), __runInitializers(_init72, 127, this);
|
|
57313
|
+
__privateAdd(this, _intelligenceError2, __runInitializers(_init72, 128, this, "")), __runInitializers(_init72, 131, this);
|
|
57314
|
+
__privateAdd(this, _sessionSidebarOpen, __runInitializers(_init72, 132, this, false)), __runInitializers(_init72, 135, this);
|
|
57315
|
+
__privateAdd(this, _desktopSessionSidebarVisible, __runInitializers(_init72, 136, this, true)), __runInitializers(_init72, 139, this);
|
|
57316
|
+
__privateAdd(this, _narrowSessionLayout, __runInitializers(_init72, 140, this, false)), __runInitializers(_init72, 143, this);
|
|
57199
57317
|
__publicField(this, "sessionLayoutResizeObserver");
|
|
57200
|
-
__privateAdd(this, _heading7, __runInitializers(_init72,
|
|
57201
|
-
__privateAdd(this, _subheading, __runInitializers(_init72,
|
|
57202
|
-
__privateAdd(this, _toolbarActions, __runInitializers(_init72,
|
|
57203
|
-
__privateAdd(this, _showToolbar2, __runInitializers(_init72,
|
|
57204
|
-
__privateAdd(this, _showRoles2, __runInitializers(_init72,
|
|
57205
|
-
__privateAdd(this, _showTimestamps2, __runInitializers(_init72,
|
|
57206
|
-
__privateAdd(this, _markdownWhileStreaming5, __runInitializers(_init72,
|
|
57207
|
-
__privateAdd(this, _disabled5, __runInitializers(_init72,
|
|
57208
|
-
__privateAdd(this, _inputLocked2, __runInitializers(_init72,
|
|
57209
|
-
__privateAdd(this, _busy4, __runInitializers(_init72,
|
|
57210
|
-
__privateAdd(this, _abortEnabled2, __runInitializers(_init72,
|
|
57211
|
-
__privateAdd(this, _abortDisabledReason2, __runInitializers(_init72,
|
|
57212
|
-
__privateAdd(this, _queuedCount2, __runInitializers(_init72,
|
|
57213
|
-
__privateAdd(this, _busyDeliveryModes2, __runInitializers(_init72,
|
|
57214
|
-
__privateAdd(this, _composerValue, __runInitializers(_init72,
|
|
57215
|
-
__privateAdd(this, _attachments2, __runInitializers(_init72,
|
|
57216
|
-
__privateAdd(this, _attachmentsEnabled2, __runInitializers(_init72,
|
|
57217
|
-
__privateAdd(this, _commands2, __runInitializers(_init72,
|
|
57218
|
-
__privateAdd(this, _starterPrompts2, __runInitializers(_init72,
|
|
57219
|
-
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init72,
|
|
57220
|
-
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init72,
|
|
57221
|
-
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init72,
|
|
57222
|
-
__privateAdd(this, _attachmentAccept2, __runInitializers(_init72,
|
|
57223
|
-
__privateAdd(this, _account2, __runInitializers(_init72,
|
|
57224
|
-
__privateAdd(this, _accountOptions2, __runInitializers(_init72,
|
|
57225
|
-
__privateAdd(this, _accountNote2, __runInitializers(_init72,
|
|
57226
|
-
__privateAdd(this, _model2, __runInitializers(_init72,
|
|
57227
|
-
__privateAdd(this, _modelOptions2, __runInitializers(_init72,
|
|
57228
|
-
__privateAdd(this, _reasoningEffort2, __runInitializers(_init72,
|
|
57229
|
-
__privateAdd(this, _effortOptions2, __runInitializers(_init72,
|
|
57230
|
-
__privateAdd(this, _mode2, __runInitializers(_init72,
|
|
57231
|
-
__privateAdd(this, _modeOptions2, __runInitializers(_init72,
|
|
57232
|
-
__privateAdd(this, _menuActions2, __runInitializers(_init72,
|
|
57233
|
-
__privateAdd(this, _toolRegistry6, __runInitializers(_init72,
|
|
57318
|
+
__privateAdd(this, _heading7, __runInitializers(_init72, 144, this, "")), __runInitializers(_init72, 147, this);
|
|
57319
|
+
__privateAdd(this, _subheading, __runInitializers(_init72, 148, this, "")), __runInitializers(_init72, 151, this);
|
|
57320
|
+
__privateAdd(this, _toolbarActions, __runInitializers(_init72, 152, this, [])), __runInitializers(_init72, 155, this);
|
|
57321
|
+
__privateAdd(this, _showToolbar2, __runInitializers(_init72, 156, this, true)), __runInitializers(_init72, 159, this);
|
|
57322
|
+
__privateAdd(this, _showRoles2, __runInitializers(_init72, 160, this, true)), __runInitializers(_init72, 163, this);
|
|
57323
|
+
__privateAdd(this, _showTimestamps2, __runInitializers(_init72, 164, this, true)), __runInitializers(_init72, 167, this);
|
|
57324
|
+
__privateAdd(this, _markdownWhileStreaming5, __runInitializers(_init72, 168, this, true)), __runInitializers(_init72, 171, this);
|
|
57325
|
+
__privateAdd(this, _disabled5, __runInitializers(_init72, 172, this, false)), __runInitializers(_init72, 175, this);
|
|
57326
|
+
__privateAdd(this, _inputLocked2, __runInitializers(_init72, 176, this, false)), __runInitializers(_init72, 179, this);
|
|
57327
|
+
__privateAdd(this, _busy4, __runInitializers(_init72, 180, this, false)), __runInitializers(_init72, 183, this);
|
|
57328
|
+
__privateAdd(this, _abortEnabled2, __runInitializers(_init72, 184, this, true)), __runInitializers(_init72, 187, this);
|
|
57329
|
+
__privateAdd(this, _abortDisabledReason2, __runInitializers(_init72, 188, this, "")), __runInitializers(_init72, 191, this);
|
|
57330
|
+
__privateAdd(this, _queuedCount2, __runInitializers(_init72, 192, this, 0)), __runInitializers(_init72, 195, this);
|
|
57331
|
+
__privateAdd(this, _busyDeliveryModes2, __runInitializers(_init72, 196, this, ["queue"])), __runInitializers(_init72, 199, this);
|
|
57332
|
+
__privateAdd(this, _composerValue, __runInitializers(_init72, 200, this, "")), __runInitializers(_init72, 203, this);
|
|
57333
|
+
__privateAdd(this, _attachments2, __runInitializers(_init72, 204, this, [])), __runInitializers(_init72, 207, this);
|
|
57334
|
+
__privateAdd(this, _attachmentsEnabled2, __runInitializers(_init72, 208, this, true)), __runInitializers(_init72, 211, this);
|
|
57335
|
+
__privateAdd(this, _commands2, __runInitializers(_init72, 212, this, [])), __runInitializers(_init72, 215, this);
|
|
57336
|
+
__privateAdd(this, _starterPrompts2, __runInitializers(_init72, 216, this, [])), __runInitializers(_init72, 219, this);
|
|
57337
|
+
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init72, 220, this, Number.POSITIVE_INFINITY)), __runInitializers(_init72, 223, this);
|
|
57338
|
+
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init72, 224, this, harnessMaxAttachmentBytes)), __runInitializers(_init72, 227, this);
|
|
57339
|
+
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init72, 228, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init72, 231, this);
|
|
57340
|
+
__privateAdd(this, _attachmentAccept2, __runInitializers(_init72, 232, this, "")), __runInitializers(_init72, 235, this);
|
|
57341
|
+
__privateAdd(this, _account2, __runInitializers(_init72, 236, this, "")), __runInitializers(_init72, 239, this);
|
|
57342
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init72, 240, this, [])), __runInitializers(_init72, 243, this);
|
|
57343
|
+
__privateAdd(this, _accountNote2, __runInitializers(_init72, 244, this, "")), __runInitializers(_init72, 247, this);
|
|
57344
|
+
__privateAdd(this, _model2, __runInitializers(_init72, 248, this, "")), __runInitializers(_init72, 251, this);
|
|
57345
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init72, 252, this, [])), __runInitializers(_init72, 255, this);
|
|
57346
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init72, 256, this, "")), __runInitializers(_init72, 259, this);
|
|
57347
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init72, 260, this, [])), __runInitializers(_init72, 263, this);
|
|
57348
|
+
__privateAdd(this, _mode2, __runInitializers(_init72, 264, this, "")), __runInitializers(_init72, 267, this);
|
|
57349
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init72, 268, this, [])), __runInitializers(_init72, 271, this);
|
|
57350
|
+
__privateAdd(this, _menuActions2, __runInitializers(_init72, 272, this, [])), __runInitializers(_init72, 275, this);
|
|
57351
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init72, 276, this, DeesHarnessToolRegistry.default)), __runInitializers(_init72, 279, this);
|
|
57234
57352
|
/** Puts a chosen starter prompt into the composer as typing would, without sending it. */
|
|
57235
57353
|
__publicField(this, "handleStarterPrompt", /* @__PURE__ */ __name((event) => {
|
|
57236
57354
|
const prompt = event.detail?.prompt;
|
|
@@ -57334,7 +57452,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
57334
57452
|
}
|
|
57335
57453
|
get hasSessionSidebar() {
|
|
57336
57454
|
if (!this.showSessionSidebar) return false;
|
|
57337
|
-
return this.showTodosPanel && (this.todosAuthoritative || this.effectiveTodos.length > 0) || this.toolActivityMessages.length > 0 || Object.values(this.sessionMetrics).some((value) => value !== void 0) || this.scratchpad !== void 0 || this.attachedResources !== void 0 || this.sessionIntelligenceEnabled;
|
|
57455
|
+
return this.showTodosPanel && (this.todosAuthoritative || this.effectiveTodos.length > 0) || this.toolActivityMessages.length > 0 || Object.values(this.sessionMetrics).some((value) => value !== void 0) || this.scratchpad !== void 0 || this.attachedResources !== void 0 || this.workers !== void 0 || this.sessionIntelligenceEnabled;
|
|
57338
57456
|
}
|
|
57339
57457
|
get listElement() {
|
|
57340
57458
|
const element = this.shadowRoot?.querySelector("dees-harness-message-list");
|
|
@@ -57454,6 +57572,8 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
57454
57572
|
.scratchpadBusy=${this.scratchpadBusy}
|
|
57455
57573
|
.scratchpadError=${this.scratchpadError}
|
|
57456
57574
|
.attachedResources=${this.attachedResources}
|
|
57575
|
+
.workers=${this.workers}
|
|
57576
|
+
.selectedWorkerId=${this.selectedWorkerId}
|
|
57457
57577
|
.intelligenceEnabled=${this.sessionIntelligenceEnabled}
|
|
57458
57578
|
.intelligenceAvailabilityStatus=${this.intelligenceAvailabilityStatus}
|
|
57459
57579
|
.intelligenceUnavailableReason=${this.intelligenceUnavailableReason}
|
|
@@ -57608,6 +57728,8 @@ _scratchpad2 = new WeakMap();
|
|
|
57608
57728
|
_scratchpadBusy2 = new WeakMap();
|
|
57609
57729
|
_scratchpadError2 = new WeakMap();
|
|
57610
57730
|
_attachedResources2 = new WeakMap();
|
|
57731
|
+
_workers2 = new WeakMap();
|
|
57732
|
+
_selectedWorkerId2 = new WeakMap();
|
|
57611
57733
|
_sessionIntelligenceEnabled = new WeakMap();
|
|
57612
57734
|
_intelligenceAvailabilityStatus2 = new WeakMap();
|
|
57613
57735
|
_intelligenceUnavailableReason2 = new WeakMap();
|
|
@@ -57674,6 +57796,8 @@ __decorateElement(_init72, 4, "scratchpad", _scratchpad_dec2, _DeesHarnessChat,
|
|
|
57674
57796
|
__decorateElement(_init72, 4, "scratchpadBusy", _scratchpadBusy_dec2, _DeesHarnessChat, _scratchpadBusy2);
|
|
57675
57797
|
__decorateElement(_init72, 4, "scratchpadError", _scratchpadError_dec2, _DeesHarnessChat, _scratchpadError2);
|
|
57676
57798
|
__decorateElement(_init72, 4, "attachedResources", _attachedResources_dec2, _DeesHarnessChat, _attachedResources2);
|
|
57799
|
+
__decorateElement(_init72, 4, "workers", _workers_dec2, _DeesHarnessChat, _workers2);
|
|
57800
|
+
__decorateElement(_init72, 4, "selectedWorkerId", _selectedWorkerId_dec2, _DeesHarnessChat, _selectedWorkerId2);
|
|
57677
57801
|
__decorateElement(_init72, 4, "sessionIntelligenceEnabled", _sessionIntelligenceEnabled_dec, _DeesHarnessChat, _sessionIntelligenceEnabled);
|
|
57678
57802
|
__decorateElement(_init72, 4, "intelligenceAvailabilityStatus", _intelligenceAvailabilityStatus_dec2, _DeesHarnessChat, _intelligenceAvailabilityStatus2);
|
|
57679
57803
|
__decorateElement(_init72, 4, "intelligenceUnavailableReason", _intelligenceUnavailableReason_dec2, _DeesHarnessChat, _intelligenceUnavailableReason2);
|
|
@@ -73642,7 +73766,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
|
|
|
73642
73766
|
* cancelled. Focus returns to whatever had it when the picker opened.
|
|
73643
73767
|
*/
|
|
73644
73768
|
static async pick(optionsArg = {}) {
|
|
73645
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
73769
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-3GPKOPGS.js");
|
|
73646
73770
|
const picker = new _DeesHarnessConversationPicker();
|
|
73647
73771
|
picker.sessions = optionsArg.sessions ?? [];
|
|
73648
73772
|
picker.groups = optionsArg.groups ?? [];
|
|
@@ -74104,7 +74228,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
|
|
|
74104
74228
|
list.selectedResourceId = event.detail.resource.id;
|
|
74105
74229
|
}, "handleResourceContext");
|
|
74106
74230
|
var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
|
|
74107
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
74231
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-3GPKOPGS.js");
|
|
74108
74232
|
const content = document.createElement("dees-harness-session-list");
|
|
74109
74233
|
content.sessions = sessions;
|
|
74110
74234
|
content.groups = groups;
|
|
@@ -118684,7 +118808,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
118684
118808
|
this.terminalOpen = true;
|
|
118685
118809
|
const request = ++this.terminalRequest;
|
|
118686
118810
|
try {
|
|
118687
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
118811
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-SC2OYJI3.js");
|
|
118688
118812
|
await this.updateComplete;
|
|
118689
118813
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
118690
118814
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -125744,7 +125868,7 @@ var bright = {
|
|
|
125744
125868
|
// ts_web/00_commitinfo_data.ts
|
|
125745
125869
|
var commitinfo = {
|
|
125746
125870
|
name: "@design.estate/dees-catalog",
|
|
125747
|
-
version: "21.
|
|
125871
|
+
version: "21.51.0",
|
|
125748
125872
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
125749
125873
|
};
|
|
125750
125874
|
export {
|