@tryarcanist/cli 0.1.189 → 0.1.191
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/index.js +20 -1
- 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: {
|
|
@@ -758,13 +765,15 @@ var MODEL_REGISTRY = [
|
|
|
758
765
|
// June 2026). Bridge cost estimates deliberately strip this gateway-only
|
|
759
766
|
// axis when deriving MODEL_PRICING.
|
|
760
767
|
flex: { inputPerMillion: 0.375, outputPerMillion: 2.25, cacheReadPerMillion: 0.0375 }
|
|
761
|
-
}
|
|
768
|
+
},
|
|
769
|
+
sessionStart: { eligible: true }
|
|
762
770
|
},
|
|
763
771
|
{
|
|
764
772
|
id: OpenAIModel.GPT54Nano,
|
|
765
773
|
name: "GPT-5.4 Nano",
|
|
766
774
|
provider: "openai",
|
|
767
775
|
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
776
|
+
capabilities: { codexToolSearch: false },
|
|
768
777
|
contextWindow: 4e5,
|
|
769
778
|
reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
|
|
770
779
|
pricing: { inputPerMillion: 0.2, outputPerMillion: 1.25, cacheReadPerMillion: 0.02 },
|
|
@@ -775,6 +784,7 @@ var MODEL_REGISTRY = [
|
|
|
775
784
|
name: "GPT-5.3 Codex Spark",
|
|
776
785
|
provider: "openai",
|
|
777
786
|
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
787
|
+
capabilities: { codexToolSearch: true },
|
|
778
788
|
contextWindow: 128e3,
|
|
779
789
|
reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
|
|
780
790
|
costTracked: false,
|
|
@@ -787,6 +797,7 @@ var MODEL_REGISTRY = [
|
|
|
787
797
|
name: "GPT-5.3 Codex",
|
|
788
798
|
provider: "openai",
|
|
789
799
|
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
800
|
+
capabilities: { codexToolSearch: true },
|
|
790
801
|
contextWindow: 4e5,
|
|
791
802
|
reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
|
|
792
803
|
pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
|
|
@@ -796,6 +807,7 @@ var MODEL_REGISTRY = [
|
|
|
796
807
|
name: "GPT-5.2",
|
|
797
808
|
provider: "openai",
|
|
798
809
|
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
810
|
+
capabilities: { codexToolSearch: true },
|
|
799
811
|
contextWindow: 4e5,
|
|
800
812
|
reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
|
|
801
813
|
pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
|
|
@@ -805,6 +817,7 @@ var MODEL_REGISTRY = [
|
|
|
805
817
|
name: "GPT-5.2 Chat",
|
|
806
818
|
provider: "openai",
|
|
807
819
|
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
820
|
+
capabilities: { codexToolSearch: true },
|
|
808
821
|
contextWindow: 128e3,
|
|
809
822
|
reasoning: { efforts: ["none", "low", "medium", "high", "xhigh"], default: void 0 },
|
|
810
823
|
pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
|
|
@@ -814,6 +827,7 @@ var MODEL_REGISTRY = [
|
|
|
814
827
|
name: "GPT-5.2 Codex",
|
|
815
828
|
provider: "openai",
|
|
816
829
|
backends: [CODEX_AGENT_RUNTIME_BACKEND],
|
|
830
|
+
capabilities: { codexToolSearch: true },
|
|
817
831
|
contextWindow: 4e5,
|
|
818
832
|
reasoning: { efforts: ["low", "medium", "high", "xhigh"], default: "high" },
|
|
819
833
|
pricing: { inputPerMillion: 1.75, outputPerMillion: 14, cacheReadPerMillion: 0.175 }
|
|
@@ -919,11 +933,16 @@ function buildSessionStartModelIdsByBackend() {
|
|
|
919
933
|
for (const model of MODEL_REGISTRY) {
|
|
920
934
|
if (!model.sessionStart?.eligible) continue;
|
|
921
935
|
for (const backend of model.backends) {
|
|
936
|
+
if (!modelSupportsRequiredSessionStartCapabilities(model, backend)) continue;
|
|
922
937
|
byBackend[backend].push(model.id);
|
|
923
938
|
}
|
|
924
939
|
}
|
|
925
940
|
return byBackend;
|
|
926
941
|
}
|
|
942
|
+
function modelSupportsRequiredSessionStartCapabilities(model, backend) {
|
|
943
|
+
if (backend !== CODEX_AGENT_RUNTIME_BACKEND) return true;
|
|
944
|
+
return model.capabilities?.codexToolSearch === true;
|
|
945
|
+
}
|
|
927
946
|
function buildDefaultSessionStartModelIdByBackend() {
|
|
928
947
|
const defaults = {};
|
|
929
948
|
for (const backend of AGENT_RUNTIME_BACKENDS) {
|