@design.estate/dees-catalog 21.41.0 → 21.42.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 +69 -36
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6S3PVK6Y.js → chunk-72W55DOJ.js} +3 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6S3PVK6Y.js.map → chunk-72W55DOJ.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-OUB3OAV2.js → chunk-GTAAYRP5.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-DGKFXX4X.js → chunk-PAFNUCDL.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-2ALUFQHJ.js → de-CQ56NZVB.js} +3 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-2ALUFQHJ.js.map → de-CQ56NZVB.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CDXSOKKD.js → dees-modal-JNRW3HIY.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-46JECUZO.js → dees-workspace-terminal-Y532Z546.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 +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +12 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.d.ts +8 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.js +25 -4
- package/dist_ts_web/elements/00group-harness/harness.helpers.d.ts +6 -0
- package/dist_ts_web/elements/00group-harness/harness.helpers.js +22 -1
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.d.ts +2 -0
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.js +12 -3
- package/dist_ts_web/i18n/de.d.ts +4 -0
- package/dist_ts_web/i18n/de.js +2 -1
- package/dist_ts_web/i18n/messages.d.ts +4 -0
- package/dist_ts_web/i18n/messages.js +2 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +5 -0
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts +18 -1
- package/ts_web/elements/00group-harness/harness.helpers.ts +18 -0
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.ts +10 -2
- package/ts_web/i18n/de.ts +1 -0
- package/ts_web/i18n/messages.ts +1 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-OUB3OAV2.js.map → chunk-GTAAYRP5.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-DGKFXX4X.js.map → chunk-PAFNUCDL.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CDXSOKKD.js.map → dees-modal-JNRW3HIY.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-46JECUZO.js.map → dees-workspace-terminal-Y532Z546.js.map} +0 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
ownAppuiLabels,
|
|
27
27
|
resolveAppuiLabels,
|
|
28
28
|
xtermStyles
|
|
29
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
29
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-PAFNUCDL.js";
|
|
30
30
|
import {
|
|
31
31
|
ActionRunController,
|
|
32
32
|
BarInfoController,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
workspaceVisibility,
|
|
125
125
|
zIndexLayers,
|
|
126
126
|
zIndexRegistry
|
|
127
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
127
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-GTAAYRP5.js";
|
|
128
128
|
import {
|
|
129
129
|
dcMessages,
|
|
130
130
|
dcSourceI18n,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
firstDayOfWeek,
|
|
135
135
|
iso_exports,
|
|
136
136
|
momentFormat
|
|
137
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
137
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-72W55DOJ.js";
|
|
138
138
|
import {
|
|
139
139
|
__decorateElement,
|
|
140
140
|
__decoratorMetadata,
|
|
@@ -2617,6 +2617,8 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
|
|
|
2617
2617
|
__privateAdd(this, _visible, __runInitializers(_init9, 68, this, false)), __runInitializers(_init9, 71, this);
|
|
2618
2618
|
__publicField(this, "windowLayer", null);
|
|
2619
2619
|
__publicField(this, "isDestroying", false);
|
|
2620
|
+
/** The list's openings so far: a close removes the list after its exit only if none came since. */
|
|
2621
|
+
__publicField(this, "openings", 0);
|
|
2620
2622
|
__publicField(this, "handleSearch", /* @__PURE__ */ __name((event) => {
|
|
2621
2623
|
const searchTerm = event.target.value;
|
|
2622
2624
|
this.searchValue = searchTerm;
|
|
@@ -2727,15 +2729,17 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
|
|
|
2727
2729
|
const selectedIndex = this.options.findIndex((option) => option.key === this.selectedKey && !option.disabled);
|
|
2728
2730
|
this.highlightedIndex = selectedIndex >= 0 ? selectedIndex : firstUsableIndex(this.options);
|
|
2729
2731
|
this.searchValue = "";
|
|
2732
|
+
this.openings++;
|
|
2733
|
+
this.isDestroying = false;
|
|
2730
2734
|
this.classList.remove("closing");
|
|
2731
2735
|
this.windowLayer = await DeesWindowLayer.createAndShow({ dimmed: false, ownerElement: this.ownerComponent });
|
|
2732
2736
|
this.windowLayer.addEventListener("click", () => {
|
|
2733
2737
|
this.dispatchEvent(new CustomEvent("close-request"));
|
|
2734
2738
|
});
|
|
2735
2739
|
this.menuZIndex = zIndexRegistry.getNextZIndex();
|
|
2736
|
-
zIndexRegistry.register(this, this.menuZIndex);
|
|
2737
2740
|
this.style.zIndex = this.menuZIndex.toString();
|
|
2738
2741
|
this.windowLayer.parentElement.appendChild(this);
|
|
2742
|
+
zIndexRegistry.register(this, this.menuZIndex);
|
|
2739
2743
|
await domtools_pluginexports_exports.smartpromise.delayFor(0);
|
|
2740
2744
|
this.visible = true;
|
|
2741
2745
|
this.listenForRepositioning();
|
|
@@ -2746,6 +2750,7 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
|
|
|
2746
2750
|
return;
|
|
2747
2751
|
}
|
|
2748
2752
|
this.isDestroying = true;
|
|
2753
|
+
const opening = this.openings;
|
|
2749
2754
|
this.classList.add("closing");
|
|
2750
2755
|
this.searchAbort?.abort();
|
|
2751
2756
|
this.repositionListeners?.abort();
|
|
@@ -2759,6 +2764,7 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
|
|
|
2759
2764
|
}
|
|
2760
2765
|
this.visible = false;
|
|
2761
2766
|
await domtools_pluginexports_exports.smartpromise.delayFor(150);
|
|
2767
|
+
if (opening !== this.openings) return;
|
|
2762
2768
|
if (this.parentElement) {
|
|
2763
2769
|
this.parentElement.removeChild(this);
|
|
2764
2770
|
}
|
|
@@ -44248,6 +44254,18 @@ var harnessMediaTypeForFile = /* @__PURE__ */ __name((file) => {
|
|
|
44248
44254
|
if (file.type && !(byExtension && harnessAttachmentKindFor(file.type) === "binary")) return file.type;
|
|
44249
44255
|
return byExtension || file.type || "application/octet-stream";
|
|
44250
44256
|
}, "harnessMediaTypeForFile");
|
|
44257
|
+
var harnessFileMatchesAccept = /* @__PURE__ */ __name((accept, file, mediaType) => {
|
|
44258
|
+
const tokens = accept.split(",").map((token) => token.trim().toLowerCase()).filter(Boolean);
|
|
44259
|
+
if (!tokens.length) return true;
|
|
44260
|
+
const name = file.name.toLowerCase();
|
|
44261
|
+
const types = [mediaType, file.type].map((type) => type.toLowerCase()).filter(Boolean);
|
|
44262
|
+
return tokens.some((token) => {
|
|
44263
|
+
if (token.startsWith(".")) return name.endsWith(token);
|
|
44264
|
+
if (token === "*/*") return true;
|
|
44265
|
+
if (token.endsWith("/*")) return types.some((type) => type.startsWith(token.slice(0, -1)));
|
|
44266
|
+
return types.includes(token);
|
|
44267
|
+
});
|
|
44268
|
+
}, "harnessFileMatchesAccept");
|
|
44251
44269
|
var harnessIsSupportedAttachmentType = /* @__PURE__ */ __name((mediaType) => {
|
|
44252
44270
|
return harnessSupportedImageTypes.has(mediaType) || mediaType.startsWith("text/") || harnessSupportedTextTypes.has(mediaType);
|
|
44253
44271
|
}, "harnessIsSupportedAttachmentType");
|
|
@@ -53642,7 +53660,7 @@ var demoFunc46 = /* @__PURE__ */ __name(() => demoPage("Composer", "Write, attac
|
|
|
53642
53660
|
`), "demoFunc");
|
|
53643
53661
|
|
|
53644
53662
|
// ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts
|
|
53645
|
-
var _actionMenuOpen_dec, _actionMenu_dec, _menuActions_dec, _showModelControls_dec, _modeOptions_dec, _mode_dec, _effortOptions_dec, _reasoningEffort_dec, _modelOptions_dec, _model_dec, _accountNote_dec, _accountOptions_dec, _account_dec, _maxAttachmentCount_dec, _maxTotalAttachmentBytes_dec, _maxAttachmentBytes_dec, _promptFocused_dec, _commandMenuDismissed_dec, _activeMenuIndex_dec, _commands_dec, _attachmentsEnabled_dec, _attachments_dec, _queuedCount_dec, _abortDisabledReason_dec, _abortEnabled_dec, _busyDeliveryModes_dec, _busy_dec3, _inputLocked_dec, _disabled_dec3, _docked_dec, _contextDescription_dec, _placeholder_dec6, _pendingMessageId_dec, _pendingMessagePresent_dec, _historyKey_dec, _loadEarlierHistory_dec, _hasEarlierHistory_dec, _history_dec, _value_dec16, _a67, _DeesHarnessComposer_decorators, _init69, _value16, _history, _hasEarlierHistory, _loadEarlierHistory, _historyKey, _pendingMessagePresent, _pendingMessageId, _placeholder6, _contextDescription, _docked, _disabled3, _inputLocked, _busy3, _busyDeliveryModes, _abortEnabled, _abortDisabledReason, _queuedCount, _attachments, _attachmentsEnabled, _commands, _activeMenuIndex, _commandMenuDismissed, _promptFocused, _maxAttachmentBytes, _maxTotalAttachmentBytes, _maxAttachmentCount, _account, _accountOptions, _accountNote, _model, _modelOptions, _reasoningEffort, _effortOptions, _mode, _modeOptions, _showModelControls, _menuActions, _actionMenu, _actionMenuOpen;
|
|
53663
|
+
var _actionMenuOpen_dec, _actionMenu_dec, _menuActions_dec, _showModelControls_dec, _modeOptions_dec, _mode_dec, _effortOptions_dec, _reasoningEffort_dec, _modelOptions_dec, _model_dec, _accountNote_dec, _accountOptions_dec, _account_dec, _attachmentAccept_dec, _maxAttachmentCount_dec, _maxTotalAttachmentBytes_dec, _maxAttachmentBytes_dec, _promptFocused_dec, _commandMenuDismissed_dec, _activeMenuIndex_dec, _commands_dec, _attachmentsEnabled_dec, _attachments_dec, _queuedCount_dec, _abortDisabledReason_dec, _abortEnabled_dec, _busyDeliveryModes_dec, _busy_dec3, _inputLocked_dec, _disabled_dec3, _docked_dec, _contextDescription_dec, _placeholder_dec6, _pendingMessageId_dec, _pendingMessagePresent_dec, _historyKey_dec, _loadEarlierHistory_dec, _hasEarlierHistory_dec, _history_dec, _value_dec16, _a67, _DeesHarnessComposer_decorators, _init69, _value16, _history, _hasEarlierHistory, _loadEarlierHistory, _historyKey, _pendingMessagePresent, _pendingMessageId, _placeholder6, _contextDescription, _docked, _disabled3, _inputLocked, _busy3, _busyDeliveryModes, _abortEnabled, _abortDisabledReason, _queuedCount, _attachments, _attachmentsEnabled, _commands, _activeMenuIndex, _commandMenuDismissed, _promptFocused, _maxAttachmentBytes, _maxTotalAttachmentBytes, _maxAttachmentCount, _attachmentAccept, _account, _accountOptions, _accountNote, _model, _modelOptions, _reasoningEffort, _effortOptions, _mode, _modeOptions, _showModelControls, _menuActions, _actionMenu, _actionMenuOpen;
|
|
53646
53664
|
var toDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value) => ({ option: value, key: value })), "toDropdownOptions");
|
|
53647
53665
|
var toLabeledDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value) => ({ option: value.label, key: value.value, disabled: value.disabled, description: value.description })), "toLabeledDropdownOptions");
|
|
53648
53666
|
var nextCommandMenuId = 0;
|
|
@@ -53695,7 +53713,7 @@ var deliveryHintKeys = {
|
|
|
53695
53713
|
queue: "composer.hintQueue"
|
|
53696
53714
|
};
|
|
53697
53715
|
_DeesHarnessComposer_decorators = [customElement("dees-harness-composer")];
|
|
53698
|
-
var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElement, _value_dec16 = [n()], _history_dec = [n({ attribute: false })], _hasEarlierHistory_dec = [n({ type: Boolean, reflect: true })], _loadEarlierHistory_dec = [n({ attribute: false })], _historyKey_dec = [n({ reflect: true })], _pendingMessagePresent_dec = [n({ type: Boolean, reflect: true })], _pendingMessageId_dec = [n({ reflect: true })], _placeholder_dec6 = [n({ reflect: true })], _contextDescription_dec = [n({ reflect: true })], _docked_dec = [n({ type: Boolean, reflect: true })], _disabled_dec3 = [n({ type: Boolean, reflect: true })], _inputLocked_dec = [n({ type: Boolean, reflect: true })], _busy_dec3 = [n({ type: Boolean, reflect: true })], _busyDeliveryModes_dec = [n({ attribute: false })], _abortEnabled_dec = [n({ type: Boolean, reflect: true })], _abortDisabledReason_dec = [n({ reflect: true })], _queuedCount_dec = [n({ type: Number, reflect: true })], _attachments_dec = [n({ attribute: false })], _attachmentsEnabled_dec = [n({ attribute: false })], _commands_dec = [n({ attribute: false })], _activeMenuIndex_dec = [r2()], _commandMenuDismissed_dec = [r2()], _promptFocused_dec = [r2()], _maxAttachmentBytes_dec = [n({ type: Number, reflect: true })], _maxTotalAttachmentBytes_dec = [n({ type: Number, reflect: true })], _maxAttachmentCount_dec = [n({ type: Number, reflect: true })], _account_dec = [n({ reflect: true })], _accountOptions_dec = [n({ attribute: false })], _accountNote_dec = [n({ reflect: true })], _model_dec = [n({ reflect: true })], _modelOptions_dec = [n({ attribute: false })], _reasoningEffort_dec = [n({ reflect: true })], _effortOptions_dec = [n({ attribute: false })], _mode_dec = [n({ reflect: true })], _modeOptions_dec = [n({ attribute: false })], _showModelControls_dec = [n({ type: Boolean, reflect: true })], _menuActions_dec = [n({ attribute: false })], _actionMenu_dec = [r2()], _actionMenuOpen_dec = [r2()], _a67) {
|
|
53716
|
+
var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElement, _value_dec16 = [n()], _history_dec = [n({ attribute: false })], _hasEarlierHistory_dec = [n({ type: Boolean, reflect: true })], _loadEarlierHistory_dec = [n({ attribute: false })], _historyKey_dec = [n({ reflect: true })], _pendingMessagePresent_dec = [n({ type: Boolean, reflect: true })], _pendingMessageId_dec = [n({ reflect: true })], _placeholder_dec6 = [n({ reflect: true })], _contextDescription_dec = [n({ reflect: true })], _docked_dec = [n({ type: Boolean, reflect: true })], _disabled_dec3 = [n({ type: Boolean, reflect: true })], _inputLocked_dec = [n({ type: Boolean, reflect: true })], _busy_dec3 = [n({ type: Boolean, reflect: true })], _busyDeliveryModes_dec = [n({ attribute: false })], _abortEnabled_dec = [n({ type: Boolean, reflect: true })], _abortDisabledReason_dec = [n({ reflect: true })], _queuedCount_dec = [n({ type: Number, reflect: true })], _attachments_dec = [n({ attribute: false })], _attachmentsEnabled_dec = [n({ attribute: false })], _commands_dec = [n({ attribute: false })], _activeMenuIndex_dec = [r2()], _commandMenuDismissed_dec = [r2()], _promptFocused_dec = [r2()], _maxAttachmentBytes_dec = [n({ type: Number, reflect: true })], _maxTotalAttachmentBytes_dec = [n({ type: Number, reflect: true })], _maxAttachmentCount_dec = [n({ type: Number, reflect: true })], _attachmentAccept_dec = [n({ type: String, reflect: true })], _account_dec = [n({ reflect: true })], _accountOptions_dec = [n({ attribute: false })], _accountNote_dec = [n({ reflect: true })], _model_dec = [n({ reflect: true })], _modelOptions_dec = [n({ attribute: false })], _reasoningEffort_dec = [n({ reflect: true })], _effortOptions_dec = [n({ attribute: false })], _mode_dec = [n({ reflect: true })], _modeOptions_dec = [n({ attribute: false })], _showModelControls_dec = [n({ type: Boolean, reflect: true })], _menuActions_dec = [n({ attribute: false })], _actionMenu_dec = [r2()], _actionMenuOpen_dec = [r2()], _a67) {
|
|
53699
53717
|
constructor() {
|
|
53700
53718
|
super(...arguments);
|
|
53701
53719
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -53732,19 +53750,20 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
|
|
|
53732
53750
|
__privateAdd(this, _maxAttachmentBytes, __runInitializers(_init69, 100, this, harnessMaxAttachmentBytes)), __runInitializers(_init69, 103, this);
|
|
53733
53751
|
__privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init69, 104, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init69, 107, this);
|
|
53734
53752
|
__privateAdd(this, _maxAttachmentCount, __runInitializers(_init69, 108, this, Number.POSITIVE_INFINITY)), __runInitializers(_init69, 111, this);
|
|
53735
|
-
__privateAdd(this,
|
|
53736
|
-
__privateAdd(this,
|
|
53737
|
-
__privateAdd(this,
|
|
53738
|
-
__privateAdd(this,
|
|
53739
|
-
__privateAdd(this,
|
|
53740
|
-
__privateAdd(this,
|
|
53741
|
-
__privateAdd(this,
|
|
53742
|
-
__privateAdd(this,
|
|
53743
|
-
__privateAdd(this,
|
|
53744
|
-
__privateAdd(this,
|
|
53745
|
-
__privateAdd(this,
|
|
53746
|
-
__privateAdd(this,
|
|
53747
|
-
__privateAdd(this,
|
|
53753
|
+
__privateAdd(this, _attachmentAccept, __runInitializers(_init69, 112, this, "")), __runInitializers(_init69, 115, this);
|
|
53754
|
+
__privateAdd(this, _account, __runInitializers(_init69, 116, this, "")), __runInitializers(_init69, 119, this);
|
|
53755
|
+
__privateAdd(this, _accountOptions, __runInitializers(_init69, 120, this, [])), __runInitializers(_init69, 123, this);
|
|
53756
|
+
__privateAdd(this, _accountNote, __runInitializers(_init69, 124, this, "")), __runInitializers(_init69, 127, this);
|
|
53757
|
+
__privateAdd(this, _model, __runInitializers(_init69, 128, this, "")), __runInitializers(_init69, 131, this);
|
|
53758
|
+
__privateAdd(this, _modelOptions, __runInitializers(_init69, 132, this, [])), __runInitializers(_init69, 135, this);
|
|
53759
|
+
__privateAdd(this, _reasoningEffort, __runInitializers(_init69, 136, this, "")), __runInitializers(_init69, 139, this);
|
|
53760
|
+
__privateAdd(this, _effortOptions, __runInitializers(_init69, 140, this, [])), __runInitializers(_init69, 143, this);
|
|
53761
|
+
__privateAdd(this, _mode, __runInitializers(_init69, 144, this, "")), __runInitializers(_init69, 147, this);
|
|
53762
|
+
__privateAdd(this, _modeOptions, __runInitializers(_init69, 148, this, [])), __runInitializers(_init69, 151, this);
|
|
53763
|
+
__privateAdd(this, _showModelControls, __runInitializers(_init69, 152, this, true)), __runInitializers(_init69, 155, this);
|
|
53764
|
+
__privateAdd(this, _menuActions, __runInitializers(_init69, 156, this, [])), __runInitializers(_init69, 159, this);
|
|
53765
|
+
__privateAdd(this, _actionMenu, __runInitializers(_init69, 160, this)), __runInitializers(_init69, 163, this);
|
|
53766
|
+
__privateAdd(this, _actionMenuOpen, __runInitializers(_init69, 164, this, false)), __runInitializers(_init69, 167, this);
|
|
53748
53767
|
// ------------------------------------------------------------------ input
|
|
53749
53768
|
__publicField(this, "handleTextInput", /* @__PURE__ */ __name((event) => {
|
|
53750
53769
|
if (this.interactionLocked) {
|
|
@@ -53925,6 +53944,7 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
|
|
|
53925
53944
|
class="fileInput"
|
|
53926
53945
|
type="file"
|
|
53927
53946
|
multiple
|
|
53947
|
+
accept=${this.attachmentAccept}
|
|
53928
53948
|
?disabled=${this.interactionLocked}
|
|
53929
53949
|
@change=${this.handleFileInputChange}
|
|
53930
53950
|
/>` : ""}
|
|
@@ -54349,6 +54369,12 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
|
|
|
54349
54369
|
break;
|
|
54350
54370
|
}
|
|
54351
54371
|
const mediaType = harnessMediaTypeForFile(file);
|
|
54372
|
+
if (!harnessFileMatchesAccept(this.attachmentAccept, file, mediaType)) {
|
|
54373
|
+
this.emit("harness-attachment-error", {
|
|
54374
|
+
message: this.t("composer.typeRefused", { name: file.name || this.t("harness.file") })
|
|
54375
|
+
});
|
|
54376
|
+
continue;
|
|
54377
|
+
}
|
|
54352
54378
|
if (file.size > this.maxAttachmentBytes) {
|
|
54353
54379
|
this.emit("harness-attachment-error", {
|
|
54354
54380
|
message: this.t("composer.tooLarge", { name: file.name || this.t("harness.file"), size: harnessFormatBytes(this.maxAttachmentBytes, this.t.format) })
|
|
@@ -54525,6 +54551,7 @@ _promptFocused = new WeakMap();
|
|
|
54525
54551
|
_maxAttachmentBytes = new WeakMap();
|
|
54526
54552
|
_maxTotalAttachmentBytes = new WeakMap();
|
|
54527
54553
|
_maxAttachmentCount = new WeakMap();
|
|
54554
|
+
_attachmentAccept = new WeakMap();
|
|
54528
54555
|
_account = new WeakMap();
|
|
54529
54556
|
_accountOptions = new WeakMap();
|
|
54530
54557
|
_accountNote = new WeakMap();
|
|
@@ -54564,6 +54591,7 @@ __decorateElement(_init69, 4, "promptFocused", _promptFocused_dec, _DeesHarnessC
|
|
|
54564
54591
|
__decorateElement(_init69, 4, "maxAttachmentBytes", _maxAttachmentBytes_dec, _DeesHarnessComposer, _maxAttachmentBytes);
|
|
54565
54592
|
__decorateElement(_init69, 4, "maxTotalAttachmentBytes", _maxTotalAttachmentBytes_dec, _DeesHarnessComposer, _maxTotalAttachmentBytes);
|
|
54566
54593
|
__decorateElement(_init69, 4, "maxAttachmentCount", _maxAttachmentCount_dec, _DeesHarnessComposer, _maxAttachmentCount);
|
|
54594
|
+
__decorateElement(_init69, 4, "attachmentAccept", _attachmentAccept_dec, _DeesHarnessComposer, _attachmentAccept);
|
|
54567
54595
|
__decorateElement(_init69, 4, "account", _account_dec, _DeesHarnessComposer, _account);
|
|
54568
54596
|
__decorateElement(_init69, 4, "accountOptions", _accountOptions_dec, _DeesHarnessComposer, _accountOptions);
|
|
54569
54597
|
__decorateElement(_init69, 4, "accountNote", _accountNote_dec, _DeesHarnessComposer, _accountNote);
|
|
@@ -56404,9 +56432,9 @@ __runInitializers(_init71, 1, _DeesHarnessUsage);
|
|
|
56404
56432
|
var DeesHarnessUsage = _DeesHarnessUsage;
|
|
56405
56433
|
|
|
56406
56434
|
// ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts
|
|
56407
|
-
var _toolRegistry_dec6, _menuActions_dec2, _modeOptions_dec2, _mode_dec2, _effortOptions_dec2, _reasoningEffort_dec2, _modelOptions_dec2, _model_dec2, _accountNote_dec2, _accountOptions_dec2, _account_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, _account2, _accountOptions2, _accountNote2, _model2, _modelOptions2, _reasoningEffort2, _effortOptions2, _mode2, _modeOptions2, _menuActions2, _toolRegistry6;
|
|
56435
|
+
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;
|
|
56408
56436
|
_DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
|
|
56409
|
-
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 })], _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) {
|
|
56437
|
+
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) {
|
|
56410
56438
|
constructor() {
|
|
56411
56439
|
super(...arguments);
|
|
56412
56440
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -56465,17 +56493,18 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
56465
56493
|
__privateAdd(this, _maxAttachmentCount2, __runInitializers(_init72, 212, this, Number.POSITIVE_INFINITY)), __runInitializers(_init72, 215, this);
|
|
56466
56494
|
__privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init72, 216, this, harnessMaxAttachmentBytes)), __runInitializers(_init72, 219, this);
|
|
56467
56495
|
__privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init72, 220, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init72, 223, this);
|
|
56468
|
-
__privateAdd(this,
|
|
56469
|
-
__privateAdd(this,
|
|
56470
|
-
__privateAdd(this,
|
|
56471
|
-
__privateAdd(this,
|
|
56472
|
-
__privateAdd(this,
|
|
56473
|
-
__privateAdd(this,
|
|
56474
|
-
__privateAdd(this,
|
|
56475
|
-
__privateAdd(this,
|
|
56476
|
-
__privateAdd(this,
|
|
56477
|
-
__privateAdd(this,
|
|
56478
|
-
__privateAdd(this,
|
|
56496
|
+
__privateAdd(this, _attachmentAccept2, __runInitializers(_init72, 224, this, "")), __runInitializers(_init72, 227, this);
|
|
56497
|
+
__privateAdd(this, _account2, __runInitializers(_init72, 228, this, "")), __runInitializers(_init72, 231, this);
|
|
56498
|
+
__privateAdd(this, _accountOptions2, __runInitializers(_init72, 232, this, [])), __runInitializers(_init72, 235, this);
|
|
56499
|
+
__privateAdd(this, _accountNote2, __runInitializers(_init72, 236, this, "")), __runInitializers(_init72, 239, this);
|
|
56500
|
+
__privateAdd(this, _model2, __runInitializers(_init72, 240, this, "")), __runInitializers(_init72, 243, this);
|
|
56501
|
+
__privateAdd(this, _modelOptions2, __runInitializers(_init72, 244, this, [])), __runInitializers(_init72, 247, this);
|
|
56502
|
+
__privateAdd(this, _reasoningEffort2, __runInitializers(_init72, 248, this, "")), __runInitializers(_init72, 251, this);
|
|
56503
|
+
__privateAdd(this, _effortOptions2, __runInitializers(_init72, 252, this, [])), __runInitializers(_init72, 255, this);
|
|
56504
|
+
__privateAdd(this, _mode2, __runInitializers(_init72, 256, this, "")), __runInitializers(_init72, 259, this);
|
|
56505
|
+
__privateAdd(this, _modeOptions2, __runInitializers(_init72, 260, this, [])), __runInitializers(_init72, 263, this);
|
|
56506
|
+
__privateAdd(this, _menuActions2, __runInitializers(_init72, 264, this, [])), __runInitializers(_init72, 267, this);
|
|
56507
|
+
__privateAdd(this, _toolRegistry6, __runInitializers(_init72, 268, this, DeesHarnessToolRegistry.default)), __runInitializers(_init72, 271, this);
|
|
56479
56508
|
/** Puts a chosen starter prompt into the composer as typing would, without sending it. */
|
|
56480
56509
|
__publicField(this, "handleStarterPrompt", /* @__PURE__ */ __name((event) => {
|
|
56481
56510
|
const prompt = event.detail?.prompt;
|
|
@@ -56742,6 +56771,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
|
|
|
56742
56771
|
.maxAttachmentCount=${this.maxAttachmentCount}
|
|
56743
56772
|
.maxAttachmentBytes=${this.maxAttachmentBytes}
|
|
56744
56773
|
.maxTotalAttachmentBytes=${this.maxTotalAttachmentBytes}
|
|
56774
|
+
.attachmentAccept=${this.attachmentAccept}
|
|
56745
56775
|
.disabled=${this.disabled}
|
|
56746
56776
|
.inputLocked=${this.inputLocked}
|
|
56747
56777
|
.busy=${this.busy || this.status.type === "busy"}
|
|
@@ -56885,6 +56915,7 @@ _starterPrompts2 = new WeakMap();
|
|
|
56885
56915
|
_maxAttachmentCount2 = new WeakMap();
|
|
56886
56916
|
_maxAttachmentBytes2 = new WeakMap();
|
|
56887
56917
|
_maxTotalAttachmentBytes2 = new WeakMap();
|
|
56918
|
+
_attachmentAccept2 = new WeakMap();
|
|
56888
56919
|
_account2 = new WeakMap();
|
|
56889
56920
|
_accountOptions2 = new WeakMap();
|
|
56890
56921
|
_accountNote2 = new WeakMap();
|
|
@@ -56950,6 +56981,7 @@ __decorateElement(_init72, 4, "starterPrompts", _starterPrompts_dec2, _DeesHarne
|
|
|
56950
56981
|
__decorateElement(_init72, 4, "maxAttachmentCount", _maxAttachmentCount_dec2, _DeesHarnessChat, _maxAttachmentCount2);
|
|
56951
56982
|
__decorateElement(_init72, 4, "maxAttachmentBytes", _maxAttachmentBytes_dec2, _DeesHarnessChat, _maxAttachmentBytes2);
|
|
56952
56983
|
__decorateElement(_init72, 4, "maxTotalAttachmentBytes", _maxTotalAttachmentBytes_dec2, _DeesHarnessChat, _maxTotalAttachmentBytes2);
|
|
56984
|
+
__decorateElement(_init72, 4, "attachmentAccept", _attachmentAccept_dec2, _DeesHarnessChat, _attachmentAccept2);
|
|
56953
56985
|
__decorateElement(_init72, 4, "account", _account_dec2, _DeesHarnessChat, _account2);
|
|
56954
56986
|
__decorateElement(_init72, 4, "accountOptions", _accountOptions_dec2, _DeesHarnessChat, _accountOptions2);
|
|
56955
56987
|
__decorateElement(_init72, 4, "accountNote", _accountNote_dec2, _DeesHarnessChat, _accountNote2);
|
|
@@ -72786,7 +72818,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
|
|
|
72786
72818
|
* cancelled. Focus returns to whatever had it when the picker opened.
|
|
72787
72819
|
*/
|
|
72788
72820
|
static async pick(optionsArg = {}) {
|
|
72789
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
72821
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-JNRW3HIY.js");
|
|
72790
72822
|
const picker = new _DeesHarnessConversationPicker();
|
|
72791
72823
|
picker.sessions = optionsArg.sessions ?? [];
|
|
72792
72824
|
picker.groups = optionsArg.groups ?? [];
|
|
@@ -73247,7 +73279,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
|
|
|
73247
73279
|
list.selectedResourceId = event.detail.resource.id;
|
|
73248
73280
|
}, "handleResourceContext");
|
|
73249
73281
|
var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
|
|
73250
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
73282
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-JNRW3HIY.js");
|
|
73251
73283
|
const content = document.createElement("dees-harness-session-list");
|
|
73252
73284
|
content.sessions = sessions;
|
|
73253
73285
|
content.groups = groups;
|
|
@@ -117121,7 +117153,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
117121
117153
|
this.terminalOpen = true;
|
|
117122
117154
|
const request = ++this.terminalRequest;
|
|
117123
117155
|
try {
|
|
117124
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
117156
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-Y532Z546.js");
|
|
117125
117157
|
await this.updateComplete;
|
|
117126
117158
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
117127
117159
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -124125,7 +124157,7 @@ var bright = {
|
|
|
124125
124157
|
// ts_web/00_commitinfo_data.ts
|
|
124126
124158
|
var commitinfo = {
|
|
124127
124159
|
name: "@design.estate/dees-catalog",
|
|
124128
|
-
version: "21.
|
|
124160
|
+
version: "21.42.0",
|
|
124129
124161
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
124130
124162
|
};
|
|
124131
124163
|
export {
|
|
@@ -124347,6 +124379,7 @@ export {
|
|
|
124347
124379
|
harnessDemoConversation,
|
|
124348
124380
|
harnessDemoMarkdown,
|
|
124349
124381
|
harnessEffectiveToolStatus,
|
|
124382
|
+
harnessFileMatchesAccept,
|
|
124350
124383
|
harnessFileToBase64,
|
|
124351
124384
|
harnessFileWriteDiffStats,
|
|
124352
124385
|
harnessFileWriteSource,
|