@morlay/dsh-session-mode 0.0.14-alpha.2 → 0.0.14

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/client.cjs CHANGED
@@ -1492,25 +1492,25 @@ window.__ModuleLoader__.load({
1492
1492
  document.head.appendChild(tag);
1493
1493
  }
1494
1494
  var schema_form_module_css_default = {
1495
- "editorRoot": "oZhWGq_editorRoot",
1496
- "lineActions": "oZhWGq_lineActions",
1497
- "lineNumber": "oZhWGq_lineNumber",
1495
+ "valueSlot": "oZhWGq_valueSlot",
1498
1496
  "compactInput": "oZhWGq_compactInput",
1499
- "valueTrigger": "oZhWGq_valueTrigger",
1500
- "lineKey": "oZhWGq_lineKey",
1501
- "compactTextField": "oZhWGq_compactTextField",
1502
- "hoverActions": "oZhWGq_hoverActions",
1503
- "lineToken": "oZhWGq_lineToken",
1497
+ "lineNumber": "oZhWGq_lineNumber",
1498
+ "lineComment": "oZhWGq_lineComment",
1499
+ "lineActions": "oZhWGq_lineActions",
1504
1500
  "lineInvalid": "oZhWGq_lineInvalid",
1505
- "lineRow": "oZhWGq_lineRow",
1506
1501
  "lineValue": "oZhWGq_lineValue",
1507
- "lineComment": "oZhWGq_lineComment",
1502
+ "lineToken": "oZhWGq_lineToken",
1503
+ "lineFoldSpacer": "oZhWGq_lineFoldSpacer",
1508
1504
  "addWrap": "oZhWGq_addWrap",
1509
- "valueSlot": "oZhWGq_valueSlot",
1505
+ "editorRoot": "oZhWGq_editorRoot",
1506
+ "lineRow": "oZhWGq_lineRow",
1507
+ "compactTextField": "oZhWGq_compactTextField",
1510
1508
  "hint": "oZhWGq_hint",
1511
- "lineFold": "oZhWGq_lineFold",
1512
1509
  "lineBody": "oZhWGq_lineBody",
1513
- "lineFoldSpacer": "oZhWGq_lineFoldSpacer"
1510
+ "valueTrigger": "oZhWGq_valueTrigger",
1511
+ "lineKey": "oZhWGq_lineKey",
1512
+ "lineFold": "oZhWGq_lineFold",
1513
+ "hoverActions": "oZhWGq_hoverActions"
1514
1514
  };
1515
1515
  // ../../client/dsh-client-ui-primitives/src/client/schema-form/TruncatedTooltip.tsx
1516
1516
  function TruncatedTooltip({ label, children }) {
@@ -2494,55 +2494,55 @@ window.__ModuleLoader__.load({
2494
2494
  document.head.appendChild(tag);
2495
2495
  }
2496
2496
  var layout_module_css_default = {
2497
- "gap4": "uxI0LG_gap4",
2498
- "gap6": "uxI0LG_gap6",
2499
- "tabular": "uxI0LG_tabular",
2500
- "truncate": "uxI0LG_truncate",
2501
- "gapWide": "uxI0LG_gapWide",
2502
- "narrow": "uxI0LG_narrow",
2503
- "justifyCenter": "uxI0LG_justifyCenter",
2504
2497
  "sizeLg": "uxI0LG_sizeLg",
2505
- "padNone": "uxI0LG_padNone",
2506
- "plain": "uxI0LG_plain",
2498
+ "toneSecondary": "uxI0LG_toneSecondary",
2499
+ "gap0": "uxI0LG_gap0",
2500
+ "justifyBetween": "uxI0LG_justifyBetween",
2507
2501
  "sizeXs": "uxI0LG_sizeXs",
2508
- "gap14": "uxI0LG_gap14",
2509
- "alignStart": "uxI0LG_alignStart",
2510
- "gap10": "uxI0LG_gap10",
2511
- "gap8": "uxI0LG_gap8",
2502
+ "text": "uxI0LG_text",
2512
2503
  "padRow": "uxI0LG_padRow",
2513
- "sizeSm": "uxI0LG_sizeSm",
2504
+ "padNone": "uxI0LG_padNone",
2505
+ "alignCenter": "uxI0LG_alignCenter",
2506
+ "justifyEnd": "uxI0LG_justifyEnd",
2507
+ "padPage": "uxI0LG_padPage",
2508
+ "gap8": "uxI0LG_gap8",
2509
+ "gap10": "uxI0LG_gap10",
2510
+ "sizeBase": "uxI0LG_sizeBase",
2511
+ "weightMedium": "uxI0LG_weightMedium",
2512
+ "row": "uxI0LG_row",
2513
+ "gap12": "uxI0LG_gap12",
2514
+ "grow": "uxI0LG_grow",
2515
+ "gap4": "uxI0LG_gap4",
2514
2516
  "strong": "uxI0LG_strong",
2515
2517
  "mono": "uxI0LG_mono",
2516
- "push": "uxI0LG_push",
2517
- "wrap": "uxI0LG_wrap",
2518
- "padPage": "uxI0LG_padPage",
2518
+ "gap16": "uxI0LG_gap16",
2519
+ "alignEnd": "uxI0LG_alignEnd",
2519
2520
  "fixed": "uxI0LG_fixed",
2520
- "gap12": "uxI0LG_gap12",
2521
+ "plain": "uxI0LG_plain",
2522
+ "padBlocking": "uxI0LG_padBlocking",
2523
+ "gap2": "uxI0LG_gap2",
2524
+ "alignStart": "uxI0LG_alignStart",
2525
+ "gap14": "uxI0LG_gap14",
2526
+ "wrap": "uxI0LG_wrap",
2521
2527
  "fill": "uxI0LG_fill",
2522
- "scroll": "uxI0LG_scroll",
2523
- "text": "uxI0LG_text",
2524
- "sizeBase": "uxI0LG_sizeBase",
2528
+ "truncate": "uxI0LG_truncate",
2529
+ "narrow": "uxI0LG_narrow",
2525
2530
  "sizeMd": "uxI0LG_sizeMd",
2526
- "grow": "uxI0LG_grow",
2527
- "toneDanger": "uxI0LG_toneDanger",
2528
2531
  "wSearch": "uxI0LG_wSearch",
2529
- "row": "uxI0LG_row",
2530
- "tonePrimary": "uxI0LG_tonePrimary",
2531
- "padBody": "uxI0LG_padBody",
2532
- "gap16": "uxI0LG_gap16",
2533
- "alignCenter": "uxI0LG_alignCenter",
2534
- "stack": "uxI0LG_stack",
2535
- "justifyEnd": "uxI0LG_justifyEnd",
2536
- "padBlocking": "uxI0LG_padBlocking",
2537
- "alignEnd": "uxI0LG_alignEnd",
2538
- "toneSecondary": "uxI0LG_toneSecondary",
2539
- "toneTertiary": "uxI0LG_toneTertiary",
2540
- "justifyBetween": "uxI0LG_justifyBetween",
2541
2532
  "boxed": "uxI0LG_boxed",
2533
+ "sizeSm": "uxI0LG_sizeSm",
2534
+ "gapWide": "uxI0LG_gapWide",
2535
+ "justifyCenter": "uxI0LG_justifyCenter",
2536
+ "toneTertiary": "uxI0LG_toneTertiary",
2537
+ "push": "uxI0LG_push",
2538
+ "stack": "uxI0LG_stack",
2539
+ "toneDanger": "uxI0LG_toneDanger",
2540
+ "scroll": "uxI0LG_scroll",
2542
2541
  "padCard": "uxI0LG_padCard",
2543
- "gap0": "uxI0LG_gap0",
2544
- "weightMedium": "uxI0LG_weightMedium",
2545
- "gap2": "uxI0LG_gap2"
2542
+ "tabular": "uxI0LG_tabular",
2543
+ "gap6": "uxI0LG_gap6",
2544
+ "padBody": "uxI0LG_padBody",
2545
+ "tonePrimary": "uxI0LG_tonePrimary"
2546
2546
  };
2547
2547
  // ../../client/dsh-client-ui-primitives/src/client/layout/scales.ts
2548
2548
  function gapClass(css, gap) {
@@ -2620,15 +2620,15 @@ window.__ModuleLoader__.load({
2620
2620
  document.head.appendChild(tag);
2621
2621
  }
2622
2622
  var SettingsFieldRow_module_css_default = {
2623
- "hint": "_0Kpzea_hint",
2623
+ "label": "_0Kpzea_label",
2624
+ "row": "_0Kpzea_row",
2624
2625
  "inline": "_0Kpzea_inline",
2625
- "body": "_0Kpzea_body",
2626
2626
  "text": "_0Kpzea_text",
2627
- "label": "_0Kpzea_label",
2627
+ "badge": "_0Kpzea_badge",
2628
2628
  "reset": "_0Kpzea_reset",
2629
- "row": "_0Kpzea_row",
2630
- "invalid": "_0Kpzea_invalid",
2631
- "badge": "_0Kpzea_badge"
2629
+ "body": "_0Kpzea_body",
2630
+ "hint": "_0Kpzea_hint",
2631
+ "invalid": "_0Kpzea_invalid"
2632
2632
  };
2633
2633
  // ../../client/dsh-client-ui-primitives/src/client/settings-form/SettingsFieldRow.tsx
2634
2634
  function SettingsFieldRow({ label, hint, layout = "stack", divider = false, overriddenLabel, resetLabel, onReset, invalid, children, className, ...rest }) {
@@ -2760,11 +2760,11 @@ window.__ModuleLoader__.load({
2760
2760
  document.head.appendChild(tag);
2761
2761
  }
2762
2762
  var SeatButton_module_css_default = {
2763
- "chevron": "io5HbW_chevron",
2764
- "seat": "io5HbW_seat",
2765
2763
  "expanded": "io5HbW_expanded",
2764
+ "label": "io5HbW_label",
2766
2765
  "icon": "io5HbW_icon",
2767
- "label": "io5HbW_label"
2766
+ "chevron": "io5HbW_chevron",
2767
+ "seat": "io5HbW_seat"
2768
2768
  };
2769
2769
  // ../../client/dsh-client-ui-primitives/src/client/controls/SeatButton.tsx
2770
2770
  function SeatButton({ icon, label, expanded = false, chevron, type = "button", className, ...rest }) {
@@ -2885,16 +2885,16 @@ window.__ModuleLoader__.load({
2885
2885
  document.head.appendChild(tag);
2886
2886
  }
2887
2887
  var ModelRouteList_module_css_default = {
2888
- "notice": "aGmQkW_notice",
2889
- "id": "aGmQkW_id",
2890
2888
  "provider": "aGmQkW_provider",
2891
- "picked": "aGmQkW_picked",
2889
+ "id": "aGmQkW_id",
2890
+ "group": "aGmQkW_group",
2892
2891
  "error": "aGmQkW_error",
2892
+ "picked": "aGmQkW_picked",
2893
+ "notice": "aGmQkW_notice",
2893
2894
  "list": "aGmQkW_list",
2895
+ "item": "aGmQkW_item",
2894
2896
  "text": "aGmQkW_text",
2895
- "group": "aGmQkW_group",
2896
- "name": "aGmQkW_name",
2897
- "item": "aGmQkW_item"
2897
+ "name": "aGmQkW_name"
2898
2898
  };
2899
2899
  // ../../client/dsh-client-ui-primitives/src/client/controls/ModelRouteList.tsx
2900
2900
  function ModelRouteList({ label, candidates, selectedKey, disabled = false, status, loadingLabel, errorLabel, emptyLabel, onSelect }) {
@@ -2998,9 +2998,9 @@ window.__ModuleLoader__.load({
2998
2998
  }
2999
2999
  var SearchSelect_module_css_default = {
3000
3000
  "trigger": "pNIIcq_trigger",
3001
- "empty": "pNIIcq_empty",
3002
3001
  "searchInput": "pNIIcq_searchInput",
3003
- "searchRow": "pNIIcq_searchRow"
3002
+ "searchRow": "pNIIcq_searchRow",
3003
+ "empty": "pNIIcq_empty"
3004
3004
  };
3005
3005
  // ../../client/dsh-client-ui-primitives/src/client/controls/SearchSelect.tsx
3006
3006
  function SearchSelect({ label, value, emptyLabel, options, disabled = false, searchLabel, noMatchLabel, onSelect }) {
@@ -3111,12 +3111,12 @@ window.__ModuleLoader__.load({
3111
3111
  }
3112
3112
  var TagInput_module_css_default = {
3113
3113
  "chipRemove": "_0uSpIq_chipRemove",
3114
- "row": "_0uSpIq_row",
3115
3114
  "box": "_0uSpIq_box",
3115
+ "anchor": "_0uSpIq_anchor",
3116
3116
  "input": "_0uSpIq_input",
3117
3117
  "chip": "_0uSpIq_chip",
3118
- "empty": "_0uSpIq_empty",
3119
- "anchor": "_0uSpIq_anchor"
3118
+ "row": "_0uSpIq_row",
3119
+ "empty": "_0uSpIq_empty"
3120
3120
  };
3121
3121
  // ../../client/dsh-client-ui-primitives/src/client/controls/TagInput.tsx
3122
3122
  function TagInput({ value, onChange, options, placeholder, label, disabled = false, noMatchLabel = "", removeLabel }) {
@@ -13081,7 +13081,7 @@ window.__ModuleLoader__.load({
13081
13081
  ]);
13082
13082
  ({}).hasOwnProperty;
13083
13083
  ({}).hasOwnProperty;
13084
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
13084
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
13085
13085
  /**
13086
13086
  * @import {Options, State} from 'mdast-util-to-markdown'
13087
13087
  */
@@ -13098,7 +13098,7 @@ window.__ModuleLoader__.load({
13098
13098
  if (marker !== "\"" && marker !== "'") throw new Error("Cannot serialize title with `" + marker + "` for `options.quote`, expected `\"`, or `'`");
13099
13099
  return marker;
13100
13100
  }
13101
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
13101
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
13102
13102
  /**
13103
13103
  * @import {Options, State} from 'mdast-util-to-markdown'
13104
13104
  */
@@ -13115,7 +13115,7 @@ window.__ModuleLoader__.load({
13115
13115
  if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize emphasis with `" + marker + "` for `options.emphasis`, expected `*`, or `_`");
13116
13116
  return marker;
13117
13117
  }
13118
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/character.js
13118
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/character.js
13119
13119
  /**
13120
13120
  * Get the first character of a value.
13121
13121
  *
@@ -13144,7 +13144,7 @@ window.__ModuleLoader__.load({
13144
13144
  const code = value.codePointAt(value.length - 2);
13145
13145
  return code !== void 0 && code > 65535 ? value.slice(-2) : value.slice(-1);
13146
13146
  }
13147
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
13147
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
13148
13148
  /**
13149
13149
  * Encode a code point as a character reference.
13150
13150
  *
@@ -13156,7 +13156,7 @@ window.__ModuleLoader__.load({
13156
13156
  function encodeCharacterReference(code) {
13157
13157
  return "&#x" + code.toString(16).toUpperCase() + ";";
13158
13158
  }
13159
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
13159
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
13160
13160
  /**
13161
13161
  * @import {EncodeSides} from '../types.js'
13162
13162
  */
@@ -13227,7 +13227,7 @@ window.__ModuleLoader__.load({
13227
13227
  outside: false
13228
13228
  };
13229
13229
  }
13230
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/html-kind.js
13230
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/html-kind.js
13231
13231
  /**
13232
13232
  * @typedef {1 | 2 | 3 | 4 | 5 | 6 | 7} Kind
13233
13233
  * Kind of HTML (flow) element.
@@ -13274,7 +13274,7 @@ window.__ModuleLoader__.load({
13274
13274
  if (!closing && code !== 47 && htmlRawNames.includes(name)) return 1;
13275
13275
  return htmlBlockNames.includes(name) ? 6 : 7;
13276
13276
  }
13277
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
13277
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
13278
13278
  /**
13279
13279
  * @import {Attention, Handle, Info, State, Tracker} from 'mdast-util-to-markdown'
13280
13280
  * @import {PhrasingParents} from '../types.js'
@@ -13782,7 +13782,7 @@ window.__ModuleLoader__.load({
13782
13782
  for (const token of tokens) result += token.value;
13783
13783
  return result;
13784
13784
  }
13785
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
13785
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
13786
13786
  /**
13787
13787
  * @import {AttentionInfo, Info, State} from 'mdast-util-to-markdown'
13788
13788
  * @import {Emphasis, Parents} from 'mdast'
@@ -13843,7 +13843,7 @@ window.__ModuleLoader__.load({
13843
13843
  function peek$1(_, _1, state) {
13844
13844
  return state.options.emphasis || "*";
13845
13845
  }
13846
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/html.js
13846
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/html.js
13847
13847
  /**
13848
13848
  * @import {Html} from 'mdast'
13849
13849
  */
@@ -13868,7 +13868,7 @@ window.__ModuleLoader__.load({
13868
13868
  function htmlPeek() {
13869
13869
  return "<";
13870
13870
  }
13871
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/image.js
13871
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/image.js
13872
13872
  /**
13873
13873
  * @import {Info, State} from 'mdast-util-to-markdown'
13874
13874
  * @import {Image, Parents} from 'mdast'
@@ -13944,7 +13944,7 @@ window.__ModuleLoader__.load({
13944
13944
  function imagePeek() {
13945
13945
  return "!";
13946
13946
  }
13947
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
13947
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
13948
13948
  /**
13949
13949
  * @import {Info, State} from 'mdast-util-to-markdown'
13950
13950
  * @import {ImageReference, Parents} from 'mdast'
@@ -14004,7 +14004,7 @@ window.__ModuleLoader__.load({
14004
14004
  function imageReferencePeek() {
14005
14005
  return "!";
14006
14006
  }
14007
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
14007
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
14008
14008
  /**
14009
14009
  * @import {State} from 'mdast-util-to-markdown'
14010
14010
  * @import {InlineCode, Parents} from 'mdast'
@@ -14051,7 +14051,7 @@ window.__ModuleLoader__.load({
14051
14051
  function inlineCodePeek() {
14052
14052
  return "`";
14053
14053
  }
14054
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
14054
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
14055
14055
  /**
14056
14056
  * @import {State} from 'mdast-util-to-markdown'
14057
14057
  * @import {Link} from 'mdast'
@@ -14070,7 +14070,7 @@ window.__ModuleLoader__.load({
14070
14070
  const raw = toString(node);
14071
14071
  return Boolean(!state.options.resourceLink && node.url && !node.title && node.children && node.children.length === 1 && node.children[0].type === "text" && (raw === node.url || "mailto:" + raw === node.url) && /^[a-z][+\-.a-z]+:/i.test(node.url) && !/[\0- <>\u007F]/.test(node.url));
14072
14072
  }
14073
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/link.js
14073
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/link.js
14074
14074
  /**
14075
14075
  * @import {Info, State} from 'mdast-util-to-markdown'
14076
14076
  * @import {Link, Parents} from 'mdast'
@@ -14179,7 +14179,7 @@ window.__ModuleLoader__.load({
14179
14179
  function linkPeek(node, _, state) {
14180
14180
  return formatLinkAsAutolink(node, state) ? "<" : "[";
14181
14181
  }
14182
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
14182
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
14183
14183
  /**
14184
14184
  * @import {Info, State} from 'mdast-util-to-markdown'
14185
14185
  * @import {LinkReference, Parents} from 'mdast'
@@ -14239,7 +14239,7 @@ window.__ModuleLoader__.load({
14239
14239
  function linkReferencePeek() {
14240
14240
  return "[";
14241
14241
  }
14242
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
14242
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
14243
14243
  /**
14244
14244
  * @import {Options, State} from 'mdast-util-to-markdown'
14245
14245
  */
@@ -14256,7 +14256,7 @@ window.__ModuleLoader__.load({
14256
14256
  if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize strong with `" + marker + "` for `options.strong`, expected `*`, or `_`");
14257
14257
  return marker;
14258
14258
  }
14259
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/handle/strong.js
14259
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js
14260
14260
  /**
14261
14261
  * @import {AttentionInfo, Info, State} from 'mdast-util-to-markdown'
14262
14262
  * @import {Parents, Strong} from 'mdast'
@@ -14317,7 +14317,7 @@ window.__ModuleLoader__.load({
14317
14317
  function peek(_, _1, state) {
14318
14318
  return state.options.strong || "*";
14319
14319
  }
14320
- // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.1/node_modules/mdast-util-to-markdown/lib/unsafe.js
14320
+ // ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/unsafe.js
14321
14321
  /**
14322
14322
  * @import {ConstructName, Unsafe} from 'mdast-util-to-markdown'
14323
14323
  */
@@ -14586,23 +14586,22 @@ window.__ModuleLoader__.load({
14586
14586
  inConstruct: "autolink"
14587
14587
  });
14588
14588
  ({}).hasOwnProperty;
14589
- // ../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@9.4.0/node_modules/mdast-util-gfm-table/lib/index.js
14589
+ // ../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.1_supports-color@9.4.0/node_modules/mdast-util-gfm-table/lib/index.js
14590
14590
  /**
14591
- * @typedef {import('mdast').InlineCode} InlineCode
14592
- * @typedef {import('mdast').Table} Table
14593
- * @typedef {import('mdast').TableCell} TableCell
14594
- * @typedef {import('mdast').TableRow} TableRow
14595
- *
14596
- * @typedef {import('markdown-table').Options} MarkdownTableOptions
14597
- *
14598
- * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext
14599
- * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension
14600
- * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle
14601
- *
14602
- * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension
14603
- * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle
14604
- * @typedef {import('mdast-util-to-markdown').State} State
14605
- * @typedef {import('mdast-util-to-markdown').Info} Info
14591
+ * @import {Heading, InlineCode, Table, TableCell, TableRow} from 'mdast'
14592
+ * @import {Options as MarkdownTableOptions} from 'markdown-table'
14593
+ * @import {
14594
+ * CompileContext,
14595
+ * Extension as FromMarkdownExtension,
14596
+ * Handle as FromMarkdownHandle,
14597
+ * } from 'mdast-util-from-markdown'
14598
+ * @import {
14599
+ * Options as ToMarkdownExtension,
14600
+ * Handle as ToMarkdownHandle,
14601
+ * Info,
14602
+ * Join,
14603
+ * State
14604
+ * } from 'mdast-util-to-markdown'
14606
14605
  */
14607
14606
  /**
14608
14607
  * @typedef Options
@@ -14641,6 +14640,8 @@ window.__ModuleLoader__.load({
14641
14640
  };
14642
14641
  }
14643
14642
  /**
14643
+ * Enter a table.
14644
+ *
14644
14645
  * @this {CompileContext}
14645
14646
  * @type {FromMarkdownHandle}
14646
14647
  */
@@ -14651,11 +14652,14 @@ window.__ModuleLoader__.load({
14651
14652
  align: align.map(function(d) {
14652
14653
  return d === "none" ? null : d;
14653
14654
  }),
14654
- children: []
14655
+ children: [],
14656
+ position: void 0
14655
14657
  }, token);
14656
14658
  this.data.inTable = true;
14657
14659
  }
14658
14660
  /**
14661
+ * Exit a table.
14662
+ *
14659
14663
  * @this {CompileContext}
14660
14664
  * @type {FromMarkdownHandle}
14661
14665
  */
@@ -14664,16 +14668,21 @@ window.__ModuleLoader__.load({
14664
14668
  this.data.inTable = void 0;
14665
14669
  }
14666
14670
  /**
14671
+ * Enter a row.
14672
+ *
14667
14673
  * @this {CompileContext}
14668
14674
  * @type {FromMarkdownHandle}
14669
14675
  */
14670
14676
  function enterRow(token) {
14671
14677
  this.enter({
14672
14678
  type: "tableRow",
14673
- children: []
14679
+ children: [],
14680
+ position: void 0
14674
14681
  }, token);
14675
14682
  }
14676
14683
  /**
14684
+ * Exit a row or cell.
14685
+ *
14677
14686
  * @this {CompileContext}
14678
14687
  * @type {FromMarkdownHandle}
14679
14688
  */
@@ -14681,16 +14690,24 @@ window.__ModuleLoader__.load({
14681
14690
  this.exit(token);
14682
14691
  }
14683
14692
  /**
14693
+ * Enter a cell.
14694
+ *
14684
14695
  * @this {CompileContext}
14685
14696
  * @type {FromMarkdownHandle}
14686
14697
  */
14687
14698
  function enterCell(token) {
14688
14699
  this.enter({
14689
14700
  type: "tableCell",
14690
- children: []
14701
+ children: [],
14702
+ position: void 0
14691
14703
  }, token);
14692
14704
  }
14693
14705
  /**
14706
+ * Exit code (text).
14707
+ *
14708
+ * Overwrites the default code text data handler to unescape escaped pipes
14709
+ * when they are in tables.
14710
+ *
14694
14711
  * @this {CompileContext}
14695
14712
  * @type {FromMarkdownHandle}
14696
14713
  */
@@ -14703,9 +14720,14 @@ window.__ModuleLoader__.load({
14703
14720
  this.exit(token);
14704
14721
  }
14705
14722
  /**
14723
+ * Unescape an escaped pipe.
14724
+ *
14706
14725
  * @param {string} $0
14726
+ * Whole match.
14707
14727
  * @param {string} $1
14728
+ * Escaped character.
14708
14729
  * @returns {string}
14730
+ * Replacement.
14709
14731
  */
14710
14732
  function replace($0, $1) {
14711
14733
  return $1 === "|" ? $1 : $0;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as SessionModeCatalog } from "./catalog-D-n_RctY.mjs";
2
1
  import { n as SESSION_MODE_PATH, t as POLICY_NAMES } from "./shared-vjlwxiMt.mjs";
2
+ import { t as SessionModeCatalog } from "./catalog-D-n_RctY.mjs";
3
3
  import { Service } from "@deepseek-ai/cordis";
4
4
  import { modelSelectionProjectionDefinition } from "@deepseek-ai/dsh-agent";
5
5
  import { ReasoningEffortId } from "@deepseek-ai/dsh-llm";
package/dist/testing.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_catalog_remote = require("./catalog-remote-DWV4E4Vo.cjs");
3
2
  const require_catalog = require("./catalog-C_6kb1aC.cjs");
3
+ const require_catalog_remote = require("./catalog-remote-DWV4E4Vo.cjs");
4
4
  exports.CATALOG_NS = require_catalog_remote.CATALOG_NS;
5
5
  exports.SESSION_MODE_CATALOG_REMOTE = require_catalog_remote.SESSION_MODE_CATALOG_REMOTE;
6
6
  exports.SessionModeCatalog = require_catalog.SessionModeCatalog;
package/dist/testing.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as SESSION_MODE_CATALOG_REMOTE, t as CATALOG_NS } from "./catalog-remote-Cz8L_Zrl.mjs";
2
1
  import { t as SessionModeCatalog } from "./catalog-D-n_RctY.mjs";
2
+ import { n as SESSION_MODE_CATALOG_REMOTE, t as CATALOG_NS } from "./catalog-remote-Cz8L_Zrl.mjs";
3
3
  export { CATALOG_NS, SESSION_MODE_CATALOG_REMOTE, SessionModeCatalog };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morlay/dsh-session-mode",
3
- "version": "0.0.14-alpha.2",
3
+ "version": "0.0.14",
4
4
  "description": "Session modes for dsh: coding / chat as data — a mode is a persona plus its tool lists, its upstream policy lists, its instruction / skill-catalog / runtime-context switches and an optional default model. The host applies the current mode to each session, and the chip in the composer sits beside the official agent-preset entry, which stays.",
5
5
  "keywords": [
6
6
  "dsh",
@@ -43,39 +43,39 @@
43
43
  "./locale/*.json": "./locale/*.json"
44
44
  },
45
45
  "dependencies": {
46
- "@morlay/dsh-client-ui-primitives": "0.0.14-alpha.2",
46
+ "@morlay/dsh-client-ui-primitives": "0.0.14",
47
47
  "zod": "4.4.3"
48
48
  },
49
49
  "devDependencies": {
50
- "@deepseek-ai/cordis": "^4.0.6-alpha.1",
51
- "@deepseek-ai/cordis-plugin-group": "^1.0.6-alpha.1",
52
- "@deepseek-ai/cordis-plugin-include": "^1.0.11-alpha.1",
53
- "@deepseek-ai/cordis-plugin-loader": "^1.0.7-alpha.1",
54
- "@deepseek-ai/cosmokit": "^1.8.7-alpha.1",
55
- "@deepseek-ai/dsh-agent": "^0.2.2-alpha.2",
56
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-alpha.2",
57
- "@deepseek-ai/dsh-agent-preset-registry": "^0.2.2-alpha.2",
58
- "@deepseek-ai/dsh-api-session-controller": "^0.2.2-alpha.2",
59
- "@deepseek-ai/dsh-client-locale": "^0.2.2-alpha.2",
60
- "@deepseek-ai/dsh-client-store": "^0.2.2-alpha.2",
61
- "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-alpha.2",
62
- "@deepseek-ai/dsh-client-ui-plugin-manager": "^0.2.2-alpha.2",
63
- "@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-alpha.2",
64
- "@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-alpha.2",
65
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-alpha.2",
66
- "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-alpha.2",
67
- "@deepseek-ai/dsh-fs": "^0.2.2-alpha.2",
68
- "@deepseek-ai/dsh-fs-local": "^0.2.2-alpha.2",
69
- "@deepseek-ai/dsh-fs-observation-policy": "^0.2.2-alpha.2",
70
- "@deepseek-ai/dsh-llm": "^0.2.2-alpha.2",
71
- "@deepseek-ai/dsh-session": "^0.2.2-alpha.2",
72
- "@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.2",
73
- "@deepseek-ai/dsh-settings": "^0.2.2-alpha.2",
74
- "@deepseek-ai/dsh-skill": "^0.2.2-alpha.2",
75
- "@deepseek-ai/dsh-system-prompt": "^0.2.2-alpha.2",
76
- "@deepseek-ai/dsh-tools": "^0.2.2-alpha.2",
77
- "@deepseek-ai/dsh-typert-protocol": "^0.2.2-alpha.2",
78
- "@deepseek-ai/dsh-working-directory": "^0.2.2-alpha.2",
50
+ "@deepseek-ai/cordis": "^4.0.6-alpha.2",
51
+ "@deepseek-ai/cordis-plugin-group": "^1.0.6-alpha.2",
52
+ "@deepseek-ai/cordis-plugin-include": "^1.0.11-alpha.2",
53
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.7-alpha.2",
54
+ "@deepseek-ai/cosmokit": "^1.8.7-alpha.2",
55
+ "@deepseek-ai/dsh-agent": "^0.2.2-alpha.3",
56
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-alpha.3",
57
+ "@deepseek-ai/dsh-agent-preset-registry": "^0.2.2-alpha.3",
58
+ "@deepseek-ai/dsh-api-session-controller": "^0.2.2-alpha.3",
59
+ "@deepseek-ai/dsh-client-locale": "^0.2.2-alpha.3",
60
+ "@deepseek-ai/dsh-client-store": "^0.2.2-alpha.3",
61
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-alpha.3",
62
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "^0.2.2-alpha.3",
63
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-alpha.3",
64
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-alpha.3",
65
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-alpha.3",
66
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-alpha.3",
67
+ "@deepseek-ai/dsh-fs": "^0.2.2-alpha.3",
68
+ "@deepseek-ai/dsh-fs-local": "^0.2.2-alpha.3",
69
+ "@deepseek-ai/dsh-fs-observation-policy": "^0.2.2-alpha.3",
70
+ "@deepseek-ai/dsh-llm": "^0.2.2-alpha.3",
71
+ "@deepseek-ai/dsh-session": "^0.2.2-alpha.3",
72
+ "@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.3",
73
+ "@deepseek-ai/dsh-settings": "^0.2.2-alpha.3",
74
+ "@deepseek-ai/dsh-skill": "^0.2.2-alpha.3",
75
+ "@deepseek-ai/dsh-system-prompt": "^0.2.2-alpha.3",
76
+ "@deepseek-ai/dsh-tools": "^0.2.2-alpha.3",
77
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.2-alpha.3",
78
+ "@deepseek-ai/dsh-working-directory": "^0.2.2-alpha.3",
79
79
  "@testing-library/react": "^16.3.0",
80
80
  "@types/js-yaml": "^4.0.9",
81
81
  "@types/react": "~18.3.1",
@@ -83,34 +83,34 @@
83
83
  "react-dom": "^18.2.0"
84
84
  },
85
85
  "peerDependencies": {
86
- "@deepseek-ai/cordis": "^4.0.6-alpha.1",
87
- "@deepseek-ai/cosmokit": "^1.8.7-alpha.1",
88
- "@deepseek-ai/dsh-agent": "^0.2.2-alpha.2",
89
- "@deepseek-ai/dsh-agent-preset-registry": "^0.2.2-alpha.2",
90
- "@deepseek-ai/dsh-api-remotes": "^0.2.2-alpha.2",
91
- "@deepseek-ai/dsh-api-session-controller": "^0.2.2-alpha.2",
92
- "@deepseek-ai/dsh-client-locale": "^0.2.2-alpha.2",
93
- "@deepseek-ai/dsh-client-store": "^0.2.2-alpha.2",
94
- "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-alpha.2",
95
- "@deepseek-ai/dsh-client-ui-plugin-manager": "^0.2.2-alpha.2",
96
- "@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-alpha.2",
97
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-alpha.2",
98
- "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-alpha.2",
99
- "@deepseek-ai/dsh-fs": "^0.2.2-alpha.2",
100
- "@deepseek-ai/dsh-llm": "^0.2.2-alpha.2",
101
- "@deepseek-ai/dsh-session": "^0.2.2-alpha.2",
102
- "@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.2",
103
- "@deepseek-ai/dsh-skill": "^0.2.2-alpha.2",
104
- "@deepseek-ai/dsh-system-prompt": "^0.2.2-alpha.2",
105
- "@deepseek-ai/dsh-tool-skill": "^0.2.2-alpha.2",
106
- "@deepseek-ai/dsh-tools": "^0.2.2-alpha.2",
107
- "@deepseek-ai/dsh-typert-protocol": "^0.2.2-alpha.2",
108
- "@deepseek-ai/schemastery": "^3.18.6-alpha.1",
109
- "@morlay/dsh-context-assembler": "0.0.11-alpha.2",
86
+ "@deepseek-ai/cordis": "^4.0.6-alpha.2",
87
+ "@deepseek-ai/cosmokit": "^1.8.7-alpha.2",
88
+ "@deepseek-ai/dsh-agent": "^0.2.2-alpha.3",
89
+ "@deepseek-ai/dsh-agent-preset-registry": "^0.2.2-alpha.3",
90
+ "@deepseek-ai/dsh-api-remotes": "^0.2.2-alpha.3",
91
+ "@deepseek-ai/dsh-api-session-controller": "^0.2.2-alpha.3",
92
+ "@deepseek-ai/dsh-client-locale": "^0.2.2-alpha.3",
93
+ "@deepseek-ai/dsh-client-store": "^0.2.2-alpha.3",
94
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-alpha.3",
95
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "^0.2.2-alpha.3",
96
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-alpha.3",
97
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-alpha.3",
98
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.2-alpha.3",
99
+ "@deepseek-ai/dsh-fs": "^0.2.2-alpha.3",
100
+ "@deepseek-ai/dsh-llm": "^0.2.2-alpha.3",
101
+ "@deepseek-ai/dsh-session": "^0.2.2-alpha.3",
102
+ "@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.3",
103
+ "@deepseek-ai/dsh-skill": "^0.2.2-alpha.3",
104
+ "@deepseek-ai/dsh-system-prompt": "^0.2.2-alpha.3",
105
+ "@deepseek-ai/dsh-tool-skill": "^0.2.2-alpha.3",
106
+ "@deepseek-ai/dsh-tools": "^0.2.2-alpha.3",
107
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.2-alpha.3",
108
+ "@deepseek-ai/schemastery": "^3.18.6-alpha.2",
109
+ "@morlay/dsh-context-assembler": "0.0.11",
110
110
  "react": "^18.2.0"
111
111
  },
112
112
  "engines": {
113
- "dsh": ">= 0.2.2-alpha.2 < 0.2.3"
113
+ "dsh": ">= 0.2.2-alpha.3 < 0.2.3"
114
114
  },
115
115
  "dsh": {
116
116
  "client": {