@kirkchinese/dsh-citeciter 0.8.0 → 0.8.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 +13 -8
- package/README.zh.md +13 -8
- package/lib/index.js +8 -2
- package/lib/types/host-agent-modules.d.ts +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.zh.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [Issues](https://github.com/kirkchinese/CiteCiter/issues)
|
|
4
4
|
|
|
5
|
+
> **0.8.0 is deprecated.** On Linux, starting DSH through a symlink can prevent Topic creation or restoration with a missing `@deepseek-ai/dsh-agent-loop` error. Upgrade to [0.8.1](https://github.com/kirkchinese/CiteCiter/releases/tag/v0.8.1).
|
|
6
|
+
|
|
5
7
|
CiteCiter adds a source-aware workspace to DeepSeek Harness. Create independent Topics from conversations, tool results and documents for text, programming, image and learning tasks. New Topics use native DSH Sessions, permissions, models, attachments and message queues. The source conversation continues independently.
|
|
6
8
|
|
|
7
|
-

|
|
8
10
|
|
|
9
11
|
This is an interaction diagram, not a screenshot. Selection actions prepare drafts; model work begins only after the user sends.
|
|
10
12
|
|
|
11
13
|
## Version and installation
|
|
12
14
|
|
|
13
|
-
Current version: **0.8.
|
|
15
|
+
Current version: **0.8.1**. Baseline: DSH `0.1.5-rc.1`, [DSH Desktop](https://github.com/anywhere-labs/dsh-desktop) `2.0.9`, Node.js `^22.19.0 || >=24.0.0`. Windows acceptance uses Node 24.19.0. DSH next, alpha and TUI are separate targets.
|
|
14
16
|
|
|
15
17
|
| Version | Status | Main differences |
|
|
16
18
|
| --- | --- | --- |
|
|
17
|
-
| 0.8.
|
|
19
|
+
| 0.8.1 | Current version | Fix Topic startup through Linux/macOS launcher symlinks |
|
|
20
|
+
| 0.8.0 | Deprecated; upgrade to 0.8.1 | Linux launcher symlinks can prevent Topics from opening |
|
|
18
21
|
| 0.7.0-beta.3 | Previous development candidate | Private read-only Topics, selection wheel, manual five-stage learning |
|
|
19
22
|
| 0.6.0 | Published | DSH 0.1.2-rc.1 / Desktop 2.0.5 baseline |
|
|
20
23
|
|
|
@@ -22,11 +25,13 @@ Update the host CLI and install the published package:
|
|
|
22
25
|
|
|
23
26
|
```powershell
|
|
24
27
|
npm install -g @deepseek-ai/dsh@latest
|
|
25
|
-
dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.8.
|
|
28
|
+
dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.8.1
|
|
26
29
|
dsh web
|
|
27
30
|
```
|
|
28
31
|
|
|
29
|
-
This installs 0.8.
|
|
32
|
+
This installs 0.8.1. For DSH 0.1.2-rc.1 / Desktop 2.0.5, keep using @kirkchinese/dsh-citeciter@0.6.0. If npm blocks native dependency installation scripts, follow its output to allow the named dependencies and reinstall. Do not disable script restrictions globally.
|
|
33
|
+
|
|
34
|
+
In 0.8.0, launching DSH through a Linux/macOS symlink can prevent Topics from opening with a missing dsh-agent-loop error. Version 0.8.1 resolves the real CLI entry before loading host modules and retains Desktop's app.asar anchor. Native Linux Node regression passed; macOS has not been tested.
|
|
30
35
|
|
|
31
36
|
Build and install this branch locally:
|
|
32
37
|
|
|
@@ -35,10 +40,10 @@ pnpm install --frozen-lockfile
|
|
|
35
40
|
pnpm typecheck
|
|
36
41
|
pnpm build
|
|
37
42
|
pnpm --dir packages/citeciter pack --pack-destination E:/project/CiteCiter/.refs/artifacts
|
|
38
|
-
dsh plugin --profile web add E:/project/CiteCiter/.refs/artifacts/kirkchinese-dsh-citeciter-0.8.
|
|
43
|
+
dsh plugin --profile web add E:/project/CiteCiter/.refs/artifacts/kirkchinese-dsh-citeciter-0.8.1.tgz
|
|
39
44
|
```
|
|
40
45
|
|
|
41
|
-
Desktop bundles its own DSH.
|
|
46
|
+
Desktop bundles its own DSH. Run `dsh plugin add @kirkchinese/dsh-citeciter@0.8.1` in its managed terminal to upgrade the plugin, or pass an absolute local package path. Updating the global CLI does not update Desktop's embedded runtime. Restart the relevant host after installation. Do not run Web and Desktop writers against the same DSH home simultaneously.
|
|
42
47
|
|
|
43
48
|
## Drafts and references
|
|
44
49
|
|
|
@@ -117,7 +122,7 @@ A short right-click leaves a clickable wheel; Shift + right-click preserves the
|
|
|
117
122
|
|
|
118
123
|
## Development and acceptance
|
|
119
124
|
|
|
120
|
-
[Contributing](../../CONTRIBUTING.md) · [0.8
|
|
125
|
+
[Contributing](../../CONTRIBUTING.md) · [0.8.1 fix notes](../../docs/releases/v0.8.1.md) · [Real-model acceptance](../../docs/validation/2026-09-12-native-real-model.md)
|
|
121
126
|
|
|
122
127
|
Host and Client compile separately. Native session adaptation, source reading, index storage, attachments, queue, board capture, learning plans and UI controls are separate modules. The DSH Agent Loop is unchanged. The full host input component has no supported cross-session embedding interface; Citer reuses public ConversationController / SessionFace behavior and does not automatically inherit every third-party composer extension.
|
|
123
128
|
|
package/README.zh.md
CHANGED
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) · [npm](https://www.npmjs.com/package/@kirkchinese/dsh-citeciter) · [问题反馈](https://github.com/kirkchinese/CiteCiter/issues)
|
|
4
4
|
|
|
5
|
+
> **0.8.0 已弃用。** Linux 通过符号链接启动 DSH 时,可能无法创建或恢复 Topic,报找不到 `@deepseek-ai/dsh-agent-loop`。请升级到 [0.8.1](https://github.com/kirkchinese/CiteCiter/releases/tag/v0.8.1)。
|
|
6
|
+
|
|
5
7
|
CiteCiter 为 DeepSeek Harness 提供带来源引用的独立工作区。可从主对话、工具结果和文档建立 Topic,处理文字、编程、图像和学习任务。新 Topic 使用 DSH 原生会话、权限、模型、附件与消息队列,来源对话继续独立工作。
|
|
6
8
|
|
|
7
|
-

|
|
8
10
|
|
|
9
11
|
上图为交互示意,非运行截图。选文动作只准备草稿;模型在用户发送后开始回答。
|
|
10
12
|
|
|
11
13
|
## 版本与安装
|
|
12
14
|
|
|
13
|
-
当前版本为 **0.8.
|
|
15
|
+
当前版本为 **0.8.1**。兼容基线为 DSH `0.1.5-rc.1`、[DSH Desktop](https://github.com/anywhere-labs/dsh-desktop) `2.0.9`;Node.js `^22.19.0 || >=24.0.0`。本轮 Windows 验收使用 Node 24.19.0。DSH 的 next、alpha 和 TUI 属于其他目标。
|
|
14
16
|
|
|
15
17
|
| 版本 | 状态 | 主要差异 |
|
|
16
18
|
| --- | --- | --- |
|
|
17
|
-
| 0.8.
|
|
19
|
+
| 0.8.1 | 当前版本 | 修复 Linux/macOS 符号链接启动时无法打开 Topic |
|
|
20
|
+
| 0.8.0 | 已弃用,请升级 0.8.1 | Linux 符号链接启动错误会阻止 Topic 打开 |
|
|
18
21
|
| 0.7.0-beta.3 | 前一开发候选版 | 私有只读 Topic、选文轮盘、手动五阶段学习 |
|
|
19
22
|
| 0.6.0 | 已发布 | DSH 0.1.2-rc.1 / Desktop 2.0.5 基线 |
|
|
20
23
|
|
|
@@ -22,11 +25,13 @@ CiteCiter 为 DeepSeek Harness 提供带来源引用的独立工作区。可从
|
|
|
22
25
|
|
|
23
26
|
```powershell
|
|
24
27
|
npm install -g @deepseek-ai/dsh@latest
|
|
25
|
-
dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.8.
|
|
28
|
+
dsh plugin --profile web add @kirkchinese/dsh-citeciter@0.8.1
|
|
26
29
|
dsh web
|
|
27
30
|
```
|
|
28
31
|
|
|
29
|
-
此命令安装 0.8.
|
|
32
|
+
此命令安装 0.8.1。旧宿主 DSH 0.1.2-rc.1 / Desktop 2.0.5 应继续使用 @kirkchinese/dsh-citeciter@0.6.0。如 npm 提示本地原生依赖的安装脚本被阻止,按 npm 输出对明确列出的依赖放行后重装。不要通过全局关闭脚本限制解决。
|
|
33
|
+
|
|
34
|
+
0.8.0 在 Linux/macOS 通过符号链接启动 DSH 时,可能无法打开 Topic,报找不到 dsh-agent-loop。0.8.1 先解析 CLI 入口真实路径再加载宿主模块,保留 Desktop 的 app.asar 路径。Linux 原生 Node 回归已通过,macOS 尚未实测。
|
|
30
35
|
|
|
31
36
|
本地构建并安装此分支:
|
|
32
37
|
|
|
@@ -35,10 +40,10 @@ pnpm install --frozen-lockfile
|
|
|
35
40
|
pnpm typecheck
|
|
36
41
|
pnpm build
|
|
37
42
|
pnpm --dir packages/citeciter pack --pack-destination E:/project/CiteCiter/.refs/artifacts
|
|
38
|
-
dsh plugin --profile web add E:/project/CiteCiter/.refs/artifacts/kirkchinese-dsh-citeciter-0.8.
|
|
43
|
+
dsh plugin --profile web add E:/project/CiteCiter/.refs/artifacts/kirkchinese-dsh-citeciter-0.8.1.tgz
|
|
39
44
|
```
|
|
40
45
|
|
|
41
|
-
Desktop 使用自己的内置 DSH
|
|
46
|
+
Desktop 使用自己的内置 DSH。在其管理终端执行 `dsh plugin add @kirkchinese/dsh-citeciter@0.8.1` 升级插件,也可传入本地安装包绝对路径;全局 CLI 更新不会更新 Desktop 内置运行时。安装后重启相应宿主。同一 DSH home 不要同时运行 Web 和 Desktop 写入进程。
|
|
42
47
|
|
|
43
48
|
## 草稿与引用
|
|
44
49
|
|
|
@@ -119,7 +124,7 @@ Citer 打开时,从右上角“…” → “文档阅读”进入阅读器;
|
|
|
119
124
|
|
|
120
125
|
## 开发与验收
|
|
121
126
|
|
|
122
|
-
[开发规范](../../CONTRIBUTING.zh.md) · [0.8
|
|
127
|
+
[开发规范](../../CONTRIBUTING.zh.md) · [0.8.1 修复说明](../../docs/releases/v0.8.1.md) · [真实模型验收](../../docs/validation/2026-09-12-native-real-model.md)
|
|
123
128
|
|
|
124
129
|
Host 和 Client 分别编译。原生会话适配、来源读取、索引存储、附件、发送队列、板书截图、学习计划和 UI 控件独立实现;不修改 DSH Agent Loop。完整宿主输入组件尚无跨会话嵌入接口,Citer 通过公开 ConversationController / SessionFace 复用行为,不能自动继承所有第三方输入区扩展。
|
|
125
130
|
|
package/lib/index.js
CHANGED
|
@@ -15860,12 +15860,18 @@ var __rewriteRelativeImportExtension = function(path, preserveJsx) {
|
|
|
15860
15860
|
});
|
|
15861
15861
|
return path;
|
|
15862
15862
|
};
|
|
15863
|
-
/**
|
|
15863
|
+
/**
|
|
15864
|
+
* Resolve runtime modules from the host installation, not the plugin's dependencies.
|
|
15865
|
+
* CLI argv can name an npm/pnpm symlink; canonicalize it before walking node_modules.
|
|
15866
|
+
* Desktop retains its app.asar anchor and module identities without filesystem realpath.
|
|
15867
|
+
* @returns the host's AgentLoop, SessionStore and scope factory.
|
|
15868
|
+
* @throws when the launcher cannot be located or its runtime exports are unavailable.
|
|
15869
|
+
*/
|
|
15864
15870
|
async function loadHostAgentModules() {
|
|
15865
15871
|
const resources = process.resourcesPath;
|
|
15866
15872
|
const entry = resources === void 0 ? process.argv[1] : join(resources, "app.asar", "package.json");
|
|
15867
15873
|
if (entry === void 0 || !isAbsolute(entry)) throw new Error("Citer 无法定位当前 DSH 的运行模块");
|
|
15868
|
-
const require = createRequire(entry);
|
|
15874
|
+
const require = createRequire(resources === void 0 ? await realpath(entry) : entry);
|
|
15869
15875
|
const [loop, scope, session] = await Promise.all([
|
|
15870
15876
|
import(__rewriteRelativeImportExtension(pathToFileURL(require.resolve("@deepseek-ai/dsh-agent-loop")).href)),
|
|
15871
15877
|
import(__rewriteRelativeImportExtension(pathToFileURL(require.resolve("@deepseek-ai/dsh-scope")).href)),
|
|
@@ -10,6 +10,12 @@ export interface HostAgentModules {
|
|
|
10
10
|
readonly SessionStore: typeof SessionStore;
|
|
11
11
|
readonly createScope: (ctx: Context, key: object) => HostScope;
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Resolve runtime modules from the host installation, not the plugin's dependencies.
|
|
15
|
+
* CLI argv can name an npm/pnpm symlink; canonicalize it before walking node_modules.
|
|
16
|
+
* Desktop retains its app.asar anchor and module identities without filesystem realpath.
|
|
17
|
+
* @returns the host's AgentLoop, SessionStore and scope factory.
|
|
18
|
+
* @throws when the launcher cannot be located or its runtime exports are unavailable.
|
|
19
|
+
*/
|
|
14
20
|
export declare function loadHostAgentModules(): Promise<HostAgentModules>;
|
|
15
21
|
export {};
|
package/package.json
CHANGED