@plannotator/opencode 0.24.0 → 0.24.1

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/dist/embedded.js CHANGED
@@ -642,7 +642,7 @@ function resolveMarkdownFileCore(input, projectRoot) {
642
642
  return { kind: "not_found", input };
643
643
  }
644
644
  const fromRoot = resolve(projectRoot, searchInput);
645
- if (isWithinProjectRoot(fromRoot, projectRoot) && fileExists(fromRoot)) {
645
+ if (fileExists(fromRoot) && (isWithinProjectRoot(fromRoot, projectRoot) || searchInput.includes("/"))) {
646
646
  return { kind: "found", path: fromRoot };
647
647
  }
648
648
  const allFiles = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plannotator/opencode",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "type": "module",
5
5
  "description": "Plannotator plugin for OpenCode - interactive plan review with visual annotation",
6
6
  "author": "backnotprop",
@@ -39,7 +39,7 @@
39
39
  "@opencode-ai/plugin": "^1.1.10"
40
40
  },
41
41
  "devDependencies": {
42
- "@plannotator/server": "0.24.0",
42
+ "@plannotator/server": "0.24.1",
43
43
  "@plannotator/shared": "0.0.1"
44
44
  },
45
45
  "peerDependencies": {