mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
chore: bump version to 0.19.0
Bump version across all 7 package/plugin manifests. Also refresh AGENTS.md (new Block types from #597, Code Tour endpoints from #569), prune removed flags from the Pi README (--plan-file, /plannotator-set-file from #595), and pin Renovate off bun-version bumps to keep the macOS codesign hotfix from v0.17.9 in place. For provenance purposes, this commit was AI assisted.
This commit is contained in:
@@ -13,6 +13,19 @@
|
||||
"matchManagers": ["github-actions"],
|
||||
"groupName": "GitHub Actions",
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"matchManagers": ["github-actions"],
|
||||
"matchDepNames": ["oven-sh/setup-bun"],
|
||||
"matchDepTypes": ["action"],
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"description": "Do not bump the bun-version input passed to oven-sh/setup-bun. See v0.17.9 hotfix.",
|
||||
"matchManagers": ["github-actions"],
|
||||
"matchDepNames": ["bun"],
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -243,12 +243,14 @@ During normal plan review, an Archive sidebar tab provides the same browsing via
|
||||
| `/api/external-annotations` | POST | Add external annotations (single or batch `{ annotations: [...] }`) |
|
||||
| `/api/external-annotations` | PATCH | Update fields on a single annotation (`?id=`) |
|
||||
| `/api/external-annotations` | DELETE | Remove by `?id=`, `?source=`, or clear all |
|
||||
| `/api/agents/capabilities` | GET | Check available agent providers (claude, codex) |
|
||||
| `/api/agents/capabilities` | GET | Check available agent providers (claude, codex, tour) |
|
||||
| `/api/agents/jobs/stream` | GET | SSE stream for real-time agent job status updates |
|
||||
| `/api/agents/jobs` | GET | Snapshot of agent jobs (polling fallback, `?since=N` for version gating) |
|
||||
| `/api/agents/jobs` | POST | Launch an agent job (body: `{ provider, command, label }`) |
|
||||
| `/api/agents/jobs` | DELETE | Kill all running agent jobs |
|
||||
| `/api/agents/jobs/:id` | DELETE | Kill a specific agent job |
|
||||
| `/api/tour/:jobId` | GET | Fetch Code Tour result (greeting, stops, checklist) for a completed tour job |
|
||||
| `/api/tour/:jobId/checklist` | PUT | Persist checklist item state for a Code Tour |
|
||||
|
||||
### Annotate Server (`packages/server/annotate.ts`)
|
||||
|
||||
@@ -337,10 +339,11 @@ interface Annotation {
|
||||
|
||||
interface Block {
|
||||
id: string;
|
||||
type: "paragraph" | "heading" | "blockquote" | "list-item" | "code" | "hr";
|
||||
type: "paragraph" | "heading" | "blockquote" | "list-item" | "code" | "hr" | "table" | "html" | "directive";
|
||||
content: string;
|
||||
level?: number; // For headings (1-6)
|
||||
language?: string; // For code blocks
|
||||
alertKind?: "note" | "tip" | "warning" | "caution" | "important"; // GitHub alerts (blockquote subtype)
|
||||
order: number;
|
||||
startLine: number;
|
||||
}
|
||||
@@ -352,12 +355,15 @@ interface Block {
|
||||
|
||||
`parseMarkdownToBlocks(markdown)` splits markdown into Block objects. Handles:
|
||||
|
||||
- Headings (`#`, `##`, etc.)
|
||||
- Headings (`#`, `##`, etc.) with slug-derived anchor ids
|
||||
- Code blocks (``` with language extraction)
|
||||
- List items (`-`, `*`, `1.`)
|
||||
- Blockquotes (`>`)
|
||||
- Blockquotes (`>`) — including GitHub alerts (`> [!NOTE|TIP|WARNING|CAUTION|IMPORTANT]`) which set `alertKind`
|
||||
- Horizontal rules (`---`)
|
||||
- Paragraphs (default)
|
||||
- Tables (pipe-delimited) — rendered via `TableBlock` with a `TableToolbar` (copy as markdown/CSV) and `TablePopout` overlay
|
||||
- Raw HTML blocks (`<details>`, `<summary>`, etc.) — rendered via `HtmlBlock` through `marked` + DOMPurify
|
||||
- Directive containers (`:::kind ... :::`) — rendered via `Callout`
|
||||
- Paragraphs (default) with inline extras: bare URL autolinks, `@mentions` / `#issue-refs`, emoji shortcodes, smart punctuation
|
||||
|
||||
`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.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "plannotator-copilot",
|
||||
"description": "Interactive Plan & Code Review for GitHub Copilot CLI. Visual annotations, team sharing, structured feedback.",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"author": { "name": "backnotprop" },
|
||||
"repository": "https://github.com/backnotprop/plannotator",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "plannotator",
|
||||
"description": "Interactive Plan Review: Mark up and refine your plans using a UI, easily share for team collaboration, automatically integrates with plan mode hooks.",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"author": {
|
||||
"name": "backnotprop"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@plannotator/opencode",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"description": "Plannotator plugin for OpenCode - interactive plan review with visual annotation",
|
||||
"author": "backnotprop",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
|
||||
@@ -190,8 +190,7 @@ During execution, the agent marks completed steps with `[DONE:n]` markers. Progr
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `/plannotator [path]` | Toggle plan mode. Accepts optional file path or prompts interactively |
|
||||
| `/plannotator-set-file <path>` | Change the plan file path mid-session |
|
||||
| `/plannotator` | Toggle plan mode. The agent writes a markdown plan file anywhere in the working directory and submits its path |
|
||||
| `/plannotator-status` | Show current phase, plan file, and progress |
|
||||
| `/plannotator-review` | Open code review UI for current changes |
|
||||
| `/plannotator-annotate <file>` | Open markdown file in annotation UI |
|
||||
@@ -202,7 +201,6 @@ During execution, the agent marks completed steps with `[DONE:n]` markers. Progr
|
||||
| Flag | Description |
|
||||
|------|-------------|
|
||||
| `--plan` | Start in plan mode |
|
||||
| `--plan-file <path>` | Custom plan file path (default: `PLAN.md`) |
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@plannotator/pi-extension",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"type": "module",
|
||||
"description": "Plannotator extension for Pi coding agent - interactive plan review with visual annotation",
|
||||
"author": "backnotprop",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name: plannotator
|
||||
version: 0.18.0
|
||||
version: 0.19.0
|
||||
description: Annotate Claude Code and other agent plans and review code visually. Share with your team, and send feedback to your agent with one click
|
||||
author: backnotprop
|
||||
license: MIT/Apache2.0
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "plannotator",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"private": true,
|
||||
"description": "Interactive Plan Review for Claude Code - annotate plans visually, share with team, automatically send feedback",
|
||||
"author": "backnotprop",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@plannotator/server",
|
||||
"version": "0.18.0",
|
||||
"version": "0.19.0",
|
||||
"private": true,
|
||||
"description": "Shared server implementation for Plannotator plugins",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user