You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/renovate.json
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,19 @@
13
13
"matchManagers": ["github-actions"],
14
14
"groupName": "GitHub Actions",
15
15
"automerge": false
16
+
},
17
+
{
18
+
"description": "Pin Bun to 1.3.11: 1.3.12+ broke macOS binary codesign for bun build --compile (hotfixed in v0.17.9). Unpin only after verifying signed builds work on the target version.",
19
+
"matchManagers": ["github-actions"],
20
+
"matchDepNames": ["oven-sh/setup-bun"],
21
+
"matchDepTypes": ["action"],
22
+
"enabled": true
23
+
},
24
+
{
25
+
"description": "Do not bump the bun-version input passed to oven-sh/setup-bun. See v0.17.9 hotfix.",
Copy file name to clipboardExpand all lines: AGENTS.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,7 @@ claude --plugin-dir ./apps/hook
131
131
|`PLANNOTATOR_SHARE`| Set to `disabled` to turn off URL sharing entirely. Default: enabled. |
132
132
|`PLANNOTATOR_SHARE_URL`| Custom base URL for share links (self-hosted portal). Default: `https://share.plannotator.ai`. |
133
133
|`PLANNOTATOR_PASTE_URL`| Base URL of the paste service API for short URL sharing. Default: `https://plannotator-paste.plannotator.workers.dev`. |
134
+
|`PLANNOTATOR_ORIGIN`| Explicit agent-origin override at the top of the detection chain. Valid values: `claude-code`, `opencode`, `codex`, `copilot-cli`, `gemini-cli`. Invalid values silently fall through to env-based detection. Unset by default. |
134
135
|`PLANNOTATOR_JINA`| Set to `0` / `false` to disable Jina Reader for URL annotation, or `1` / `true` to enable. Default: enabled. Can also be set via `~/.plannotator/config.json` (`{ "jina": false }`) or per-invocation via `--no-jina`. |
135
136
|`JINA_API_KEY`| Optional Jina Reader API key for higher rate limits (500 RPM vs 20 RPM unauthenticated). Free keys include 10M tokens. |
136
137
|`PLANNOTATOR_VERIFY_ATTESTATION`|**Read by the install scripts only**, not by the runtime binary. Set to `1` / `true` to have `scripts/install.sh` / `install.ps1` / `install.cmd` run `gh attestation verify` on every install. Off by default. Can also be set persistently via `~/.plannotator/config.json` (`{ "verifyAttestation": true }`) or per-invocation via `--verify-attestation`. Requires `gh` installed and authenticated. |
@@ -280,12 +281,14 @@ work; it is not part of the room-origin approve/deny surface.
280
281
|`/api/external-annotations`| POST | Add external annotations (single or batch `{ annotations: [...] }`) |
281
282
|`/api/external-annotations`| PATCH | Update fields on a single annotation (`?id=`) |
282
283
|`/api/external-annotations`| DELETE | Remove by `?id=`, `?source=`, or clear all |
283
-
|`/api/agents/capabilities`| GET | Check available agent providers (claude, codex) |
284
+
|`/api/agents/capabilities`| GET | Check available agent providers (claude, codex, tour) |
284
285
|`/api/agents/jobs/stream`| GET | SSE stream for real-time agent job status updates |
285
286
|`/api/agents/jobs`| GET | Snapshot of agent jobs (polling fallback, `?since=N` for version gating) |
286
287
|`/api/agents/jobs`| POST | Launch an agent job (body: `{ provider, command, label }`) |
287
288
|`/api/agents/jobs`| DELETE | Kill all running agent jobs |
288
289
|`/api/agents/jobs/:id`| DELETE | Kill a specific agent job |
290
+
|`/api/tour/:jobId`| GET | Fetch Code Tour result (greeting, stops, checklist) for a completed tour job |
291
+
|`/api/tour/:jobId/checklist`| PUT | Persist checklist item state for a Code Tour |
289
292
290
293
### Annotate Server (`packages/server/annotate.ts`)
`parseMarkdownToBlocks(markdown)` splits markdown into Block objects. Handles:
404
408
405
-
- Headings (`#`, `##`, etc.)
409
+
- Headings (`#`, `##`, etc.) with slug-derived anchor ids
406
410
- Code blocks (``` with language extraction)
407
411
- List items (`-`, `*`, `1.`)
408
-
- Blockquotes (`>`)
412
+
- Blockquotes (`>`) — including GitHub alerts (`> [!NOTE|TIP|WARNING|CAUTION|IMPORTANT]`) which set `alertKind`
409
413
- Horizontal rules (`---`)
410
-
- Paragraphs (default)
414
+
- Tables (pipe-delimited) — rendered via `TableBlock` with a `TableToolbar` (copy as markdown/CSV) and `TablePopout` overlay
415
+
- Raw HTML blocks (`<details>`, `<summary>`, etc.) — rendered via `HtmlBlock` through `marked` + DOMPurify
416
+
- Directive containers (`:::kind ... :::`) — rendered via `Callout`
417
+
- Paragraphs (default) with inline extras: bare URL autolinks, `@mentions` / `#issue-refs`, emoji shortcodes, smart punctuation
411
418
412
419
`exportAnnotations(blocks, annotations, globalAttachments)` generates human-readable feedback for Claude. Images are referenced by name: `[image-name] /tmp/path...`. Annotations with `diffContext` include `[In diff content]` labels.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Interactive Plan & Code Review for AI Coding Agents. Mark up and refine your pla
35
35
<tr><td><strong>Visual Plan Review</strong></td><td>Built-in hook</td><td>Approve or deny agent plans with inline annotations</td></tr>
36
36
<tr><td><strong>Plan Diff</strong></td><td>Automatic</td><td>See what changed when the agent revises a plan</td></tr>
37
37
<tr><td><strong>Code Review</strong></td><td><code>/plannotator-review</code></td><td>View git diffs or remote PRs. Package annotations and ask AI about the code as you review.</td></tr>
38
-
<tr><td><strong>Annotate Any File</strong></td><td><code>/plannotator-annotate</code></td><td>Annotate any markdown file and send feedback to your agent</td></tr>
38
+
<tr><td><strong>Annotate Any File</strong></td><td><code>/plannotator-annotate<file|folder|url></code></td><td>Annotate markdown, HTML, URLs, or folders and send feedback to your agent</td></tr>
39
39
<tr><td><strong>Annotate Last Message</strong></td><td><code>/plannotator-last</code></td><td>Annotate the agent's last response and send structured feedback</td></tr>
Copy file name to clipboardExpand all lines: apps/hook/.claude-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "plannotator",
3
3
"description": "Interactive Plan Review: Mark up and refine your plans using a UI, easily share for team collaboration, automatically integrates with plan mode hooks.",
0 commit comments