@morlay/dsh-session-mode 0.0.14-alpha.3 → 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 +132 -110
- package/dist/index.mjs +1 -1
- package/dist/testing.cjs +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +3 -3
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
|
-
"lineComment": "oZhWGq_lineComment",
|
|
1496
|
-
"lineInvalid": "oZhWGq_lineInvalid",
|
|
1497
|
-
"hoverActions": "oZhWGq_hoverActions",
|
|
1498
|
-
"lineRow": "oZhWGq_lineRow",
|
|
1499
|
-
"lineBody": "oZhWGq_lineBody",
|
|
1500
|
-
"editorRoot": "oZhWGq_editorRoot",
|
|
1501
|
-
"lineNumber": "oZhWGq_lineNumber",
|
|
1502
1495
|
"valueSlot": "oZhWGq_valueSlot",
|
|
1503
1496
|
"compactInput": "oZhWGq_compactInput",
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1506
|
-
"
|
|
1507
|
-
"
|
|
1497
|
+
"lineNumber": "oZhWGq_lineNumber",
|
|
1498
|
+
"lineComment": "oZhWGq_lineComment",
|
|
1499
|
+
"lineActions": "oZhWGq_lineActions",
|
|
1500
|
+
"lineInvalid": "oZhWGq_lineInvalid",
|
|
1508
1501
|
"lineValue": "oZhWGq_lineValue",
|
|
1509
|
-
"lineFoldSpacer": "oZhWGq_lineFoldSpacer",
|
|
1510
1502
|
"lineToken": "oZhWGq_lineToken",
|
|
1503
|
+
"lineFoldSpacer": "oZhWGq_lineFoldSpacer",
|
|
1504
|
+
"addWrap": "oZhWGq_addWrap",
|
|
1505
|
+
"editorRoot": "oZhWGq_editorRoot",
|
|
1506
|
+
"lineRow": "oZhWGq_lineRow",
|
|
1511
1507
|
"compactTextField": "oZhWGq_compactTextField",
|
|
1508
|
+
"hint": "oZhWGq_hint",
|
|
1509
|
+
"lineBody": "oZhWGq_lineBody",
|
|
1510
|
+
"valueTrigger": "oZhWGq_valueTrigger",
|
|
1511
|
+
"lineKey": "oZhWGq_lineKey",
|
|
1512
1512
|
"lineFold": "oZhWGq_lineFold",
|
|
1513
|
-
"
|
|
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
|
-
"scroll": "uxI0LG_scroll",
|
|
2498
|
-
"gap4": "uxI0LG_gap4",
|
|
2499
|
-
"sizeSm": "uxI0LG_sizeSm",
|
|
2500
|
-
"toneDanger": "uxI0LG_toneDanger",
|
|
2501
|
-
"fixed": "uxI0LG_fixed",
|
|
2502
|
-
"gapWide": "uxI0LG_gapWide",
|
|
2503
|
-
"padRow": "uxI0LG_padRow",
|
|
2504
2497
|
"sizeLg": "uxI0LG_sizeLg",
|
|
2505
|
-
"
|
|
2506
|
-
"
|
|
2507
|
-
"
|
|
2498
|
+
"toneSecondary": "uxI0LG_toneSecondary",
|
|
2499
|
+
"gap0": "uxI0LG_gap0",
|
|
2500
|
+
"justifyBetween": "uxI0LG_justifyBetween",
|
|
2501
|
+
"sizeXs": "uxI0LG_sizeXs",
|
|
2502
|
+
"text": "uxI0LG_text",
|
|
2503
|
+
"padRow": "uxI0LG_padRow",
|
|
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",
|
|
2508
2511
|
"weightMedium": "uxI0LG_weightMedium",
|
|
2512
|
+
"row": "uxI0LG_row",
|
|
2513
|
+
"gap12": "uxI0LG_gap12",
|
|
2509
2514
|
"grow": "uxI0LG_grow",
|
|
2515
|
+
"gap4": "uxI0LG_gap4",
|
|
2516
|
+
"strong": "uxI0LG_strong",
|
|
2517
|
+
"mono": "uxI0LG_mono",
|
|
2518
|
+
"gap16": "uxI0LG_gap16",
|
|
2519
|
+
"alignEnd": "uxI0LG_alignEnd",
|
|
2520
|
+
"fixed": "uxI0LG_fixed",
|
|
2510
2521
|
"plain": "uxI0LG_plain",
|
|
2511
|
-
"
|
|
2512
|
-
"gap12": "uxI0LG_gap12",
|
|
2513
|
-
"tonePrimary": "uxI0LG_tonePrimary",
|
|
2514
|
-
"tabular": "uxI0LG_tabular",
|
|
2515
|
-
"padPage": "uxI0LG_padPage",
|
|
2516
|
-
"justifyCenter": "uxI0LG_justifyCenter",
|
|
2517
|
-
"sizeMd": "uxI0LG_sizeMd",
|
|
2522
|
+
"padBlocking": "uxI0LG_padBlocking",
|
|
2518
2523
|
"gap2": "uxI0LG_gap2",
|
|
2519
|
-
"
|
|
2520
|
-
"
|
|
2521
|
-
"alignEnd": "uxI0LG_alignEnd",
|
|
2522
|
-
"boxed": "uxI0LG_boxed",
|
|
2523
|
-
"gap0": "uxI0LG_gap0",
|
|
2524
|
-
"justifyEnd": "uxI0LG_justifyEnd",
|
|
2525
|
-
"padNone": "uxI0LG_padNone",
|
|
2526
|
-
"row": "uxI0LG_row",
|
|
2527
|
-
"alignCenter": "uxI0LG_alignCenter",
|
|
2524
|
+
"alignStart": "uxI0LG_alignStart",
|
|
2525
|
+
"gap14": "uxI0LG_gap14",
|
|
2528
2526
|
"wrap": "uxI0LG_wrap",
|
|
2529
|
-
"
|
|
2530
|
-
"
|
|
2527
|
+
"fill": "uxI0LG_fill",
|
|
2528
|
+
"truncate": "uxI0LG_truncate",
|
|
2531
2529
|
"narrow": "uxI0LG_narrow",
|
|
2530
|
+
"sizeMd": "uxI0LG_sizeMd",
|
|
2532
2531
|
"wSearch": "uxI0LG_wSearch",
|
|
2533
|
-
"
|
|
2534
|
-
"
|
|
2535
|
-
"
|
|
2536
|
-
"
|
|
2532
|
+
"boxed": "uxI0LG_boxed",
|
|
2533
|
+
"sizeSm": "uxI0LG_sizeSm",
|
|
2534
|
+
"gapWide": "uxI0LG_gapWide",
|
|
2535
|
+
"justifyCenter": "uxI0LG_justifyCenter",
|
|
2536
|
+
"toneTertiary": "uxI0LG_toneTertiary",
|
|
2537
|
+
"push": "uxI0LG_push",
|
|
2537
2538
|
"stack": "uxI0LG_stack",
|
|
2538
|
-
"
|
|
2539
|
-
"
|
|
2540
|
-
"sizeXs": "uxI0LG_sizeXs",
|
|
2539
|
+
"toneDanger": "uxI0LG_toneDanger",
|
|
2540
|
+
"scroll": "uxI0LG_scroll",
|
|
2541
2541
|
"padCard": "uxI0LG_padCard",
|
|
2542
|
-
"
|
|
2543
|
-
"
|
|
2544
|
-
"
|
|
2545
|
-
"
|
|
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
|
-
"
|
|
2623
|
+
"label": "_0Kpzea_label",
|
|
2624
2624
|
"row": "_0Kpzea_row",
|
|
2625
|
-
"reset": "_0Kpzea_reset",
|
|
2626
2625
|
"inline": "_0Kpzea_inline",
|
|
2627
|
-
"label": "_0Kpzea_label",
|
|
2628
2626
|
"text": "_0Kpzea_text",
|
|
2629
|
-
"
|
|
2627
|
+
"badge": "_0Kpzea_badge",
|
|
2628
|
+
"reset": "_0Kpzea_reset",
|
|
2629
|
+
"body": "_0Kpzea_body",
|
|
2630
2630
|
"hint": "_0Kpzea_hint",
|
|
2631
|
-
"
|
|
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 }) {
|
|
@@ -2715,8 +2715,8 @@ window.__ModuleLoader__.load({
|
|
|
2715
2715
|
document.head.appendChild(tag);
|
|
2716
2716
|
}
|
|
2717
2717
|
var Button_module_css_default = {
|
|
2718
|
-
"
|
|
2719
|
-
"
|
|
2718
|
+
"label": "SBA8ka_label",
|
|
2719
|
+
"danger": "SBA8ka_danger"
|
|
2720
2720
|
};
|
|
2721
2721
|
// ../../client/dsh-client-ui-primitives/src/client/controls/Button.tsx
|
|
2722
2722
|
const Button$1 = (0, react.forwardRef)(function Button({ className, tone, ...rest }, ref) {
|
|
@@ -2761,10 +2761,10 @@ window.__ModuleLoader__.load({
|
|
|
2761
2761
|
}
|
|
2762
2762
|
var SeatButton_module_css_default = {
|
|
2763
2763
|
"expanded": "io5HbW_expanded",
|
|
2764
|
-
"seat": "io5HbW_seat",
|
|
2765
2764
|
"label": "io5HbW_label",
|
|
2766
2765
|
"icon": "io5HbW_icon",
|
|
2767
|
-
"chevron": "io5HbW_chevron"
|
|
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 }) {
|
|
@@ -2860,8 +2860,8 @@ window.__ModuleLoader__.load({
|
|
|
2860
2860
|
}
|
|
2861
2861
|
var IconButton_module_css_default = {
|
|
2862
2862
|
"iconButton": "G842ma_iconButton",
|
|
2863
|
-
"
|
|
2864
|
-
"
|
|
2863
|
+
"sm": "G842ma_sm",
|
|
2864
|
+
"circle": "G842ma_circle"
|
|
2865
2865
|
};
|
|
2866
2866
|
// ../../client/dsh-client-ui-primitives/src/client/controls/IconButton.tsx
|
|
2867
2867
|
function IconButton({ label, children, type = "button", shape = "square", size = "md", 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
|
-
"
|
|
2888
|
+
"provider": "aGmQkW_provider",
|
|
2889
2889
|
"id": "aGmQkW_id",
|
|
2890
2890
|
"group": "aGmQkW_group",
|
|
2891
2891
|
"error": "aGmQkW_error",
|
|
2892
|
-
"
|
|
2893
|
-
"
|
|
2892
|
+
"picked": "aGmQkW_picked",
|
|
2893
|
+
"notice": "aGmQkW_notice",
|
|
2894
2894
|
"list": "aGmQkW_list",
|
|
2895
|
+
"item": "aGmQkW_item",
|
|
2895
2896
|
"text": "aGmQkW_text",
|
|
2896
|
-
"
|
|
2897
|
-
"notice": "aGmQkW_notice"
|
|
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 }) {
|
|
@@ -3110,13 +3110,13 @@ window.__ModuleLoader__.load({
|
|
|
3110
3110
|
document.head.appendChild(tag);
|
|
3111
3111
|
}
|
|
3112
3112
|
var TagInput_module_css_default = {
|
|
3113
|
-
"input": "_0uSpIq_input",
|
|
3114
|
-
"row": "_0uSpIq_row",
|
|
3115
3113
|
"chipRemove": "_0uSpIq_chipRemove",
|
|
3116
|
-
"empty": "_0uSpIq_empty",
|
|
3117
|
-
"anchor": "_0uSpIq_anchor",
|
|
3118
3114
|
"box": "_0uSpIq_box",
|
|
3119
|
-
"
|
|
3115
|
+
"anchor": "_0uSpIq_anchor",
|
|
3116
|
+
"input": "_0uSpIq_input",
|
|
3117
|
+
"chip": "_0uSpIq_chip",
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
* @
|
|
14592
|
-
* @
|
|
14593
|
-
* @
|
|
14594
|
-
*
|
|
14595
|
-
*
|
|
14596
|
-
*
|
|
14597
|
-
*
|
|
14598
|
-
* @
|
|
14599
|
-
*
|
|
14600
|
-
*
|
|
14601
|
-
*
|
|
14602
|
-
*
|
|
14603
|
-
*
|
|
14604
|
-
*
|
|
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
|
|
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,7 +43,7 @@
|
|
|
43
43
|
"./locale/*.json": "./locale/*.json"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@morlay/dsh-client-ui-primitives": "0.0.14
|
|
46
|
+
"@morlay/dsh-client-ui-primitives": "0.0.14",
|
|
47
47
|
"zod": "4.4.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@deepseek-ai/dsh-tools": "^0.2.2-alpha.3",
|
|
107
107
|
"@deepseek-ai/dsh-typert-protocol": "^0.2.2-alpha.3",
|
|
108
108
|
"@deepseek-ai/schemastery": "^3.18.6-alpha.2",
|
|
109
|
-
"@morlay/dsh-context-assembler": "0.0.11
|
|
109
|
+
"@morlay/dsh-context-assembler": "0.0.11",
|
|
110
110
|
"react": "^18.2.0"
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|