@plannotator/pi-extension 0.19.17 → 0.19.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/assistant-message.ts +1 -1
- package/config.ts +1 -1
- package/current-pi-session.ts +1 -1
- package/index.ts +4 -4
- package/package.json +6 -6
- package/plannotator-browser.ts +1 -1
- package/plannotator-events.ts +1 -1
- package/plannotator.html +2 -2
- package/review-editor.html +2 -2
- package/skills/plannotator-last/SKILL.md +4 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Plannotator for Pi
|
|
2
2
|
|
|
3
|
-
Plannotator integration for the [Pi coding agent](https://github.com/
|
|
3
|
+
Plannotator integration for the [Pi coding agent](https://github.com/earendil-works/pi). Adds file-based plan mode with a visual browser UI for reviewing, annotating, and approving agent plans.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -226,4 +226,4 @@ State persists across session restarts via Pi's `appendEntry` API.
|
|
|
226
226
|
|
|
227
227
|
## Requirements
|
|
228
228
|
|
|
229
|
-
- [Pi](https://github.com/
|
|
229
|
+
- [Pi](https://github.com/earendil-works/pi) >= 0.74.0
|
package/assistant-message.ts
CHANGED
package/config.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
2
2
|
import { dirname, join } from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
|
-
import type { ThinkingLevel } from "@
|
|
5
|
+
import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
|
|
6
6
|
|
|
7
7
|
export type PhaseName = "planning" | "executing" | "reviewing";
|
|
8
8
|
export type RuntimePhase = PhaseName | "idle";
|
package/current-pi-session.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtensionAPI, ExtensionContext } from "@
|
|
1
|
+
import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
2
2
|
|
|
3
3
|
type SendUserMessageContent = Parameters<ExtensionAPI["sendUserMessage"]>[0];
|
|
4
4
|
type SendUserMessageOptions = Parameters<ExtensionAPI["sendUserMessage"]>[1];
|
package/index.ts
CHANGED
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
|
|
19
19
|
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
20
20
|
import { basename, resolve } from "node:path";
|
|
21
|
-
import type { ThinkingLevel } from "@
|
|
22
|
-
import { Type } from "@
|
|
21
|
+
import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
|
|
22
|
+
import { Type } from "@earendil-works/pi-ai";
|
|
23
23
|
import type {
|
|
24
24
|
ExtensionAPI,
|
|
25
25
|
ExtensionContext,
|
|
26
|
-
} from "@
|
|
27
|
-
import { Key } from "@
|
|
26
|
+
} from "@earendil-works/pi-coding-agent";
|
|
27
|
+
import { Key } from "@earendil-works/pi-tui";
|
|
28
28
|
import { buildPromptVariables, formatTodoList, loadPlannotatorConfig, renderTemplate, resolvePhaseProfile } from "./config.js";
|
|
29
29
|
import {
|
|
30
30
|
type ChecklistItem,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plannotator/pi-extension",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Plannotator Pi extension - interactive plan review with annotations, annotate agent messages, and review code/PRs",
|
|
6
6
|
"author": "backnotprop",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@joplin/turndown-plugin-gfm": "^1.0.64"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@
|
|
49
|
+
"@earendil-works/pi-coding-agent": ">=0.74.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
52
|
+
"@earendil-works/pi-coding-agent": ">=0.74.0",
|
|
53
|
+
"@earendil-works/pi-agent-core": ">=0.74.0",
|
|
54
|
+
"@earendil-works/pi-ai": ">=0.74.0",
|
|
55
|
+
"@earendil-works/pi-tui": ">=0.74.0"
|
|
56
56
|
}
|
|
57
57
|
}
|
package/plannotator-browser.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
|
|
|
4
4
|
import { spawnSync } from "node:child_process";
|
|
5
5
|
import { createWorktreePool, type WorktreePool } from "./generated/worktree-pool.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import type { ExtensionContext } from "@
|
|
7
|
+
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
8
8
|
import {
|
|
9
9
|
prepareLocalReviewDiff,
|
|
10
10
|
reviewRuntime,
|
package/plannotator-events.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import { dirname, join } from "node:path";
|
|
4
|
-
import type { ExtensionAPI, ExtensionContext } from "@
|
|
4
|
+
import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
5
5
|
import type { DiffType, VcsSelection } from "./server.js";
|
|
6
6
|
import {
|
|
7
7
|
getLastAssistantMessageText,
|