scrivener-mcp 0.12.0 → 0.15.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/README.md +430 -275
- package/assets/c2pa-binding/binding.d.ts +53 -0
- package/assets/c2pa-binding/binding.js +497 -0
- package/assets/c2pa-binding/binding_bg.wasm +0 -0
- package/assets/c2pa-binding/binding_bg.wasm.d.ts +18 -0
- package/assets/c2pa-binding/build.json +71 -0
- package/assets/c2pa-binding/package.json +1 -0
- package/assets/c2pa-crjson-2.4/LICENSE +396 -0
- package/assets/c2pa-crjson-2.4/README.md +20 -0
- package/assets/c2pa-crjson-2.4/crJSON.schema.json +1818 -0
- package/assets/c2pa-crjson-2.4/provenance.json +31 -0
- package/assets/c2pa-supply-chain/bluepencil/Cargo.lock +1909 -0
- package/assets/c2pa-supply-chain/bluepencil/osv-scanner.toml +14 -0
- package/assets/c2pa-supply-chain/narrative-lens/Cargo.lock +2694 -0
- package/assets/c2pa-supply-chain/narrative-lens/osv-scanner.toml +9 -0
- package/assets/c2pa-supply-chain/upstream.json +82 -0
- package/assets/c2pa-supply-chain/vex.openvex.json +326 -0
- package/assets/c2pa-supply-chain/warm/npm-provenance.json +185 -0
- package/assets/c2pa-supply-chain/warm/osv-scanner.toml +4 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-0.7.0.tgz.cdx.json +66 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-darwin-arm64-0.7.0.tgz.cdx.json +5236 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-darwin-x64-0.7.0.tgz.cdx.json +5313 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-linux-arm64-gnu-0.7.0.tgz.cdx.json +5271 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-linux-arm64-musl-0.7.0.tgz.cdx.json +5271 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-linux-x64-gnu-0.7.0.tgz.cdx.json +5348 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-linux-x64-musl-0.7.0.tgz.cdx.json +5348 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-win32-arm64-msvc-0.7.0.tgz.cdx.json +5258 -0
- package/assets/c2pa-supply-chain/warm/writerslogic-warm-win32-x64-msvc-0.7.0.tgz.cdx.json +5338 -0
- package/assets/draftbridge/icon.png +0 -0
- package/assets/draftbridge/purchase-dark.png +0 -0
- package/assets/draftbridge/purchase-light.png +0 -0
- package/assets/draftbridge/ready-dark.png +0 -0
- package/assets/draftbridge/ready-light.png +0 -0
- package/assets/infographics/capability-map.png +0 -0
- package/assets/manuscript-dashboard.html +1060 -0
- package/assets/narrative-lens/LICENSE +201 -0
- package/assets/narrative-lens/README.md +30 -0
- package/assets/narrative-lens/annotations.schema.json +1221 -0
- package/assets/narrative-lens/provenance.json +23 -0
- package/assets/sample-project/LICENSE.txt +1 -0
- package/assets/sample-project/Welcome.scriv/Files/Data/10000000-0000-4000-8000-000000000003/content.rtf +1 -0
- package/assets/sample-project/Welcome.scriv/Files/Data/10000000-0000-4000-8000-000000000003/notes.rtf +1 -0
- package/assets/sample-project/Welcome.scriv/Files/Data/10000000-0000-4000-8000-000000000003/synopsis.txt +1 -0
- package/assets/sample-project/Welcome.scriv/Files/Data/10000000-0000-4000-8000-000000000004/content.rtf +1 -0
- package/assets/sample-project/Welcome.scriv/Files/Data/10000000-0000-4000-8000-000000000006/content.rtf +1 -0
- package/assets/sample-project/Welcome.scriv/Files/version.txt +1 -0
- package/assets/sample-project/Welcome.scriv/Settings/compile.xml +1 -0
- package/assets/sample-project/Welcome.scriv/Welcome.scrivx +1 -0
- package/dist/analysis/advanced-readability.d.ts +22 -87
- package/dist/analysis/advanced-readability.d.ts.map +1 -1
- package/dist/analysis/advanced-readability.js +122 -340
- package/dist/analysis/advanced-readability.js.map +1 -1
- package/dist/analysis/ai-document-analyzer.d.ts +6 -6
- package/dist/analysis/ai-document-analyzer.d.ts.map +1 -1
- package/dist/analysis/ai-document-analyzer.js +69 -54
- package/dist/analysis/ai-document-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/emotion-analyzer.d.ts +3 -3
- package/dist/analysis/analyzers/emotion-analyzer.d.ts.map +1 -1
- package/dist/analysis/analyzers/emotion-analyzer.js +7 -5
- package/dist/analysis/analyzers/emotion-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/index.d.ts.map +1 -1
- package/dist/analysis/analyzers/index.js +0 -1
- package/dist/analysis/analyzers/index.js.map +1 -1
- package/dist/analysis/analyzers/metrics-analyzer.d.ts +5 -12
- package/dist/analysis/analyzers/metrics-analyzer.d.ts.map +1 -1
- package/dist/analysis/analyzers/metrics-analyzer.js +32 -85
- package/dist/analysis/analyzers/metrics-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/pacing-analyzer.d.ts +4 -4
- package/dist/analysis/analyzers/pacing-analyzer.d.ts.map +1 -1
- package/dist/analysis/analyzers/pacing-analyzer.js +42 -53
- package/dist/analysis/analyzers/pacing-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/quality-analyzer.d.ts +7 -7
- package/dist/analysis/analyzers/quality-analyzer.d.ts.map +1 -1
- package/dist/analysis/analyzers/quality-analyzer.js +16 -30
- package/dist/analysis/analyzers/quality-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/structure-analyzer.d.ts +9 -9
- package/dist/analysis/analyzers/structure-analyzer.d.ts.map +1 -1
- package/dist/analysis/analyzers/structure-analyzer.js +7 -24
- package/dist/analysis/analyzers/structure-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/style-analyzer.d.ts +12 -12
- package/dist/analysis/analyzers/style-analyzer.d.ts.map +1 -1
- package/dist/analysis/analyzers/style-analyzer.js +43 -51
- package/dist/analysis/analyzers/style-analyzer.js.map +1 -1
- package/dist/analysis/analyzers/suggestion-generator.d.ts +2 -2
- package/dist/analysis/analyzers/suggestion-generator.d.ts.map +1 -1
- package/dist/analysis/analyzers/suggestion-generator.js +19 -63
- package/dist/analysis/analyzers/suggestion-generator.js.map +1 -1
- package/dist/analysis/base-analyzer.d.ts +3 -27
- package/dist/analysis/base-analyzer.d.ts.map +1 -1
- package/dist/analysis/base-analyzer.js +94 -179
- package/dist/analysis/base-analyzer.js.map +1 -1
- package/dist/analysis/context-analyzer.d.ts +1 -64
- package/dist/analysis/context-analyzer.d.ts.map +1 -1
- package/dist/analysis/context-analyzer.js +23 -149
- package/dist/analysis/context-analyzer.js.map +1 -1
- package/dist/analysis/ml-word-classifier-pro.d.ts +0 -38
- package/dist/analysis/ml-word-classifier-pro.d.ts.map +1 -1
- package/dist/analysis/ml-word-classifier-pro.js +20 -105
- package/dist/analysis/ml-word-classifier-pro.js.map +1 -1
- package/dist/cli/content-credentials.d.ts +3 -0
- package/dist/cli/content-credentials.d.ts.map +1 -0
- package/dist/cli/content-credentials.js +151 -0
- package/dist/cli/content-credentials.js.map +1 -0
- package/dist/cli/setup-wizard.d.ts +0 -21
- package/dist/cli/setup-wizard.d.ts.map +1 -1
- package/dist/cli/setup-wizard.js +129 -159
- package/dist/cli/setup-wizard.js.map +1 -1
- package/dist/cli/setup.d.ts +3 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +323 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/core/cache.d.ts +1 -40
- package/dist/core/cache.d.ts.map +1 -1
- package/dist/core/cache.js +7 -62
- package/dist/core/cache.js.map +1 -1
- package/dist/core/constants.d.ts +136 -136
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +1 -6
- package/dist/core/constants.js.map +1 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js +9 -3
- package/dist/core/logger.js.map +1 -1
- package/dist/core/response-formatter.d.ts +22 -13
- package/dist/core/response-formatter.d.ts.map +1 -1
- package/dist/core/response-formatter.js +200 -79
- package/dist/core/response-formatter.js.map +1 -1
- package/dist/core/tool-admission.d.ts +26 -0
- package/dist/core/tool-admission.d.ts.map +1 -0
- package/dist/core/tool-admission.js +88 -0
- package/dist/core/tool-admission.js.map +1 -0
- package/dist/handlers/analysis-handlers/advanced.d.ts +4 -0
- package/dist/handlers/analysis-handlers/advanced.d.ts.map +1 -0
- package/dist/handlers/analysis-handlers/advanced.js +305 -0
- package/dist/handlers/analysis-handlers/advanced.js.map +1 -0
- package/dist/handlers/analysis-handlers/consistency.d.ts +3 -0
- package/dist/handlers/analysis-handlers/consistency.d.ts.map +1 -0
- package/dist/handlers/analysis-handlers/consistency.js +112 -0
- package/dist/handlers/analysis-handlers/consistency.js.map +1 -0
- package/dist/handlers/analysis-handlers/content-enhancement.d.ts +3 -0
- package/dist/handlers/analysis-handlers/content-enhancement.d.ts.map +1 -0
- package/dist/handlers/analysis-handlers/content-enhancement.js +298 -0
- package/dist/handlers/analysis-handlers/content-enhancement.js.map +1 -0
- package/dist/handlers/analysis-handlers/content-generation.d.ts +3 -0
- package/dist/handlers/analysis-handlers/content-generation.d.ts.map +1 -0
- package/dist/handlers/analysis-handlers/content-generation.js +333 -0
- package/dist/handlers/analysis-handlers/content-generation.js.map +1 -0
- package/dist/handlers/analysis-handlers/document-analysis.d.ts +5 -0
- package/dist/handlers/analysis-handlers/document-analysis.d.ts.map +1 -0
- package/dist/handlers/analysis-handlers/document-analysis.js +281 -0
- package/dist/handlers/analysis-handlers/document-analysis.js.map +1 -0
- package/dist/handlers/analysis-handlers/memory.d.ts +4 -0
- package/dist/handlers/analysis-handlers/memory.d.ts.map +1 -0
- package/dist/handlers/analysis-handlers/memory.js +119 -0
- package/dist/handlers/analysis-handlers/memory.js.map +1 -0
- package/dist/handlers/analysis-handlers.d.ts +6 -11
- package/dist/handlers/analysis-handlers.d.ts.map +1 -1
- package/dist/handlers/analysis-handlers.js +8 -1130
- package/dist/handlers/analysis-handlers.js.map +1 -1
- package/dist/handlers/async-handler-definitions.d.ts +0 -3
- package/dist/handlers/async-handler-definitions.d.ts.map +1 -1
- package/dist/handlers/async-handler-definitions.js +363 -98
- package/dist/handlers/async-handler-definitions.js.map +1 -1
- package/dist/handlers/async-handlers.d.ts +32 -48
- package/dist/handlers/async-handlers.d.ts.map +1 -1
- package/dist/handlers/async-handlers.js +322 -219
- package/dist/handlers/async-handlers.js.map +1 -1
- package/dist/handlers/bluepencil-handlers.d.ts +8 -0
- package/dist/handlers/bluepencil-handlers.d.ts.map +1 -0
- package/dist/handlers/bluepencil-handlers.js +494 -0
- package/dist/handlers/bluepencil-handlers.js.map +1 -0
- package/dist/handlers/change-impact-handlers.d.ts +3 -0
- package/dist/handlers/change-impact-handlers.d.ts.map +1 -0
- package/dist/handlers/change-impact-handlers.js +127 -0
- package/dist/handlers/change-impact-handlers.js.map +1 -0
- package/dist/handlers/compilation-handlers.d.ts.map +1 -1
- package/dist/handlers/compilation-handlers.js +429 -135
- package/dist/handlers/compilation-handlers.js.map +1 -1
- package/dist/handlers/content-credentials-handlers.d.ts +3 -0
- package/dist/handlers/content-credentials-handlers.d.ts.map +1 -0
- package/dist/handlers/content-credentials-handlers.js +524 -0
- package/dist/handlers/content-credentials-handlers.js.map +1 -0
- package/dist/handlers/dashboard-handlers.d.ts +6 -0
- package/dist/handlers/dashboard-handlers.d.ts.map +1 -0
- package/dist/handlers/dashboard-handlers.js +340 -0
- package/dist/handlers/dashboard-handlers.js.map +1 -0
- package/dist/handlers/database/auto-installer.d.ts +1 -28
- package/dist/handlers/database/auto-installer.d.ts.map +1 -1
- package/dist/handlers/database/auto-installer.js +80 -169
- package/dist/handlers/database/auto-installer.js.map +1 -1
- package/dist/handlers/database/config.d.ts +0 -3
- package/dist/handlers/database/config.d.ts.map +1 -1
- package/dist/handlers/database/config.js +0 -3
- package/dist/handlers/database/config.js.map +1 -1
- package/dist/handlers/database/content-analysis-storage.d.ts +7 -0
- package/dist/handlers/database/content-analysis-storage.d.ts.map +1 -0
- package/dist/handlers/database/content-analysis-storage.js +55 -0
- package/dist/handlers/database/content-analysis-storage.js.map +1 -0
- package/dist/handlers/database/database-service.d.ts +21 -175
- package/dist/handlers/database/database-service.d.ts.map +1 -1
- package/dist/handlers/database/database-service.js +125 -618
- package/dist/handlers/database/database-service.js.map +1 -1
- package/dist/handlers/database/database-setup.d.ts +8 -25
- package/dist/handlers/database/database-setup.d.ts.map +1 -1
- package/dist/handlers/database/database-setup.js +62 -99
- package/dist/handlers/database/database-setup.js.map +1 -1
- package/dist/handlers/database/database-sync.d.ts +39 -0
- package/dist/handlers/database/database-sync.d.ts.map +1 -0
- package/dist/handlers/database/database-sync.js +105 -0
- package/dist/handlers/database/database-sync.js.map +1 -0
- package/dist/handlers/database/graph-analytics.d.ts +0 -18
- package/dist/handlers/database/graph-analytics.d.ts.map +1 -1
- package/dist/handlers/database/graph-analytics.js +2 -41
- package/dist/handlers/database/graph-analytics.js.map +1 -1
- package/dist/handlers/database/index.d.ts +1 -1
- package/dist/handlers/database/index.d.ts.map +1 -1
- package/dist/handlers/database/keydb-cache.d.ts +14 -68
- package/dist/handlers/database/keydb-cache.d.ts.map +1 -1
- package/dist/handlers/database/keydb-cache.js +185 -203
- package/dist/handlers/database/keydb-cache.js.map +1 -1
- package/dist/handlers/database/migrations.d.ts +6 -12
- package/dist/handlers/database/migrations.d.ts.map +1 -1
- package/dist/handlers/database/migrations.js +36 -24
- package/dist/handlers/database/migrations.js.map +1 -1
- package/dist/handlers/database/neo4j-manager.d.ts +1 -58
- package/dist/handlers/database/neo4j-manager.d.ts.map +1 -1
- package/dist/handlers/database/neo4j-manager.js +25 -71
- package/dist/handlers/database/neo4j-manager.js.map +1 -1
- package/dist/handlers/database/query-builder.d.ts.map +1 -1
- package/dist/handlers/database/query-builder.js +2 -4
- package/dist/handlers/database/query-builder.js.map +1 -1
- package/dist/handlers/database/search-service.d.ts +0 -24
- package/dist/handlers/database/search-service.d.ts.map +1 -1
- package/dist/handlers/database/search-service.js +1 -33
- package/dist/handlers/database/search-service.js.map +1 -1
- package/dist/handlers/database/session-analytics.d.ts +36 -0
- package/dist/handlers/database/session-analytics.d.ts.map +1 -0
- package/dist/handlers/database/session-analytics.js +134 -0
- package/dist/handlers/database/session-analytics.js.map +1 -0
- package/dist/handlers/database/sqlite-manager.d.ts +11 -49
- package/dist/handlers/database/sqlite-manager.d.ts.map +1 -1
- package/dist/handlers/database/sqlite-manager.js +162 -182
- package/dist/handlers/database/sqlite-manager.js.map +1 -1
- package/dist/handlers/database/transaction-coordinator.d.ts +35 -0
- package/dist/handlers/database/transaction-coordinator.d.ts.map +1 -0
- package/dist/handlers/database/transaction-coordinator.js +142 -0
- package/dist/handlers/database/transaction-coordinator.js.map +1 -0
- package/dist/handlers/database/user-data.d.ts +78 -0
- package/dist/handlers/database/user-data.d.ts.map +1 -0
- package/dist/handlers/database/user-data.js +154 -0
- package/dist/handlers/database/user-data.js.map +1 -0
- package/dist/handlers/document-graph-handlers.d.ts +0 -7
- package/dist/handlers/document-graph-handlers.d.ts.map +1 -1
- package/dist/handlers/document-graph-handlers.js +351 -220
- package/dist/handlers/document-graph-handlers.js.map +1 -1
- package/dist/handlers/document-handlers.d.ts.map +1 -1
- package/dist/handlers/document-handlers.js +113 -118
- package/dist/handlers/document-handlers.js.map +1 -1
- package/dist/handlers/export-preset-handlers.d.ts +3 -0
- package/dist/handlers/export-preset-handlers.d.ts.map +1 -0
- package/dist/handlers/export-preset-handlers.js +97 -0
- package/dist/handlers/export-preset-handlers.js.map +1 -0
- package/dist/handlers/goals-handlers.js.map +1 -1
- package/dist/handlers/integrity-handlers.d.ts +0 -9
- package/dist/handlers/integrity-handlers.d.ts.map +1 -1
- package/dist/handlers/integrity-handlers.js +1 -10
- package/dist/handlers/integrity-handlers.js.map +1 -1
- package/dist/handlers/local-search-handlers.d.ts +4 -0
- package/dist/handlers/local-search-handlers.d.ts.map +1 -0
- package/dist/handlers/local-search-handlers.js +199 -0
- package/dist/handlers/local-search-handlers.js.map +1 -0
- package/dist/handlers/manuscript-analysis-handlers.d.ts +3 -0
- package/dist/handlers/manuscript-analysis-handlers.d.ts.map +1 -0
- package/dist/handlers/manuscript-analysis-handlers.js +174 -0
- package/dist/handlers/manuscript-analysis-handlers.js.map +1 -0
- package/dist/handlers/narrative-annotation-schema.d.ts +3 -0
- package/dist/handlers/narrative-annotation-schema.d.ts.map +1 -0
- package/dist/handlers/narrative-annotation-schema.js +1062 -0
- package/dist/handlers/narrative-annotation-schema.js.map +1 -0
- package/dist/handlers/narrative-lens-handlers.d.ts +8 -0
- package/dist/handlers/narrative-lens-handlers.d.ts.map +1 -0
- package/dist/handlers/narrative-lens-handlers.js +505 -0
- package/dist/handlers/narrative-lens-handlers.js.map +1 -0
- package/dist/handlers/project-handlers/discovery.d.ts +4 -0
- package/dist/handlers/project-handlers/discovery.d.ts.map +1 -0
- package/dist/handlers/project-handlers/discovery.js +231 -0
- package/dist/handlers/project-handlers/discovery.js.map +1 -0
- package/dist/handlers/project-handlers/lifecycle.d.ts +6 -0
- package/dist/handlers/project-handlers/lifecycle.d.ts.map +1 -0
- package/dist/handlers/project-handlers/lifecycle.js +241 -0
- package/dist/handlers/project-handlers/lifecycle.js.map +1 -0
- package/dist/handlers/project-handlers/manuscript.d.ts +4 -0
- package/dist/handlers/project-handlers/manuscript.d.ts.map +1 -0
- package/dist/handlers/project-handlers/manuscript.js +223 -0
- package/dist/handlers/project-handlers/manuscript.js.map +1 -0
- package/dist/handlers/project-handlers/snapshots.d.ts +6 -0
- package/dist/handlers/project-handlers/snapshots.d.ts.map +1 -0
- package/dist/handlers/project-handlers/snapshots.js +269 -0
- package/dist/handlers/project-handlers/snapshots.js.map +1 -0
- package/dist/handlers/project-handlers/structure.d.ts +3 -0
- package/dist/handlers/project-handlers/structure.d.ts.map +1 -0
- package/dist/handlers/project-handlers/structure.js +165 -0
- package/dist/handlers/project-handlers/structure.js.map +1 -0
- package/dist/handlers/project-handlers.d.ts +6 -14
- package/dist/handlers/project-handlers.d.ts.map +1 -1
- package/dist/handlers/project-handlers.js +10 -1015
- package/dist/handlers/project-handlers.js.map +1 -1
- package/dist/handlers/relationship-handlers.d.ts +0 -4
- package/dist/handlers/relationship-handlers.d.ts.map +1 -1
- package/dist/handlers/relationship-handlers.js +371 -276
- package/dist/handlers/relationship-handlers.js.map +1 -1
- package/dist/handlers/result-handlers.d.ts +3 -0
- package/dist/handlers/result-handlers.d.ts.map +1 -0
- package/dist/handlers/result-handlers.js +58 -0
- package/dist/handlers/result-handlers.js.map +1 -0
- package/dist/handlers/review-handlers.d.ts +3 -0
- package/dist/handlers/review-handlers.d.ts.map +1 -0
- package/dist/handlers/review-handlers.js +300 -0
- package/dist/handlers/review-handlers.js.map +1 -0
- package/dist/handlers/search-handlers.d.ts.map +1 -1
- package/dist/handlers/search-handlers.js +42 -113
- package/dist/handlers/search-handlers.js.map +1 -1
- package/dist/handlers/server-capabilities.d.ts +4 -13
- package/dist/handlers/server-capabilities.d.ts.map +1 -1
- package/dist/handlers/server-capabilities.js +3 -13
- package/dist/handlers/server-capabilities.js.map +1 -1
- package/dist/handlers/shared-schemas.d.ts +189 -20
- package/dist/handlers/shared-schemas.d.ts.map +1 -1
- package/dist/handlers/shared-schemas.js +270 -6
- package/dist/handlers/shared-schemas.js.map +1 -1
- package/dist/handlers/skill-registry.d.ts +29 -28
- package/dist/handlers/skill-registry.d.ts.map +1 -1
- package/dist/handlers/skill-registry.js +142 -102
- package/dist/handlers/skill-registry.js.map +1 -1
- package/dist/handlers/story-handlers.d.ts +357 -0
- package/dist/handlers/story-handlers.d.ts.map +1 -0
- package/dist/handlers/story-handlers.js +556 -0
- package/dist/handlers/story-handlers.js.map +1 -0
- package/dist/handlers/types.d.ts +18 -7
- package/dist/handlers/types.d.ts.map +1 -1
- package/dist/handlers/types.js.map +1 -1
- package/dist/handlers/validation-schemas.d.ts +0 -4
- package/dist/handlers/validation-schemas.d.ts.map +1 -1
- package/dist/handlers/validation-schemas.js +6 -19
- package/dist/handlers/validation-schemas.js.map +1 -1
- package/dist/handlers/workflow-handlers.d.ts +3 -0
- package/dist/handlers/workflow-handlers.d.ts.map +1 -0
- package/dist/handlers/workflow-handlers.js +302 -0
- package/dist/handlers/workflow-handlers.js.map +1 -0
- package/dist/http-approval.d.ts +8 -0
- package/dist/http-approval.d.ts.map +1 -0
- package/dist/http-approval.js +84 -0
- package/dist/http-approval.js.map +1 -0
- package/dist/http-auth.d.ts +53 -0
- package/dist/http-auth.d.ts.map +1 -0
- package/dist/http-auth.js +441 -0
- package/dist/http-auth.js.map +1 -0
- package/dist/http-server.d.ts +32 -0
- package/dist/http-server.d.ts.map +1 -0
- package/dist/http-server.js +284 -0
- package/dist/http-server.js.map +1 -0
- package/dist/index.js +369 -139
- package/dist/index.js.map +1 -1
- package/dist/memory-manager.d.ts +49 -26
- package/dist/memory-manager.d.ts.map +1 -1
- package/dist/memory-manager.js +443 -241
- package/dist/memory-manager.js.map +1 -1
- package/dist/project-types.d.ts +91 -0
- package/dist/project-types.d.ts.map +1 -0
- package/dist/project-types.js +2 -0
- package/dist/project-types.js.map +1 -0
- package/dist/scrivener-project.d.ts +107 -149
- package/dist/scrivener-project.d.ts.map +1 -1
- package/dist/scrivener-project.js +293 -850
- package/dist/scrivener-project.js.map +1 -1
- package/dist/services/agents/ai-collaboration.d.ts +34 -21
- package/dist/services/agents/ai-collaboration.d.ts.map +1 -1
- package/dist/services/agents/ai-collaboration.js +102 -60
- package/dist/services/agents/ai-collaboration.js.map +1 -1
- package/dist/services/ai/ai-client.d.ts +7 -15
- package/dist/services/ai/ai-client.d.ts.map +1 -1
- package/dist/services/ai/ai-client.js +139 -38
- package/dist/services/ai/ai-client.js.map +1 -1
- package/dist/services/ai/ai-writing-service.d.ts +14 -22
- package/dist/services/ai/ai-writing-service.d.ts.map +1 -1
- package/dist/services/ai/ai-writing-service.js +104 -114
- package/dist/services/ai/ai-writing-service.js.map +1 -1
- package/dist/services/ai/hms-vector-store.d.ts +26 -9
- package/dist/services/ai/hms-vector-store.d.ts.map +1 -1
- package/dist/services/ai/hms-vector-store.js +249 -38
- package/dist/services/ai/hms-vector-store.js.map +1 -1
- package/dist/services/ai/sampling-bridge.d.ts +5 -10
- package/dist/services/ai/sampling-bridge.d.ts.map +1 -1
- package/dist/services/ai/sampling-bridge.js +3 -7
- package/dist/services/ai/sampling-bridge.js.map +1 -1
- package/dist/services/ai/writing-style.d.ts +34 -0
- package/dist/services/ai/writing-style.d.ts.map +1 -0
- package/dist/services/ai/writing-style.js +94 -0
- package/dist/services/ai/writing-style.js.map +1 -0
- package/dist/services/ai/writing-suggestions.d.ts +39 -0
- package/dist/services/ai/writing-suggestions.d.ts.map +1 -0
- package/dist/services/ai/writing-suggestions.js +107 -0
- package/dist/services/ai/writing-suggestions.js.map +1 -0
- package/dist/services/analysis/nlp-sentiment-analyzer.d.ts +0 -9
- package/dist/services/analysis/nlp-sentiment-analyzer.d.ts.map +1 -1
- package/dist/services/analysis/nlp-sentiment-analyzer.js +36 -114
- package/dist/services/analysis/nlp-sentiment-analyzer.js.map +1 -1
- package/dist/services/auto-setup/ai-config-wizard.d.ts +0 -21
- package/dist/services/auto-setup/ai-config-wizard.d.ts.map +1 -1
- package/dist/services/auto-setup/ai-config-wizard.js +29 -45
- package/dist/services/auto-setup/ai-config-wizard.js.map +1 -1
- package/dist/services/auto-setup/auto-setup.d.ts +0 -12
- package/dist/services/auto-setup/auto-setup.d.ts.map +1 -1
- package/dist/services/auto-setup/auto-setup.js +31 -36
- package/dist/services/auto-setup/auto-setup.js.map +1 -1
- package/dist/services/auto-setup/first-run.d.ts +0 -12
- package/dist/services/auto-setup/first-run.d.ts.map +1 -1
- package/dist/services/auto-setup/first-run.js +25 -45
- package/dist/services/auto-setup/first-run.js.map +1 -1
- package/dist/services/auto-setup/keydb-installer.d.ts +0 -24
- package/dist/services/auto-setup/keydb-installer.d.ts.map +1 -1
- package/dist/services/auto-setup/keydb-installer.js +3 -39
- package/dist/services/auto-setup/keydb-installer.js.map +1 -1
- package/dist/services/binder-editor.d.ts +23 -0
- package/dist/services/binder-editor.d.ts.map +1 -0
- package/dist/services/binder-editor.js +287 -0
- package/dist/services/binder-editor.js.map +1 -0
- package/dist/services/compilation/ai-compiler.d.ts +24 -18
- package/dist/services/compilation/ai-compiler.d.ts.map +1 -1
- package/dist/services/compilation/ai-compiler.js +236 -155
- package/dist/services/compilation/ai-compiler.js.map +1 -1
- package/dist/services/compilation-service.d.ts +17 -14
- package/dist/services/compilation-service.d.ts.map +1 -1
- package/dist/services/compilation-service.js +128 -67
- package/dist/services/compilation-service.js.map +1 -1
- package/dist/services/compile-settings.d.ts +9 -14
- package/dist/services/compile-settings.d.ts.map +1 -1
- package/dist/services/compile-settings.js +35 -17
- package/dist/services/compile-settings.js.map +1 -1
- package/dist/services/content-credentials/archive-preparation.d.ts +3 -0
- package/dist/services/content-credentials/archive-preparation.d.ts.map +1 -0
- package/dist/services/content-credentials/archive-preparation.js +83 -0
- package/dist/services/content-credentials/archive-preparation.js.map +1 -0
- package/dist/services/content-credentials/binding.d.ts +24 -0
- package/dist/services/content-credentials/binding.d.ts.map +1 -0
- package/dist/services/content-credentials/binding.js +91 -0
- package/dist/services/content-credentials/binding.js.map +1 -0
- package/dist/services/content-credentials/crjson-assessment-assets.cjs +8 -0
- package/dist/services/content-credentials/crjson-assessment-assets.cjs.map +1 -0
- package/dist/services/content-credentials/crjson-assessment-assets.d.cts +2 -0
- package/dist/services/content-credentials/crjson-assessment-assets.d.cts.map +1 -0
- package/dist/services/content-credentials/crjson-assessment-files.d.ts +3 -0
- package/dist/services/content-credentials/crjson-assessment-files.d.ts.map +1 -0
- package/dist/services/content-credentials/crjson-assessment-files.js +38 -0
- package/dist/services/content-credentials/crjson-assessment-files.js.map +1 -0
- package/dist/services/content-credentials/crjson-assessment.d.ts +7 -0
- package/dist/services/content-credentials/crjson-assessment.d.ts.map +1 -0
- package/dist/services/content-credentials/crjson-assessment.js +187 -0
- package/dist/services/content-credentials/crjson-assessment.js.map +1 -0
- package/dist/services/content-credentials/formats.d.ts +4 -0
- package/dist/services/content-credentials/formats.d.ts.map +1 -0
- package/dist/services/content-credentials/formats.js +190 -0
- package/dist/services/content-credentials/formats.js.map +1 -0
- package/dist/services/content-credentials/key-access.d.ts +4 -0
- package/dist/services/content-credentials/key-access.d.ts.map +1 -0
- package/dist/services/content-credentials/key-access.js +118 -0
- package/dist/services/content-credentials/key-access.js.map +1 -0
- package/dist/services/content-credentials/key-policy.d.ts +24 -0
- package/dist/services/content-credentials/key-policy.d.ts.map +1 -0
- package/dist/services/content-credentials/key-policy.js +196 -0
- package/dist/services/content-credentials/key-policy.js.map +1 -0
- package/dist/services/content-credentials/limits.d.ts +10 -0
- package/dist/services/content-credentials/limits.d.ts.map +1 -0
- package/dist/services/content-credentials/limits.js +10 -0
- package/dist/services/content-credentials/limits.js.map +1 -0
- package/dist/services/content-credentials/local-files.d.ts +13 -0
- package/dist/services/content-credentials/local-files.d.ts.map +1 -0
- package/dist/services/content-credentials/local-files.js +163 -0
- package/dist/services/content-credentials/local-files.js.map +1 -0
- package/dist/services/content-credentials/process-environment.d.ts +2 -0
- package/dist/services/content-credentials/process-environment.d.ts.map +1 -0
- package/dist/services/content-credentials/process-environment.js +18 -0
- package/dist/services/content-credentials/process-environment.js.map +1 -0
- package/dist/services/content-credentials/publication-lineage.d.ts +34 -0
- package/dist/services/content-credentials/publication-lineage.d.ts.map +1 -0
- package/dist/services/content-credentials/publication-lineage.js +38 -0
- package/dist/services/content-credentials/publication-lineage.js.map +1 -0
- package/dist/services/content-credentials/sdk-worker.d.ts +15 -0
- package/dist/services/content-credentials/sdk-worker.d.ts.map +1 -0
- package/dist/services/content-credentials/sdk-worker.js +817 -0
- package/dist/services/content-credentials/sdk-worker.js.map +1 -0
- package/dist/services/content-credentials/service.d.ts +6 -0
- package/dist/services/content-credentials/service.d.ts.map +1 -0
- package/dist/services/content-credentials/service.js +438 -0
- package/dist/services/content-credentials/service.js.map +1 -0
- package/dist/services/content-credentials/trust.d.ts +3 -0
- package/dist/services/content-credentials/trust.d.ts.map +1 -0
- package/dist/services/content-credentials/trust.js +49 -0
- package/dist/services/content-credentials/trust.js.map +1 -0
- package/dist/services/content-credentials/types.d.ts +138 -0
- package/dist/services/content-credentials/types.d.ts.map +1 -0
- package/dist/services/content-credentials/types.js +2 -0
- package/dist/services/content-credentials/types.js.map +1 -0
- package/dist/services/content-credentials/worker-path.cjs +24 -0
- package/dist/services/content-credentials/worker-path.cjs.map +1 -0
- package/dist/services/content-credentials/worker-path.d.cts +4 -0
- package/dist/services/content-credentials/worker-path.d.cts.map +1 -0
- package/dist/services/document-classification.d.ts +10 -0
- package/dist/services/document-classification.d.ts.map +1 -0
- package/dist/services/document-classification.js +96 -0
- package/dist/services/document-classification.js.map +1 -0
- package/dist/services/document-indexer.d.ts +6 -31
- package/dist/services/document-indexer.d.ts.map +1 -1
- package/dist/services/document-indexer.js +15 -47
- package/dist/services/document-indexer.js.map +1 -1
- package/dist/services/document-manager-helpers.d.ts +3 -25
- package/dist/services/document-manager-helpers.d.ts.map +1 -1
- package/dist/services/document-manager-helpers.js +19 -32
- package/dist/services/document-manager-helpers.js.map +1 -1
- package/dist/services/document-manager.d.ts +27 -62
- package/dist/services/document-manager.d.ts.map +1 -1
- package/dist/services/document-manager.js +92 -598
- package/dist/services/document-manager.js.map +1 -1
- package/dist/services/document-references.d.ts +14 -14
- package/dist/services/document-references.d.ts.map +1 -1
- package/dist/services/document-references.js +75 -31
- package/dist/services/document-references.js.map +1 -1
- package/dist/services/document-tree.d.ts +38 -0
- package/dist/services/document-tree.d.ts.map +1 -0
- package/dist/services/document-tree.js +251 -0
- package/dist/services/document-tree.js.map +1 -0
- package/dist/services/document-writer.d.ts +30 -0
- package/dist/services/document-writer.d.ts.map +1 -0
- package/dist/services/document-writer.js +183 -0
- package/dist/services/document-writer.js.map +1 -0
- package/dist/services/editorial/analysis-envelope.d.ts +35 -0
- package/dist/services/editorial/analysis-envelope.d.ts.map +1 -0
- package/dist/services/editorial/analysis-envelope.js +59 -0
- package/dist/services/editorial/analysis-envelope.js.map +1 -0
- package/dist/services/editorial/change-impact.d.ts +78 -0
- package/dist/services/editorial/change-impact.d.ts.map +1 -0
- package/dist/services/editorial/change-impact.js +305 -0
- package/dist/services/editorial/change-impact.js.map +1 -0
- package/dist/services/editorial/continuity-nouns.d.ts +3 -0
- package/dist/services/editorial/continuity-nouns.d.ts.map +1 -0
- package/dist/services/editorial/continuity-nouns.js +49 -0
- package/dist/services/editorial/continuity-nouns.js.map +1 -0
- package/dist/services/editorial/continuity-service.d.ts +79 -0
- package/dist/services/editorial/continuity-service.d.ts.map +1 -0
- package/dist/services/editorial/continuity-service.js +621 -0
- package/dist/services/editorial/continuity-service.js.map +1 -0
- package/dist/services/editorial/lens-native.cjs +17 -0
- package/dist/services/editorial/lens-native.cjs.map +1 -0
- package/dist/services/editorial/lens-native.d.cts +3 -0
- package/dist/services/editorial/lens-native.d.cts.map +1 -0
- package/dist/services/editorial/mutation-coordinator.d.ts +170 -0
- package/dist/services/editorial/mutation-coordinator.d.ts.map +1 -0
- package/dist/services/editorial/mutation-coordinator.js +1300 -0
- package/dist/services/editorial/mutation-coordinator.js.map +1 -0
- package/dist/services/editorial/mutation-retention.d.ts +22 -0
- package/dist/services/editorial/mutation-retention.d.ts.map +1 -0
- package/dist/services/editorial/mutation-retention.js +142 -0
- package/dist/services/editorial/mutation-retention.js.map +1 -0
- package/dist/services/editorial/narrative-analysis.d.ts +175 -0
- package/dist/services/editorial/narrative-analysis.d.ts.map +1 -0
- package/dist/services/editorial/narrative-analysis.js +448 -0
- package/dist/services/editorial/narrative-analysis.js.map +1 -0
- package/dist/services/editorial/narrative-context.d.ts +28 -0
- package/dist/services/editorial/narrative-context.d.ts.map +1 -0
- package/dist/services/editorial/narrative-context.js +259 -0
- package/dist/services/editorial/narrative-context.js.map +1 -0
- package/dist/services/editorial/narrative-worker.d.ts +13 -0
- package/dist/services/editorial/narrative-worker.d.ts.map +1 -0
- package/dist/services/editorial/narrative-worker.js +143 -0
- package/dist/services/editorial/narrative-worker.js.map +1 -0
- package/dist/services/editorial/object-coreference.d.ts +2 -0
- package/dist/services/editorial/object-coreference.d.ts.map +1 -0
- package/dist/services/editorial/object-coreference.js +34 -0
- package/dist/services/editorial/object-coreference.js.map +1 -0
- package/dist/services/editorial/passage-search.d.ts +70 -0
- package/dist/services/editorial/passage-search.d.ts.map +1 -0
- package/dist/services/editorial/passage-search.js +770 -0
- package/dist/services/editorial/passage-search.js.map +1 -0
- package/dist/services/editorial/persistent-store.d.ts +44 -0
- package/dist/services/editorial/persistent-store.d.ts.map +1 -0
- package/dist/services/editorial/persistent-store.js +194 -0
- package/dist/services/editorial/persistent-store.js.map +1 -0
- package/dist/services/editorial/project-identity.d.ts +3 -0
- package/dist/services/editorial/project-identity.d.ts.map +1 -0
- package/dist/services/editorial/project-identity.js +16 -0
- package/dist/services/editorial/project-identity.js.map +1 -0
- package/dist/services/editorial/project-registry.d.ts +7 -0
- package/dist/services/editorial/project-registry.d.ts.map +1 -0
- package/dist/services/editorial/project-registry.js +65 -0
- package/dist/services/editorial/project-registry.js.map +1 -0
- package/dist/services/editorial/project-source.d.ts +25 -0
- package/dist/services/editorial/project-source.d.ts.map +1 -0
- package/dist/services/editorial/project-source.js +149 -0
- package/dist/services/editorial/project-source.js.map +1 -0
- package/dist/services/editorial/provenance.d.ts +10 -0
- package/dist/services/editorial/provenance.d.ts.map +1 -0
- package/dist/services/editorial/provenance.js +92 -0
- package/dist/services/editorial/provenance.js.map +1 -0
- package/dist/services/editorial/report-transport.d.ts +15 -0
- package/dist/services/editorial/report-transport.d.ts.map +1 -0
- package/dist/services/editorial/report-transport.js +166 -0
- package/dist/services/editorial/report-transport.js.map +1 -0
- package/dist/services/editorial/review-service.d.ts +145 -0
- package/dist/services/editorial/review-service.d.ts.map +1 -0
- package/dist/services/editorial/review-service.js +648 -0
- package/dist/services/editorial/review-service.js.map +1 -0
- package/dist/services/editorial/series-bible.d.ts +82 -0
- package/dist/services/editorial/series-bible.d.ts.map +1 -0
- package/dist/services/editorial/series-bible.js +471 -0
- package/dist/services/editorial/series-bible.js.map +1 -0
- package/dist/services/editorial/types.d.ts +53 -0
- package/dist/services/editorial/types.d.ts.map +1 -0
- package/dist/services/editorial/types.js +2 -0
- package/dist/services/editorial/types.js.map +1 -0
- package/dist/services/editorial/workflow-service.d.ts +132 -0
- package/dist/services/editorial/workflow-service.d.ts.map +1 -0
- package/dist/services/editorial/workflow-service.js +509 -0
- package/dist/services/editorial/workflow-service.js.map +1 -0
- package/dist/services/enhancements/ai-content-enhancer.d.ts +54 -7
- package/dist/services/enhancements/ai-content-enhancer.d.ts.map +1 -1
- package/dist/services/enhancements/ai-content-enhancer.js +123 -54
- package/dist/services/enhancements/ai-content-enhancer.js.map +1 -1
- package/dist/services/export/epub.d.ts +9 -0
- package/dist/services/export/epub.d.ts.map +1 -0
- package/dist/services/export/epub.js +177 -0
- package/dist/services/export/epub.js.map +1 -0
- package/dist/services/export/export-presets.d.ts +47 -0
- package/dist/services/export/export-presets.d.ts.map +1 -0
- package/dist/services/export/export-presets.js +144 -0
- package/dist/services/export/export-presets.js.map +1 -0
- package/dist/services/export/language.d.ts +2 -0
- package/dist/services/export/language.d.ts.map +1 -0
- package/dist/services/export/language.js +13 -0
- package/dist/services/export/language.js.map +1 -0
- package/dist/services/export/manuscript-exporters.d.ts +9 -8
- package/dist/services/export/manuscript-exporters.d.ts.map +1 -1
- package/dist/services/export/manuscript-exporters.js +174 -62
- package/dist/services/export/manuscript-exporters.js.map +1 -1
- package/dist/services/memory/hhm/benchmark.js +3 -3
- package/dist/services/memory/hhm/benchmark.js.map +1 -1
- package/dist/services/memory/hhm/document-index.d.ts +35 -0
- package/dist/services/memory/hhm/document-index.d.ts.map +1 -0
- package/dist/services/memory/hhm/document-index.js +410 -0
- package/dist/services/memory/hhm/document-index.js.map +1 -0
- package/dist/services/memory/hhm/holographic-memory-system.d.ts +26 -5
- package/dist/services/memory/hhm/holographic-memory-system.d.ts.map +1 -1
- package/dist/services/memory/hhm/holographic-memory-system.js +443 -223
- package/dist/services/memory/hhm/holographic-memory-system.js.map +1 -1
- package/dist/services/memory/hhm/native-loader.cjs +20 -0
- package/dist/services/memory/hhm/native-loader.cjs.map +1 -0
- package/dist/services/memory/hhm/native-loader.d.cts +6 -0
- package/dist/services/memory/hhm/native-loader.d.cts.map +1 -0
- package/dist/services/memory/project-memory-contract.d.ts +124 -0
- package/dist/services/memory/project-memory-contract.d.ts.map +1 -0
- package/dist/services/memory/project-memory-contract.js +226 -0
- package/dist/services/memory/project-memory-contract.js.map +1 -0
- package/dist/services/memory/project-memory-database.d.ts +5 -0
- package/dist/services/memory/project-memory-database.d.ts.map +1 -0
- package/dist/services/memory/project-memory-database.js +178 -0
- package/dist/services/memory/project-memory-database.js.map +1 -0
- package/dist/services/memory/warm-models.d.ts +9 -0
- package/dist/services/memory/warm-models.d.ts.map +1 -0
- package/dist/services/memory/warm-models.js +107 -0
- package/dist/services/memory/warm-models.js.map +1 -0
- package/dist/services/metadata-manager.d.ts +3 -47
- package/dist/services/metadata-manager.d.ts.map +1 -1
- package/dist/services/metadata-manager.js +27 -90
- package/dist/services/metadata-manager.js.map +1 -1
- package/dist/services/parsers/rtf-handler.d.ts +3 -54
- package/dist/services/parsers/rtf-handler.d.ts.map +1 -1
- package/dist/services/parsers/rtf-handler.js +102 -422
- package/dist/services/parsers/rtf-handler.js.map +1 -1
- package/dist/services/parsers/rtf-splice.d.ts +1 -20
- package/dist/services/parsers/rtf-splice.d.ts.map +1 -1
- package/dist/services/parsers/rtf-splice.js +104 -163
- package/dist/services/parsers/rtf-splice.js.map +1 -1
- package/dist/services/parsers/rtf-text.d.ts +12 -0
- package/dist/services/parsers/rtf-text.d.ts.map +1 -0
- package/dist/services/parsers/rtf-text.js +240 -0
- package/dist/services/parsers/rtf-text.js.map +1 -0
- package/dist/services/parsers/rtf-validation.d.ts +9 -0
- package/dist/services/parsers/rtf-validation.d.ts.map +1 -0
- package/dist/services/parsers/rtf-validation.js +85 -0
- package/dist/services/parsers/rtf-validation.js.map +1 -0
- package/dist/services/personalization/personalization-service.d.ts +0 -15
- package/dist/services/personalization/personalization-service.d.ts.map +1 -1
- package/dist/services/personalization/personalization-service.js +8 -16
- package/dist/services/personalization/personalization-service.js.map +1 -1
- package/dist/services/personalization/types.d.ts +0 -9
- package/dist/services/personalization/types.d.ts.map +1 -1
- package/dist/services/personalization/types.js +1 -9
- package/dist/services/personalization/types.js.map +1 -1
- package/dist/services/project-content.d.ts +54 -0
- package/dist/services/project-content.d.ts.map +1 -0
- package/dist/services/project-content.js +165 -0
- package/dist/services/project-content.js.map +1 -0
- package/dist/services/project-context-bridge.d.ts +33 -0
- package/dist/services/project-context-bridge.d.ts.map +1 -0
- package/dist/services/project-context-bridge.js +155 -0
- package/dist/services/project-context-bridge.js.map +1 -0
- package/dist/services/project-document-info.d.ts +30 -0
- package/dist/services/project-document-info.d.ts.map +1 -0
- package/dist/services/project-document-info.js +125 -0
- package/dist/services/project-document-info.js.map +1 -0
- package/dist/services/project-exporter.d.ts +47 -0
- package/dist/services/project-exporter.d.ts.map +1 -0
- package/dist/services/project-exporter.js +520 -0
- package/dist/services/project-exporter.js.map +1 -0
- package/dist/services/project-loader.d.ts +15 -28
- package/dist/services/project-loader.d.ts.map +1 -1
- package/dist/services/project-loader.js +136 -68
- package/dist/services/project-loader.js.map +1 -1
- package/dist/services/project-metadata-editor.d.ts +43 -0
- package/dist/services/project-metadata-editor.d.ts.map +1 -0
- package/dist/services/project-metadata-editor.js +146 -0
- package/dist/services/project-metadata-editor.js.map +1 -0
- package/dist/services/project-reports.d.ts +32 -0
- package/dist/services/project-reports.d.ts.map +1 -0
- package/dist/services/project-reports.js +107 -0
- package/dist/services/project-reports.js.map +1 -0
- package/dist/services/project-snapshots.d.ts +39 -0
- package/dist/services/project-snapshots.d.ts.map +1 -0
- package/dist/services/project-snapshots.js +128 -0
- package/dist/services/project-snapshots.js.map +1 -0
- package/dist/services/project-trash.d.ts +19 -0
- package/dist/services/project-trash.d.ts.map +1 -0
- package/dist/services/project-trash.js +64 -0
- package/dist/services/project-trash.js.map +1 -0
- package/dist/services/project-writer.d.ts +39 -0
- package/dist/services/project-writer.d.ts.map +1 -0
- package/dist/services/project-writer.js +163 -0
- package/dist/services/project-writer.js.map +1 -0
- package/dist/services/queue/job-queue.d.ts +107 -39
- package/dist/services/queue/job-queue.d.ts.map +1 -1
- package/dist/services/queue/job-queue.js +719 -355
- package/dist/services/queue/job-queue.js.map +1 -1
- package/dist/services/queue/keydb-detector.d.ts +1 -10
- package/dist/services/queue/keydb-detector.d.ts.map +1 -1
- package/dist/services/queue/keydb-detector.js +51 -30
- package/dist/services/queue/keydb-detector.js.map +1 -1
- package/dist/services/queue/project-scope.d.ts +19 -0
- package/dist/services/queue/project-scope.d.ts.map +1 -0
- package/dist/services/queue/project-scope.js +55 -0
- package/dist/services/queue/project-scope.js.map +1 -0
- package/dist/services/relationship-engine.d.ts +92 -59
- package/dist/services/relationship-engine.d.ts.map +1 -1
- package/dist/services/relationship-engine.js +230 -355
- package/dist/services/relationship-engine.js.map +1 -1
- package/dist/services/snapshots.d.ts +2 -9
- package/dist/services/snapshots.d.ts.map +1 -1
- package/dist/services/snapshots.js +195 -87
- package/dist/services/snapshots.js.map +1 -1
- package/dist/services/web-content-parser.d.ts +0 -60
- package/dist/services/web-content-parser.d.ts.map +1 -1
- package/dist/services/web-content-parser.js +10 -91
- package/dist/services/web-content-parser.js.map +1 -1
- package/dist/setup/clients.d.ts +56 -0
- package/dist/setup/clients.d.ts.map +1 -0
- package/dist/setup/clients.js +282 -0
- package/dist/setup/clients.js.map +1 -0
- package/dist/setup/config-file.d.ts +13 -0
- package/dist/setup/config-file.d.ts.map +1 -0
- package/dist/setup/config-file.js +158 -0
- package/dist/setup/config-file.js.map +1 -0
- package/dist/setup/doctor.d.ts +14 -0
- package/dist/setup/doctor.d.ts.map +1 -0
- package/dist/setup/doctor.js +217 -0
- package/dist/setup/doctor.js.map +1 -0
- package/dist/setup/first-session.d.ts +15 -0
- package/dist/setup/first-session.d.ts.map +1 -0
- package/dist/setup/first-session.js +88 -0
- package/dist/setup/first-session.js.map +1 -0
- package/dist/setup/links.d.ts +14 -0
- package/dist/setup/links.d.ts.map +1 -0
- package/dist/setup/links.js +18 -0
- package/dist/setup/links.js.map +1 -0
- package/dist/setup/redaction.d.ts +2 -0
- package/dist/setup/redaction.d.ts.map +1 -0
- package/dist/setup/redaction.js +2 -0
- package/dist/setup/redaction.js.map +1 -0
- package/dist/setup/runtime.d.ts +37 -0
- package/dist/setup/runtime.d.ts.map +1 -0
- package/dist/setup/runtime.js +173 -0
- package/dist/setup/runtime.js.map +1 -0
- package/dist/setup/toml-config.d.ts +25 -0
- package/dist/setup/toml-config.d.ts.map +1 -0
- package/dist/setup/toml-config.js +193 -0
- package/dist/setup/toml-config.js.map +1 -0
- package/dist/sync/context-sync.d.ts +0 -48
- package/dist/sync/context-sync.d.ts.map +1 -1
- package/dist/sync/context-sync.js +10 -69
- package/dist/sync/context-sync.js.map +1 -1
- package/dist/types/database.d.ts.map +1 -1
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -3
- package/dist/types/index.js.map +1 -1
- package/dist/types/internal.d.ts +35 -22
- package/dist/types/internal.d.ts.map +1 -1
- package/dist/types/internal.js.map +1 -1
- package/dist/utils/adaptive-timeout.d.ts +0 -18
- package/dist/utils/adaptive-timeout.d.ts.map +1 -1
- package/dist/utils/adaptive-timeout.js +1 -27
- package/dist/utils/adaptive-timeout.js.map +1 -1
- package/dist/utils/binder-tree.d.ts +10 -0
- package/dist/utils/binder-tree.d.ts.map +1 -0
- package/dist/utils/binder-tree.js +31 -0
- package/dist/utils/binder-tree.js.map +1 -0
- package/dist/utils/common.d.ts +29 -45
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/common.js +66 -98
- package/dist/utils/common.js.map +1 -1
- package/dist/utils/condition-waiter.d.ts.map +1 -1
- package/dist/utils/condition-waiter.js.map +1 -1
- package/dist/utils/database.d.ts +3 -48
- package/dist/utils/database.d.ts.map +1 -1
- package/dist/utils/database.js +1 -74
- package/dist/utils/database.js.map +1 -1
- package/dist/utils/document-operations.d.ts +6 -21
- package/dist/utils/document-operations.d.ts.map +1 -1
- package/dist/utils/document-operations.js +146 -320
- package/dist/utils/document-operations.js.map +1 -1
- package/dist/utils/env-config.d.ts +0 -6
- package/dist/utils/env-config.d.ts.map +1 -1
- package/dist/utils/env-config.js +7 -15
- package/dist/utils/env-config.js.map +1 -1
- package/dist/utils/json-parse.d.ts +2 -5
- package/dist/utils/json-parse.d.ts.map +1 -1
- package/dist/utils/json-parse.js +10 -15
- package/dist/utils/json-parse.js.map +1 -1
- package/dist/utils/json-schema-validator.d.ts +3 -0
- package/dist/utils/json-schema-validator.d.ts.map +1 -0
- package/dist/utils/json-schema-validator.js +15 -0
- package/dist/utils/json-schema-validator.js.map +1 -0
- package/dist/utils/markup.d.ts +3 -0
- package/dist/utils/markup.d.ts.map +1 -0
- package/dist/utils/markup.js +12 -0
- package/dist/utils/markup.js.map +1 -0
- package/dist/utils/network-resilience.d.ts +0 -6
- package/dist/utils/network-resilience.d.ts.map +1 -1
- package/dist/utils/network-resilience.js +0 -13
- package/dist/utils/network-resilience.js.map +1 -1
- package/dist/utils/operation-metrics.d.ts +1 -13
- package/dist/utils/operation-metrics.d.ts.map +1 -1
- package/dist/utils/operation-metrics.js +1 -13
- package/dist/utils/operation-metrics.js.map +1 -1
- package/dist/utils/permission-manager.d.ts +1 -16
- package/dist/utils/permission-manager.d.ts.map +1 -1
- package/dist/utils/permission-manager.js +10 -32
- package/dist/utils/permission-manager.js.map +1 -1
- package/dist/utils/predictive-cache.d.ts +6 -32
- package/dist/utils/predictive-cache.d.ts.map +1 -1
- package/dist/utils/predictive-cache.js +77 -101
- package/dist/utils/predictive-cache.js.map +1 -1
- package/dist/utils/project-utils.d.ts +0 -12
- package/dist/utils/project-utils.d.ts.map +1 -1
- package/dist/utils/project-utils.js +17 -27
- package/dist/utils/project-utils.js.map +1 -1
- package/dist/utils/prompt-input.d.ts +0 -7
- package/dist/utils/prompt-input.d.ts.map +1 -1
- package/dist/utils/prompt-input.js +1 -7
- package/dist/utils/prompt-input.js.map +1 -1
- package/dist/utils/redaction.d.ts +3 -0
- package/dist/utils/redaction.d.ts.map +1 -0
- package/dist/utils/redaction.js +23 -0
- package/dist/utils/redaction.js.map +1 -0
- package/dist/utils/scrivener-app.d.ts +0 -14
- package/dist/utils/scrivener-app.d.ts.map +1 -1
- package/dist/utils/scrivener-app.js +2 -13
- package/dist/utils/scrivener-app.js.map +1 -1
- package/dist/utils/scrivener-utils.d.ts +31 -106
- package/dist/utils/scrivener-utils.d.ts.map +1 -1
- package/dist/utils/scrivener-utils.js +124 -142
- package/dist/utils/scrivener-utils.js.map +1 -1
- package/dist/utils/scrivener-xml.d.ts +14 -0
- package/dist/utils/scrivener-xml.d.ts.map +1 -0
- package/dist/utils/scrivener-xml.js +73 -0
- package/dist/utils/scrivener-xml.js.map +1 -0
- package/dist/utils/shared-patterns.d.ts +2 -34
- package/dist/utils/shared-patterns.d.ts.map +1 -1
- package/dist/utils/shared-patterns.js +2 -96
- package/dist/utils/shared-patterns.js.map +1 -1
- package/dist/utils/sqlite.d.ts +18 -0
- package/dist/utils/sqlite.d.ts.map +1 -0
- package/dist/utils/sqlite.js +96 -0
- package/dist/utils/sqlite.js.map +1 -0
- package/dist/utils/text-diff.d.ts +0 -9
- package/dist/utils/text-diff.d.ts.map +1 -1
- package/dist/utils/text-diff.js +1 -8
- package/dist/utils/text-diff.js.map +1 -1
- package/dist/utils/text-metrics.d.ts +3 -29
- package/dist/utils/text-metrics.d.ts.map +1 -1
- package/dist/utils/text-metrics.js +28 -57
- package/dist/utils/text-metrics.js.map +1 -1
- package/native/c2pa-binding/Cargo.lock +3507 -0
- package/native/c2pa-binding/Cargo.toml +31 -0
- package/native/c2pa-binding/README.md +49 -0
- package/native/c2pa-binding/THIRD_PARTY_LICENSES.txt +12692 -0
- package/native/c2pa-binding/c2pa-0.91.7.crate +0 -0
- package/native/c2pa-binding/osv-scanner.toml +14 -0
- package/native/c2pa-binding/sdk-patches.json +29 -0
- package/native/c2pa-binding/src/lib.rs +247 -0
- package/package.json +152 -132
- package/scripts/benchmark-editorial.mjs +427 -0
- package/scripts/benchmark-hms-fallback.ts +60 -0
- package/scripts/benchmark-mutation-history.ts +316 -0
- package/scripts/benchmark-passage-scale.ts +476 -0
- package/scripts/bootstrap-mac.sh +149 -0
- package/scripts/build-c2pa-binding.mjs +139 -0
- package/scripts/build-mcpb.sh +100 -0
- package/scripts/check-c2pa-binding.mjs +110 -0
- package/scripts/check-c2pa-compatibility.mjs +900 -0
- package/scripts/check-c2pa-supply-chain.mjs +688 -0
- package/scripts/check-container-smoke.mjs +360 -0
- package/scripts/check-dashboard.mjs +222 -0
- package/scripts/check-epub-export.mjs +166 -0
- package/scripts/check-export-rendering.mjs +333 -0
- package/scripts/check-hms-compatibility.mjs +395 -0
- package/scripts/check-narrative-lens.mjs +67 -0
- package/scripts/check-native-rtf.mjs +120 -0
- package/scripts/check-output-conformance.mjs +1450 -156
- package/scripts/check-project-queue-isolation.mjs +268 -0
- package/scripts/check-redis-backend.mjs +669 -0
- package/scripts/check-release-candidate.mjs +511 -0
- package/scripts/check-release-smoke.mjs +1704 -0
- package/scripts/check-runtime-policy.mjs +74 -0
- package/scripts/check-save-roundtrip.mjs +135 -0
- package/scripts/check-tool-registry.mjs +88 -84
- package/scripts/check-warm-models.mjs +124 -0
- package/scripts/codex-launcher.mjs +7 -0
- package/scripts/count-workflow-tokens.py +41 -0
- package/scripts/coverage-ledger.mjs +867 -0
- package/scripts/create-c2pa-fixtures.mjs +926 -0
- package/scripts/create-c2pa-inventory.mjs +1099 -0
- package/scripts/evaluate-editorial.mjs +311 -0
- package/scripts/generate-continuity-nouns.mjs +126 -0
- package/scripts/generate-narrative-annotation-schema.mjs +163 -0
- package/scripts/lib/benchmark-process-tree.ts +84 -0
- package/scripts/measure-token-workflow.mjs +215 -0
- package/scripts/postinstall.cjs +46 -66
- package/scripts/prepare.cjs +25 -0
- package/scripts/setup-advanced.cjs +9 -12
- package/scripts/stage-bundle.sh +116 -0
- package/scripts/tests/test_update_comparison.py +82 -0
- package/scripts/uninstall.js +0 -3
- package/scripts/update-comparison.py +147 -0
- package/vendor/deepmerge/LICENSE +21 -0
- package/vendor/deepmerge/README.md +18 -0
- package/vendor/deepmerge/index.cjs +158 -0
- package/vendor/deepmerge/index.d.ts +24 -0
- package/vendor/deepmerge/package.json +9 -0
- package/dist/core/config-manager.d.ts +0 -222
- package/dist/core/config-manager.d.ts.map +0 -1
- package/dist/core/config-manager.js +0 -598
- package/dist/core/config-manager.js.map +0 -1
- package/dist/handlers/database/connection-pool-advanced.d.ts +0 -121
- package/dist/handlers/database/connection-pool-advanced.d.ts.map +0 -1
- package/dist/handlers/database/connection-pool-advanced.js +0 -476
- package/dist/handlers/database/connection-pool-advanced.js.map +0 -1
- package/dist/handlers/database/connection-pool.d.ts +0 -87
- package/dist/handlers/database/connection-pool.d.ts.map +0 -1
- package/dist/handlers/database/connection-pool.js +0 -263
- package/dist/handlers/database/connection-pool.js.map +0 -1
- package/dist/handlers/database/neo4j-connection-pool.d.ts +0 -112
- package/dist/handlers/database/neo4j-connection-pool.d.ts.map +0 -1
- package/dist/handlers/database/neo4j-connection-pool.js +0 -377
- package/dist/handlers/database/neo4j-connection-pool.js.map +0 -1
- package/dist/handlers/database/neo4j-optimizer.d.ts +0 -122
- package/dist/handlers/database/neo4j-optimizer.d.ts.map +0 -1
- package/dist/handlers/database/neo4j-optimizer.js +0 -410
- package/dist/handlers/database/neo4j-optimizer.js.map +0 -1
- package/dist/handlers/database/retrieved-context.d.ts +0 -12
- package/dist/handlers/database/retrieved-context.d.ts.map +0 -1
- package/dist/handlers/database/retrieved-context.js +0 -16
- package/dist/handlers/database/retrieved-context.js.map +0 -1
- package/dist/handlers/database/semantic-database-layer.d.ts +0 -141
- package/dist/handlers/database/semantic-database-layer.d.ts.map +0 -1
- package/dist/handlers/database/semantic-database-layer.js +0 -589
- package/dist/handlers/database/semantic-database-layer.js.map +0 -1
- package/dist/handlers/database/sqlite-optimizer.d.ts +0 -93
- package/dist/handlers/database/sqlite-optimizer.d.ts.map +0 -1
- package/dist/handlers/database/sqlite-optimizer.js +0 -320
- package/dist/handlers/database/sqlite-optimizer.js.map +0 -1
- package/dist/handlers/database/story-intelligence.d.ts +0 -88
- package/dist/handlers/database/story-intelligence.d.ts.map +0 -1
- package/dist/handlers/database/story-intelligence.js +0 -477
- package/dist/handlers/database/story-intelligence.js.map +0 -1
- package/dist/handlers/database/writing-analytics.d.ts +0 -95
- package/dist/handlers/database/writing-analytics.d.ts.map +0 -1
- package/dist/handlers/database/writing-analytics.js +0 -414
- package/dist/handlers/database/writing-analytics.js.map +0 -1
- package/dist/services/ai/ai-semantic-extractor.d.ts +0 -38
- package/dist/services/ai/ai-semantic-extractor.d.ts.map +0 -1
- package/dist/services/ai/ai-semantic-extractor.js +0 -130
- package/dist/services/ai/ai-semantic-extractor.js.map +0 -1
- package/dist/services/enhancements/content-enhancer.d.ts +0 -94
- package/dist/services/enhancements/content-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/content-enhancer.js +0 -234
- package/dist/services/enhancements/content-enhancer.js.map +0 -1
- package/dist/services/enhancements/enhancement-templates.d.ts +0 -25
- package/dist/services/enhancements/enhancement-templates.d.ts.map +0 -1
- package/dist/services/enhancements/enhancement-templates.js +0 -373
- package/dist/services/enhancements/enhancement-templates.js.map +0 -1
- package/dist/services/enhancements/enhancers/clarity-enhancer.d.ts +0 -33
- package/dist/services/enhancements/enhancers/clarity-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/clarity-enhancer.js +0 -489
- package/dist/services/enhancements/enhancers/clarity-enhancer.js.map +0 -1
- package/dist/services/enhancements/enhancers/description-enhancer.d.ts +0 -23
- package/dist/services/enhancements/enhancers/description-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/description-enhancer.js +0 -378
- package/dist/services/enhancements/enhancers/description-enhancer.js.map +0 -1
- package/dist/services/enhancements/enhancers/dialogue-enhancer.d.ts +0 -7
- package/dist/services/enhancements/enhancers/dialogue-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/dialogue-enhancer.js +0 -58
- package/dist/services/enhancements/enhancers/dialogue-enhancer.js.map +0 -1
- package/dist/services/enhancements/enhancers/emotion-enhancer.d.ts +0 -12
- package/dist/services/enhancements/enhancers/emotion-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/emotion-enhancer.js +0 -177
- package/dist/services/enhancements/enhancers/emotion-enhancer.js.map +0 -1
- package/dist/services/enhancements/enhancers/index.d.ts +0 -7
- package/dist/services/enhancements/enhancers/index.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/index.js +0 -8
- package/dist/services/enhancements/enhancers/index.js.map +0 -1
- package/dist/services/enhancements/enhancers/pacing-enhancer.d.ts +0 -11
- package/dist/services/enhancements/enhancers/pacing-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/pacing-enhancer.js +0 -164
- package/dist/services/enhancements/enhancers/pacing-enhancer.js.map +0 -1
- package/dist/services/enhancements/enhancers/style-enhancer.d.ts +0 -26
- package/dist/services/enhancements/enhancers/style-enhancer.d.ts.map +0 -1
- package/dist/services/enhancements/enhancers/style-enhancer.js +0 -374
- package/dist/services/enhancements/enhancers/style-enhancer.js.map +0 -1
- package/dist/services/enhancements/filter-words.d.ts +0 -15
- package/dist/services/enhancements/filter-words.d.ts.map +0 -1
- package/dist/services/enhancements/filter-words.js +0 -158
- package/dist/services/enhancements/filter-words.js.map +0 -1
- package/dist/services/queue/memory-redis.d.ts +0 -59
- package/dist/services/queue/memory-redis.d.ts.map +0 -1
- package/dist/services/queue/memory-redis.js +0 -547
- package/dist/services/queue/memory-redis.js.map +0 -1
- package/dist/types/enhancements.d.ts +0 -74
- package/dist/types/enhancements.d.ts.map +0 -1
- package/dist/types/enhancements.js +0 -5
- package/dist/types/enhancements.js.map +0 -1
- package/dist/utils/adaptive-memory.d.ts +0 -141
- package/dist/utils/adaptive-memory.d.ts.map +0 -1
- package/dist/utils/adaptive-memory.js +0 -577
- package/dist/utils/adaptive-memory.js.map +0 -1
- package/dist/utils/advanced-performance.d.ts +0 -143
- package/dist/utils/advanced-performance.d.ts.map +0 -1
- package/dist/utils/advanced-performance.js +0 -560
- package/dist/utils/advanced-performance.js.map +0 -1
- package/dist/utils/object-pool.d.ts +0 -143
- package/dist/utils/object-pool.d.ts.map +0 -1
- package/dist/utils/object-pool.js +0 -575
- package/dist/utils/object-pool.js.map +0 -1
- package/dist/utils/observability.d.ts +0 -199
- package/dist/utils/observability.d.ts.map +0 -1
- package/dist/utils/observability.js +0 -548
- package/dist/utils/observability.js.map +0 -1
- package/dist/utils/simd-text-processor.d.ts +0 -78
- package/dist/utils/simd-text-processor.d.ts.map +0 -1
- package/dist/utils/simd-text-processor.js +0 -302
- package/dist/utils/simd-text-processor.js.map +0 -1
- package/dist/utils/style-guide-formatter.d.ts +0 -29
- package/dist/utils/style-guide-formatter.d.ts.map +0 -1
- package/dist/utils/style-guide-formatter.js +0 -121
- package/dist/utils/style-guide-formatter.js.map +0 -1
- package/scripts/setup.cjs +0 -136
- package/scripts/setup.js +0 -117
package/README.md
CHANGED
|
@@ -1,46 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/writerslogic/scrivener-mcp/main/assets/logo-white.svg"/>
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/writerslogic/scrivener-mcp/main/assets/logo-black.svg"/>
|
|
5
|
-
<img src="https://raw.githubusercontent.com/writerslogic/scrivener-mcp/main/assets/logo-black.svg" alt="Scrivener MCP Logo" width="200"/>
|
|
6
|
-
</picture>
|
|
7
|
-
</p>
|
|
1
|
+
### Scrivener MCP
|
|
8
2
|
|
|
9
|
-
<
|
|
3
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="assets/logo-white.svg"><img align="left" width="96" src="assets/logo-black.svg" alt="Scrivener MCP logo"></picture>
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
MCP server for Scrivener: connect your novels, screenplays, and manuscripts to Claude, ChatGPT, and
|
|
6
|
+
any AI assistant, with document management, writing analysis, content enhancement, offline semantic
|
|
7
|
+
search, and character/plot tracking.
|
|
14
8
|
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<a href="https://github.com/writerslogic/scrivener-mcp/issues">
|
|
29
|
-
<img src="https://img.shields.io/github/issues/writerslogic/scrivener-mcp" alt="issues"/>
|
|
30
|
-
</a>
|
|
31
|
-
<a href="https://github.com/writerslogic/scrivener-mcp/stargazers">
|
|
32
|
-
<img src="https://img.shields.io/github/stars/writerslogic/scrivener-mcp" alt="stars"/>
|
|
33
|
-
</a>
|
|
34
|
-
<a href="https://mseep.ai/app/writerslogic-scrivener-mcp">
|
|
35
|
-
<img src="https://img.shields.io/badge/MseeP-verified-green.svg" alt="MseeP verified"/>
|
|
36
|
-
</a>
|
|
37
|
-
<a href="https://glama.ai/mcp/servers/writerslogic/scrivener-mcp">
|
|
38
|
-
<img src="https://glama.ai/mcp/servers/writerslogic/scrivener-mcp/badges/score.svg" alt="scrivener-mcp MCP server score"/>
|
|
39
|
-
</a>
|
|
40
|
-
</p>
|
|
9
|
+
<br clear="left">
|
|
10
|
+
|
|
11
|
+
Start with the [safe first session](docs/getting-started.md#first-successful-editorial-session),
|
|
12
|
+
then use [editorial review and workflows](docs/editorial-workflows.md),
|
|
13
|
+
[export presets](docs/export-presets.md), [Content Credentials](docs/content-credentials.md), or the
|
|
14
|
+
[Windows guide](docs/install-windows.md). [Compatibility evidence](docs/SCRIVENER_COMPATIBILITY.md)
|
|
15
|
+
records actual coverage and limits.
|
|
16
|
+
|
|
17
|
+
[](https://github.com/writerslogic/scrivener-mcp/actions/workflows/ci.yml)
|
|
18
|
+
[](https://github.com/writerslogic/scrivener-mcp/actions/workflows/codeql.yml)
|
|
19
|
+
[](https://securityscorecards.dev/viewer/?uri=github.com/writerslogic/scrivener-mcp)
|
|
20
|
+
[](https://www.npmjs.com/package/scrivener-mcp)
|
|
21
|
+
[](https://github.com/writerslogic/scrivener-mcp/blob/main/LICENSE)
|
|
41
22
|
|
|
42
23
|
<p align="center">
|
|
43
24
|
<a href="#install">Install</a> ·
|
|
25
|
+
<a href="#mac-app-draftbridge-for-scrivener-499">Mac App</a> ·
|
|
44
26
|
<a href="#what-you-can-do">What You Can Do</a> ·
|
|
45
27
|
<a href="#all-tools">All Tools</a> ·
|
|
46
28
|
<a href="#guides">Guides</a> ·
|
|
@@ -49,362 +31,498 @@
|
|
|
49
31
|
|
|
50
32
|
---
|
|
51
33
|
|
|
52
|
-
Scrivener MCP lets your AI assistant open, read, edit, analyze, and search your Scrivener projects
|
|
34
|
+
Scrivener MCP lets your AI assistant open, read, edit, analyze, and search your Scrivener projects
|
|
35
|
+
directly. No exporting, no copy-pasting text back and forth. Tell it which project to open and start
|
|
36
|
+
working.
|
|
53
37
|
|
|
54
38
|
> **You:** Open my novel and analyze the pacing in Chapter 12.
|
|
55
39
|
>
|
|
56
|
-
> **Claude:**
|
|
57
|
-
>
|
|
58
|
-
>
|
|
59
|
-
> the
|
|
60
|
-
> paragraph and moving the backstory to Chapter 8 where Elena is first introduced.
|
|
40
|
+
> **Claude:** _Opens the .scriv project, reads Chapter 12, runs pacing analysis._ The first half
|
|
41
|
+
> moves well, but the middle stalls — a three-page internal monologue starting at paragraph 14 kills
|
|
42
|
+
> the momentum you built in the confrontation scene. Consider cutting it to a paragraph and moving
|
|
43
|
+
> the backstory to Chapter 8.
|
|
61
44
|
|
|
62
|
-
Works with [Claude Desktop](https://claude.ai/download),
|
|
45
|
+
Works with [Claude Desktop](https://claude.ai/download),
|
|
46
|
+
[Claude Code](https://docs.anthropic.com/en/docs/claude-code), VS Code (Copilot/Continue), Cursor,
|
|
47
|
+
and any MCP-compatible client. Reads Scrivener 3 projects on the
|
|
48
|
+
[supported platforms](#requirements). Listed on the
|
|
49
|
+
[official MCP Registry](https://registry.modelcontextprotocol.io) as
|
|
50
|
+
`io.github.writerslogic/scrivener-mcp`.
|
|
51
|
+
|
|
52
|
+

|
|
63
53
|
|
|
64
54
|
## Install
|
|
65
55
|
|
|
66
|
-
|
|
56
|
+
### Mac app: Draftbridge for Scrivener, $4.99
|
|
67
57
|
|
|
68
|
-
|
|
58
|
+
**Not a terminal person?**
|
|
59
|
+
**[Draftbridge for Scrivener](https://buy.stripe.com/14A8wHbm64Y0dR8fFdc7u01)** is the ready-made
|
|
60
|
+
Mac app. It finds your AI apps — Claude Desktop, BoltAI, Cursor, VS Code, LM Studio, Raycast, Claude
|
|
61
|
+
Code, Grok Build — connects Scrivener MCP to each with one click, shows your projects, and repairs the
|
|
62
|
+
connection after an app update. No Terminal, no Node.js, no settings files. One-time $4.99, up to 3
|
|
63
|
+
Macs, signed and notarized by Apple.
|
|
69
64
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
<p align="center">
|
|
66
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="assets/draftbridge/ready-dark.png"><img src="assets/draftbridge/ready-light.png" alt="Draftbridge showing Claude Desktop and BoltAI connected, and the Scrivener projects it found" width="380"></picture>
|
|
67
|
+
|
|
68
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="assets/draftbridge/purchase-dark.png"><img src="assets/draftbridge/purchase-light.png" alt="The Draftbridge purchase window" width="300"></picture>
|
|
69
|
+
</p>
|
|
73
70
|
|
|
74
|
-
|
|
71
|
+
The server, setup tool, and Claude Desktop extension here stay free and open source. The app is
|
|
72
|
+
closed source; the fee buys the notarized build and supports development. See the
|
|
73
|
+
[Mac install guide](./docs/install-mac.md) and [FAQ](./docs/faq.md). Report app problems with the
|
|
74
|
+
`mac-app` label.
|
|
75
75
|
|
|
76
|
-
### Claude
|
|
76
|
+
### Free: Claude Desktop extension or command line
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
Prefer to do it yourself? The `.mcpb` extension (Claude Desktop only) and the terminal setup below
|
|
79
|
+
do the same job for free.
|
|
79
80
|
|
|
80
|
-
|
|
81
|
-
npx scrivener-setup
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
This detects Claude Code (along with Claude Desktop and Cursor) and writes the config for you. To register it manually instead:
|
|
81
|
+
From a terminal:
|
|
85
82
|
|
|
86
83
|
```bash
|
|
87
|
-
|
|
84
|
+
npm install -g scrivener-mcp
|
|
88
85
|
```
|
|
89
86
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Smithery
|
|
87
|
+
Restart Claude Desktop and it's ready. Other clients need one more step:
|
|
93
88
|
|
|
94
89
|
```bash
|
|
95
|
-
npx
|
|
90
|
+
npx scrivener-setup
|
|
96
91
|
```
|
|
97
92
|
|
|
98
|
-
|
|
93
|
+
This finds Claude Desktop, Claude Code, Cursor, VS Code, LM Studio, BoltAI, Raycast, and Grok Build
|
|
94
|
+
and configures them for you, then confirms the server starts. No Node.js on your Mac? See the
|
|
95
|
+
[Mac install guide](./docs/install-mac.md). To set up Claude Code by hand instead:
|
|
96
|
+
`claude mcp add -s user scrivener -- npx scrivener-mcp`, then restart it (or run `/mcp`).
|
|
97
|
+
|
|
98
|
+
<details>
|
|
99
|
+
<summary><strong>Other ways to install</strong></summary>
|
|
99
100
|
|
|
100
|
-
|
|
101
|
+
**npx, no install**
|
|
101
102
|
|
|
102
103
|
```bash
|
|
103
104
|
npx scrivener-mcp
|
|
104
105
|
```
|
|
105
106
|
|
|
106
|
-
|
|
107
|
+
or add it to Claude Desktop's config directly:
|
|
107
108
|
|
|
108
109
|
```json
|
|
109
110
|
{
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"args": ["scrivener-mcp"]
|
|
114
|
-
}
|
|
115
|
-
}
|
|
111
|
+
"mcpServers": {
|
|
112
|
+
"scrivener": { "command": "npx", "args": ["scrivener-mcp"] }
|
|
113
|
+
}
|
|
116
114
|
}
|
|
117
115
|
```
|
|
118
116
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
Install directly from the repo (latest main):
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
npm install -g writerslogic/scrivener-mcp
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
Or a specific release:
|
|
117
|
+
**From GitHub**
|
|
128
118
|
|
|
129
119
|
```bash
|
|
130
|
-
npm install -g writerslogic/scrivener-mcp#
|
|
120
|
+
npm install -g writerslogic/scrivener-mcp # latest main; requires pinned Rust/wasm-pack
|
|
121
|
+
npm install -g writerslogic/scrivener-mcp#v0.12.0 # a specific release
|
|
131
122
|
```
|
|
132
123
|
|
|
133
|
-
|
|
124
|
+
**Homebrew (macOS)**
|
|
134
125
|
|
|
135
126
|
```bash
|
|
136
127
|
brew install writerslogic/tap/scrivener-mcp
|
|
137
128
|
```
|
|
138
129
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
```bash
|
|
142
|
-
docker build -t scrivener-mcp https://github.com/writerslogic/scrivener-mcp.git
|
|
143
|
-
docker run -i --rm -v /path/to/your/projects:/projects scrivener-mcp
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
<details>
|
|
147
|
-
<summary><strong>Setup for other MCP clients</strong></summary>
|
|
148
|
-
|
|
149
|
-
Run the interactive setup to auto-detect and configure your client:
|
|
130
|
+
**Docker**
|
|
150
131
|
|
|
151
132
|
```bash
|
|
152
|
-
|
|
133
|
+
docker build --platform linux/amd64 -t scrivener-mcp https://github.com/writerslogic/scrivener-mcp.git
|
|
134
|
+
docker run --platform linux/amd64 -i --rm -v /path/to/your/projects:/projects scrivener-mcp
|
|
153
135
|
```
|
|
154
136
|
|
|
155
|
-
|
|
137
|
+
The container uses Linux x64 with glibc because the pinned Narrative Lens 0.2.0 package has no Linux
|
|
138
|
+
ARM64 or musl binary. Linux ARM64 and musl hosts can use this Docker configuration; ARM hosts need
|
|
139
|
+
Docker's amd64 emulation. The image runs as the non-root `node` user;
|
|
140
|
+
mounted project directories must permit that user to read and write.
|
|
156
141
|
|
|
157
|
-
|
|
142
|
+
Any other MCP client: point it at `npx scrivener-mcp` as a stdio server.
|
|
158
143
|
|
|
159
144
|
</details>
|
|
160
145
|
|
|
161
146
|
<details>
|
|
162
147
|
<summary><strong>Optional: AI-powered features</strong></summary>
|
|
163
148
|
|
|
164
|
-
|
|
149
|
+
Document management, deterministic analysis, local passage search, and project memory work with no
|
|
150
|
+
API key. Provider-assisted interpretation, generation and enhancement use Anthropic, OpenAI or
|
|
151
|
+
OpenRouter. Set more than one and Claude handles chat by default; override with `AI_PROVIDER=openai`
|
|
152
|
+
or `AI_PROVIDER=openrouter` (OpenRouter defaults to `anthropic/claude-sonnet-4.6`, change it with
|
|
153
|
+
`OPENROUTER_MODEL`). If the active provider fails on an account-level error — bad key, no credit, an
|
|
154
|
+
outage — the server retries on the next one you've configured. If your MCP client supports
|
|
155
|
+
[sampling](https://modelcontextprotocol.io/docs/concepts/sampling), chat-based features can run
|
|
156
|
+
through the client's own model on legacy MCP connections, no separate key needed. MCP 2026-07-28 connections currently use configured providers for AI features; modern multi-round sampling is not implemented. Passage retrieval runs locally
|
|
157
|
+
through Holographic Memory 0.7.0; interpretation and explanations are optional provider features.
|
|
165
158
|
|
|
166
|
-
|
|
167
|
-
- `~/.env`, `~/.scrivener-mcp/.env`
|
|
168
|
-
- `~/.anthropic/key`, `~/.openai/key`, `~/.openrouter/key`
|
|
169
|
-
- macOS Keychain (service names `anthropic-api-key` / `openai-api-key` / `openrouter-api-key`)
|
|
159
|
+
Keys are picked up automatically from:
|
|
170
160
|
|
|
171
|
-
|
|
161
|
+
- `ANTHROPIC_API_KEY` / `OPENAI_API_KEY` / `OPENROUTER_API_KEY`
|
|
162
|
+
- `~/.env` or `~/.scrivener-mcp/.env`
|
|
163
|
+
- `~/.anthropic/key`, `~/.openai/key`, `~/.openrouter/key`
|
|
164
|
+
- macOS Keychain (`anthropic-api-key` / `openai-api-key` / `openrouter-api-key`)
|
|
172
165
|
|
|
173
166
|
```bash
|
|
174
|
-
security add-generic-password -s anthropic-api-key -a anthropic -w sk-ant-your-key-here
|
|
167
|
+
security add-generic-password -s anthropic-api-key -a anthropic -w sk-ant-your-key-here # Keychain
|
|
168
|
+
export ANTHROPIC_API_KEY="sk-ant-..." # or export it directly
|
|
175
169
|
```
|
|
176
170
|
|
|
177
|
-
|
|
171
|
+
</details>
|
|
172
|
+
|
|
173
|
+
<details>
|
|
174
|
+
<summary><strong>Optional: offline embedding and reranking models</strong></summary>
|
|
175
|
+
|
|
176
|
+
Local passage search works without installing a model runtime. To use your own offline ONNX
|
|
177
|
+
embedding or reranking models with a global installation, install the optional runtime alongside the
|
|
178
|
+
server:
|
|
178
179
|
|
|
179
180
|
```bash
|
|
180
|
-
|
|
181
|
+
npm install -g scrivener-mcp '@huggingface/transformers@^4.3.2'
|
|
181
182
|
```
|
|
182
183
|
|
|
183
|
-
|
|
184
|
+
For a local installation, run the same command without `-g` in the server's installation directory.
|
|
185
|
+
Set `SCRIVENER_WARM_EMBED_MODEL_PATH` to a complete local model directory and provide
|
|
186
|
+
`SCRIVENER_WARM_EMBED_MODEL_ID` and `SCRIVENER_WARM_EMBED_REVISION`. Set
|
|
187
|
+
`SCRIVENER_WARM_RERANK_MODEL_PATH` to enable a local reranker. No model weights are downloaded; the
|
|
188
|
+
available options are listed in [.env.example](.env.example).
|
|
184
189
|
|
|
185
190
|
</details>
|
|
186
191
|
|
|
187
192
|
## What You Can Do
|
|
188
193
|
|
|
189
|
-
>
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
### Track Relationships
|
|
234
|
-
|
|
235
|
-
Store and query relationships between characters, locations, themes, and plot threads. No Neo4j required -- relationships live in the semantic memory engine and persist with your project.
|
|
236
|
-
|
|
237
|
-
> **You:** Who is connected to Marcus? What plot threads involve the lighthouse?
|
|
238
|
-
|
|
239
|
-
### Compile and Export
|
|
240
|
-
|
|
241
|
-
Combine chapters into a single manuscript with configurable formatting, separators, and structure preservation. Export the result inline as Markdown, HTML, or JSON, or write a DOCX, EPUB, or PDF file to disk for submission, e-readers, or print.
|
|
194
|
+
> For manuscript operations, open a project first. The server has no link to the Scrivener app
|
|
195
|
+
> itself and can't see what's open there. Say _"Open my Scrivener project at
|
|
196
|
+
> `~/Documents/My Novel.scriv`"_, or _"Discover my Scrivener projects"_ if you don't know the path.
|
|
197
|
+
> On macOS, _"Use the project I have open in Scrivener"_ works too (the first time, macOS will ask
|
|
198
|
+
> permission to control Scrivener). Do this once per conversation. If the project is also open and
|
|
199
|
+
> unsaved in Scrivener itself, save or close it there first, or the two can write over each other.
|
|
200
|
+
|
|
201
|
+
**Manage your manuscript.** Read chapters, create scenes, reorganize the binder, update synopses —
|
|
202
|
+
all through conversation. _"Create a new scene called 'The Reveal' after Chapter 5, and move the old
|
|
203
|
+
epilogue to the trash."_
|
|
204
|
+
|
|
205
|
+
**Analyze your writing.** Readability, pacing, style, dialogue quality, emotional arc — grounded in
|
|
206
|
+
your actual prose, not generic advice. Ask whether a chapter's pacing is off and get specifics:
|
|
207
|
+
which paragraphs stall, how the scene compares to your other chapters, filter-word density against
|
|
208
|
+
your own average.
|
|
209
|
+
|
|
210
|
+
**Enhance your prose.** Targeted edits: cut filter words, strengthen verbs, vary sentence structure,
|
|
211
|
+
add sensory detail, turn telling into showing, tighten dialogue, fix pacing.
|
|
212
|
+
|
|
213
|
+
**Track characters and plot.** Character profiles, plot threads, and style guides persist with the
|
|
214
|
+
project across sessions. Save a profile for a character once; a consistency check months later
|
|
215
|
+
catches contradictions — dialogue that doesn't sound like them, a limp that disappears for a
|
|
216
|
+
chapter.
|
|
217
|
+
|
|
218
|
+
**Search by meaning.** [Warm 0.7.0](https://www.npmjs.com/package/writerslogic-warm) combines native
|
|
219
|
+
BM25 with local embeddings and optional cross-encoder reranking. Configure local ONNX models for
|
|
220
|
+
general semantic search; the default encoder covers a disclosed English story-concept vocabulary.
|
|
221
|
+
Results include exact passages, locations and saved revisions; changed passages update incrementally.
|
|
222
|
+
No embedding provider is required. See [local search configuration](docs/editorial-workflows.md#find-passages-locally).
|
|
223
|
+
|
|
224
|
+
**Track relationships.** Record and query how characters, locations, themes, and plot threads
|
|
225
|
+
connect. Relationships persist in the project's local SQLite state. Discovery proposes unrecorded
|
|
226
|
+
character/location pairs using saved-text co-occurrence with source revisions.
|
|
227
|
+
|
|
228
|
+
**Compile and export.** Assemble chapters into one manuscript with your own formatting and structure
|
|
229
|
+
preserved. Export inline as Markdown, HTML, or JSON, or write a DOCX, EPUB, or PDF to disk.
|
|
230
|
+
|
|
231
|
+
**Sign and validate exports.** Activate `credentials` with `use_skill({"name":"credentials"})`, then
|
|
232
|
+
call `c2pa_capabilities` to inspect the installed SDK. Export a PDF with `export_project`, sign it
|
|
233
|
+
to a new embedded output with `sign_content_credentials`, and check that output with
|
|
234
|
+
`validate_content_credentials`. Credential operations run locally without an open project and use
|
|
235
|
+
administrator-configured signing material. They do not establish human authorship or formal C2PA
|
|
236
|
+
conformance. See [Content Credentials](docs/content-credentials.md) for setup, mode coverage and
|
|
237
|
+
limits.
|
|
242
238
|
|
|
243
239
|
## All Tools
|
|
244
240
|
|
|
245
|
-
|
|
241
|
+
84 tools organized by workflow. MCP 2026-07-28 connections list all of them at once. On earlier
|
|
242
|
+
protocol versions, tools load progressively to keep token usage low — project tools at startup,
|
|
243
|
+
document and search tools once a project is open, the rest on demand. Set
|
|
244
|
+
`SCRIVENER_MCP_EAGER_TOOLS=1` to load everything up front.
|
|
246
245
|
|
|
247
246
|
<details>
|
|
248
247
|
<summary><strong>Project</strong> -- open, browse, manage</summary>
|
|
249
248
|
|
|
250
|
-
| Tool
|
|
251
|
-
|
|
252
|
-
| `open_project`
|
|
253
|
-
| `discover_projects`
|
|
254
|
-
| `detect_open_project`
|
|
255
|
-
| `get_structure`
|
|
256
|
-
| `refresh_project`
|
|
257
|
-
| `close_project`
|
|
258
|
-
| `verify_project_integrity` | Read-only scan for structural problems (missing/duplicate UUIDs, unreadable content)
|
|
259
|
-
| `get_compile_settings`
|
|
260
|
-
| `get_manuscript_briefing`
|
|
261
|
-
| `list_snapshots`
|
|
262
|
-
| `read_snapshot`
|
|
263
|
-
| `compare_snapshot`
|
|
264
|
-
| `create_snapshot`
|
|
249
|
+
| Tool | What it does |
|
|
250
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
251
|
+
| `open_project` | Open a .scriv project (accepts .scriv folders or .scrivx files) and make it active |
|
|
252
|
+
| `discover_projects` | Scan common locations for Scrivener projects when you don't know the path |
|
|
253
|
+
| `detect_open_project` | Detect the project currently open in the Scrivener app (macOS) so you don't need a path |
|
|
254
|
+
| `get_structure` | Browse the binder hierarchy (folders, documents, word counts) |
|
|
255
|
+
| `refresh_project` | Reload from disk after external edits |
|
|
256
|
+
| `close_project` | Close the active project and flush pending changes |
|
|
257
|
+
| `verify_project_integrity` | Read-only scan for structural problems (missing/duplicate UUIDs, unreadable content) |
|
|
258
|
+
| `get_compile_settings` | Read the project's compile formats and taxonomy -- labels/statuses (with colors), collections, section types |
|
|
259
|
+
| `get_manuscript_briefing` | One "where am I?" snapshot: words vs. target (% to goal), document/status/label counts, longest/shortest documents |
|
|
260
|
+
| `list_snapshots` | List Scrivener snapshots (title, date) for one document or the whole project |
|
|
261
|
+
| `read_snapshot` | Read a snapshot's text as plain text, with word count |
|
|
262
|
+
| `compare_snapshot` | Diff a snapshot against the current document (or another snapshot): paragraphs added/removed and net word change |
|
|
263
|
+
| `create_snapshot` | Take a Scrivener-native snapshot of a document (restorable from Scrivener's own Snapshots browser) before editing |
|
|
265
264
|
|
|
266
265
|
</details>
|
|
267
266
|
|
|
268
267
|
<details>
|
|
269
268
|
<summary><strong>Documents</strong> -- read, write, create, organize</summary>
|
|
270
269
|
|
|
271
|
-
| Tool
|
|
272
|
-
|
|
273
|
-
| `get_document_info`
|
|
274
|
-
| `read_document`
|
|
275
|
-
| `write_document`
|
|
276
|
-
| `
|
|
277
|
-
| `
|
|
278
|
-
| `
|
|
279
|
-
| `
|
|
270
|
+
| Tool | What it does |
|
|
271
|
+
| ---------------------- | ----------------------------------------------------------------------------------------------- |
|
|
272
|
+
| `get_document_info` | Metadata for one document (title, type, word count, synopsis, label, status) |
|
|
273
|
+
| `read_document` | Read content; `format: "formatted"` for rich text, `offset`/`limit` to page long docs |
|
|
274
|
+
| `write_document` | Replace saved content with revision checks, native snapshots and disclosed formatting risks |
|
|
275
|
+
| `review_changes` | Propose, preview, selectively approve or reject, apply batches, recover and undo saved edits |
|
|
276
|
+
| `manuscript_dashboard` | Interactive binder, scene context, pacing, findings and review; text fallback for other clients |
|
|
277
|
+
| `create_document` | Create a new text document or folder |
|
|
278
|
+
| `update_document` | Change title and/or metadata (synopsis, notes, label, status, custom fields) |
|
|
279
|
+
| `move_document` | Reorganize within the binder |
|
|
280
|
+
| `delete_document` | Move to trash (reversible) |
|
|
280
281
|
|
|
281
282
|
</details>
|
|
282
283
|
|
|
283
284
|
<details>
|
|
284
285
|
<summary><strong>Search</strong> -- find content, passages, and mentions</summary>
|
|
285
286
|
|
|
286
|
-
| Tool
|
|
287
|
-
|
|
288
|
-
| `search`
|
|
289
|
-
| `semantic_search`
|
|
290
|
-
| `
|
|
291
|
-
| `
|
|
292
|
-
| `
|
|
293
|
-
| `
|
|
287
|
+
| Tool | What it does |
|
|
288
|
+
| ------------------ | ---------------------------------------------------------------------------------------------------------- |
|
|
289
|
+
| `search` | Literal full-text search across the active binder; `field: "title"` for titles, `scope: "trash"` for trash |
|
|
290
|
+
| `semantic_search` | Local concept-vector passage retrieval, with scores, context and source revisions; no API key |
|
|
291
|
+
| `search_passages` | Local keyword, bounded English concept, or hybrid retrieval with exact quoted evidence |
|
|
292
|
+
| `find_mentions` | Locate every occurrence of a specific name or term, with context |
|
|
293
|
+
| `list_trash` | List trashed documents |
|
|
294
|
+
| `restore_document` | Restore a document from trash |
|
|
295
|
+
| `read_annotations` | Read a document's comments and footnotes |
|
|
294
296
|
|
|
295
297
|
</details>
|
|
296
298
|
|
|
297
299
|
<details>
|
|
298
300
|
<summary><strong>Analysis</strong> -- quality, consistency, structure</summary>
|
|
299
301
|
|
|
300
|
-
| Tool
|
|
301
|
-
|
|
302
|
-
| `analyze_document`
|
|
303
|
-
| `check_consistency`
|
|
304
|
-
| `
|
|
305
|
-
| `
|
|
306
|
-
| `
|
|
307
|
-
| `
|
|
308
|
-
| `
|
|
309
|
-
| `
|
|
310
|
-
| `
|
|
311
|
-
| `
|
|
312
|
-
| `
|
|
313
|
-
| `
|
|
314
|
-
|
|
315
|
-
|
|
302
|
+
| Tool | What it does |
|
|
303
|
+
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
304
|
+
| `analyze_document` | Analyze complete saved text; `analysisTypes` steers provider issues, with explicit broad local fallback and revision checks |
|
|
305
|
+
| `check_consistency` | Evidence-backed continuity report with source revisions, canon and inferred candidates |
|
|
306
|
+
| `continuity_findings` | Confirm, dismiss, resolve and recheck evidence-bound continuity findings |
|
|
307
|
+
| `analyze_writing_style` | Style-focused analysis |
|
|
308
|
+
| `check_plot_consistency` | Plot-thread consistency check |
|
|
309
|
+
| `suggest_improvements` | AI-generated improvement suggestions |
|
|
310
|
+
| `enhance_content` | Propose a complete saved-document rewrite with source revisions; maximum 12000 UTF-16 characters |
|
|
311
|
+
| `generate_content` | Generate prose from a prompt, saved-text excerpts and character profiles with revision-checked context |
|
|
312
|
+
| `set_writing_goal` | Set a word-count goal (daily, weekly, or whole project) with an optional target date |
|
|
313
|
+
| `get_writing_goals` | List goals with progress -- percent complete, words remaining, on-pace status |
|
|
314
|
+
| `set_writing_preferences` | Set author preferences (tone, complexity, length, POV, style guide) that steer AI output |
|
|
315
|
+
| `get_writing_preferences` | Show current preferences plus feedback insights and suggestions |
|
|
316
|
+
| `collect_feedback` | Record a rating/comment on an AI operation to inform those insights |
|
|
317
|
+
| `analyze_manuscript_local` | Local manuscript findings with exact evidence, author controls, coverage, persistent baselines and revision comparisons |
|
|
318
|
+
| `analyze_narrative_annotations` | Check author-supplied causality, knowledge, promises, subtext and other annotations against saved quotations |
|
|
319
|
+
| `analyze_craft_local` | Offline readability, grammar, syntax-tension, dialogue, and word-frequency report for one document (narrative-lens, no AI call) |
|
|
320
|
+
| `check_continuity_local` | Offline timeline and world-state continuity pass across the manuscript |
|
|
321
|
+
| `analyze_foreshadowing_local` | Offline setup/payoff tracking across scenes |
|
|
322
|
+
| `measure_voice_drift_local` | Compare a character's earlier vs later dialogue for voice drift |
|
|
323
|
+
| `analyze_opening_local` | Offline opening cues, source ranges and coverage; editorial quality remains unassessed |
|
|
324
|
+
| `check_style_local` | Line-edit one document for adverbs, filter words, hedges, clichés, passive voice, nominalizations, and personal tics, each with line and column (bluepencil, no AI call) |
|
|
325
|
+
| `find_repetition_local` | Echoes (a word reappearing within a window) and repeated phrases, with both locations |
|
|
326
|
+
| `analyze_rhythm_local` | Sentence-length distribution, monotonous runs, overlong sentences, and repeated openers |
|
|
327
|
+
| `analyze_dialogue_tags_local` | Dialogue ratio and every quoted line's tag classified as plain, showy, adverb-modified, or untagged |
|
|
328
|
+
| `manuscript_style_report_local` | Per-document style density across the manuscript with word-weighted means and outliers |
|
|
329
|
+
|
|
330
|
+
Manuscript comparisons include `comparisonBaseline.name` and its original `envelope`, alongside the
|
|
331
|
+
current result's `envelope`, so both saved source revisions remain identifiable after a baseline name
|
|
332
|
+
is reused.
|
|
333
|
+
|
|
334
|
+
**Enhancement types:** `eliminate-filter-words`, `strengthen-verbs`, `vary-sentences`,
|
|
335
|
+
`add-sensory-details`, `show-dont-tell`, `improve-flow`, `enhance-descriptions`,
|
|
336
|
+
`strengthen-dialogue`, `fix-pacing`, `expand`, `condense`, `rewrite`
|
|
316
337
|
|
|
317
338
|
</details>
|
|
318
339
|
|
|
319
340
|
<details>
|
|
320
341
|
<summary><strong>Compile & Export</strong> -- assemble and ship the manuscript</summary>
|
|
321
342
|
|
|
322
|
-
| Tool
|
|
323
|
-
|
|
324
|
-
| `compile_documents`
|
|
325
|
-
| `export_project`
|
|
326
|
-
| `
|
|
327
|
-
| `
|
|
343
|
+
| Tool | What it does |
|
|
344
|
+
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
345
|
+
| `compile_documents` | Combine documents; `mode: "structured"` compiles the Draft folder with the binder hierarchy as headings and honors "Include in Compile" (no AI), `mode: "intelligent"` for AI-optimized output |
|
|
346
|
+
| `export_project` | Write the manuscript to disk -- Markdown, HTML, JSON inline, or DOCX, EPUB, PDF as a file |
|
|
347
|
+
| `read_result` | Retrieve large compiled/analysis results in bounded UTF-8 chunks without filesystem tools |
|
|
348
|
+
| `export_manuscript` | Preflight and export submission DOCX, beta-reader DOCX and validated EPUB presets |
|
|
349
|
+
| `get_statistics` | Project-level word/document/character counts |
|
|
350
|
+
| `generate_marketing_materials` | Draft synopsis, query letter, pitch, and related materials |
|
|
351
|
+
|
|
352
|
+
Intelligent compilation returns provider warnings, explicit quality availability, and saved-source
|
|
353
|
+
revisions. Rewrites require the complete source to fit 12000 UTF-16 characters; otherwise the
|
|
354
|
+
complete original is preserved. Quality opinions cover at most 4000 characters and identify that
|
|
355
|
+
coverage. Marketing generation reads the saved Draft by default; use `documentIds` to select a
|
|
356
|
+
smaller scope within the same 12000-character limit. Both reject source changes during generation
|
|
357
|
+
and provide `read_result` references for large output.
|
|
358
|
+
|
|
359
|
+
</details>
|
|
360
|
+
|
|
361
|
+
<details>
|
|
362
|
+
<summary><strong>Content Credentials</strong> -- local asset signing and validation</summary>
|
|
363
|
+
|
|
364
|
+
Activate the `credentials` skill on demand; these tools do not require an open project.
|
|
365
|
+
|
|
366
|
+
| Tool | What it does |
|
|
367
|
+
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
368
|
+
| `c2pa_capabilities` | Inspect actual SDK availability, declared format/mode coverage, limits and unassessed conformance status |
|
|
369
|
+
| `sign_content_credentials` | Sign a local asset to a distinct new embedded or supported `.c2pa` sidecar output using administrator-configured credentials |
|
|
370
|
+
| `validate_content_credentials` | Validate a local asset and optional sidecar; report integrity separately from signer trust, with raw reports opt-in |
|
|
371
|
+
|
|
372
|
+
Format declarations are not proof of native compatibility. Use the
|
|
373
|
+
[Content Credentials guide](docs/content-credentials.md) and per-format native evidence before
|
|
374
|
+
making coverage claims.
|
|
328
375
|
|
|
329
376
|
</details>
|
|
330
377
|
|
|
331
378
|
<details>
|
|
332
379
|
<summary><strong>Memory</strong> -- persistent project knowledge</summary>
|
|
333
380
|
|
|
334
|
-
| Tool
|
|
335
|
-
|
|
336
|
-
| `remember`
|
|
337
|
-
| `
|
|
381
|
+
| Tool | What it does |
|
|
382
|
+
| --------------- | ---------------------------------------------------------------------------------------- |
|
|
383
|
+
| `remember` | Store information that persists across sessions with the project |
|
|
384
|
+
| `manage_series` | Create, join or leave an explicitly scoped series of selected projects |
|
|
385
|
+
| `story_bible` | Curate shared characters, aliases, locations, world rules and chronology with provenance |
|
|
386
|
+
| `recall` | Retrieve previously stored memory |
|
|
338
387
|
|
|
339
|
-
|
|
388
|
+
Project memory travels within each .scriv project. Explicit series memberships and shared facts use
|
|
389
|
+
the server's persistent registry; see
|
|
390
|
+
[editorial workflows](docs/editorial-workflows.md#curate-a-project-or-series-bible).
|
|
391
|
+
|
|
392
|
+
`remember` validates nested records and acknowledges the saved snapshot with its revision and record
|
|
393
|
+
ID. Use that ID for updates; identical creations reuse their ID, and unknown update IDs fail.
|
|
394
|
+
Unrecorded profile fields, style preferences and writing statistics stay absent. `worldBuilding`
|
|
395
|
+
stores named records, for example `{ name: "Moon Harbor", type: "location" }`; `all` merges custom
|
|
396
|
+
JSON by key. Requests are capped at 64 KiB and complete project memory at 16 MiB. Large `recall`
|
|
397
|
+
results use `read_result`. Earlier custom world data remains available under `recall` with `all`.
|
|
340
398
|
|
|
341
399
|
</details>
|
|
342
400
|
|
|
343
401
|
<details>
|
|
344
402
|
<summary><strong>Relationships</strong> -- entity connections and story graph</summary>
|
|
345
403
|
|
|
346
|
-
| Tool
|
|
347
|
-
|
|
348
|
-
| `add_relationship`
|
|
349
|
-
| `find_relationships`
|
|
350
|
-
| `discover_connections`
|
|
351
|
-
| `character_network`
|
|
352
|
-
| `get_entity_references`
|
|
353
|
-
| `find_orphaned_entities` | List registered characters/locations that no document actually mentions
|
|
354
|
-
| `suggest_connections`
|
|
355
|
-
|
|
356
|
-
|
|
404
|
+
| Tool | What it does |
|
|
405
|
+
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
406
|
+
| `add_relationship` | Store a relationship between characters, locations, themes, or plot threads |
|
|
407
|
+
| `find_relationships` | Query entities related to a given character/theme/location |
|
|
408
|
+
| `discover_connections` | Find unrecorded pairs of known characters/locations that co-occur in saved Draft documents, with source revisions |
|
|
409
|
+
| `character_network` | The character relationship network |
|
|
410
|
+
| `get_entity_references` | Trace the reference graph in either direction: entities a document mentions (by documentId), or documents mentioning an entity (by entity) |
|
|
411
|
+
| `find_orphaned_entities` | List registered characters/locations that no document actually mentions |
|
|
412
|
+
| `suggest_connections` | Suggest entities a document may be missing, inferred from cross-document co-occurrence |
|
|
413
|
+
|
|
414
|
+
Relationship tools use project-owned SQLite without an external service. Storage admits up to
|
|
415
|
+
10000 relationships; names contain at most 128 UTF-16 characters and labels 64. Discovery covers
|
|
416
|
+
the characters and locations already recorded in that graph, up to 256 entities, 1000 Draft
|
|
417
|
+
documents, 2 Mi UTF-16 source characters and a source-character count multiplied by entity count
|
|
418
|
+
of at most 134217728. Its score is the
|
|
419
|
+
fraction of documents mentioning both entities among those mentioning either; it is a candidate
|
|
420
|
+
association, not a confirmed story fact. Result limits disclose omitted candidates, and large
|
|
421
|
+
responses use `read_result`. Relationship queries page in stable identity order using `nextOffset`
|
|
422
|
+
and `graphRevision`; edits require restarting the query. Document cross-reference tools use the
|
|
423
|
+
character/location registries and saved text, including Research and Draft items excluded from
|
|
424
|
+
Compile. Document queries read only the requested document; entity-wide queries and suggestions
|
|
425
|
+
inspect all active text within the same source limits. They disclose missing registries, reject
|
|
426
|
+
source/registry changes, and preserve every admitted match offset (up to 1000000 positions and
|
|
427
|
+
16 MiB of serialized mention records).
|
|
357
428
|
|
|
358
429
|
</details>
|
|
359
430
|
|
|
360
431
|
<details>
|
|
361
432
|
<summary><strong>Background Jobs</strong> -- long-running analysis</summary>
|
|
362
433
|
|
|
363
|
-
| Tool
|
|
364
|
-
|
|
365
|
-
| `queue_document_analysis` |
|
|
366
|
-
| `queue_project_analysis`
|
|
367
|
-
| `get_job_status`
|
|
368
|
-
| `
|
|
434
|
+
| Tool | What it does |
|
|
435
|
+
| ------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
436
|
+
| `queue_document_analysis` | Analyze supplied document text asynchronously; returns a job id |
|
|
437
|
+
| `queue_project_analysis` | Analyze an ordered batch of supplied document texts |
|
|
438
|
+
| `get_job_status` | Poll progress/results for a queued job |
|
|
439
|
+
| `get_queue_stats` | Inspect project-scoped queue counts, connectivity and legacy migration guidance |
|
|
440
|
+
| `editorial_workflow` | Run chapter review, continuity audit or beta-reader preparation with durable progress and resuming |
|
|
441
|
+
| `cancel_job` | Request cancellation; running embedded work finishes internally and its result is discarded |
|
|
442
|
+
|
|
443
|
+
Queued analysis always runs local prose analysis and includes readability by default. Optional
|
|
444
|
+
named entities require a native build with ONNX support and a loaded NER model; unavailable results
|
|
445
|
+
are explicit. Optional sentiment uses a local lexicon heuristic. Source revisions hash the supplied
|
|
446
|
+
UTF-8 text, and the envelope identifies this raw policy separately from saved RTF analysis and saved
|
|
447
|
+
project controls. Project batches preserve input order and run sequentially unless `parallel` is
|
|
448
|
+
selected, with at most five documents in flight. Large completed results return a `_ref` retrieved
|
|
449
|
+
through `read_result`. Redis/KeyDB cannot remove an active job; embedded cancellation prevents work
|
|
450
|
+
that has not started and discards the result of work already running.
|
|
451
|
+
|
|
452
|
+
`suggest_improvements` accepts `async: true` for the same suggestion result through `get_job_status`.
|
|
453
|
+
With `useContext: true`, `documentId` is required: generation uses up to the first 16000 UTF-16
|
|
454
|
+
characters of that saved document and rejects a changed revision. Its result reports the exact
|
|
455
|
+
excerpt range, truncation and source revision. The default `useContext: false` sends only the prompt.
|
|
456
|
+
Suggestions use the configured provider or client sampling, and queued generation is not automatically
|
|
457
|
+
retried. Large synchronous and queued results use `read_result` references.
|
|
458
|
+
|
|
459
|
+
`analyze_writing_style` accepts 1–64 nonempty text samples, each up to 64000 UTF-16 characters.
|
|
460
|
+
Its provider prompt includes at most 8000 characters including separators; coverage reports the
|
|
461
|
+
range used from every sample, including any omitted samples. Missing or malformed profile fields
|
|
462
|
+
are explicitly unavailable, partial finding lists preserve valid entries, and sample revisions
|
|
463
|
+
hash the original supplied UTF-8 text. Large profiles also use `read_result` references.
|
|
369
464
|
|
|
370
465
|
</details>
|
|
371
466
|
|
|
372
467
|
<details>
|
|
373
468
|
<summary><strong>Discovery</strong> -- explore capabilities</summary>
|
|
374
469
|
|
|
375
|
-
| Tool
|
|
376
|
-
|
|
470
|
+
| Tool | What it does |
|
|
471
|
+
| ------------- | ---------------------------------------------- |
|
|
377
472
|
| `list_skills` | List the available tool groups and their tools |
|
|
378
|
-
| `use_skill`
|
|
473
|
+
| `use_skill` | Activate another tool group on demand |
|
|
379
474
|
|
|
380
475
|
</details>
|
|
381
476
|
|
|
382
477
|
## Guides
|
|
383
478
|
|
|
384
|
-
- **[Getting Started](./docs/getting-started.md)** -- Installation, configuration, your first
|
|
385
|
-
|
|
386
|
-
- **[
|
|
479
|
+
- **[Getting Started](./docs/getting-started.md)** -- Installation, configuration, your first
|
|
480
|
+
session
|
|
481
|
+
- **[MCP Client Setup](./docs/CLIENT_SETUP.md)** -- Copy-paste config for Claude Desktop, Claude
|
|
482
|
+
Code, Cursor, and VS Code
|
|
483
|
+
- **[Writing with AI](./docs/writing-with-ai.md)** -- Analysis workflows, enhancement strategies,
|
|
484
|
+
memory management
|
|
387
485
|
- **[Troubleshooting](./docs/troubleshooting.md)** -- Common issues and fixes
|
|
388
|
-
- **[Token Optimization](./docs/token-optimization.md)** --
|
|
486
|
+
- **[Token Optimization](./docs/token-optimization.md)** -- Response limits and measured context
|
|
487
|
+
costs
|
|
488
|
+
- **[0.14 Validation](./docs/release-validation-0.14.md)** -- Candidate evidence, supported scope
|
|
489
|
+
and remaining qualification limits
|
|
389
490
|
- **[Architecture](./docs/architecture.md)** -- How the server works, module structure, data flow
|
|
390
|
-
- **[Scrivener Compatibility](./docs/SCRIVENER_COMPATIBILITY.md)** -- Supported Scrivener versions,
|
|
391
|
-
|
|
392
|
-
- **[
|
|
491
|
+
- **[Scrivener Compatibility](./docs/SCRIVENER_COMPATIBILITY.md)** -- Supported Scrivener versions,
|
|
492
|
+
platforms, and format coverage
|
|
493
|
+
- **[Content Credentials](./docs/content-credentials.md)** -- Local C2PA signing and validation,
|
|
494
|
+
administrator setup, tested modes and conformance limits
|
|
495
|
+
- **[Scrivener File Format](./docs/scrivener-format.md)** -- The reverse-engineered `.scriv` format,
|
|
496
|
+
what we read vs. infer, and safe-modification guidance
|
|
497
|
+
- **[Fuzzing](./docs/fuzzing.md)** -- Jazzer.js target and OSS-Fuzz integration details
|
|
498
|
+
- **[Contributing](./CONTRIBUTING.md)** -- Development setup, code conventions, adding new
|
|
499
|
+
tools
|
|
393
500
|
|
|
394
501
|
## Requirements
|
|
395
502
|
|
|
396
|
-
- **Node.js
|
|
503
|
+
- **Stable Node.js `^22.23.4 || ^24.22.1 || >=26.12.1`** (24.22.1 or newer on Node 24 recommended)
|
|
397
504
|
- **Scrivener 3** project files (.scriv)
|
|
398
|
-
- macOS, Windows, or Linux
|
|
399
|
-
|
|
400
|
-
- Optional:
|
|
505
|
+
- Native npm/npx installs: macOS x64/ARM64, Windows x64, or Linux x64 with glibc. Architecture
|
|
506
|
+
refers to the Node.js runtime.
|
|
507
|
+
- Optional: Anthropic, OpenAI, or OpenRouter API key for provider-backed AI features
|
|
508
|
+
- Optional: Neo4j for persistence and advanced graph queries; core relationship tools work without
|
|
509
|
+
it
|
|
510
|
+
|
|
511
|
+
The patched floors protect Node TLS paths used by the pinned CAI native SDK; SQLite 13 also requires
|
|
512
|
+
Node-API 10. Node 23 and 25 are excluded. See the
|
|
513
|
+
[runtime compatibility policy](docs/forward-compatibility.md#runtime-and-dependency-changes).
|
|
401
514
|
|
|
402
515
|
## Development
|
|
403
516
|
|
|
517
|
+
See the [compatibility and upgrade policy](docs/forward-compatibility.md) for runtime checks,
|
|
518
|
+
protocol contracts, dependency upgrades and the stable release gate.
|
|
519
|
+
|
|
404
520
|
```bash
|
|
405
521
|
git clone https://github.com/writerslogic/scrivener-mcp.git
|
|
406
522
|
cd scrivener-mcp
|
|
407
|
-
npm install
|
|
523
|
+
npm install --ignore-scripts
|
|
524
|
+
# Install the pinned Rust/wasm-pack tools listed in native/c2pa-binding/README.md
|
|
525
|
+
npm run build:c2pa # Generate the engine from source
|
|
408
526
|
npm run dev # Development mode with hot reload
|
|
409
527
|
npm run build # Compile TypeScript
|
|
410
528
|
npm test # Run tests
|
|
@@ -413,37 +531,60 @@ npm run typecheck # Type checking only
|
|
|
413
531
|
|
|
414
532
|
## Why This One?
|
|
415
533
|
|
|
416
|
-
|
|
534
|
+
A few Scrivener MCP servers exist. Our column describes the current server; other feature claims
|
|
535
|
+
come from each project's own docs, published package, and advertised tools, last re-read on
|
|
536
|
+
**2026-10-22**; stars, forks, activity, and published version were refreshed
|
|
537
|
+
<!-- comparison-refreshed -->2026-11-23<!-- /comparison-refreshed -->. "No" means undocumented — not
|
|
538
|
+
|
|
539
|
+
necessarily impossible through the connected AI client.
|
|
417
540
|
|
|
418
541
|
<!-- comparison-start -->
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
|
423
|
-
|
|
|
424
|
-
|
|
|
425
|
-
|
|
|
426
|
-
|
|
|
427
|
-
|
|
|
428
|
-
|
|
|
429
|
-
|
|
|
430
|
-
|
|
|
431
|
-
|
|
|
432
|
-
|
|
|
433
|
-
|
|
|
434
|
-
|
|
|
435
|
-
|
|
|
436
|
-
|
|
|
437
|
-
|
|
438
|
-
| Active development | weekly | stale | occasional | stale |
|
|
439
|
-
| Community | ⭐ 35 · 14 forks · 9 issues | ⭐ ? | ⭐ 5 | minimal |
|
|
542
|
+
|
|
543
|
+
| Feature | **scrivener-mcp** | [jiayun](https://github.com/jiayun/scrivener-mcp) | [TwelveTake](https://www.npmjs.com/package/@twelvetake/scrivener-mcp) | [Scrivener Assistant](https://github.com/elnino1/scrivener-assistant) | [ricopicone](https://github.com/ricopicone/scrivener-mcp) | [zaphodsdad](https://github.com/zaphodsdad/scrivener-mcp) |
|
|
544
|
+
|---------|:-:|:-:|:-:|:-:|:-:|:-:|
|
|
545
|
+
| Public MCP tools | 84 | 30 | 22 | 38 | 18 | 10 |
|
|
546
|
+
| Manuscript access | read/write | read/write | read/write | read-only; writes sidecar data/metadata | read-only by default; opt-in content/notes/synopsis writes | read-only |
|
|
547
|
+
| RTF handling | formatted reads; fidelity-preserving span writes | reads/writes document content | reads/writes document content | converts RTF to text; manuscript read-only | RTF-to-text reads; snapshot-protected content writes | converts RTF to text; read-only |
|
|
548
|
+
| Built-in writing analysis | readability, pacing, style, emotion, AI critique | readability, style, sentiment | continuity comparison | agent-driven five-point review workflow | no dedicated analysis tool | no dedicated analysis tool |
|
|
549
|
+
| Content generation/enhancement | generation + 12 targeted enhancement types | no | no | brainstorm/draft agent workflow | no | no |
|
|
550
|
+
| Local semantic retrieval | local concept vectors, BM25 and quoted passages | no | no | no | no | no |
|
|
551
|
+
| Continuity/project memory | persistent memory + consistency checks | persistent notes + consistency checks | mention/description comparison | world bible, story state, characters, locations, review history | no persistent memory | no persistent memory |
|
|
552
|
+
| Relationship tooling | persistent relationships, networks, reference graph; optional Neo4j | no | no | human-editable relations data | no | no |
|
|
553
|
+
| Token optimization | progressive skill loading, compact output, paged reads | no documented equivalent | no documented equivalent | no documented equivalent | scoped binder/chapter reads | scoped overview/read tools |
|
|
554
|
+
| Export / compilation | Markdown, HTML, JSON, DOCX, EPUB, PDF | compile + whole-draft export | PDF | saves AI drafts; no manuscript export documented | no | no |
|
|
555
|
+
| Windows support | native CI verified; synthetic projects | yes (prebuilt binary) | yes | not documented | not documented | yes |
|
|
556
|
+
| Installation | npm, Homebrew, Docker, or the Draftbridge Mac app | crates.io, prebuilt binary, or source | npm package (deprecated) | MCPB or source | source / `uv` | source / `pip install -e` |
|
|
557
|
+
| License | AGPL-3.0 / commercial dual-license | MIT | MIT | MIT | not declared | MIT |
|
|
558
|
+
| Repository/package status | weekly activity; npm `0.12.0` | occasional activity | removed from npm | weekly activity | occasional activity; no releases | repository unavailable |
|
|
559
|
+
| Community | ⭐ 75 · 24 forks | ⭐ 7 | source repository unavailable | ⭐ 1 | ⭐ 0 | unavailable |
|
|
560
|
+
|
|
440
561
|
<!-- comparison-end -->
|
|
441
562
|
|
|
563
|
+
Counts and feature claims can change. Follow the linked projects for their own latest documentation.
|
|
564
|
+
The table is generated from [`docs/comparison.yml`](./docs/comparison.yml) — edit claims there, not
|
|
565
|
+
here.
|
|
566
|
+
|
|
567
|
+
### The alternative that isn't an MCP server
|
|
568
|
+
|
|
569
|
+
Scrivener can also **Sync to External Folder**, writing each document out as RTF or plain text,
|
|
570
|
+
which any generic file-access MCP server (like
|
|
571
|
+
[`@modelcontextprotocol/server-filesystem`](https://www.npmjs.com/package/@modelcontextprotocol/server-filesystem))
|
|
572
|
+
can then read and write.
|
|
573
|
+
|
|
574
|
+
It's free and works today. What you lose is everything tied to the actual project — binder
|
|
575
|
+
hierarchy, metadata, labels and status, snapshots, compile settings, RTF formatting — and edits land
|
|
576
|
+
in the sync folder rather than the project itself, so a bad edit gets reconciled by Scrivener on the
|
|
577
|
+
next sync instead of caught before it happens. Fine for occasional read-only help with prose; not if
|
|
578
|
+
you want the structure to survive the round trip.
|
|
579
|
+
|
|
442
580
|
## Contributing
|
|
443
581
|
|
|
444
|
-
We welcome contributions of all sizes. Check the
|
|
582
|
+
We welcome contributions of all sizes. Check the
|
|
583
|
+
[issue tracker](https://github.com/writerslogic/scrivener-mcp/issues) for `good first issue` labels,
|
|
584
|
+
or see the [contributing guide](./CONTRIBUTING.md) for development setup.
|
|
445
585
|
|
|
446
586
|
**Areas where help is especially welcome:**
|
|
587
|
+
|
|
447
588
|
- Test coverage ([#18](https://github.com/writerslogic/scrivener-mcp/issues/18))
|
|
448
589
|
- Windows testing and path handling
|
|
449
590
|
- Scrivener 2 compatibility testing
|
|
@@ -457,7 +598,17 @@ Found a vulnerability? Please report it privately — see [SECURITY.md](./SECURI
|
|
|
457
598
|
|
|
458
599
|
AGPL-3.0 © [WritersLogic, Inc.](https://github.com/writerslogic)
|
|
459
600
|
|
|
460
|
-
|
|
601
|
+
Scrivener is a trademark of Literature & Latte Ltd. This project is independent and is not
|
|
602
|
+
affiliated with, endorsed by, or sponsored by Literature & Latte.
|
|
603
|
+
|
|
604
|
+
Free for personal use and open-source projects. Commercial license available for proprietary
|
|
605
|
+
integration. See [COMMERCIAL_LICENSE.md](./COMMERCIAL_LICENSE.md) for details.
|
|
606
|
+
|
|
607
|
+
---
|
|
608
|
+
|
|
609
|
+
Also from WritersLogic: **[WritersProof](https://writersproof.com)** witnesses your keystrokes,
|
|
610
|
+
pauses, and revisions as you write, then seals that process into tamper-evident, independently
|
|
611
|
+
verifiable proof you wrote it yourself — AI accusations, settled with evidence instead of your word.
|
|
461
612
|
|
|
462
613
|
<p align="center">
|
|
463
614
|
<a href="https://glama.ai/mcp/servers/writerslogic/scrivener-mcp">
|
|
@@ -471,3 +622,7 @@ Free for personal use and open-source projects. Commercial license available for
|
|
|
471
622
|
<a href="https://github.com/writerslogic/scrivener-mcp/issues">Issues</a> ·
|
|
472
623
|
<a href="./CHANGELOG.md">Changelog</a>
|
|
473
624
|
</p>
|
|
625
|
+
|
|
626
|
+
MCP 2026-07-28 uses `server/discover` and a stable full tool catalog. Each request supplies the protocol version and client capabilities in standard MCP `_meta`. `open_project` returns `projectHandle` in text and structured content; pass it as an ordinary argument on subsequent project tool calls. The legacy `com.writerslogic/project` request metadata token is also accepted. Handles expire on close, reopen or restart. Calls are serialized per modern stdio connection. Legacy MCP initialization, implicit project scope and progressive skill discovery remain available.
|
|
627
|
+
|
|
628
|
+
Each connection admits at most 32 active or queued tool calls and 16 MiB of retained request parameters, with a burst of 120 attempts and refill of two attempts per second. Rejections are explicit and report retry guidance. Canceled queued work releases its slot; running work retains capacity until it settles. These limits do not bound total process memory, tool results or native worker allocations. Prefer the documented report page defaults and follow revision-bound continuation cursors when retrieving large reports.
|