mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
64062af9a1
A Guided Review can now leave Plannotator: as a single self-contained HTML file that renders exactly like the in-app guide, as an encrypted-by-default share link on guides.show, or authored by any agent through the new guide CLI. Highlights: packages/guide-viewer extracted from review-editor at the injection seam (read-only host, no third renderer); guides.show Worker with R2-backed share storage, per-IP rate limiting on creation, delete tokens hashed at rest, and 128-bit ids; portable exports pin the viewer by SRI hash with budget and manifest gates in PR CI and at deploy; two-runtime parity across Bun and Pi verified; v0.27.x saved guides load unchanged. Retention is indefinite by explicit decision, to revisit with the lean sharing refactor. Decision record: adr/decisions/007-portable-guided-reviews-20260815.md
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "@plannotator/guide-viewer",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"description": "Guided Review renderer shared by the Plannotator review app and portable guide exports.",
|
|
"exports": {
|
|
".": "./index.ts",
|
|
"./types": "./types.ts",
|
|
"./diffParser": "./diffParser.ts",
|
|
"./renderInlineMarkdown": "./renderInlineMarkdown.tsx",
|
|
"./renderMarkdownProse": "./renderMarkdownProse.tsx",
|
|
"./host": "./host.tsx",
|
|
"./GuideView": "./GuideView.tsx",
|
|
"./GuideSectionCard": "./GuideSectionCard.tsx",
|
|
"./GuideFileCard": "./GuideFileCard.tsx",
|
|
"./GuideViewportManager": "./GuideViewportManager.tsx",
|
|
"./GuideSkeleton": "./GuideSkeleton.tsx",
|
|
"./GuideViewer": "./GuideViewer.tsx"
|
|
},
|
|
"files": ["**/*.ts", "**/*.tsx", "!**/*.test.ts", "!**/*.test.tsx"],
|
|
"dependencies": {
|
|
"@plannotator/core": "workspace:*",
|
|
"lucide-react": "^1.14.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3",
|
|
"typescript": "~5.8.2"
|
|
}
|
|
}
|