@autohq/cli 0.1.679 → 0.1.681

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.
@@ -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.679",
33221
+ version: "0.1.681",
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.146.0 requires ordinary initialize/list responses as JSON. A
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.146.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).`
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 openAi56Tier(rates) {
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 openAi56LongContextTier(rates) {
17761
+ function openAiLongContextTier(rates) {
17761
17762
  return {
17762
- ...openAi56Tier(rates),
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": openAi56Tier({
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": openAi56LongContextTier({
17866
+ "gpt-5.6-terra": openAiLongContextTier({
17866
17867
  input: 2,
17867
17868
  output: 12
17868
17869
  }),
17869
- "gpt-5.6-luna": openAi56LongContextTier({
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 = RATE_CARD_2026_09_01.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
@@ -19885,6 +19918,7 @@ var init_session_bindings = __esm({
19885
19918
  "chat.thread",
19886
19919
  "linear.issue",
19887
19920
  "webhook.key",
19921
+ "provider.entity",
19888
19922
  "auto.connection.authorization_attempt",
19889
19923
  "auto.session"
19890
19924
  ];
@@ -19897,6 +19931,7 @@ var init_session_bindings = __esm({
19897
19931
  "agent.singleton",
19898
19932
  "linear.issue",
19899
19933
  "webhook.key",
19934
+ "provider.entity",
19900
19935
  "auto.connection.authorization_attempt",
19901
19936
  "auto.session",
19902
19937
  "auto.task"
@@ -23099,6 +23134,73 @@ var init_provider_resource_ownership = __esm({
23099
23134
  }
23100
23135
  });
23101
23136
 
23137
+ // ../../packages/schemas/src/provider-triggers.ts
23138
+ var PROVIDER_TRIGGER_LIFECYCLES, ProviderTriggerLifecycleSchema, ProviderTriggerEntitySchema, ProviderTriggerDeliveryIdentitySchema, NormalizedProviderTriggerEventSchema, ProviderTriggerEventRecordMetadataSchema, ProviderTriggerTestFireRequestSchema, ProviderTriggerTestFireResponseSchema;
23139
+ var init_provider_triggers = __esm({
23140
+ "../../packages/schemas/src/provider-triggers.ts"() {
23141
+ "use strict";
23142
+ init_zod();
23143
+ init_primitives();
23144
+ PROVIDER_TRIGGER_LIFECYCLES = [
23145
+ "active",
23146
+ "terminal",
23147
+ "recovery"
23148
+ ];
23149
+ ProviderTriggerLifecycleSchema = external_exports.enum(
23150
+ PROVIDER_TRIGGER_LIFECYCLES
23151
+ );
23152
+ ProviderTriggerEntitySchema = external_exports.object({
23153
+ kind: external_exports.string().trim().min(1).max(128),
23154
+ key: external_exports.string().trim().min(1).max(2048)
23155
+ }).strict();
23156
+ ProviderTriggerDeliveryIdentitySchema = external_exports.object({
23157
+ /** Provider delivery attempt; changes when the provider replays an event. */
23158
+ deliveryId: external_exports.string().trim().min(1).max(1024),
23159
+ /** Stable provider event identity; remains fixed across retries/replays. */
23160
+ eventId: external_exports.string().trim().min(1).max(1024)
23161
+ }).strict();
23162
+ NormalizedProviderTriggerEventSchema = external_exports.object({
23163
+ event: external_exports.string().trim().min(1).max(256),
23164
+ externalInstallationId: external_exports.string().trim().min(1).max(1024),
23165
+ resource: external_exports.object({
23166
+ kind: external_exports.string().trim().min(1).max(128),
23167
+ externalId: external_exports.string().trim().min(1).max(2048)
23168
+ }).strict().nullable(),
23169
+ entity: ProviderTriggerEntitySchema.nullable(),
23170
+ lifecycle: ProviderTriggerLifecycleSchema,
23171
+ identity: ProviderTriggerDeliveryIdentitySchema,
23172
+ occurredAt: external_exports.string().datetime(),
23173
+ payload: JsonObjectSchema
23174
+ }).strict().superRefine((event, context) => {
23175
+ if (event.lifecycle !== "active" && !event.entity) {
23176
+ context.addIssue({
23177
+ code: "custom",
23178
+ path: ["entity"],
23179
+ message: `${event.lifecycle} provider trigger events require an entity`
23180
+ });
23181
+ }
23182
+ });
23183
+ ProviderTriggerEventRecordMetadataSchema = external_exports.object({
23184
+ contractVersion: external_exports.literal(1),
23185
+ adapterVersion: external_exports.string().trim().min(1).max(128),
23186
+ provider: external_exports.string().trim().min(1).max(64),
23187
+ deliveryId: external_exports.string().trim().min(1).max(1024),
23188
+ eventId: external_exports.string().trim().min(1).max(1024),
23189
+ lifecycle: ProviderTriggerLifecycleSchema,
23190
+ test: external_exports.boolean()
23191
+ }).strict();
23192
+ ProviderTriggerTestFireRequestSchema = external_exports.object({
23193
+ event: external_exports.string().trim().min(1).max(256)
23194
+ }).strict();
23195
+ ProviderTriggerTestFireResponseSchema = external_exports.object({
23196
+ eventRecordId: external_exports.string().trim().min(1),
23197
+ created: external_exports.boolean(),
23198
+ dispatch: external_exports.enum(["started", "deferred", "skipped_duplicate"]),
23199
+ workflowId: external_exports.string().trim().min(1).nullable()
23200
+ }).strict();
23201
+ }
23202
+ });
23203
+
23102
23204
  // ../../packages/schemas/src/project-automation-pause.ts
23103
23205
  var PROJECT_AUTOMATION_PAUSE_PRESET_SECONDS, DEFAULT_PROJECT_AUTOMATION_PAUSE_AFTER_SECONDS, ProjectAutomationPausePolicySchema;
23104
23206
  var init_project_automation_pause = __esm({
@@ -102308,6 +102410,7 @@ var init_src = __esm({
102308
102410
  init_platform_usage_feed();
102309
102411
  init_provider_grants();
102310
102412
  init_provider_resource_ownership();
102413
+ init_provider_triggers();
102311
102414
  init_project_config();
102312
102415
  init_project_automation_pause();
102313
102416
  init_project_service_accounts();
@@ -105199,7 +105302,7 @@ var init_package = __esm({
105199
105302
  "package.json"() {
105200
105303
  package_default = {
105201
105304
  name: "@autohq/cli",
105202
- version: "0.1.679",
105305
+ version: "0.1.681",
105203
105306
  license: "SEE LICENSE IN README.md",
105204
105307
  publishConfig: {
105205
105308
  access: "public"
@@ -116747,6 +116850,7 @@ var AgentBridgeCodexConfigBaseSchema = AgentBridgeHarnessBaseConfigSchema.extend
116747
116850
  approvals: AgentBridgeApprovalsSchema.optional()
116748
116851
  });
116749
116852
  var AGENT_BRIDGE_CODEX_MAX_REASONING_MODEL_IDS = /* @__PURE__ */ new Set([
116853
+ "gpt-6-astra",
116750
116854
  "gpt-5.6-sol",
116751
116855
  "gpt-5.6-terra",
116752
116856
  "gpt-5.6-luna"
@@ -119054,7 +119158,7 @@ var AskUserServer = class {
119054
119158
  const server = this.createMcpServer();
119055
119159
  const transport = new StreamableHTTPServerTransport({
119056
119160
  sessionIdGenerator: void 0,
119057
- // Codex 0.146.0 requires ordinary initialize/list responses as JSON. A
119161
+ // Codex 0.153.0 requires ordinary initialize/list responses as JSON. A
119058
119162
  // parked tool call keeps SSE enabled so progress notifications can flow
119059
119163
  // over the held response without extending the hard client deadline.
119060
119164
  enableJsonResponse: body.method !== "tools/call"
@@ -124322,6 +124426,7 @@ var CODEX_HTTP_PROVIDER_ID = "openai-responses-http";
124322
124426
  var CODEX_OPENROUTER_PROVIDER_ID = "openrouter-responses-http";
124323
124427
  var CODEX_REASONING_SUMMARY = "detailed";
124324
124428
  var CODEX_REASONING_SUMMARY_MODEL_IDS = /* @__PURE__ */ new Set([
124429
+ "gpt-6-astra",
124325
124430
  CODEX_DEFAULT_MODEL,
124326
124431
  "gpt-5.6-terra",
124327
124432
  "gpt-5.6-luna",
@@ -124727,7 +124832,7 @@ function runStep(input, step, action) {
124727
124832
  `agent_bridge_codex_edit_capability status=failed step=${step} error=${detail}`
124728
124833
  );
124729
124834
  throw new Error(
124730
- `Codex edit capability unavailable at ${step}: ${detail}. Codex 0.146.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).`
124835
+ `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
124836
  );
124732
124837
  }
124733
124838
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.679",
3
+ "version": "0.1.681",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"