@tryarcanist/cli 0.1.190 → 0.1.192

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.
Files changed (2) hide show
  1. package/dist/index.js +24 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -663,6 +663,7 @@ var MODEL_REGISTRY = [
663
663
  name: "GPT-5.4",
664
664
  provider: "openai",
665
665
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
666
+ capabilities: { codexToolSearch: true },
666
667
  contextWindow: 1e6,
667
668
  // Default codex model after the gpt-5.5 downgrade; carries gpt-5.5's prior
668
669
  // "medium" default so default sessions keep the same reasoning effort.
@@ -685,6 +686,7 @@ var MODEL_REGISTRY = [
685
686
  name: "GPT-5.6",
686
687
  provider: "openai",
687
688
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
689
+ capabilities: { codexToolSearch: true },
688
690
  contextWindow: 105e4,
689
691
  // Verified 2026-07-09 against OpenAI's GPT-5.6 migration guide and model
690
692
  // catalog: the alias routes to gpt-5.6-sol and supports max effort.
@@ -697,6 +699,7 @@ var MODEL_REGISTRY = [
697
699
  name: "GPT-5.6 Sol",
698
700
  provider: "openai",
699
701
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
702
+ capabilities: { codexToolSearch: true },
700
703
  contextWindow: 105e4,
701
704
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh", "max"], default: "medium" },
702
705
  costTracked: false,
@@ -707,6 +710,7 @@ var MODEL_REGISTRY = [
707
710
  name: "GPT-5.6 Terra",
708
711
  provider: "openai",
709
712
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
713
+ capabilities: { codexToolSearch: true },
710
714
  contextWindow: 105e4,
711
715
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh", "max"], default: "medium" },
712
716
  costTracked: false,
@@ -717,6 +721,7 @@ var MODEL_REGISTRY = [
717
721
  name: "GPT-5.6 Luna",
718
722
  provider: "openai",
719
723
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
724
+ capabilities: { codexToolSearch: true },
720
725
  contextWindow: 105e4,
721
726
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh", "max"], default: "medium" },
722
727
  costTracked: false,
@@ -727,6 +732,7 @@ var MODEL_REGISTRY = [
727
732
  name: "GPT-5.5",
728
733
  provider: "openai",
729
734
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
735
+ capabilities: { codexToolSearch: true },
730
736
  contextWindow: 1e6,
731
737
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: "medium" },
732
738
  pricing: {
@@ -747,6 +753,7 @@ var MODEL_REGISTRY = [
747
753
  name: "GPT-5.4 Mini",
748
754
  provider: "openai",
749
755
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
756
+ capabilities: { codexToolSearch: true },
750
757
  contextWindow: 4e5,
751
758
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
752
759
  pricing: {
@@ -766,6 +773,7 @@ var MODEL_REGISTRY = [
766
773
  name: "GPT-5.4 Nano",
767
774
  provider: "openai",
768
775
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
776
+ capabilities: { codexToolSearch: false },
769
777
  contextWindow: 4e5,
770
778
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
771
779
  pricing: { inputPerMillion: 0.2, outputPerMillion: 1.25, cacheReadPerMillion: 0.02 },
@@ -776,6 +784,7 @@ var MODEL_REGISTRY = [
776
784
  name: "GPT-5.3 Codex Spark",
777
785
  provider: "openai",
778
786
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
787
+ capabilities: { codexToolSearch: true },
779
788
  contextWindow: 128e3,
780
789
  reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
781
790
  costTracked: false,
@@ -788,6 +797,7 @@ var MODEL_REGISTRY = [
788
797
  name: "GPT-5.3 Codex",
789
798
  provider: "openai",
790
799
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
800
+ capabilities: { codexToolSearch: true },
791
801
  contextWindow: 4e5,
792
802
  reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
793
803
  pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
@@ -797,6 +807,7 @@ var MODEL_REGISTRY = [
797
807
  name: "GPT-5.2",
798
808
  provider: "openai",
799
809
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
810
+ capabilities: { codexToolSearch: true },
800
811
  contextWindow: 4e5,
801
812
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
802
813
  pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
@@ -806,6 +817,7 @@ var MODEL_REGISTRY = [
806
817
  name: "GPT-5.2 Chat",
807
818
  provider: "openai",
808
819
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
820
+ capabilities: { codexToolSearch: true },
809
821
  contextWindow: 128e3,
810
822
  reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
811
823
  pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
@@ -815,6 +827,7 @@ var MODEL_REGISTRY = [
815
827
  name: "GPT-5.2 Codex",
816
828
  provider: "openai",
817
829
  backends: [CODEX_AGENT_RUNTIME_BACKEND],
830
+ capabilities: { codexToolSearch: true },
818
831
  contextWindow: 4e5,
819
832
  reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
820
833
  pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
@@ -920,11 +933,16 @@ function buildSessionStartModelIdsByBackend() {
920
933
  for (const model of MODEL_REGISTRY) {
921
934
  if (!model.sessionStart?.eligible) continue;
922
935
  for (const backend of model.backends) {
936
+ if (!modelSupportsRequiredSessionStartCapabilities(model, backend)) continue;
923
937
  byBackend[backend].push(model.id);
924
938
  }
925
939
  }
926
940
  return byBackend;
927
941
  }
942
+ function modelSupportsRequiredSessionStartCapabilities(model, backend) {
943
+ if (backend !== CODEX_AGENT_RUNTIME_BACKEND) return true;
944
+ return model.capabilities?.codexToolSearch === true;
945
+ }
928
946
  function buildDefaultSessionStartModelIdByBackend() {
929
947
  const defaults = {};
930
948
  for (const backend of AGENT_RUNTIME_BACKENDS) {
@@ -3768,7 +3786,12 @@ async function qaCommand(prUrl, options, command) {
3768
3786
  {
3769
3787
  exitCode: err instanceof CliError ? err.exitCode : void 0,
3770
3788
  hint: `Retry with: arcanist sessions qa ${targetPrUrl} --idempotency-key ${idempotencyKey}`,
3771
- requestId: err instanceof CliError ? err.requestId : void 0
3789
+ requestId: err instanceof CliError ? err.requestId : void 0,
3790
+ data: {
3791
+ ...err instanceof CliError && err.data ? err.data : {},
3792
+ sessionId,
3793
+ ...sessionData.sessionUrl ? { sessionUrl: sessionData.sessionUrl } : {}
3794
+ }
3772
3795
  }
3773
3796
  );
3774
3797
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.190",
3
+ "version": "0.1.192",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {