@morlay/ui-conversation-manager 0.1.8 → 0.1.10

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
@@ -1148,76 +1148,76 @@ window.__ModuleLoader__.load({
1148
1148
  //#endregion
1149
1149
  //#region ../../client/dsh-client-ui-primitives/src/client/schema-form/hints.ts
1150
1150
  var SchemaFormHints = class extends _deepseek_ai_cordis.Service {
1151
- #readers = /* @__PURE__ */ new Map();
1152
- #texts = /* @__PURE__ */ new Map();
1153
- #selects = /* @__PURE__ */ new Map();
1154
- #sources = /* @__PURE__ */ new Map();
1155
- #listeners = /* @__PURE__ */ new Set();
1151
+ readers = /* @__PURE__ */ new Map();
1152
+ texts = /* @__PURE__ */ new Map();
1153
+ selects = /* @__PURE__ */ new Map();
1154
+ sources = /* @__PURE__ */ new Map();
1155
+ listeners = /* @__PURE__ */ new Set();
1156
1156
  constructor(ctx) {
1157
1157
  super(ctx, "schemaFormHints");
1158
1158
  }
1159
1159
  keysFor(ns, path) {
1160
- return lookup(this.#readers, ns, path)?.() ?? [];
1160
+ return lookup(this.readers, ns, path)?.() ?? [];
1161
1161
  }
1162
1162
  textFor(ns, path) {
1163
- return lookup(this.#texts, ns, path)?.() ?? {};
1163
+ return lookup(this.texts, ns, path)?.() ?? {};
1164
1164
  }
1165
1165
  select(ns, path, spec) {
1166
1166
  const key = locationKey(ns, path);
1167
- this.#selects.set(key, spec);
1168
- this.#publish();
1167
+ this.selects.set(key, spec);
1168
+ this.publish();
1169
1169
  return () => {
1170
- if (this.#selects.get(key) !== spec) return;
1171
- this.#selects.delete(key);
1172
- this.#publish();
1170
+ if (this.selects.get(key) !== spec) return;
1171
+ this.selects.delete(key);
1172
+ this.publish();
1173
1173
  };
1174
1174
  }
1175
1175
  selectFor(ns, path) {
1176
- return lookup(this.#selects, ns, path);
1176
+ return lookup(this.selects, ns, path);
1177
1177
  }
1178
1178
  source(name, spec) {
1179
- this.#sources.set(name, spec);
1180
- this.#publish();
1179
+ this.sources.set(name, spec);
1180
+ this.publish();
1181
1181
  return () => {
1182
- if (this.#sources.get(name) !== spec) return;
1183
- this.#sources.delete(name);
1184
- this.#publish();
1182
+ if (this.sources.get(name) !== spec) return;
1183
+ this.sources.delete(name);
1184
+ this.publish();
1185
1185
  };
1186
1186
  }
1187
1187
  sourceFor(name) {
1188
- return this.#sources.get(name);
1188
+ return this.sources.get(name);
1189
1189
  }
1190
1190
  describe(ns, path, read) {
1191
1191
  const key = locationKey(ns, path);
1192
- this.#texts.set(key, read);
1193
- this.#publish();
1192
+ this.texts.set(key, read);
1193
+ this.publish();
1194
1194
  return () => {
1195
- if (this.#texts.get(key) !== read) return;
1196
- this.#texts.delete(key);
1197
- this.#publish();
1195
+ if (this.texts.get(key) !== read) return;
1196
+ this.texts.delete(key);
1197
+ this.publish();
1198
1198
  };
1199
1199
  }
1200
1200
  suggestKeys(ns, path, read) {
1201
1201
  const key = locationKey(ns, path);
1202
- this.#readers.set(key, read);
1203
- this.#publish();
1202
+ this.readers.set(key, read);
1203
+ this.publish();
1204
1204
  return () => {
1205
- if (this.#readers.get(key) !== read) return;
1206
- this.#readers.delete(key);
1207
- this.#publish();
1205
+ if (this.readers.get(key) !== read) return;
1206
+ this.readers.delete(key);
1207
+ this.publish();
1208
1208
  };
1209
1209
  }
1210
1210
  subscribe(listener) {
1211
- this.#listeners.add(listener);
1211
+ this.listeners.add(listener);
1212
1212
  return () => {
1213
- this.#listeners.delete(listener);
1213
+ this.listeners.delete(listener);
1214
1214
  };
1215
1215
  }
1216
1216
  refresh() {
1217
- this.#publish();
1217
+ this.publish();
1218
1218
  }
1219
- #publish() {
1220
- for (const listener of this.#listeners) listener();
1219
+ publish() {
1220
+ for (const listener of this.listeners) listener();
1221
1221
  }
1222
1222
  };
1223
1223
  function locationKey(ns, path) {
@@ -1608,25 +1608,25 @@ window.__ModuleLoader__.load({
1608
1608
  document.head.appendChild(tag);
1609
1609
  }
1610
1610
  var schema_form_module_css_default = {
1611
- "valueTrigger": "N3kx7G_valueTrigger",
1612
- "compactTextField": "N3kx7G_compactTextField",
1613
- "lineInvalid": "N3kx7G_lineInvalid",
1614
- "editorRoot": "N3kx7G_editorRoot",
1615
- "hoverActions": "N3kx7G_hoverActions",
1616
- "addWrap": "N3kx7G_addWrap",
1617
1611
  "lineRow": "N3kx7G_lineRow",
1612
+ "compactInput": "N3kx7G_compactInput",
1613
+ "lineToken": "N3kx7G_lineToken",
1618
1614
  "lineNumber": "N3kx7G_lineNumber",
1619
1615
  "lineFoldSpacer": "N3kx7G_lineFoldSpacer",
1620
- "lineActions": "N3kx7G_lineActions",
1621
- "hint": "N3kx7G_hint",
1616
+ "compactTextField": "N3kx7G_compactTextField",
1617
+ "valueSlot": "N3kx7G_valueSlot",
1618
+ "hoverActions": "N3kx7G_hoverActions",
1622
1619
  "lineBody": "N3kx7G_lineBody",
1623
- "lineComment": "N3kx7G_lineComment",
1620
+ "lineInvalid": "N3kx7G_lineInvalid",
1621
+ "hint": "N3kx7G_hint",
1622
+ "valueTrigger": "N3kx7G_valueTrigger",
1623
+ "lineKey": "N3kx7G_lineKey",
1624
1624
  "lineValue": "N3kx7G_lineValue",
1625
- "lineToken": "N3kx7G_lineToken",
1626
- "valueSlot": "N3kx7G_valueSlot",
1625
+ "lineComment": "N3kx7G_lineComment",
1626
+ "addWrap": "N3kx7G_addWrap",
1627
+ "editorRoot": "N3kx7G_editorRoot",
1627
1628
  "lineFold": "N3kx7G_lineFold",
1628
- "compactInput": "N3kx7G_compactInput",
1629
- "lineKey": "N3kx7G_lineKey"
1629
+ "lineActions": "N3kx7G_lineActions"
1630
1630
  };
1631
1631
  //#endregion
1632
1632
  //#region ../../client/dsh-client-ui-primitives/src/client/schema-form/TruncatedTooltip.tsx
@@ -2502,11 +2502,11 @@ window.__ModuleLoader__.load({
2502
2502
  });
2503
2503
  }
2504
2504
  function install(ctx) {
2505
+ const hints = new SchemaFormHints(ctx.root);
2505
2506
  ctx.effect(() => ctx.locale.register(NS$1, {
2506
2507
  zh: zh$1,
2507
2508
  en: en$1
2508
2509
  }), "ui-schema-form: dictionaries");
2509
- const hints = new SchemaFormHints(ctx);
2510
2510
  ctx.effect(() => ctx.slots.registerFactory({
2511
2511
  name: "settings.schema-form.form",
2512
2512
  scope: "root",
@@ -2619,55 +2619,55 @@ window.__ModuleLoader__.load({
2619
2619
  document.head.appendChild(tag);
2620
2620
  }
2621
2621
  var layout_module_css_default = {
2622
- "gap14": "_7Ar2dq_gap14",
2622
+ "fixed": "_7Ar2dq_fixed",
2623
+ "strong": "_7Ar2dq_strong",
2624
+ "text": "_7Ar2dq_text",
2625
+ "sizeLg": "_7Ar2dq_sizeLg",
2626
+ "wrap": "_7Ar2dq_wrap",
2627
+ "gap8": "_7Ar2dq_gap8",
2628
+ "plain": "_7Ar2dq_plain",
2629
+ "mono": "_7Ar2dq_mono",
2630
+ "wSearch": "_7Ar2dq_wSearch",
2631
+ "gap0": "_7Ar2dq_gap0",
2632
+ "gap4": "_7Ar2dq_gap4",
2633
+ "padPage": "_7Ar2dq_padPage",
2634
+ "padBlocking": "_7Ar2dq_padBlocking",
2635
+ "gap10": "_7Ar2dq_gap10",
2636
+ "padRow": "_7Ar2dq_padRow",
2623
2637
  "push": "_7Ar2dq_push",
2624
- "gap16": "_7Ar2dq_gap16",
2625
- "justifyCenter": "_7Ar2dq_justifyCenter",
2638
+ "sizeXs": "_7Ar2dq_sizeXs",
2626
2639
  "sizeMd": "_7Ar2dq_sizeMd",
2640
+ "sizeBase": "_7Ar2dq_sizeBase",
2627
2641
  "tonePrimary": "_7Ar2dq_tonePrimary",
2628
- "padRow": "_7Ar2dq_padRow",
2642
+ "alignStart": "_7Ar2dq_alignStart",
2629
2643
  "gap12": "_7Ar2dq_gap12",
2630
- "weightMedium": "_7Ar2dq_weightMedium",
2631
- "padCard": "_7Ar2dq_padCard",
2632
- "boxed": "_7Ar2dq_boxed",
2633
- "padBlocking": "_7Ar2dq_padBlocking",
2634
- "wrap": "_7Ar2dq_wrap",
2635
- "fixed": "_7Ar2dq_fixed",
2644
+ "truncate": "_7Ar2dq_truncate",
2645
+ "gap16": "_7Ar2dq_gap16",
2646
+ "toneSecondary": "_7Ar2dq_toneSecondary",
2647
+ "tabular": "_7Ar2dq_tabular",
2648
+ "alignEnd": "_7Ar2dq_alignEnd",
2649
+ "justifyEnd": "_7Ar2dq_justifyEnd",
2636
2650
  "padNone": "_7Ar2dq_padNone",
2637
- "sizeXs": "_7Ar2dq_sizeXs",
2651
+ "justifyCenter": "_7Ar2dq_justifyCenter",
2638
2652
  "toneTertiary": "_7Ar2dq_toneTertiary",
2639
- "justifyEnd": "_7Ar2dq_justifyEnd",
2640
- "gap10": "_7Ar2dq_gap10",
2641
- "sizeSm": "_7Ar2dq_sizeSm",
2642
- "gap8": "_7Ar2dq_gap8",
2643
- "gap6": "_7Ar2dq_gap6",
2644
- "stack": "_7Ar2dq_stack",
2645
2653
  "justifyBetween": "_7Ar2dq_justifyBetween",
2646
- "fill": "_7Ar2dq_fill",
2647
- "sizeBase": "_7Ar2dq_sizeBase",
2648
- "sizeLg": "_7Ar2dq_sizeLg",
2649
- "tabular": "_7Ar2dq_tabular",
2654
+ "boxed": "_7Ar2dq_boxed",
2655
+ "toneDanger": "_7Ar2dq_toneDanger",
2656
+ "weightMedium": "_7Ar2dq_weightMedium",
2650
2657
  "gapWide": "_7Ar2dq_gapWide",
2651
- "grow": "_7Ar2dq_grow",
2652
- "narrow": "_7Ar2dq_narrow",
2653
- "toneSecondary": "_7Ar2dq_toneSecondary",
2654
- "wSearch": "_7Ar2dq_wSearch",
2655
- "plain": "_7Ar2dq_plain",
2656
- "gap4": "_7Ar2dq_gap4",
2657
- "scroll": "_7Ar2dq_scroll",
2658
2658
  "row": "_7Ar2dq_row",
2659
- "toneDanger": "_7Ar2dq_toneDanger",
2660
- "gap0": "_7Ar2dq_gap0",
2661
- "padPage": "_7Ar2dq_padPage",
2662
- "text": "_7Ar2dq_text",
2663
- "alignStart": "_7Ar2dq_alignStart",
2664
- "padBody": "_7Ar2dq_padBody",
2665
- "strong": "_7Ar2dq_strong",
2666
- "mono": "_7Ar2dq_mono",
2667
- "truncate": "_7Ar2dq_truncate",
2659
+ "narrow": "_7Ar2dq_narrow",
2660
+ "gap14": "_7Ar2dq_gap14",
2661
+ "sizeSm": "_7Ar2dq_sizeSm",
2662
+ "fill": "_7Ar2dq_fill",
2663
+ "grow": "_7Ar2dq_grow",
2668
2664
  "gap2": "_7Ar2dq_gap2",
2669
- "alignEnd": "_7Ar2dq_alignEnd",
2670
- "alignCenter": "_7Ar2dq_alignCenter"
2665
+ "alignCenter": "_7Ar2dq_alignCenter",
2666
+ "padCard": "_7Ar2dq_padCard",
2667
+ "padBody": "_7Ar2dq_padBody",
2668
+ "scroll": "_7Ar2dq_scroll",
2669
+ "gap6": "_7Ar2dq_gap6",
2670
+ "stack": "_7Ar2dq_stack"
2671
2671
  };
2672
2672
  //#endregion
2673
2673
  //#region ../../client/dsh-client-ui-primitives/src/client/layout/scales.ts
@@ -2750,15 +2750,15 @@ window.__ModuleLoader__.load({
2750
2750
  document.head.appendChild(tag);
2751
2751
  }
2752
2752
  var SettingsFieldRow_module_css_default = {
2753
+ "row": "Il1Dtq_row",
2754
+ "inline": "Il1Dtq_inline",
2755
+ "body": "Il1Dtq_body",
2756
+ "hint": "Il1Dtq_hint",
2753
2757
  "label": "Il1Dtq_label",
2754
- "text": "Il1Dtq_text",
2755
2758
  "reset": "Il1Dtq_reset",
2756
- "inline": "Il1Dtq_inline",
2757
- "badge": "Il1Dtq_badge",
2758
2759
  "invalid": "Il1Dtq_invalid",
2759
- "hint": "Il1Dtq_hint",
2760
- "body": "Il1Dtq_body",
2761
- "row": "Il1Dtq_row"
2760
+ "text": "Il1Dtq_text",
2761
+ "badge": "Il1Dtq_badge"
2762
2762
  };
2763
2763
  //#endregion
2764
2764
  //#region ../../client/dsh-client-ui-primitives/src/client/settings-form/SettingsFieldRow.tsx
@@ -2874,8 +2874,8 @@ window.__ModuleLoader__.load({
2874
2874
  document.head.appendChild(tag);
2875
2875
  }
2876
2876
  var DisclosureRow_module_css_default = {
2877
- "contentLayout": "_2HN-kW_contentLayout",
2878
- "content": "_2HN-kW_content"
2877
+ "content": "_2HN-kW_content",
2878
+ "contentLayout": "_2HN-kW_contentLayout"
2879
2879
  };
2880
2880
  //#endregion
2881
2881
  //#region ../../client/dsh-client-ui-primitives/src/client/controls/DisclosureRow.tsx
@@ -2899,10 +2899,10 @@ window.__ModuleLoader__.load({
2899
2899
  }
2900
2900
  var SeatButton_module_css_default = {
2901
2901
  "seat": "JqQ4qG_seat",
2902
+ "chevron": "JqQ4qG_chevron",
2902
2903
  "expanded": "JqQ4qG_expanded",
2903
2904
  "label": "JqQ4qG_label",
2904
- "icon": "JqQ4qG_icon",
2905
- "chevron": "JqQ4qG_chevron"
2905
+ "icon": "JqQ4qG_icon"
2906
2906
  };
2907
2907
  //#endregion
2908
2908
  //#region ../../client/dsh-client-ui-primitives/src/client/controls/SeatButton.tsx
@@ -2939,8 +2939,8 @@ window.__ModuleLoader__.load({
2939
2939
  document.head.appendChild(tag);
2940
2940
  }
2941
2941
  var Spinner_module_css_default = {
2942
- "spin": "_1uNobG_spin",
2943
- "spinner": "_1uNobG_spinner"
2942
+ "spinner": "_1uNobG_spinner",
2943
+ "spin": "_1uNobG_spin"
2944
2944
  };
2945
2945
  //#endregion
2946
2946
  //#region ../../client/dsh-client-ui-primitives/src/client/controls/Spinner.tsx
@@ -3033,16 +3033,16 @@ window.__ModuleLoader__.load({
3033
3033
  document.head.appendChild(tag);
3034
3034
  }
3035
3035
  var ModelRouteList_module_css_default = {
3036
- "name": "_1vK46q_name",
3037
- "item": "_1vK46q_item",
3038
- "provider": "_1vK46q_provider",
3039
- "group": "_1vK46q_group",
3040
3036
  "list": "_1vK46q_list",
3041
- "notice": "_1vK46q_notice",
3042
- "picked": "_1vK46q_picked",
3037
+ "provider": "_1vK46q_provider",
3043
3038
  "id": "_1vK46q_id",
3039
+ "notice": "_1vK46q_notice",
3040
+ "group": "_1vK46q_group",
3041
+ "name": "_1vK46q_name",
3042
+ "item": "_1vK46q_item",
3044
3043
  "text": "_1vK46q_text",
3045
- "error": "_1vK46q_error"
3044
+ "error": "_1vK46q_error",
3045
+ "picked": "_1vK46q_picked"
3046
3046
  };
3047
3047
  //#endregion
3048
3048
  //#region ../../client/dsh-client-ui-primitives/src/client/controls/ModelRouteList.tsx
@@ -3149,10 +3149,10 @@ window.__ModuleLoader__.load({
3149
3149
  document.head.appendChild(tag);
3150
3150
  }
3151
3151
  var SearchSelect_module_css_default = {
3152
- "trigger": "kEYv4q_trigger",
3153
- "empty": "kEYv4q_empty",
3154
3152
  "searchInput": "kEYv4q_searchInput",
3155
- "searchRow": "kEYv4q_searchRow"
3153
+ "searchRow": "kEYv4q_searchRow",
3154
+ "trigger": "kEYv4q_trigger",
3155
+ "empty": "kEYv4q_empty"
3156
3156
  };
3157
3157
  //#endregion
3158
3158
  //#region ../../client/dsh-client-ui-primitives/src/client/controls/SearchSelect.tsx
@@ -3265,12 +3265,12 @@ window.__ModuleLoader__.load({
3265
3265
  document.head.appendChild(tag);
3266
3266
  }
3267
3267
  var TagInput_module_css_default = {
3268
- "anchor": "Qg7I9G_anchor",
3269
- "row": "Qg7I9G_row",
3270
- "box": "Qg7I9G_box",
3271
- "chipRemove": "Qg7I9G_chipRemove",
3272
3268
  "input": "Qg7I9G_input",
3269
+ "row": "Qg7I9G_row",
3273
3270
  "chip": "Qg7I9G_chip",
3271
+ "anchor": "Qg7I9G_anchor",
3272
+ "chipRemove": "Qg7I9G_chipRemove",
3273
+ "box": "Qg7I9G_box",
3274
3274
  "empty": "Qg7I9G_empty"
3275
3275
  };
3276
3276
  //#endregion
@@ -17332,24 +17332,24 @@ window.__ModuleLoader__.load({
17332
17332
  document.head.appendChild(tag);
17333
17333
  }
17334
17334
  var ConversationManagerPage_module_css_default = {
17335
+ "filters": "AmU5Dq_filters",
17336
+ "listPane": "AmU5Dq_listPane",
17337
+ "pageContent": "AmU5Dq_pageContent",
17335
17338
  "searchField": "AmU5Dq_searchField",
17336
- "pageScroll": "AmU5Dq_pageScroll",
17337
- "filterTabActive": "AmU5Dq_filterTabActive",
17338
- "filterTabs": "AmU5Dq_filterTabs",
17339
- "status": "AmU5Dq_status",
17339
+ "searchClear": "AmU5Dq_searchClear",
17340
+ "statusText": "AmU5Dq_statusText",
17341
+ "statusFailure": "AmU5Dq_statusFailure",
17340
17342
  "pageHeading": "AmU5Dq_pageHeading",
17341
- "listPane": "AmU5Dq_listPane",
17342
- "filters": "AmU5Dq_filters",
17343
17343
  "filterTab": "AmU5Dq_filterTab",
17344
17344
  "page": "AmU5Dq_page",
17345
- "statusFailure": "AmU5Dq_statusFailure",
17345
+ "pageScroll": "AmU5Dq_pageScroll",
17346
17346
  "statusBody": "AmU5Dq_statusBody",
17347
- "list": "AmU5Dq_list",
17347
+ "filterTabs": "AmU5Dq_filterTabs",
17348
17348
  "headingActions": "AmU5Dq_headingActions",
17349
+ "list": "AmU5Dq_list",
17350
+ "status": "AmU5Dq_status",
17349
17351
  "listStatus": "AmU5Dq_listStatus",
17350
- "pageContent": "AmU5Dq_pageContent",
17351
- "searchClear": "AmU5Dq_searchClear",
17352
- "statusText": "AmU5Dq_statusText"
17352
+ "filterTabActive": "AmU5Dq_filterTabActive"
17353
17353
  };
17354
17354
  //#endregion
17355
17355
  //#region 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
- "pageContent": "AmU5Dq_pageContent",
143
- "filters": "AmU5Dq_filters",
144
- "list": "AmU5Dq_list",
142
+ "statusBody": "AmU5Dq_statusBody",
145
143
  "headingActions": "AmU5Dq_headingActions",
144
+ "filterTabs": "AmU5Dq_filterTabs",
146
145
  "listPane": "AmU5Dq_listPane",
147
146
  "page": "AmU5Dq_page",
148
- "statusBody": "AmU5Dq_statusBody",
149
- "pageScroll": "AmU5Dq_pageScroll",
150
- "filterTabs": "AmU5Dq_filterTabs",
151
147
  "searchField": "AmU5Dq_searchField",
152
- "listStatus": "AmU5Dq_listStatus",
153
148
  "status": "AmU5Dq_status",
154
- "pageHeading": "AmU5Dq_pageHeading",
149
+ "filters": "AmU5Dq_filters",
150
+ "listStatus": "AmU5Dq_listStatus",
151
+ "pageContent": "AmU5Dq_pageContent",
155
152
  "filterTab": "AmU5Dq_filterTab",
156
- "statusText": "AmU5Dq_statusText",
153
+ "list": "AmU5Dq_list",
154
+ "pageHeading": "AmU5Dq_pageHeading",
155
+ "filterTabActive": "AmU5Dq_filterTabActive",
157
156
  "statusFailure": "AmU5Dq_statusFailure",
158
- "searchClear": "AmU5Dq_searchClear",
159
- "filterTabActive": "AmU5Dq_filterTabActive"
157
+ "pageScroll": "AmU5Dq_pageScroll",
158
+ "statusText": "AmU5Dq_statusText",
159
+ "searchClear": "AmU5Dq_searchClear"
160
160
  };
161
161
  //#endregion
162
162
  //#region src/client/format.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morlay/ui-conversation-manager",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "「对话管理」全局面板页(浏览器半):会话与统计两层 Tabs——会话视图给出全量会话(含已归档)的搜索、分页、归档 / 取消归档 / 导出 / 删除、导入为新会话与孤儿数据 GC,统计视图给出全部对话的 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.11"
39
+ "@morlay/dsh-client-ui-primitives": "0.0.13"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@testing-library/react": "^16.1.0",
@@ -58,6 +58,9 @@
58
58
  "@deepseek-ai/dsh-session": "^0.2.1-rc.1",
59
59
  "react": "^18.2.0"
60
60
  },
61
+ "engines": {
62
+ "dsh": ">= 0.2.1-rc.1 < 0.2.2"
63
+ },
61
64
  "dsh": {
62
65
  "client": {
63
66
  "platform": "web",
@@ -72,9 +75,6 @@
72
75
  ]
73
76
  }
74
77
  },
75
- "engines": {
76
- "dsh": ">= 0.2.1-rc.1 < 0.2.2"
77
- },
78
78
  "scripts": {
79
79
  "build": "pnpm exec tsdown"
80
80
  }
@@ -39,7 +39,7 @@ export const PANEL_ORDER = 1;
39
39
  export const inject = ["slots", "locale", "uiWorkspace", "sessions"];
40
40
 
41
41
  export function apply(ctx: ClientContext): void {
42
- // 基础面随本包 inline(不再是装配行):装上它提供的字典、字段槽与按行配置页;多份副本只装一次。
42
+ // 基础面(内联库)由 `@morlay/dsh-client-modules` 的 client 行统一装配;这里只注册本行的字段文案。
43
43
  ctx.effect(() => ctx.locale.register(NS, { zh, en }), "ui-conversation-manager: dictionaries");
44
44
  const t = ctx.locale.bind(NS);
45
45
  // ctx.sessions 的类型被别的 client 半的声明占住(SessionStore),按既有做法从服务面取。