@autohq/cli 0.1.679 → 0.1.680
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-bridge.js +5 -3
- package/dist/index.js +49 -14
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -33032,6 +33032,7 @@ var AgentBridgeCodexConfigBaseSchema = AgentBridgeHarnessBaseConfigSchema.extend
|
|
|
33032
33032
|
approvals: AgentBridgeApprovalsSchema.optional()
|
|
33033
33033
|
});
|
|
33034
33034
|
var AGENT_BRIDGE_CODEX_MAX_REASONING_MODEL_IDS = /* @__PURE__ */ new Set([
|
|
33035
|
+
"gpt-6-astra",
|
|
33035
33036
|
"gpt-5.6-sol",
|
|
33036
33037
|
"gpt-5.6-terra",
|
|
33037
33038
|
"gpt-5.6-luna"
|
|
@@ -33217,7 +33218,7 @@ function bootstrapAdditionalData(input) {
|
|
|
33217
33218
|
// package.json
|
|
33218
33219
|
var package_default = {
|
|
33219
33220
|
name: "@autohq/cli",
|
|
33220
|
-
version: "0.1.
|
|
33221
|
+
version: "0.1.680",
|
|
33221
33222
|
license: "SEE LICENSE IN README.md",
|
|
33222
33223
|
publishConfig: {
|
|
33223
33224
|
access: "public"
|
|
@@ -77214,7 +77215,7 @@ var AskUserServer = class {
|
|
|
77214
77215
|
const server = this.createMcpServer();
|
|
77215
77216
|
const transport = new StreamableHTTPServerTransport({
|
|
77216
77217
|
sessionIdGenerator: void 0,
|
|
77217
|
-
// Codex 0.
|
|
77218
|
+
// Codex 0.153.0 requires ordinary initialize/list responses as JSON. A
|
|
77218
77219
|
// parked tool call keeps SSE enabled so progress notifications can flow
|
|
77219
77220
|
// over the held response without extending the hard client deadline.
|
|
77220
77221
|
enableJsonResponse: body.method !== "tools/call"
|
|
@@ -82467,6 +82468,7 @@ var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
|
|
|
82467
82468
|
var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
|
|
82468
82469
|
var CODEX_REASONING_SUMMARY = "detailed";
|
|
82469
82470
|
var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
|
|
82471
|
+
"gpt-6-astra",
|
|
82470
82472
|
CODEX_DEFAULT_MODEL,
|
|
82471
82473
|
"gpt-5.6-terra",
|
|
82472
82474
|
"gpt-5.6-luna",
|
|
@@ -82872,7 +82874,7 @@ function runStep(input, step, action) {
|
|
|
82872
82874
|
`agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
|
|
82873
82875
|
);
|
|
82874
82876
|
throw new Error(
|
|
82875
|
-
`Codex edit capability unavailable at ${step}: ${detail}. Codex 0.
|
|
82877
|
+
`Codex edit capability unavailable at ${step}: ${detail}. Codex 0.153.0's Auto custom-provider path declares no apply_patch tool; without the codex-path alias, exec invocations the interceptor does not recognize fail with command-not-found (codex-runtime-tool-loss-diagnostics).`
|
|
82876
82878
|
);
|
|
82877
82879
|
}
|
|
82878
82880
|
}
|
package/dist/index.js
CHANGED
|
@@ -16298,6 +16298,7 @@ var init_chatgpt_codex = __esm({
|
|
|
16298
16298
|
);
|
|
16299
16299
|
ChatGptCodexStreamingRequestSchema = external_exports.object({ stream: external_exports.literal(true) }).passthrough();
|
|
16300
16300
|
CHATGPT_CODEX_ELIGIBLE_MODELS = [
|
|
16301
|
+
"gpt-6-astra",
|
|
16301
16302
|
"gpt-5.6-sol",
|
|
16302
16303
|
"gpt-5.6-terra",
|
|
16303
16304
|
"gpt-5.6-luna",
|
|
@@ -17749,7 +17750,7 @@ function openAiTier(rates) {
|
|
|
17749
17750
|
cacheReadUsdPerMtok: rates.cachedInput
|
|
17750
17751
|
};
|
|
17751
17752
|
}
|
|
17752
|
-
function
|
|
17753
|
+
function openAiCacheWriteTier(rates) {
|
|
17753
17754
|
return {
|
|
17754
17755
|
inputUsdPerMtok: rates.input,
|
|
17755
17756
|
outputUsdPerMtok: rates.output,
|
|
@@ -17757,9 +17758,9 @@ function openAi56Tier(rates) {
|
|
|
17757
17758
|
cacheReadUsdPerMtok: rates.input * 0.1
|
|
17758
17759
|
};
|
|
17759
17760
|
}
|
|
17760
|
-
function
|
|
17761
|
+
function openAiLongContextTier(rates) {
|
|
17761
17762
|
return {
|
|
17762
|
-
...
|
|
17763
|
+
...openAiCacheWriteTier(rates),
|
|
17763
17764
|
longContext: {
|
|
17764
17765
|
thresholdInputTokens: 272e3,
|
|
17765
17766
|
inputMultiplier: 2,
|
|
@@ -17767,7 +17768,7 @@ function openAi56LongContextTier(rates) {
|
|
|
17767
17768
|
}
|
|
17768
17769
|
};
|
|
17769
17770
|
}
|
|
17770
|
-
var UnknownPricingVersionError, UnknownPricingModelError, RATE_CARD_2026_06_23, RATE_CARD_2026_07_04, RATE_CARD_2026_07_07, RATE_CARD_2026_07_09, RATE_CARD_2026_07_30, RATE_CARD_2026_09_01, PRICING_RATE_CARDS, CURRENT_PRICING_VERSION;
|
|
17771
|
+
var UnknownPricingVersionError, UnknownPricingModelError, RATE_CARD_2026_06_23, RATE_CARD_2026_07_04, RATE_CARD_2026_07_07, RATE_CARD_2026_07_09, RATE_CARD_2026_07_30, RATE_CARD_2026_09_01, RATE_CARD_2026_09_04, PRICING_RATE_CARDS, CURRENT_PRICING_VERSION;
|
|
17771
17772
|
var init_pricing = __esm({
|
|
17772
17773
|
"../../packages/schemas/src/pricing.ts"() {
|
|
17773
17774
|
"use strict";
|
|
@@ -17851,7 +17852,7 @@ var init_pricing = __esm({
|
|
|
17851
17852
|
// $6.25/Mtok, cached reads $0.50/Mtok, and output $30.00/Mtok. Source
|
|
17852
17853
|
// (verified 2026-07-09):
|
|
17853
17854
|
// https://help.openai.com/en/articles/20001325-a-preview-of-gpt-5-6-sol-terra-and-luna
|
|
17854
|
-
"gpt-5.6-sol":
|
|
17855
|
+
"gpt-5.6-sol": openAiCacheWriteTier({
|
|
17855
17856
|
input: 5,
|
|
17856
17857
|
output: 30
|
|
17857
17858
|
})
|
|
@@ -17862,11 +17863,11 @@ var init_pricing = __esm({
|
|
|
17862
17863
|
effectiveAt: "2026-07-30T00:00:00.000Z",
|
|
17863
17864
|
models: {
|
|
17864
17865
|
...RATE_CARD_2026_07_09.models,
|
|
17865
|
-
"gpt-5.6-terra":
|
|
17866
|
+
"gpt-5.6-terra": openAiLongContextTier({
|
|
17866
17867
|
input: 2,
|
|
17867
17868
|
output: 12
|
|
17868
17869
|
}),
|
|
17869
|
-
"gpt-5.6-luna":
|
|
17870
|
+
"gpt-5.6-luna": openAiLongContextTier({
|
|
17870
17871
|
input: 0.2,
|
|
17871
17872
|
output: 1.2
|
|
17872
17873
|
})
|
|
@@ -17881,15 +17882,27 @@ var init_pricing = __esm({
|
|
|
17881
17882
|
"claude-mythos-5-1": fable51Tier()
|
|
17882
17883
|
}
|
|
17883
17884
|
};
|
|
17885
|
+
RATE_CARD_2026_09_04 = {
|
|
17886
|
+
version: "2026-09-04",
|
|
17887
|
+
effectiveAt: "2026-09-04T00:00:00.000Z",
|
|
17888
|
+
models: {
|
|
17889
|
+
...RATE_CARD_2026_09_01.models,
|
|
17890
|
+
"gpt-6-astra": openAiLongContextTier({
|
|
17891
|
+
input: 10,
|
|
17892
|
+
output: 50
|
|
17893
|
+
})
|
|
17894
|
+
}
|
|
17895
|
+
};
|
|
17884
17896
|
PRICING_RATE_CARDS = {
|
|
17885
17897
|
[RATE_CARD_2026_06_23.version]: RATE_CARD_2026_06_23,
|
|
17886
17898
|
[RATE_CARD_2026_07_04.version]: RATE_CARD_2026_07_04,
|
|
17887
17899
|
[RATE_CARD_2026_07_07.version]: RATE_CARD_2026_07_07,
|
|
17888
17900
|
[RATE_CARD_2026_07_09.version]: RATE_CARD_2026_07_09,
|
|
17889
17901
|
[RATE_CARD_2026_07_30.version]: RATE_CARD_2026_07_30,
|
|
17890
|
-
[RATE_CARD_2026_09_01.version]: RATE_CARD_2026_09_01
|
|
17902
|
+
[RATE_CARD_2026_09_01.version]: RATE_CARD_2026_09_01,
|
|
17903
|
+
[RATE_CARD_2026_09_04.version]: RATE_CARD_2026_09_04
|
|
17891
17904
|
};
|
|
17892
|
-
CURRENT_PRICING_VERSION =
|
|
17905
|
+
CURRENT_PRICING_VERSION = RATE_CARD_2026_09_04.version;
|
|
17893
17906
|
}
|
|
17894
17907
|
});
|
|
17895
17908
|
|
|
@@ -18115,7 +18128,7 @@ function validatePricingForClosedProviderSelection(input) {
|
|
|
18115
18128
|
throw error51;
|
|
18116
18129
|
}
|
|
18117
18130
|
}
|
|
18118
|
-
var MODEL_API_TOKEN_PROVIDERS, ModelApiTokenProviderSchema, CLAUDE_CODE_REASONING_EFFORTS, CODEX_REASONING_EFFORTS, CODEX_MAX_REASONING_EFFORTS, ClaudeCodeReasoningEffortSchema, CodexReasoningEffortSchema, AgentReasoningEffortSchema, OPENROUTER_MODEL_SLUG_PATTERN, AgentModelOpenRouterProviderPrefsSchema, AgentModelOpenRouterSchema, AgentModelFallbackSchema, AgentModelSelectionSchema, ResolvedAgentModelSelectionSchema, ModelRoutingOpenRouterSchema, ModelRoutingConfigSchema, InvalidModelSelectionError, HARNESS_MODEL_RULES, MODEL_WIRE_ID_ALIASES;
|
|
18131
|
+
var MODEL_API_TOKEN_PROVIDERS, ModelApiTokenProviderSchema, CLAUDE_CODE_REASONING_EFFORTS, CODEX_REASONING_EFFORTS, CODEX_MAX_REASONING_EFFORTS, CODEX_ASTRA_REASONING_EFFORTS, ClaudeCodeReasoningEffortSchema, CodexReasoningEffortSchema, AgentReasoningEffortSchema, OPENROUTER_MODEL_SLUG_PATTERN, AgentModelOpenRouterProviderPrefsSchema, AgentModelOpenRouterSchema, AgentModelFallbackSchema, AgentModelSelectionSchema, ResolvedAgentModelSelectionSchema, ModelRoutingOpenRouterSchema, ModelRoutingConfigSchema, InvalidModelSelectionError, HARNESS_MODEL_RULES, MODEL_WIRE_ID_ALIASES;
|
|
18119
18132
|
var init_model_selection = __esm({
|
|
18120
18133
|
"../../packages/schemas/src/model-selection.ts"() {
|
|
18121
18134
|
"use strict";
|
|
@@ -18145,6 +18158,13 @@ var init_model_selection = __esm({
|
|
|
18145
18158
|
...CODEX_REASONING_EFFORTS,
|
|
18146
18159
|
"max"
|
|
18147
18160
|
];
|
|
18161
|
+
CODEX_ASTRA_REASONING_EFFORTS = [
|
|
18162
|
+
"low",
|
|
18163
|
+
"medium",
|
|
18164
|
+
"high",
|
|
18165
|
+
"xhigh",
|
|
18166
|
+
"max"
|
|
18167
|
+
];
|
|
18148
18168
|
ClaudeCodeReasoningEffortSchema = external_exports.enum(
|
|
18149
18169
|
CLAUDE_CODE_REASONING_EFFORTS
|
|
18150
18170
|
);
|
|
@@ -18253,6 +18273,7 @@ var init_model_selection = __esm({
|
|
|
18253
18273
|
defaultModel: "gpt-5.6-sol",
|
|
18254
18274
|
curatedModels: {
|
|
18255
18275
|
openai: [
|
|
18276
|
+
"gpt-6-astra",
|
|
18256
18277
|
"gpt-5.6-sol",
|
|
18257
18278
|
"gpt-5.6-terra",
|
|
18258
18279
|
"gpt-5.6-luna",
|
|
@@ -18260,7 +18281,15 @@ var init_model_selection = __esm({
|
|
|
18260
18281
|
"gpt-5.3-codex"
|
|
18261
18282
|
]
|
|
18262
18283
|
},
|
|
18263
|
-
curatedModelMetadata: {
|
|
18284
|
+
curatedModelMetadata: {
|
|
18285
|
+
openai: {
|
|
18286
|
+
"gpt-6-astra": {
|
|
18287
|
+
displayName: "GPT-6 Astra",
|
|
18288
|
+
availability: "limited_access",
|
|
18289
|
+
availabilityLabel: "Trusted Access Program"
|
|
18290
|
+
}
|
|
18291
|
+
}
|
|
18292
|
+
},
|
|
18264
18293
|
openProviderPatterns: {
|
|
18265
18294
|
openrouter: OPENROUTER_MODEL_SLUG_PATTERN
|
|
18266
18295
|
},
|
|
@@ -18268,6 +18297,10 @@ var init_model_selection = __esm({
|
|
|
18268
18297
|
reasoningEfforts: CODEX_REASONING_EFFORTS,
|
|
18269
18298
|
reasoningEffortsByModel: {
|
|
18270
18299
|
openai: {
|
|
18300
|
+
"gpt-6-astra": {
|
|
18301
|
+
defaultEffort: "medium",
|
|
18302
|
+
efforts: CODEX_ASTRA_REASONING_EFFORTS
|
|
18303
|
+
},
|
|
18271
18304
|
"gpt-5.6-sol": {
|
|
18272
18305
|
defaultEffort: "medium",
|
|
18273
18306
|
efforts: CODEX_MAX_REASONING_EFFORTS
|
|
@@ -105199,7 +105232,7 @@ var init_package = __esm({
|
|
|
105199
105232
|
"package.json"() {
|
|
105200
105233
|
package_default = {
|
|
105201
105234
|
name: "@autohq/cli",
|
|
105202
|
-
version: "0.1.
|
|
105235
|
+
version: "0.1.680",
|
|
105203
105236
|
license: "SEE LICENSE IN README.md",
|
|
105204
105237
|
publishConfig: {
|
|
105205
105238
|
access: "public"
|
|
@@ -116747,6 +116780,7 @@ var AgentBridgeCodexConfigBaseSchema = AgentBridgeHarnessBaseConfigSchema.extend
|
|
|
116747
116780
|
approvals: AgentBridgeApprovalsSchema.optional()
|
|
116748
116781
|
});
|
|
116749
116782
|
var AGENT_BRIDGE_CODEX_MAX_REASONING_MODEL_IDS = /* @__PURE__ */ new Set([
|
|
116783
|
+
"gpt-6-astra",
|
|
116750
116784
|
"gpt-5.6-sol",
|
|
116751
116785
|
"gpt-5.6-terra",
|
|
116752
116786
|
"gpt-5.6-luna"
|
|
@@ -119054,7 +119088,7 @@ var AskUserServer = class {
|
|
|
119054
119088
|
const server = this.createMcpServer();
|
|
119055
119089
|
const transport = new StreamableHTTPServerTransport({
|
|
119056
119090
|
sessionIdGenerator: void 0,
|
|
119057
|
-
// Codex 0.
|
|
119091
|
+
// Codex 0.153.0 requires ordinary initialize/list responses as JSON. A
|
|
119058
119092
|
// parked tool call keeps SSE enabled so progress notifications can flow
|
|
119059
119093
|
// over the held response without extending the hard client deadline.
|
|
119060
119094
|
enableJsonResponse: body.method !== "tools/call"
|
|
@@ -124322,6 +124356,7 @@ var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
|
|
|
124322
124356
|
var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
|
|
124323
124357
|
var CODEX_REASONING_SUMMARY = "detailed";
|
|
124324
124358
|
var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
|
|
124359
|
+
"gpt-6-astra",
|
|
124325
124360
|
CODEX_DEFAULT_MODEL,
|
|
124326
124361
|
"gpt-5.6-terra",
|
|
124327
124362
|
"gpt-5.6-luna",
|
|
@@ -124727,7 +124762,7 @@ function runStep(input, step, action) {
|
|
|
124727
124762
|
`agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
|
|
124728
124763
|
);
|
|
124729
124764
|
throw new Error(
|
|
124730
|
-
`Codex edit capability unavailable at ${step}: ${detail}. Codex 0.
|
|
124765
|
+
`Codex edit capability unavailable at ${step}: ${detail}. Codex 0.153.0's Auto custom-provider path declares no apply_patch tool; without the codex-path alias, exec invocations the interceptor does not recognize fail with command-not-found (codex-runtime-tool-loss-diagnostics).`
|
|
124731
124766
|
);
|
|
124732
124767
|
}
|
|
124733
124768
|
}
|