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.
- package/dist/agent-helpers.js +5 -5
- package/dist/agent-helpers.js.map +4 -4
- package/dist/hosted-agent.js +2 -2
- package/dist/hosted-agent.js.map +2 -2
- package/dist/main.js +15 -6
- package/dist/main.js.map +6 -6
- package/dist/mcp-factories.js +5 -5
- package/dist/mcp-factories.js.map +4 -4
- package/dist/registry.js +2 -2
- package/dist/registry.js.map +2 -2
- package/dist/runtime/src/agents/auth-check.ts +7 -4
- package/dist/runtime/src/application/submit-runtime-gateway-turn.ts +17 -3
- package/dist/runtime/src/storage/runtime-gateway-submissions.ts +20 -0
- package/dist/runtime/src/version.ts +1 -1
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/agent-helpers.js
CHANGED
|
@@ -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.
|
|
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:
|
|
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=
|
|
18296
|
+
//# debugId=E488EA566B3CCFC864756E2164756E21
|