omegon 0.10.5 → 0.10.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/bin/omegon.mjs CHANGED
@@ -82,6 +82,11 @@ if (process.argv.includes("--where")) {
82
82
  }
83
83
 
84
84
  process.env.PI_CODING_AGENT_DIR = stateDir;
85
+
86
+ // Suppress the upstream runtime's version check and changelog display.
87
+ // Omegon has its own /update command and version-check extension —
88
+ // the pi-coding-agent's built-in checks leak upstream version numbers.
89
+ process.env.PI_SKIP_VERSION_CHECK = "1";
85
90
  migrateLegacyStatePath("auth.json");
86
91
  migrateLegacyStatePath("settings.json");
87
92
  migrateLegacyStatePath("sessions", "directory");
@@ -107,6 +112,14 @@ function forceQuietStartup() {
107
112
  settings.collapseChangelog = true;
108
113
  changed = true;
109
114
  }
115
+ // Belt-and-suspenders: force lastChangelogVersion to a sentinel that is always
116
+ // semver-greater than any upstream changelog entry. This prevents the upstream
117
+ // "Updated to vX.Y.Z" banner even if PI_SKIP_VERSION_CHECK is somehow not set.
118
+ const SENTINEL_VERSION = "999.0.0";
119
+ if (settings.lastChangelogVersion !== SENTINEL_VERSION) {
120
+ settings.lastChangelogVersion = SENTINEL_VERSION;
121
+ changed = true;
122
+ }
110
123
  if (changed) {
111
124
  writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + "\n", "utf8");
112
125
  }
@@ -12490,6 +12490,23 @@ export declare const MODELS: {
12490
12490
  contextWindow: number;
12491
12491
  maxTokens: number;
12492
12492
  };
12493
+ readonly "openai/gpt-5.4-nano": {
12494
+ id: string;
12495
+ name: string;
12496
+ api: "anthropic-messages";
12497
+ provider: string;
12498
+ baseUrl: string;
12499
+ reasoning: true;
12500
+ input: ("image" | "text")[];
12501
+ cost: {
12502
+ input: number;
12503
+ output: number;
12504
+ cacheRead: number;
12505
+ cacheWrite: number;
12506
+ };
12507
+ contextWindow: number;
12508
+ maxTokens: number;
12509
+ };
12493
12510
  readonly "openai/gpt-5.4-pro": {
12494
12511
  id: string;
12495
12512
  name: string;