vibora 9.2.0 → 9.2.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.
package/dist/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <link rel="icon" type="image/png" href="/logo.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Vibora - Harness Attention. Ship.</title>
8
- <script type="module" crossorigin src="/assets/index-CiR6NFW4.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-BoBlRY9B.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-_KUkjbkF.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibora",
3
- "version": "9.2.0",
3
+ "version": "9.2.2",
4
4
  "description": "Harness Attention. Orchestrate Agents. Ship.",
5
5
  "license": "PolyForm-Shield-1.0.0",
6
6
  "repository": {
package/server/index.js CHANGED
@@ -180049,13 +180049,35 @@ function isClaudeCodeInstalled() {
180049
180049
  }
180050
180050
  return { installed: false };
180051
180051
  }
180052
+ function isOpenCodeInstalled() {
180053
+ const pathCheck = isCommandAvailable("opencode");
180054
+ if (pathCheck.installed) {
180055
+ return pathCheck;
180056
+ }
180057
+ const commonPaths = [
180058
+ join15(homedir6(), ".opencode", "bin", "opencode"),
180059
+ join15(homedir6(), ".local", "bin", "opencode"),
180060
+ "/usr/local/bin/opencode",
180061
+ "/opt/homebrew/bin/opencode"
180062
+ ];
180063
+ for (const path9 of commonPaths) {
180064
+ if (existsSync14(path9)) {
180065
+ return { installed: true, path: path9 };
180066
+ }
180067
+ }
180068
+ return { installed: false };
180069
+ }
180052
180070
  app13.get("/dependencies", (c) => {
180053
180071
  const claudeInstalledFromEnv = process.env.VIBORA_CLAUDE_INSTALLED === "1";
180054
180072
  const claudeMissingFromEnv = process.env.VIBORA_CLAUDE_MISSING === "1";
180055
180073
  const claudeCheck = claudeInstalledFromEnv ? { installed: true } : claudeMissingFromEnv ? { installed: false } : isClaudeCodeInstalled();
180074
+ const openCodeInstalledFromEnv = process.env.VIBORA_OPENCODE_INSTALLED === "1";
180075
+ const openCodeMissingFromEnv = process.env.VIBORA_OPENCODE_MISSING === "1";
180076
+ const openCodeCheck = openCodeInstalledFromEnv ? { installed: true } : openCodeMissingFromEnv ? { installed: false } : isOpenCodeInstalled();
180056
180077
  const dtachCheck = isCommandAvailable("dtach");
180057
180078
  return c.json({
180058
180079
  claudeCode: claudeCheck,
180080
+ openCode: openCodeCheck,
180059
180081
  dtach: dtachCheck
180060
180082
  });
180061
180083
  });