@aipanel/dsh-client 1.2.11 → 1.2.13

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.
Files changed (2) hide show
  1. package/lib/client.js +6 -0
  2. package/package.json +9 -9
package/lib/client.js CHANGED
@@ -61,6 +61,12 @@ var WIDGET_MSG = {
61
61
  MINIMIZE_STATE: "MINIMIZE_STATE_CHANGE",
62
62
  PROMPT_DOCK_VISIBILITY: "PROMPT_DOCK_VISIBILITY_CHANGE",
63
63
  REVIEW_PANEL_TOGGLE: "REVIEW_PANEL_TOGGLE",
64
+ /** 宿主 → iframe:告知侧栏归属期望(mode: "host" | "provider"),Provider 据此决定是否展示自家侧栏 */
65
+ SIDEBAR_MODE: "AIPANEL_SIDEBAR_MODE",
66
+ /** 宿主 → iframe:host 折叠开关驱动 Provider 收起/展开自家侧栏({ collapsed }) */
67
+ SIDEBAR_COLLAPSE: "AIPANEL_SIDEBAR_COLLAPSE",
68
+ /** iframe → 宿主(可选):Provider 内部折叠变化回传({ collapsed }),供宿主同步左上角开关状态 */
69
+ SIDEBAR_STATE: "AIPANEL_SIDEBAR_STATE",
64
70
  /** 无 deepLink 能力的 Provider:通知 iframe 聚焦指定会话 */
65
71
  FOCUS_SESSION: "AIPANEL_FOCUS_SESSION",
66
72
  /** 无 deepLink 能力的 Provider:iframe 确认目标会话已激活且渲染稳定(携带 sessionId) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aipanel/dsh-client",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "type": "module",
5
5
  "description": "AIPanel 浏览器侧插件(dsh web Web Client):注册 @aipanel 文件引用 source,选中元素以 file chip 高亮插入并可供模型解析。",
6
6
  "publishConfig": {
@@ -12,17 +12,17 @@
12
12
  ],
13
13
  "devDependencies": {
14
14
  "@deepseek-ai/cordis": "^4.0.2",
15
- "@deepseek-ai/dsh-api-session-controller": "^0.1.2-rc.1",
16
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-rc.1",
17
- "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.2-rc.1",
18
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-rc.1",
19
- "@deepseek-ai/dsh-client-ui-theme": "^0.1.2-rc.1",
20
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.2-rc.1",
21
- "@deepseek-ai/dsh-session": "^0.1.2-rc.1",
15
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.3-alpha.2",
16
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.3-alpha.2",
17
+ "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.3-alpha.2",
18
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.3-alpha.2",
19
+ "@deepseek-ai/dsh-client-ui-theme": "^0.1.3-alpha.2",
20
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.3-alpha.2",
21
+ "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
22
22
  "@types/react": "^18.3.0",
23
23
  "esbuild": "^0.25.0",
24
24
  "react": "^18.3.0",
25
- "@aipanel/core": "1.2.11"
25
+ "@aipanel/core": "1.2.13"
26
26
  },
27
27
  "exports": {
28
28
  ".": "./lib/index.js",