@sesamespace/hivemind 0.8.7 → 0.8.9

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startPipeline
3
- } from "./chunk-KYNTNQXV.js";
3
+ } from "./chunk-CMPDA2UR.js";
4
4
 
5
5
  // packages/cli/src/commands/start.ts
6
6
  import { resolve } from "path";
@@ -66,4 +66,4 @@ Options:
66
66
  export {
67
67
  runStartCommand
68
68
  };
69
- //# sourceMappingURL=chunk-ISMZKQVP.js.map
69
+ //# sourceMappingURL=chunk-5LQLPBE2.js.map
@@ -6,7 +6,7 @@ import {
6
6
  PRIMARY_ROUTES,
7
7
  SesameClient2 as SesameClient,
8
8
  WORKER_ROUTES
9
- } from "./chunk-KYNTNQXV.js";
9
+ } from "./chunk-CMPDA2UR.js";
10
10
 
11
11
  // packages/runtime/src/watchdog.ts
12
12
  import { execSync } from "child_process";
@@ -1048,4 +1048,4 @@ export {
1048
1048
  WorkerMemorySync,
1049
1049
  PrimaryMemorySync
1050
1050
  };
1051
- //# sourceMappingURL=chunk-SIVKWEBG.js.map
1051
+ //# sourceMappingURL=chunk-AC6ETJUC.js.map
@@ -119,7 +119,12 @@ var LLMClient = class {
119
119
  console.warn("[llm] Auth: No API key found for Anthropic provider");
120
120
  }
121
121
  } else if (this.provider === "anthropic") {
122
- console.log("[llm] Auth: Anthropic API key (from config/env)");
122
+ if (this.apiKey.startsWith("sk-ant-oat")) {
123
+ this.isOAuth = true;
124
+ console.log("[llm] Auth: Claude Max OAuth (from config)");
125
+ } else {
126
+ console.log("[llm] Auth: Anthropic API key (from config/env)");
127
+ }
123
128
  }
124
129
  }
125
130
  /**
@@ -3922,7 +3927,7 @@ function registerShellTool(registry, workspaceDir) {
3922
3927
  maxBuffer: 10 * 1024 * 1024,
3923
3928
  // 10MB
3924
3929
  shell: "/bin/sh",
3925
- env: { ...process.env, PATH: `/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:${process.env.PATH}` }
3930
+ env: { ...process.env, PATH: `${process.env.HOME || "/root"}/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:${process.env.PATH}` }
3926
3931
  });
3927
3932
  const trimmed = output.length > MAX_OUTPUT ? output.slice(0, MAX_OUTPUT) + `
3928
3933
  ... (truncated, ${output.length} total chars)` : output;
@@ -6302,8 +6307,10 @@ function registerCodingAgentTools(registry, workspaceDir) {
6302
6307
  const task = params.task;
6303
6308
  const timeoutSeconds = params.timeout || 300;
6304
6309
  const cwd = params.workdir ? resolve16(workspaceDir, params.workdir) : workspaceDir;
6310
+ const homedir = process.env.HOME || "/root";
6311
+ const extendedPath = `${homedir}/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:${process.env.PATH}`;
6305
6312
  try {
6306
- execSync8("which claude", { stdio: "ignore" });
6313
+ execSync8("which claude", { stdio: "ignore", env: { ...process.env, PATH: extendedPath } });
6307
6314
  } catch {
6308
6315
  return "Error: 'claude' CLI not found. Install Claude Code first: https://docs.anthropic.com/en/docs/claude-code";
6309
6316
  }
@@ -6319,7 +6326,7 @@ function registerCodingAgentTools(registry, workspaceDir) {
6319
6326
  shell: "/bin/sh",
6320
6327
  env: {
6321
6328
  ...process.env,
6322
- PATH: `/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:${process.env.PATH}`
6329
+ PATH: extendedPath
6323
6330
  }
6324
6331
  });
6325
6332
  const trimmed = output.length > MAX_OUTPUT6 ? output.slice(0, MAX_OUTPUT6) + `
@@ -7393,4 +7400,4 @@ smol-toml/dist/index.js:
7393
7400
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7394
7401
  *)
7395
7402
  */
7396
- //# sourceMappingURL=chunk-KYNTNQXV.js.map
7403
+ //# sourceMappingURL=chunk-CMPDA2UR.js.map