@cloud411716/fancy-webnovel 2.2.0 → 3.0.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/client.js +201 -15
- package/cordis.patch.yml +5 -0
- package/docs/douyin-plugin.md +118 -0
- package/docs/material-library/README.md +404 -0
- package/docs/material-library/import.js +437 -0
- package/docs/material-library/prompt.md +370 -0
- package/docs/material-library/queries.surql +94 -0
- package/docs/material-library/sample.jsonl +14 -0
- package/docs/material-library/schema.surql +46 -0
- package/docs/mcp-profile.example.yml +24 -0
- package/docs/story-graph-design.md +602 -0
- package/docs/story-graph-validation.md +81 -0
- package/docs/workspace-mcp.md +284 -0
- package/index.js +11 -7
- package/lib/atomic-write.js +109 -0
- package/lib/chapter-order.js +100 -0
- package/lib/confirmation.js +80 -0
- package/lib/db-init.js +123 -0
- package/lib/deployed-state.js +11 -11
- package/lib/direction-labels.js +265 -0
- package/lib/error-codes.js +31 -31
- package/lib/infra.js +29 -4
- package/lib/material-db.js +149 -0
- package/lib/path-guard.js +150 -0
- package/lib/projects.js +400 -0
- package/lib/scraper-utils.js +140 -0
- package/lib/surreal-server.js +338 -0
- package/lib/topic-decision.js +860 -0
- package/lib/topic-fields.js +251 -0
- package/lib/topic-schema.js +225 -0
- package/lib/workspace.js +501 -0
- package/package.json +29 -4
- package/plugins/fancy-analyze/analyze-definitions.md +519 -0
- package/plugins/fancy-analyze/index.js +1128 -77
- package/plugins/fancy-analyze/ingest-coverage.js +107 -0
- package/plugins/fancy-analyze/schema-analyze.md +355 -107
- package/plugins/fancy-analyze/scripts/append-summary-chapter.js +612 -0
- package/plugins/fancy-analyze/summary-progress.js +71 -7
- package/plugins/fancy-analyze/templates.js +437 -139
- package/plugins/fancy-bootstrap/index.js +276 -131
- package/plugins/fancy-bootstrap/scripts/init.js +59 -25
- package/plugins/fancy-bootstrap/templates.js +35 -18
- package/plugins/fancy-db/index.js +172 -0
- package/plugins/fancy-douyin/deploy.js +134 -0
- package/plugins/fancy-douyin/index.js +551 -0
- package/plugins/fancy-douyin/prompts/01-analysis-prompt.md +84 -0
- package/plugins/fancy-douyin/scripts/crawl-note.cjs +194 -0
- package/plugins/fancy-douyin/scripts/lib.cjs +197 -0
- package/plugins/fancy-douyin/scripts/scan-account.cjs +128 -0
- package/plugins/fancy-douyin/scripts/start-chrome.cjs +203 -0
- package/plugins/fancy-douyin/state.js +197 -0
- package/plugins/fancy-douyin/templates.js +127 -0
- package/plugins/fancy-export/exporter.js +805 -0
- package/plugins/fancy-export/index.js +63 -0
- package/plugins/fancy-import/import-driver.js +29 -6
- package/plugins/fancy-import/index.js +13 -5
- package/plugins/fancy-import/prompts/01-import-prompt.md +39 -14
- package/plugins/fancy-import/templates.js +17 -8
- package/plugins/fancy-material/exporter.js +153 -0
- package/plugins/fancy-material/genres.js +256 -0
- package/plugins/fancy-material/index.js +835 -0
- package/plugins/fancy-material/inventory.js +143 -0
- package/plugins/fancy-material/kinds.js +313 -0
- package/plugins/fancy-material/queue.js +55 -0
- package/plugins/fancy-material/scripts/query.js +254 -0
- package/plugins/fancy-material/templates.js +258 -0
- package/plugins/fancy-material/tool-deploy.js +138 -0
- package/plugins/fancy-material/validate.js +149 -0
- package/plugins/fancy-project/index.js +133 -0
- package/plugins/fancy-scan/existing-block.js +100 -0
- package/plugins/fancy-scan/index.js +410 -21
- package/plugins/fancy-scan/prompts/01-analysis-prompt.md +302 -0
- package/plugins/fancy-scan/scripts/append-block.js +725 -0
- package/plugins/fancy-scan/scripts/report-validate.js +824 -0
- package/plugins/fancy-scan/scripts/run-scan.js +169 -22
- package/plugins/fancy-scan/scripts/scrapers/fanqie-rank-scraper.js +145 -16
- package/plugins/fancy-scan/scripts/scrapers/jjwxc-rank-scraper.js +179 -49
- package/plugins/fancy-scan/scripts/scrapers/qimao-rank-scraper.js +38 -20
- package/plugins/fancy-scan/templates/blocks.js +155 -0
- package/plugins/fancy-scan/templates/platforms.js +372 -0
- package/plugins/fancy-scan/templates/report-schema.js +90 -0
- package/plugins/fancy-scan/templates.js +545 -146
- package/plugins/fancy-scan/tool-deploy.js +335 -0
- package/plugins/fancy-scan/wait-turn.js +46 -0
- package/plugins/fancy-story-builder/db/README.md +106 -0
- package/plugins/fancy-story-builder/db/client.js +228 -0
- package/plugins/fancy-story-builder/db/commands.js +145 -0
- package/plugins/fancy-story-builder/db/ids.js +39 -0
- package/plugins/fancy-story-builder/db/import.js +798 -0
- package/plugins/fancy-story-builder/db/project.js +299 -0
- package/plugins/fancy-story-builder/db/query.js +361 -0
- package/plugins/fancy-story-builder/db/schema.js +417 -0
- package/plugins/fancy-story-builder/db/stage-sync.js +238 -0
- package/plugins/fancy-story-builder/flesh-output.js +19 -6
- package/plugins/fancy-story-builder/index.js +4105 -396
- package/plugins/fancy-story-builder/patch-driver.js +390 -0
- package/plugins/fancy-story-builder/prompts/01-skeleton-prompt.md +29 -19
- package/plugins/fancy-story-builder/prompts/02-flesh-prompt.md +72 -10
- package/plugins/fancy-story-builder/prompts/03-rhythm-prompt.md +40 -5
- package/plugins/fancy-story-builder/prompts/04-writing-prompt.md +37 -0
- package/plugins/fancy-story-builder/purpose-template.md +42 -66
- package/plugins/fancy-story-builder/references/formulas-skeleton.json +229 -56
- package/plugins/fancy-story-builder/references/genre-profiles.json +3514 -0
- package/plugins/fancy-story-builder/references/glossary.md +15 -6
- package/plugins/fancy-story-builder/references/index.md +97 -6
- package/plugins/fancy-story-builder/references//350/212/202/345/245/217/346/214/207/345/257/274/00-index.md +1 -1
- package/plugins/fancy-story-builder/references//350/212/202/345/245/217/346/214/207/345/257/274/07-audit.md +25 -7
- package/plugins/fancy-story-builder/references//350/241/200/350/202/211/346/214/207/345/257/274/01-character.md +5 -1
- package/plugins/fancy-story-builder/references//350/241/200/350/202/211/346/214/207/345/257/274/03-relations.md +6 -2
- package/plugins/fancy-story-builder/references//350/241/200/350/202/211/346/214/207/345/257/274/05-audit.md +15 -5
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/00-index.md +1 -1
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/01-positioning.md +2 -1
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/03-entities.md +1 -1
- package/plugins/fancy-story-builder/references//351/252/250/346/236/266/346/214/207/345/257/274/06-audit.md +19 -1
- package/plugins/fancy-story-builder/schema-setting.json +1100 -0
- package/plugins/fancy-story-builder/schema-setting.md +201 -293
- package/plugins/fancy-story-builder/scripts/brief-validate.js +164 -0
- package/plugins/fancy-story-builder/scripts/content-quality.js +4 -1
- package/plugins/fancy-story-builder/scripts/flesh-validate.js +135 -12
- package/plugins/fancy-story-builder/scripts/graph-utils.js +146 -47
- package/plugins/fancy-story-builder/scripts/reference-log.js +110 -0
- package/plugins/fancy-story-builder/scripts/rhythm-validate.js +100 -4
- package/plugins/fancy-story-builder/scripts/schema-pages.js +2668 -0
- package/plugins/fancy-story-builder/scripts/semantic-lint.js +5 -1
- package/plugins/fancy-story-builder/scripts/skeleton-validate.js +158 -17
- package/plugins/fancy-story-builder/scripts/stage-batches.js +36 -2
- package/plugins/fancy-story-builder/scripts/stage-contract.js +12 -0
- package/plugins/fancy-story-builder/scripts/story-artifacts.js +933 -0
- package/plugins/fancy-story-builder/scripts/upstream-query.js +1 -1
- package/plugins/fancy-story-builder/scripts/v2/baseline.js +112 -0
- package/plugins/fancy-story-builder/scripts/v2/cast.js +517 -0
- package/plugins/fancy-story-builder/scripts/v2/context.js +434 -0
- package/plugins/fancy-story-builder/scripts/v2/contracts.js +493 -0
- package/plugins/fancy-story-builder/scripts/v2/core.js +419 -0
- package/plugins/fancy-story-builder/scripts/v2/engine.js +1068 -0
- package/plugins/fancy-story-builder/scripts/v2/export-markdown.js +794 -0
- package/plugins/fancy-story-builder/scripts/v2/genre.js +195 -0
- package/plugins/fancy-story-builder/scripts/v2/knowledge.js +321 -0
- package/plugins/fancy-story-builder/scripts/v2/macro.js +409 -0
- package/plugins/fancy-story-builder/scripts/v2/manifest.js +538 -0
- package/plugins/fancy-story-builder/scripts/v2/migrate.js +137 -0
- package/plugins/fancy-story-builder/scripts/v2/prompts.js +1335 -0
- package/plugins/fancy-story-builder/scripts/v2/rhythm.js +618 -0
- package/plugins/fancy-story-builder/scripts/v2/scale.js +843 -0
- package/plugins/fancy-story-builder/scripts/v2/snapshot.js +121 -0
- package/plugins/fancy-story-builder/scripts/v2/stages.js +273 -0
- package/plugins/fancy-story-builder/scripts/v2/writing.js +216 -0
- package/plugins/fancy-story-builder/storydb/README.md +271 -0
- package/plugins/fancy-story-builder/storydb/cli.js +458 -0
- package/plugins/fancy-story-builder/storydb/client.js +351 -0
- package/plugins/fancy-story-builder/storydb/compile.js +452 -0
- package/plugins/fancy-story-builder/storydb/context.js +288 -0
- package/plugins/fancy-story-builder/storydb/definitions.js +699 -0
- package/plugins/fancy-story-builder/storydb/driver.js +106 -0
- package/plugins/fancy-story-builder/storydb/dsh-tools.js +313 -0
- package/plugins/fancy-story-builder/storydb/export.js +175 -0
- package/plugins/fancy-story-builder/storydb/ids.js +31 -0
- package/plugins/fancy-story-builder/storydb/impact.js +170 -0
- package/plugins/fancy-story-builder/storydb/import.js +559 -0
- package/plugins/fancy-story-builder/storydb/mcp.js +99 -0
- package/plugins/fancy-story-builder/storydb/prompts.js +952 -0
- package/plugins/fancy-story-builder/storydb/stage-command.js +379 -0
- package/plugins/fancy-story-builder/storydb/stage.js +426 -0
- package/plugins/fancy-story-builder/storydb/store.js +891 -0
- package/plugins/fancy-story-builder/storydb/tools.js +592 -0
- package/plugins/fancy-story-builder/storydb/validation.js +183 -0
- package/plugins/fancy-story-builder/templates/v2/10-scale/scale-template.json +144 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/emotion-template.json +15 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/endings-template.json +16 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/lines-template.json +28 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/roles-template.json +10 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/story-template.json +19 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/volumes-template.json +24 -0
- package/plugins/fancy-story-builder/templates/v2/20-macro/world-template.json +24 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/characters-template.json +49 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/climaxes-template.json +14 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/conflicts-template.json +30 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/factions-template.json +18 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/foreshadows-template.json +29 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/information-template.json +29 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/items-template.json +13 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/locations-template.json +12 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/payoffs-template.json +16 -0
- package/plugins/fancy-story-builder/templates/v2/30-cast/relations-template.json +44 -0
- package/plugins/fancy-story-builder/templates/v2/40-rhythm/chapter-map-template.json +81 -0
- package/plugins/fancy-story-builder/templates/v2/40-rhythm/outline-template.json +162 -0
- package/plugins/fancy-story-builder/templates/v2/50-writing/ledger-template.json +46 -0
- package/plugins/fancy-story-builder/templates/v2/60-deslop/report-template.json +10 -0
- package/plugins/fancy-story-builder/templates//350/212/202/345/245/217//346/227/266/345/272/217/346/230/240/345/260/204/346/250/241/346/235/277.json +267 -44
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//344/270/226/347/225/214/350/247/202/350/247/204/345/210/231/346/250/241/346/235/277.json +121 -19
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/205/263/351/224/256/351/201/223/345/205/267/346/250/241/346/235/277.json +129 -21
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/205/266/344/273/226/345/256/236/344/275/223/346/250/241/346/235/277.json +62 -0
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/206/262/347/252/201/346/250/241/346/235/277.json +76 -17
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/211/247/346/203/205/346/250/241/346/235/277.json +56 -8
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/212/277/345/212/233/346/250/241/346/235/277.json +63 -13
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//345/234/260/347/202/271/346/250/241/346/235/277.json +34 -6
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//347/273/223/345/261/200/346/250/241/346/235/277.json +81 -18
- package/plugins/fancy-story-builder/templates//350/241/200/350/202/211//350/247/222/350/211/262/346/250/241/346/235/277.json +202 -42
- package/plugins/fancy-story-builder/templates//351/252/250/346/236/266//345/205/263/347/263/273/346/250/241/346/235/277.json +160 -27
- package/plugins/fancy-story-builder/templates//351/252/250/346/236/266//345/256/236/344/275/223/346/250/241/346/235/277.json +217 -41
- package/plugins/fancy-story-builder/templates//351/252/250/346/236/266//346/241/206/346/236/266/346/250/241/346/235/277.json +215 -41
- package/plugins/fancy-story-builder/templates.js +272 -74
- package/plugins/fancy-story-builder/wiki-references.js +429 -93
- package/plugins/fancy-story-builder/writing-driver.js +336 -9
- package/plugins/fancy-topic/index.js +414 -61
- package/plugins/fancy-topic/prompts/01-exploration-prompt.md +115 -0
- package/plugins/fancy-topic/scripts/save-suggestion.js +219 -0
- package/plugins/fancy-topic/scripts/select-topic.js +106 -63
- package/plugins/fancy-topic/templates.js +225 -122
- package/plugins/fancy-topic/tool-deploy.js +200 -0
- package/lib/safe-rm.js +0 -94
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"character_relations": [
|
|
3
|
+
{
|
|
4
|
+
"id": "REL001",
|
|
5
|
+
"from": "C001",
|
|
6
|
+
"to": "C002",
|
|
7
|
+
"kind": "互相利用,但彼此提防",
|
|
8
|
+
"initial_state": "试探",
|
|
9
|
+
"changes": [
|
|
10
|
+
{
|
|
11
|
+
"stage": "被迫合作",
|
|
12
|
+
"trigger": "共同经历事件",
|
|
13
|
+
"description": "关系变化"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"faction_relations": [
|
|
19
|
+
{
|
|
20
|
+
"id": "FREL001",
|
|
21
|
+
"from": "F001",
|
|
22
|
+
"to": "F002",
|
|
23
|
+
"kind": "表面合作、暗中竞争",
|
|
24
|
+
"initial_state": "互不信任",
|
|
25
|
+
"changes": [
|
|
26
|
+
{
|
|
27
|
+
"stage": "公开对立",
|
|
28
|
+
"trigger": "资源争夺",
|
|
29
|
+
"description": "关系变化"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"memberships": [
|
|
35
|
+
{
|
|
36
|
+
"id": "MEM001",
|
|
37
|
+
"character": "C001",
|
|
38
|
+
"faction": "F001",
|
|
39
|
+
"position": "成员",
|
|
40
|
+
"kind": "正式成员",
|
|
41
|
+
"description": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chapters": [
|
|
3
|
+
{
|
|
4
|
+
"chapter_id": "CH001",
|
|
5
|
+
"display_no": 1,
|
|
6
|
+
"title": "章名",
|
|
7
|
+
"volume": "V001",
|
|
8
|
+
"act": "A001",
|
|
9
|
+
"pov": "C001",
|
|
10
|
+
"cast": [
|
|
11
|
+
"C001"
|
|
12
|
+
],
|
|
13
|
+
"mentioned": [],
|
|
14
|
+
"locations": [
|
|
15
|
+
"L001"
|
|
16
|
+
],
|
|
17
|
+
"time": {
|
|
18
|
+
"story_day": 1,
|
|
19
|
+
"clock": "23:50-00:08",
|
|
20
|
+
"duration_minutes": 18
|
|
21
|
+
},
|
|
22
|
+
"why": {
|
|
23
|
+
"main_line_nodes": [
|
|
24
|
+
"M001-01"
|
|
25
|
+
],
|
|
26
|
+
"branch_nodes": [
|
|
27
|
+
"B001"
|
|
28
|
+
],
|
|
29
|
+
"conflict": [
|
|
30
|
+
"X001"
|
|
31
|
+
],
|
|
32
|
+
"theme": "主题",
|
|
33
|
+
"stakes": "赌注"
|
|
34
|
+
},
|
|
35
|
+
"how": {
|
|
36
|
+
"function_main": "主功能",
|
|
37
|
+
"function_aux": "辅功能",
|
|
38
|
+
"turn": "转折",
|
|
39
|
+
"ending_hook": "章尾钩子"
|
|
40
|
+
},
|
|
41
|
+
"foreshadow_actions": [
|
|
42
|
+
{
|
|
43
|
+
"id": "FS001",
|
|
44
|
+
"action": "埋设",
|
|
45
|
+
"detail": "埋设细节"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"payoff_actions": [],
|
|
49
|
+
"information_gaps": [
|
|
50
|
+
{
|
|
51
|
+
"id": "IG-X001-01",
|
|
52
|
+
"state": "created",
|
|
53
|
+
"detail": "信息差状态"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"emotion": {
|
|
57
|
+
"phase": "压抑",
|
|
58
|
+
"value": 6
|
|
59
|
+
},
|
|
60
|
+
"hook": {
|
|
61
|
+
"type": "信息差",
|
|
62
|
+
"strength": "强"
|
|
63
|
+
},
|
|
64
|
+
"word_target": 3000,
|
|
65
|
+
"knowledge_events": [
|
|
66
|
+
{
|
|
67
|
+
"subject_type": "information",
|
|
68
|
+
"subject_id": "IG-X001-01",
|
|
69
|
+
"character": "C001",
|
|
70
|
+
"change": "partially_learns",
|
|
71
|
+
"coverage": "partial",
|
|
72
|
+
"knowledge": "只看到有人反复徘徊,不知道他们等的是开门",
|
|
73
|
+
"how": "witnessed",
|
|
74
|
+
"source_character": null,
|
|
75
|
+
"scene": "门内向外观察",
|
|
76
|
+
"evidence": "连续两夜同一位置出现脚印"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chapter": {
|
|
3
|
+
"chapter_id": "CH001",
|
|
4
|
+
"number": 1,
|
|
5
|
+
"title": "章名",
|
|
6
|
+
"volume": "V001",
|
|
7
|
+
"act": "A001",
|
|
8
|
+
"word_target": 3000,
|
|
9
|
+
"pov": {
|
|
10
|
+
"id": "C001",
|
|
11
|
+
"name": "人物名",
|
|
12
|
+
"entry_state": "进入状态",
|
|
13
|
+
"exit_state": "离开状态"
|
|
14
|
+
},
|
|
15
|
+
"time": {
|
|
16
|
+
"story_day": 1,
|
|
17
|
+
"clock": "23:50-00:08",
|
|
18
|
+
"duration_minutes": 18,
|
|
19
|
+
"chronology": "顺叙"
|
|
20
|
+
},
|
|
21
|
+
"locations": [
|
|
22
|
+
{
|
|
23
|
+
"id": "L001",
|
|
24
|
+
"name": "地点名",
|
|
25
|
+
"state": "状态",
|
|
26
|
+
"sensory": [
|
|
27
|
+
"声音",
|
|
28
|
+
"气味"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"cast": [
|
|
33
|
+
{
|
|
34
|
+
"id": "C001",
|
|
35
|
+
"name": "人物名",
|
|
36
|
+
"role_in_chapter": "主视角",
|
|
37
|
+
"entry": "进入",
|
|
38
|
+
"exit": "离开",
|
|
39
|
+
"knowledge": [
|
|
40
|
+
{
|
|
41
|
+
"subject_type": "information",
|
|
42
|
+
"subject_id": "IG-X001-01",
|
|
43
|
+
"state": "partial",
|
|
44
|
+
"coverage": "partial",
|
|
45
|
+
"knowledge": "只知道有人等开门,不知道人数",
|
|
46
|
+
"how": "witnessed",
|
|
47
|
+
"scene": "门内向外观察",
|
|
48
|
+
"evidence": "连续两夜同一位置出现脚印"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"why": {
|
|
54
|
+
"main_line": "M001-01 目标",
|
|
55
|
+
"branch": "B001 目标",
|
|
56
|
+
"conflict": "X001 冲突",
|
|
57
|
+
"theme": "主题",
|
|
58
|
+
"stakes": "赌注",
|
|
59
|
+
"character_arc": "弧光"
|
|
60
|
+
},
|
|
61
|
+
"how": {
|
|
62
|
+
"scenes": [
|
|
63
|
+
{
|
|
64
|
+
"no": 1,
|
|
65
|
+
"location": "L001",
|
|
66
|
+
"time": "23:50",
|
|
67
|
+
"goal": "场景目标",
|
|
68
|
+
"obstacle": "阻碍",
|
|
69
|
+
"turn": "转折",
|
|
70
|
+
"outcome": "结果",
|
|
71
|
+
"emotion": "压抑 → 警觉",
|
|
72
|
+
"information_gap": "IG-X001-01",
|
|
73
|
+
"foreshadow": [
|
|
74
|
+
{
|
|
75
|
+
"id": "FS001",
|
|
76
|
+
"action": "埋设",
|
|
77
|
+
"detail": "细节"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"payoff": []
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"must_write": [
|
|
84
|
+
"必须写"
|
|
85
|
+
],
|
|
86
|
+
"must_not_write": [
|
|
87
|
+
"绝对不能写"
|
|
88
|
+
],
|
|
89
|
+
"ending": {
|
|
90
|
+
"type": "悬念",
|
|
91
|
+
"text": "收束文本",
|
|
92
|
+
"hook": "章尾钩子"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"continuity": {
|
|
96
|
+
"from_prev": null,
|
|
97
|
+
"to_next": "下一章衔接",
|
|
98
|
+
"open_threads": [
|
|
99
|
+
"FS001"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"coverage": {
|
|
103
|
+
"main_line": [
|
|
104
|
+
"M001-01"
|
|
105
|
+
],
|
|
106
|
+
"branch": [
|
|
107
|
+
"B001"
|
|
108
|
+
],
|
|
109
|
+
"conflict": [
|
|
110
|
+
"X001"
|
|
111
|
+
],
|
|
112
|
+
"foreshadow": [
|
|
113
|
+
"FS001"
|
|
114
|
+
],
|
|
115
|
+
"payoff": [],
|
|
116
|
+
"information": [
|
|
117
|
+
"IG-X001-01"
|
|
118
|
+
],
|
|
119
|
+
"hook": "信息差",
|
|
120
|
+
"emotion": "压抑"
|
|
121
|
+
},
|
|
122
|
+
"hard_constraints": {
|
|
123
|
+
"must_write": [
|
|
124
|
+
"必须写"
|
|
125
|
+
],
|
|
126
|
+
"must_not_write": [
|
|
127
|
+
"绝对不能写"
|
|
128
|
+
],
|
|
129
|
+
"foreshadow_actions": [
|
|
130
|
+
{
|
|
131
|
+
"id": "FS001",
|
|
132
|
+
"action": "埋设"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"payoff_actions": [],
|
|
136
|
+
"information_state": {
|
|
137
|
+
"IG-X001-01": "created"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"soft_suggestions": {
|
|
141
|
+
"scene_split": 2,
|
|
142
|
+
"emotion_trend": "压抑→警觉→决心",
|
|
143
|
+
"description_focus": "环境氛围",
|
|
144
|
+
"pace": "偏慢",
|
|
145
|
+
"dialogue_ratio": "中"
|
|
146
|
+
},
|
|
147
|
+
"knowledge_events": [
|
|
148
|
+
{
|
|
149
|
+
"subject_type": "information",
|
|
150
|
+
"subject_id": "IG-X001-01",
|
|
151
|
+
"character": "C001",
|
|
152
|
+
"change": "partially_learns",
|
|
153
|
+
"coverage": "partial",
|
|
154
|
+
"knowledge": "第一次确认门外有人在等开门,但不知道人数",
|
|
155
|
+
"how": "witnessed",
|
|
156
|
+
"source_character": null,
|
|
157
|
+
"scene": "门内向外观察",
|
|
158
|
+
"evidence": "连续两夜同一位置出现脚印"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chapters": [
|
|
3
|
+
{
|
|
4
|
+
"ch": 1,
|
|
5
|
+
"chapter_id": "CH001",
|
|
6
|
+
"title": "章名",
|
|
7
|
+
"pov": "C001",
|
|
8
|
+
"time": "第1天 23:50-00:08",
|
|
9
|
+
"locations": [
|
|
10
|
+
"L001"
|
|
11
|
+
],
|
|
12
|
+
"cast": [
|
|
13
|
+
"C001"
|
|
14
|
+
],
|
|
15
|
+
"knowledge_changes": [
|
|
16
|
+
{
|
|
17
|
+
"subject_type": "information",
|
|
18
|
+
"subject_id": "IG-X001-01",
|
|
19
|
+
"character": "C001",
|
|
20
|
+
"from": "unknown",
|
|
21
|
+
"to": "partial",
|
|
22
|
+
"coverage": "partial",
|
|
23
|
+
"knowledge": "第一次确认门外有人在等开门",
|
|
24
|
+
"how": "witnessed",
|
|
25
|
+
"source_character": null,
|
|
26
|
+
"scene": "门内向外观察",
|
|
27
|
+
"evidence": "连续两夜同一位置出现脚印"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"foreshadow_status": [
|
|
31
|
+
{
|
|
32
|
+
"id": "FS001",
|
|
33
|
+
"status": "planted"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"information_status": [
|
|
37
|
+
{
|
|
38
|
+
"id": "IG-X001-01",
|
|
39
|
+
"status": "created"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"ending_hook": "章尾钩子",
|
|
43
|
+
"word_count": 3120
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|