@jcy2387/dsh-conversation-ui 0.1.2-rc.2 → 0.1.3-alpha.2
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/lib/client.js +65 -64
- package/lib/client.js.map +1 -1
- package/lib/index.js +220 -80
- package/package.json +34 -31
- package/src/channel-bridge.ts +187 -0
- package/src/plugin.ts +72 -68
package/lib/client.js
CHANGED
|
@@ -438,50 +438,50 @@ window.__ModuleLoader__.load({
|
|
|
438
438
|
tag.textContent = css$2;
|
|
439
439
|
}
|
|
440
440
|
var TypewriterAssistantNodeView_module_css_default = {
|
|
441
|
-
"streamSemanticIcon": "Sp5wgW_streamSemanticIcon",
|
|
442
|
-
"toolGroupFrame": "Sp5wgW_toolGroupFrame",
|
|
443
|
-
"body": "Sp5wgW_body",
|
|
444
|
-
"nestedToolSemanticIcon": "Sp5wgW_nestedToolSemanticIcon",
|
|
445
|
-
"thinkSeparator": "Sp5wgW_thinkSeparator",
|
|
446
|
-
"disclosureContent": "Sp5wgW_disclosureContent",
|
|
447
441
|
"turnFoldButton": "Sp5wgW_turnFoldButton",
|
|
448
|
-
"toolGroupHeaderIcon": "Sp5wgW_toolGroupHeaderIcon",
|
|
449
442
|
"think": "Sp5wgW_think",
|
|
443
|
+
"dsh-turn-waiting-shimmer": "Sp5wgW_dsh-turn-waiting-shimmer",
|
|
450
444
|
"toolGroupAnchor": "Sp5wgW_toolGroupAnchor",
|
|
445
|
+
"disclosureTrailing": "Sp5wgW_disclosureTrailing",
|
|
446
|
+
"dsh-codex-stream-enter": "Sp5wgW_dsh-codex-stream-enter",
|
|
451
447
|
"toolGroupHeaderGlyph": "Sp5wgW_toolGroupHeaderGlyph",
|
|
452
|
-
"
|
|
448
|
+
"dsh-conversation-ui-think-sweep": "Sp5wgW_dsh-conversation-ui-think-sweep",
|
|
449
|
+
"toolGroupHeaderLabel": "Sp5wgW_toolGroupHeaderLabel",
|
|
453
450
|
"turnPrelude": "Sp5wgW_turnPrelude",
|
|
454
|
-
"reasoningSummary": "Sp5wgW_reasoningSummary",
|
|
455
451
|
"thinkChevron": "Sp5wgW_thinkChevron",
|
|
456
|
-
"
|
|
457
|
-
"dsh-turn-waiting-shimmer": "Sp5wgW_dsh-turn-waiting-shimmer",
|
|
458
|
-
"reasoningDisclosure": "Sp5wgW_reasoningDisclosure",
|
|
459
|
-
"thinkBody": "Sp5wgW_thinkBody",
|
|
460
|
-
"toolGroupHeaderChevron": "Sp5wgW_toolGroupHeaderChevron",
|
|
461
|
-
"toolGroupContent": "Sp5wgW_toolGroupContent",
|
|
462
|
-
"editStats": "Sp5wgW_editStats",
|
|
463
|
-
"thinkTitle": "Sp5wgW_thinkTitle",
|
|
452
|
+
"turnWaiting": "Sp5wgW_turnWaiting",
|
|
464
453
|
"disclosureTitle": "Sp5wgW_disclosureTitle",
|
|
465
|
-
"thinkLeading": "Sp5wgW_thinkLeading",
|
|
466
|
-
"disclosureTrailing": "Sp5wgW_disclosureTrailing",
|
|
467
|
-
"stopped": "Sp5wgW_stopped",
|
|
468
454
|
"follow": "Sp5wgW_follow",
|
|
469
|
-
"
|
|
455
|
+
"disclosureLeading": "Sp5wgW_disclosureLeading",
|
|
456
|
+
"toolGroupHeaderChevron": "Sp5wgW_toolGroupHeaderChevron",
|
|
457
|
+
"turnFoldLabel": "Sp5wgW_turnFoldLabel",
|
|
458
|
+
"toolSemanticIcon": "Sp5wgW_toolSemanticIcon",
|
|
459
|
+
"thinkSummary": "Sp5wgW_thinkSummary",
|
|
460
|
+
"disclosureContent": "Sp5wgW_disclosureContent",
|
|
461
|
+
"streamSemanticIcon": "Sp5wgW_streamSemanticIcon",
|
|
462
|
+
"eventRow": "Sp5wgW_eventRow",
|
|
470
463
|
"markdownFlow": "Sp5wgW_markdownFlow",
|
|
471
|
-
"
|
|
472
|
-
"turnWaiting": "Sp5wgW_turnWaiting",
|
|
473
|
-
"reasoningText": "Sp5wgW_reasoningText",
|
|
474
|
-
"visuallyHidden": "Sp5wgW_visuallyHidden",
|
|
475
|
-
"toolGroupHeaderLabel": "Sp5wgW_toolGroupHeaderLabel",
|
|
464
|
+
"body": "Sp5wgW_body",
|
|
476
465
|
"thinkRow": "Sp5wgW_thinkRow",
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
466
|
+
"thinkLeading": "Sp5wgW_thinkLeading",
|
|
467
|
+
"thinkSeparator": "Sp5wgW_thinkSeparator",
|
|
468
|
+
"editStats": "Sp5wgW_editStats",
|
|
469
|
+
"visuallyHidden": "Sp5wgW_visuallyHidden",
|
|
470
|
+
"reasoningSummary": "Sp5wgW_reasoningSummary",
|
|
471
|
+
"reasoningText": "Sp5wgW_reasoningText",
|
|
472
|
+
"reasoningDisclosure": "Sp5wgW_reasoningDisclosure",
|
|
473
|
+
"nestedToolSemanticIcon": "Sp5wgW_nestedToolSemanticIcon",
|
|
481
474
|
"disclosureRoot": "Sp5wgW_disclosureRoot",
|
|
475
|
+
"stopped": "Sp5wgW_stopped",
|
|
476
|
+
"toolGroupContent": "Sp5wgW_toolGroupContent",
|
|
477
|
+
"toolGroupHeader": "Sp5wgW_toolGroupHeader",
|
|
482
478
|
"disclosureRow": "Sp5wgW_disclosureRow",
|
|
483
|
-
"
|
|
484
|
-
"
|
|
479
|
+
"thinkBody": "Sp5wgW_thinkBody",
|
|
480
|
+
"toolGroupFrame": "Sp5wgW_toolGroupFrame",
|
|
481
|
+
"thinkTitle": "Sp5wgW_thinkTitle",
|
|
482
|
+
"root": "Sp5wgW_root",
|
|
483
|
+
"turnFoldRow": "Sp5wgW_turnFoldRow",
|
|
484
|
+
"toolGroupHeaderIcon": "Sp5wgW_toolGroupHeaderIcon"
|
|
485
485
|
};
|
|
486
486
|
//#endregion
|
|
487
487
|
//#region src/client/FollowHost.tsx
|
|
@@ -2035,31 +2035,31 @@ window.__ModuleLoader__.load({
|
|
|
2035
2035
|
tag.textContent = css$1;
|
|
2036
2036
|
}
|
|
2037
2037
|
var ConversationCard_module_css_default = {
|
|
2038
|
-
"
|
|
2038
|
+
"hint": "XFnqVW_hint",
|
|
2039
|
+
"updateRow": "XFnqVW_updateRow",
|
|
2039
2040
|
"readOnly": "XFnqVW_readOnly",
|
|
2040
|
-
"body": "XFnqVW_body",
|
|
2041
|
-
"updateCopy": "XFnqVW_updateCopy",
|
|
2042
|
-
"description": "XFnqVW_description",
|
|
2043
|
-
"header": "XFnqVW_header",
|
|
2044
2041
|
"failed": "XFnqVW_failed",
|
|
2045
|
-
"fieldHead": "XFnqVW_fieldHead",
|
|
2046
|
-
"field": "XFnqVW_field",
|
|
2047
|
-
"save": "XFnqVW_save",
|
|
2048
|
-
"chevron": "XFnqVW_chevron",
|
|
2049
|
-
"failure": "XFnqVW_failure",
|
|
2050
|
-
"headText": "XFnqVW_headText",
|
|
2051
2042
|
"footer": "XFnqVW_footer",
|
|
2052
|
-
"
|
|
2053
|
-
"hint": "XFnqVW_hint",
|
|
2054
|
-
"card": "XFnqVW_card",
|
|
2055
|
-
"chevronOpen": "XFnqVW_chevronOpen",
|
|
2056
|
-
"discard": "XFnqVW_discard",
|
|
2043
|
+
"save": "XFnqVW_save",
|
|
2057
2044
|
"name": "XFnqVW_name",
|
|
2058
|
-
"cardOpen": "XFnqVW_cardOpen",
|
|
2059
|
-
"pending": "XFnqVW_pending",
|
|
2060
2045
|
"update": "XFnqVW_update",
|
|
2046
|
+
"cardOpen": "XFnqVW_cardOpen",
|
|
2047
|
+
"card": "XFnqVW_card",
|
|
2048
|
+
"failure": "XFnqVW_failure",
|
|
2049
|
+
"label": "XFnqVW_label",
|
|
2050
|
+
"discard": "XFnqVW_discard",
|
|
2051
|
+
"updateCopy": "XFnqVW_updateCopy",
|
|
2052
|
+
"field": "XFnqVW_field",
|
|
2053
|
+
"chevronOpen": "XFnqVW_chevronOpen",
|
|
2054
|
+
"header": "XFnqVW_header",
|
|
2055
|
+
"fieldHead": "XFnqVW_fieldHead",
|
|
2061
2056
|
"version": "XFnqVW_version",
|
|
2062
|
-
"
|
|
2057
|
+
"description": "XFnqVW_description",
|
|
2058
|
+
"headText": "XFnqVW_headText",
|
|
2059
|
+
"body": "XFnqVW_body",
|
|
2060
|
+
"pending": "XFnqVW_pending",
|
|
2061
|
+
"chevron": "XFnqVW_chevron",
|
|
2062
|
+
"toggle": "XFnqVW_toggle"
|
|
2063
2063
|
};
|
|
2064
2064
|
//#endregion
|
|
2065
2065
|
//#region src/client/ConversationCard.tsx
|
|
@@ -2766,7 +2766,7 @@ window.__ModuleLoader__.load({
|
|
|
2766
2766
|
immer.createDraft.bind(immer);
|
|
2767
2767
|
immer.finishDraft.bind(immer);
|
|
2768
2768
|
//#endregion
|
|
2769
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-client-store@0.1.
|
|
2769
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-client-store@0.1.5-alpha.2_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-client-store/lib/index.js
|
|
2770
2770
|
/**
|
|
2771
2771
|
* React-free snapshot store engine (zustand vanilla + immer + subscribeWithSelector +
|
|
2772
2772
|
* rafFlush middleware + opt-in persist + dev freeze) plus the declarative
|
|
@@ -3025,24 +3025,24 @@ window.__ModuleLoader__.load({
|
|
|
3025
3025
|
tag.textContent = css;
|
|
3026
3026
|
}
|
|
3027
3027
|
var DeliverablesCard_module_css_default = {
|
|
3028
|
+
"heading": "sLyncq_heading",
|
|
3029
|
+
"moreIcon": "sLyncq_moreIcon",
|
|
3028
3030
|
"headerIcon": "sLyncq_headerIcon",
|
|
3031
|
+
"stats": "sLyncq_stats",
|
|
3032
|
+
"item": "sLyncq_item",
|
|
3029
3033
|
"parentPath": "sLyncq_parentPath",
|
|
3030
|
-
"list": "sLyncq_list",
|
|
3031
|
-
"fileName": "sLyncq_fileName",
|
|
3032
|
-
"added": "sLyncq_added",
|
|
3033
3034
|
"more": "sLyncq_more",
|
|
3035
|
+
"header": "sLyncq_header",
|
|
3036
|
+
"added": "sLyncq_added",
|
|
3034
3037
|
"title": "sLyncq_title",
|
|
3035
|
-
"
|
|
3038
|
+
"fileName": "sLyncq_fileName",
|
|
3039
|
+
"list": "sLyncq_list",
|
|
3040
|
+
"root": "sLyncq_root",
|
|
3041
|
+
"websitePath": "sLyncq_websitePath",
|
|
3036
3042
|
"external": "sLyncq_external",
|
|
3037
|
-
"item": "sLyncq_item",
|
|
3038
|
-
"heading": "sLyncq_heading",
|
|
3039
|
-
"subtitle": "sLyncq_subtitle",
|
|
3040
3043
|
"filePath": "sLyncq_filePath",
|
|
3041
|
-
"moreIcon": "sLyncq_moreIcon",
|
|
3042
3044
|
"removed": "sLyncq_removed",
|
|
3043
|
-
"
|
|
3044
|
-
"websitePath": "sLyncq_websitePath",
|
|
3045
|
-
"header": "sLyncq_header"
|
|
3045
|
+
"subtitle": "sLyncq_subtitle"
|
|
3046
3046
|
};
|
|
3047
3047
|
//#endregion
|
|
3048
3048
|
//#region src/client/DeliverablesCard.tsx
|
|
@@ -3221,9 +3221,10 @@ window.__ModuleLoader__.load({
|
|
|
3221
3221
|
});
|
|
3222
3222
|
}
|
|
3223
3223
|
//#endregion
|
|
3224
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-session@0.1.
|
|
3224
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-session@0.1.5-alpha.2_@deepseek-ai+cordis@4.0.2_@deepseek-ai+dsh-scope_437c3b82b6665a32ae6d8808253b3bcd/node_modules/@deepseek-ai/dsh-session/lib/types/surface.js
|
|
3225
3225
|
/** Runtime counterpart of the message-producing event union. */
|
|
3226
3226
|
const SURFACE_EVENT_TYPES = /* @__PURE__ */ new Set([
|
|
3227
|
+
"system/message",
|
|
3227
3228
|
"user/message",
|
|
3228
3229
|
"assistant/message",
|
|
3229
3230
|
"tool/result"
|