negotium 0.2.5 → 0.2.7

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.
@@ -2147,7 +2147,7 @@ var init_claude_registry = __esm(() => {
2147
2147
  });
2148
2148
 
2149
2149
  // ../../packages/core/src/version.ts
2150
- var NEGOTIUM_VERSION = "0.2.5";
2150
+ var NEGOTIUM_VERSION = "0.2.7";
2151
2151
 
2152
2152
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
2153
2153
  import { spawn as spawn2 } from "child_process";
@@ -8175,16 +8175,16 @@ function checkAgentAuth(agent, host = defaultAgentAuthHost, userId) {
8175
8175
  case "claude": {
8176
8176
  if (host.environment.ANTHROPIC_API_KEY)
8177
8177
  return { ok: true };
8178
+ const path = join16(host.homeDirectory(), ".claude", ".credentials.json");
8178
8179
  if (host.operatingSystem() === "darwin") {
8179
- if (host.hasMacOsCredential("Claude Code-credentials")) {
8180
+ if (host.hasMacOsCredential("Claude Code-credentials") || host.exists(path)) {
8180
8181
  return { ok: true };
8181
8182
  }
8182
8183
  return {
8183
8184
  ok: false,
8184
- error: "claude is not logged in (no macOS keychain entry 'Claude Code-credentials'). Run `claude` and complete login first"
8185
+ error: `claude is not logged in (no macOS keychain entry 'Claude Code-credentials' and no credentials at ${path}). Run \`claude\` and complete login first`
8185
8186
  };
8186
8187
  }
8187
- const path = join16(host.homeDirectory(), ".claude", ".credentials.json");
8188
8188
  if (host.exists(path))
8189
8189
  return { ok: true };
8190
8190
  return {
@@ -18293,4 +18293,4 @@ export {
18293
18293
  DEFAULT_SELF_CONFIG_PRODUCT
18294
18294
  };
18295
18295
 
18296
- //# debugId=0A6AFB912A18777064756E2164756E21
18296
+ //# debugId=E488EA566B3CCFC864756E2164756E21