Files
backnotprop__plannotator/.gitignore
Michael Ramos 7d6dd29c08 perf(ui): load the HTML viewer bridge by URL for hosts, with a protocol version and ready timeout (#1398)
Opt-in bridgeScriptUrl on HtmlViewer so multi-chunk hosts can serve the 185 KB bridge as a hashed asset instead of an inlined string; the inline bridge stays the default and Plannotator's own builds, the Pi and OpenCode copies, and the live-app proxy are unchanged apart from a protocolVersion field on the bridge's ready message. The parent checks the version (one warning naming both versions; on the URL path a dismissible banner plus onBridgeUnavailable while the old bridge keeps working), arms a ready timeout on the URL path only, and resolves the URL against the parent document before it reaches the frame so a page's own base href cannot redirect the load. A prepack-generated bridge-script.asset.js (byte-for-byte the inline string) and a bridge-script.lite.ts alias target ship in the tarball. CSP and CORP requirements for hosts are documented.

AI-assisted (Claude) under maintainer direction.
2026-08-27 08:45:22 -07:00

81 lines
1.9 KiB
Plaintext

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
.astro
*.local
# npm pack output
*.tgz
# VS Code extension package
*.vsix
# OpenCode plugin build artifacts (generated from hook/review dist)
apps/opencode-plugin/plannotator.html
apps/opencode-plugin/review-editor.html
# The knowledge skill shipped in the npm package. Copied verbatim at build time
# from apps/skills/core/plannotator; never committed, so it cannot drift.
apps/opencode-plugin/skills/
# Pi extension build artifacts (generated from hook/review dist + shared packages)
apps/pi-extension/plannotator.html
apps/pi-extension/review-editor.html
# Same knowledge skill, vendored by vendor.sh for the Pi manifest's pi.skills.
apps/pi-extension/skills/
apps/pi-extension/storage.ts
apps/pi-extension/draft.ts
apps/pi-extension/project.ts
apps/pi-extension/feedback-templates.ts
apps/pi-extension/review-core.ts
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
# Claude Code session-local runtime state (lock files, scheduled-task state).
# Machine-specific; never belongs in the repo.
.claude/
.playwright-cli/
.serena/
*.ntvs*
*.njsproj
*.sln
*.sw?
opencode.json
plannotator-local
# Local research/reference docs (not for repo)
/reference/
/Plannotator Waitlist Signup/
# Local goal setup packages generated by the setup-goal skill.
/goals/
*.bun-build
# Local/CI security scanner reports are generated artifacts.
security-results/
# Local meta notes (not upstream)
/meta/
# Local Pi state/memory (not upstream)
/.pi/
# @plannotator/ui CSS build artifacts (generated by prepack — not committed)
packages/ui/styles.css
packages/ui/styles.js
# HTML viewer bridge assets, generated at prepack from bridge-script.ts
packages/ui/components/html-viewer/bridge-script.asset.js
packages/ui/components/html-viewer/bridge-script.lite.ts
.wrangler/