@openviking/opencode-plugin 2026.10.7 → 2026.10.8-2

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.
@@ -27,7 +27,10 @@ export function isBypassed(cfg, { sessionId, cwd } = {}) {
27
27
  if (cfg.bypassSession) return true;
28
28
  const patterns = cfg.bypassSessionPatterns || [];
29
29
  if (patterns.length === 0) return false;
30
- const haystacks = [sessionId, cwd].filter(Boolean);
30
+ // Windows hands hooks `C:\work\scratch`, while directory patterns are written
31
+ // with forward slashes.
32
+ const slashCwd = typeof cwd === "string" && cwd.includes("\\") ? cwd.replace(/\\/g, "/") : "";
33
+ const haystacks = [sessionId, cwd, slashCwd].filter(Boolean);
31
34
  for (const pat of patterns) {
32
35
  const re = globToRe(pat);
33
36
  if (haystacks.some((h) => re.test(h))) return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openviking/opencode-plugin",
3
- "version": "2026.10.7",
3
+ "version": "2026.10.8-2",
4
4
  "author": "@openviking",
5
5
  "description": "Unified OpenCode plugin for OpenViking repository retrieval and long-term memory",
6
6
  "type": "module",
@@ -46,5 +46,5 @@
46
46
  "code-search"
47
47
  ],
48
48
  "license": "Apache-2.0",
49
- "openvikingSourceCommit": "9b9ac101f1c47a62c050a7d7bb372c6f36266302"
49
+ "openvikingSourceCommit": "57a6ea5fdef4f62456996d3dac5583ba36fe1420"
50
50
  }