@autohq/cli 0.1.559 → 0.1.560

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.
@@ -30870,7 +30870,7 @@ Object.assign(lookup, {
30870
30870
  // package.json
30871
30871
  var package_default = {
30872
30872
  name: "@autohq/cli",
30873
- version: "0.1.559",
30873
+ version: "0.1.560",
30874
30874
  license: "SEE LICENSE IN README.md",
30875
30875
  publishConfig: {
30876
30876
  access: "public"
@@ -76159,6 +76159,12 @@ var CODEX_EXECUTABLE_PATH = "codex";
76159
76159
  var CODEX_DEFAULT_MODEL = "gpt-5.6-sol";
76160
76160
  var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
76161
76161
  var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
76162
+ var CODEX_REASONING_SUMMARY = "auto";
76163
+ var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
76164
+ CODEX_DEFAULT_MODEL,
76165
+ "gpt-5.5",
76166
+ "gpt-5.3-codex"
76167
+ ]);
76162
76168
  var CODEX_APPROVAL_POLICY = "never";
76163
76169
  var CODEX_SANDBOX_MODE = "danger-full-access";
76164
76170
  var CODEX_OPENAI_BASE_URL = "https://api.openai.com/v1";
@@ -76211,6 +76217,11 @@ function renderCodexConfigToml(config2) {
76211
76217
  `model_reasoning_effort = ${tomlString(config2.reasoningEffort)}`
76212
76218
  );
76213
76219
  }
76220
+ if (supportsCodexReasoningSummary(config2)) {
76221
+ lines.push(
76222
+ `model_reasoning_summary = ${tomlString(CODEX_REASONING_SUMMARY)}`
76223
+ );
76224
+ }
76214
76225
  if (bypassApprovals(config2)) {
76215
76226
  lines.push(`approval_policy = ${tomlString(CODEX_APPROVAL_POLICY)}`);
76216
76227
  lines.push(`sandbox_mode = ${tomlString(CODEX_SANDBOX_MODE)}`);
@@ -76293,6 +76304,14 @@ function openRouterBaseUrlForCodexConfig(env) {
76293
76304
  function codexProviderIdForModel(config2) {
76294
76305
  return config2.model?.provider === "openrouter" ? CODEX_OPENROUTER_PROVIDER_ID : CODEX_HTTP_PROVIDER_ID;
76295
76306
  }
76307
+ function supportsCodexReasoningSummary(config2) {
76308
+ if ((config2.model?.provider ?? "openai") !== "openai") {
76309
+ return false;
76310
+ }
76311
+ return CODEX_REASONING_SUMMARY_MODEL_IDS.has(
76312
+ config2.model?.id ?? CODEX_DEFAULT_MODEL
76313
+ );
76314
+ }
76296
76315
  function codexHomeDir() {
76297
76316
  const home = process.env.HOME;
76298
76317
  if (!home) {
@@ -76531,7 +76550,7 @@ function runStep(input, step, action) {
76531
76550
  `agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
76532
76551
  );
76533
76552
  throw new Error(
76534
- `Codex edit capability unavailable at ${step}: ${detail}. Codex 0.141.0 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).`
76553
+ `Codex edit capability unavailable at ${step}: ${detail}. Codex 0.145.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).`
76535
76554
  );
76536
76555
  }
76537
76556
  }
package/dist/index.js CHANGED
@@ -84199,7 +84199,7 @@ var init_package = __esm({
84199
84199
  "package.json"() {
84200
84200
  package_default = {
84201
84201
  name: "@autohq/cli",
84202
- version: "0.1.559",
84202
+ version: "0.1.560",
84203
84203
  license: "SEE LICENSE IN README.md",
84204
84204
  publishConfig: {
84205
84205
  access: "public"
@@ -101455,6 +101455,12 @@ var CODEX_EXECUTABLE_PATH = "codex";
101455
101455
  var CODEX_DEFAULT_MODEL = "gpt-5.6-sol";
101456
101456
  var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
101457
101457
  var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
101458
+ var CODEX_REASONING_SUMMARY = "auto";
101459
+ var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
101460
+ CODEX_DEFAULT_MODEL,
101461
+ "gpt-5.5",
101462
+ "gpt-5.3-codex"
101463
+ ]);
101458
101464
  var CODEX_APPROVAL_POLICY = "never";
101459
101465
  var CODEX_SANDBOX_MODE = "danger-full-access";
101460
101466
  var CODEX_OPENAI_BASE_URL = "https://api.openai.com/v1";
@@ -101507,6 +101513,11 @@ function renderCodexConfigToml(config2) {
101507
101513
  `model_reasoning_effort = ${tomlString(config2.reasoningEffort)}`
101508
101514
  );
101509
101515
  }
101516
+ if (supportsCodexReasoningSummary(config2)) {
101517
+ lines.push(
101518
+ `model_reasoning_summary = ${tomlString(CODEX_REASONING_SUMMARY)}`
101519
+ );
101520
+ }
101510
101521
  if (bypassApprovals(config2)) {
101511
101522
  lines.push(`approval_policy = ${tomlString(CODEX_APPROVAL_POLICY)}`);
101512
101523
  lines.push(`sandbox_mode = ${tomlString(CODEX_SANDBOX_MODE)}`);
@@ -101589,6 +101600,14 @@ function openRouterBaseUrlForCodexConfig(env) {
101589
101600
  function codexProviderIdForModel(config2) {
101590
101601
  return config2.model?.provider === "openrouter" ? CODEX_OPENROUTER_PROVIDER_ID : CODEX_HTTP_PROVIDER_ID;
101591
101602
  }
101603
+ function supportsCodexReasoningSummary(config2) {
101604
+ if ((config2.model?.provider ?? "openai") !== "openai") {
101605
+ return false;
101606
+ }
101607
+ return CODEX_REASONING_SUMMARY_MODEL_IDS.has(
101608
+ config2.model?.id ?? CODEX_DEFAULT_MODEL
101609
+ );
101610
+ }
101592
101611
  function codexHomeDir() {
101593
101612
  const home = process.env.HOME;
101594
101613
  if (!home) {
@@ -101827,7 +101846,7 @@ function runStep(input, step, action) {
101827
101846
  `agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
101828
101847
  );
101829
101848
  throw new Error(
101830
- `Codex edit capability unavailable at ${step}: ${detail}. Codex 0.141.0 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).`
101849
+ `Codex edit capability unavailable at ${step}: ${detail}. Codex 0.145.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).`
101831
101850
  );
101832
101851
  }
101833
101852
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.559",
3
+ "version": "0.1.560",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"