@kirkchinese/dsh-citeciter 0.9.0-beta.3 → 0.9.0-beta.5

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 (67) hide show
  1. package/README.md +14 -10
  2. package/README.zh.md +14 -10
  3. package/assets/citeciter-mascot.png +0 -0
  4. package/assets/locale/en.json +6 -0
  5. package/assets/locale/zh.json +6 -0
  6. package/lib/client.js +4384 -1338
  7. package/lib/index.js +293 -76
  8. package/lib/{typert-common-B3cX-hWj.js → typert-common-NL5W_N9Z.js} +1 -1
  9. package/lib/typert.host.js +2 -2
  10. package/lib/typert.remote-client.js +1 -1
  11. package/lib/types/actions.d.ts +9 -7
  12. package/lib/types/client/action-controller.d.ts +14 -1
  13. package/lib/types/client/action-executor.d.ts +3 -1
  14. package/lib/types/client/board-citation.d.ts +2 -0
  15. package/lib/types/client/board-timeline.d.ts +4 -1
  16. package/lib/types/client/companion-controller.d.ts +1 -1
  17. package/lib/types/client/components/BoardView.d.ts +3 -1
  18. package/lib/types/client/components/CiteCiterSettings.d.ts +13 -2
  19. package/lib/types/client/components/CitePanel.d.ts +14 -1
  20. package/lib/types/client/components/CiterTab.d.ts +16 -0
  21. package/lib/types/client/components/ContextRow.d.ts +7 -0
  22. package/lib/types/client/components/QuoteReference.d.ts +11 -0
  23. package/lib/types/client/components/SelectionToolbar.d.ts +3 -2
  24. package/lib/types/client/components/ToolMessage.d.ts +10 -5
  25. package/lib/types/client/components/TopicActions.d.ts +4 -1
  26. package/lib/types/client/components/TopicHeader.d.ts +4 -3
  27. package/lib/types/client/components/TopicUsage.d.ts +5 -0
  28. package/lib/types/client/components/UserMessageBody.d.ts +7 -2
  29. package/lib/types/client/conversation-dom.d.ts +2 -0
  30. package/lib/types/client/copy.d.ts +16 -4
  31. package/lib/types/client/draft-references.d.ts +3 -1
  32. package/lib/types/client/entries.d.ts +3 -0
  33. package/lib/types/client/i18n.d.ts +23 -0
  34. package/lib/types/client/locales/board.d.ts +51 -0
  35. package/lib/types/client/locales/common.d.ts +7 -0
  36. package/lib/types/client/locales/index.d.ts +570 -0
  37. package/lib/types/client/locales/panel.d.ts +215 -0
  38. package/lib/types/client/locales/settings.d.ts +185 -0
  39. package/lib/types/client/locales/transcript.d.ts +127 -0
  40. package/lib/types/client/main-quote.d.ts +59 -0
  41. package/lib/types/client/native-file-link.d.ts +10 -0
  42. package/lib/types/client/request-guard.d.ts +2 -1
  43. package/lib/types/client/rich-content.d.ts +7 -0
  44. package/lib/types/client/selection-references.d.ts +1 -1
  45. package/lib/types/client/tool-cards.d.ts +84 -0
  46. package/lib/types/client/tool-presentation.d.ts +1 -4
  47. package/lib/types/client/topic-presentation.d.ts +8 -3
  48. package/lib/types/client/types.d.ts +16 -0
  49. package/lib/types/client/user-text-quote.d.ts +6 -0
  50. package/lib/types/client/view-actions.d.ts +1 -1
  51. package/lib/types/evidence-text.d.ts +8 -0
  52. package/lib/types/message-projection.d.ts +25 -8
  53. package/lib/types/model-admission.d.ts +1 -1
  54. package/lib/types/owned-session-cleanup.d.ts +7 -1
  55. package/lib/types/source-read-tool.d.ts +1 -1
  56. package/lib/types/source-session.d.ts +8 -2
  57. package/lib/types/tool-events.d.ts +2 -0
  58. package/lib/types/topic-context.d.ts +9 -3
  59. package/lib/types/topic-log.d.ts +3 -1
  60. package/lib/types/topic-prompts.d.ts +4 -0
  61. package/lib/types/topic-runtime.d.ts +2 -2
  62. package/lib/types/topic.d.ts +76 -1
  63. package/lib/types/typert-common.d.ts +24 -0
  64. package/lib/types/typert.host.d.ts +72 -0
  65. package/lib/{update-CGteMuNJ.js → update-Bti3dxU-.js} +34 -2
  66. package/package.json +66 -58
  67. package/lib/types/client/board-capture-target.d.ts +0 -8
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # CiteCiter
2
2
 
3
- [简体中文](README.zh.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [Changelog](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.3/CHANGELOG.md) · [Issues](https://github.com/kirkchinese/CiteCiter/issues)
3
+ [简体中文](README.zh.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [Changelog](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.5/CHANGELOG.md) · [Issues](https://github.com/kirkchinese/CiteCiter/issues)
4
4
 
5
- ![CiteCiter](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.3/assets/hero/citeciter-hero.png)
5
+ ![CiteCiter](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.5/assets/hero/citeciter-hero.png)
6
6
 
7
7
  **The AI finished the task. I still want to understand how it did it.**
8
8
 
9
9
  CiteCiter is a [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness) plugin that helps you learn from your agent's real work. Select part of a conversation, a tool result or a document, ask about it in a separate Topic that keeps its source, use a blackboard to see how the pieces relate, then return to your work. The main conversation is never modified.
10
10
 
11
- [![CiteCiter demo](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.3/assets/docs/video-cover.png)](https://www.bilibili.com/video/BV1tqeA65EJ8/)
11
+ [![CiteCiter demo](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.5/assets/docs/video-cover.png)](https://www.bilibili.com/video/BV1tqeA65EJ8/)
12
12
 
13
13
  [Watch the demo on Bilibili](https://www.bilibili.com/video/BV1tqeA65EJ8/) (recorded with an earlier version; the interface has changed slightly).
14
14
 
@@ -18,7 +18,7 @@ CiteCiter needs DSH and a working model. The plugin declares exact host versions
18
18
 
19
19
  | DSH version | CiteCiter version |
20
20
  | --- | --- |
21
- | `0.2.0-rc.2` (including the official Desktop), `0.2.1-alpha.1` through `0.2.1-alpha.5`, `0.2.1-rc.1`, `0.2.1-rc.2` | `0.9.0-beta.3` |
21
+ | `0.2.0-rc.2` (including the official Desktop), `0.2.1-alpha.1` through `0.2.1-alpha.5`, `0.2.1-rc.1`, `0.2.1-rc.2`, `0.2.1-rc.3` | `0.9.0-beta.5` |
22
22
  | `0.1.7-rc.2` | `0.9.0-alpha.3` |
23
23
  | `0.1.5-rc.1` | `0.8.2` |
24
24
  | `0.1.2-rc.1` | `0.6.0` |
@@ -28,13 +28,13 @@ CiteCiter needs DSH and a working model. The plugin declares exact host versions
28
28
  **CLI and Web:**
29
29
 
30
30
  ```sh
31
- dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.9.0-beta.3
31
+ dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.9.0-beta.5
32
32
  ```
33
33
 
34
34
  You can also install a release tag straight from the repository, which contains the built plugin, so nothing is built at install time:
35
35
 
36
36
  ```sh
37
- dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v0.9.0-beta.3"
37
+ dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v0.9.0-beta.5"
38
38
  ```
39
39
 
40
40
  Restart DSH and refresh the page after installing or upgrading. Do not use `dsh plugin allow-version` to force a plugin that does not match your host version. Do not run two host processes on the same DSH home.
@@ -63,7 +63,9 @@ Creating a Topic or choosing 提问 only prepares a draft; preset actions such a
63
63
 
64
64
  ## Using CiteCiter
65
65
 
66
- **Toolbar and actions.** After you select text, a toolbar appears next to it: the first four actions are shown directly, and the rest plus 在新 Topic 中提问 (ask in a new Topic) are under "⋯". Actions go to the open Topic by default, or create one when there is none or it is archived. 提问 opens the composer for your own question; preset actions such as 解释, 找错误 and 翻译 send directly without touching an existing draft. Action names, prompts and order are configurable in Settings. If you prefer gestures, turn on the wheel in Settings: hold the right mouse button (or the chosen key) after selecting text, move to an action and release.
66
+ **Toolbar and actions.** After you select text in an assistant answer, your own message, a tool result or a document, a toolbar appears next to it: the first action (Ask Citer by default), then Quote, then the next three actions; the rest plus "Ask in a new Topic" are under "⋯". Quote puts the selected sentences into the main conversation's composer as a quote chip that looks like an `@file` chip, keeping the text and attachments already there. When you send, the main agent receives the exact passage and who said it (its reply, your message or a tool result), so it knows which sentence your next words are about, which helps when you discuss or dispute an answer. From DSH `0.2.1-rc.2`, sent messages show the quote as a chip too. Actions go to the open Topic by default, or create one when there is none or it is archived. Selecting text in Citer's own answers shows the toolbar too; the action continues that Topic, and Quote adds the passage to that Topic's composer. Ask Citer opens the composer for your own question; preset actions such as Explain, Find errors and Translate send directly without touching an existing draft. Action names, prompts and order are configurable in Settings. If you prefer gestures, turn on the wheel in Settings: hold the right mouse button (or the chosen key) after selecting text, move to an action and release.
67
+
68
+ **Right sidebar.** Citer is a tab in DSH's right sidebar. Open it from the sidebar's guide page, the desktop pet or the toolbar; it sits beside files, terminals and other plugins' tabs, and can be split, floated or made fullscreen like them; closing the tab closes Citer. If you prefer the standalone panel of earlier versions, turn on "Don't use DSH's right sidebar" under Settings → Citer → Panel. The interface follows DSH's language setting (Chinese or English), and so do the names and prompts of the default actions; actions you changed stay as you wrote them. Each Topic shows its own usage under the composer: tokens, cache hit rate and context occupancy.
67
69
 
68
70
  **Desktop pet.** While Citer is closed, its mascot peeks over the window edge; she stands up when the pointer comes near, and a click opens Citer. Drag her to either side at any height and the place is remembered. A small dot appears next to her when an answer finishes or a question waits for you while Citer is closed.
69
71
 
@@ -71,7 +73,7 @@ Creating a Topic or choosing 提问 only prepares a draft; preset actions such a
71
73
 
72
74
  **Drafts.** Drafts save silently in the background. Edits to the same Topic from several windows merge automatically; where they overlap, the window you are typing in wins. After a successful send, only what was sent is cleared, and anything written meanwhile is kept.
73
75
 
74
- **Source and codebase.** Citer reads the source conversation when it needs to, as a transcript of user and assistant messages, tool calls and results, each marked with its position; long tool output is shortened first and read in full only when needed. Turn on 自动附上来源摘录 (automatic source excerpt) in Settings to add the source's newest records at the start of each turn after the source attachment has been sent; it is off by default. 代码库变化感知 (codebase change awareness) lists, at the start of each turn, the files that changed in the git working tree since Citer's previous turn, uncommitted changes included; Citer reads line-level diffs with a tool when they matter. Settings can attach the diffs directly or turn the notice off. Both are recorded in the Topic log, and your repository is never written.
76
+ **Source and codebase.** Every Topic knows which main conversation it belongs to, so Citer can read it at any time, even in a Topic that quotes nothing (and only that conversation). It reads a transcript of user and assistant messages, tool calls and results, each marked with its position; long tool output is shortened first and read in full only when needed. Turn on the automatic source excerpt in Settings to add the source's newest records at the start of each turn; it is off by default. 代码库变化感知 (codebase change awareness) lists, at the start of each turn, the files that changed in the git working tree since Citer's previous turn, uncommitted changes included; Citer reads line-level diffs with a tool when they matter. Settings can attach the diffs directly or turn the notice off. Both are recorded in the Topic log and shown, like in DSH's main conversation, as expandable context rows holding the exact text the model received; your repository is never written. Other context, such as the runtime and time, stays out of the transcript as in DSH; 显示全部上下文 (show all context) in the Topic menu lists it. Tool calls in a Topic use DSH's views too: file reads with line numbers, edits as diffs, commands with their output and exit code.
75
77
 
76
78
  **Learning route and cards.** The learning route is off by default and can be turned on in the Topic menu (⋯); when on, the model plans its explanation with DSH todos. You can ask for learning cards at any time; the model checks conclusions, conditions and calculations first, but self-checking does not guarantee correctness. Active recall is off by default; when on, cards show their self-test question first.
77
79
 
@@ -81,7 +83,9 @@ Creating a Topic or choosing 提问 only prepares a draft; preset actions such a
81
83
 
82
84
  New Topics are **read-only** by default, even when the source session has more permissions. A Topic can change the workspace only after you choose another permission mode in the composer or change the default for new Topics in Settings; DSH approvals and sandboxing still apply.
83
85
 
84
- Topics appear only in the Citer list, never in DSH's session list. A new Topic starts with the excerpt or question as its title, and DSH's title service summarizes it on the first answer; rename it by double-clicking the title, pressing F2 or using the Topic menu, after which the title no longer changes on its own; an archived Topic returns to the list when you send to it again. Permanent deletion asks for the full Session ID and removes only that Topic's records, drafts and attachments.
86
+ Topics appear only in the Citer list, never in DSH's session list. A new Topic starts with the excerpt or question as its title, and DSH's title service summarizes it on the first answer; rename it by double-clicking the title, pressing F2 or using the Topic menu, after which the title no longer changes on its own; an archived Topic returns to the list when you send to it again. Permanent deletion asks for the full Session ID and removes only that Topic's records, drafts, attachments and codebase snapshots.
87
+
88
+ New Topics use the model for new Topics set in Settings, or, when it is unset, the model currently selected in the source conversation's composer. If that model is not available in this DSH (for example a setting made on another machine), the Topic is still created with its references and draft, and Citer asks you to pick an available model in the model menu; it never switches models or sends on its own.
85
89
 
86
90
  CiteCiter stores its data in each source session's directory:
87
91
 
@@ -118,6 +122,6 @@ CiteCiter turns real AI work into material you can cite, question and check. Sta
118
122
 
119
123
  Bring a task where "the agent finished, but I still can't explain it" to the [issue tracker](https://github.com/kirkchinese/CiteCiter/issues). Include your DSH and plugin versions and whether you got stuck installing, citing and asking, or understanding the answer. Remove keys and private content before pasting material.
120
124
 
121
- See [CONTRIBUTING.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.3/CONTRIBUTING.md) for development and [docs/product.zh.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.3/docs/product.zh.md) (Chinese) for the product rules. [Claude2DSH](https://github.com/kirkchinese/claude2dsh), by the same author, migrates sessions and assets between Claude Code and DSH.
125
+ See [CONTRIBUTING.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.5/CONTRIBUTING.md) for development and [docs/product.zh.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.5/docs/product.zh.md) (Chinese) for the product rules. [Claude2DSH](https://github.com/kirkchinese/claude2dsh), by the same author, migrates sessions and assets between Claude Code and DSH.
122
126
 
123
127
  MIT License.
package/README.zh.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # CiteCiter
2
2
 
3
- [English](README.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [更新记录](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.3/CHANGELOG.md) · [问题反馈](https://github.com/kirkchinese/CiteCiter/issues)
3
+ [English](README.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [更新记录](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.5/CHANGELOG.md) · [问题反馈](https://github.com/kirkchinese/CiteCiter/issues)
4
4
 
5
- ![CiteCiter](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.3/assets/hero/citeciter-hero.png)
5
+ ![CiteCiter](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.5/assets/hero/citeciter-hero.png)
6
6
 
7
7
  **AI 已经完成了任务,我还想弄明白它是怎么做的。**
8
8
 
9
9
  CiteCiter 是 [DeepSeek Harness(DSH)](https://github.com/deepseek-ai/deepseek-harness) 的插件,帮助你从 Agent 的真实工作中学习。选中对话、工具结果或文档中的一段内容,在保留来源的独立 Topic 里追问,用小黑板理解关键关系,再回到原来的工作。主对话不会被改动。
10
10
 
11
- [![CiteCiter 演示](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.3/assets/docs/video-cover.png)](https://www.bilibili.com/video/BV1tqeA65EJ8/)
11
+ [![CiteCiter 演示](https://raw.githubusercontent.com/kirkchinese/CiteCiter/v0.9.0-beta.5/assets/docs/video-cover.png)](https://www.bilibili.com/video/BV1tqeA65EJ8/)
12
12
 
13
13
  [在 B 站观看演示](https://www.bilibili.com/video/BV1tqeA65EJ8/)(早期版本录制,界面与当前版本略有不同)。
14
14
 
@@ -18,7 +18,7 @@ CiteCiter 需要 DSH 和一个可用的模型。插件声明了精确的宿主
18
18
 
19
19
  | DSH 版本 | CiteCiter 版本 |
20
20
  | --- | --- |
21
- | `0.2.0-rc.2`(含官方桌面版)、`0.2.1-alpha.1` 至 `0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2` | `0.9.0-beta.3` |
21
+ | `0.2.0-rc.2`(含官方桌面版)、`0.2.1-alpha.1` 至 `0.2.1-alpha.5`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3` | `0.9.0-beta.5` |
22
22
  | `0.1.7-rc.2` | `0.9.0-alpha.3` |
23
23
  | `0.1.5-rc.1` | `0.8.2` |
24
24
  | `0.1.2-rc.1` | `0.6.0` |
@@ -28,13 +28,13 @@ CiteCiter 需要 DSH 和一个可用的模型。插件声明了精确的宿主
28
28
  **命令行与 Web:**
29
29
 
30
30
  ```sh
31
- dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.9.0-beta.3
31
+ dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.9.0-beta.5
32
32
  ```
33
33
 
34
34
  也可以从仓库安装某个发布标签,仓库内已包含构建好的插件,安装时无需构建:
35
35
 
36
36
  ```sh
37
- dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v0.9.0-beta.3"
37
+ dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v0.9.0-beta.5"
38
38
  ```
39
39
 
40
40
  安装或升级后重启 DSH 并刷新页面。不要用 `dsh plugin allow-version` 强行加载与宿主版本不匹配的插件。同一个 DSH 主目录不要同时运行两个宿主进程。
@@ -63,7 +63,9 @@ dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v
63
63
 
64
64
  ## 使用说明
65
65
 
66
- **工具条与动作。** 选中文字后,旁边出现工具条:前四个动作直接显示,其余动作和"在新 Topic 中提问"在"⋯"里。动作默认加入当前打开的 Topic,没有或已归档时新建。"提问"打开输入框让你写问题;"解释""找错误""翻译"等预设动作直接发送,不会改动输入框里已有的草稿。动作的名称、提示词和顺序都可以在设置中修改。喜欢手势的话,可以在设置中开启轮盘:选中文字后按住右键(或设定的键)移向动作,松开即执行。
66
+ **工具条与动作。** 在主对话的助手回答、你自己的消息、工具结果或文档中选中文字后,旁边出现工具条:第一个动作(默认是"问 Citer")之后是"引用",再往后是其余前三个动作,剩下的动作和"在新 Topic 中提问"在"⋯"里。"引用"把选中的句子作为一个引用胶囊放进主对话的输入框,和 `@文件` 的样子一样,已有的文字和附件都保留;发送时主 Agent 收到这段原文和它出自谁(它的回复、你的消息或工具结果),就知道你接下来的话针对哪一句,适合和它讨论或反驳。DSH `0.2.1-rc.2` 起,已发送的消息里也显示为引用胶囊。动作默认加入当前打开的 Topic,没有或已归档时新建。在 Citer 自己的回答里选中文字也会出现工具条,动作在这个 Topic 中继续,"引用"会把选段加到这个 Topic 的输入框。"问 Citer"打开输入框让你写问题;"解释""找错误""翻译"等预设动作直接发送,不会改动输入框里已有的草稿。动作的名称、提示词和顺序都可以在设置中修改。喜欢手势的话,可以在设置中开启轮盘:选中文字后按住右键(或设定的键)移向动作,松开即执行。
67
+
68
+ **右侧栏。** Citer 是 DSH 右侧栏里的一个标签页,可以从侧栏的指引页、桌宠或工具条打开,和文件、终端、其他插件的标签并排、分屏、悬浮或全屏,关闭标签即收起。更喜欢以前那种独立面板的话,在设置 → Citer → 面板中打开"不使用 DSH 右侧栏"。界面语言跟随 DSH 的语言设置(中文或英文),默认动作的名称和提示词也随之切换,你改过的动作保持原样。Topic 在输入框下方显示自己的用量:token 数、缓存命中率和上下文占用。
67
69
 
68
70
  **桌宠。** Citer 收起时,她会扒在窗口边缘探头;鼠标靠近时站起来,点一下就打开 Citer。可以把她拖到左边或右边的任意高度,位置会被记住。收起期间有回答完成,或有问题在等你回答时,她旁边会出现一个小圆点。
69
71
 
@@ -71,7 +73,7 @@ dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v
71
73
 
72
74
  **草稿。** 草稿在后台静默保存。多个窗口编辑同一个 Topic 时,各自的修改会自动合并;同一处有冲突时,以正在输入的窗口为准。发送成功后只清除已发送的部分,发送期间新写的内容会保留。
73
75
 
74
- **来源与代码库。** Citer 在需要时读取来源对话,看到的是带位置标记的对话记录:用户与助手的消息、工具调用和结果;过长的工具输出先缩短,需要时再读全文。在设置中开启"自动附上来源摘录"后,来源附件发送之后每轮开头会附上来源最近的新内容,默认关闭。"代码库变化感知"在每轮开头列出上一轮以来 git 工作区(含未提交的改动)改了哪些文件,Citer 需要时再用工具读取逐行改动;也可以在设置中改为直接附上 diff,或者关闭。这些内容都记录在 Topic 里,不会写入你的仓库。
76
+ **来源与代码库。** 每个 Topic 都知道自己属于哪个主对话,即使没有引用任何内容,Citer 也能随时读取它(只能读这个主对话)。看到的是带位置标记的对话记录:用户与助手的消息、工具调用和结果;过长的工具输出先缩短,需要时再读全文。在设置中开启"自动附上来源摘录"后,每轮开头会附上来源最近的新内容,默认关闭。"代码库变化感知"在每轮开头列出上一轮以来 git 工作区(含未提交的改动)改了哪些文件,Citer 需要时再用工具读取逐行改动;也可以在设置中改为直接附上 diff,或者关闭。这些内容都记录在 Topic 里,像 DSH 主对话一样显示为可展开的上下文行,展开即是模型收到的原文;它们不会写入你的仓库。运行环境、时间等其他上下文和 DSH 一样默认不列出,可以在 Topic 菜单中选择"显示全部上下文"查看。Topic 中的工具调用也使用 DSH 的样式:读取文件带行号,编辑显示为 diff,命令显示输出和退出码。
75
77
 
76
78
  **学习路线与学习卡。** 学习路线默认关闭,可以在 Topic 菜单(⋯)中开启;开启后,模型会根据问题用 DSH 待办安排讲解步骤。学习卡可以随时单独请求,生成前模型会核对结论、条件和计算,但自查不能保证正确。主动回忆默认关闭,开启后学习卡先显示自测问题。
77
79
 
@@ -81,7 +83,9 @@ dsh plugin --profile web add "git+https://github.com/kirkchinese/CiteCiter.git#v
81
83
 
82
84
  新 Topic 默认**只读**,即使来源会话拥有更高权限。只有你在输入框中选择其他权限模式,或在设置里修改新 Topic 的默认权限后,Topic 才能修改工作区;DSH 的审批和沙箱规则照常生效。
83
85
 
84
- Topic 只出现在 Citer 的列表里,不会出现在 DSH 的会话列表中。新 Topic 先以引用摘录或问题为标题,第一次回答时由 DSH 的标题服务生成摘要标题;双击标题、按 F2 或在 Topic 菜单中重命名,重命名后不再自动修改;归档的 Topic 在你再次发送消息后自动恢复。永久删除需要输入完整的 Session ID,只删除这个 Topic 自己的记录、草稿和附件。
86
+ Topic 只出现在 Citer 的列表里,不会出现在 DSH 的会话列表中。新 Topic 先以引用摘录或问题为标题,第一次回答时由 DSH 的标题服务生成摘要标题;双击标题、按 F2 或在 Topic 菜单中重命名,重命名后不再自动修改;归档的 Topic 在你再次发送消息后自动恢复。永久删除需要输入完整的 Session ID,只删除这个 Topic 自己的记录、草稿、附件和代码库快照。
87
+
88
+ 新 Topic 使用设置中"新 Topic 的模型",未设置时沿用来源对话输入框里当前选择的模型。如果这个模型在当前 DSH 中不可用(例如设置是在另一台机器上配置的),Topic 照常创建,引用和草稿都保留,Citer 会提示你在模型菜单中换一个可用的模型,不会自动换模型或发送。
85
89
 
86
90
  CiteCiter 的数据保存在每个来源会话的目录中:
87
91
 
@@ -118,6 +122,6 @@ CiteCiter 尝试把真实的 AI 工作过程变成可引用、可追问、可检
118
122
 
119
123
  欢迎带着"Agent 已经完成了,但我还讲不清"的任务来[反馈](https://github.com/kirkchinese/CiteCiter/issues)。请写明 DSH 和插件版本,以及卡在安装、引用追问还是理解回答。贴材料前请移除密钥和私人内容。
120
124
 
121
- 开发说明见 [CONTRIBUTING.zh.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.3/CONTRIBUTING.zh.md),产品规则见 [docs/product.zh.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.3/docs/product.zh.md)。同作者的 [Claude2DSH](https://github.com/kirkchinese/claude2dsh) 用于在 Claude Code 与 DSH 之间迁移会话和资产。
125
+ 开发说明见 [CONTRIBUTING.zh.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.5/CONTRIBUTING.zh.md),产品规则见 [docs/product.zh.md](https://github.com/kirkchinese/CiteCiter/blob/v0.9.0-beta.5/docs/product.zh.md)。同作者的 [Claude2DSH](https://github.com/kirkchinese/claude2dsh) 用于在 Claude Code 与 DSH 之间迁移会话和资产。
122
126
 
123
127
  MIT License.
Binary file
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Citer",
4
+ "description": "Explore source conversations in private Topics with citations, drafts, visual boards, and learning cards."
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Citer",
4
+ "description": "基于来源会话创建独立 Topic,整理引用、草稿、小黑板和学习卡片。"
5
+ }
6
+ }