@yangda611/dsh-scriptor 8.4.1 → 8.4.3
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 +10 -11
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/cordis.patch.yml +8 -0
- package/lib/cli.js +3975 -553
- package/lib/client.js +141 -80
- package/lib/graph.js +1090 -0
- package/lib/index.js +9023 -4570
- package/lib/reranking.js +1155 -0
- package/lib/retrieval.js +1368 -0
- package/lib/scenes.js +1157 -0
- package/licenses/deepseek-ai__dsh-credentials--0.2.2-rc.1.txt +26 -0
- package/package.json +18 -4
- package/skills/novel-design/SKILL.md +14 -4
- package/skills/novel-director/SKILL.md +2 -0
- package/skills/novel-export/SKILL.md +11 -0
- package/skills/novel-export/scripts//345/211/247/346/234/254/345/257/274/345/207/272.mjs +22 -0
- package/skills/novel-inspiration/SKILL.md +12 -2
- package/skills/novel-screenplay/SKILL.md +93 -0
- package/skills/novel-screenplay/scripts//345/211/247/346/234/254/346/240/274/345/274/217/346/243/200/346/237/245.mjs +28 -0
- package/skills/novel-screenplay//345/272/225/346/234/254//345/205/250/351/207/217/345/256/241/350/257/273.md +40 -0
- package/skills/novel-screenplay//345/272/225/346/234/254//345/211/247/346/234/254/345/234/272/346/254/241/345/256/214/346/225/264/346/200/247/345/256/241/350/257/273.md +52 -0
- package/skills/novel-screenplay//345/272/225/346/234/254//345/211/247/346/234/254/345/257/271/347/231/275/345/256/241/350/257/273.md +54 -0
- package/skills/novel-screenplay//345/272/225/346/234/254//345/211/247/346/234/254/350/212/202/345/245/217/345/256/241/350/257/273.md +51 -0
- package/skills/novel-shortdrama/SKILL.md +69 -0
- package/skills/novel-shortdrama//345/267/245/345/272/217//345/210/206/351/233/206/345/244/247/347/272/262.md +32 -0
- package/skills/novel-shortdrama//345/267/245/345/272/217//345/215/225/351/233/206/345/211/247/346/234/254.md +31 -0
- package/skills/novel-shortdrama//345/272/225/346/234/254//347/237/255/345/211/247/345/256/241/350/257/273.md +68 -0
package/README.md
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
# Webnovel Writer · 网文写作工作台
|
|
2
2
|
|
|
3
|
-
Scriptor 8.4.
|
|
3
|
+
Scriptor 8.4.3 适配 DSH 0.2.2-rc.1。安装范围为 `>=0.2.2-rc.1 <0.3.0-0`,Node最低24.9;实际验证按具体版本记录。
|
|
4
4
|
|
|
5
5
|
[产品主页](https://yangda611.github.io/dsh-scriptor-full/) · [新手教程](https://yangda611.github.io/dsh-scriptor-full/docs/beginner.html)
|
|
6
6
|
|
|
7
|
-
> Scriptor 8.4.
|
|
7
|
+
> Scriptor 8.4.3 配套 **DSH 0.2.2-rc.1**。旧格式先备份并使用书仓维护预览,按明确批准执行升级。
|
|
8
8
|
|
|
9
|
-
DSH 插件 `@yangda611/dsh-scriptor` 提供写作工作台。8.4.
|
|
9
|
+
DSH 插件 `@yangda611/dsh-scriptor` 提供写作工作台。8.4.3包含12个写作与维护技能和八个脚本入口。
|
|
10
10
|
要求 Node.js至少24.9,DSH 0.2.2-rc.1。许可证 GPL-3.0-only。
|
|
11
11
|
|
|
12
12
|
## 安装
|
|
13
13
|
|
|
14
|
-
在 DSH 0.2.2-rc.1 桌面端侧栏打开“插件 → 添加插件”,输入 `@yangda611/dsh-scriptor@8.4.
|
|
14
|
+
在 DSH 0.2.2-rc.1 桌面端侧栏打开“插件 → 添加插件”,输入 `@yangda611/dsh-scriptor@8.4.3`,核对后安装并应用变更。桌面端自带运行时,不需要另外安装 Node/pnpm。
|
|
15
15
|
|
|
16
16
|
以下是进阶用户创建独立 Web profile 的方式,不用于桌面端保留的 `desktop` profile:
|
|
17
17
|
|
|
18
18
|
```powershell
|
|
19
19
|
dsh --profile webnovel --from-default-profile web --dump-config
|
|
20
|
-
dsh plugin --profile webnovel add C:/scriptor-dist/yangda611-dsh-scriptor-8.4.
|
|
20
|
+
dsh plugin --profile webnovel add C:/scriptor-dist/yangda611-dsh-scriptor-8.4.3.tgz
|
|
21
21
|
dsh --profile webnovel --host 127.0.0.1 --port 6104 --no-open
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
通过该进程输出的带 token 链接打开页面。新建对话并选择 **写作模式**,随包技能在该模式下自动发现,无需设置技能目录。
|
|
25
25
|
不要同时启用旧开发 file patch 与正式安装入口。模型与凭据在宿主设置中配置。
|
|
26
|
-
|
|
27
|
-
可执行 `dsh plugin --profile webnovel add C:/scriptor-dist/yangda611-dsh-scriptor-retrieval-8.4.1.tgz` 添加嵌入提供方。也可改用同版本的完整版,避免同时保留两种安装入口。
|
|
26
|
+
嵌入、场景识别、重排与图谱已包含在本包内,默认停用,提供语义检索增强。不要再单独安装独立检索包,也不要改用完整版与主包同装。
|
|
28
27
|
|
|
29
28
|
## 更新与卸载
|
|
30
29
|
|
|
31
|
-
先停止指定 profile 的运行实例,再安装目标精确版本并重启(本版为 `C:/scriptor-dist/yangda611-dsh-scriptor-8.4.
|
|
30
|
+
先停止指定 profile 的运行实例,再安装目标精确版本并重启(本版为 `C:/scriptor-dist/yangda611-dsh-scriptor-8.4.3.tgz`)。
|
|
32
31
|
卸载后可执行上面的安装命令重装:
|
|
33
32
|
|
|
34
33
|
```powershell
|
|
@@ -38,7 +37,7 @@ dsh --profile webnovel --dump-config
|
|
|
38
37
|
|
|
39
38
|
卸载插件不会删除作品书仓。安装不需要源码、安装时构建或 npm 账号。tarball 放在无空格目录,并核对对应 Release 提供的 SHA256。首次下载宿主依赖仍可能需要网络。
|
|
40
39
|
|
|
41
|
-
## 8.4.
|
|
40
|
+
## 8.4.3 更新与旧项目升级
|
|
42
41
|
|
|
43
42
|
本二开版保持原有的千章关系星团、证据轨迹、原生设置与书仓维护能力。先升级到 DSH 0.2.2-rc.1,再更新已用插件。旧格式须先备份,检查并预览整仓升级;正常读取不再转换旧字段。升级后新建写作模式对话,打开原工作区继续;旧对话不会自动迁移。
|
|
44
43
|
|
|
@@ -46,11 +45,11 @@ dsh --profile webnovel --dump-config
|
|
|
46
45
|
|
|
47
46
|
**旧项目升级后请补充并确认作品契约的章节篇幅**:保留“阅读体验与情绪承诺”原内容,追加目标汉字数与宽松上下限,经原契约工具保存确认。未配置仍可使用,但不启用范围核对。脚本按实际正文汉字数检查,越界沿原文本规范发现项处置,不增加审批步骤。见 [升级与备份](https://github.com/yangda611/dsh-scriptor-full/blob/main/docs/user/upgrade-backup.md)。
|
|
48
47
|
|
|
49
|
-
|
|
48
|
+
本次检索增加独立图谱模型,已包含在主包内;桌宠同步兼容版本,安装仍可选;full 与主包相同,不包含桌宠,不与主包入口重复安装。
|
|
50
49
|
|
|
51
50
|
## 公开文档
|
|
52
51
|
|
|
53
|
-
当前主包 8.4.
|
|
52
|
+
当前主包 8.4.3。完整的安装、配置、首章和备份教程见 [公开使用文档](https://github.com/yangda611/dsh-scriptor-full/tree/main/docs/user)。
|
|
54
53
|
|
|
55
54
|
第三方组件的原始声明见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md),许可证文本随包放在 licenses/。源码及校验和由对应的 GitHub Release 提供。
|
|
56
55
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -34,6 +34,7 @@ Shared DSH/React peers are provided by the host and are not included in this bun
|
|
|
34
34
|
| @codemirror/view | 6.43.8 | MIT | [Original notices](licenses/codemirror__view--6.43.8.txt) |
|
|
35
35
|
| @deepseek-ai/cosmokit | 1.9.0 | MIT | [Original notices](licenses/deepseek-ai__cosmokit--1.9.0.txt) |
|
|
36
36
|
| @deepseek-ai/dsh-brand | 0.2.2-rc.1 | MIT | [Original notices](licenses/deepseek-ai__dsh-brand--0.2.2-rc.1.txt) |
|
|
37
|
+
| @deepseek-ai/dsh-credentials | 0.2.2-rc.1 | MIT | [Original notices](licenses/deepseek-ai__dsh-credentials--0.2.2-rc.1.txt) |
|
|
37
38
|
| @deepseek-ai/dsh-scope | 0.2.2-rc.1 | MIT | [Original notices](licenses/deepseek-ai__dsh-scope--0.2.2-rc.1.txt) |
|
|
38
39
|
| @deepseek-ai/dsh-system-prompt | 0.2.2-rc.1 | MIT | [Original notices](licenses/deepseek-ai__dsh-system-prompt--0.2.2-rc.1.txt) |
|
|
39
40
|
| @deepseek-ai/dsh-util-workspace-path | 0.2.2-rc.1 | MIT | [Original notices](licenses/deepseek-ai__dsh-util-workspace-path--0.2.2-rc.1.txt) |
|
package/cordis.patch.yml
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
- insert:
|
|
2
2
|
- id: webnovel
|
|
3
3
|
name: '@yangda611/dsh-scriptor'
|
|
4
|
+
- id: webnovel-embeddings
|
|
5
|
+
name: '@yangda611/dsh-scriptor/retrieval'
|
|
6
|
+
- id: webnovel-scenes
|
|
7
|
+
name: '@yangda611/dsh-scriptor/scenes'
|
|
8
|
+
- id: webnovel-reranking
|
|
9
|
+
name: '@yangda611/dsh-scriptor/reranking'
|
|
10
|
+
- id: webnovel-graph
|
|
11
|
+
name: '@yangda611/dsh-scriptor/graph'
|