@design.estate/dees-catalog 21.41.1 → 21.43.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.
Files changed (36) hide show
  1. package/dist_bundle/bundle.js +74 -39
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6S3PVK6Y.js → chunk-72W55DOJ.js} +3 -2
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6S3PVK6Y.js.map → chunk-72W55DOJ.js.map} +1 -1
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-OUB3OAV2.js → chunk-GTAAYRP5.js} +2 -2
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-DGKFXX4X.js → chunk-PAFNUCDL.js} +3 -3
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-2ALUFQHJ.js → de-CQ56NZVB.js} +3 -2
  8. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-2ALUFQHJ.js.map → de-CQ56NZVB.js.map} +1 -1
  9. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CDXSOKKD.js → dees-modal-JNRW3HIY.js} +3 -3
  10. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-46JECUZO.js → dees-workspace-terminal-Y532Z546.js} +4 -4
  11. package/dist_ts_web/00_commitinfo_data.js +1 -1
  12. package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.d.ts +4 -1
  13. package/dist_ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.js +13 -2
  14. package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.d.ts +18 -3
  15. package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.js +50 -9
  16. package/dist_ts_web/elements/00group-harness/harness.helpers.d.ts +6 -0
  17. package/dist_ts_web/elements/00group-harness/harness.helpers.js +22 -1
  18. package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.d.ts +2 -0
  19. package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.js +3 -2
  20. package/dist_ts_web/i18n/de.d.ts +4 -0
  21. package/dist_ts_web/i18n/de.js +2 -1
  22. package/dist_ts_web/i18n/messages.d.ts +4 -0
  23. package/dist_ts_web/i18n/messages.js +2 -1
  24. package/package.json +1 -1
  25. package/readme.md +3 -3
  26. package/ts_web/00_commitinfo_data.ts +1 -1
  27. package/ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts +7 -1
  28. package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts +46 -6
  29. package/ts_web/elements/00group-harness/harness.helpers.ts +18 -0
  30. package/ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.ts +4 -2
  31. package/ts_web/i18n/de.ts +1 -0
  32. package/ts_web/i18n/messages.ts +1 -0
  33. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-OUB3OAV2.js.map → chunk-GTAAYRP5.js.map} +0 -0
  34. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-DGKFXX4X.js.map → chunk-PAFNUCDL.js.map} +0 -0
  35. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CDXSOKKD.js.map → dees-modal-JNRW3HIY.js.map} +0 -0
  36. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-46JECUZO.js.map → dees-workspace-terminal-Y532Z546.js.map} +0 -0
@@ -26,7 +26,7 @@ import {
26
26
  ownAppuiLabels,
27
27
  resolveAppuiLabels,
28
28
  xtermStyles
29
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-DGKFXX4X.js";
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-OUB3OAV2.js";
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-6S3PVK6Y.js";
137
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-72W55DOJ.js";
138
138
  import {
139
139
  __decorateElement,
140
140
  __decoratorMetadata,
@@ -1876,7 +1876,8 @@ var _DeesInputMultitoggle = class _DeesInputMultitoggle extends (_a5 = DeesInput
1876
1876
  const selected2 = key === this.selectedOption;
1877
1877
  const icon = typeof option === "string" ? void 0 : option.icon;
1878
1878
  const badge = typeof option === "string" ? void 0 : option.badge;
1879
- return b`<button type="button" role="radio" class="option ${selected2 ? "selected" : ""}" data-option=${label}
1879
+ const description = typeof option === "string" ? void 0 : option.description;
1880
+ return b`<button type="button" role="radio" class="option ${selected2 ? "selected" : ""}" data-option=${label} .title=${description ?? ""}
1880
1881
  aria-checked=${selected2} ?disabled=${this.optionDisabled(option)} tabindex=${key === (typeof focusKey === "object" ? focusKey.key : focusKey) ? 0 : -1}
1881
1882
  @click=${() => this.handleSelection(key)} @keydown=${this.handleKeydown}><span class="option-content">${icon ? b`<dees-icon .icon=${icon} iconSize="14" aria-hidden="true"></dees-icon>` : ""}<span class="option-label">${label}</span>${badge !== void 0 ? b`<span class="option-badge">${badge}</span>` : ""}</span></button>`;
1882
1883
  })}
@@ -44254,6 +44255,18 @@ var harnessMediaTypeForFile = /* @__PURE__ */ __name((file) => {
44254
44255
  if (file.type && !(byExtension && harnessAttachmentKindFor(file.type) === "binary")) return file.type;
44255
44256
  return byExtension || file.type || "application/octet-stream";
44256
44257
  }, "harnessMediaTypeForFile");
44258
+ var harnessFileMatchesAccept = /* @__PURE__ */ __name((accept, file, mediaType) => {
44259
+ const tokens = accept.split(",").map((token) => token.trim().toLowerCase()).filter(Boolean);
44260
+ if (!tokens.length) return true;
44261
+ const name = file.name.toLowerCase();
44262
+ const types = [mediaType, file.type].map((type) => type.toLowerCase()).filter(Boolean);
44263
+ return tokens.some((token) => {
44264
+ if (token.startsWith(".")) return name.endsWith(token);
44265
+ if (token === "*/*") return true;
44266
+ if (token.endsWith("/*")) return types.some((type) => type.startsWith(token.slice(0, -1)));
44267
+ return types.includes(token);
44268
+ });
44269
+ }, "harnessFileMatchesAccept");
44257
44270
  var harnessIsSupportedAttachmentType = /* @__PURE__ */ __name((mediaType) => {
44258
44271
  return harnessSupportedImageTypes.has(mediaType) || mediaType.startsWith("text/") || harnessSupportedTextTypes.has(mediaType);
44259
44272
  }, "harnessIsSupportedAttachmentType");
@@ -53648,9 +53661,11 @@ var demoFunc46 = /* @__PURE__ */ __name(() => demoPage("Composer", "Write, attac
53648
53661
  `), "demoFunc");
53649
53662
 
53650
53663
  // ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts
53651
- 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;
53664
+ 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;
53652
53665
  var toDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value) => ({ option: value, key: value })), "toDropdownOptions");
53653
53666
  var toLabeledDropdownOptions = /* @__PURE__ */ __name((values) => values.map((value) => ({ option: value.label, key: value.value, disabled: value.disabled, description: value.description })), "toLabeledDropdownOptions");
53667
+ var modeOptionValue = /* @__PURE__ */ __name((option) => typeof option === "string" ? option : option.value, "modeOptionValue");
53668
+ var toModeToggleOptions = /* @__PURE__ */ __name((values) => values.map((value) => typeof value === "string" ? value : { key: value.value, label: value.label, disabled: value.disabled, description: value.description }), "toModeToggleOptions");
53654
53669
  var nextCommandMenuId = 0;
53655
53670
  var commandNameInput = /^\/([^\s/\\]*)$/u;
53656
53671
  var commandArgumentInput = /^\/([^\s/\\]+)[ \t]+([^\n]*)$/u;
@@ -53701,7 +53716,7 @@ var deliveryHintKeys = {
53701
53716
  queue: "composer.hintQueue"
53702
53717
  };
53703
53718
  _DeesHarnessComposer_decorators = [customElement("dees-harness-composer")];
53704
- 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) {
53719
+ 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) {
53705
53720
  constructor() {
53706
53721
  super(...arguments);
53707
53722
  __publicField(this, "t", dcLocalize(this));
@@ -53738,19 +53753,22 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
53738
53753
  __privateAdd(this, _maxAttachmentBytes, __runInitializers(_init69, 100, this, harnessMaxAttachmentBytes)), __runInitializers(_init69, 103, this);
53739
53754
  __privateAdd(this, _maxTotalAttachmentBytes, __runInitializers(_init69, 104, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init69, 107, this);
53740
53755
  __privateAdd(this, _maxAttachmentCount, __runInitializers(_init69, 108, this, Number.POSITIVE_INFINITY)), __runInitializers(_init69, 111, this);
53741
- __privateAdd(this, _account, __runInitializers(_init69, 112, this, "")), __runInitializers(_init69, 115, this);
53742
- __privateAdd(this, _accountOptions, __runInitializers(_init69, 116, this, [])), __runInitializers(_init69, 119, this);
53743
- __privateAdd(this, _accountNote, __runInitializers(_init69, 120, this, "")), __runInitializers(_init69, 123, this);
53744
- __privateAdd(this, _model, __runInitializers(_init69, 124, this, "")), __runInitializers(_init69, 127, this);
53745
- __privateAdd(this, _modelOptions, __runInitializers(_init69, 128, this, [])), __runInitializers(_init69, 131, this);
53746
- __privateAdd(this, _reasoningEffort, __runInitializers(_init69, 132, this, "")), __runInitializers(_init69, 135, this);
53747
- __privateAdd(this, _effortOptions, __runInitializers(_init69, 136, this, [])), __runInitializers(_init69, 139, this);
53748
- __privateAdd(this, _mode, __runInitializers(_init69, 140, this, "")), __runInitializers(_init69, 143, this);
53749
- __privateAdd(this, _modeOptions, __runInitializers(_init69, 144, this, [])), __runInitializers(_init69, 147, this);
53750
- __privateAdd(this, _showModelControls, __runInitializers(_init69, 148, this, true)), __runInitializers(_init69, 151, this);
53751
- __privateAdd(this, _menuActions, __runInitializers(_init69, 152, this, [])), __runInitializers(_init69, 155, this);
53752
- __privateAdd(this, _actionMenu, __runInitializers(_init69, 156, this)), __runInitializers(_init69, 159, this);
53753
- __privateAdd(this, _actionMenuOpen, __runInitializers(_init69, 160, this, false)), __runInitializers(_init69, 163, this);
53756
+ __privateAdd(this, _attachmentAccept, __runInitializers(_init69, 112, this, "")), __runInitializers(_init69, 115, this);
53757
+ __privateAdd(this, _account, __runInitializers(_init69, 116, this, "")), __runInitializers(_init69, 119, this);
53758
+ __privateAdd(this, _accountOptions, __runInitializers(_init69, 120, this, [])), __runInitializers(_init69, 123, this);
53759
+ __privateAdd(this, _accountNote, __runInitializers(_init69, 124, this, "")), __runInitializers(_init69, 127, this);
53760
+ __privateAdd(this, _model, __runInitializers(_init69, 128, this, "")), __runInitializers(_init69, 131, this);
53761
+ __privateAdd(this, _modelOptions, __runInitializers(_init69, 132, this, [])), __runInitializers(_init69, 135, this);
53762
+ __privateAdd(this, _reasoningEffort, __runInitializers(_init69, 136, this, "")), __runInitializers(_init69, 139, this);
53763
+ __privateAdd(this, _effortOptions, __runInitializers(_init69, 140, this, [])), __runInitializers(_init69, 143, this);
53764
+ __privateAdd(this, _mode, __runInitializers(_init69, 144, this, "")), __runInitializers(_init69, 147, this);
53765
+ __privateAdd(this, _modeOptions, __runInitializers(_init69, 148, this, [])), __runInitializers(_init69, 151, this);
53766
+ /** The switch's options, rebuilt only with `modeOptions`, so typing never redraws the switch. */
53767
+ __publicField(this, "modeToggleOptions", []);
53768
+ __privateAdd(this, _showModelControls, __runInitializers(_init69, 152, this, true)), __runInitializers(_init69, 155, this);
53769
+ __privateAdd(this, _menuActions, __runInitializers(_init69, 156, this, [])), __runInitializers(_init69, 159, this);
53770
+ __privateAdd(this, _actionMenu, __runInitializers(_init69, 160, this)), __runInitializers(_init69, 163, this);
53771
+ __privateAdd(this, _actionMenuOpen, __runInitializers(_init69, 164, this, false)), __runInitializers(_init69, 167, this);
53754
53772
  // ------------------------------------------------------------------ input
53755
53773
  __publicField(this, "handleTextInput", /* @__PURE__ */ __name((event) => {
53756
53774
  if (this.interactionLocked) {
@@ -53801,8 +53819,10 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
53801
53819
  if (this.handlePromptHistoryKey(event)) return;
53802
53820
  if (event.key === "Tab" && event.shiftKey && this.modeOptions.length) {
53803
53821
  event.preventDefault();
53804
- const currentIndex = this.modeOptions.indexOf(this.mode);
53805
- const nextMode = this.modeOptions[(currentIndex + 1) % this.modeOptions.length];
53822
+ const modes = this.modeOptions.filter((option) => typeof option === "string" || !option.disabled).map(modeOptionValue);
53823
+ if (!modes.length) return;
53824
+ const nextMode = modes[(modes.indexOf(this.mode) + 1) % modes.length];
53825
+ if (nextMode === this.mode) return;
53806
53826
  this.mode = nextMode;
53807
53827
  this.emit("harness-mode-change", { mode: nextMode });
53808
53828
  }
@@ -53900,6 +53920,7 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
53900
53920
  super.willUpdate(changedProperties);
53901
53921
  if (changedProperties.has("value") || changedProperties.has("commands")) this.activeMenuIndex = -1;
53902
53922
  if (changedProperties.has("historyKey")) this.resetHistoryNavigation();
53923
+ if (changedProperties.has("modeOptions")) this.modeToggleOptions = toModeToggleOptions(this.modeOptions);
53903
53924
  }
53904
53925
  updated(changedProperties) {
53905
53926
  super.updated(changedProperties);
@@ -53931,6 +53952,7 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
53931
53952
  class="fileInput"
53932
53953
  type="file"
53933
53954
  multiple
53955
+ accept=${this.attachmentAccept}
53934
53956
  ?disabled=${this.interactionLocked}
53935
53957
  @change=${this.handleFileInputChange}
53936
53958
  />` : ""}
@@ -53974,7 +53996,7 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
53974
53996
  </dees-button>` : ""}
53975
53997
  ${this.modeOptions.length ? b`
53976
53998
  <dees-input-multitoggle class="modeSwitch" label=${this.t("composer.mode")} .labelPosition=${"none"}
53977
- .options=${this.modeOptions} .selectedOption=${this.mode} .disabled=${this.interactionLocked}
53999
+ .options=${this.modeToggleOptions} .selectedOption=${this.mode} .disabled=${this.interactionLocked}
53978
54000
  @input=${(event) => event.stopPropagation()}
53979
54001
  @change=${(event) => {
53980
54002
  event.stopPropagation();
@@ -54355,6 +54377,12 @@ var _DeesHarnessComposer = class _DeesHarnessComposer extends (_a67 = DeesElemen
54355
54377
  break;
54356
54378
  }
54357
54379
  const mediaType = harnessMediaTypeForFile(file);
54380
+ if (!harnessFileMatchesAccept(this.attachmentAccept, file, mediaType)) {
54381
+ this.emit("harness-attachment-error", {
54382
+ message: this.t("composer.typeRefused", { name: file.name || this.t("harness.file") })
54383
+ });
54384
+ continue;
54385
+ }
54358
54386
  if (file.size > this.maxAttachmentBytes) {
54359
54387
  this.emit("harness-attachment-error", {
54360
54388
  message: this.t("composer.tooLarge", { name: file.name || this.t("harness.file"), size: harnessFormatBytes(this.maxAttachmentBytes, this.t.format) })
@@ -54531,6 +54559,7 @@ _promptFocused = new WeakMap();
54531
54559
  _maxAttachmentBytes = new WeakMap();
54532
54560
  _maxTotalAttachmentBytes = new WeakMap();
54533
54561
  _maxAttachmentCount = new WeakMap();
54562
+ _attachmentAccept = new WeakMap();
54534
54563
  _account = new WeakMap();
54535
54564
  _accountOptions = new WeakMap();
54536
54565
  _accountNote = new WeakMap();
@@ -54570,6 +54599,7 @@ __decorateElement(_init69, 4, "promptFocused", _promptFocused_dec, _DeesHarnessC
54570
54599
  __decorateElement(_init69, 4, "maxAttachmentBytes", _maxAttachmentBytes_dec, _DeesHarnessComposer, _maxAttachmentBytes);
54571
54600
  __decorateElement(_init69, 4, "maxTotalAttachmentBytes", _maxTotalAttachmentBytes_dec, _DeesHarnessComposer, _maxTotalAttachmentBytes);
54572
54601
  __decorateElement(_init69, 4, "maxAttachmentCount", _maxAttachmentCount_dec, _DeesHarnessComposer, _maxAttachmentCount);
54602
+ __decorateElement(_init69, 4, "attachmentAccept", _attachmentAccept_dec, _DeesHarnessComposer, _attachmentAccept);
54573
54603
  __decorateElement(_init69, 4, "account", _account_dec, _DeesHarnessComposer, _account);
54574
54604
  __decorateElement(_init69, 4, "accountOptions", _accountOptions_dec, _DeesHarnessComposer, _accountOptions);
54575
54605
  __decorateElement(_init69, 4, "accountNote", _accountNote_dec, _DeesHarnessComposer, _accountNote);
@@ -56410,9 +56440,9 @@ __runInitializers(_init71, 1, _DeesHarnessUsage);
56410
56440
  var DeesHarnessUsage = _DeesHarnessUsage;
56411
56441
 
56412
56442
  // ts_web/elements/00group-harness/dees-harness-chat/dees-harness-chat.ts
56413
- 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;
56443
+ 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;
56414
56444
  _DeesHarnessChat_decorators = [customElement("dees-harness-chat")];
56415
- 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) {
56445
+ 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) {
56416
56446
  constructor() {
56417
56447
  super(...arguments);
56418
56448
  __publicField(this, "t", dcLocalize(this));
@@ -56471,17 +56501,18 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
56471
56501
  __privateAdd(this, _maxAttachmentCount2, __runInitializers(_init72, 212, this, Number.POSITIVE_INFINITY)), __runInitializers(_init72, 215, this);
56472
56502
  __privateAdd(this, _maxAttachmentBytes2, __runInitializers(_init72, 216, this, harnessMaxAttachmentBytes)), __runInitializers(_init72, 219, this);
56473
56503
  __privateAdd(this, _maxTotalAttachmentBytes2, __runInitializers(_init72, 220, this, harnessMaxTotalAttachmentBytes)), __runInitializers(_init72, 223, this);
56474
- __privateAdd(this, _account2, __runInitializers(_init72, 224, this, "")), __runInitializers(_init72, 227, this);
56475
- __privateAdd(this, _accountOptions2, __runInitializers(_init72, 228, this, [])), __runInitializers(_init72, 231, this);
56476
- __privateAdd(this, _accountNote2, __runInitializers(_init72, 232, this, "")), __runInitializers(_init72, 235, this);
56477
- __privateAdd(this, _model2, __runInitializers(_init72, 236, this, "")), __runInitializers(_init72, 239, this);
56478
- __privateAdd(this, _modelOptions2, __runInitializers(_init72, 240, this, [])), __runInitializers(_init72, 243, this);
56479
- __privateAdd(this, _reasoningEffort2, __runInitializers(_init72, 244, this, "")), __runInitializers(_init72, 247, this);
56480
- __privateAdd(this, _effortOptions2, __runInitializers(_init72, 248, this, [])), __runInitializers(_init72, 251, this);
56481
- __privateAdd(this, _mode2, __runInitializers(_init72, 252, this, "")), __runInitializers(_init72, 255, this);
56482
- __privateAdd(this, _modeOptions2, __runInitializers(_init72, 256, this, [])), __runInitializers(_init72, 259, this);
56483
- __privateAdd(this, _menuActions2, __runInitializers(_init72, 260, this, [])), __runInitializers(_init72, 263, this);
56484
- __privateAdd(this, _toolRegistry6, __runInitializers(_init72, 264, this, DeesHarnessToolRegistry.default)), __runInitializers(_init72, 267, this);
56504
+ __privateAdd(this, _attachmentAccept2, __runInitializers(_init72, 224, this, "")), __runInitializers(_init72, 227, this);
56505
+ __privateAdd(this, _account2, __runInitializers(_init72, 228, this, "")), __runInitializers(_init72, 231, this);
56506
+ __privateAdd(this, _accountOptions2, __runInitializers(_init72, 232, this, [])), __runInitializers(_init72, 235, this);
56507
+ __privateAdd(this, _accountNote2, __runInitializers(_init72, 236, this, "")), __runInitializers(_init72, 239, this);
56508
+ __privateAdd(this, _model2, __runInitializers(_init72, 240, this, "")), __runInitializers(_init72, 243, this);
56509
+ __privateAdd(this, _modelOptions2, __runInitializers(_init72, 244, this, [])), __runInitializers(_init72, 247, this);
56510
+ __privateAdd(this, _reasoningEffort2, __runInitializers(_init72, 248, this, "")), __runInitializers(_init72, 251, this);
56511
+ __privateAdd(this, _effortOptions2, __runInitializers(_init72, 252, this, [])), __runInitializers(_init72, 255, this);
56512
+ __privateAdd(this, _mode2, __runInitializers(_init72, 256, this, "")), __runInitializers(_init72, 259, this);
56513
+ __privateAdd(this, _modeOptions2, __runInitializers(_init72, 260, this, [])), __runInitializers(_init72, 263, this);
56514
+ __privateAdd(this, _menuActions2, __runInitializers(_init72, 264, this, [])), __runInitializers(_init72, 267, this);
56515
+ __privateAdd(this, _toolRegistry6, __runInitializers(_init72, 268, this, DeesHarnessToolRegistry.default)), __runInitializers(_init72, 271, this);
56485
56516
  /** Puts a chosen starter prompt into the composer as typing would, without sending it. */
56486
56517
  __publicField(this, "handleStarterPrompt", /* @__PURE__ */ __name((event) => {
56487
56518
  const prompt = event.detail?.prompt;
@@ -56748,6 +56779,7 @@ var _DeesHarnessChat = class _DeesHarnessChat extends (_a70 = DeesElement, _mess
56748
56779
  .maxAttachmentCount=${this.maxAttachmentCount}
56749
56780
  .maxAttachmentBytes=${this.maxAttachmentBytes}
56750
56781
  .maxTotalAttachmentBytes=${this.maxTotalAttachmentBytes}
56782
+ .attachmentAccept=${this.attachmentAccept}
56751
56783
  .disabled=${this.disabled}
56752
56784
  .inputLocked=${this.inputLocked}
56753
56785
  .busy=${this.busy || this.status.type === "busy"}
@@ -56891,6 +56923,7 @@ _starterPrompts2 = new WeakMap();
56891
56923
  _maxAttachmentCount2 = new WeakMap();
56892
56924
  _maxAttachmentBytes2 = new WeakMap();
56893
56925
  _maxTotalAttachmentBytes2 = new WeakMap();
56926
+ _attachmentAccept2 = new WeakMap();
56894
56927
  _account2 = new WeakMap();
56895
56928
  _accountOptions2 = new WeakMap();
56896
56929
  _accountNote2 = new WeakMap();
@@ -56956,6 +56989,7 @@ __decorateElement(_init72, 4, "starterPrompts", _starterPrompts_dec2, _DeesHarne
56956
56989
  __decorateElement(_init72, 4, "maxAttachmentCount", _maxAttachmentCount_dec2, _DeesHarnessChat, _maxAttachmentCount2);
56957
56990
  __decorateElement(_init72, 4, "maxAttachmentBytes", _maxAttachmentBytes_dec2, _DeesHarnessChat, _maxAttachmentBytes2);
56958
56991
  __decorateElement(_init72, 4, "maxTotalAttachmentBytes", _maxTotalAttachmentBytes_dec2, _DeesHarnessChat, _maxTotalAttachmentBytes2);
56992
+ __decorateElement(_init72, 4, "attachmentAccept", _attachmentAccept_dec2, _DeesHarnessChat, _attachmentAccept2);
56959
56993
  __decorateElement(_init72, 4, "account", _account_dec2, _DeesHarnessChat, _account2);
56960
56994
  __decorateElement(_init72, 4, "accountOptions", _accountOptions_dec2, _DeesHarnessChat, _accountOptions2);
56961
56995
  __decorateElement(_init72, 4, "accountNote", _accountNote_dec2, _DeesHarnessChat, _accountNote2);
@@ -72792,7 +72826,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
72792
72826
  * cancelled. Focus returns to whatever had it when the picker opened.
72793
72827
  */
72794
72828
  static async pick(optionsArg = {}) {
72795
- const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-CDXSOKKD.js");
72829
+ const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-JNRW3HIY.js");
72796
72830
  const picker = new _DeesHarnessConversationPicker();
72797
72831
  picker.sessions = optionsArg.sessions ?? [];
72798
72832
  picker.groups = optionsArg.groups ?? [];
@@ -73253,7 +73287,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
73253
73287
  list.selectedResourceId = event.detail.resource.id;
73254
73288
  }, "handleResourceContext");
73255
73289
  var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
73256
- const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-CDXSOKKD.js");
73290
+ const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-JNRW3HIY.js");
73257
73291
  const content = document.createElement("dees-harness-session-list");
73258
73292
  content.sessions = sessions;
73259
73293
  content.groups = groups;
@@ -117127,7 +117161,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
117127
117161
  this.terminalOpen = true;
117128
117162
  const request = ++this.terminalRequest;
117129
117163
  try {
117130
- const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-46JECUZO.js");
117164
+ const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-Y532Z546.js");
117131
117165
  await this.updateComplete;
117132
117166
  if (!this.isConnected || request !== this.terminalRequest) return;
117133
117167
  const terminal = new DeesWorkspaceTerminal3();
@@ -124131,7 +124165,7 @@ var bright = {
124131
124165
  // ts_web/00_commitinfo_data.ts
124132
124166
  var commitinfo = {
124133
124167
  name: "@design.estate/dees-catalog",
124134
- version: "21.41.1",
124168
+ version: "21.43.0",
124135
124169
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
124136
124170
  };
124137
124171
  export {
@@ -124353,6 +124387,7 @@ export {
124353
124387
  harnessDemoConversation,
124354
124388
  harnessDemoMarkdown,
124355
124389
  harnessEffectiveToolStatus,
124390
+ harnessFileMatchesAccept,
124356
124391
  harnessFileToBase64,
124357
124392
  harnessFileWriteDiffStats,
124358
124393
  harnessFileWriteSource,