@morlay/ui-conversation-manager 0.1.11-alpha.2 → 0.1.11
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 +146 -124
- package/dist/client.mjs +12 -12
- package/package.json +14 -14
package/dist/client.cjs
CHANGED
|
@@ -1600,25 +1600,25 @@ window.__ModuleLoader__.load({
|
|
|
1600
1600
|
document.head.appendChild(tag);
|
|
1601
1601
|
}
|
|
1602
1602
|
var schema_form_module_css_default = {
|
|
1603
|
-
"
|
|
1603
|
+
"lineFold": "oZhWGq_lineFold",
|
|
1604
|
+
"lineComment": "oZhWGq_lineComment",
|
|
1605
|
+
"lineBody": "oZhWGq_lineBody",
|
|
1606
|
+
"lineInvalid": "oZhWGq_lineInvalid",
|
|
1607
|
+
"lineActions": "oZhWGq_lineActions",
|
|
1608
|
+
"hoverActions": "oZhWGq_hoverActions",
|
|
1604
1609
|
"lineKey": "oZhWGq_lineKey",
|
|
1610
|
+
"lineToken": "oZhWGq_lineToken",
|
|
1605
1611
|
"lineValue": "oZhWGq_lineValue",
|
|
1606
1612
|
"lineRow": "oZhWGq_lineRow",
|
|
1607
|
-
"lineFoldSpacer": "oZhWGq_lineFoldSpacer",
|
|
1608
|
-
"lineToken": "oZhWGq_lineToken",
|
|
1609
|
-
"valueSlot": "oZhWGq_valueSlot",
|
|
1610
|
-
"compactInput": "oZhWGq_compactInput",
|
|
1611
|
-
"lineInvalid": "oZhWGq_lineInvalid",
|
|
1612
|
-
"lineBody": "oZhWGq_lineBody",
|
|
1613
|
-
"lineFold": "oZhWGq_lineFold",
|
|
1614
|
-
"lineNumber": "oZhWGq_lineNumber",
|
|
1615
|
-
"lineActions": "oZhWGq_lineActions",
|
|
1616
|
-
"lineComment": "oZhWGq_lineComment",
|
|
1617
1613
|
"hint": "oZhWGq_hint",
|
|
1618
|
-
"hoverActions": "oZhWGq_hoverActions",
|
|
1619
|
-
"addWrap": "oZhWGq_addWrap",
|
|
1620
1614
|
"editorRoot": "oZhWGq_editorRoot",
|
|
1621
|
-
"
|
|
1615
|
+
"valueTrigger": "oZhWGq_valueTrigger",
|
|
1616
|
+
"compactInput": "oZhWGq_compactInput",
|
|
1617
|
+
"addWrap": "oZhWGq_addWrap",
|
|
1618
|
+
"compactTextField": "oZhWGq_compactTextField",
|
|
1619
|
+
"lineNumber": "oZhWGq_lineNumber",
|
|
1620
|
+
"lineFoldSpacer": "oZhWGq_lineFoldSpacer",
|
|
1621
|
+
"valueSlot": "oZhWGq_valueSlot"
|
|
1622
1622
|
};
|
|
1623
1623
|
// ../../client/dsh-client-ui-primitives/src/client/schema-form/TruncatedTooltip.tsx
|
|
1624
1624
|
function TruncatedTooltip({ label, children }) {
|
|
@@ -2602,55 +2602,55 @@ window.__ModuleLoader__.load({
|
|
|
2602
2602
|
document.head.appendChild(tag);
|
|
2603
2603
|
}
|
|
2604
2604
|
var layout_module_css_default = {
|
|
2605
|
-
"gap8": "uxI0LG_gap8",
|
|
2606
|
-
"strong": "uxI0LG_strong",
|
|
2607
|
-
"narrow": "uxI0LG_narrow",
|
|
2608
2605
|
"alignStart": "uxI0LG_alignStart",
|
|
2609
|
-
"wrap": "uxI0LG_wrap",
|
|
2610
|
-
"grow": "uxI0LG_grow",
|
|
2611
|
-
"truncate": "uxI0LG_truncate",
|
|
2612
|
-
"text": "uxI0LG_text",
|
|
2613
|
-
"stack": "uxI0LG_stack",
|
|
2614
|
-
"padNone": "uxI0LG_padNone",
|
|
2615
|
-
"justifyBetween": "uxI0LG_justifyBetween",
|
|
2616
|
-
"justifyEnd": "uxI0LG_justifyEnd",
|
|
2617
|
-
"sizeXs": "uxI0LG_sizeXs",
|
|
2618
|
-
"toneSecondary": "uxI0LG_toneSecondary",
|
|
2619
|
-
"mono": "uxI0LG_mono",
|
|
2620
|
-
"tabular": "uxI0LG_tabular",
|
|
2621
|
-
"sizeSm": "uxI0LG_sizeSm",
|
|
2622
|
-
"sizeMd": "uxI0LG_sizeMd",
|
|
2623
|
-
"padCard": "uxI0LG_padCard",
|
|
2624
|
-
"gap12": "uxI0LG_gap12",
|
|
2625
|
-
"gap10": "uxI0LG_gap10",
|
|
2626
|
-
"toneDanger": "uxI0LG_toneDanger",
|
|
2627
|
-
"fixed": "uxI0LG_fixed",
|
|
2628
|
-
"gapWide": "uxI0LG_gapWide",
|
|
2629
|
-
"wSearch": "uxI0LG_wSearch",
|
|
2630
|
-
"alignCenter": "uxI0LG_alignCenter",
|
|
2631
|
-
"row": "uxI0LG_row",
|
|
2632
|
-
"boxed": "uxI0LG_boxed",
|
|
2633
|
-
"gap14": "uxI0LG_gap14",
|
|
2634
|
-
"alignEnd": "uxI0LG_alignEnd",
|
|
2635
2606
|
"sizeBase": "uxI0LG_sizeBase",
|
|
2636
|
-
"
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2640
|
-
"fill": "uxI0LG_fill",
|
|
2607
|
+
"wSearch": "uxI0LG_wSearch",
|
|
2608
|
+
"weightMedium": "uxI0LG_weightMedium",
|
|
2609
|
+
"tonePrimary": "uxI0LG_tonePrimary",
|
|
2610
|
+
"gap12": "uxI0LG_gap12",
|
|
2641
2611
|
"padBody": "uxI0LG_padBody",
|
|
2642
|
-
"
|
|
2612
|
+
"sizeLg": "uxI0LG_sizeLg",
|
|
2613
|
+
"boxed": "uxI0LG_boxed",
|
|
2614
|
+
"sizeMd": "uxI0LG_sizeMd",
|
|
2615
|
+
"scroll": "uxI0LG_scroll",
|
|
2643
2616
|
"plain": "uxI0LG_plain",
|
|
2644
|
-
"
|
|
2645
|
-
"
|
|
2617
|
+
"padRow": "uxI0LG_padRow",
|
|
2618
|
+
"gap2": "uxI0LG_gap2",
|
|
2619
|
+
"mono": "uxI0LG_mono",
|
|
2620
|
+
"narrow": "uxI0LG_narrow",
|
|
2621
|
+
"toneDanger": "uxI0LG_toneDanger",
|
|
2622
|
+
"tabular": "uxI0LG_tabular",
|
|
2646
2623
|
"gap0": "uxI0LG_gap0",
|
|
2624
|
+
"gap8": "uxI0LG_gap8",
|
|
2647
2625
|
"gap6": "uxI0LG_gap6",
|
|
2648
|
-
"
|
|
2649
|
-
"
|
|
2650
|
-
"
|
|
2626
|
+
"alignEnd": "uxI0LG_alignEnd",
|
|
2627
|
+
"gap4": "uxI0LG_gap4",
|
|
2628
|
+
"alignCenter": "uxI0LG_alignCenter",
|
|
2629
|
+
"justifyEnd": "uxI0LG_justifyEnd",
|
|
2630
|
+
"stack": "uxI0LG_stack",
|
|
2631
|
+
"fill": "uxI0LG_fill",
|
|
2651
2632
|
"push": "uxI0LG_push",
|
|
2633
|
+
"padCard": "uxI0LG_padCard",
|
|
2634
|
+
"padPage": "uxI0LG_padPage",
|
|
2635
|
+
"justifyBetween": "uxI0LG_justifyBetween",
|
|
2636
|
+
"sizeSm": "uxI0LG_sizeSm",
|
|
2637
|
+
"sizeXs": "uxI0LG_sizeXs",
|
|
2638
|
+
"grow": "uxI0LG_grow",
|
|
2639
|
+
"justifyCenter": "uxI0LG_justifyCenter",
|
|
2640
|
+
"toneTertiary": "uxI0LG_toneTertiary",
|
|
2641
|
+
"gap10": "uxI0LG_gap10",
|
|
2642
|
+
"wrap": "uxI0LG_wrap",
|
|
2643
|
+
"toneSecondary": "uxI0LG_toneSecondary",
|
|
2644
|
+
"padNone": "uxI0LG_padNone",
|
|
2652
2645
|
"padBlocking": "uxI0LG_padBlocking",
|
|
2653
|
-
"
|
|
2646
|
+
"gap16": "uxI0LG_gap16",
|
|
2647
|
+
"row": "uxI0LG_row",
|
|
2648
|
+
"gap14": "uxI0LG_gap14",
|
|
2649
|
+
"strong": "uxI0LG_strong",
|
|
2650
|
+
"truncate": "uxI0LG_truncate",
|
|
2651
|
+
"text": "uxI0LG_text",
|
|
2652
|
+
"fixed": "uxI0LG_fixed",
|
|
2653
|
+
"gapWide": "uxI0LG_gapWide"
|
|
2654
2654
|
};
|
|
2655
2655
|
// ../../client/dsh-client-ui-primitives/src/client/layout/scales.ts
|
|
2656
2656
|
function gapClass(css, gap) {
|
|
@@ -2729,14 +2729,14 @@ window.__ModuleLoader__.load({
|
|
|
2729
2729
|
}
|
|
2730
2730
|
var SettingsFieldRow_module_css_default = {
|
|
2731
2731
|
"inline": "_0Kpzea_inline",
|
|
2732
|
-
"text": "_0Kpzea_text",
|
|
2733
|
-
"hint": "_0Kpzea_hint",
|
|
2734
|
-
"reset": "_0Kpzea_reset",
|
|
2735
2732
|
"body": "_0Kpzea_body",
|
|
2736
|
-
"
|
|
2737
|
-
"
|
|
2733
|
+
"label": "_0Kpzea_label",
|
|
2734
|
+
"reset": "_0Kpzea_reset",
|
|
2735
|
+
"hint": "_0Kpzea_hint",
|
|
2736
|
+
"text": "_0Kpzea_text",
|
|
2738
2737
|
"invalid": "_0Kpzea_invalid",
|
|
2739
|
-
"
|
|
2738
|
+
"badge": "_0Kpzea_badge",
|
|
2739
|
+
"row": "_0Kpzea_row"
|
|
2740
2740
|
};
|
|
2741
2741
|
// ../../client/dsh-client-ui-primitives/src/client/settings-form/SettingsFieldRow.tsx
|
|
2742
2742
|
function SettingsFieldRow({ label, hint, layout = "stack", divider = false, overriddenLabel, resetLabel, onReset, invalid, children, className, ...rest }) {
|
|
@@ -2846,8 +2846,8 @@ window.__ModuleLoader__.load({
|
|
|
2846
2846
|
document.head.appendChild(tag);
|
|
2847
2847
|
}
|
|
2848
2848
|
var DisclosureRow_module_css_default = {
|
|
2849
|
-
"
|
|
2850
|
-
"
|
|
2849
|
+
"contentLayout": "BDL1HG_contentLayout",
|
|
2850
|
+
"content": "BDL1HG_content"
|
|
2851
2851
|
};
|
|
2852
2852
|
// ../../client/dsh-client-ui-primitives/src/client/controls/DisclosureRow.tsx
|
|
2853
2853
|
function DisclosureRow(props) {
|
|
@@ -2868,11 +2868,11 @@ window.__ModuleLoader__.load({
|
|
|
2868
2868
|
document.head.appendChild(tag);
|
|
2869
2869
|
}
|
|
2870
2870
|
var SeatButton_module_css_default = {
|
|
2871
|
-
"
|
|
2872
|
-
"expanded": "io5HbW_expanded",
|
|
2871
|
+
"icon": "io5HbW_icon",
|
|
2873
2872
|
"label": "io5HbW_label",
|
|
2874
2873
|
"chevron": "io5HbW_chevron",
|
|
2875
|
-
"
|
|
2874
|
+
"seat": "io5HbW_seat",
|
|
2875
|
+
"expanded": "io5HbW_expanded"
|
|
2876
2876
|
};
|
|
2877
2877
|
// ../../client/dsh-client-ui-primitives/src/client/controls/SeatButton.tsx
|
|
2878
2878
|
function SeatButton({ icon, label, expanded = false, chevron, type = "button", className, ...rest }) {
|
|
@@ -2993,16 +2993,16 @@ window.__ModuleLoader__.load({
|
|
|
2993
2993
|
document.head.appendChild(tag);
|
|
2994
2994
|
}
|
|
2995
2995
|
var ModelRouteList_module_css_default = {
|
|
2996
|
+
"list": "aGmQkW_list",
|
|
2997
|
+
"name": "aGmQkW_name",
|
|
2998
|
+
"group": "aGmQkW_group",
|
|
2999
|
+
"notice": "aGmQkW_notice",
|
|
2996
3000
|
"item": "aGmQkW_item",
|
|
2997
3001
|
"text": "aGmQkW_text",
|
|
2998
|
-
"name": "aGmQkW_name",
|
|
2999
3002
|
"error": "aGmQkW_error",
|
|
3000
|
-
"list": "aGmQkW_list",
|
|
3001
3003
|
"picked": "aGmQkW_picked",
|
|
3002
|
-
"group": "aGmQkW_group",
|
|
3003
|
-
"id": "aGmQkW_id",
|
|
3004
3004
|
"provider": "aGmQkW_provider",
|
|
3005
|
-
"
|
|
3005
|
+
"id": "aGmQkW_id"
|
|
3006
3006
|
};
|
|
3007
3007
|
// ../../client/dsh-client-ui-primitives/src/client/controls/ModelRouteList.tsx
|
|
3008
3008
|
function ModelRouteList({ label, candidates, selectedKey, disabled = false, status, loadingLabel, errorLabel, emptyLabel, onSelect }) {
|
|
@@ -3105,9 +3105,9 @@ window.__ModuleLoader__.load({
|
|
|
3105
3105
|
document.head.appendChild(tag);
|
|
3106
3106
|
}
|
|
3107
3107
|
var SearchSelect_module_css_default = {
|
|
3108
|
-
"empty": "pNIIcq_empty",
|
|
3109
3108
|
"trigger": "pNIIcq_trigger",
|
|
3110
3109
|
"searchRow": "pNIIcq_searchRow",
|
|
3110
|
+
"empty": "pNIIcq_empty",
|
|
3111
3111
|
"searchInput": "pNIIcq_searchInput"
|
|
3112
3112
|
};
|
|
3113
3113
|
// ../../client/dsh-client-ui-primitives/src/client/controls/SearchSelect.tsx
|
|
@@ -3219,12 +3219,12 @@ window.__ModuleLoader__.load({
|
|
|
3219
3219
|
}
|
|
3220
3220
|
var TagInput_module_css_default = {
|
|
3221
3221
|
"chip": "_0uSpIq_chip",
|
|
3222
|
-
"input": "_0uSpIq_input",
|
|
3223
|
-
"box": "_0uSpIq_box",
|
|
3224
3222
|
"chipRemove": "_0uSpIq_chipRemove",
|
|
3225
|
-
"empty": "_0uSpIq_empty",
|
|
3226
3223
|
"row": "_0uSpIq_row",
|
|
3227
|
-
"
|
|
3224
|
+
"box": "_0uSpIq_box",
|
|
3225
|
+
"anchor": "_0uSpIq_anchor",
|
|
3226
|
+
"input": "_0uSpIq_input",
|
|
3227
|
+
"empty": "_0uSpIq_empty"
|
|
3228
3228
|
};
|
|
3229
3229
|
// ../../client/dsh-client-ui-primitives/src/client/controls/TagInput.tsx
|
|
3230
3230
|
function TagInput({ value, onChange, options, placeholder, label, disabled = false, noMatchLabel = "", removeLabel }) {
|
|
@@ -13189,7 +13189,7 @@ window.__ModuleLoader__.load({
|
|
|
13189
13189
|
]);
|
|
13190
13190
|
({}).hasOwnProperty;
|
|
13191
13191
|
({}).hasOwnProperty;
|
|
13192
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13192
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
13193
13193
|
/**
|
|
13194
13194
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
13195
13195
|
*/
|
|
@@ -13206,7 +13206,7 @@ window.__ModuleLoader__.load({
|
|
|
13206
13206
|
if (marker !== "\"" && marker !== "'") throw new Error("Cannot serialize title with `" + marker + "` for `options.quote`, expected `\"`, or `'`");
|
|
13207
13207
|
return marker;
|
|
13208
13208
|
}
|
|
13209
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13209
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
13210
13210
|
/**
|
|
13211
13211
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
13212
13212
|
*/
|
|
@@ -13223,7 +13223,7 @@ window.__ModuleLoader__.load({
|
|
|
13223
13223
|
if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize emphasis with `" + marker + "` for `options.emphasis`, expected `*`, or `_`");
|
|
13224
13224
|
return marker;
|
|
13225
13225
|
}
|
|
13226
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13226
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/character.js
|
|
13227
13227
|
/**
|
|
13228
13228
|
* Get the first character of a value.
|
|
13229
13229
|
*
|
|
@@ -13252,7 +13252,7 @@ window.__ModuleLoader__.load({
|
|
|
13252
13252
|
const code = value.codePointAt(value.length - 2);
|
|
13253
13253
|
return code !== void 0 && code > 65535 ? value.slice(-2) : value.slice(-1);
|
|
13254
13254
|
}
|
|
13255
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13255
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
13256
13256
|
/**
|
|
13257
13257
|
* Encode a code point as a character reference.
|
|
13258
13258
|
*
|
|
@@ -13264,7 +13264,7 @@ window.__ModuleLoader__.load({
|
|
|
13264
13264
|
function encodeCharacterReference(code) {
|
|
13265
13265
|
return "&#x" + code.toString(16).toUpperCase() + ";";
|
|
13266
13266
|
}
|
|
13267
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13267
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
13268
13268
|
/**
|
|
13269
13269
|
* @import {EncodeSides} from '../types.js'
|
|
13270
13270
|
*/
|
|
@@ -13335,7 +13335,7 @@ window.__ModuleLoader__.load({
|
|
|
13335
13335
|
outside: false
|
|
13336
13336
|
};
|
|
13337
13337
|
}
|
|
13338
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13338
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/html-kind.js
|
|
13339
13339
|
/**
|
|
13340
13340
|
* @typedef {1 | 2 | 3 | 4 | 5 | 6 | 7} Kind
|
|
13341
13341
|
* Kind of HTML (flow) element.
|
|
@@ -13382,7 +13382,7 @@ window.__ModuleLoader__.load({
|
|
|
13382
13382
|
if (!closing && code !== 47 && htmlRawNames.includes(name)) return 1;
|
|
13383
13383
|
return htmlBlockNames.includes(name) ? 6 : 7;
|
|
13384
13384
|
}
|
|
13385
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13385
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
|
|
13386
13386
|
/**
|
|
13387
13387
|
* @import {Attention, Handle, Info, State, Tracker} from 'mdast-util-to-markdown'
|
|
13388
13388
|
* @import {PhrasingParents} from '../types.js'
|
|
@@ -13890,7 +13890,7 @@ window.__ModuleLoader__.load({
|
|
|
13890
13890
|
for (const token of tokens) result += token.value;
|
|
13891
13891
|
return result;
|
|
13892
13892
|
}
|
|
13893
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13893
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
13894
13894
|
/**
|
|
13895
13895
|
* @import {AttentionInfo, Info, State} from 'mdast-util-to-markdown'
|
|
13896
13896
|
* @import {Emphasis, Parents} from 'mdast'
|
|
@@ -13951,7 +13951,7 @@ window.__ModuleLoader__.load({
|
|
|
13951
13951
|
function peek$1(_, _1, state) {
|
|
13952
13952
|
return state.options.emphasis || "*";
|
|
13953
13953
|
}
|
|
13954
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13954
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
13955
13955
|
/**
|
|
13956
13956
|
* @import {Html} from 'mdast'
|
|
13957
13957
|
*/
|
|
@@ -13976,7 +13976,7 @@ window.__ModuleLoader__.load({
|
|
|
13976
13976
|
function htmlPeek() {
|
|
13977
13977
|
return "<";
|
|
13978
13978
|
}
|
|
13979
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
13979
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
13980
13980
|
/**
|
|
13981
13981
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
13982
13982
|
* @import {Image, Parents} from 'mdast'
|
|
@@ -14052,7 +14052,7 @@ window.__ModuleLoader__.load({
|
|
|
14052
14052
|
function imagePeek() {
|
|
14053
14053
|
return "!";
|
|
14054
14054
|
}
|
|
14055
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14055
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
14056
14056
|
/**
|
|
14057
14057
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
14058
14058
|
* @import {ImageReference, Parents} from 'mdast'
|
|
@@ -14112,7 +14112,7 @@ window.__ModuleLoader__.load({
|
|
|
14112
14112
|
function imageReferencePeek() {
|
|
14113
14113
|
return "!";
|
|
14114
14114
|
}
|
|
14115
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14115
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
14116
14116
|
/**
|
|
14117
14117
|
* @import {State} from 'mdast-util-to-markdown'
|
|
14118
14118
|
* @import {InlineCode, Parents} from 'mdast'
|
|
@@ -14159,7 +14159,7 @@ window.__ModuleLoader__.load({
|
|
|
14159
14159
|
function inlineCodePeek() {
|
|
14160
14160
|
return "`";
|
|
14161
14161
|
}
|
|
14162
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14162
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
14163
14163
|
/**
|
|
14164
14164
|
* @import {State} from 'mdast-util-to-markdown'
|
|
14165
14165
|
* @import {Link} from 'mdast'
|
|
@@ -14178,7 +14178,7 @@ window.__ModuleLoader__.load({
|
|
|
14178
14178
|
const raw = toString(node);
|
|
14179
14179
|
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));
|
|
14180
14180
|
}
|
|
14181
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14181
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
14182
14182
|
/**
|
|
14183
14183
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
14184
14184
|
* @import {Link, Parents} from 'mdast'
|
|
@@ -14287,7 +14287,7 @@ window.__ModuleLoader__.load({
|
|
|
14287
14287
|
function linkPeek(node, _, state) {
|
|
14288
14288
|
return formatLinkAsAutolink(node, state) ? "<" : "[";
|
|
14289
14289
|
}
|
|
14290
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14290
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
14291
14291
|
/**
|
|
14292
14292
|
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
14293
14293
|
* @import {LinkReference, Parents} from 'mdast'
|
|
@@ -14347,7 +14347,7 @@ window.__ModuleLoader__.load({
|
|
|
14347
14347
|
function linkReferencePeek() {
|
|
14348
14348
|
return "[";
|
|
14349
14349
|
}
|
|
14350
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14350
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
14351
14351
|
/**
|
|
14352
14352
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
14353
14353
|
*/
|
|
@@ -14364,7 +14364,7 @@ window.__ModuleLoader__.load({
|
|
|
14364
14364
|
if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize strong with `" + marker + "` for `options.strong`, expected `*`, or `_`");
|
|
14365
14365
|
return marker;
|
|
14366
14366
|
}
|
|
14367
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14367
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
14368
14368
|
/**
|
|
14369
14369
|
* @import {AttentionInfo, Info, State} from 'mdast-util-to-markdown'
|
|
14370
14370
|
* @import {Parents, Strong} from 'mdast'
|
|
@@ -14425,7 +14425,7 @@ window.__ModuleLoader__.load({
|
|
|
14425
14425
|
function peek(_, _1, state) {
|
|
14426
14426
|
return state.options.strong || "*";
|
|
14427
14427
|
}
|
|
14428
|
-
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.
|
|
14428
|
+
// ../../../node_modules/.pnpm/mdast-util-to-markdown@2.2.2/node_modules/mdast-util-to-markdown/lib/unsafe.js
|
|
14429
14429
|
/**
|
|
14430
14430
|
* @import {ConstructName, Unsafe} from 'mdast-util-to-markdown'
|
|
14431
14431
|
*/
|
|
@@ -14694,23 +14694,22 @@ window.__ModuleLoader__.load({
|
|
|
14694
14694
|
inConstruct: "autolink"
|
|
14695
14695
|
});
|
|
14696
14696
|
({}).hasOwnProperty;
|
|
14697
|
-
// ../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.
|
|
14697
|
+
// ../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.1_supports-color@9.4.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
14698
14698
|
/**
|
|
14699
|
-
* @
|
|
14700
|
-
* @
|
|
14701
|
-
* @
|
|
14702
|
-
*
|
|
14703
|
-
*
|
|
14704
|
-
*
|
|
14705
|
-
*
|
|
14706
|
-
* @
|
|
14707
|
-
*
|
|
14708
|
-
*
|
|
14709
|
-
*
|
|
14710
|
-
*
|
|
14711
|
-
*
|
|
14712
|
-
*
|
|
14713
|
-
* @typedef {import('mdast-util-to-markdown').Info} Info
|
|
14699
|
+
* @import {Heading, InlineCode, Table, TableCell, TableRow} from 'mdast'
|
|
14700
|
+
* @import {Options as MarkdownTableOptions} from 'markdown-table'
|
|
14701
|
+
* @import {
|
|
14702
|
+
* CompileContext,
|
|
14703
|
+
* Extension as FromMarkdownExtension,
|
|
14704
|
+
* Handle as FromMarkdownHandle,
|
|
14705
|
+
* } from 'mdast-util-from-markdown'
|
|
14706
|
+
* @import {
|
|
14707
|
+
* Options as ToMarkdownExtension,
|
|
14708
|
+
* Handle as ToMarkdownHandle,
|
|
14709
|
+
* Info,
|
|
14710
|
+
* Join,
|
|
14711
|
+
* State
|
|
14712
|
+
* } from 'mdast-util-to-markdown'
|
|
14714
14713
|
*/
|
|
14715
14714
|
/**
|
|
14716
14715
|
* @typedef Options
|
|
@@ -14749,6 +14748,8 @@ window.__ModuleLoader__.load({
|
|
|
14749
14748
|
};
|
|
14750
14749
|
}
|
|
14751
14750
|
/**
|
|
14751
|
+
* Enter a table.
|
|
14752
|
+
*
|
|
14752
14753
|
* @this {CompileContext}
|
|
14753
14754
|
* @type {FromMarkdownHandle}
|
|
14754
14755
|
*/
|
|
@@ -14759,11 +14760,14 @@ window.__ModuleLoader__.load({
|
|
|
14759
14760
|
align: align.map(function(d) {
|
|
14760
14761
|
return d === "none" ? null : d;
|
|
14761
14762
|
}),
|
|
14762
|
-
children: []
|
|
14763
|
+
children: [],
|
|
14764
|
+
position: void 0
|
|
14763
14765
|
}, token);
|
|
14764
14766
|
this.data.inTable = true;
|
|
14765
14767
|
}
|
|
14766
14768
|
/**
|
|
14769
|
+
* Exit a table.
|
|
14770
|
+
*
|
|
14767
14771
|
* @this {CompileContext}
|
|
14768
14772
|
* @type {FromMarkdownHandle}
|
|
14769
14773
|
*/
|
|
@@ -14772,16 +14776,21 @@ window.__ModuleLoader__.load({
|
|
|
14772
14776
|
this.data.inTable = void 0;
|
|
14773
14777
|
}
|
|
14774
14778
|
/**
|
|
14779
|
+
* Enter a row.
|
|
14780
|
+
*
|
|
14775
14781
|
* @this {CompileContext}
|
|
14776
14782
|
* @type {FromMarkdownHandle}
|
|
14777
14783
|
*/
|
|
14778
14784
|
function enterRow(token) {
|
|
14779
14785
|
this.enter({
|
|
14780
14786
|
type: "tableRow",
|
|
14781
|
-
children: []
|
|
14787
|
+
children: [],
|
|
14788
|
+
position: void 0
|
|
14782
14789
|
}, token);
|
|
14783
14790
|
}
|
|
14784
14791
|
/**
|
|
14792
|
+
* Exit a row or cell.
|
|
14793
|
+
*
|
|
14785
14794
|
* @this {CompileContext}
|
|
14786
14795
|
* @type {FromMarkdownHandle}
|
|
14787
14796
|
*/
|
|
@@ -14789,16 +14798,24 @@ window.__ModuleLoader__.load({
|
|
|
14789
14798
|
this.exit(token);
|
|
14790
14799
|
}
|
|
14791
14800
|
/**
|
|
14801
|
+
* Enter a cell.
|
|
14802
|
+
*
|
|
14792
14803
|
* @this {CompileContext}
|
|
14793
14804
|
* @type {FromMarkdownHandle}
|
|
14794
14805
|
*/
|
|
14795
14806
|
function enterCell(token) {
|
|
14796
14807
|
this.enter({
|
|
14797
14808
|
type: "tableCell",
|
|
14798
|
-
children: []
|
|
14809
|
+
children: [],
|
|
14810
|
+
position: void 0
|
|
14799
14811
|
}, token);
|
|
14800
14812
|
}
|
|
14801
14813
|
/**
|
|
14814
|
+
* Exit code (text).
|
|
14815
|
+
*
|
|
14816
|
+
* Overwrites the default code text data handler to unescape escaped pipes
|
|
14817
|
+
* when they are in tables.
|
|
14818
|
+
*
|
|
14802
14819
|
* @this {CompileContext}
|
|
14803
14820
|
* @type {FromMarkdownHandle}
|
|
14804
14821
|
*/
|
|
@@ -14811,9 +14828,14 @@ window.__ModuleLoader__.load({
|
|
|
14811
14828
|
this.exit(token);
|
|
14812
14829
|
}
|
|
14813
14830
|
/**
|
|
14831
|
+
* Unescape an escaped pipe.
|
|
14832
|
+
*
|
|
14814
14833
|
* @param {string} $0
|
|
14834
|
+
* Whole match.
|
|
14815
14835
|
* @param {string} $1
|
|
14836
|
+
* Escaped character.
|
|
14816
14837
|
* @returns {string}
|
|
14838
|
+
* Replacement.
|
|
14817
14839
|
*/
|
|
14818
14840
|
function replace($0, $1) {
|
|
14819
14841
|
return $1 === "|" ? $1 : $0;
|
|
@@ -18051,23 +18073,23 @@ window.__ModuleLoader__.load({
|
|
|
18051
18073
|
document.head.appendChild(tag);
|
|
18052
18074
|
}
|
|
18053
18075
|
var ConversationManagerPage_module_css_default = {
|
|
18054
|
-
"listPane": "hENcOW_listPane",
|
|
18055
|
-
"list": "hENcOW_list",
|
|
18056
|
-
"pageContent": "hENcOW_pageContent",
|
|
18057
18076
|
"headingActions": "hENcOW_headingActions",
|
|
18058
|
-
"statusFailure": "hENcOW_statusFailure",
|
|
18059
|
-
"page": "hENcOW_page",
|
|
18060
|
-
"statusBody": "hENcOW_statusBody",
|
|
18061
|
-
"pageScroll": "hENcOW_pageScroll",
|
|
18062
|
-
"searchField": "hENcOW_searchField",
|
|
18063
|
-
"statusText": "hENcOW_statusText",
|
|
18064
18077
|
"filters": "hENcOW_filters",
|
|
18065
|
-
"
|
|
18078
|
+
"pageHeading": "hENcOW_pageHeading",
|
|
18079
|
+
"searchField": "hENcOW_searchField",
|
|
18066
18080
|
"filterTabActive": "hENcOW_filterTabActive",
|
|
18067
18081
|
"status": "hENcOW_status",
|
|
18068
|
-
"
|
|
18082
|
+
"listPane": "hENcOW_listPane",
|
|
18083
|
+
"filterTab": "hENcOW_filterTab",
|
|
18069
18084
|
"listStatus": "hENcOW_listStatus",
|
|
18085
|
+
"statusBody": "hENcOW_statusBody",
|
|
18086
|
+
"statusFailure": "hENcOW_statusFailure",
|
|
18087
|
+
"page": "hENcOW_page",
|
|
18088
|
+
"pageScroll": "hENcOW_pageScroll",
|
|
18070
18089
|
"searchClear": "hENcOW_searchClear",
|
|
18090
|
+
"pageContent": "hENcOW_pageContent",
|
|
18091
|
+
"list": "hENcOW_list",
|
|
18092
|
+
"statusText": "hENcOW_statusText",
|
|
18071
18093
|
"filterTabs": "hENcOW_filterTabs"
|
|
18072
18094
|
};
|
|
18073
18095
|
// src/client/format.ts
|
package/dist/client.mjs
CHANGED
|
@@ -139,24 +139,24 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
139
139
|
document.head.appendChild(tag);
|
|
140
140
|
}
|
|
141
141
|
var ConversationManagerPage_module_css_default = {
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
142
|
+
"statusFailure": "hENcOW_statusFailure",
|
|
143
|
+
"listStatus": "hENcOW_listStatus",
|
|
144
|
+
"page": "hENcOW_page",
|
|
145
|
+
"searchClear": "hENcOW_searchClear",
|
|
146
|
+
"statusText": "hENcOW_statusText",
|
|
146
147
|
"searchField": "hENcOW_searchField",
|
|
147
148
|
"statusBody": "hENcOW_statusBody",
|
|
148
149
|
"listPane": "hENcOW_listPane",
|
|
149
|
-
"
|
|
150
|
-
"filters": "hENcOW_filters",
|
|
150
|
+
"pageContent": "hENcOW_pageContent",
|
|
151
151
|
"pageScroll": "hENcOW_pageScroll",
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"page": "hENcOW_page",
|
|
152
|
+
"pageHeading": "hENcOW_pageHeading",
|
|
153
|
+
"filterTabActive": "hENcOW_filterTabActive",
|
|
155
154
|
"list": "hENcOW_list",
|
|
156
155
|
"status": "hENcOW_status",
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
156
|
+
"filterTab": "hENcOW_filterTab",
|
|
157
|
+
"headingActions": "hENcOW_headingActions",
|
|
158
|
+
"filterTabs": "hENcOW_filterTabs",
|
|
159
|
+
"filters": "hENcOW_filters"
|
|
160
160
|
};
|
|
161
161
|
// src/client/format.ts
|
|
162
162
|
function trim(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/ui-conversation-manager",
|
|
3
|
-
"version": "0.1.11
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "「对话管理」全局面板页(浏览器半):会话与统计两层 Tabs——会话视图给出全量会话(含已归档)的搜索、分页、归档 / 取消归档 / 导出 / 删除、导入为新会话与整理数据(孤儿回收 + 统计重算),统计视图给出全部对话的 token 用量。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"archived-sessions",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./locale/*.json": "./locale/*.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@morlay/dsh-client-ui-primitives": "0.0.14
|
|
39
|
+
"@morlay/dsh-client-ui-primitives": "0.0.14"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@testing-library/react": "^16.1.0",
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"react-dom": "^18.2.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@deepseek-ai/cordis": "^4.0.6-alpha.
|
|
49
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.2.2-alpha.
|
|
50
|
-
"@deepseek-ai/dsh-client-locale": "^0.2.2-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-layout": "^0.2.2-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-client-ui-session": "^0.2.2-alpha.
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "^0.2.2-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-workspace": "^0.2.2-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-session": "^0.2.2-alpha.
|
|
48
|
+
"@deepseek-ai/cordis": "^4.0.6-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.2.2-alpha.3",
|
|
50
|
+
"@deepseek-ai/dsh-client-locale": "^0.2.2-alpha.3",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-layout": "^0.2.2-alpha.3",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-alpha.3",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-alpha.3",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.2.2-alpha.3",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "^0.2.2-alpha.3",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-alpha.3",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-workspace": "^0.2.2-alpha.3",
|
|
58
|
+
"@deepseek-ai/dsh-session": "^0.2.2-alpha.3",
|
|
59
59
|
"react": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
|
-
"dsh": ">= 0.2.2-alpha.
|
|
62
|
+
"dsh": ">= 0.2.2-alpha.3 < 0.2.3"
|
|
63
63
|
},
|
|
64
64
|
"dsh": {
|
|
65
65
|
"client": {
|