@design.estate/dees-catalog 6.2.0 → 6.4.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 +301 -67
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-dataview/dees-dataview-codebox/dees-dataview-codebox.d.ts +9 -2
- package/dist_ts_web/elements/00group-dataview/dees-dataview-codebox/dees-dataview-codebox.js +133 -30
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.d.ts +3 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +24 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.d.ts +6 -4
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.demo.js +7 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.js +67 -6
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.d.ts +10 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.js +77 -9
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/renderers.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/renderers.js +31 -4
- package/dist_ts_web/elements/00group-harness/interfaces.d.ts +8 -0
- package/dist_ts_web/elements/00group-harness/toolregistry.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/toolregistry.js +1 -1
- package/package.json +1 -1
- package/readme.hints.md +2 -1
- package/readme.md +13 -6
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-dataview/dees-dataview-codebox/dees-dataview-codebox.ts +135 -31
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +13 -0
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.demo.ts +6 -0
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts +64 -5
- package/ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.ts +74 -7
- package/ts_web/elements/00group-harness/dees-harness-tool-card/renderers.ts +43 -4
- package/ts_web/elements/00group-harness/interfaces.ts +10 -0
- package/ts_web/elements/00group-harness/toolregistry.ts +7 -1
package/dist_bundle/bundle.js
CHANGED
|
@@ -166563,9 +166563,9 @@ init_dist_ts12();
|
|
|
166563
166563
|
init_services();
|
|
166564
166564
|
init_dees_tile();
|
|
166565
166565
|
init_dees_icon();
|
|
166566
|
-
var _highlightVersion_dec, _expandedFolds_dec, _copied_dec, _highlightedCode_dec, _diffView_dec, _unifiedDiff_dec, _codeBefore_dec, _codeToDisplay_dec, _filename_dec, _progLang_dec, _a63, _DeesDataviewCodebox_decorators, _init64, _progLang, _filename, _codeToDisplay, _codeBefore, _unifiedDiff, _diffView, _highlightedCode, _copied, _expandedFolds, _highlightVersion;
|
|
166566
|
+
var _highlightVersion_dec, _expandedFolds_dec, _copied_dec, _highlightedCode_dec, _showDiffLineNumbers_dec, _diffView_dec, _unifiedDiff_dec, _codeBefore_dec, _codeToDisplay_dec, _filename_dec, _progLang_dec, _a63, _DeesDataviewCodebox_decorators, _init64, _progLang, _filename, _codeToDisplay, _codeBefore, _unifiedDiff, _diffView, _showDiffLineNumbers, _highlightedCode, _copied, _expandedFolds, _highlightVersion;
|
|
166567
166567
|
_DeesDataviewCodebox_decorators = [customElement("dees-dataview-codebox")];
|
|
166568
|
-
var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElement, _progLang_dec = [n5()], _filename_dec = [n5()], _codeToDisplay_dec = [n5({ type: String })], _codeBefore_dec = [n5({ type: String })], _unifiedDiff_dec = [n5({ type: String })], _diffView_dec = [n5({ type: String })], _highlightedCode_dec = [r5()], _copied_dec = [r5()], _expandedFolds_dec = [r5()], _highlightVersion_dec = [r5()], _a63) {
|
|
166568
|
+
var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElement, _progLang_dec = [n5()], _filename_dec = [n5()], _codeToDisplay_dec = [n5({ type: String })], _codeBefore_dec = [n5({ type: String })], _unifiedDiff_dec = [n5({ type: String })], _diffView_dec = [n5({ type: String })], _showDiffLineNumbers_dec = [n5({ type: Boolean })], _highlightedCode_dec = [r5()], _copied_dec = [r5()], _expandedFolds_dec = [r5()], _highlightVersion_dec = [r5()], _a63) {
|
|
166569
166569
|
constructor() {
|
|
166570
166570
|
super(...arguments);
|
|
166571
166571
|
__privateAdd(this, _progLang, __runInitializers(_init64, 8, this, "typescript")), __runInitializers(_init64, 11, this);
|
|
@@ -166574,10 +166574,11 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166574
166574
|
__privateAdd(this, _codeBefore, __runInitializers(_init64, 20, this, "")), __runInitializers(_init64, 23, this);
|
|
166575
166575
|
__privateAdd(this, _unifiedDiff, __runInitializers(_init64, 24, this, "")), __runInitializers(_init64, 27, this);
|
|
166576
166576
|
__privateAdd(this, _diffView, __runInitializers(_init64, 28, this, "")), __runInitializers(_init64, 31, this);
|
|
166577
|
-
__privateAdd(this,
|
|
166578
|
-
__privateAdd(this,
|
|
166579
|
-
__privateAdd(this,
|
|
166580
|
-
__privateAdd(this,
|
|
166577
|
+
__privateAdd(this, _showDiffLineNumbers, __runInitializers(_init64, 32, this, true)), __runInitializers(_init64, 35, this);
|
|
166578
|
+
__privateAdd(this, _highlightedCode, __runInitializers(_init64, 36, this, "")), __runInitializers(_init64, 39, this);
|
|
166579
|
+
__privateAdd(this, _copied, __runInitializers(_init64, 40, this, false)), __runInitializers(_init64, 43, this);
|
|
166580
|
+
__privateAdd(this, _expandedFolds, __runInitializers(_init64, 44, this, /* @__PURE__ */ new Set())), __runInitializers(_init64, 47, this);
|
|
166581
|
+
__privateAdd(this, _highlightVersion, __runInitializers(_init64, 48, this, 0)), __runInitializers(_init64, 51, this);
|
|
166581
166582
|
__publicField(this, "processedCode", "");
|
|
166582
166583
|
__publicField(this, "highlightJs", null);
|
|
166583
166584
|
__publicField(this, "highlightToken", 0);
|
|
@@ -166639,6 +166640,22 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166639
166640
|
<div slot="header" class="appbar">
|
|
166640
166641
|
<div class="fileName">${this.filename}</div>
|
|
166641
166642
|
<div class="actions">
|
|
166643
|
+
${this.isDiffActive ? b2`
|
|
166644
|
+
<div class="viewToggle" role="group" aria-label="Diff layout">
|
|
166645
|
+
<button
|
|
166646
|
+
class="viewButton ${this.effectiveDiffView === "inline" ? "active" : ""}"
|
|
166647
|
+
type="button"
|
|
166648
|
+
aria-pressed=${String(this.effectiveDiffView === "inline")}
|
|
166649
|
+
@click=${() => this.setDiffView("inline")}
|
|
166650
|
+
>Inline</button>
|
|
166651
|
+
<button
|
|
166652
|
+
class="viewButton ${this.effectiveDiffView === "split" ? "active" : ""}"
|
|
166653
|
+
type="button"
|
|
166654
|
+
aria-pressed=${String(this.effectiveDiffView === "split")}
|
|
166655
|
+
@click=${() => this.setDiffView("split")}
|
|
166656
|
+
>Split</button>
|
|
166657
|
+
</div>
|
|
166658
|
+
` : ""}
|
|
166642
166659
|
<div
|
|
166643
166660
|
class="copyButton ${this.copied ? "copied" : ""}"
|
|
166644
166661
|
title="Copy code"
|
|
@@ -166682,15 +166699,11 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166682
166699
|
}
|
|
166683
166700
|
renderDiff() {
|
|
166684
166701
|
const displayRows = this.displayRowsWithFolds();
|
|
166685
|
-
return b2
|
|
166686
|
-
<div class="diffScroll">
|
|
166687
|
-
${this.effectiveDiffView === "split" ? this.renderSplitGrid(displayRows) : this.renderInlineGrid(displayRows)}
|
|
166688
|
-
</div>
|
|
166689
|
-
`;
|
|
166702
|
+
return this.effectiveDiffView === "split" ? this.renderSplitGrid(displayRows) : b2`<div class="diffScroll">${this.renderInlineGrid(displayRows)}</div>`;
|
|
166690
166703
|
}
|
|
166691
166704
|
renderInlineGrid(displayRows) {
|
|
166692
166705
|
return b2`
|
|
166693
|
-
<div class="diffGrid inline">
|
|
166706
|
+
<div class="diffGrid inline ${this.showDiffLineNumbers ? "" : "withoutLineNumbers"}">
|
|
166694
166707
|
${displayRows.map((displayRow) => {
|
|
166695
166708
|
if (displayRow.kind === "fold") {
|
|
166696
166709
|
return this.renderFoldRow(displayRow.rows.length, displayRow.ordinal ?? 0);
|
|
@@ -166700,8 +166713,10 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166700
166713
|
}
|
|
166701
166714
|
const rowClass = displayRow.kind === "add" ? "row-add" : displayRow.kind === "remove" ? "row-remove" : "";
|
|
166702
166715
|
return b2`
|
|
166703
|
-
|
|
166704
|
-
|
|
166716
|
+
${this.showDiffLineNumbers ? b2`
|
|
166717
|
+
<div class="diffNum ${rowClass}">${displayRow.oldLine ?? ""}</div>
|
|
166718
|
+
<div class="diffNum ${rowClass}">${displayRow.newLine ?? ""}</div>
|
|
166719
|
+
` : ""}
|
|
166705
166720
|
<div class="diffSign ${rowClass}">${displayRow.kind === "add" ? "+" : displayRow.kind === "remove" ? "\u2212" : ""}</div>
|
|
166706
166721
|
<div class="diffText ${rowClass}">${this.renderDiffLine(displayRow.text, displayRow.segments, displayRow.kind)}</div>
|
|
166707
166722
|
`;
|
|
@@ -166710,17 +166725,17 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166710
166725
|
`;
|
|
166711
166726
|
}
|
|
166712
166727
|
renderSplitGrid(displayRows) {
|
|
166713
|
-
const
|
|
166728
|
+
const leftRendered = [];
|
|
166729
|
+
const rightRendered = [];
|
|
166714
166730
|
let run3 = [];
|
|
166715
166731
|
const flushRun = /* @__PURE__ */ __name(() => {
|
|
166716
166732
|
for (const splitRow of buildSplitRows(run3)) {
|
|
166717
166733
|
if (splitRow.kind === "hunk") {
|
|
166718
|
-
|
|
166734
|
+
leftRendered.push(b2`<div class="diffHunk">${splitRow.text}</div>`);
|
|
166735
|
+
rightRendered.push(b2`<div class="diffHunk">${splitRow.text}</div>`);
|
|
166719
166736
|
} else {
|
|
166720
|
-
|
|
166721
|
-
|
|
166722
|
-
${this.renderSplitCell(splitRow.right, "right")}
|
|
166723
|
-
`);
|
|
166737
|
+
leftRendered.push(this.renderSplitCell(splitRow.left));
|
|
166738
|
+
rightRendered.push(this.renderSplitCell(splitRow.right));
|
|
166724
166739
|
}
|
|
166725
166740
|
}
|
|
166726
166741
|
run3 = [];
|
|
@@ -166728,26 +166743,37 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166728
166743
|
for (const displayRow of displayRows) {
|
|
166729
166744
|
if (displayRow.kind === "fold") {
|
|
166730
166745
|
flushRun();
|
|
166731
|
-
|
|
166746
|
+
leftRendered.push(this.renderFoldRow(displayRow.rows.length, displayRow.ordinal ?? 0));
|
|
166747
|
+
rightRendered.push(this.renderFoldRow(displayRow.rows.length, displayRow.ordinal ?? 0));
|
|
166732
166748
|
} else {
|
|
166733
166749
|
run3.push(displayRow);
|
|
166734
166750
|
}
|
|
166735
166751
|
}
|
|
166736
166752
|
flushRun();
|
|
166737
|
-
|
|
166753
|
+
const lineNumberClass = this.showDiffLineNumbers ? "" : "withoutLineNumbers";
|
|
166754
|
+
return b2`
|
|
166755
|
+
<div class="diffSplit">
|
|
166756
|
+
<div class="diffSplitPane" data-side="left" aria-label="Before">
|
|
166757
|
+
<div class="diffGrid splitSide ${lineNumberClass}">${leftRendered}</div>
|
|
166758
|
+
</div>
|
|
166759
|
+
<div class="diffSplitDivider" aria-hidden="true"></div>
|
|
166760
|
+
<div class="diffSplitPane" data-side="right" aria-label="After">
|
|
166761
|
+
<div class="diffGrid splitSide ${lineNumberClass}">${rightRendered}</div>
|
|
166762
|
+
</div>
|
|
166763
|
+
</div>
|
|
166764
|
+
`;
|
|
166738
166765
|
}
|
|
166739
|
-
renderSplitCell(cell2
|
|
166740
|
-
const separatorClass = side === "right" ? "diffSplitSep" : "";
|
|
166766
|
+
renderSplitCell(cell2) {
|
|
166741
166767
|
if (!cell2) {
|
|
166742
166768
|
return b2`
|
|
166743
|
-
|
|
166769
|
+
${this.showDiffLineNumbers ? b2`<div class="diffNum row-filler"></div>` : ""}
|
|
166744
166770
|
<div class="diffSign row-filler"></div>
|
|
166745
166771
|
<div class="diffText row-filler"></div>
|
|
166746
166772
|
`;
|
|
166747
166773
|
}
|
|
166748
166774
|
const rowClass = cell2.kind === "add" ? "row-add" : cell2.kind === "remove" ? "row-remove" : "";
|
|
166749
166775
|
return b2`
|
|
166750
|
-
|
|
166776
|
+
${this.showDiffLineNumbers ? b2`<div class="diffNum ${rowClass}">${cell2.line || ""}</div>` : ""}
|
|
166751
166777
|
<div class="diffSign ${rowClass}">${cell2.kind === "add" ? "+" : cell2.kind === "remove" ? "\u2212" : ""}</div>
|
|
166752
166778
|
<div class="diffText ${rowClass}">${this.renderDiffLine(cell2.text, cell2.segments, cell2.kind)}</div>
|
|
166753
166779
|
`;
|
|
@@ -166785,6 +166811,15 @@ var _DeesDataviewCodebox = class _DeesDataviewCodebox extends (_a63 = DeesElemen
|
|
|
166785
166811
|
get effectiveDiffView() {
|
|
166786
166812
|
return this.diffView === "split" ? "split" : "inline";
|
|
166787
166813
|
}
|
|
166814
|
+
setDiffView(diffViewArg) {
|
|
166815
|
+
if (this.effectiveDiffView === diffViewArg) return;
|
|
166816
|
+
this.diffView = diffViewArg;
|
|
166817
|
+
this.dispatchEvent(new CustomEvent("diff-view-change", {
|
|
166818
|
+
detail: { diffView: diffViewArg },
|
|
166819
|
+
bubbles: true,
|
|
166820
|
+
composed: true
|
|
166821
|
+
}));
|
|
166822
|
+
}
|
|
166788
166823
|
willUpdate(changedProperties) {
|
|
166789
166824
|
super.willUpdate(changedProperties);
|
|
166790
166825
|
if (changedProperties.has("codeToDisplay")) {
|
|
@@ -166913,6 +166948,7 @@ _codeToDisplay = new WeakMap();
|
|
|
166913
166948
|
_codeBefore = new WeakMap();
|
|
166914
166949
|
_unifiedDiff = new WeakMap();
|
|
166915
166950
|
_diffView = new WeakMap();
|
|
166951
|
+
_showDiffLineNumbers = new WeakMap();
|
|
166916
166952
|
_highlightedCode = new WeakMap();
|
|
166917
166953
|
_copied = new WeakMap();
|
|
166918
166954
|
_expandedFolds = new WeakMap();
|
|
@@ -166923,6 +166959,7 @@ __decorateElement(_init64, 4, "codeToDisplay", _codeToDisplay_dec, _DeesDataview
|
|
|
166923
166959
|
__decorateElement(_init64, 4, "codeBefore", _codeBefore_dec, _DeesDataviewCodebox, _codeBefore);
|
|
166924
166960
|
__decorateElement(_init64, 4, "unifiedDiff", _unifiedDiff_dec, _DeesDataviewCodebox, _unifiedDiff);
|
|
166925
166961
|
__decorateElement(_init64, 4, "diffView", _diffView_dec, _DeesDataviewCodebox, _diffView);
|
|
166962
|
+
__decorateElement(_init64, 4, "showDiffLineNumbers", _showDiffLineNumbers_dec, _DeesDataviewCodebox, _showDiffLineNumbers);
|
|
166926
166963
|
__decorateElement(_init64, 4, "highlightedCode", _highlightedCode_dec, _DeesDataviewCodebox, _highlightedCode);
|
|
166927
166964
|
__decorateElement(_init64, 4, "copied", _copied_dec, _DeesDataviewCodebox, _copied);
|
|
166928
166965
|
__decorateElement(_init64, 4, "expandedFolds", _expandedFolds_dec, _DeesDataviewCodebox, _expandedFolds);
|
|
@@ -166971,9 +167008,40 @@ __publicField(_DeesDataviewCodebox, "styles", [
|
|
|
166971
167008
|
.appbar .actions {
|
|
166972
167009
|
grid-column: 3;
|
|
166973
167010
|
display: flex;
|
|
167011
|
+
align-items: center;
|
|
167012
|
+
gap: var(--dees-spacing-sm);
|
|
166974
167013
|
justify-content: flex-end;
|
|
166975
167014
|
}
|
|
166976
167015
|
|
|
167016
|
+
.viewToggle {
|
|
167017
|
+
display: flex;
|
|
167018
|
+
padding: 2px;
|
|
167019
|
+
border: 1px solid var(--dees-color-border-subtle);
|
|
167020
|
+
border-radius: var(--dees-radius-md);
|
|
167021
|
+
background: var(--dees-color-bg-tertiary);
|
|
167022
|
+
}
|
|
167023
|
+
|
|
167024
|
+
.viewButton {
|
|
167025
|
+
padding: 3px 7px;
|
|
167026
|
+
border: 0;
|
|
167027
|
+
border-radius: calc(var(--dees-radius-md) - 2px);
|
|
167028
|
+
background: transparent;
|
|
167029
|
+
color: var(--dees-color-text-muted);
|
|
167030
|
+
cursor: pointer;
|
|
167031
|
+
font: inherit;
|
|
167032
|
+
font-size: var(--dees-font-caption2-size);
|
|
167033
|
+
line-height: 1.2;
|
|
167034
|
+
}
|
|
167035
|
+
|
|
167036
|
+
.viewButton:hover {
|
|
167037
|
+
color: var(--dees-color-text-primary);
|
|
167038
|
+
}
|
|
167039
|
+
|
|
167040
|
+
.viewButton.active {
|
|
167041
|
+
background: var(--dees-color-active);
|
|
167042
|
+
color: var(--dees-color-text-primary);
|
|
167043
|
+
}
|
|
167044
|
+
|
|
166977
167045
|
.copyButton {
|
|
166978
167046
|
display: flex;
|
|
166979
167047
|
align-items: center;
|
|
@@ -167095,8 +167163,37 @@ __publicField(_DeesDataviewCodebox, "styles", [
|
|
|
167095
167163
|
grid-template-columns: minmax(3ch, auto) minmax(3ch, auto) 2ch minmax(0, 1fr);
|
|
167096
167164
|
}
|
|
167097
167165
|
|
|
167098
|
-
.diffGrid.
|
|
167099
|
-
grid-template-columns:
|
|
167166
|
+
.diffGrid.inline.withoutLineNumbers {
|
|
167167
|
+
grid-template-columns: 2ch minmax(0, 1fr);
|
|
167168
|
+
}
|
|
167169
|
+
|
|
167170
|
+
.diffSplit {
|
|
167171
|
+
display: grid;
|
|
167172
|
+
grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
|
|
167173
|
+
align-items: start;
|
|
167174
|
+
min-width: 0;
|
|
167175
|
+
padding: var(--dees-spacing-sm) 0;
|
|
167176
|
+
}
|
|
167177
|
+
|
|
167178
|
+
.diffSplitDivider {
|
|
167179
|
+
align-self: stretch;
|
|
167180
|
+
background: var(--dees-color-border-default);
|
|
167181
|
+
}
|
|
167182
|
+
|
|
167183
|
+
.diffSplitPane {
|
|
167184
|
+
min-width: 0;
|
|
167185
|
+
overflow-x: auto;
|
|
167186
|
+
overflow-y: hidden;
|
|
167187
|
+
scrollbar-width: thin;
|
|
167188
|
+
scrollbar-color: var(--dees-color-scrollbar-thumb) transparent;
|
|
167189
|
+
}
|
|
167190
|
+
|
|
167191
|
+
.diffGrid.splitSide {
|
|
167192
|
+
grid-template-columns: minmax(3ch, auto) 2ch minmax(24ch, 1fr);
|
|
167193
|
+
}
|
|
167194
|
+
|
|
167195
|
+
.diffGrid.splitSide.withoutLineNumbers {
|
|
167196
|
+
grid-template-columns: 2ch minmax(24ch, 1fr);
|
|
167100
167197
|
}
|
|
167101
167198
|
|
|
167102
167199
|
.diffGrid > div {
|
|
@@ -167184,10 +167281,6 @@ __publicField(_DeesDataviewCodebox, "styles", [
|
|
|
167184
167281
|
color: var(--dees-color-link-hover);
|
|
167185
167282
|
}
|
|
167186
167283
|
|
|
167187
|
-
.diffSplitSep {
|
|
167188
|
-
border-left: 1px solid var(--dees-color-border-subtle);
|
|
167189
|
-
}
|
|
167190
|
-
|
|
167191
167284
|
.diffStat {
|
|
167192
167285
|
font-weight: 600;
|
|
167193
167286
|
}
|
|
@@ -175959,11 +176052,14 @@ var parseApplyPatch = /* @__PURE__ */ __name((patchText) => {
|
|
|
175959
176052
|
let current = null;
|
|
175960
176053
|
const flush = /* @__PURE__ */ __name(() => {
|
|
175961
176054
|
if (!current) return;
|
|
176055
|
+
const unifiedDiff = current.op === "update" && current.sawHunk && current.lineNumbersKnown ? [`--- a/${current.path}`, `+++ b/${current.path}`, ...current.patch].join("\n") : void 0;
|
|
175962
176056
|
files.push({
|
|
175963
176057
|
op: current.op,
|
|
175964
176058
|
path: current.path,
|
|
175965
176059
|
before: current.before.join("\n"),
|
|
175966
|
-
after: current.after.join("\n")
|
|
176060
|
+
after: current.after.join("\n"),
|
|
176061
|
+
unifiedDiff,
|
|
176062
|
+
lineNumbersKnown: Boolean(unifiedDiff)
|
|
175967
176063
|
});
|
|
175968
176064
|
current = null;
|
|
175969
176065
|
}, "flush");
|
|
@@ -175975,16 +176071,28 @@ var parseApplyPatch = /* @__PURE__ */ __name((patchText) => {
|
|
|
175975
176071
|
op: header[1].toLowerCase(),
|
|
175976
176072
|
path: header[2].trim(),
|
|
175977
176073
|
before: [],
|
|
175978
|
-
after: []
|
|
176074
|
+
after: [],
|
|
176075
|
+
patch: [],
|
|
176076
|
+
sawHunk: false,
|
|
176077
|
+
lineNumbersKnown: true
|
|
175979
176078
|
};
|
|
175980
176079
|
continue;
|
|
175981
176080
|
}
|
|
175982
|
-
if (/^\*\*\* (Begin|End) Patch/.test(line) || /^\*\*\* Move to: /.test(line)) {
|
|
176081
|
+
if (/^\*\*\* (Begin|End) Patch/.test(line) || line === "*** End of File" || /^\*\*\* Move to: /.test(line)) {
|
|
175983
176082
|
if (/End Patch/.test(line)) flush();
|
|
175984
176083
|
continue;
|
|
175985
176084
|
}
|
|
175986
176085
|
if (!current) continue;
|
|
175987
|
-
if (line.startsWith("@@"))
|
|
176086
|
+
if (line.startsWith("@@")) {
|
|
176087
|
+
current.sawHunk = true;
|
|
176088
|
+
if (/^@@ -\d+(?:,\d+)? \+\d+(?:,\d+)? @@/.test(line)) {
|
|
176089
|
+
current.patch.push(line);
|
|
176090
|
+
} else {
|
|
176091
|
+
current.lineNumbersKnown = false;
|
|
176092
|
+
}
|
|
176093
|
+
continue;
|
|
176094
|
+
}
|
|
176095
|
+
current.patch.push(line);
|
|
175988
176096
|
if (line.startsWith("+")) {
|
|
175989
176097
|
current.after.push(line.slice(1));
|
|
175990
176098
|
} else if (line.startsWith("-")) {
|
|
@@ -176051,7 +176159,9 @@ var renderFileWrite = /* @__PURE__ */ __name((call, helpers) => {
|
|
|
176051
176159
|
return helpers.diffBlock(file.before, file.after, {
|
|
176052
176160
|
language: patchLanguage,
|
|
176053
176161
|
filename: patchFilename,
|
|
176054
|
-
view: "split"
|
|
176162
|
+
view: "split",
|
|
176163
|
+
unifiedDiff: file.unifiedDiff,
|
|
176164
|
+
showLineNumbers: file.lineNumbersKnown
|
|
176055
176165
|
});
|
|
176056
176166
|
}
|
|
176057
176167
|
if (file.op === "add") {
|
|
@@ -176071,7 +176181,13 @@ var renderFileWrite = /* @__PURE__ */ __name((call, helpers) => {
|
|
|
176071
176181
|
const filename = path2.split("/").pop() || void 0;
|
|
176072
176182
|
const language = harnessLanguageForPath(path2);
|
|
176073
176183
|
if (previousContent) {
|
|
176074
|
-
|
|
176184
|
+
const isStringReplacement = input.oldString !== void 0 || input.old_string !== void 0;
|
|
176185
|
+
return helpers.diffBlock(previousContent, newContent, {
|
|
176186
|
+
language,
|
|
176187
|
+
filename,
|
|
176188
|
+
view: "split",
|
|
176189
|
+
showLineNumbers: !isStringReplacement
|
|
176190
|
+
});
|
|
176075
176191
|
}
|
|
176076
176192
|
if (newContent) {
|
|
176077
176193
|
return helpers.codeBlock(newContent, language, filename);
|
|
@@ -176546,9 +176662,9 @@ var DeesHarnessToolFullscreen = _DeesHarnessToolFullscreen;
|
|
|
176546
176662
|
init_dist_ts26();
|
|
176547
176663
|
init_theme();
|
|
176548
176664
|
init_dees_icon();
|
|
176549
|
-
var _outcomeScanTone_dec, _returnFlash_dec, _bodyOverflowing_dec, _uncapped_dec, _bodyCapPx_dec, _bodyMounted_dec, _outputExpanded_dec, _expanded_dec2, _allowSubtaskStreams_dec, _toolRegistry_dec2, _call_dec2, _a81, _DeesHarnessToolCard_decorators, _init82, _call2, _toolRegistry2, _allowSubtaskStreams, _expanded2, _outputExpanded, _bodyMounted, _bodyCapPx, _uncapped, _bodyOverflowing, _returnFlash, _outcomeScanTone;
|
|
176665
|
+
var _diffViewOverride_dec, _outcomeScanTone_dec, _returnFlash_dec, _bodyOverflowing_dec, _uncapped_dec, _bodyCapPx_dec, _bodyMounted_dec, _outputExpanded_dec, _expanded_dec2, _allowSubtaskStreams_dec, _toolRegistry_dec2, _call_dec2, _a81, _DeesHarnessToolCard_decorators, _init82, _call2, _toolRegistry2, _allowSubtaskStreams, _expanded2, _outputExpanded, _bodyMounted, _bodyCapPx, _uncapped, _bodyOverflowing, _returnFlash, _outcomeScanTone, _diffViewOverride;
|
|
176550
176666
|
_DeesHarnessToolCard_decorators = [customElement("dees-harness-tool-card")];
|
|
176551
|
-
var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElement, _call_dec2 = [n5({ attribute: false })], _toolRegistry_dec2 = [n5({ attribute: false })], _allowSubtaskStreams_dec = [n5({ type: Boolean })], _expanded_dec2 = [r5()], _outputExpanded_dec = [r5()], _bodyMounted_dec = [r5()], _bodyCapPx_dec = [n5({ type: Number })], _uncapped_dec = [n5({ type: Boolean })], _bodyOverflowing_dec = [r5()], _returnFlash_dec = [r5()], _outcomeScanTone_dec = [r5()], _a81) {
|
|
176667
|
+
var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElement, _call_dec2 = [n5({ attribute: false })], _toolRegistry_dec2 = [n5({ attribute: false })], _allowSubtaskStreams_dec = [n5({ type: Boolean })], _expanded_dec2 = [r5()], _outputExpanded_dec = [r5()], _bodyMounted_dec = [r5()], _bodyCapPx_dec = [n5({ type: Number })], _uncapped_dec = [n5({ type: Boolean })], _bodyOverflowing_dec = [r5()], _returnFlash_dec = [r5()], _outcomeScanTone_dec = [r5()], _diffViewOverride_dec = [r5()], _a81) {
|
|
176552
176668
|
constructor() {
|
|
176553
176669
|
super(...arguments);
|
|
176554
176670
|
__privateAdd(this, _call2, __runInitializers(_init82, 8, this, { id: "", name: "", status: "pending" })), __runInitializers(_init82, 11, this);
|
|
@@ -176562,12 +176678,16 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176562
176678
|
__privateAdd(this, _bodyOverflowing, __runInitializers(_init82, 40, this, false)), __runInitializers(_init82, 43, this);
|
|
176563
176679
|
__privateAdd(this, _returnFlash, __runInitializers(_init82, 44, this, false)), __runInitializers(_init82, 47, this);
|
|
176564
176680
|
__privateAdd(this, _outcomeScanTone, __runInitializers(_init82, 48, this, null)), __runInitializers(_init82, 51, this);
|
|
176681
|
+
__privateAdd(this, _diffViewOverride, __runInitializers(_init82, 52, this, null)), __runInitializers(_init82, 55, this);
|
|
176565
176682
|
__publicField(this, "bodyResizeObserver", null);
|
|
176566
176683
|
__publicField(this, "observedBodyInner", null);
|
|
176567
176684
|
__publicField(this, "fullscreenPortal", null);
|
|
176568
176685
|
__publicField(this, "disclosureFrame", null);
|
|
176569
176686
|
__publicField(this, "subtaskResultElement", null);
|
|
176570
176687
|
__publicField(this, "subtaskResultResizeObserver", null);
|
|
176688
|
+
__publicField(this, "terminalTailFollowing", true);
|
|
176689
|
+
__publicField(this, "terminalTailReturnTimeout", null);
|
|
176690
|
+
__publicField(this, "terminalTailReturnDelayMs", 5e3);
|
|
176571
176691
|
__publicField(this, "toggleDisclosure", /* @__PURE__ */ __name(() => {
|
|
176572
176692
|
if (this.isOpen) {
|
|
176573
176693
|
if (this.disclosureFrame !== null) cancelAnimationFrame(this.disclosureFrame);
|
|
@@ -176621,6 +176741,29 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176621
176741
|
this.scrollIntoView({ block: "center", behavior: "smooth" });
|
|
176622
176742
|
});
|
|
176623
176743
|
}, "closeFullscreen"));
|
|
176744
|
+
__publicField(this, "handleBodyScroll", /* @__PURE__ */ __name((eventArg) => {
|
|
176745
|
+
if (this.descriptor.kind !== "terminal" || this.uncapped) return;
|
|
176746
|
+
const frame = eventArg.currentTarget;
|
|
176747
|
+
this.terminalTailFollowing = frame.scrollHeight - frame.scrollTop - frame.clientHeight <= 2;
|
|
176748
|
+
if (this.terminalTailFollowing) this.cancelTerminalTailReturn();
|
|
176749
|
+
}, "handleBodyScroll"));
|
|
176750
|
+
__publicField(this, "scheduleTerminalTailReturn", /* @__PURE__ */ __name(() => {
|
|
176751
|
+
if (this.descriptor.kind !== "terminal" || this.terminalTailFollowing || this.uncapped) return;
|
|
176752
|
+
this.cancelTerminalTailReturn();
|
|
176753
|
+
this.terminalTailReturnTimeout = setTimeout(() => {
|
|
176754
|
+
this.terminalTailReturnTimeout = null;
|
|
176755
|
+
this.terminalTailFollowing = true;
|
|
176756
|
+
this.scrollTerminalToTail();
|
|
176757
|
+
}, this.terminalTailReturnDelayMs);
|
|
176758
|
+
}, "scheduleTerminalTailReturn"));
|
|
176759
|
+
__publicField(this, "cancelTerminalTailReturn", /* @__PURE__ */ __name(() => {
|
|
176760
|
+
if (!this.terminalTailReturnTimeout) return;
|
|
176761
|
+
clearTimeout(this.terminalTailReturnTimeout);
|
|
176762
|
+
this.terminalTailReturnTimeout = null;
|
|
176763
|
+
}, "cancelTerminalTailReturn"));
|
|
176764
|
+
__publicField(this, "handleDiffViewChange", /* @__PURE__ */ __name((eventArg) => {
|
|
176765
|
+
this.diffViewOverride = eventArg.detail.diffView;
|
|
176766
|
+
}, "handleDiffViewChange"));
|
|
176624
176767
|
__publicField(this, "syncSubtaskResultScroll", /* @__PURE__ */ __name(() => {
|
|
176625
176768
|
const result = this.subtaskResultElement;
|
|
176626
176769
|
if (!result) return;
|
|
@@ -176671,6 +176814,8 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176671
176814
|
const duration = harnessFormatDuration(call.startedAt, call.finishedAt);
|
|
176672
176815
|
return b2`
|
|
176673
176816
|
<div class="harness-card status-${effectiveStatus} ${descriptor.destructive ? "destructive" : ""} ${this.hasSubtaskPreview ? "subtaskPreviewCard" : ""} ${this.hasSubtaskPreview && open ? "subtaskPreviewOpen" : ""} ${this.returnFlash ? "returnFlash" : ""} ${this.outcomeScanTone ? `outcomeScan outcomeScan-${this.outcomeScanTone}` : ""}"
|
|
176817
|
+
@mouseenter=${this.cancelTerminalTailReturn}
|
|
176818
|
+
@mouseleave=${this.scheduleTerminalTailReturn}
|
|
176674
176819
|
@animationend=${(event) => {
|
|
176675
176820
|
if (event.animationName === "harness-card-return-flash") {
|
|
176676
176821
|
this.endReturnFlash();
|
|
@@ -176710,6 +176855,7 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176710
176855
|
<div
|
|
176711
176856
|
class="bodyClipFrame"
|
|
176712
176857
|
style=${this.uncapped || this.activeSubtaskPreview ? "" : `max-height: ${this.bodyCapPx}px;`}
|
|
176858
|
+
@scroll=${this.handleBodyScroll}
|
|
176713
176859
|
>
|
|
176714
176860
|
<div class=${`body bodyInner ${this.hasLiveSubtaskPreview ? "liveSubtaskBody" : ""}`}>
|
|
176715
176861
|
${this.renderBody(call)}
|
|
@@ -176755,7 +176901,13 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176755
176901
|
willUpdate(changedProperties) {
|
|
176756
176902
|
super.willUpdate(changedProperties);
|
|
176757
176903
|
const previousCall = changedProperties.get("call");
|
|
176758
|
-
if (!previousCall
|
|
176904
|
+
if (!previousCall) return;
|
|
176905
|
+
if (previousCall.id !== this.call.id) {
|
|
176906
|
+
this.diffViewOverride = null;
|
|
176907
|
+
this.terminalTailFollowing = true;
|
|
176908
|
+
this.cancelTerminalTailReturn();
|
|
176909
|
+
return;
|
|
176910
|
+
}
|
|
176759
176911
|
const previousStatus = harnessEffectiveToolStatus(previousCall);
|
|
176760
176912
|
const currentStatus = harnessEffectiveToolStatus(this.call);
|
|
176761
176913
|
const wasActive = previousStatus === "pending" || previousStatus === "running";
|
|
@@ -176781,7 +176933,12 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176781
176933
|
return;
|
|
176782
176934
|
}
|
|
176783
176935
|
const bodyInner = this.shadowRoot?.querySelector(".bodyInner") ?? null;
|
|
176784
|
-
if (bodyInner === this.observedBodyInner)
|
|
176936
|
+
if (bodyInner === this.observedBodyInner) {
|
|
176937
|
+
if ((changedProperties.has("call") || changedProperties.has("bodyCapPx")) && this.terminalTailFollowing) {
|
|
176938
|
+
this.scrollTerminalToTail();
|
|
176939
|
+
}
|
|
176940
|
+
return;
|
|
176941
|
+
}
|
|
176785
176942
|
this.bodyResizeObserver?.disconnect();
|
|
176786
176943
|
this.observedBodyInner = bodyInner;
|
|
176787
176944
|
if (!bodyInner) {
|
|
@@ -176792,8 +176949,16 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176792
176949
|
const inner = this.observedBodyInner;
|
|
176793
176950
|
if (!inner) return;
|
|
176794
176951
|
this.bodyOverflowing = inner.scrollHeight > this.bodyCapPx + 24;
|
|
176952
|
+
if (this.terminalTailFollowing) this.scrollTerminalToTail();
|
|
176795
176953
|
});
|
|
176796
176954
|
this.bodyResizeObserver.observe(bodyInner);
|
|
176955
|
+
if (this.terminalTailFollowing) this.scrollTerminalToTail();
|
|
176956
|
+
}
|
|
176957
|
+
scrollTerminalToTail() {
|
|
176958
|
+
if (this.descriptor.kind !== "terminal" || this.uncapped || !this.isOpen) return;
|
|
176959
|
+
const frame = this.shadowRoot?.querySelector(".bodyClipFrame");
|
|
176960
|
+
if (!frame) return;
|
|
176961
|
+
frame.scrollTop = frame.scrollHeight;
|
|
176797
176962
|
}
|
|
176798
176963
|
connectSubtaskResultScroll() {
|
|
176799
176964
|
const nextResult = this.shadowRoot?.querySelector(
|
|
@@ -176830,6 +176995,7 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176830
176995
|
clearTimeout(this.outcomeScanFallbackTimeout);
|
|
176831
176996
|
this.outcomeScanFallbackTimeout = null;
|
|
176832
176997
|
}
|
|
176998
|
+
this.cancelTerminalTailReturn();
|
|
176833
176999
|
this.fullscreenPortal?.remove();
|
|
176834
177000
|
this.fullscreenPortal = null;
|
|
176835
177001
|
this.bodyResizeObserver?.disconnect();
|
|
@@ -176942,9 +177108,12 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a81 = DeesElemen
|
|
|
176942
177108
|
<dees-dataview-codebox
|
|
176943
177109
|
.progLang=${options2?.language ?? "plaintext"}
|
|
176944
177110
|
.filename=${options2?.filename ?? ""}
|
|
176945
|
-
.diffView=${options2?.view ?? "inline"}
|
|
177111
|
+
.diffView=${this.diffViewOverride ?? options2?.view ?? "inline"}
|
|
177112
|
+
.unifiedDiff=${options2?.unifiedDiff ?? ""}
|
|
177113
|
+
.showDiffLineNumbers=${options2?.showLineNumbers ?? true}
|
|
176946
177114
|
.codeBefore=${before}
|
|
176947
177115
|
.codeToDisplay=${after}
|
|
177116
|
+
@diff-view-change=${this.handleDiffViewChange}
|
|
176948
177117
|
></dees-dataview-codebox>
|
|
176949
177118
|
`, "diffBlock"),
|
|
176950
177119
|
monoBlock: /* @__PURE__ */ __name((text8, options2) => {
|
|
@@ -176994,6 +177163,7 @@ _uncapped = new WeakMap();
|
|
|
176994
177163
|
_bodyOverflowing = new WeakMap();
|
|
176995
177164
|
_returnFlash = new WeakMap();
|
|
176996
177165
|
_outcomeScanTone = new WeakMap();
|
|
177166
|
+
_diffViewOverride = new WeakMap();
|
|
176997
177167
|
__decorateElement(_init82, 4, "call", _call_dec2, _DeesHarnessToolCard, _call2);
|
|
176998
177168
|
__decorateElement(_init82, 4, "toolRegistry", _toolRegistry_dec2, _DeesHarnessToolCard, _toolRegistry2);
|
|
176999
177169
|
__decorateElement(_init82, 4, "allowSubtaskStreams", _allowSubtaskStreams_dec, _DeesHarnessToolCard, _allowSubtaskStreams);
|
|
@@ -177005,6 +177175,7 @@ __decorateElement(_init82, 4, "uncapped", _uncapped_dec, _DeesHarnessToolCard, _
|
|
|
177005
177175
|
__decorateElement(_init82, 4, "bodyOverflowing", _bodyOverflowing_dec, _DeesHarnessToolCard, _bodyOverflowing);
|
|
177006
177176
|
__decorateElement(_init82, 4, "returnFlash", _returnFlash_dec, _DeesHarnessToolCard, _returnFlash);
|
|
177007
177177
|
__decorateElement(_init82, 4, "outcomeScanTone", _outcomeScanTone_dec, _DeesHarnessToolCard, _outcomeScanTone);
|
|
177178
|
+
__decorateElement(_init82, 4, "diffViewOverride", _diffViewOverride_dec, _DeesHarnessToolCard, _diffViewOverride);
|
|
177008
177179
|
_DeesHarnessToolCard = __decorateElement(_init82, 0, "DeesHarnessToolCard", _DeesHarnessToolCard_decorators, _DeesHarnessToolCard);
|
|
177009
177180
|
__name(_DeesHarnessToolCard, "DeesHarnessToolCard");
|
|
177010
177181
|
__publicField(_DeesHarnessToolCard, "demo", demoFunc56);
|
|
@@ -177407,7 +177578,7 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
177407
177578
|
border: 1px solid var(--dees-color-border-subtle);
|
|
177408
177579
|
border-radius: var(--dees-radius-md);
|
|
177409
177580
|
corner-shape: var(--dees-corner-shape);
|
|
177410
|
-
background:
|
|
177581
|
+
background: #0c0c0e;
|
|
177411
177582
|
overflow: hidden;
|
|
177412
177583
|
font-family: var(--dees-font-family-mono);
|
|
177413
177584
|
font-size: var(--dees-font-control-size-sm, 12px);
|
|
@@ -177417,7 +177588,7 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
177417
177588
|
.harness-terminal-command {
|
|
177418
177589
|
padding: var(--dees-spacing-xs) var(--dees-spacing-md);
|
|
177419
177590
|
border-bottom: 1px solid var(--dees-color-border-subtle);
|
|
177420
|
-
color:
|
|
177591
|
+
color: #f5f5f7;
|
|
177421
177592
|
font-weight: 600;
|
|
177422
177593
|
white-space: pre-wrap;
|
|
177423
177594
|
overflow-wrap: anywhere;
|
|
@@ -177432,7 +177603,7 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
177432
177603
|
margin: 0;
|
|
177433
177604
|
padding: var(--dees-spacing-xs) var(--dees-spacing-md) var(--dees-spacing-sm);
|
|
177434
177605
|
max-height: 100%;
|
|
177435
|
-
color:
|
|
177606
|
+
color: #c7c7cc;
|
|
177436
177607
|
white-space: pre-wrap;
|
|
177437
177608
|
overflow-wrap: anywhere;
|
|
177438
177609
|
}
|
|
@@ -177446,7 +177617,7 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
177446
177617
|
align-items: center;
|
|
177447
177618
|
gap: var(--dees-spacing-xs);
|
|
177448
177619
|
padding: var(--dees-spacing-xs) var(--dees-spacing-md) var(--dees-spacing-sm);
|
|
177449
|
-
color:
|
|
177620
|
+
color: #8e8e93;
|
|
177450
177621
|
}
|
|
177451
177622
|
|
|
177452
177623
|
.harness-terminal-running .cursor {
|
|
@@ -179570,15 +179741,21 @@ var demoFunc62 = /* @__PURE__ */ __name(() => b2`
|
|
|
179570
179741
|
@harness-input=${logEvent}
|
|
179571
179742
|
@harness-attachments-change=${logEvent}
|
|
179572
179743
|
@harness-attachment-error=${logEvent}
|
|
179744
|
+
@harness-account-change=${logEvent}
|
|
179573
179745
|
@harness-model-change=${logEvent}
|
|
179574
179746
|
@harness-mode-change=${logEvent}
|
|
179575
179747
|
>
|
|
179576
179748
|
<div class="label">default with mode switcher + model controls (events log to console)</div>
|
|
179577
179749
|
<dees-harness-composer
|
|
179750
|
+
account="account-1"
|
|
179578
179751
|
model="gpt-5.5"
|
|
179579
179752
|
reasoningEffort="high"
|
|
179580
179753
|
mode="Planning"
|
|
179581
179754
|
.modeOptions=${["Planning", "Building"]}
|
|
179755
|
+
.accountOptions=${[
|
|
179756
|
+
{ label: "Personal \xB7 alex@example.com", value: "account-1" },
|
|
179757
|
+
{ label: "Team \xB7 alex@example.com", value: "account-2" }
|
|
179758
|
+
]}
|
|
179582
179759
|
.modelOptions=${["gpt-5.5", "gpt-5", "o4-mini"]}
|
|
179583
179760
|
.effortOptions=${["xhigh", "high", "medium", "low"]}
|
|
179584
179761
|
></dees-harness-composer>
|
|
@@ -179603,10 +179780,11 @@ var demoFunc62 = /* @__PURE__ */ __name(() => b2`
|
|
|
179603
179780
|
init_dist_ts26();
|
|
179604
179781
|
init_theme();
|
|
179605
179782
|
init_dees_icon();
|
|
179606
|
-
var _showModelControls_dec, _modeOptions_dec, _mode_dec2, _effortOptions_dec, _reasoningEffort_dec, _modelOptions_dec, _model_dec, _maxTotalAttachmentBytes_dec, _maxAttachmentBytes_dec, _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, _maxAttachmentBytes, _maxTotalAttachmentBytes, _model, _modelOptions, _reasoningEffort, _effortOptions, _mode2, _modeOptions, _showModelControls;
|
|
179783
|
+
var _showModelControls_dec, _modeOptions_dec, _mode_dec2, _effortOptions_dec, _reasoningEffort_dec, _modelOptions_dec, _model_dec, _accountOptions_dec, _account_dec, _maxTotalAttachmentBytes_dec, _maxAttachmentBytes_dec, _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, _maxAttachmentBytes, _maxTotalAttachmentBytes, _account, _accountOptions, _model, _modelOptions, _reasoningEffort, _effortOptions, _mode2, _modeOptions, _showModelControls;
|
|
179607
179784
|
var toDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2, key: value2 })), "toDropdownOptions");
|
|
179785
|
+
var toLabeledDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value2) => ({ option: value2.label, key: value2.value })), "toLabeledDropdownOptions");
|
|
179608
179786
|
_DeesHarnessComposer_decorators = [customElement("dees-harness-composer")];
|
|
179609
|
-
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 })], _maxAttachmentBytes_dec = [n5({ type: Number })], _maxTotalAttachmentBytes_dec = [n5({ type: Number })], _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) {
|
|
179787
|
+
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 })], _maxAttachmentBytes_dec = [n5({ type: Number })], _maxTotalAttachmentBytes_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) {
|
|
179610
179788
|
constructor() {
|
|
179611
179789
|
super(...arguments);
|
|
179612
179790
|
__privateAdd(this, _value17, __runInitializers(_init88, 8, this, "")), __runInitializers(_init88, 11, this);
|
|
@@ -179618,13 +179796,15 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
179618
179796
|
__privateAdd(this, _attachments, __runInitializers(_init88, 32, this, [])), __runInitializers(_init88, 35, this);
|
|
179619
179797
|
__privateAdd(this, _maxAttachmentBytes, __runInitializers(_init88, 36, this, harnessMaxAttachmentBytes)), __runInitializers(_init88, 39, this);
|
|
179620
179798
|
__privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init88, 40, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init88, 43, this);
|
|
179621
|
-
__privateAdd(this,
|
|
179622
|
-
__privateAdd(this,
|
|
179623
|
-
__privateAdd(this,
|
|
179624
|
-
__privateAdd(this,
|
|
179625
|
-
__privateAdd(this,
|
|
179626
|
-
__privateAdd(this,
|
|
179627
|
-
__privateAdd(this,
|
|
179799
|
+
__privateAdd(this, _account, __runInitializers(_init88, 44, this, "")), __runInitializers(_init88, 47, this);
|
|
179800
|
+
__privateAdd(this, _accountOptions, __runInitializers(_init88, 48, this, [])), __runInitializers(_init88, 51, this);
|
|
179801
|
+
__privateAdd(this, _model, __runInitializers(_init88, 52, this, "")), __runInitializers(_init88, 55, this);
|
|
179802
|
+
__privateAdd(this, _modelOptions, __runInitializers(_init88, 56, this, [])), __runInitializers(_init88, 59, this);
|
|
179803
|
+
__privateAdd(this, _reasoningEffort, __runInitializers(_init88, 60, this, "")), __runInitializers(_init88, 63, this);
|
|
179804
|
+
__privateAdd(this, _effortOptions, __runInitializers(_init88, 64, this, [])), __runInitializers(_init88, 67, this);
|
|
179805
|
+
__privateAdd(this, _mode2, __runInitializers(_init88, 68, this, "")), __runInitializers(_init88, 71, this);
|
|
179806
|
+
__privateAdd(this, _modeOptions, __runInitializers(_init88, 72, this, [])), __runInitializers(_init88, 75, this);
|
|
179807
|
+
__privateAdd(this, _showModelControls, __runInitializers(_init88, 76, this, true)), __runInitializers(_init88, 79, this);
|
|
179628
179808
|
// ------------------------------------------------------------------ input
|
|
179629
179809
|
__publicField(this, "handleTextInput", /* @__PURE__ */ __name((event) => {
|
|
179630
179810
|
this.value = event.currentTarget.value;
|
|
@@ -179737,8 +179917,20 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
179737
179917
|
`)}
|
|
179738
179918
|
</div>
|
|
179739
179919
|
` : ""}
|
|
179740
|
-
${this.showModelControls && (this.modelOptions.length || this.effortOptions.length) ? b2`
|
|
179920
|
+
${this.showModelControls && (this.accountOptions.length || this.modelOptions.length || this.effortOptions.length) ? b2`
|
|
179741
179921
|
<div class="modelControls">
|
|
179922
|
+
${this.accountOptions.length ? b2`
|
|
179923
|
+
<dees-input-dropdown
|
|
179924
|
+
class="accountSelect"
|
|
179925
|
+
.options=${toLabeledDropdownOptions(this.accountOptions)}
|
|
179926
|
+
.selectedOption=${this.account ? toLabeledDropdownOptions(this.accountOptions).find((option2) => option2.key === this.account) ?? null : null}
|
|
179927
|
+
.disabled=${this.disabled}
|
|
179928
|
+
@selectedOption=${(event) => {
|
|
179929
|
+
this.account = event.detail?.key ?? this.account;
|
|
179930
|
+
this.emit("harness-account-change", { account: this.account });
|
|
179931
|
+
}}
|
|
179932
|
+
></dees-input-dropdown>
|
|
179933
|
+
` : ""}
|
|
179742
179934
|
${this.modelOptions.length ? b2`
|
|
179743
179935
|
<dees-input-dropdown
|
|
179744
179936
|
class="modelSelect"
|
|
@@ -179862,6 +180054,7 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a87 = DeesElemen
|
|
|
179862
180054
|
const detail = {
|
|
179863
180055
|
text: this.value,
|
|
179864
180056
|
attachments: this.attachments,
|
|
180057
|
+
account: this.account || void 0,
|
|
179865
180058
|
model: this.model || void 0,
|
|
179866
180059
|
reasoningEffort: this.reasoningEffort || void 0
|
|
179867
180060
|
};
|
|
@@ -179891,6 +180084,8 @@ _queuedCount = new WeakMap();
|
|
|
179891
180084
|
_attachments = new WeakMap();
|
|
179892
180085
|
_maxAttachmentBytes = new WeakMap();
|
|
179893
180086
|
_maxTotalAttachmentBytes = new WeakMap();
|
|
180087
|
+
_account = new WeakMap();
|
|
180088
|
+
_accountOptions = new WeakMap();
|
|
179894
180089
|
_model = new WeakMap();
|
|
179895
180090
|
_modelOptions = new WeakMap();
|
|
179896
180091
|
_reasoningEffort = new WeakMap();
|
|
@@ -179907,6 +180102,8 @@ __decorateElement(_init88, 4, "queuedCount", _queuedCount_dec, _DeesHarnessCompo
|
|
|
179907
180102
|
__decorateElement(_init88, 4, "attachments", _attachments_dec, _DeesHarnessComposer, _attachments);
|
|
179908
180103
|
__decorateElement(_init88, 4, "maxAttachmentBytes", _maxAttachmentBytes_dec, _DeesHarnessComposer, _maxAttachmentBytes);
|
|
179909
180104
|
__decorateElement(_init88, 4, "maxTotalAttachmentBytes", _maxTotalAttachmentBytes_dec, _DeesHarnessComposer, _maxTotalAttachmentBytes);
|
|
180105
|
+
__decorateElement(_init88, 4, "account", _account_dec, _DeesHarnessComposer, _account);
|
|
180106
|
+
__decorateElement(_init88, 4, "accountOptions", _accountOptions_dec, _DeesHarnessComposer, _accountOptions);
|
|
179910
180107
|
__decorateElement(_init88, 4, "model", _model_dec, _DeesHarnessComposer, _model);
|
|
179911
180108
|
__decorateElement(_init88, 4, "modelOptions", _modelOptions_dec, _DeesHarnessComposer, _modelOptions);
|
|
179912
180109
|
__decorateElement(_init88, 4, "reasoningEffort", _reasoningEffort_dec, _DeesHarnessComposer, _reasoningEffort);
|
|
@@ -179925,6 +180122,7 @@ __publicField(_DeesHarnessComposer, "styles", [
|
|
|
179925
180122
|
:host {
|
|
179926
180123
|
display: block;
|
|
179927
180124
|
font-family: var(--dees-font-family);
|
|
180125
|
+
container-type: inline-size;
|
|
179928
180126
|
}
|
|
179929
180127
|
|
|
179930
180128
|
.composer {
|
|
@@ -180099,6 +180297,12 @@ __publicField(_DeesHarnessComposer, "styles", [
|
|
|
180099
180297
|
margin: 0;
|
|
180100
180298
|
}
|
|
180101
180299
|
|
|
180300
|
+
.accountSelect {
|
|
180301
|
+
flex: 0 1 180px;
|
|
180302
|
+
width: 180px;
|
|
180303
|
+
min-width: 120px;
|
|
180304
|
+
}
|
|
180305
|
+
|
|
180102
180306
|
/* Model identifiers are provider-qualified ("anthropic/claude-opus-5"),
|
|
180103
180307
|
so the control grows into the free space instead of truncating,
|
|
180104
180308
|
while still shrinking on narrow hosts. */
|
|
@@ -180116,6 +180320,25 @@ __publicField(_DeesHarnessComposer, "styles", [
|
|
|
180116
180320
|
.spacer {
|
|
180117
180321
|
flex: 1;
|
|
180118
180322
|
}
|
|
180323
|
+
|
|
180324
|
+
@container (max-width: 760px) {
|
|
180325
|
+
.controlsRow {
|
|
180326
|
+
flex-wrap: wrap;
|
|
180327
|
+
}
|
|
180328
|
+
|
|
180329
|
+
.modelControls {
|
|
180330
|
+
order: 3;
|
|
180331
|
+
flex: 1 0 100%;
|
|
180332
|
+
flex-wrap: wrap;
|
|
180333
|
+
}
|
|
180334
|
+
|
|
180335
|
+
.accountSelect,
|
|
180336
|
+
.modelSelect {
|
|
180337
|
+
flex: 1 1 140px;
|
|
180338
|
+
width: auto;
|
|
180339
|
+
min-width: 0;
|
|
180340
|
+
}
|
|
180341
|
+
}
|
|
180119
180342
|
`
|
|
180120
180343
|
]);
|
|
180121
180344
|
__runInitializers(_init88, 1, _DeesHarnessComposer);
|
|
@@ -181190,9 +181413,9 @@ var DeesHarnessUsage = _DeesHarnessUsage;
|
|
|
181190
181413
|
init_dist_ts26();
|
|
181191
181414
|
init_theme();
|
|
181192
181415
|
init_dees_icon();
|
|
181193
|
-
var _toolRegistry_dec6, _modeOptions_dec2, _mode_dec3, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _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, _status_dec6, _questions_dec2, _permissions_dec2, _messages_dec2, _a90, _DeesHarnessChat_decorators, _init91, _messages2, _permissions2, _questions2, _status6, _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, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode3, _modeOptions2, _toolRegistry6;
|
|
181416
|
+
var _toolRegistry_dec6, _modeOptions_dec2, _mode_dec3, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountOptions_dec2, _account_dec2, _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, _status_dec6, _questions_dec2, _permissions_dec2, _messages_dec2, _a90, _DeesHarnessChat_decorators, _init91, _messages2, _permissions2, _questions2, _status6, _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, _account2, _accountOptions2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode3, _modeOptions2, _toolRegistry6;
|
|
181194
181417
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
181195
|
-
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 })], _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 })], _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) {
|
|
181418
|
+
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 })], _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 })], _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) {
|
|
181196
181419
|
constructor() {
|
|
181197
181420
|
super(...arguments);
|
|
181198
181421
|
__privateAdd(this, _messages2, __runInitializers(_init91, 8, this, [])), __runInitializers(_init91, 11, this);
|
|
@@ -181225,13 +181448,15 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
181225
181448
|
__privateAdd(this, _queuedCount2, __runInitializers(_init91, 112, this, 0)), __runInitializers(_init91, 115, this);
|
|
181226
181449
|
__privateAdd(this, _composerValue, __runInitializers(_init91, 116, this, "")), __runInitializers(_init91, 119, this);
|
|
181227
181450
|
__privateAdd(this, _attachments2, __runInitializers(_init91, 120, this, [])), __runInitializers(_init91, 123, this);
|
|
181228
|
-
__privateAdd(this,
|
|
181229
|
-
__privateAdd(this,
|
|
181230
|
-
__privateAdd(this,
|
|
181231
|
-
__privateAdd(this,
|
|
181232
|
-
__privateAdd(this,
|
|
181233
|
-
__privateAdd(this,
|
|
181234
|
-
__privateAdd(this,
|
|
181451
|
+
__privateAdd(this, _account2, __runInitializers(_init91, 124, this, "")), __runInitializers(_init91, 127, this);
|
|
181452
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init91, 128, this, [])), __runInitializers(_init91, 131, this);
|
|
181453
|
+
__privateAdd(this, _model2, __runInitializers(_init91, 132, this, "")), __runInitializers(_init91, 135, this);
|
|
181454
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init91, 136, this, [])), __runInitializers(_init91, 139, this);
|
|
181455
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init91, 140, this, "")), __runInitializers(_init91, 143, this);
|
|
181456
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init91, 144, this, [])), __runInitializers(_init91, 147, this);
|
|
181457
|
+
__privateAdd(this, _mode3, __runInitializers(_init91, 148, this, "")), __runInitializers(_init91, 151, this);
|
|
181458
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init91, 152, this, [])), __runInitializers(_init91, 155, this);
|
|
181459
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init91, 156, this, DeesHarnessToolRegistry.default)), __runInitializers(_init91, 159, this);
|
|
181235
181460
|
__publicField(this, "toggleSessionSidebar", /* @__PURE__ */ __name(() => {
|
|
181236
181461
|
if (!this.narrowSessionLayout) {
|
|
181237
181462
|
this.desktopSessionSidebarVisible = !this.desktopSessionSidebarVisible;
|
|
@@ -181420,6 +181645,8 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
181420
181645
|
.disabled=${this.disabled}
|
|
181421
181646
|
.busy=${this.busy || this.status.type === "busy"}
|
|
181422
181647
|
.queuedCount=${this.queuedCount}
|
|
181648
|
+
.account=${this.account}
|
|
181649
|
+
.accountOptions=${this.accountOptions}
|
|
181423
181650
|
.model=${this.model}
|
|
181424
181651
|
.modelOptions=${this.modelOptions}
|
|
181425
181652
|
.reasoningEffort=${this.reasoningEffort}
|
|
@@ -181431,6 +181658,9 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a90 = DeesElement, _mess
|
|
|
181431
181658
|
}}
|
|
181432
181659
|
@harness-attachments-change=${(event) => {
|
|
181433
181660
|
this.attachments = event.detail?.attachments ?? [];
|
|
181661
|
+
}}
|
|
181662
|
+
@harness-account-change=${(event) => {
|
|
181663
|
+
if (event.detail?.account) this.account = event.detail.account;
|
|
181434
181664
|
}}
|
|
181435
181665
|
@harness-model-change=${(event) => {
|
|
181436
181666
|
if (event.detail?.model) this.model = event.detail.model;
|
|
@@ -181503,6 +181733,8 @@ _busy4 = new WeakMap();
|
|
|
181503
181733
|
_queuedCount2 = new WeakMap();
|
|
181504
181734
|
_composerValue = new WeakMap();
|
|
181505
181735
|
_attachments2 = new WeakMap();
|
|
181736
|
+
_account2 = new WeakMap();
|
|
181737
|
+
_accountOptions2 = new WeakMap();
|
|
181506
181738
|
_model2 = new WeakMap();
|
|
181507
181739
|
_modelOptions2 = new WeakMap();
|
|
181508
181740
|
_reasoningEffort2 = new WeakMap();
|
|
@@ -181539,6 +181771,8 @@ __decorateElement(_init91, 4, "busy", _busy_dec4, _DeesHarnessChat, _busy4);
|
|
|
181539
181771
|
__decorateElement(_init91, 4, "queuedCount", _queuedCount_dec2, _DeesHarnessChat, _queuedCount2);
|
|
181540
181772
|
__decorateElement(_init91, 4, "composerValue", _composerValue_dec, _DeesHarnessChat, _composerValue);
|
|
181541
181773
|
__decorateElement(_init91, 4, "attachments", _attachments_dec2, _DeesHarnessChat, _attachments2);
|
|
181774
|
+
__decorateElement(_init91, 4, "account", _account_dec2, _DeesHarnessChat, _account2);
|
|
181775
|
+
__decorateElement(_init91, 4, "accountOptions", _accountOptions_dec2, _DeesHarnessChat, _accountOptions2);
|
|
181542
181776
|
__decorateElement(_init91, 4, "model", _model_dec2, _DeesHarnessChat, _model2);
|
|
181543
181777
|
__decorateElement(_init91, 4, "modelOptions", _modelOptions_dec2, _DeesHarnessChat, _modelOptions2);
|
|
181544
181778
|
__decorateElement(_init91, 4, "reasoningEffort", _reasoningEffort_dec2, _DeesHarnessChat, _reasoningEffort2);
|
|
@@ -205394,7 +205628,7 @@ init_group_runtime();
|
|
|
205394
205628
|
// ts_web/00_commitinfo_data.ts
|
|
205395
205629
|
var commitinfo = {
|
|
205396
205630
|
name: "@design.estate/dees-catalog",
|
|
205397
|
-
version: "6.
|
|
205631
|
+
version: "6.4.0",
|
|
205398
205632
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
205399
205633
|
};
|
|
205400
205634
|
|