dsh-novel-generator 0.1.29 → 0.1.30
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 -4
- package/cordis.patch.yml +39 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,15 +87,24 @@ dsh plugin --profile web add dsh-novel-generator
|
|
|
87
87
|
- 正文为空时按钮不可点,接口也会拒绝(400);修改意见为空同样拒绝。
|
|
88
88
|
- **重写结果只放进编辑区、不自动保存**,状态变成「未保存」,你确认后再点「保存」——避免 AI 的改动直接覆盖原稿。
|
|
89
89
|
|
|
90
|
-
##
|
|
90
|
+
## 「小说工坊 · 作者」预设(随主插件一起装)
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
本插件的 `cordis.patch.yml` 声明了**两行**,所以装一个包就有两件事:
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
| 行 id | 作用 |
|
|
95
|
+
|---|---|
|
|
96
|
+
| `dsh-novel-generator` | 小说工坊本体(时间线、章节、快照、前置提示词) |
|
|
97
|
+
| `preset-novel-studio-author` | Agent 预设「小说工坊 · 作者」 |
|
|
98
|
+
|
|
99
|
+
- 在「设置 → 插件」里,这两行都挂在**小说工坊**条目下,**可以分别启停**。
|
|
100
|
+
- 关掉预设行只是把它从预设列表里隐藏;小说工坊照常工作(作品可以改用 standard 等任何已装预设)。
|
|
101
|
+
- 单独关掉整条小说工坊,预设也会随之消失,两者互不残留。
|
|
102
|
+
- 装了它之后**新建作品默认用这个预设**;预设被关掉或卸载时,重建会话会自动退回 profile 默认预设,作品不会坏。
|
|
96
103
|
|
|
97
104
|
预设内容刻意做得很薄:三句人设(你是小说写作者/只输出正文/文风视角篇幅以用户要求为准)+ 关闭运行时上下文 + **不挂任何工具** + 只保留上下文压缩。所有文学倾向都交给作品级「前置提示词」。
|
|
98
105
|
|
|
106
|
+
> 早先发布过的独立包 `dsh-novel-author-preset` 已并入本插件;它从 0.2.0 起是空补丁,装过 0.1.0 的环境请 `dsh plugin remove dsh-novel-author-preset`。
|
|
107
|
+
|
|
99
108
|
## 迁移、导入与会话
|
|
100
109
|
|
|
101
110
|
- **改预设**:作品列表每行的「预设」改的是「下次建会话时用哪个预设」。会话在创建时就固定了预设,所以保存后会提示「重建会话后生效」——要立刻换,点同一行的「重建会话」。
|
package/cordis.patch.yml
CHANGED
|
@@ -1,4 +1,43 @@
|
|
|
1
|
+
# Two rows, so the plugin list shows them together under 小说工坊 and each can be
|
|
2
|
+
# switched independently:
|
|
3
|
+
#
|
|
4
|
+
# 1. `dsh-novel-generator` — the studio itself (timeline, chapters, snapshots).
|
|
5
|
+
# 2. `preset-novel-studio-author` — the blank author Agent preset. Turning this
|
|
6
|
+
# row off in the plugin list simply hides the preset; the studio keeps
|
|
7
|
+
# working with whatever preset the profile already offers.
|
|
8
|
+
#
|
|
9
|
+
# The second row is what used to be the separate `dsh-novel-author-preset`
|
|
10
|
+
# package: shipping it here means installing the studio brings the preset too.
|
|
1
11
|
- insert:
|
|
2
12
|
- id: dsh-novel-generator
|
|
3
13
|
name: 'dsh-novel-generator'
|
|
4
14
|
config: {}
|
|
15
|
+
- id: preset-novel-studio-author
|
|
16
|
+
name: '@deepseek-ai/dsh-agent-preset'
|
|
17
|
+
config:
|
|
18
|
+
id: novel-studio-author
|
|
19
|
+
name: 小说工坊 · 作者
|
|
20
|
+
description: 小说工坊自带的空白写作预设,只规定"写正文"这件事,不预设任何文风或视角。
|
|
21
|
+
order: 60
|
|
22
|
+
plugins:
|
|
23
|
+
- id: persona
|
|
24
|
+
name: '@deepseek-ai/dsh-persona'
|
|
25
|
+
config:
|
|
26
|
+
# Short, neutral, output contract only; style and viewpoint belong
|
|
27
|
+
# to the work-level preface prompt.
|
|
28
|
+
prefix: |-
|
|
29
|
+
你是小说写作者,负责按用户给出的设定、梗概与要求,写出完整的中文小说正文。
|
|
30
|
+
只输出正文本身:不要解释、不要提纲、不要评论、不要加标题行。
|
|
31
|
+
文风、叙事视角、人称与篇幅一律以上下文中的要求为准,不要自行添加偏好。
|
|
32
|
+
complete: true
|
|
33
|
+
includeRuntimeContext: false
|
|
34
|
+
# Compaction only: a long serial is a long conversation, and the writer
|
|
35
|
+
# has no use for shell, files, web or delegation.
|
|
36
|
+
- id: compaction
|
|
37
|
+
name: cordis:group
|
|
38
|
+
group: true
|
|
39
|
+
isolate:
|
|
40
|
+
compaction: true
|
|
41
|
+
config:
|
|
42
|
+
- id: compaction-basic
|
|
43
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-novel-generator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Novel studio for DeepSeek Harness: a draggable story timeline, world snapshots, chapter outlines, and chapters written by the work's own agent.",
|
|
6
6
|
"license": "MIT",
|