Skip to content

Commit 29fc792

Browse files
committed
chore: bump version to 0.17.5
For provenance purposes, this commit was AI assisted.
1 parent 93b4a4a commit 29fc792

11 files changed

Lines changed: 38 additions & 27 deletions

File tree

apps/copilot/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "plannotator-copilot",
33
"description": "Interactive Plan & Code Review for GitHub Copilot CLI. Visual annotations, team sharing, structured feedback.",
4-
"version": "0.17.4",
4+
"version": "0.17.5",
55
"author": { "name": "backnotprop" },
66
"repository": "https://github.com/backnotprop/plannotator",
77
"license": "MIT OR Apache-2.0",

apps/hook/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "plannotator",
33
"description": "Interactive Plan Review: Mark up and refine your plans using a UI, easily share for team collaboration, automatically integrates with plan mode hooks.",
4-
"version": "0.17.4",
4+
"version": "0.17.5",
55
"author": {
66
"name": "backnotprop"
77
},

apps/opencode-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plannotator/opencode",
3-
"version": "0.17.4",
3+
"version": "0.17.5",
44
"description": "Plannotator plugin for OpenCode - interactive plan review with visual annotation",
55
"author": "backnotprop",
66
"license": "MIT OR Apache-2.0",

apps/pi-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plannotator/pi-extension",
3-
"version": "0.17.4",
3+
"version": "0.17.5",
44
"type": "module",
55
"description": "Plannotator extension for Pi coding agent - interactive plan review with visual annotation",
66
"author": "backnotprop",

openpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: plannotator
2-
version: 0.17.4
2+
version: 0.17.5
33
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
44
author: backnotprop
55
license: MIT/Apache2.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plannotator",
3-
"version": "0.17.4",
3+
"version": "0.17.5",
44
"private": true,
55
"description": "Interactive Plan Review for Claude Code - annotate plans visually, share with team, automatically send feedback",
66
"author": "backnotprop",

packages/server/p4.ts

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,24 @@ async function runP4(
2020
args: string[],
2121
options?: { cwd?: string },
2222
): Promise<GitCommandResult> {
23-
const proc = Bun.spawn(["p4", ...args], {
24-
cwd: options?.cwd,
25-
stdout: "pipe",
26-
stderr: "pipe",
27-
});
28-
29-
const [stdout, stderr, exitCode] = await Promise.all([
30-
new Response(proc.stdout).text(),
31-
new Response(proc.stderr).text(),
32-
proc.exited,
33-
]);
34-
35-
return { stdout: stdout.replace(/\r\n/g, "\n"), stderr, exitCode };
23+
try {
24+
const proc = Bun.spawn(["p4", ...args], {
25+
cwd: options?.cwd,
26+
stdout: "pipe",
27+
stderr: "pipe",
28+
});
29+
30+
const [stdout, stderr, exitCode] = await Promise.all([
31+
new Response(proc.stdout).text(),
32+
new Response(proc.stderr).text(),
33+
proc.exited,
34+
]);
35+
36+
return { stdout: stdout.replace(/\r\n/g, "\n"), stderr, exitCode };
37+
} catch {
38+
// p4 not installed or not in PATH — treat as command failure
39+
return { stdout: "", stderr: "p4 not found", exitCode: 1 };
40+
}
3641
}
3742

3843
// --- Path helpers ---

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@plannotator/server",
3-
"version": "0.17.4",
3+
"version": "0.17.5",
44
"private": true,
55
"description": "Shared server implementation for Plannotator plugins",
66
"main": "index.ts",

packages/server/vcs.ts

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,17 @@ const gitProvider: VcsProvider = {
7878
id: "git",
7979

8080
async detect(cwd?: string): Promise<boolean> {
81-
const proc = Bun.spawn(["git", "rev-parse", "--is-inside-work-tree"], {
82-
cwd: cwd ?? undefined,
83-
stdout: "ignore",
84-
stderr: "ignore",
85-
});
86-
return (await proc.exited) === 0;
81+
try {
82+
const proc = Bun.spawn(["git", "rev-parse", "--is-inside-work-tree"], {
83+
cwd: cwd ?? undefined,
84+
stdout: "ignore",
85+
stderr: "ignore",
86+
});
87+
return (await proc.exited) === 0;
88+
} catch {
89+
// git not installed or not in PATH
90+
return false;
91+
}
8792
},
8893

8994
ownsDiffType(diffType: string): boolean {

scripts/install.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ if (Test-Path $pluginHooks) {
268268

269269
# Clear OpenCode plugin cache
270270
Remove-Item -Recurse -Force "$env:USERPROFILE\.cache\opencode\node_modules\@plannotator" -ErrorAction SilentlyContinue
271+
Remove-Item -Recurse -Force "$env:USERPROFILE\.cache\opencode\packages\@plannotator" -ErrorAction SilentlyContinue
271272
Remove-Item -Recurse -Force "$env:USERPROFILE\.bun\install\cache\@plannotator" -ErrorAction SilentlyContinue
272273

273274
# Clear Pi jiti cache to force fresh download on next run

0 commit comments

Comments
 (0)