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.
@@ -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.4";
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 ensureSettingsLoaded() {
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
- aiName = data.aiName.trim();
15723
+ return data.aiName.trim();
15728
15724
  }
15729
15725
  }
15730
15726
  } catch {}
15731
- return path;
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", aiName, loadedSettingsFile = null;
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=5C745F741A5318D264756E2164756E21
18990
+ //# debugId=11319A6F4FEA564C64756E2164756E21