negotium 0.3.4 → 0.3.6
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 +6 -15
- 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 +70 -17
- package/dist/main.js.map +11 -10
- package/dist/mcp-factories.js +6 -15
- 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/index.ts +1 -1
- package/dist/runtime/src/node-host.ts +1 -0
- package/dist/runtime/src/storage/app-settings.ts +15 -21
- package/dist/runtime/src/version.ts +1 -1
- package/dist/storage.js +6 -16
- package/dist/storage.js.map +3 -3
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/agent-helpers.js
CHANGED
|
@@ -2429,7 +2429,7 @@ var init_claude_registry = __esm(() => {
|
|
|
2429
2429
|
});
|
|
2430
2430
|
|
|
2431
2431
|
// ../../packages/core/src/version.ts
|
|
2432
|
-
var NEGOTIUM_VERSION = "0.3.
|
|
2432
|
+
var NEGOTIUM_VERSION = "0.3.6";
|
|
2433
2433
|
|
|
2434
2434
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
2435
2435
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -15714,30 +15714,21 @@ import { dirname as dirname14, join as join27 } from "path";
|
|
|
15714
15714
|
function settingsFile() {
|
|
15715
15715
|
return join27(resolveStorageDataDir(), "otium-settings.json");
|
|
15716
15716
|
}
|
|
15717
|
-
function
|
|
15717
|
+
function getGlobalAiName() {
|
|
15718
15718
|
const path = settingsFile();
|
|
15719
|
-
if (loadedSettingsFile === path)
|
|
15720
|
-
return path;
|
|
15721
|
-
loadedSettingsFile = path;
|
|
15722
|
-
aiName = DEFAULT_AI_NAME;
|
|
15723
15719
|
try {
|
|
15724
15720
|
if (existsSync18(path)) {
|
|
15725
15721
|
const data = JSON.parse(readFileSync17(path, "utf8"));
|
|
15726
15722
|
if (typeof data.aiName === "string" && data.aiName.trim()) {
|
|
15727
|
-
|
|
15723
|
+
return data.aiName.trim();
|
|
15728
15724
|
}
|
|
15729
15725
|
}
|
|
15730
15726
|
} catch {}
|
|
15731
|
-
return
|
|
15732
|
-
}
|
|
15733
|
-
function getGlobalAiName() {
|
|
15734
|
-
ensureSettingsLoaded();
|
|
15735
|
-
return aiName || DEFAULT_AI_NAME;
|
|
15727
|
+
return DEFAULT_AI_NAME;
|
|
15736
15728
|
}
|
|
15737
|
-
var DEFAULT_AI_NAME = "Otium"
|
|
15729
|
+
var DEFAULT_AI_NAME = "Otium";
|
|
15738
15730
|
var init_app_settings = __esm(async () => {
|
|
15739
15731
|
await init_storage_host();
|
|
15740
|
-
aiName = DEFAULT_AI_NAME;
|
|
15741
15732
|
});
|
|
15742
15733
|
|
|
15743
15734
|
// ../../packages/core/src/runtime/turn-runner.ts
|
|
@@ -18996,4 +18987,4 @@ export {
|
|
|
18996
18987
|
DEFAULT_SELF_CONFIG_PRODUCT
|
|
18997
18988
|
};
|
|
18998
18989
|
|
|
18999
|
-
//# debugId=
|
|
18990
|
+
//# debugId=11319A6F4FEA564C64756E2164756E21
|