open-plan-annotator 0.2.8 → 0.2.10

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.
@@ -12,7 +12,7 @@
12
12
  "name": "open-plan-annotator",
13
13
  "source": "./",
14
14
  "description": "Interactive plan annotation UI: review, strikethrough, and comment on Claude's plans before approving. Fully local, no external services.",
15
- "version": "0.2.8",
15
+ "version": "0.2.10",
16
16
  "author": {
17
17
  "name": "ndom91"
18
18
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "open-plan-annotator",
3
3
  "description": "Interactive plan annotation UI: review, strikethrough, and comment on Claude's plans before approving. Fully local, no external services.",
4
- "version": "0.2.8",
4
+ "version": "0.2.10",
5
5
  "author": {
6
6
  "name": "ndom91"
7
7
  },
@@ -102,8 +102,9 @@ export async function runPlanReview(options) {
102
102
  const payload = buildHookPayload(options);
103
103
 
104
104
  const result = await new Promise((resolve, reject) => {
105
- const child = spawn(WRAPPER_PATH, [], {
106
- cwd: options.cwd ?? process.cwd(),
105
+ const cwd = options.cwd ?? process.cwd();
106
+ const child = spawn(process.execPath, [WRAPPER_PATH], {
107
+ cwd,
107
108
  stdio: ["pipe", "pipe", "pipe"],
108
109
  env: process.env,
109
110
  });
package/opencode/index.js CHANGED
@@ -144,6 +144,7 @@ export const OpenPlanAnnotatorPlugin = async (ctx) => {
144
144
  const result = await runPlanReview({
145
145
  plan: args.plan,
146
146
  sessionId: context.sessionID,
147
+ cwd: ctx.directory,
147
148
  });
148
149
 
149
150
  if (result.approved) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-plan-annotator",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "type": "module",
5
5
  "description": "Fully local plugin for interactive plan annotation from your Agentic assistants",
6
6
  "author": "ndom91",