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/mcp-factories.js
CHANGED
|
@@ -1017,7 +1017,7 @@ var init_claude_registry = __esm(() => {
|
|
|
1017
1017
|
});
|
|
1018
1018
|
|
|
1019
1019
|
// ../../packages/core/src/version.ts
|
|
1020
|
-
var NEGOTIUM_VERSION = "0.3.
|
|
1020
|
+
var NEGOTIUM_VERSION = "0.3.6";
|
|
1021
1021
|
|
|
1022
1022
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
1023
1023
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -15737,30 +15737,21 @@ import { dirname as dirname16, join as join29 } from "path";
|
|
|
15737
15737
|
function settingsFile() {
|
|
15738
15738
|
return join29(resolveStorageDataDir(), "otium-settings.json");
|
|
15739
15739
|
}
|
|
15740
|
-
function
|
|
15740
|
+
function getGlobalAiName() {
|
|
15741
15741
|
const path = settingsFile();
|
|
15742
|
-
if (loadedSettingsFile === path)
|
|
15743
|
-
return path;
|
|
15744
|
-
loadedSettingsFile = path;
|
|
15745
|
-
aiName = DEFAULT_AI_NAME;
|
|
15746
15742
|
try {
|
|
15747
15743
|
if (existsSync20(path)) {
|
|
15748
15744
|
const data = JSON.parse(readFileSync20(path, "utf8"));
|
|
15749
15745
|
if (typeof data.aiName === "string" && data.aiName.trim()) {
|
|
15750
|
-
|
|
15746
|
+
return data.aiName.trim();
|
|
15751
15747
|
}
|
|
15752
15748
|
}
|
|
15753
15749
|
} catch {}
|
|
15754
|
-
return
|
|
15755
|
-
}
|
|
15756
|
-
function getGlobalAiName() {
|
|
15757
|
-
ensureSettingsLoaded();
|
|
15758
|
-
return aiName || DEFAULT_AI_NAME;
|
|
15750
|
+
return DEFAULT_AI_NAME;
|
|
15759
15751
|
}
|
|
15760
|
-
var DEFAULT_AI_NAME = "Otium"
|
|
15752
|
+
var DEFAULT_AI_NAME = "Otium";
|
|
15761
15753
|
var init_app_settings = __esm(async () => {
|
|
15762
15754
|
await init_storage_host();
|
|
15763
|
-
aiName = DEFAULT_AI_NAME;
|
|
15764
15755
|
});
|
|
15765
15756
|
|
|
15766
15757
|
// ../../packages/core/src/runtime/turn-runner.ts
|
|
@@ -21538,4 +21529,4 @@ export {
|
|
|
21538
21529
|
createAgentHealthMcpServer
|
|
21539
21530
|
};
|
|
21540
21531
|
|
|
21541
|
-
//# debugId=
|
|
21532
|
+
//# debugId=E24528E1658A42ED64756E2164756E21
|