@aexhq/sdk 0.18.0 → 0.18.1

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.
@@ -7,7 +7,7 @@ import type { RunProvider } from "./submission.js";
7
7
  * first so SDK types, CLI validation, docs examples, and platform parsing move
8
8
  * together.
9
9
  */
10
- export declare const RUN_MODELS: readonly ["claude-haiku-4-5", "claude-3-5-haiku-latest", "claude-3-5-sonnet-latest", "deepseek-v4-flash", "deepseek-v4-pro", "deepseek-chat", "deepseek-reasoner", "gpt-4.1", "gpt-4o-mini", "gemini-2.0-flash", "gemini-2.5-flash", "mistral-large-latest", "mistral-small-latest", "openai/gpt-4o-mini", "google/gemini-2.0-flash-001"];
10
+ export declare const RUN_MODELS: readonly ["claude-haiku-4-5", "claude-3-5-haiku-latest", "claude-3-5-sonnet-latest", "deepseek-v4-flash", "deepseek-v4-pro", "deepseek-chat", "deepseek-reasoner", "gpt-4.1", "gpt-4o-mini", "gemini-2.0-flash", "gemini-2.5-flash", "mistral-large-latest", "mistral-small-latest", "openai/gpt-4o-mini", "openai/gpt-4o", "google/gemini-2.0-flash-001"];
11
11
  export type RunModel = (typeof RUN_MODELS)[number];
12
12
  /**
13
13
  * Symbol-style accessors for the closed model set. Prefer these over raw
@@ -54,6 +54,8 @@ export declare const Models: {
54
54
  readonly MISTRAL_SMALL_LATEST: "mistral-small-latest";
55
55
  /** GPT-4o mini via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
56
56
  readonly OPENROUTER_GPT_4O_MINI: "openai/gpt-4o-mini";
57
+ /** GPT-4o via OpenRouter (provider-prefixed) — stronger, tool-obedient. */
58
+ readonly OPENROUTER_GPT_4O: "openai/gpt-4o";
57
59
  /** Gemini 2.0 Flash via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
58
60
  readonly OPENROUTER_GEMINI_2_0_FLASH: "google/gemini-2.0-flash-001";
59
61
  };
@@ -99,6 +101,8 @@ export declare const RunModels: {
99
101
  readonly MISTRAL_SMALL_LATEST: "mistral-small-latest";
100
102
  /** GPT-4o mini via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
101
103
  readonly OPENROUTER_GPT_4O_MINI: "openai/gpt-4o-mini";
104
+ /** GPT-4o via OpenRouter (provider-prefixed) — stronger, tool-obedient. */
105
+ readonly OPENROUTER_GPT_4O: "openai/gpt-4o";
102
106
  /** Gemini 2.0 Flash via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
103
107
  readonly OPENROUTER_GEMINI_2_0_FLASH: "google/gemini-2.0-flash-001";
104
108
  };
@@ -108,7 +112,7 @@ export declare const RUN_MODELS_BY_PROVIDER: {
108
112
  readonly openai: readonly ["gpt-4.1", "gpt-4o-mini"];
109
113
  readonly gemini: readonly ["gemini-2.0-flash", "gemini-2.5-flash"];
110
114
  readonly mistral: readonly ["mistral-large-latest", "mistral-small-latest"];
111
- readonly openrouter: readonly ["openai/gpt-4o-mini", "google/gemini-2.0-flash-001"];
115
+ readonly openrouter: readonly ["openai/gpt-4o-mini", "openai/gpt-4o", "google/gemini-2.0-flash-001"];
112
116
  };
113
117
  /**
114
118
  * Resolve the upstream provider for a model id. Returns `undefined` when the
@@ -21,6 +21,7 @@ export const RUN_MODELS = [
21
21
  "mistral-large-latest",
22
22
  "mistral-small-latest",
23
23
  "openai/gpt-4o-mini",
24
+ "openai/gpt-4o",
24
25
  "google/gemini-2.0-flash-001"
25
26
  ];
26
27
  /**
@@ -68,6 +69,8 @@ export const Models = {
68
69
  MISTRAL_SMALL_LATEST: "mistral-small-latest",
69
70
  /** GPT-4o mini via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
70
71
  OPENROUTER_GPT_4O_MINI: "openai/gpt-4o-mini",
72
+ /** GPT-4o via OpenRouter (provider-prefixed) — stronger, tool-obedient. */
73
+ OPENROUTER_GPT_4O: "openai/gpt-4o",
71
74
  /** Gemini 2.0 Flash via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
72
75
  OPENROUTER_GEMINI_2_0_FLASH: "google/gemini-2.0-flash-001"
73
76
  };
@@ -91,7 +94,11 @@ export const RUN_MODELS_BY_PROVIDER = {
91
94
  openai: [Models.GPT_4_1, Models.GPT_4O_MINI],
92
95
  gemini: [Models.GEMINI_2_0_FLASH, Models.GEMINI_2_5_FLASH],
93
96
  mistral: [Models.MISTRAL_LARGE_LATEST, Models.MISTRAL_SMALL_LATEST],
94
- openrouter: [Models.OPENROUTER_GPT_4O_MINI, Models.OPENROUTER_GEMINI_2_0_FLASH]
97
+ openrouter: [
98
+ Models.OPENROUTER_GPT_4O_MINI,
99
+ Models.OPENROUTER_GPT_4O,
100
+ Models.OPENROUTER_GEMINI_2_0_FLASH
101
+ ]
95
102
  };
96
103
  /**
97
104
  * Reverse index: every model id → its single upstream provider. Derived from
package/dist/cli.mjs CHANGED
@@ -145,6 +145,7 @@ var RUN_MODELS = [
145
145
  "mistral-large-latest",
146
146
  "mistral-small-latest",
147
147
  "openai/gpt-4o-mini",
148
+ "openai/gpt-4o",
148
149
  "google/gemini-2.0-flash-001"
149
150
  ];
150
151
  var Models = {
@@ -185,6 +186,8 @@ var Models = {
185
186
  MISTRAL_SMALL_LATEST: "mistral-small-latest",
186
187
  /** GPT-4o mini via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
187
188
  OPENROUTER_GPT_4O_MINI: "openai/gpt-4o-mini",
189
+ /** GPT-4o via OpenRouter (provider-prefixed) — stronger, tool-obedient. */
190
+ OPENROUTER_GPT_4O: "openai/gpt-4o",
188
191
  /** Gemini 2.0 Flash via OpenRouter (provider-prefixed) — cheap, tool-obedient. */
189
192
  OPENROUTER_GEMINI_2_0_FLASH: "google/gemini-2.0-flash-001"
190
193
  };
@@ -203,7 +206,11 @@ var RUN_MODELS_BY_PROVIDER = {
203
206
  openai: [Models.GPT_4_1, Models.GPT_4O_MINI],
204
207
  gemini: [Models.GEMINI_2_0_FLASH, Models.GEMINI_2_5_FLASH],
205
208
  mistral: [Models.MISTRAL_LARGE_LATEST, Models.MISTRAL_SMALL_LATEST],
206
- openrouter: [Models.OPENROUTER_GPT_4O_MINI, Models.OPENROUTER_GEMINI_2_0_FLASH]
209
+ openrouter: [
210
+ Models.OPENROUTER_GPT_4O_MINI,
211
+ Models.OPENROUTER_GPT_4O,
212
+ Models.OPENROUTER_GEMINI_2_0_FLASH
213
+ ]
207
214
  };
208
215
  var PROVIDER_BY_MODEL = (() => {
209
216
  const map = {};
@@ -1 +1 @@
1
- 4ccd416c796986c2242578c0eb8a4822508d925c81e68e6bcf503bbe2356b21c cli.mjs
1
+ 6b7daebf5f92a017a95c00574d40df47dcac2dece0c2098a60bacd5970b98fa7 cli.mjs
package/dist/version.d.ts CHANGED
@@ -6,4 +6,4 @@
6
6
  *
7
7
  * Used by the (future) User-Agent header on outbound SDK requests.
8
8
  */
9
- export declare const SDK_VERSION = "0.18.0";
9
+ export declare const SDK_VERSION = "0.18.1";
package/dist/version.js CHANGED
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * Used by the (future) User-Agent header on outbound SDK requests.
8
8
  */
9
- export const SDK_VERSION = "0.18.0";
9
+ export const SDK_VERSION = "0.18.1";
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexhq/sdk",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "TypeScript SDK for running autonomous agent sessions across providers (Anthropic, OpenAI, DeepSeek, Gemini, Mistral) behind one interface.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "examples"
27
27
  ],
28
28
  "devDependencies": {
29
- "@aexhq/contracts": "0.18.0"
29
+ "@aexhq/contracts": "0.18.1"
30
30
  },
31
31
  "engines": {
32
32
  "node": ">=20"