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
42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "@plannotator/guides-show",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "guides.show \u2014 the portable Guided Review viewer (CDN build) and its Cloudflare Worker.",
|
|
"scripts": {
|
|
"dev": "vite --config vite.viewer.config.ts",
|
|
"build:viewer": "vite build --config vite.viewer.config.ts",
|
|
"check:budgets": "bun run build/check-budgets.ts",
|
|
"dev:worker": "wrangler dev --local --host localhost:8787 --port 8787",
|
|
"deploy:worker": "wrangler deploy",
|
|
"deploy:viewer": "bun run build/deploy-viewer.ts",
|
|
"export:samples": "bun run build/export-sample.ts",
|
|
"serve:local": "bun run build/serve-local.ts",
|
|
"test": "bun test worker share viewer",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"typecheck:viewer": "tsc --noEmit -p tsconfig.viewer.json",
|
|
"sync:manifest": "bun run build/sync-manifest.ts",
|
|
"check:manifest": "bun run build/sync-manifest.ts --check"
|
|
},
|
|
"dependencies": {
|
|
"@pierre/diffs": "1.3.2",
|
|
"@plannotator/core": "workspace:*",
|
|
"@plannotator/guide-viewer": "workspace:*",
|
|
"@plannotator/review-editor": "workspace:*",
|
|
"@plannotator/ui": "workspace:*",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"typescript": "~5.8.2",
|
|
"vite": "^6.2.0",
|
|
"@cloudflare/workers-types": "^4.20241218.0",
|
|
"wrangler": "^4.30.0"
|
|
}
|
|
}
|