@kirkchinese/dsh-citeciter 0.4.3 → 0.6.0
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 +65 -64
- package/README.zh.md +65 -64
- package/lib/client.js +32195 -2477
- package/lib/index.js +1300 -149
- package/lib/{typert-common-4_cbghYz.js → typert-common-C6yTitXx.js} +23 -3
- package/lib/typert.host.js +7 -3
- package/lib/typert.remote-client.js +2 -2
- package/lib/types/board.d.ts +237 -0
- package/lib/types/client/companion-controller.d.ts +15 -6
- package/lib/types/client/components/BlackboardWorkspace.d.ts +18 -0
- package/lib/types/client/components/BoardView.d.ts +12 -0
- package/lib/types/client/components/CiteCiterSettings.d.ts +12 -5
- package/lib/types/client/components/CitePanel.d.ts +14 -6
- package/lib/types/client/components/DocumentReader.d.ts +8 -0
- package/lib/types/client/components/QuestionCard.d.ts +2 -2
- package/lib/types/client/components/SelectionMenu.d.ts +14 -6
- package/lib/types/client/components/UpdateNotice.d.ts +14 -0
- package/lib/types/client/conversation-dom.d.ts +9 -1
- package/lib/types/client/copy.d.ts +6 -0
- package/lib/types/client/dock-geometry.d.ts +23 -0
- package/lib/types/client/entries.d.ts +61 -0
- package/lib/types/client/entry-ids.d.ts +3 -0
- package/lib/types/client/host-dock.d.ts +18 -0
- package/lib/types/client/hotkeys.d.ts +19 -0
- package/lib/types/client/reader-controller.d.ts +33 -0
- package/lib/types/client/reader-selection.d.ts +12 -0
- package/lib/types/client/request-guard.d.ts +24 -1
- package/lib/types/client/rich-content.d.ts +6 -0
- package/lib/types/client/selection.d.ts +5 -3
- package/lib/types/client/topic-presentation.d.ts +15 -0
- package/lib/types/client/types.d.ts +37 -2
- package/lib/types/client/update-controller.d.ts +59 -0
- package/lib/types/client/view-actions.d.ts +26 -0
- package/lib/types/documents.d.ts +45 -0
- package/lib/types/evidence-text.d.ts +29 -0
- package/lib/types/index.d.ts +14 -15
- package/lib/types/observer.d.ts +28 -2
- package/lib/types/service.d.ts +81 -0
- package/lib/types/topic-runtime.d.ts +305 -7
- package/lib/types/topic.d.ts +604 -43
- package/lib/types/typert-common.d.ts +279 -11
- package/lib/types/typert.host.d.ts +671 -34
- package/lib/types/typert.remote-client.d.ts +3 -0
- package/lib/types/update.d.ts +69 -0
- package/lib/update-C0K5ekMg.js +1073 -0
- package/package.json +87 -79
- package/lib/topic-BVNCaVbJ.js +0 -307
package/README.md
CHANGED
|
@@ -1,98 +1,99 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CiteCiter
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**A learning and investigation companion for DeepSeek Harness Web and Desktop.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Select a committed response and explore it in a private Topic while the main task continues. Ask follow-ups, change models, or let the presenter explain with formulas, diagrams, tables and animations.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[简体中文](README.zh.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [Issues](https://github.com/kirkchinese/CiteCiter/issues)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
<p align="center"><img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/hero/citeciter-hero.png" width="100%" alt="Explore selected AI output in private CiteCiter Topics"></p>
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Install and compatibility
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
- **No need to wait.** A committed intermediate model call can be investigated while the surrounding Agent turn continues, including its reasoning or a selection spanning reasoning and answer text.
|
|
15
|
-
- **Durable investigations.** Private Topics support natural follow-up questions and reopen after a refresh or restart.
|
|
16
|
-
- **Evidence with no write access.** CiteCiter can inspect committed source events and search or read project files, but cannot change the source Session or workspace.
|
|
17
|
-
- **Inspectable work.** Questions, answers, source reads, and project-file checks remain together in the investigation panel.
|
|
18
|
-
- **Side-by-side workflow.** The conversation concedes space whenever the panel and a usable conversation fit; tighter layouts fall back to an overlay.
|
|
13
|
+
CiteCiter **0.6.0** targets DSH `0.1.2-rc.1` and [DSH Desktop 2.0.5](https://github.com/anywhere-labs/dsh-desktop/releases/tag/v2.0.5). Node.js must satisfy `^22.19.0 || >=24.0.0`; Windows validation uses Node 24.19.0. DSH alpha and Desktop master are separate targets.
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
| Environment | Installation target | Status |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| DSH Web 0.1.2-rc.1 | `web` profile | Windows runtime and UI verified |
|
|
18
|
+
| DSH Desktop 2.0.5 | Current Desktop profile, default `desktop` | Targeted; see release notes for mode-specific checks |
|
|
19
|
+
| DSH 0.1.1-rc.1 / rc.2 | Older environment | Keep CiteCiter 0.5.0 |
|
|
20
|
+
| DSH alpha, TUI | — | Unsupported |
|
|
21
|
+
| Linux / macOS | Same package | Not tested in this migration |
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
2. Right-click the selection, enter your first question, and choose `Citer!`.
|
|
24
|
-
3. CiteCiter creates a new Topic in the investigation panel.
|
|
25
|
-
4. Continue asking questions there, or reopen an earlier Topic from CiteCiter's Topic rail.
|
|
26
|
-
5. Change the Topic model, reasoning effort, title, archive state, or panel width without changing the source Session.
|
|
23
|
+
Install or upgrade the Web plugin:
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
```powershell
|
|
26
|
+
npm install -g @deepseek-ai/dsh@0.1.2-rc.1
|
|
27
|
+
dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.6.0
|
|
28
|
+
dsh plugin --profile web list --depth 0
|
|
29
|
+
dsh web
|
|
30
|
+
```
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
Confirm version 0.6.0, restart the owning host and refresh the page. Alternatively, download the `.tgz` from the [GitHub Release](https://github.com/kirkchinese/CiteCiter/releases/tag/v0.6.0) and replace the package name with the tarball's absolute path. See Contributing for a local workspace installation.
|
|
31
33
|
|
|
32
|
-
For
|
|
34
|
+
For Desktop, confirm its selected profile and data directory, then install using the **same DSH_HOME**:
|
|
33
35
|
|
|
34
|
-
```
|
|
35
|
-
dsh plugin --profile
|
|
36
|
+
```powershell
|
|
37
|
+
dsh plugin --profile desktop add @kirkchinese/dsh-citeciter@0.6.0
|
|
38
|
+
dsh plugin --profile desktop list --depth 0
|
|
36
39
|
```
|
|
37
40
|
|
|
38
|
-
|
|
41
|
+
Replace `desktop` if a custom profile is selected; set `$env:DSH_HOME` in PowerShell if it uses a custom home. Restart Desktop. Updating the global npm CLI does not replace Desktop's embedded runtime.
|
|
39
42
|
|
|
40
|
-
|
|
43
|
+
If npm 12 blocks the native dependency scripts listed by this DSH release, allow them for this installation:
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
```powershell
|
|
46
|
+
npm install -g @deepseek-ai/dsh@0.1.2-rc.1 --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty,@google/genai,protobufjs
|
|
47
|
+
```
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
This addresses native installation. An old plugin importing the removed `effectiveSandboxMode` export requires a plugin upgrade; reinstalling the host alone does not fix it.
|
|
45
50
|
|
|
46
|
-
##
|
|
51
|
+
## Use
|
|
47
52
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
| DSH Web `0.1.0-rc.7` | `0.3.2` | Previous stable line |
|
|
54
|
-
| DSH TUI | — | Not supported yet |
|
|
53
|
+
1. Select committed assistant answer or reasoning text, right-click, enter a question, and choose “开始提问” or “开始讲解”.
|
|
54
|
+
2. Continue in the learning panel, change model/reasoning effort, and manage Topic titles, archives and deletion.
|
|
55
|
+
3. Use `+ 新 Topic` for a free question or presentation. A new source session needs its first message before the Topic can reuse its model route.
|
|
56
|
+
4. Presenter boards appear in the main workspace's “小黑板” tab. Board citations append to the current question draft.
|
|
57
|
+
5. Tool results, terminal output, diffs and the text/Markdown Reader also provide Topic entry points.
|
|
55
58
|
|
|
56
|
-
|
|
59
|
+
<p align="center"><img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/demo/citeciter-0.4.0.gif" width="100%" alt="Select AI output and continue in a CiteCiter Topic"></p>
|
|
57
60
|
|
|
58
|
-
|
|
61
|
+
This older recording demonstrates the citation workflow; host layout and controls differ in 0.6.
|
|
59
62
|
|
|
60
|
-
|
|
63
|
+
## Keep the source conversation visible
|
|
61
64
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
- Wide windows allocate a separate learning column and retain native details.
|
|
66
|
+
- Saved panel proportions range from 28% to 55%. Actual width is capped to leave at least 480 CSS pixels for conversation, then returns to the preference when space permits.
|
|
67
|
+
- Narrow or zoomed windows place the learning panel in a bottom row, with the conversation visible above it.
|
|
68
|
+
- Closing restores host layout. Unrecognized frames show a compact compatibility message.
|
|
69
|
+
|
|
70
|
+
Content uses public DSH slots, conversation projections and snapshot hooks. This release has no public right-dock sizing service, so a small maintained host adapter allocates space. Revalidate it after host upgrades.
|
|
66
71
|
|
|
67
|
-
|
|
72
|
+
## Topics and data
|
|
68
73
|
|
|
69
|
-
|
|
74
|
+
Observer discussions use private logs and read source events or project files as needed. Exact Fork inherits context from a completed source turn. File tools remain read-only and Topics never append to the source Session. Uncommitted streaming text has no stable citation position; Exact Fork requires a completed source turn.
|
|
70
75
|
|
|
71
|
-
|
|
76
|
+
Atomic `blackboard_apply` commits support formulas, Markdown, tables, safe SVG, isolated HTML animations and embedded images. Topics support follow-ups, model changes, archive/restore and permanent deletion with a Session ID confirmation.
|
|
72
77
|
|
|
73
|
-
|
|
74
|
-
- Renderer-generated KaTeX layout and footnote numbers cannot be cited directly because they lack stable source coordinates.
|
|
75
|
-
- Exact Fork cannot start from an open source turn.
|
|
76
|
-
- Source-file access depends on the running DSH filesystem service and remains read-only.
|
|
77
|
-
- Read Frog translated selections are a best-effort compatibility path on DSH rc.1/rc.2 and activate only when its complete private marker set is present; ordinary DSH selection does not depend on Read Frog.
|
|
78
|
-
- DSH does not yet expose a public additive right-dock contribution point. CiteCiter therefore uses a reversible private AppFrame grid adapter whenever the panel and conversation fit; it preserves the layout's details preference but temporarily hides that column while the investigation panel is open, and it must be retested for every supported DSH release.
|
|
79
|
-
- Topics are Host-durable. When Desktop restarts on a different loopback port, CiteCiter falls back to the most recently updated Topic because browser local storage is origin-scoped; configure a fixed Desktop port to restore the exact last-viewed Topic.
|
|
80
|
-
- CiteCiter 0.4.3 makes no packaged-Desktop compatibility claim; native Windows and macOS adaptation continues separately.
|
|
81
|
-
- There is currently no TUI interaction adapter.
|
|
82
|
-
- DSH is prerelease software; later DSH API versions may require a CiteCiter update.
|
|
78
|
+
Indexes live under `$DSH_HOME/citeciter/workspaces/`; logs under `$DSH_HOME/citeciter/sessions/`. Without the variable the home is usually `.dsh` in the user directory. Back up the complete home before upgrading. Version 0.6 uses the new runtime API without bulk-rewriting old logs. DSH's version-0 physical JSONL still uses `seedLength`; preserve and diagnose unknown events rather than deleting fields.
|
|
83
79
|
|
|
84
|
-
|
|
80
|
+
Only one active CiteCiter host may own a home. Concurrent Web and Desktop instances need different homes. Update notices copy a command without installing anything; Desktop commands target the current profile.
|
|
85
81
|
|
|
86
|
-
|
|
82
|
+
## Development
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
pnpm typecheck
|
|
86
|
+
pnpm test
|
|
87
|
+
pnpm build
|
|
88
|
+
pnpm test:snapshot
|
|
89
|
+
```
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
<img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/community/qq-group.jpg" width="360" alt="QR code for the DSH-Citeciter QQ group 1108040435">
|
|
90
|
-
</p>
|
|
91
|
+
The real application snapshot uses a temporary profile and keyless model for Observer, Exact Fork, source reads, boards and source-log isolation. Host `ctx.citeciterRuntime` exposes `create`, `ask`, `get`, `list`, `delete` and Topic change events. Public frontend entry registration and preset extension APIs remain unfinished. See [Contributing](https://github.com/kirkchinese/CiteCiter/blob/main/CONTRIBUTING.md) and the [0.6.0 release note](https://github.com/kirkchinese/CiteCiter/blob/main/docs/releases/v0.6.0.md).
|
|
91
92
|
|
|
92
|
-
##
|
|
93
|
+
## Community and license
|
|
93
94
|
|
|
94
|
-
|
|
95
|
+
DSH-Citeciter QQ group: `1108040435`.
|
|
95
96
|
|
|
96
|
-
|
|
97
|
+
<p align="center"><img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/community/qq-group.jpg" width="280" alt="DSH-Citeciter QQ group QR code"></p>
|
|
97
98
|
|
|
98
|
-
MIT
|
|
99
|
+
[MIT License](https://github.com/kirkchinese/CiteCiter/blob/main/LICENSE)
|
package/README.zh.md
CHANGED
|
@@ -1,98 +1,99 @@
|
|
|
1
|
-
#
|
|
1
|
+
# CiteCiter
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**为 DeepSeek Harness Web 与 Desktop 打造的 AI 输出学习、检查与纠偏插件。**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
选中一段已提交的回答,在旁边创建独立 Topic,反复追问、切换模型,或让 AI 用公式、图形、表格和动画逐步讲解。主任务继续运行,学习记录保存在独立日志中。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[English](README.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [问题反馈](https://github.com/kirkchinese/CiteCiter/issues)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
<p align="center"><img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/hero/citeciter-hero.png" width="100%" alt="CiteCiter 将选中的 AI 回答展开为独立 Topic"></p>
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## 0.6.0 安装与兼容
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
- **不用等待主任务。** 一次中间模型调用提交后即可开始调查,外层 Agent 轮次可以继续运行;思考内容和跨越“思考+回答”的选区也可以使用。
|
|
15
|
-
- **调查可以持续。** 私有 Topic 支持自然续问,刷新或重启后仍能重新打开。
|
|
16
|
-
- **有证据、无写权限。** CiteCiter 能检查来源中已提交的事件,也能搜索和阅读项目文件,但不能改变来源 Session 或工作区。
|
|
17
|
-
- **过程可检查。** 问题、回答、来源读取和项目文件核查都留在调查面板中。
|
|
18
|
-
- **并排工作流。** 面板和可用主对话能同时容纳时,主对话会自动让出空间;更紧的布局才回退为覆盖模式。
|
|
13
|
+
CiteCiter **0.6.0** 的安装基线是 DSH `0.1.2-rc.1`,Desktop 对应 [DSH Desktop 2.0.5](https://github.com/anywhere-labs/dsh-desktop/releases/tag/v2.0.5)。Node.js 要求 `^22.19.0 || >=24.0.0`;Windows 实测使用 Node 24.19.0。DSH alpha 与 Desktop master 不在此兼容承诺中。
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
| 环境 | 安装目标 | 状态 |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| DSH Web 0.1.2-rc.1 | `web` profile | Windows 实际运行与 UI 验证 |
|
|
18
|
+
| DSH Desktop 2.0.5 | Desktop 当前 profile,默认 `desktop` | 适配目标,分模式验证见 release 文档 |
|
|
19
|
+
| DSH 0.1.1-rc.1 / rc.2 | 旧环境 | 保留 CiteCiter 0.5.0 |
|
|
20
|
+
| DSH alpha、TUI | — | 未支持 |
|
|
21
|
+
| Linux / macOS | 相同包 | 本轮未运行平台验证 |
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
2. 右键选区,输入第一个问题,然后点击 `Citer!`。
|
|
24
|
-
3. CiteCiter 在调查面板中创建一个新 Topic。
|
|
25
|
-
4. 在 Topic 中继续追问,或从 CiteCiter 的 Topic 栏恢复旧讨论。
|
|
26
|
-
5. 独立调整模型、思考强度、标题、归档状态和面板宽度,不改变来源 Session。
|
|
23
|
+
安装或升级 Web 插件:
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
```powershell
|
|
26
|
+
npm install -g @deepseek-ai/dsh@0.1.2-rc.1
|
|
27
|
+
dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.6.0
|
|
28
|
+
dsh plugin --profile web list --depth 0
|
|
29
|
+
dsh web
|
|
30
|
+
```
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
确认版本为 0.6.0 后重启相应宿主并刷新页面。也可从 [GitHub Release](https://github.com/kirkchinese/CiteCiter/releases/tag/v0.6.0) 下载 `.tgz`,将安装命令中的包名替换为 tarball 的绝对路径。源码开发使用贡献指南中的本地工作区安装流程。
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
Desktop 中先确认当前 profile 名称和数据目录,使用**相同的 DSH_HOME**安装:
|
|
33
35
|
|
|
34
|
-
```
|
|
35
|
-
dsh plugin --profile
|
|
36
|
+
```powershell
|
|
37
|
+
dsh plugin --profile desktop add @kirkchinese/dsh-citeciter@0.6.0
|
|
38
|
+
dsh plugin --profile desktop list --depth 0
|
|
36
39
|
```
|
|
37
40
|
|
|
38
|
-
|
|
41
|
+
若 Desktop 选择了自定义 profile,把 `desktop` 换成该名称;若使用自定义 home,先在当前 PowerShell 中设置 `$env:DSH_HOME`。重启 Desktop。全局 npm 更新只影响 CLI,Desktop 内置的 DSH 随桌面应用更新。
|
|
39
42
|
|
|
40
|
-
|
|
43
|
+
npm 12 若提示安装脚本被拦截,按此次依赖列表一次性放行并重装;不必改变全局永久策略:
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
```powershell
|
|
46
|
+
npm install -g @deepseek-ai/dsh@0.1.2-rc.1 --allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty,@google/genai,protobufjs
|
|
47
|
+
```
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
这解决原生依赖安装问题;旧插件引用已移除的 `effectiveSandboxMode` 则需要升级插件,单独重装宿主不会修复。
|
|
45
50
|
|
|
46
|
-
##
|
|
51
|
+
## 开始使用
|
|
47
52
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
| DSH Web `0.1.0-rc.7` | `0.3.2` | 旧版稳定线 |
|
|
54
|
-
| DSH TUI | — | 暂不支持 |
|
|
53
|
+
1. 选中已提交的助手回答或思考内容,右键输入问题,选择“开始提问”或“开始讲解”。
|
|
54
|
+
2. 在右侧学习栏继续追问、切换模型和思考强度,或管理 Topic 标题、归档和删除。
|
|
55
|
+
3. 使用 `+ 新 Topic` 创建自由问答或讲解。新的主会话需先发送消息,让 Topic 取得当前模型配置。
|
|
56
|
+
4. 讲解内容位于主工作区“小黑板”标签;“引用到提问”会追加到现有草稿。
|
|
57
|
+
5. 也可从工具结果、终端结果、差异片段及文本/Markdown Reader 创建 Topic。
|
|
55
58
|
|
|
56
|
-
|
|
59
|
+
<p align="center"><img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/demo/citeciter-0.4.0.gif" width="100%" alt="选中 AI 回答并在 CiteCiter 中继续追问"></p>
|
|
57
60
|
|
|
58
|
-
|
|
61
|
+
上图演示引用流程,录制于旧版;0.6 的宿主布局和控件可能不同。
|
|
59
62
|
|
|
60
|
-
|
|
63
|
+
## 并排学习,不遮挡主对话
|
|
61
64
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
- 宽屏为学习栏分配独立列,保留主对话和原生详情栏。
|
|
66
|
+
- 保存的面板比例为 28%–55%。空间不足时限制实际宽度,为主对话保留至少 480 CSS 像素;扩大窗口后恢复偏好比例。
|
|
67
|
+
- 窄窗口或缩放后无法容纳两列时,学习栏移至下方,主对话仍在上方可见。
|
|
68
|
+
- 关闭学习栏后恢复宿主布局。无法识别的宿主仅显示兼容提示。
|
|
69
|
+
|
|
70
|
+
内容通过 DSH 公开 slots、会话投影和快照 hooks 接入。当前宿主没有公开的右侧 dock 尺寸接口,因此尺寸分配使用集中维护的宿主布局适配器,升级宿主后需重新验收。
|
|
71
|
+
|
|
72
|
+
## Topic 与数据
|
|
66
73
|
|
|
67
|
-
|
|
74
|
+
Observer 在私有日志中讨论,按需读取来源事件和项目文件;Exact Fork 继承已结束来源轮次的上下文。文件工具保持只读,Topic 不向主 Session 追加事件。未提交的流式文字没有稳定引用坐标;Exact Fork 需等待来源轮次结束。
|
|
68
75
|
|
|
69
|
-
|
|
76
|
+
Presenter 的 `blackboard_apply` 原子提交支持公式、Markdown、表格、安全 SVG、隔离 HTML 动画和内嵌图片。Topic 可继续追问、切换模型、归档、恢复及带 Session ID 确认的永久删除。
|
|
70
77
|
|
|
71
|
-
|
|
78
|
+
Topic 索引在 `$DSH_HOME/citeciter/workspaces/`,日志在 `$DSH_HOME/citeciter/sessions/`;未设置变量时通常为用户目录下的 `.dsh`。升级前备份整个 home。0.6 使用新版会话 API;没有批量重写旧日志。DSH 版本 0 JSONL 的物理 `seedLength` 仍由宿主读取,遇到未知事件应保留原件并诊断,不能删字段绕过。
|
|
72
79
|
|
|
73
|
-
|
|
74
|
-
- 渲染器生成的 KaTeX 排版和脚注编号没有稳定原文坐标,不能直接引用。
|
|
75
|
-
- Exact Fork 不能从仍在运行的来源轮次开始。
|
|
76
|
-
- 来源文件访问依赖当前 DSH 文件系统服务,并始终保持只读。
|
|
77
|
-
- Read Frog 翻译选区是 DSH rc.1/rc.2 上的 best-effort 兼容路径,仅在其完整私有标记同时存在时启用;普通 DSH 选区不依赖 Read Frog。
|
|
78
|
-
- DSH 尚未提供公开的增量右侧 dock 布局扩展点。CiteCiter 因此在面板与主对话能够同时容纳时使用可逆的私有 AppFrame grid 适配器;它保留布局的 details 偏好,但在调查面板打开期间临时隐藏该列,并且每个受支持的 DSH 版本都必须重新验证。
|
|
79
|
-
- Topic 由 Host 持久保存。Desktop 重启到不同 loopback 端口时,浏览器 localStorage 会因 origin 改变而失去精确指针,CiteCiter 将回退到最近更新的 Topic;需要精确恢复“上次查看”时应配置固定 Desktop 端口。
|
|
80
|
-
- CiteCiter 0.4.3 不声明正式 Desktop 安装包兼容性;Windows 与 macOS 原生适配将另行继续。
|
|
81
|
-
- 当前没有 TUI 交互适配器。
|
|
82
|
-
- DSH 仍处于预发布阶段,后续 API 版本可能要求同步更新 CiteCiter。
|
|
80
|
+
一个 home 只能由一个活动 CiteCiter 宿主使用。Web 与 Desktop 同时运行时使用不同 home;不要让两者并发写入同一私有存储。更新提醒只复制命令,不自动安装;Desktop 命令使用当前 profile。
|
|
83
81
|
|
|
84
|
-
##
|
|
82
|
+
## 开发
|
|
85
83
|
|
|
86
|
-
|
|
84
|
+
```sh
|
|
85
|
+
pnpm typecheck
|
|
86
|
+
pnpm test
|
|
87
|
+
pnpm build
|
|
88
|
+
pnpm test:snapshot
|
|
89
|
+
```
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
<img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/community/qq-group.jpg" width="360" alt="DSH-Citeciter QQ 群 1108040435 二维码">
|
|
90
|
-
</p>
|
|
91
|
+
实际应用快照使用临时 profile 与无密钥模型,覆盖 Observer、Exact Fork、来源读取、板书和来源日志不变性。Host API `ctx.citeciterRuntime` 提供 `create`、`ask`、`get`、`list`、`delete` 及 Topic 变化事件。前端入口注册 API 和 preset 扩展仍未稳定。开发流程见 [贡献指南](https://github.com/kirkchinese/CiteCiter/blob/main/CONTRIBUTING.zh.md),公开变更见 [0.6.0 发布说明](https://github.com/kirkchinese/CiteCiter/blob/main/docs/releases/v0.6.0.md)。
|
|
91
92
|
|
|
92
|
-
##
|
|
93
|
+
## 社区与许可证
|
|
93
94
|
|
|
94
|
-
|
|
95
|
+
DSH-Citeciter QQ 群:`1108040435`。
|
|
95
96
|
|
|
96
|
-
|
|
97
|
+
<p align="center"><img src="https://raw.githubusercontent.com/kirkchinese/CiteCiter/main/assets/community/qq-group.jpg" width="280" alt="DSH-Citeciter QQ 群二维码"></p>
|
|
97
98
|
|
|
98
|
-
MIT
|
|
99
|
+
[MIT License](https://github.com/kirkchinese/CiteCiter/blob/main/LICENSE)
|