@hanna84/mcp-writing 3.11.0 → 3.13.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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/core/chapter-resolution.js +156 -28
- package/src/core/helpers.js +0 -6
- package/src/review-bundles/review-bundles-planner.js +55 -11
- package/src/structure/chapter-commands.js +512 -0
- package/src/structure/scene-chapter-assignment.js +70 -0
- package/src/tools/metadata.js +581 -1
- package/src/tools/review-bundles.js +4 -4
- package/src/tools/search.js +4 -2
- package/src/tools/styleguide.js +2 -2
- package/src/tools/sync.js +1 -1
- package/src/workflows/workflow-catalogue.js +8 -3
|
@@ -77,11 +77,16 @@ export const WORKFLOW_CATALOGUE = [
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
id: "structure_assignment",
|
|
80
|
-
label: "
|
|
81
|
-
use_when: "Use when the user wants to
|
|
80
|
+
label: "Manage chapter structure",
|
|
81
|
+
use_when: "Use when the user wants to create, rename, or reorder a canonical chapter, attach an epigraph to a chapter, move a scene into a canonical chapter or position, repair an explicit scene chapter link, or clear a scene's explicit chapter assignment.",
|
|
82
82
|
steps: [
|
|
83
83
|
{ tool: "find_scenes", note: "Identify the target scene and confirm project_id if the user did not provide both." },
|
|
84
|
-
{ tool: "list_chapters", note: "
|
|
84
|
+
{ tool: "list_chapters", note: "Inspect existing canonical chapters before creating or assigning chapter structure." },
|
|
85
|
+
{ tool: "create_chapter", note: "Use when the intended canonical chapter does not exist yet; this creates chapter state only and does not generate folders or scene files." },
|
|
86
|
+
{ tool: "rename_chapter", note: "Use when the canonical chapter title should change; this does not rename folders or generated representation paths." },
|
|
87
|
+
{ tool: "reorder_chapter", note: "Use when the canonical chapter order should change to an unused sort_index; this does not rename folders or generated representation paths." },
|
|
88
|
+
{ tool: "attach_epigraph", note: "Use when an existing canonical epigraph should belong to a different canonical chapter; this does not move the epigraph source file." },
|
|
89
|
+
{ tool: "move_scene", note: "Use when a scene should move to another canonical chapter and/or unused timeline_position; this does not move the scene source file." },
|
|
85
90
|
{ tool: "assign_scene_to_chapter", note: "Use this named structure workflow for chapter assignment or clearing instead of editing chapter fields through generic metadata updates." },
|
|
86
91
|
{ tool: "diagnose_structure", note: "Run when the assignment is part of a drift repair workflow or when folder-derived structure may disagree with the requested link." },
|
|
87
92
|
],
|