dsh-sidenote 0.6.5 → 0.7.1
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/README.md +3 -5
- package/lib/client.js +1698 -3874
- package/lib/types/client/annotate/send.d.ts +1 -1
- package/lib/types/client/annotations/NativeUserContext.d.ts +4 -0
- package/lib/types/client/annotations/chip.d.ts +6 -3
- package/lib/types/client/annotations/format.d.ts +5 -0
- package/lib/types/client/annotations/send.d.ts +3 -0
- package/lib/types/client/annotations/submissionExtras.d.ts +8 -0
- package/lib/types/client/chat/transcript.d.ts +3 -18
- package/lib/types/client/host/chat.d.ts +11 -1
- package/lib/types/client/host/contracts.d.ts +1 -1
- package/lib/types/client/host/dom.d.ts +5 -2
- package/lib/types/client/index.d.ts +1 -10
- package/lib/types/client/locales.d.ts +4 -0
- package/lib/types/client/reflow.d.ts +2 -1
- package/lib/types/client/sidechat/NativeConversation.d.ts +25 -0
- package/lib/types/client/sidechat/SideChatPanel.d.ts +2 -0
- package/lib/types/client/sidechat/composer.d.ts +4 -49
- package/lib/types/client/sidechat/index.d.ts +1 -0
- package/lib/types/client/sidechat/lifecycle.d.ts +2 -1
- package/lib/types/client/sidechat/notify.d.ts +1 -14
- package/lib/types/client/sidechat/rows.d.ts +0 -25
- package/lib/types/client/sidechat/snapshot.d.ts +1 -0
- package/package.json +14 -9
- package/src/client/annotate/index.tsx +3 -4
- package/src/client/annotate/send.ts +29 -50
- package/src/client/annotations/NativeUserContext.tsx +46 -0
- package/src/client/annotations/annotations.module.css +3 -0
- package/src/client/annotations/chip.tsx +17 -6
- package/src/client/annotations/format.ts +10 -0
- package/src/client/annotations/send.ts +40 -0
- package/src/client/annotations/source.ts +7 -4
- package/src/client/annotations/submissionExtras.ts +12 -0
- package/src/client/chat/transcript.ts +5 -47
- package/src/client/host/chat.ts +37 -1
- package/src/client/host/contracts.ts +4 -0
- package/src/client/host/dom.ts +21 -6
- package/src/client/index.tsx +1 -10
- package/src/client/locales.ts +10 -2
- package/src/client/reflow.ts +5 -2
- package/src/client/sidechat/NativeConversation.tsx +175 -0
- package/src/client/sidechat/SideChatPanel.tsx +105 -452
- package/src/client/sidechat/composer.ts +20 -232
- package/src/client/sidechat/index.tsx +4 -79
- package/src/client/sidechat/lifecycle.ts +9 -1
- package/src/client/sidechat/model.ts +4 -3
- package/src/client/sidechat/native-tab.tsx +5 -3
- package/src/client/sidechat/notify.ts +29 -60
- package/src/client/sidechat/rows.tsx +7 -327
- package/src/client/sidechat/sidechat.module.css +29 -899
- package/src/client/sidechat/snapshot.ts +2 -0
- package/lib/types/client/annotate/bubble.d.ts +0 -2
- package/lib/types/client/chat/FoldCard.d.ts +0 -7
- package/lib/types/client/chat/ReasoningRow.d.ts +0 -7
- package/lib/types/client/chat/ToolCard.d.ts +0 -9
- package/lib/types/client/chat/cards.d.ts +0 -154
- package/lib/types/client/host/labels.d.ts +0 -69
- package/lib/types/client/host/markdown.d.ts +0 -32
- package/lib/types/client/sidechat/ComposerBar.d.ts +0 -15
- package/lib/types/client/sidechat/ModelMenu.d.ts +0 -8
- package/lib/types/client/sidechat/PendingCard.d.ts +0 -4
- package/lib/types/client/sidechat/PermissionChip.d.ts +0 -4
- package/lib/types/client/sidechat/composer/attach.d.ts +0 -2
- package/lib/types/client/sidechat/composer/slash.d.ts +0 -61
- package/lib/types/client/sidechat/pending.d.ts +0 -71
- package/src/client/annotate/bubble.ts +0 -109
- package/src/client/chat/FoldCard.tsx +0 -34
- package/src/client/chat/ReasoningRow.tsx +0 -46
- package/src/client/chat/ToolCard.tsx +0 -160
- package/src/client/chat/cards.ts +0 -643
- package/src/client/host/labels.ts +0 -99
- package/src/client/host/markdown.ts +0 -48
- package/src/client/sidechat/ComposerBar.tsx +0 -174
- package/src/client/sidechat/ModelMenu.tsx +0 -85
- package/src/client/sidechat/PendingCard.tsx +0 -145
- package/src/client/sidechat/PermissionChip.tsx +0 -86
- package/src/client/sidechat/composer/attach.ts +0 -2
- package/src/client/sidechat/composer/slash.tsx +0 -156
- package/src/client/sidechat/pending.ts +0 -238
package/README.md
CHANGED
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
dsh plugin --profile web add dsh-sidenote
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
打开 DSH Web,点击会话顶栏的 **「侧边」**,或划选一段回复开始。也可输入 `/side` 打开侧聊,用 `Alt+
|
|
38
|
+
打开 DSH Web,点击会话顶栏的 **「侧边」**,或划选一段回复开始。也可输入 `/side` 打开侧聊,用 `Alt+S` 切换主、侧输入焦点。
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
当前主线支持 DSH 0.2.1-rc.2(当前)、0.2.0-rc.2(过渡)及 0.2.1-rc.3(已准入预览),无需安装 `dsh-better-sidebar`。公开安装范围以对应 Release 为准;旧宿主固定最后兼容的 `dsh-sidenote@0.6.5`,具体命令见[兼容政策](docs/compatibility.md)。
|
|
41
41
|
|
|
42
42
|
## 一个任务,容得下更多思路
|
|
43
43
|
|
|
@@ -82,9 +82,7 @@ dsh plugin --profile web add dsh-sidenote
|
|
|
82
82
|
|
|
83
83
|
## 兼容与帮助
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
0.6.5 包含 DSH 0.2.1-rc.3 适配、V4 回流来源修复和逐项投递确认。0.6.4 及更早版本不声明支持 rc.3。0.6.5 是原生 Conversation 重构前的兼容修复快照;后续新版的原生宿主范围以对应 Release 为准,窗口外可固定 `dsh-sidenote@0.6.5`。
|
|
85
|
+
维护窗口按 **当前常规版本+过渡版本+至多一个已准入预览版** 滚动,侧聊共用原生 Conversation。新 next 不挤掉常规版本;新常规版本验收并发布后才滚动过渡位置。`package.json` 的 `dshSupport` 精确清单生成 CI 矩阵,固定汇总检查要求全部通过。窗口外保留最后兼容插件,不回补每个新功能或回测所有旧宿主。详见[兼容与维护政策](docs/compatibility.md);已发布版本请查看对应 Release。
|
|
88
86
|
|
|
89
87
|
遇到问题时,可在 **设置 → 通用设置 → dsh-sidenote 诊断模式** 开启诊断,查看并手动导出接入状态。[报告问题或提出建议](https://github.com/g-yixuan/dsh-sidenote/issues/new/choose)。
|
|
90
88
|
|