@ai-sdk/anthropic 4.0.111 → 4.0.113
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/CHANGELOG.md +19 -0
- package/dist/index.d.ts +194 -62
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +190 -48
- package/dist/index.js.map +1 -1
- package/dist/internal/index.d.ts +194 -62
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +189 -47
- package/dist/internal/index.js.map +1 -1
- package/docs/05-anthropic.mdx +60 -21
- package/package.json +8 -4
- package/src/anthropic-language-model-options.ts +3 -2
- package/src/anthropic-model-catalog.ts +209 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 4.0.113
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 13b242c: Correct audited Claude capabilities: convert rejected budget thinking to adaptive thinking for Opus 4.7, Opus 4.8, Opus 5, and Sonnet 5; declare verified effort levels and fast-mode support; document computer protocol and structured-output restrictions; and correct sampling, compaction, task-budget, inference-geography, and mid-conversation system-message support.
|
|
8
|
+
|
|
9
|
+
Hide unavailable Opus 4.0, Opus 4.1, and Sonnet 4.0 IDs from the advertised catalog while retaining their request settings. Note that their historical capabilities could not be revalidated and may be outdated.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [f958ef0]
|
|
12
|
+
- @ai-sdk/provider@4.0.40
|
|
13
|
+
- @ai-sdk/provider-utils@5.0.87
|
|
14
|
+
|
|
15
|
+
## 4.0.112
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [743e15b]
|
|
20
|
+
- @ai-sdk/provider-utils@5.0.86
|
|
21
|
+
|
|
3
22
|
## 4.0.111
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -586,14 +586,18 @@ declare const languageModelDefinitions: {
|
|
|
586
586
|
canBeDisabled: false;
|
|
587
587
|
};
|
|
588
588
|
reasoningEfforts: string[];
|
|
589
|
-
sampling:
|
|
590
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
591
|
-
};
|
|
589
|
+
sampling: false;
|
|
592
590
|
forcedToolUse: false;
|
|
591
|
+
computerUse: {
|
|
592
|
+
readonly condition: "Requires computer_toolset_20260801.";
|
|
593
|
+
};
|
|
593
594
|
toolSearch: true;
|
|
594
595
|
compaction: true;
|
|
596
|
+
contextManagement: true;
|
|
597
|
+
midConversationSystemMessages: true;
|
|
598
|
+
inferenceGeo: true;
|
|
595
599
|
effort: true;
|
|
596
|
-
speed:
|
|
600
|
+
speed: true;
|
|
597
601
|
taskBudget: "unknown";
|
|
598
602
|
};
|
|
599
603
|
'claude-opus-5': {
|
|
@@ -602,18 +606,22 @@ declare const languageModelDefinitions: {
|
|
|
602
606
|
knownModel: true;
|
|
603
607
|
nativeStructuredOutput: true;
|
|
604
608
|
thinking: {
|
|
605
|
-
modes: ["adaptive"
|
|
609
|
+
modes: ["adaptive"];
|
|
606
610
|
canBeDisabled: "up-to-high-effort";
|
|
607
611
|
};
|
|
608
612
|
reasoningEfforts: string[];
|
|
609
|
-
sampling:
|
|
610
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
611
|
-
};
|
|
613
|
+
sampling: false;
|
|
612
614
|
forcedToolUse: true;
|
|
615
|
+
computerUse: {
|
|
616
|
+
readonly condition: "Requires computer_20251124 or computer_toolset_20260801.";
|
|
617
|
+
};
|
|
613
618
|
toolSearch: true;
|
|
614
619
|
compaction: true;
|
|
620
|
+
contextManagement: true;
|
|
621
|
+
midConversationSystemMessages: true;
|
|
622
|
+
inferenceGeo: true;
|
|
615
623
|
effort: true;
|
|
616
|
-
speed:
|
|
624
|
+
speed: true;
|
|
617
625
|
taskBudget: "unknown";
|
|
618
626
|
};
|
|
619
627
|
'claude-sonnet-5-5': {
|
|
@@ -626,12 +634,16 @@ declare const languageModelDefinitions: {
|
|
|
626
634
|
canBeDisabled: false;
|
|
627
635
|
};
|
|
628
636
|
reasoningEfforts: string[];
|
|
629
|
-
sampling:
|
|
630
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
631
|
-
};
|
|
637
|
+
sampling: false;
|
|
632
638
|
forcedToolUse: false;
|
|
639
|
+
computerUse: {
|
|
640
|
+
readonly condition: "Requires computer_toolset_20260801.";
|
|
641
|
+
};
|
|
633
642
|
toolSearch: true;
|
|
634
643
|
compaction: true;
|
|
644
|
+
contextManagement: true;
|
|
645
|
+
midConversationSystemMessages: true;
|
|
646
|
+
inferenceGeo: true;
|
|
635
647
|
effort: true;
|
|
636
648
|
speed: false;
|
|
637
649
|
taskBudget: "unknown";
|
|
@@ -642,16 +654,20 @@ declare const languageModelDefinitions: {
|
|
|
642
654
|
knownModel: true;
|
|
643
655
|
nativeStructuredOutput: true;
|
|
644
656
|
thinking: {
|
|
645
|
-
modes: ["adaptive"
|
|
657
|
+
modes: ["adaptive"];
|
|
646
658
|
canBeDisabled: "always";
|
|
647
659
|
};
|
|
648
660
|
reasoningEfforts: string[];
|
|
649
|
-
sampling:
|
|
650
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
651
|
-
};
|
|
661
|
+
sampling: false;
|
|
652
662
|
forcedToolUse: true;
|
|
663
|
+
computerUse: {
|
|
664
|
+
readonly condition: "Requires computer_20251124 or computer_toolset_20260801.";
|
|
665
|
+
};
|
|
653
666
|
toolSearch: true;
|
|
654
667
|
compaction: true;
|
|
668
|
+
contextManagement: true;
|
|
669
|
+
midConversationSystemMessages: true;
|
|
670
|
+
inferenceGeo: true;
|
|
655
671
|
effort: true;
|
|
656
672
|
speed: false;
|
|
657
673
|
taskBudget: "unknown";
|
|
@@ -666,12 +682,16 @@ declare const languageModelDefinitions: {
|
|
|
666
682
|
canBeDisabled: "up-to-high-effort";
|
|
667
683
|
};
|
|
668
684
|
reasoningEfforts: string[];
|
|
669
|
-
sampling:
|
|
670
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
671
|
-
};
|
|
685
|
+
sampling: false;
|
|
672
686
|
forcedToolUse: true;
|
|
687
|
+
computerUse: {
|
|
688
|
+
readonly condition: "Requires computer_toolset_20260801.";
|
|
689
|
+
};
|
|
673
690
|
toolSearch: true;
|
|
674
691
|
compaction: true;
|
|
692
|
+
contextManagement: true;
|
|
693
|
+
midConversationSystemMessages: true;
|
|
694
|
+
inferenceGeo: true;
|
|
675
695
|
effort: true;
|
|
676
696
|
speed: false;
|
|
677
697
|
taskBudget: "unknown";
|
|
@@ -686,14 +706,18 @@ declare const languageModelDefinitions: {
|
|
|
686
706
|
canBeDisabled: false;
|
|
687
707
|
};
|
|
688
708
|
reasoningEfforts: string[];
|
|
689
|
-
sampling:
|
|
690
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
691
|
-
};
|
|
709
|
+
sampling: false;
|
|
692
710
|
forcedToolUse: false;
|
|
711
|
+
computerUse: {
|
|
712
|
+
readonly condition: "Requires computer_toolset_20260801.";
|
|
713
|
+
};
|
|
693
714
|
toolSearch: true;
|
|
694
715
|
compaction: true;
|
|
716
|
+
contextManagement: true;
|
|
717
|
+
midConversationSystemMessages: true;
|
|
718
|
+
inferenceGeo: true;
|
|
695
719
|
effort: true;
|
|
696
|
-
speed:
|
|
720
|
+
speed: true;
|
|
697
721
|
taskBudget: "unknown";
|
|
698
722
|
};
|
|
699
723
|
'claude-fable-5-1': {
|
|
@@ -706,12 +730,16 @@ declare const languageModelDefinitions: {
|
|
|
706
730
|
canBeDisabled: false;
|
|
707
731
|
};
|
|
708
732
|
reasoningEfforts: string[];
|
|
709
|
-
sampling:
|
|
710
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
711
|
-
};
|
|
733
|
+
sampling: false;
|
|
712
734
|
forcedToolUse: false;
|
|
735
|
+
computerUse: {
|
|
736
|
+
readonly condition: "Requires computer_20251124 or computer_toolset_20260801.";
|
|
737
|
+
};
|
|
713
738
|
toolSearch: true;
|
|
714
739
|
compaction: true;
|
|
740
|
+
contextManagement: true;
|
|
741
|
+
midConversationSystemMessages: true;
|
|
742
|
+
inferenceGeo: true;
|
|
715
743
|
effort: true;
|
|
716
744
|
speed: false;
|
|
717
745
|
taskBudget: "unknown";
|
|
@@ -726,12 +754,16 @@ declare const languageModelDefinitions: {
|
|
|
726
754
|
canBeDisabled: false;
|
|
727
755
|
};
|
|
728
756
|
reasoningEfforts: string[];
|
|
729
|
-
sampling:
|
|
730
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
731
|
-
};
|
|
757
|
+
sampling: false;
|
|
732
758
|
forcedToolUse: true;
|
|
759
|
+
computerUse: {
|
|
760
|
+
readonly condition: "Requires computer_20251124 or computer_toolset_20260801.";
|
|
761
|
+
};
|
|
733
762
|
toolSearch: true;
|
|
734
763
|
compaction: true;
|
|
764
|
+
contextManagement: true;
|
|
765
|
+
midConversationSystemMessages: true;
|
|
766
|
+
inferenceGeo: true;
|
|
735
767
|
effort: true;
|
|
736
768
|
speed: false;
|
|
737
769
|
taskBudget: "unknown";
|
|
@@ -742,18 +774,22 @@ declare const languageModelDefinitions: {
|
|
|
742
774
|
knownModel: true;
|
|
743
775
|
nativeStructuredOutput: true;
|
|
744
776
|
thinking: {
|
|
745
|
-
modes: ["adaptive"
|
|
777
|
+
modes: ["adaptive"];
|
|
746
778
|
canBeDisabled: "always";
|
|
747
779
|
};
|
|
748
780
|
reasoningEfforts: string[];
|
|
749
|
-
sampling:
|
|
750
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
751
|
-
};
|
|
781
|
+
sampling: false;
|
|
752
782
|
forcedToolUse: true;
|
|
783
|
+
computerUse: {
|
|
784
|
+
readonly condition: "Requires computer_20251124 or computer_toolset_20260801.";
|
|
785
|
+
};
|
|
753
786
|
toolSearch: true;
|
|
754
787
|
compaction: true;
|
|
788
|
+
contextManagement: true;
|
|
789
|
+
midConversationSystemMessages: true;
|
|
790
|
+
inferenceGeo: true;
|
|
755
791
|
effort: true;
|
|
756
|
-
speed:
|
|
792
|
+
speed: true;
|
|
757
793
|
taskBudget: "unknown";
|
|
758
794
|
};
|
|
759
795
|
'claude-opus-4-7': {
|
|
@@ -762,16 +798,20 @@ declare const languageModelDefinitions: {
|
|
|
762
798
|
knownModel: true;
|
|
763
799
|
nativeStructuredOutput: true;
|
|
764
800
|
thinking: {
|
|
765
|
-
modes: ["adaptive"
|
|
801
|
+
modes: ["adaptive"];
|
|
766
802
|
canBeDisabled: "always";
|
|
767
803
|
};
|
|
768
804
|
reasoningEfforts: string[];
|
|
769
|
-
sampling:
|
|
770
|
-
readonly condition: "Only supported when thinking is disabled.";
|
|
771
|
-
};
|
|
805
|
+
sampling: false;
|
|
772
806
|
forcedToolUse: true;
|
|
807
|
+
computerUse: {
|
|
808
|
+
readonly condition: "Requires computer_20251124.";
|
|
809
|
+
};
|
|
773
810
|
toolSearch: true;
|
|
774
811
|
compaction: true;
|
|
812
|
+
contextManagement: true;
|
|
813
|
+
midConversationSystemMessages: false;
|
|
814
|
+
inferenceGeo: true;
|
|
775
815
|
effort: true;
|
|
776
816
|
speed: false;
|
|
777
817
|
taskBudget: true;
|
|
@@ -785,14 +825,22 @@ declare const languageModelDefinitions: {
|
|
|
785
825
|
modes: ["adaptive", "budget"];
|
|
786
826
|
canBeDisabled: "always";
|
|
787
827
|
};
|
|
788
|
-
reasoningEfforts:
|
|
789
|
-
sampling:
|
|
828
|
+
reasoningEfforts: string[];
|
|
829
|
+
sampling: {
|
|
830
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
831
|
+
};
|
|
790
832
|
forcedToolUse: true;
|
|
833
|
+
computerUse: {
|
|
834
|
+
readonly condition: "Requires computer_20251124.";
|
|
835
|
+
};
|
|
791
836
|
toolSearch: true;
|
|
792
837
|
compaction: true;
|
|
838
|
+
contextManagement: true;
|
|
839
|
+
midConversationSystemMessages: false;
|
|
840
|
+
inferenceGeo: true;
|
|
793
841
|
effort: true;
|
|
794
842
|
speed: true;
|
|
795
|
-
taskBudget:
|
|
843
|
+
taskBudget: false;
|
|
796
844
|
};
|
|
797
845
|
'claude-sonnet-4-6': {
|
|
798
846
|
documented: true;
|
|
@@ -803,14 +851,22 @@ declare const languageModelDefinitions: {
|
|
|
803
851
|
modes: ["adaptive", "budget"];
|
|
804
852
|
canBeDisabled: "always";
|
|
805
853
|
};
|
|
806
|
-
reasoningEfforts:
|
|
807
|
-
sampling:
|
|
854
|
+
reasoningEfforts: string[];
|
|
855
|
+
sampling: {
|
|
856
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
857
|
+
};
|
|
808
858
|
forcedToolUse: true;
|
|
859
|
+
computerUse: {
|
|
860
|
+
readonly condition: "Requires computer_20251124.";
|
|
861
|
+
};
|
|
809
862
|
toolSearch: true;
|
|
810
863
|
compaction: true;
|
|
864
|
+
contextManagement: true;
|
|
865
|
+
midConversationSystemMessages: false;
|
|
866
|
+
inferenceGeo: true;
|
|
811
867
|
effort: true;
|
|
812
868
|
speed: false;
|
|
813
|
-
taskBudget:
|
|
869
|
+
taskBudget: false;
|
|
814
870
|
};
|
|
815
871
|
'claude-opus-4-5': {
|
|
816
872
|
documented: true;
|
|
@@ -821,14 +877,24 @@ declare const languageModelDefinitions: {
|
|
|
821
877
|
modes: ["budget"];
|
|
822
878
|
canBeDisabled: "always";
|
|
823
879
|
};
|
|
824
|
-
reasoningEfforts:
|
|
825
|
-
sampling:
|
|
880
|
+
reasoningEfforts: string[];
|
|
881
|
+
sampling: {
|
|
882
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
883
|
+
};
|
|
826
884
|
forcedToolUse: true;
|
|
885
|
+
computerUse: {
|
|
886
|
+
readonly condition: "Requires computer_20250124 or computer_20251124.";
|
|
887
|
+
};
|
|
827
888
|
toolSearch: true;
|
|
828
889
|
compaction: false;
|
|
890
|
+
contextManagement: {
|
|
891
|
+
readonly condition: "Use clear_tool_uses_20250919; compaction edits are unsupported.";
|
|
892
|
+
};
|
|
893
|
+
midConversationSystemMessages: false;
|
|
894
|
+
inferenceGeo: false;
|
|
829
895
|
effort: true;
|
|
830
896
|
speed: false;
|
|
831
|
-
taskBudget:
|
|
897
|
+
taskBudget: false;
|
|
832
898
|
};
|
|
833
899
|
'claude-haiku-4-5': {
|
|
834
900
|
documented: true;
|
|
@@ -839,14 +905,24 @@ declare const languageModelDefinitions: {
|
|
|
839
905
|
modes: ["budget"];
|
|
840
906
|
canBeDisabled: "always";
|
|
841
907
|
};
|
|
842
|
-
reasoningEfforts:
|
|
843
|
-
sampling:
|
|
908
|
+
reasoningEfforts: never[];
|
|
909
|
+
sampling: {
|
|
910
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
911
|
+
};
|
|
844
912
|
forcedToolUse: true;
|
|
913
|
+
computerUse: {
|
|
914
|
+
readonly condition: "Requires computer_20250124.";
|
|
915
|
+
};
|
|
845
916
|
toolSearch: true;
|
|
846
917
|
compaction: false;
|
|
918
|
+
contextManagement: {
|
|
919
|
+
readonly condition: "Use clear_tool_uses_20250919; compaction edits are unsupported.";
|
|
920
|
+
};
|
|
921
|
+
midConversationSystemMessages: false;
|
|
922
|
+
inferenceGeo: false;
|
|
847
923
|
effort: false;
|
|
848
924
|
speed: false;
|
|
849
|
-
taskBudget:
|
|
925
|
+
taskBudget: false;
|
|
850
926
|
};
|
|
851
927
|
'claude-sonnet-4-5': {
|
|
852
928
|
documented: true;
|
|
@@ -857,17 +933,27 @@ declare const languageModelDefinitions: {
|
|
|
857
933
|
modes: ["budget"];
|
|
858
934
|
canBeDisabled: "always";
|
|
859
935
|
};
|
|
860
|
-
reasoningEfforts:
|
|
861
|
-
sampling:
|
|
936
|
+
reasoningEfforts: never[];
|
|
937
|
+
sampling: {
|
|
938
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
939
|
+
};
|
|
862
940
|
forcedToolUse: true;
|
|
941
|
+
computerUse: {
|
|
942
|
+
readonly condition: "Requires computer_20250124.";
|
|
943
|
+
};
|
|
863
944
|
toolSearch: true;
|
|
864
945
|
compaction: false;
|
|
946
|
+
contextManagement: {
|
|
947
|
+
readonly condition: "Use clear_tool_uses_20250919; compaction edits are unsupported.";
|
|
948
|
+
};
|
|
949
|
+
midConversationSystemMessages: false;
|
|
950
|
+
inferenceGeo: false;
|
|
865
951
|
effort: false;
|
|
866
952
|
speed: false;
|
|
867
|
-
taskBudget:
|
|
953
|
+
taskBudget: false;
|
|
868
954
|
};
|
|
869
955
|
'claude-opus-4-1': {
|
|
870
|
-
documented:
|
|
956
|
+
documented: false;
|
|
871
957
|
maxOutputTokens: number;
|
|
872
958
|
knownModel: true;
|
|
873
959
|
nativeStructuredOutput: true;
|
|
@@ -878,14 +964,18 @@ declare const languageModelDefinitions: {
|
|
|
878
964
|
reasoningEfforts: undefined;
|
|
879
965
|
sampling: true;
|
|
880
966
|
forcedToolUse: true;
|
|
967
|
+
computerUse: true;
|
|
881
968
|
toolSearch: false;
|
|
882
969
|
compaction: false;
|
|
970
|
+
contextManagement: true;
|
|
971
|
+
midConversationSystemMessages: true;
|
|
972
|
+
inferenceGeo: true;
|
|
883
973
|
effort: false;
|
|
884
974
|
speed: false;
|
|
885
975
|
taskBudget: "unknown";
|
|
886
976
|
};
|
|
887
977
|
'claude-opus-4-0': {
|
|
888
|
-
documented:
|
|
978
|
+
documented: false;
|
|
889
979
|
maxOutputTokens: number;
|
|
890
980
|
knownModel: true;
|
|
891
981
|
nativeStructuredOutput: false;
|
|
@@ -896,14 +986,18 @@ declare const languageModelDefinitions: {
|
|
|
896
986
|
reasoningEfforts: undefined;
|
|
897
987
|
sampling: true;
|
|
898
988
|
forcedToolUse: true;
|
|
989
|
+
computerUse: true;
|
|
899
990
|
toolSearch: false;
|
|
900
991
|
compaction: false;
|
|
992
|
+
contextManagement: true;
|
|
993
|
+
midConversationSystemMessages: true;
|
|
994
|
+
inferenceGeo: true;
|
|
901
995
|
effort: false;
|
|
902
996
|
speed: false;
|
|
903
997
|
taskBudget: "unknown";
|
|
904
998
|
};
|
|
905
999
|
'claude-sonnet-4-0': {
|
|
906
|
-
documented:
|
|
1000
|
+
documented: false;
|
|
907
1001
|
maxOutputTokens: number;
|
|
908
1002
|
knownModel: true;
|
|
909
1003
|
nativeStructuredOutput: false;
|
|
@@ -914,8 +1008,12 @@ declare const languageModelDefinitions: {
|
|
|
914
1008
|
reasoningEfforts: undefined;
|
|
915
1009
|
sampling: true;
|
|
916
1010
|
forcedToolUse: true;
|
|
1011
|
+
computerUse: true;
|
|
917
1012
|
toolSearch: false;
|
|
918
1013
|
compaction: false;
|
|
1014
|
+
contextManagement: true;
|
|
1015
|
+
midConversationSystemMessages: true;
|
|
1016
|
+
inferenceGeo: true;
|
|
919
1017
|
effort: false;
|
|
920
1018
|
speed: false;
|
|
921
1019
|
taskBudget: "unknown";
|
|
@@ -932,8 +1030,12 @@ declare const languageModelDefinitions: {
|
|
|
932
1030
|
reasoningEfforts: undefined;
|
|
933
1031
|
sampling: true;
|
|
934
1032
|
forcedToolUse: true;
|
|
1033
|
+
computerUse: "unknown";
|
|
935
1034
|
toolSearch: "unknown";
|
|
936
1035
|
compaction: "unknown";
|
|
1036
|
+
contextManagement: "unknown";
|
|
1037
|
+
midConversationSystemMessages: "unknown";
|
|
1038
|
+
inferenceGeo: "unknown";
|
|
937
1039
|
effort: "unknown";
|
|
938
1040
|
speed: "unknown";
|
|
939
1041
|
taskBudget: "unknown";
|
|
@@ -947,11 +1049,17 @@ declare const languageModelDefinitions: {
|
|
|
947
1049
|
modes: ["budget"];
|
|
948
1050
|
canBeDisabled: "always";
|
|
949
1051
|
};
|
|
950
|
-
reasoningEfforts:
|
|
951
|
-
sampling:
|
|
1052
|
+
reasoningEfforts: never[];
|
|
1053
|
+
sampling: {
|
|
1054
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
1055
|
+
};
|
|
952
1056
|
forcedToolUse: true;
|
|
1057
|
+
computerUse: "unknown";
|
|
953
1058
|
toolSearch: "unknown";
|
|
954
1059
|
compaction: "unknown";
|
|
1060
|
+
contextManagement: "unknown";
|
|
1061
|
+
midConversationSystemMessages: "unknown";
|
|
1062
|
+
inferenceGeo: "unknown";
|
|
955
1063
|
effort: "unknown";
|
|
956
1064
|
speed: "unknown";
|
|
957
1065
|
taskBudget: "unknown";
|
|
@@ -968,8 +1076,12 @@ declare const languageModelDefinitions: {
|
|
|
968
1076
|
reasoningEfforts: undefined;
|
|
969
1077
|
sampling: true;
|
|
970
1078
|
forcedToolUse: true;
|
|
1079
|
+
computerUse: "unknown";
|
|
971
1080
|
toolSearch: "unknown";
|
|
972
1081
|
compaction: "unknown";
|
|
1082
|
+
contextManagement: "unknown";
|
|
1083
|
+
midConversationSystemMessages: "unknown";
|
|
1084
|
+
inferenceGeo: "unknown";
|
|
973
1085
|
effort: "unknown";
|
|
974
1086
|
speed: "unknown";
|
|
975
1087
|
taskBudget: "unknown";
|
|
@@ -986,8 +1098,12 @@ declare const languageModelDefinitions: {
|
|
|
986
1098
|
reasoningEfforts: undefined;
|
|
987
1099
|
sampling: true;
|
|
988
1100
|
forcedToolUse: true;
|
|
1101
|
+
computerUse: "unknown";
|
|
989
1102
|
toolSearch: "unknown";
|
|
990
1103
|
compaction: "unknown";
|
|
1104
|
+
contextManagement: "unknown";
|
|
1105
|
+
midConversationSystemMessages: "unknown";
|
|
1106
|
+
inferenceGeo: "unknown";
|
|
991
1107
|
effort: "unknown";
|
|
992
1108
|
speed: "unknown";
|
|
993
1109
|
taskBudget: "unknown";
|
|
@@ -1001,11 +1117,17 @@ declare const languageModelDefinitions: {
|
|
|
1001
1117
|
modes: ["budget"];
|
|
1002
1118
|
canBeDisabled: "always";
|
|
1003
1119
|
};
|
|
1004
|
-
reasoningEfforts:
|
|
1005
|
-
sampling:
|
|
1120
|
+
reasoningEfforts: string[];
|
|
1121
|
+
sampling: {
|
|
1122
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
1123
|
+
};
|
|
1006
1124
|
forcedToolUse: true;
|
|
1125
|
+
computerUse: "unknown";
|
|
1007
1126
|
toolSearch: "unknown";
|
|
1008
1127
|
compaction: "unknown";
|
|
1128
|
+
contextManagement: "unknown";
|
|
1129
|
+
midConversationSystemMessages: "unknown";
|
|
1130
|
+
inferenceGeo: "unknown";
|
|
1009
1131
|
effort: "unknown";
|
|
1010
1132
|
speed: "unknown";
|
|
1011
1133
|
taskBudget: "unknown";
|
|
@@ -1022,8 +1144,12 @@ declare const languageModelDefinitions: {
|
|
|
1022
1144
|
reasoningEfforts: undefined;
|
|
1023
1145
|
sampling: true;
|
|
1024
1146
|
forcedToolUse: true;
|
|
1147
|
+
computerUse: "unknown";
|
|
1025
1148
|
toolSearch: "unknown";
|
|
1026
1149
|
compaction: "unknown";
|
|
1150
|
+
contextManagement: "unknown";
|
|
1151
|
+
midConversationSystemMessages: "unknown";
|
|
1152
|
+
inferenceGeo: "unknown";
|
|
1027
1153
|
effort: "unknown";
|
|
1028
1154
|
speed: "unknown";
|
|
1029
1155
|
taskBudget: "unknown";
|
|
@@ -1037,11 +1163,17 @@ declare const languageModelDefinitions: {
|
|
|
1037
1163
|
modes: ["budget"];
|
|
1038
1164
|
canBeDisabled: "always";
|
|
1039
1165
|
};
|
|
1040
|
-
reasoningEfforts:
|
|
1041
|
-
sampling:
|
|
1166
|
+
reasoningEfforts: never[];
|
|
1167
|
+
sampling: {
|
|
1168
|
+
readonly condition: "Only supported when thinking is disabled.";
|
|
1169
|
+
};
|
|
1042
1170
|
forcedToolUse: true;
|
|
1171
|
+
computerUse: "unknown";
|
|
1043
1172
|
toolSearch: "unknown";
|
|
1044
1173
|
compaction: "unknown";
|
|
1174
|
+
contextManagement: "unknown";
|
|
1175
|
+
midConversationSystemMessages: "unknown";
|
|
1176
|
+
inferenceGeo: "unknown";
|
|
1045
1177
|
effort: "unknown";
|
|
1046
1178
|
speed: "unknown";
|
|
1047
1179
|
taskBudget: "unknown";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["SandboxSession","SandboxSession","_$__tool_computer_toolset_202608010.ComputerToolset_20260801Member","DecisionModelV4","ExtractionModelV4","BatchV4"],"sources":["../src/anthropic-api.ts","../src/anthropic-message-metadata.ts","../src/anthropic-provider-metadata.ts","../src/anthropic-model-catalog.ts","../src/anthropic-language-model-options.ts","../src/anthropic-prepare-tools.ts","../src/tool/computer-toolset_20260801.ts","../src/tool/bash_20241022.ts","../src/tool/bash_20250124.ts","../src/anthropic-tools.ts","../src/anthropic-provider.ts","../src/forward-anthropic-container-id-from-last-step.ts","../src/version.ts"],"mappings":";;;;cAgtBM,sCAA8B,EAAA;;;;;;;;;;GAgBhC,EAAA,KAAA;KAEQ,2BAA2B,EAAE,MACvC,kBAAkB;cA2FP,0DAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqwBxB,WAAW,aACpB,mBAAmB;EAClB;;;;;;;;;;;;;;;;;;;KCnjDQ;EACV;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;UAGe;EACf,OAAO;EACP;;EAGA;;;;;;;EAQA,uBAAuB;IACrB;IACA;IACA;;;;;;;;;;;;;EAcF,mBAAmB;;;;;;;;;;EAWnB;;;;;IAKE;;;;;IAMA;;;;;IAMA;;;;;;IAOA;;;;;;;;;EAUF,YAAY;;;;;;;EAQZ;;;;IAIE;;;;IAKA;;;;IAKA,QAAQ;;;;MAIN;;;;MAKA;;;;MAKA;;;;;;;;EASJ;;;;;IAKE,cAAc;;;;;;;;;MASR;;;;;MAMA;;;;;MAMA;;;;;;;;;;MAUA;;;;;MAMA;;;;;MAMA;;;;;;;;;;MAUA;;;;;;;;;KC9NE,oBAAoB;;;;;KAMpB;EACV;IACE,WAAW;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["SandboxSession","SandboxSession","_$__tool_computer_toolset_202608010.ComputerToolset_20260801Member","DecisionModelV4","ExtractionModelV4","BatchV4"],"sources":["../src/anthropic-api.ts","../src/anthropic-message-metadata.ts","../src/anthropic-provider-metadata.ts","../src/anthropic-model-catalog.ts","../src/anthropic-language-model-options.ts","../src/anthropic-prepare-tools.ts","../src/tool/computer-toolset_20260801.ts","../src/tool/bash_20241022.ts","../src/tool/bash_20250124.ts","../src/anthropic-tools.ts","../src/anthropic-provider.ts","../src/forward-anthropic-container-id-from-last-step.ts","../src/version.ts"],"mappings":";;;;cAgtBM,sCAA8B,EAAA;;;;;;;;;;GAgBhC,EAAA,KAAA;KAEQ,2BAA2B,EAAE,MACvC,kBAAkB;cA2FP,0DAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqwBxB,WAAW,aACpB,mBAAmB;EAClB;;;;;;;;;;;;;;;;;;;KCnjDQ;EACV;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;UAGe;EACf,OAA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