v0.8.0 — per-artifact public share (gist + hosted viewer) - #12
Merged
Conversation
- `agent-board share <design|spec|task|knowledge> <id>` publishes one artifact as a secret GitHub gist (via existing gh auth) rendered by a zero-build static viewer (docs/share, GitHub Pages from main/docs). - Designs: the wireframe bundle is inlined into one self-contained HTML (local css/js/img + CSS url() become inline content and data URLs; CDN/absolute refs untouched). Specs/tasks/knowledge render as Markdown. - Stable URL on re-share via a non-invasive shares.json index; `share list` and `share rm <kind> <id>`. - Web viewer: a Share button on every task/spec/knowledge/design detail, backed by a loopback-only POST /api/share (the board's first mutating route). - Hosted viewer is self-contained (vendored marked, no runtime CDN). - Unit tests for the bundle inliner + parseShareKind. Bump to 0.8.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Share one board artifact — a design, spec, task, or knowledge note — as a public link, without self-hosting and without the recipient installing anything. The unit is one artifact (not the whole board), which keeps redaction trivial.
What's in it
agent-board share <design|spec|task|knowledge> <id>— uploads the artifact as a secret GitHub gist (via your existingghauth) and prints a link rendered by a zero-build static viewer atdocs/share(GitHub Pages, already onmain/docs).url(...)become inline content and data URLs; CDN/absolute refs are left alone. Specs/tasks/knowledge render as Markdown.shares.jsonindex at the project root;share listandshare rm <kind> <id>manage shares.POST /api/share(the board's first mutating route — gated to localhost so--host 0.0.0.0can't let a LAN peer publish on your behalf).marked, no runtime CDN dependency).Verified
tsc --noEmitclean ·bun test69 pass (+2 for the bundle inliner +parseShareKind) ·agent-board skills checkno drift.Secret gists are link-private, not access-controlled; override the viewer with
AGENT_BOARD_SHARE_VIEWER. Bumps to 0.8.0.🤖 Generated with Claude Code