dsh-sidenote 0.7.1 → 0.7.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.
Files changed (32) hide show
  1. package/README.md +1 -1
  2. package/lib/client.js +1130 -605
  3. package/lib/types/client/annotations/NativeComposer.d.ts +10 -0
  4. package/lib/types/client/annotations/NativeUserContext.d.ts +33 -2
  5. package/lib/types/client/annotations/chip.d.ts +2 -12
  6. package/lib/types/client/host/chat.d.ts +34 -0
  7. package/lib/types/client/host/contracts.d.ts +14 -1
  8. package/lib/types/client/host/dom.d.ts +5 -0
  9. package/lib/types/client/locales.d.ts +13 -0
  10. package/lib/types/client/sidechat/NativeConversation.d.ts +7 -0
  11. package/lib/types/client/sidechat/identity.d.ts +1 -1
  12. package/lib/types/client/sidechat/snapshot.d.ts +2 -0
  13. package/package.json +1 -1
  14. package/src/client/annotate/index.tsx +7 -16
  15. package/src/client/annotations/NativeComposer.tsx +110 -0
  16. package/src/client/annotations/NativeUserContext.tsx +168 -36
  17. package/src/client/annotations/annotations.module.css +60 -157
  18. package/src/client/annotations/chip.tsx +122 -118
  19. package/src/client/host/chat.ts +23 -19
  20. package/src/client/host/contracts.ts +5 -0
  21. package/src/client/host/dom.ts +13 -1
  22. package/src/client/locales.ts +30 -4
  23. package/src/client/reflow.ts +1 -1
  24. package/src/client/sidechat/NativeConversation.tsx +33 -16
  25. package/src/client/sidechat/SideChatPanel.tsx +8 -3
  26. package/src/client/sidechat/identity.ts +5 -1
  27. package/src/client/sidechat/sidechat.module.css +15 -1
  28. package/src/client/sidechat/snapshot.ts +7 -0
  29. package/lib/types/client/annotate/chip.d.ts +0 -10
  30. package/lib/types/client/annotate/send.d.ts +0 -8
  31. package/src/client/annotate/chip.tsx +0 -94
  32. package/src/client/annotate/send.ts +0 -155
package/README.md CHANGED
@@ -55,7 +55,7 @@ dsh plugin --profile web add dsh-sidenote
55
55
 
56
56
  ### 有结论,带回正在做的事
57
57
 
58
- 侧聊回答下点击「回流到主会话」,**问题与回答成对带回**,出现在主输入框上方,随下一条消息送入主线。也可以整段回流,或将值得保留的侧聊保存为正式会话。
58
+ 点击侧聊回答操作栏右侧的「带回主对话」图标,**问题与回答成对带回**,出现在主输入框上方,随下一条消息送入主线。也可以整段回流,或将值得保留的侧聊保存为正式会话。
59
59
 
60
60
  ## 看看它如何工作
61
61