-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 15.5 KB
/
Copy pathpackage.json
File metadata and controls
192 lines (192 loc) · 15.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "fbs-bookwriter",
"version": "2.1.2",
"description": "福帮手出品 | 高质量长文档手稿工具链:书籍、手册、白皮书、行业指南、长篇报道、深度专题;支持联网查证(宿主允许时启用,离线自动降级)、S/P/C/B 分层审校、中文排版与 MD/HTML 交付。触发词:福帮手、福帮手写书skill、福帮手写书、写书、出书、写长篇、写手册、写白皮书、写行业指南、协作写书、定大纲、写章节、封面、插图、排版构建、导出、去AI味、质量自检、图文书、写报道、写深度稿、写特稿、写专题、写调查报道、写长文、激活原料、原料盘点、整理素材",
"author": "悟空共创(杭州)智能科技有限公司",
"homepage": "https://fbs-bookwriter.u3w.com/",
"license": "MIT",
"private": true,
"type": "module",
"engines": {
"node": ">=18",
"workbuddy": ">=1.1",
"codebuddy": ">=1.0"
},
"dependencies": {
"glob": "^13.0.6",
"iconv-lite": "^0.7.2"
},
"optionalDependencies": {
"html-to-docx": "^1.8.0",
"markdown-it": "^14.0.0",
"markdown-it-footnote": "^4.0.0",
"puppeteer": "^22.0.0"
},
"scripts": {
"build": "node assets/build.mjs",
"build:check": "node assets/build.mjs --check",
"test": "vitest run --config vitest.config.mjs",
"test:smoke": "node scripts/smoke-pack-verify.mjs",
"test:unit": "npm test",
"test:contract": "vitest run --config vitest.config.mjs scripts/test/skill-package-consistency.test.mjs scripts/test/entry-contracts.test.mjs scripts/test/version.test.mjs scripts/test/validate-runtime-hints.test.mjs scripts/test/evolution-gate.test.mjs scripts/test/progress-snapshot.test.mjs scripts/test/workbuddy-session-snapshot.test.mjs scripts/test/host-presentation-contract.test.mjs scripts/test/channel-pack-triple.test.mjs",
"test:integration": "vitest run --config vitest.config.mjs --exclude scripts/test/skill-package-consistency.test.mjs --exclude scripts/test/entry-contracts.test.mjs --exclude scripts/test/version.test.mjs --exclude scripts/test/validate-runtime-hints.test.mjs --exclude scripts/test/evolution-gate.test.mjs --exclude scripts/test/progress-snapshot.test.mjs --exclude scripts/test/workbuddy-session-snapshot.test.mjs",
"test:standard-chain": "vitest run --config vitest.config.mjs scripts/test/standard-execution-chain.test.mjs",
"test:s3-gate": "vitest run --config vitest.config.mjs scripts/test/s3-start-gate.test.mjs",
"test:s3-guard": "vitest run --config vitest.config.mjs scripts/test/s3-guard.test.mjs",
"host:detect": "node scripts/host-capability-detect.mjs --book-root . --json",
"intake:route": "node scripts/intake-router.mjs",
"intake:new": "node scripts/intake-router.mjs --intent new-session",
"intake:edit": "node scripts/intake-router.mjs --intent edit",
"intake:resume": "node scripts/intake-router.mjs --intent resume",
"intake:qc": "node scripts/intake-router.mjs --intent qc",
"init:fbs": "node scripts/init-fbs-multiagent-artifacts.mjs",
"gate:s3": "node scripts/s3-start-gate.mjs",
"gate:s0-exit": "node scripts/s0-exit-gate.mjs",
"gate:s3:strict": "node scripts/s3-start-gate.mjs --verify-stages",
"gate:polish": "node scripts/polish-gate.mjs",
"gate:chapter:strict": "node scripts/enforce-search-policy.mjs --verify-stages --stage-scope pre-s3 --verify-atomicity",
"run:standard-chain": "node scripts/standard-execution-chain.mjs",
"serve:presentation": "node scripts/presentation-preview-server.mjs",
"preview:latest": "node scripts/launch-presentation-preview.mjs",
"consume:presentation": "node scripts/host-consume-presentation.mjs",
"monitor:heartbeat": "node scripts/heartbeat-monitor.mjs",
"verify:chapter-status": "node scripts/verify-chapter-status-truth.mjs",
"gate:writing-contract": "node scripts/writing-contract-gate.mjs",
"verify:expansion": "node scripts/expansion-word-verify.mjs",
"rewrite:plan": "node scripts/rewrite-plan-bootstrap.mjs",
"backup:source-write": "node scripts/source-write-backup.mjs",
"verify:expansion-plan": "node scripts/verify-expansion-plan-structure.mjs",
"gate:expansion": "node scripts/expansion-gate.mjs",
"audit:expansion-plan": "node scripts/expansion-plan-vs-material.mjs",
"scan:adjacent": "node scripts/adjacent-chapter-similarity.mjs",
"merge:expansion-batch": "node scripts/merge-expansion-batch.mjs",
"env:preflight": "node scripts/env-preflight.mjs",
"doctor": "node scripts/fbs-doctor.mjs",
"validate:skill-frontmatter": "node scripts/validate-skill-frontmatter.mjs --skill-root .",
"merge:chapters": "node scripts/merge-chapters.mjs",
"sync:chapter-status-chars": "node scripts/sync-chapter-status-chars.mjs",
"book-health:snapshot": "node scripts/book-health-snapshot.mjs --book-root ./fixtures/ci-book-root --skill-root . --skip-expansion-gate",
"ci:fast": "npm test && npm run validate:runtime-hints && npm run check:search-policy && npm run audit:consistency",
"ci:release": "npm run ci:fast && npm run audit:all && npm run manifest:scripts && npm run gate:evolution",
"guard:s3": "node scripts/s3-guard.mjs",
"guard:s3:full": "node scripts/s3-guard.mjs --verify-stages --audit-broken-links-enforce",
"guard:s3:midterm": "node scripts/s3-guard.mjs --skill-root . --book-root ./fixtures/ci-book-root --with-midterm-chain --midterm-days 7",
"audit:broken-links": "node scripts/audit-broken-links.mjs --root . --channel user --enforce",
"audit:all": "node scripts/run-p0-audits.mjs --skill-root . --book-root ./fixtures/ci-book-root",
"audit:all:strict": "node scripts/run-p0-audits.mjs --skill-root . --book-root ./fixtures/ci-book-root --strict",
"audit:entry-gate": "node scripts/audit-entry-performance.mjs --skill-root . --book-root . --channel all --enforce",
"inspect:large-files": "node scripts/large-file-inspector.mjs --root . --top 30 --min-kb 20",
"inspect:large-lines": "node scripts/tools/list-large-sources.mjs",
"guard:file-growth": "node scripts/file-growth-guard.mjs",
"archive:fbs-auto": "node scripts/fbs-auto-archive.mjs",
"state:weekly-export": "node scripts/book-state-weekly-export.mjs",
"midterm:dashboard": "node scripts/midterm-performance-dashboard.mjs --book-root ./fixtures/ci-book-root --days 7",
"midterm:governance": "node scripts/midterm-governance-report.mjs --book-root ./fixtures/ci-book-root --week-label 2026-W16 --json",
"midterm:trend": "node scripts/midterm-trend-summary.mjs --book-root ./fixtures/ci-book-root --json",
"midterm:milestone": "node scripts/midterm-milestone-report.mjs --book-root ./fixtures/ci-book-root --week-label 2026-W16 --json",
"knowledge:cards": "node scripts/build-search-knowledge-cards.mjs --book-root ./fixtures/ci-book-root --json",
"knowledge:reuse": "node scripts/knowledge-reuse-kpi.mjs --book-root ./fixtures/ci-book-root --json",
"intent:ops:report": "node scripts/intent-ops-report.mjs",
"kpi:visible-tech-action": "node scripts/visible-tech-action-kpi.mjs --skill-root . --book-root ./fixtures/ci-book-root --mode runtime --min-reason-coverage 90",
"gate:tool-output-budget": "node scripts/tool-output-budget-gate.mjs --book-root ./fixtures/ci-book-root --max-per-file-kb 512 --max-total-mb 8",
"gate:command-approval": "node scripts/approval-policy.mjs --command \"node scripts/pack-release.mjs\" --json",
"scan:skill-import-security": "node scripts/skills-import-guard.mjs --skill-root .",
"session:recall": "node scripts/session-recall-summarizer.mjs --book-root ./fixtures/ci-book-root",
"guard:content-safety": "node scripts/content-safety-precheck.mjs --input-file ./SKILL.md",
"kpi:plugin-capability": "node scripts/plugin-capability-snapshot.mjs --book-root ./fixtures/ci-book-root --skill-root . --intent auto",
"kpi:plugin-routing": "node scripts/plugin-routing-kpi.mjs --book-root ./fixtures/ci-book-root",
"kpi:northstar": "node scripts/northstar-kpi.mjs --book-root ./fixtures/ci-book-root",
"workflow:delivery-chain": "node scripts/delivery-chain.mjs --book-root ./fixtures/ci-book-root",
"gate:dual-source": "node scripts/high-risk-dual-source-gate.mjs --book-root ./fixtures/ci-book-root --enforce",
"audit:temporal-checklist": "node scripts/temporal-anchor-missing-checklist.mjs --book-root ./fixtures/ci-book-root --json",
"retro:mapping-matrix": "node scripts/retro-mapping-matrix.mjs --book-root ./fixtures/ci-book-root --json",
"target:streak": "node scripts/midterm-target-streak-check.mjs --book-root ./fixtures/ci-book-root --json",
"governance:normalize": "node scripts/normalize-governance-artifacts.mjs --book-root ./fixtures/ci-book-root --prune-on-exists --json",
"midterm:chain": "node scripts/midterm-execution-chain.mjs --book-root ./fixtures/ci-book-root --skill-root . --days 7 --json",
"midterm:chain:strict": "node scripts/midterm-execution-chain.mjs --book-root ./fixtures/ci-book-root --skill-root . --days 7 --enforce",
"guard:structure": "node scripts/structural-bottleneck-guard.mjs --skill-root .",
"workflow:split": "node scripts/split-workflow-full.mjs --full-file ./references/01-core/section-3-workflow.full.md --out-dir ./references/01-core/workflow-volumes",
"lockfile:summary": "node scripts/lockfile-diff-summary.mjs --root . && node scripts/lockfile-diff-summary.mjs --root . --out fixtures/ci-book-root/.fbs/lockfile-summary.json",
"audit:encoding": "node scripts/encoding-governance.mjs --root .",
"quality:audit": "node scripts/quality-auditor-lite.mjs --inputs ./SKILL.md,./references/01-core/section-3-workflow.md,./references/01-core/section-nlu.md --min-score 7.5",
"quality:full": "node scripts/fbs-quality-full.mjs --book-root ./fixtures/ci-book-root",
"quality:audit:full": "node scripts/quality-auditor.mjs --glob \"references/**/*.md\" --enforce",
"quality:audit:incremental": "node scripts/quality-audit-incremental.mjs --skill-root . --book-root . --mode auto --since-hours 72 --max-files 30 --min-score 7.5",
"quality:audit:panorama": "node scripts/quality-panorama-orchestrator.mjs --skill-root . --book-root . --mode auto --since-hours 72 --max-files 30 --timeout-minutes 15 --max-turns 12 --max-retries 1",
"fbs:esm": "node scripts/fbs-record-esm-transition.mjs",
"fbs:search-preflight": "node scripts/record-search-preflight.mjs",
"audit:retro-sync": "node scripts/retro-action-sync.mjs",
"nudge:runtime": "node scripts/runtime-nudge.mjs",
"retro:skill-candidates": "node scripts/retro-to-skill-candidates.mjs",
"state:final-draft": "node scripts/final-draft-state-machine.mjs",
"govern:release": "node scripts/release-governor.mjs",
"govern:material": "node scripts/material-marker-governor.mjs",
"gate:final-clean": "node scripts/final-manuscript-clean-gate.mjs",
"fbs:cli": "node scripts/fbs-cli-bridge.mjs",
"session:state": "node scripts/session-state-manager.mjs",
"memory:smart:core": "node scripts/smart-memory-core.mjs",
"memory:smart:natural": "node scripts/smart-memory-natural.mjs",
"memory:preference:show": "node scripts/smart-memory-core.mjs preference-show .",
"memory:preference:update": "node scripts/smart-memory-core.mjs preference-update . --preference-json",
"memory:preference:freeze": "node scripts/smart-memory-core.mjs preference-freeze .",
"memory:preference:unfreeze": "node scripts/smart-memory-core.mjs preference-unfreeze .",
"memory:preference:history": "node scripts/smart-memory-core.mjs preference-history .",
"search:planner": "node scripts/search-query-planner.mjs",
"search:time-anchor": "node scripts/time-anchor-resolver.mjs",
"search:router": "node scripts/cn-source-router.mjs",
"search:repair": "node scripts/reflective-repair-orchestrator.mjs",
"guard:ux-flow": "node scripts/ux-flow-guard.mjs --skill-root . --book-root .",
"test:retrieval-chain": "vitest run --config vitest.config.mjs scripts/test/retrieval-execution-chain.test.mjs",
"test:midterm-dashboard": "vitest run --config vitest.config.mjs scripts/test/midterm-performance-dashboard.test.mjs",
"test:midterm-governance": "vitest run --config vitest.config.mjs scripts/test/midterm-governance-report.test.mjs",
"test:governance-normalize": "vitest run --config vitest.config.mjs scripts/test/normalize-governance-artifacts.test.mjs",
"test:midterm-chain": "vitest run --config vitest.config.mjs scripts/test/midterm-execution-chain.test.mjs",
"test:midterm-addons": "vitest run --config vitest.config.mjs scripts/test/midterm-pipeline-addons.test.mjs",
"test:writing-agent": "vitest run --config vitest.config.mjs scripts/test/writing-agent-runtime.test.mjs",
"test:intent-canonical": "vitest run --config vitest.config.mjs scripts/test/intent-canonical.test.mjs",
"test:intent-ops-report": "vitest run --config vitest.config.mjs scripts/test/intent-ops-report.test.mjs",
"init:project-memory": "node scripts/init-project-memory.mjs",
"memory:apply-template": "node scripts/apply-book-memory-template.mjs",
"fbs:normalize-ledger-dim": "node scripts/normalize-ledger-dimensions.mjs",
"scene-pack:check": "node scripts/wecom/scene-pack-admin.mjs check",
"scene-pack:init": "node scripts/wecom/scene-pack-admin.mjs init --official",
"scene-pack:status": "node scripts/wecom/scene-pack-admin.mjs status",
"feedback:record": "node scripts/release-feedback-bridge.mjs record .",
"feedback:summary": "node scripts/release-feedback-bridge.mjs summary .",
"feedback:apply": "node scripts/release-feedback-bridge.mjs apply .",
"version:bump": "node scripts/version-bump.mjs",
"upgrade:diff-scan": "node scripts/upgrade-diff-scan.mjs",
"emit:upgrade-summary": "node scripts/emit-upgrade-summary.mjs",
"propose:lexicon-refresh": "node scripts/propose-lexicon-refresh.mjs",
"diagnostics:host": "node scripts/collect-host-diagnostics.mjs",
"test:probe-gate": "node scripts/test-probe-gate.mjs",
"pack:workbuddy": "node scripts/pack-workbuddy-marketplace.mjs",
"pack:team-handoff": "node scripts/pack-team-handoff.mjs",
"pack:internal-docs": "node scripts/pack-team-handoff.mjs",
"pack:codebuddy": "node scripts/pack-codebuddy-plugin.mjs",
"pack:skill-gates": "node scripts/lib/pack-skill-gates.mjs",
"audit:manuscript-full": "node scripts/quality-auditor.mjs --profile manuscript-full --book-root ./fixtures/ci-book-root --skill-root .",
"drift:chapter-status": "node scripts/chapter-status-drift.mjs --book-root ./fixtures/ci-book-root",
"audit:consistency": "node scripts/consistency-audit.mjs",
"validate:runtime-hints": "node scripts/validate-runtime-hints.mjs --skill-root .",
"build:search-policy": "node scripts/build-search-policy.mjs",
"build:intent-canonical": "node scripts/build-intent-canonical-assets.mjs",
"check:search-policy": "node scripts/build-search-policy.mjs --check",
"extract:search-policy": "node scripts/extract-search-policy-parts.mjs",
"manifest:scripts": "node scripts/generate-scripts-manifest.mjs",
"fbs:progress-snapshot": "node scripts/write-progress-snapshot.mjs",
"gate:evolution": "node scripts/evolution-gate.mjs",
"evolution:propose": "node scripts/evolution-propose.mjs",
"pack:openclaw": "node scripts/pack-openclaw-skill.mjs",
"publish:clawhub": "node scripts/publish-clawhub.mjs",
"pack:release": "node scripts/pack-release.mjs",
"pack:release:all": "node scripts/pack-release.mjs --all",
"clean:dist": "node scripts/clean-dist.mjs",
"clean:dist:prune": "node scripts/clean-dist.mjs --prune-pre-211"
},
"scene-pack-version": "2.1.2",
"devDependencies": {
"adm-zip": "^0.5.17",
"vitest": "^4.1.3"
}
}