@autohq/cli 0.1.559 → 0.1.561

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.561",
30874
30874
  license: "SEE LICENSE IN README.md",
30875
30875
  publishConfig: {
30876
30876
  access: "public"
@@ -37898,6 +37898,40 @@ var ProviderResourceOwnershipUpdateResponseSchema = external_exports.object({
37898
37898
  ownership: ProviderResourceOwnershipViewSchema
37899
37899
  });
37900
37900
 
37901
+ // ../../packages/schemas/src/queued-message-force-interrupt.ts
37902
+ var QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS = [
37903
+ "command_not_pending",
37904
+ "command_not_deferred",
37905
+ "session_terminal"
37906
+ ];
37907
+ var QueuedMessageForceInterruptCurrentStateSchema = external_exports.object({
37908
+ commandStatus: SessionCommandStatusSchema,
37909
+ deliveryMode: MessageDeliveryModeSchema.nullable(),
37910
+ sessionStatus: SessionStatusSchema
37911
+ }).strict();
37912
+ var QueuedMessageForceInterruptDispatchSchema = external_exports.object({
37913
+ attempted: external_exports.boolean(),
37914
+ succeeded: external_exports.boolean(),
37915
+ error: external_exports.string().optional()
37916
+ }).strict();
37917
+ var QueuedMessageForceInterruptResponseSchema = external_exports.discriminatedUnion(
37918
+ "outcome",
37919
+ [
37920
+ external_exports.object({
37921
+ outcome: external_exports.literal("promoted"),
37922
+ commandId: SessionCommandIdSchema2,
37923
+ current: QueuedMessageForceInterruptCurrentStateSchema,
37924
+ dispatch: QueuedMessageForceInterruptDispatchSchema
37925
+ }).strict(),
37926
+ external_exports.object({
37927
+ outcome: external_exports.literal("noop"),
37928
+ commandId: SessionCommandIdSchema2,
37929
+ reason: external_exports.enum(QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS),
37930
+ current: QueuedMessageForceInterruptCurrentStateSchema
37931
+ }).strict()
37932
+ ]
37933
+ );
37934
+
37901
37935
  // ../../packages/schemas/src/project-config.ts
37902
37936
  var RESOURCE_KIND_CONFIG = "config";
37903
37937
  var DashboardTextSchema = external_exports.string().trim().min(1).max(240);
@@ -39428,11 +39462,11 @@ var ProjectUsageResponseSchema = external_exports.object({
39428
39462
  until: external_exports.string().datetime()
39429
39463
  }),
39430
39464
  totals: ProjectUsageTotalsSchema,
39431
- taskSummary: external_exports.object({
39432
- open: external_exports.number().int().nonnegative(),
39433
- inProgress: external_exports.number().int().nonnegative(),
39434
- done: external_exports.number().int().nonnegative(),
39435
- dropped: external_exports.number().int().nonnegative()
39465
+ taskThroughput: external_exports.object({
39466
+ created: external_exports.number().int().nonnegative(),
39467
+ completed: external_exports.number().int().nonnegative(),
39468
+ dropped: external_exports.number().int().nonnegative(),
39469
+ costPerCompletedTaskUsd: NonNegativeUsdSchema2.nullable()
39436
39470
  }).optional(),
39437
39471
  byAgent: external_exports.array(ProjectUsageAgentSummarySchema),
39438
39472
  byModel: external_exports.array(ProjectUsageModelSummarySchema),
@@ -76159,6 +76193,12 @@ var CODEX_EXECUTABLE_PATH = "codex";
76159
76193
  var CODEX_DEFAULT_MODEL = "gpt-5.6-sol";
76160
76194
  var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
76161
76195
  var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
76196
+ var CODEX_REASONING_SUMMARY = "auto";
76197
+ var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
76198
+ CODEX_DEFAULT_MODEL,
76199
+ "gpt-5.5",
76200
+ "gpt-5.3-codex"
76201
+ ]);
76162
76202
  var CODEX_APPROVAL_POLICY = "never";
76163
76203
  var CODEX_SANDBOX_MODE = "danger-full-access";
76164
76204
  var CODEX_OPENAI_BASE_URL = "https://api.openai.com/v1";
@@ -76211,6 +76251,11 @@ function renderCodexConfigToml(config2) {
76211
76251
  `model_reasoning_effort = ${tomlString(config2.reasoningEffort)}`
76212
76252
  );
76213
76253
  }
76254
+ if (supportsCodexReasoningSummary(config2)) {
76255
+ lines.push(
76256
+ `model_reasoning_summary = ${tomlString(CODEX_REASONING_SUMMARY)}`
76257
+ );
76258
+ }
76214
76259
  if (bypassApprovals(config2)) {
76215
76260
  lines.push(`approval_policy = ${tomlString(CODEX_APPROVAL_POLICY)}`);
76216
76261
  lines.push(`sandbox_mode = ${tomlString(CODEX_SANDBOX_MODE)}`);
@@ -76293,6 +76338,14 @@ function openRouterBaseUrlForCodexConfig(env) {
76293
76338
  function codexProviderIdForModel(config2) {
76294
76339
  return config2.model?.provider === "openrouter" ? CODEX_OPENROUTER_PROVIDER_ID : CODEX_HTTP_PROVIDER_ID;
76295
76340
  }
76341
+ function supportsCodexReasoningSummary(config2) {
76342
+ if ((config2.model?.provider ?? "openai") !== "openai") {
76343
+ return false;
76344
+ }
76345
+ return CODEX_REASONING_SUMMARY_MODEL_IDS.has(
76346
+ config2.model?.id ?? CODEX_DEFAULT_MODEL
76347
+ );
76348
+ }
76296
76349
  function codexHomeDir() {
76297
76350
  const home = process.env.HOME;
76298
76351
  if (!home) {
@@ -76531,7 +76584,7 @@ function runStep(input, step, action) {
76531
76584
  `agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
76532
76585
  );
76533
76586
  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).`
76587
+ `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
76588
  );
76536
76589
  }
76537
76590
  }
package/dist/index.js CHANGED
@@ -22115,6 +22115,50 @@ var init_provider_resource_ownership = __esm({
22115
22115
  }
22116
22116
  });
22117
22117
 
22118
+ // ../../packages/schemas/src/queued-message-force-interrupt.ts
22119
+ var QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS, QueuedMessageForceInterruptCurrentStateSchema, QueuedMessageForceInterruptDispatchSchema, QueuedMessageForceInterruptResponseSchema;
22120
+ var init_queued_message_force_interrupt = __esm({
22121
+ "../../packages/schemas/src/queued-message-force-interrupt.ts"() {
22122
+ "use strict";
22123
+ init_zod();
22124
+ init_ids();
22125
+ init_session_commands();
22126
+ init_sessions();
22127
+ QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS = [
22128
+ "command_not_pending",
22129
+ "command_not_deferred",
22130
+ "session_terminal"
22131
+ ];
22132
+ QueuedMessageForceInterruptCurrentStateSchema = external_exports.object({
22133
+ commandStatus: SessionCommandStatusSchema,
22134
+ deliveryMode: MessageDeliveryModeSchema.nullable(),
22135
+ sessionStatus: SessionStatusSchema
22136
+ }).strict();
22137
+ QueuedMessageForceInterruptDispatchSchema = external_exports.object({
22138
+ attempted: external_exports.boolean(),
22139
+ succeeded: external_exports.boolean(),
22140
+ error: external_exports.string().optional()
22141
+ }).strict();
22142
+ QueuedMessageForceInterruptResponseSchema = external_exports.discriminatedUnion(
22143
+ "outcome",
22144
+ [
22145
+ external_exports.object({
22146
+ outcome: external_exports.literal("promoted"),
22147
+ commandId: SessionCommandIdSchema,
22148
+ current: QueuedMessageForceInterruptCurrentStateSchema,
22149
+ dispatch: QueuedMessageForceInterruptDispatchSchema
22150
+ }).strict(),
22151
+ external_exports.object({
22152
+ outcome: external_exports.literal("noop"),
22153
+ commandId: SessionCommandIdSchema,
22154
+ reason: external_exports.enum(QUEUED_MESSAGE_FORCE_INTERRUPT_NOOP_REASONS),
22155
+ current: QueuedMessageForceInterruptCurrentStateSchema
22156
+ }).strict()
22157
+ ]
22158
+ );
22159
+ }
22160
+ });
22161
+
22118
22162
  // ../../packages/schemas/src/project-config.ts
22119
22163
  var RESOURCE_KIND_CONFIG, PROJECT_CONFIG_RESOURCE_NAME, PROJECT_CONFIG_FILE_NAME, DashboardTextSchema, DashboardViewKindSchema, DashboardViewSpecSchema, ProjectDashboardSpecSchema, ProjectConfigSpecSchema, ProjectConfigResourceSchema, ProjectConfigApplyRequestSchema, ProjectHomeAgentSchema, ProjectHomeSessionSchema, ProjectHomeResourceHealthSchema, ProjectHomeTaskSchema, ProjectHomeReadyViewSchema, ProjectHomeUnsupportedViewSchema, ProjectHomeInvalidViewSchema, ProjectHomeReadModelSchema, PROJECT_DEFAULT_AGENT_SOURCES, ProjectDefaultAgentSourceSchema, ProjectDefaultAgentSchema, UpdateProjectSettingsRequestSchema;
22120
22164
  var init_project_config = __esm({
@@ -81197,11 +81241,11 @@ var init_usage = __esm({
81197
81241
  until: external_exports.string().datetime()
81198
81242
  }),
81199
81243
  totals: ProjectUsageTotalsSchema,
81200
- taskSummary: external_exports.object({
81201
- open: external_exports.number().int().nonnegative(),
81202
- inProgress: external_exports.number().int().nonnegative(),
81203
- done: external_exports.number().int().nonnegative(),
81204
- dropped: external_exports.number().int().nonnegative()
81244
+ taskThroughput: external_exports.object({
81245
+ created: external_exports.number().int().nonnegative(),
81246
+ completed: external_exports.number().int().nonnegative(),
81247
+ dropped: external_exports.number().int().nonnegative(),
81248
+ costPerCompletedTaskUsd: NonNegativeUsdSchema2.nullable()
81205
81249
  }).optional(),
81206
81250
  byAgent: external_exports.array(ProjectUsageAgentSummarySchema),
81207
81251
  byModel: external_exports.array(ProjectUsageModelSummarySchema),
@@ -81402,6 +81446,7 @@ var init_src = __esm({
81402
81446
  init_platform_usage_feed();
81403
81447
  init_provider_grants();
81404
81448
  init_provider_resource_ownership();
81449
+ init_queued_message_force_interrupt();
81405
81450
  init_project_config();
81406
81451
  init_project_service_accounts();
81407
81452
  init_project_resources();
@@ -84199,7 +84244,7 @@ var init_package = __esm({
84199
84244
  "package.json"() {
84200
84245
  package_default = {
84201
84246
  name: "@autohq/cli",
84202
- version: "0.1.559",
84247
+ version: "0.1.561",
84203
84248
  license: "SEE LICENSE IN README.md",
84204
84249
  publishConfig: {
84205
84250
  access: "public"
@@ -86588,7 +86633,6 @@ var VARIABLE_DECLARATIONS_FIELD, VARIABLE_NAME_PATTERN2, VARIABLE_REFERENCE_PATT
86588
86633
  var init_template_variables = __esm({
86589
86634
  "../../packages/schemas/src/project-apply-files/template-variables.ts"() {
86590
86635
  "use strict";
86591
- init_templates();
86592
86636
  init_source();
86593
86637
  VARIABLE_DECLARATIONS_FIELD = "variables";
86594
86638
  VARIABLE_NAME_PATTERN2 = /^[A-Za-z_][A-Za-z0-9_]*$/;
@@ -101455,6 +101499,12 @@ var CODEX_EXECUTABLE_PATH = "codex";
101455
101499
  var CODEX_DEFAULT_MODEL = "gpt-5.6-sol";
101456
101500
  var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
101457
101501
  var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
101502
+ var CODEX_REASONING_SUMMARY = "auto";
101503
+ var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
101504
+ CODEX_DEFAULT_MODEL,
101505
+ "gpt-5.5",
101506
+ "gpt-5.3-codex"
101507
+ ]);
101458
101508
  var CODEX_APPROVAL_POLICY = "never";
101459
101509
  var CODEX_SANDBOX_MODE = "danger-full-access";
101460
101510
  var CODEX_OPENAI_BASE_URL = "https://api.openai.com/v1";
@@ -101507,6 +101557,11 @@ function renderCodexConfigToml(config2) {
101507
101557
  `model_reasoning_effort = ${tomlString(config2.reasoningEffort)}`
101508
101558
  );
101509
101559
  }
101560
+ if (supportsCodexReasoningSummary(config2)) {
101561
+ lines.push(
101562
+ `model_reasoning_summary = ${tomlString(CODEX_REASONING_SUMMARY)}`
101563
+ );
101564
+ }
101510
101565
  if (bypassApprovals(config2)) {
101511
101566
  lines.push(`approval_policy = ${tomlString(CODEX_APPROVAL_POLICY)}`);
101512
101567
  lines.push(`sandbox_mode = ${tomlString(CODEX_SANDBOX_MODE)}`);
@@ -101589,6 +101644,14 @@ function openRouterBaseUrlForCodexConfig(env) {
101589
101644
  function codexProviderIdForModel(config2) {
101590
101645
  return config2.model?.provider === "openrouter" ? CODEX_OPENROUTER_PROVIDER_ID : CODEX_HTTP_PROVIDER_ID;
101591
101646
  }
101647
+ function supportsCodexReasoningSummary(config2) {
101648
+ if ((config2.model?.provider ?? "openai") !== "openai") {
101649
+ return false;
101650
+ }
101651
+ return CODEX_REASONING_SUMMARY_MODEL_IDS.has(
101652
+ config2.model?.id ?? CODEX_DEFAULT_MODEL
101653
+ );
101654
+ }
101592
101655
  function codexHomeDir() {
101593
101656
  const home = process.env.HOME;
101594
101657
  if (!home) {
@@ -101827,7 +101890,7 @@ function runStep(input, step, action) {
101827
101890
  `agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
101828
101891
  );
101829
101892
  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).`
101893
+ `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
101894
  );
101832
101895
  }
101833
101896
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.559",
3
+ "version": "0.1.561",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"