@aws/agentcore-cdk 1.0.0-rc.2 → 1.0.0-rc.4

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 (84) hide show
  1. package/README.md +22 -19
  2. package/dist/cdk/constructs/components/base-props.d.ts +6 -0
  3. package/dist/cdk/constructs/components/base-props.d.ts.map +1 -1
  4. package/dist/cdk/constructs/components/gateway/AgentCoreGateway.d.ts +1 -1
  5. package/dist/cdk/constructs/components/gateway/AgentCoreGateway.d.ts.map +1 -1
  6. package/dist/cdk/constructs/components/gateway/AgentCoreGateway.js +2 -2
  7. package/dist/cdk/constructs/components/gateway/AgentCoreGateway.js.map +1 -1
  8. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.d.ts.map +1 -1
  9. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.js +22 -9
  10. package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.js.map +1 -1
  11. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.d.ts.map +1 -1
  12. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.js +1 -11
  13. package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.js.map +1 -1
  14. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts.map +1 -1
  15. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js +2 -0
  16. package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js.map +1 -1
  17. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.d.ts +5 -0
  18. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.d.ts.map +1 -1
  19. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.js +19 -3
  20. package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.js.map +1 -1
  21. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts +2 -2
  22. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts.map +1 -1
  23. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js +5 -4
  24. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js.map +1 -1
  25. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts +1 -1
  26. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -1
  27. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +6 -4
  28. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js.map +1 -1
  29. package/dist/cdk/constructs/components/shared/bindable.d.ts +10 -1
  30. package/dist/cdk/constructs/components/shared/bindable.d.ts.map +1 -1
  31. package/dist/cdk/constructs/components/shared/bindable.js +8 -0
  32. package/dist/cdk/constructs/components/shared/bindable.js.map +1 -1
  33. package/dist/cdk/constructs/components/shared/physical-names.d.ts +5 -3
  34. package/dist/cdk/constructs/components/shared/physical-names.d.ts.map +1 -1
  35. package/dist/cdk/constructs/components/shared/physical-names.js +7 -4
  36. package/dist/cdk/constructs/components/shared/physical-names.js.map +1 -1
  37. package/dist/cdk/constructs/connections/import-connection.d.ts +1 -1
  38. package/dist/cdk/constructs/connections/import-connection.d.ts.map +1 -1
  39. package/dist/cdk/constructs/connections/import-connection.js +2 -2
  40. package/dist/cdk/constructs/connections/import-connection.js.map +1 -1
  41. package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +6 -3
  42. package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -1
  43. package/dist/cdk/constructs/l3/AgentCoreApplication.js +63 -5
  44. package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -1
  45. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts.map +1 -1
  46. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js +8 -2
  47. package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js.map +1 -1
  48. package/dist/cdk/project/transform.d.ts.map +1 -1
  49. package/dist/cdk/project/transform.js +5 -4
  50. package/dist/cdk/project/transform.js.map +1 -1
  51. package/dist/lib/packaging/node.d.ts.map +1 -1
  52. package/dist/lib/packaging/node.js +16 -7
  53. package/dist/lib/packaging/node.js.map +1 -1
  54. package/dist/schema/schemas/agent-env.d.ts +1 -0
  55. package/dist/schema/schemas/agent-env.d.ts.map +1 -1
  56. package/dist/schema/schemas/agent-env.js +2 -0
  57. package/dist/schema/schemas/agent-env.js.map +1 -1
  58. package/dist/schema/schemas/agentcore-project.d.ts +10 -9
  59. package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
  60. package/dist/schema/schemas/agentcore-project.js +8 -0
  61. package/dist/schema/schemas/agentcore-project.js.map +1 -1
  62. package/dist/schema/schemas/aws-targets.d.ts +6 -0
  63. package/dist/schema/schemas/aws-targets.d.ts.map +1 -1
  64. package/dist/schema/schemas/aws-targets.js +3 -1
  65. package/dist/schema/schemas/aws-targets.js.map +1 -1
  66. package/dist/schema/schemas/connections.js +2 -2
  67. package/dist/schema/schemas/connections.js.map +1 -1
  68. package/dist/schema/schemas/deployed-state.d.ts +16 -0
  69. package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
  70. package/dist/schema/schemas/deployed-state.js +6 -0
  71. package/dist/schema/schemas/deployed-state.js.map +1 -1
  72. package/dist/schema/schemas/primitives/harness.d.ts +1040 -0
  73. package/dist/schema/schemas/primitives/harness.d.ts.map +1 -1
  74. package/dist/schema/schemas/primitives/harness.js +156 -4
  75. package/dist/schema/schemas/primitives/harness.js.map +1 -1
  76. package/dist/schema/schemas/primitives/index.d.ts +1 -1
  77. package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
  78. package/dist/schema/schemas/primitives/index.js +2 -3
  79. package/dist/schema/schemas/primitives/index.js.map +1 -1
  80. package/dist/schema/schemas/primitives/online-evaluation-config.d.ts +1 -16
  81. package/dist/schema/schemas/primitives/online-evaluation-config.d.ts.map +1 -1
  82. package/dist/schema/schemas/primitives/online-evaluation-config.js +2 -19
  83. package/dist/schema/schemas/primitives/online-evaluation-config.js.map +1 -1
  84. package/package.json +1 -1
@@ -48,6 +48,7 @@ export declare const HarnessModelSchema: z.ZodObject<{
48
48
  }>;
49
49
  modelId: z.ZodString;
50
50
  apiKeyArn: z.ZodOptional<z.ZodString>;
51
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
51
52
  apiFormat: z.ZodOptional<z.ZodEnum<{
52
53
  converse_stream: "converse_stream";
53
54
  responses: "responses";
@@ -386,6 +387,7 @@ export declare const HarnessSpecSchema: z.ZodObject<{
386
387
  }>;
387
388
  modelId: z.ZodString;
388
389
  apiKeyArn: z.ZodOptional<z.ZodString>;
390
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
389
391
  apiFormat: z.ZodOptional<z.ZodEnum<{
390
392
  converse_stream: "converse_stream";
391
393
  responses: "responses";
@@ -646,4 +648,1042 @@ export declare const HarnessSpecSchema: z.ZodObject<{
646
648
  tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
647
649
  }, z.core.$strip>;
648
650
  export type HarnessSpec = z.infer<typeof HarnessSpecSchema>;
651
+ /** The on-disk format only; CLI options and construct inputs keep their existing shape. */
652
+ export declare const HarnessYamlSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
653
+ model: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
654
+ bedrockModelConfig: z.ZodObject<{
655
+ modelId: z.ZodString;
656
+ apiKeyArn: z.ZodOptional<z.ZodString>;
657
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
658
+ apiFormat: z.ZodOptional<z.ZodEnum<{
659
+ converse_stream: "converse_stream";
660
+ responses: "responses";
661
+ chat_completions: "chat_completions";
662
+ }>>;
663
+ temperature: z.ZodOptional<z.ZodNumber>;
664
+ topP: z.ZodOptional<z.ZodNumber>;
665
+ topK: z.ZodOptional<z.ZodNumber>;
666
+ maxTokens: z.ZodOptional<z.ZodNumber>;
667
+ apiBase: z.ZodOptional<z.ZodString>;
668
+ additionalParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
669
+ }, z.core.$strict>;
670
+ }, z.core.$strict>, z.ZodTransform<{
671
+ modelId: string;
672
+ apiKeyArn?: string | undefined;
673
+ apiKeyCredentialName?: string | undefined;
674
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
675
+ temperature?: number | undefined;
676
+ topP?: number | undefined;
677
+ topK?: number | undefined;
678
+ maxTokens?: number | undefined;
679
+ apiBase?: string | undefined;
680
+ additionalParams?: Record<string, unknown> | undefined;
681
+ provider: string;
682
+ }, {
683
+ bedrockModelConfig: {
684
+ modelId: string;
685
+ apiKeyArn?: string | undefined;
686
+ apiKeyCredentialName?: string | undefined;
687
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
688
+ temperature?: number | undefined;
689
+ topP?: number | undefined;
690
+ topK?: number | undefined;
691
+ maxTokens?: number | undefined;
692
+ apiBase?: string | undefined;
693
+ additionalParams?: Record<string, unknown> | undefined;
694
+ };
695
+ }>>, z.ZodPipe<z.ZodObject<{
696
+ openAiModelConfig: z.ZodObject<{
697
+ modelId: z.ZodString;
698
+ apiKeyArn: z.ZodOptional<z.ZodString>;
699
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
700
+ apiFormat: z.ZodOptional<z.ZodEnum<{
701
+ converse_stream: "converse_stream";
702
+ responses: "responses";
703
+ chat_completions: "chat_completions";
704
+ }>>;
705
+ temperature: z.ZodOptional<z.ZodNumber>;
706
+ topP: z.ZodOptional<z.ZodNumber>;
707
+ topK: z.ZodOptional<z.ZodNumber>;
708
+ maxTokens: z.ZodOptional<z.ZodNumber>;
709
+ apiBase: z.ZodOptional<z.ZodString>;
710
+ additionalParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
+ }, z.core.$strict>;
712
+ }, z.core.$strict>, z.ZodTransform<{
713
+ modelId: string;
714
+ apiKeyArn?: string | undefined;
715
+ apiKeyCredentialName?: string | undefined;
716
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
717
+ temperature?: number | undefined;
718
+ topP?: number | undefined;
719
+ topK?: number | undefined;
720
+ maxTokens?: number | undefined;
721
+ apiBase?: string | undefined;
722
+ additionalParams?: Record<string, unknown> | undefined;
723
+ provider: string;
724
+ }, {
725
+ openAiModelConfig: {
726
+ modelId: string;
727
+ apiKeyArn?: string | undefined;
728
+ apiKeyCredentialName?: string | undefined;
729
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
730
+ temperature?: number | undefined;
731
+ topP?: number | undefined;
732
+ topK?: number | undefined;
733
+ maxTokens?: number | undefined;
734
+ apiBase?: string | undefined;
735
+ additionalParams?: Record<string, unknown> | undefined;
736
+ };
737
+ }>>, z.ZodPipe<z.ZodObject<{
738
+ geminiModelConfig: z.ZodObject<{
739
+ modelId: z.ZodString;
740
+ apiKeyArn: z.ZodOptional<z.ZodString>;
741
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
742
+ apiFormat: z.ZodOptional<z.ZodEnum<{
743
+ converse_stream: "converse_stream";
744
+ responses: "responses";
745
+ chat_completions: "chat_completions";
746
+ }>>;
747
+ temperature: z.ZodOptional<z.ZodNumber>;
748
+ topP: z.ZodOptional<z.ZodNumber>;
749
+ topK: z.ZodOptional<z.ZodNumber>;
750
+ maxTokens: z.ZodOptional<z.ZodNumber>;
751
+ apiBase: z.ZodOptional<z.ZodString>;
752
+ additionalParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
753
+ }, z.core.$strict>;
754
+ }, z.core.$strict>, z.ZodTransform<{
755
+ modelId: string;
756
+ apiKeyArn?: string | undefined;
757
+ apiKeyCredentialName?: string | undefined;
758
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
759
+ temperature?: number | undefined;
760
+ topP?: number | undefined;
761
+ topK?: number | undefined;
762
+ maxTokens?: number | undefined;
763
+ apiBase?: string | undefined;
764
+ additionalParams?: Record<string, unknown> | undefined;
765
+ provider: string;
766
+ }, {
767
+ geminiModelConfig: {
768
+ modelId: string;
769
+ apiKeyArn?: string | undefined;
770
+ apiKeyCredentialName?: string | undefined;
771
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
772
+ temperature?: number | undefined;
773
+ topP?: number | undefined;
774
+ topK?: number | undefined;
775
+ maxTokens?: number | undefined;
776
+ apiBase?: string | undefined;
777
+ additionalParams?: Record<string, unknown> | undefined;
778
+ };
779
+ }>>, z.ZodPipe<z.ZodObject<{
780
+ liteLlmModelConfig: z.ZodObject<{
781
+ modelId: z.ZodString;
782
+ apiKeyArn: z.ZodOptional<z.ZodString>;
783
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
784
+ apiFormat: z.ZodOptional<z.ZodEnum<{
785
+ converse_stream: "converse_stream";
786
+ responses: "responses";
787
+ chat_completions: "chat_completions";
788
+ }>>;
789
+ temperature: z.ZodOptional<z.ZodNumber>;
790
+ topP: z.ZodOptional<z.ZodNumber>;
791
+ topK: z.ZodOptional<z.ZodNumber>;
792
+ maxTokens: z.ZodOptional<z.ZodNumber>;
793
+ apiBase: z.ZodOptional<z.ZodString>;
794
+ additionalParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
795
+ }, z.core.$strict>;
796
+ }, z.core.$strict>, z.ZodTransform<{
797
+ modelId: string;
798
+ apiKeyArn?: string | undefined;
799
+ apiKeyCredentialName?: string | undefined;
800
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
801
+ temperature?: number | undefined;
802
+ topP?: number | undefined;
803
+ topK?: number | undefined;
804
+ maxTokens?: number | undefined;
805
+ apiBase?: string | undefined;
806
+ additionalParams?: Record<string, unknown> | undefined;
807
+ provider: string;
808
+ }, {
809
+ liteLlmModelConfig: {
810
+ modelId: string;
811
+ apiKeyArn?: string | undefined;
812
+ apiKeyCredentialName?: string | undefined;
813
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
814
+ temperature?: number | undefined;
815
+ topP?: number | undefined;
816
+ topK?: number | undefined;
817
+ maxTokens?: number | undefined;
818
+ apiBase?: string | undefined;
819
+ additionalParams?: Record<string, unknown> | undefined;
820
+ };
821
+ }>>]>;
822
+ memory: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
823
+ managedMemoryConfiguration: z.ZodObject<{
824
+ strategies: z.ZodOptional<z.ZodArray<z.ZodEnum<{
825
+ SEMANTIC: "SEMANTIC";
826
+ SUMMARIZATION: "SUMMARIZATION";
827
+ USER_PREFERENCE: "USER_PREFERENCE";
828
+ EPISODIC: "EPISODIC";
829
+ }>>>;
830
+ eventExpiryDuration: z.ZodOptional<z.ZodNumber>;
831
+ encryptionKeyArn: z.ZodOptional<z.ZodString>;
832
+ }, z.core.$strict>;
833
+ }, z.core.$strict>, z.ZodTransform<{
834
+ strategies?: ("SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "EPISODIC")[] | undefined;
835
+ eventExpiryDuration?: number | undefined;
836
+ encryptionKeyArn?: string | undefined;
837
+ mode: string;
838
+ }, {
839
+ managedMemoryConfiguration: {
840
+ strategies?: ("SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "EPISODIC")[] | undefined;
841
+ eventExpiryDuration?: number | undefined;
842
+ encryptionKeyArn?: string | undefined;
843
+ };
844
+ }>>, z.ZodPipe<z.ZodObject<{
845
+ agentCoreMemoryConfiguration: z.ZodObject<{
846
+ name: z.ZodOptional<z.ZodString>;
847
+ arn: z.ZodOptional<z.ZodString>;
848
+ actorId: z.ZodOptional<z.ZodString>;
849
+ messagesCount: z.ZodOptional<z.ZodNumber>;
850
+ retrievalConfig: z.ZodOptional<z.ZodObject<{
851
+ topK: z.ZodOptional<z.ZodNumber>;
852
+ relevanceScore: z.ZodOptional<z.ZodNumber>;
853
+ }, z.core.$strict>>;
854
+ }, z.core.$strict>;
855
+ }, z.core.$strict>, z.ZodTransform<{
856
+ name?: string | undefined;
857
+ arn?: string | undefined;
858
+ actorId?: string | undefined;
859
+ messagesCount?: number | undefined;
860
+ retrievalConfig?: {
861
+ topK?: number | undefined;
862
+ relevanceScore?: number | undefined;
863
+ } | undefined;
864
+ mode: string;
865
+ }, {
866
+ agentCoreMemoryConfiguration: {
867
+ name?: string | undefined;
868
+ arn?: string | undefined;
869
+ actorId?: string | undefined;
870
+ messagesCount?: number | undefined;
871
+ retrievalConfig?: {
872
+ topK?: number | undefined;
873
+ relevanceScore?: number | undefined;
874
+ } | undefined;
875
+ };
876
+ }>>, z.ZodPipe<z.ZodObject<{
877
+ disabled: z.ZodObject<{}, z.core.$strict>;
878
+ }, z.core.$strict>, z.ZodTransform<{
879
+ mode: string;
880
+ }, {
881
+ disabled: Record<string, never>;
882
+ }>>]>>;
883
+ systemPrompt: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodObject<{
884
+ text: z.ZodString;
885
+ }, z.core.$strict>>, z.ZodTransform<string, {
886
+ text: string;
887
+ }[]>>>;
888
+ skills: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
889
+ path: z.ZodString;
890
+ }, z.core.$strict>, z.ZodObject<{
891
+ awsSkills: z.ZodObject<{
892
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
893
+ }, z.core.$strict>;
894
+ }, z.core.$strict>, z.ZodPipe<z.ZodObject<{
895
+ s3: z.ZodObject<{
896
+ uri: z.ZodString;
897
+ }, z.core.$strict>;
898
+ }, z.core.$strict>, z.ZodTransform<{
899
+ s3Uri: string;
900
+ }, {
901
+ s3: {
902
+ uri: string;
903
+ };
904
+ }>>, z.ZodPipe<z.ZodObject<{
905
+ git: z.ZodObject<{
906
+ url: z.ZodString;
907
+ path: z.ZodOptional<z.ZodString>;
908
+ auth: z.ZodOptional<z.ZodObject<{
909
+ credentialName: z.ZodString;
910
+ username: z.ZodOptional<z.ZodString>;
911
+ }, z.core.$strip>>;
912
+ }, z.core.$strict>;
913
+ }, z.core.$strict>, z.ZodTransform<{
914
+ path?: string | undefined;
915
+ auth?: {
916
+ credentialName: string;
917
+ username?: string | undefined;
918
+ } | undefined;
919
+ gitUrl: string;
920
+ }, {
921
+ git: {
922
+ url: string;
923
+ path?: string | undefined;
924
+ auth?: {
925
+ credentialName: string;
926
+ username?: string | undefined;
927
+ } | undefined;
928
+ };
929
+ }>>]>>>;
930
+ environmentArtifact: z.ZodOptional<z.ZodObject<{
931
+ containerConfiguration: z.ZodObject<{
932
+ containerUri: z.ZodString;
933
+ }, z.core.$strict>;
934
+ }, z.core.$strict>>;
935
+ environment: z.ZodOptional<z.ZodObject<{
936
+ agentCoreRuntimeEnvironment: z.ZodObject<{
937
+ networkConfiguration: z.ZodOptional<z.ZodObject<{
938
+ networkMode: z.ZodEnum<{
939
+ PUBLIC: "PUBLIC";
940
+ VPC: "VPC";
941
+ }>;
942
+ networkModeConfig: z.ZodOptional<z.ZodObject<{
943
+ subnets: z.ZodArray<z.ZodString>;
944
+ securityGroups: z.ZodArray<z.ZodString>;
945
+ }, z.core.$strict>>;
946
+ }, z.core.$strict>>;
947
+ lifecycleConfiguration: z.ZodOptional<z.ZodObject<{
948
+ idleRuntimeSessionTimeout: z.ZodOptional<z.ZodNumber>;
949
+ maxLifetime: z.ZodOptional<z.ZodNumber>;
950
+ }, z.core.$strip>>;
951
+ filesystemConfigurations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
952
+ sessionStorage: z.ZodObject<{
953
+ mountPath: z.ZodString;
954
+ }, z.core.$strict>;
955
+ }, z.core.$strict>, z.ZodObject<{
956
+ efsAccessPoint: z.ZodObject<{
957
+ accessPointArn: z.ZodString;
958
+ mountPath: z.ZodString;
959
+ }, z.core.$strip>;
960
+ }, z.core.$strict>, z.ZodObject<{
961
+ s3FilesAccessPoint: z.ZodObject<{
962
+ accessPointArn: z.ZodString;
963
+ mountPath: z.ZodString;
964
+ }, z.core.$strip>;
965
+ }, z.core.$strict>]>>>;
966
+ }, z.core.$strict>;
967
+ }, z.core.$strict>>;
968
+ networkConfig: z.ZodOptional<z.ZodObject<{
969
+ vpcId: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
970
+ }, z.core.$strict>>;
971
+ authorizerConfiguration: z.ZodOptional<z.ZodObject<{
972
+ customJWTAuthorizer: z.ZodObject<{
973
+ discoveryUrl: z.ZodString;
974
+ allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
975
+ allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
976
+ allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
977
+ customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
978
+ inboundTokenClaimName: z.ZodString;
979
+ inboundTokenClaimValueType: z.ZodEnum<{
980
+ STRING: "STRING";
981
+ STRING_ARRAY: "STRING_ARRAY";
982
+ }>;
983
+ authorizingClaimMatchValue: z.ZodObject<{
984
+ claimMatchOperator: z.ZodEnum<{
985
+ EQUALS: "EQUALS";
986
+ CONTAINS: "CONTAINS";
987
+ CONTAINS_ANY: "CONTAINS_ANY";
988
+ }>;
989
+ claimMatchValue: z.ZodObject<{
990
+ matchValueString: z.ZodOptional<z.ZodString>;
991
+ matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
992
+ }, z.core.$strip>;
993
+ }, z.core.$strip>;
994
+ }, z.core.$strict>>>;
995
+ privateEndpoint: z.ZodOptional<z.ZodObject<{
996
+ selfManagedLatticeResource: z.ZodOptional<z.ZodObject<{
997
+ resourceConfigurationIdentifier: z.ZodString;
998
+ }, z.core.$strict>>;
999
+ managedVpcResource: z.ZodOptional<z.ZodObject<{
1000
+ vpcIdentifier: z.ZodString;
1001
+ subnetIds: z.ZodArray<z.ZodString>;
1002
+ endpointIpAddressType: z.ZodEnum<{
1003
+ IPV4: "IPV4";
1004
+ IPV6: "IPV6";
1005
+ }>;
1006
+ securityGroupIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1007
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1008
+ routingDomain: z.ZodOptional<z.ZodString>;
1009
+ }, z.core.$strict>>;
1010
+ }, z.core.$strict>>;
1011
+ privateEndpointOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
1012
+ domain: z.ZodString;
1013
+ privateEndpoint: z.ZodObject<{
1014
+ selfManagedLatticeResource: z.ZodOptional<z.ZodObject<{
1015
+ resourceConfigurationIdentifier: z.ZodString;
1016
+ }, z.core.$strict>>;
1017
+ managedVpcResource: z.ZodOptional<z.ZodObject<{
1018
+ vpcIdentifier: z.ZodString;
1019
+ subnetIds: z.ZodArray<z.ZodString>;
1020
+ endpointIpAddressType: z.ZodEnum<{
1021
+ IPV4: "IPV4";
1022
+ IPV6: "IPV6";
1023
+ }>;
1024
+ securityGroupIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1025
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1026
+ routingDomain: z.ZodOptional<z.ZodString>;
1027
+ }, z.core.$strict>>;
1028
+ }, z.core.$strict>;
1029
+ }, z.core.$strict>>>;
1030
+ }, z.core.$strict>;
1031
+ }, z.core.$strict>>;
1032
+ name: z.ZodString;
1033
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
1034
+ type: z.ZodEnum<{
1035
+ remote_mcp: "remote_mcp";
1036
+ agentcore_browser: "agentcore_browser";
1037
+ agentcore_gateway: "agentcore_gateway";
1038
+ inline_function: "inline_function";
1039
+ agentcore_code_interpreter: "agentcore_code_interpreter";
1040
+ }>;
1041
+ name: z.ZodString;
1042
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1043
+ remoteMcp: z.ZodObject<{
1044
+ url: z.ZodString;
1045
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1046
+ }, z.core.$strip>;
1047
+ }, z.core.$strip>, z.ZodObject<{
1048
+ agentCoreBrowser: z.ZodObject<{
1049
+ browserArn: z.ZodOptional<z.ZodString>;
1050
+ }, z.core.$strip>;
1051
+ }, z.core.$strip>, z.ZodObject<{
1052
+ agentCoreCodeInterpreter: z.ZodObject<{
1053
+ codeInterpreterArn: z.ZodOptional<z.ZodString>;
1054
+ }, z.core.$strip>;
1055
+ }, z.core.$strip>, z.ZodObject<{
1056
+ agentCoreGateway: z.ZodObject<{
1057
+ gatewayArn: z.ZodString;
1058
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1059
+ awsIam: z.ZodObject<{}, z.core.$strip>;
1060
+ }, z.core.$strip>, z.ZodObject<{
1061
+ none: z.ZodObject<{}, z.core.$strip>;
1062
+ }, z.core.$strip>, z.ZodObject<{
1063
+ oauth: z.ZodObject<{
1064
+ providerArn: z.ZodString;
1065
+ scopes: z.ZodArray<z.ZodString>;
1066
+ grantType: z.ZodOptional<z.ZodEnum<{
1067
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
1068
+ USER_FEDERATION: "USER_FEDERATION";
1069
+ }>>;
1070
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1071
+ }, z.core.$strip>;
1072
+ }, z.core.$strip>]>>;
1073
+ }, z.core.$loose>;
1074
+ }, z.core.$strip>, z.ZodObject<{
1075
+ inlineFunction: z.ZodObject<{
1076
+ description: z.ZodString;
1077
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1078
+ }, z.core.$strip>;
1079
+ }, z.core.$strip>]>>;
1080
+ }, z.core.$strip>>>;
1081
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1082
+ maxIterations: z.ZodOptional<z.ZodNumber>;
1083
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1084
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
1085
+ truncation: z.ZodOptional<z.ZodObject<{
1086
+ strategy: z.ZodEnum<{
1087
+ none: "none";
1088
+ sliding_window: "sliding_window";
1089
+ summarization: "summarization";
1090
+ }>;
1091
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1092
+ slidingWindow: z.ZodObject<{
1093
+ messagesCount: z.ZodOptional<z.ZodNumber>;
1094
+ }, z.core.$strip>;
1095
+ }, z.core.$strict>, z.ZodObject<{
1096
+ summarization: z.ZodObject<{
1097
+ summaryRatio: z.ZodOptional<z.ZodNumber>;
1098
+ preserveRecentMessages: z.ZodOptional<z.ZodNumber>;
1099
+ summarizationSystemPrompt: z.ZodOptional<z.ZodString>;
1100
+ }, z.core.$strip>;
1101
+ }, z.core.$strict>]>>;
1102
+ }, z.core.$strip>>;
1103
+ dockerfile: z.ZodOptional<z.ZodString>;
1104
+ executionRoleArn: z.ZodOptional<z.ZodString>;
1105
+ environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1106
+ connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1107
+ id: z.ZodOptional<z.ZodString>;
1108
+ to: z.ZodDiscriminatedUnion<[z.ZodObject<{
1109
+ type: z.ZodLiteral<"memory">;
1110
+ arn: z.ZodString;
1111
+ namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1112
+ }, z.core.$strict>, z.ZodObject<{
1113
+ type: z.ZodLiteral<"gateway">;
1114
+ arn: z.ZodString;
1115
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1116
+ awsIam: z.ZodObject<{}, z.core.$strict>;
1117
+ }, z.core.$strict>, z.ZodObject<{
1118
+ none: z.ZodObject<{}, z.core.$strict>;
1119
+ }, z.core.$strict>, z.ZodObject<{
1120
+ oauth: z.ZodObject<{
1121
+ providerArn: z.ZodString;
1122
+ scopes: z.ZodArray<z.ZodString>;
1123
+ grantType: z.ZodOptional<z.ZodEnum<{
1124
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
1125
+ AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
1126
+ TOKEN_EXCHANGE: "TOKEN_EXCHANGE";
1127
+ }>>;
1128
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1129
+ }, z.core.$strict>;
1130
+ }, z.core.$strict>]>>;
1131
+ }, z.core.$strict>, z.ZodObject<{
1132
+ type: z.ZodLiteral<"runtime">;
1133
+ arn: z.ZodString;
1134
+ exec: z.ZodOptional<z.ZodBoolean>;
1135
+ }, z.core.$strict>, z.ZodObject<{
1136
+ type: z.ZodLiteral<"browser">;
1137
+ arn: z.ZodOptional<z.ZodString>;
1138
+ }, z.core.$strict>, z.ZodObject<{
1139
+ type: z.ZodLiteral<"codeInterpreter">;
1140
+ arn: z.ZodOptional<z.ZodString>;
1141
+ }, z.core.$strict>], "type">;
1142
+ access: z.ZodOptional<z.ZodEnum<{
1143
+ read: "read";
1144
+ readwrite: "readwrite";
1145
+ }>>;
1146
+ description: z.ZodOptional<z.ZodString>;
1147
+ }, z.core.$strict>>>;
1148
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1149
+ }, z.core.$strict>, z.ZodTransform<unknown, {
1150
+ model: {
1151
+ modelId: string;
1152
+ apiKeyArn?: string | undefined;
1153
+ apiKeyCredentialName?: string | undefined;
1154
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
1155
+ temperature?: number | undefined;
1156
+ topP?: number | undefined;
1157
+ topK?: number | undefined;
1158
+ maxTokens?: number | undefined;
1159
+ apiBase?: string | undefined;
1160
+ additionalParams?: Record<string, unknown> | undefined;
1161
+ provider: string;
1162
+ } | {
1163
+ modelId: string;
1164
+ apiKeyArn?: string | undefined;
1165
+ apiKeyCredentialName?: string | undefined;
1166
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
1167
+ temperature?: number | undefined;
1168
+ topP?: number | undefined;
1169
+ topK?: number | undefined;
1170
+ maxTokens?: number | undefined;
1171
+ apiBase?: string | undefined;
1172
+ additionalParams?: Record<string, unknown> | undefined;
1173
+ provider: string;
1174
+ } | {
1175
+ modelId: string;
1176
+ apiKeyArn?: string | undefined;
1177
+ apiKeyCredentialName?: string | undefined;
1178
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
1179
+ temperature?: number | undefined;
1180
+ topP?: number | undefined;
1181
+ topK?: number | undefined;
1182
+ maxTokens?: number | undefined;
1183
+ apiBase?: string | undefined;
1184
+ additionalParams?: Record<string, unknown> | undefined;
1185
+ provider: string;
1186
+ } | {
1187
+ modelId: string;
1188
+ apiKeyArn?: string | undefined;
1189
+ apiKeyCredentialName?: string | undefined;
1190
+ apiFormat?: "converse_stream" | "responses" | "chat_completions" | undefined;
1191
+ temperature?: number | undefined;
1192
+ topP?: number | undefined;
1193
+ topK?: number | undefined;
1194
+ maxTokens?: number | undefined;
1195
+ apiBase?: string | undefined;
1196
+ additionalParams?: Record<string, unknown> | undefined;
1197
+ provider: string;
1198
+ };
1199
+ name: string;
1200
+ tools: {
1201
+ type: "remote_mcp" | "agentcore_browser" | "agentcore_gateway" | "inline_function" | "agentcore_code_interpreter";
1202
+ name: string;
1203
+ config?: {
1204
+ remoteMcp: {
1205
+ url: string;
1206
+ headers?: Record<string, string> | undefined;
1207
+ };
1208
+ } | {
1209
+ agentCoreBrowser: {
1210
+ browserArn?: string | undefined;
1211
+ };
1212
+ } | {
1213
+ agentCoreCodeInterpreter: {
1214
+ codeInterpreterArn?: string | undefined;
1215
+ };
1216
+ } | {
1217
+ agentCoreGateway: {
1218
+ [x: string]: unknown;
1219
+ gatewayArn: string;
1220
+ outboundAuth?: {
1221
+ awsIam: Record<string, never>;
1222
+ } | {
1223
+ none: Record<string, never>;
1224
+ } | {
1225
+ oauth: {
1226
+ providerArn: string;
1227
+ scopes: string[];
1228
+ grantType?: "CLIENT_CREDENTIALS" | "USER_FEDERATION" | undefined;
1229
+ customParameters?: Record<string, string> | undefined;
1230
+ };
1231
+ } | undefined;
1232
+ };
1233
+ } | {
1234
+ inlineFunction: {
1235
+ description: string;
1236
+ inputSchema: Record<string, unknown>;
1237
+ };
1238
+ } | undefined;
1239
+ }[];
1240
+ memory?: {
1241
+ strategies?: ("SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "EPISODIC")[] | undefined;
1242
+ eventExpiryDuration?: number | undefined;
1243
+ encryptionKeyArn?: string | undefined;
1244
+ mode: string;
1245
+ } | {
1246
+ name?: string | undefined;
1247
+ arn?: string | undefined;
1248
+ actorId?: string | undefined;
1249
+ messagesCount?: number | undefined;
1250
+ retrievalConfig?: {
1251
+ topK?: number | undefined;
1252
+ relevanceScore?: number | undefined;
1253
+ } | undefined;
1254
+ mode: string;
1255
+ } | {
1256
+ mode: string;
1257
+ } | undefined;
1258
+ systemPrompt?: string | undefined;
1259
+ skills?: ({
1260
+ path: string;
1261
+ } | {
1262
+ awsSkills: {
1263
+ paths?: string[] | undefined;
1264
+ };
1265
+ } | {
1266
+ s3Uri: string;
1267
+ } | {
1268
+ path?: string | undefined;
1269
+ auth?: {
1270
+ credentialName: string;
1271
+ username?: string | undefined;
1272
+ } | undefined;
1273
+ gitUrl: string;
1274
+ })[] | undefined;
1275
+ environmentArtifact?: {
1276
+ containerConfiguration: {
1277
+ containerUri: string;
1278
+ };
1279
+ } | undefined;
1280
+ environment?: {
1281
+ agentCoreRuntimeEnvironment: {
1282
+ networkConfiguration?: {
1283
+ networkMode: "PUBLIC" | "VPC";
1284
+ networkModeConfig?: {
1285
+ subnets: string[];
1286
+ securityGroups: string[];
1287
+ } | undefined;
1288
+ } | undefined;
1289
+ lifecycleConfiguration?: {
1290
+ idleRuntimeSessionTimeout?: number | undefined;
1291
+ maxLifetime?: number | undefined;
1292
+ } | undefined;
1293
+ filesystemConfigurations?: ({
1294
+ sessionStorage: {
1295
+ mountPath: string;
1296
+ };
1297
+ } | {
1298
+ efsAccessPoint: {
1299
+ accessPointArn: string;
1300
+ mountPath: string;
1301
+ };
1302
+ } | {
1303
+ s3FilesAccessPoint: {
1304
+ accessPointArn: string;
1305
+ mountPath: string;
1306
+ };
1307
+ })[] | undefined;
1308
+ };
1309
+ } | undefined;
1310
+ networkConfig?: {
1311
+ vpcId: string;
1312
+ } | undefined;
1313
+ authorizerConfiguration?: {
1314
+ customJWTAuthorizer: {
1315
+ discoveryUrl: string;
1316
+ allowedAudience?: string[] | undefined;
1317
+ allowedClients?: string[] | undefined;
1318
+ allowedScopes?: string[] | undefined;
1319
+ customClaims?: {
1320
+ inboundTokenClaimName: string;
1321
+ inboundTokenClaimValueType: "STRING" | "STRING_ARRAY";
1322
+ authorizingClaimMatchValue: {
1323
+ claimMatchOperator: "EQUALS" | "CONTAINS" | "CONTAINS_ANY";
1324
+ claimMatchValue: {
1325
+ matchValueString?: string | undefined;
1326
+ matchValueStringList?: string[] | undefined;
1327
+ };
1328
+ };
1329
+ }[] | undefined;
1330
+ privateEndpoint?: {
1331
+ selfManagedLatticeResource?: {
1332
+ resourceConfigurationIdentifier: string;
1333
+ } | undefined;
1334
+ managedVpcResource?: {
1335
+ vpcIdentifier: string;
1336
+ subnetIds: string[];
1337
+ endpointIpAddressType: "IPV4" | "IPV6";
1338
+ securityGroupIds?: string[] | undefined;
1339
+ tags?: Record<string, string> | undefined;
1340
+ routingDomain?: string | undefined;
1341
+ } | undefined;
1342
+ } | undefined;
1343
+ privateEndpointOverrides?: {
1344
+ domain: string;
1345
+ privateEndpoint: {
1346
+ selfManagedLatticeResource?: {
1347
+ resourceConfigurationIdentifier: string;
1348
+ } | undefined;
1349
+ managedVpcResource?: {
1350
+ vpcIdentifier: string;
1351
+ subnetIds: string[];
1352
+ endpointIpAddressType: "IPV4" | "IPV6";
1353
+ securityGroupIds?: string[] | undefined;
1354
+ tags?: Record<string, string> | undefined;
1355
+ routingDomain?: string | undefined;
1356
+ } | undefined;
1357
+ };
1358
+ }[] | undefined;
1359
+ };
1360
+ } | undefined;
1361
+ allowedTools?: string[] | undefined;
1362
+ maxIterations?: number | undefined;
1363
+ maxTokens?: number | undefined;
1364
+ timeoutSeconds?: number | undefined;
1365
+ truncation?: {
1366
+ strategy: "none" | "sliding_window" | "summarization";
1367
+ config?: {
1368
+ slidingWindow: {
1369
+ messagesCount?: number | undefined;
1370
+ };
1371
+ } | {
1372
+ summarization: {
1373
+ summaryRatio?: number | undefined;
1374
+ preserveRecentMessages?: number | undefined;
1375
+ summarizationSystemPrompt?: string | undefined;
1376
+ };
1377
+ } | undefined;
1378
+ } | undefined;
1379
+ dockerfile?: string | undefined;
1380
+ executionRoleArn?: string | undefined;
1381
+ environmentVariables?: Record<string, string> | undefined;
1382
+ connections?: {
1383
+ to: {
1384
+ type: "memory";
1385
+ arn: string;
1386
+ namespaces?: string[] | undefined;
1387
+ } | {
1388
+ type: "gateway";
1389
+ arn: string;
1390
+ outboundAuth?: {
1391
+ awsIam: Record<string, never>;
1392
+ } | {
1393
+ none: Record<string, never>;
1394
+ } | {
1395
+ oauth: {
1396
+ providerArn: string;
1397
+ scopes: string[];
1398
+ grantType?: "CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE" | "TOKEN_EXCHANGE" | undefined;
1399
+ customParameters?: Record<string, string> | undefined;
1400
+ };
1401
+ } | undefined;
1402
+ } | {
1403
+ type: "runtime";
1404
+ arn: string;
1405
+ exec?: boolean | undefined;
1406
+ } | {
1407
+ type: "browser";
1408
+ arn?: string | undefined;
1409
+ } | {
1410
+ type: "codeInterpreter";
1411
+ arn?: string | undefined;
1412
+ };
1413
+ id?: string | undefined;
1414
+ access?: "read" | "readwrite" | undefined;
1415
+ description?: string | undefined;
1416
+ }[] | undefined;
1417
+ tags?: Record<string, string> | undefined;
1418
+ }>>, z.ZodObject<{
1419
+ name: z.ZodString;
1420
+ model: z.ZodObject<{
1421
+ provider: z.ZodEnum<{
1422
+ bedrock: "bedrock";
1423
+ open_ai: "open_ai";
1424
+ gemini: "gemini";
1425
+ lite_llm: "lite_llm";
1426
+ }>;
1427
+ modelId: z.ZodString;
1428
+ apiKeyArn: z.ZodOptional<z.ZodString>;
1429
+ apiKeyCredentialName: z.ZodOptional<z.ZodString>;
1430
+ apiFormat: z.ZodOptional<z.ZodEnum<{
1431
+ converse_stream: "converse_stream";
1432
+ responses: "responses";
1433
+ chat_completions: "chat_completions";
1434
+ }>>;
1435
+ temperature: z.ZodOptional<z.ZodNumber>;
1436
+ topP: z.ZodOptional<z.ZodNumber>;
1437
+ topK: z.ZodOptional<z.ZodNumber>;
1438
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1439
+ apiBase: z.ZodOptional<z.ZodString>;
1440
+ additionalParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1441
+ }, z.core.$strip>;
1442
+ systemPrompt: z.ZodOptional<z.ZodString>;
1443
+ tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
1444
+ type: z.ZodEnum<{
1445
+ remote_mcp: "remote_mcp";
1446
+ agentcore_browser: "agentcore_browser";
1447
+ agentcore_gateway: "agentcore_gateway";
1448
+ inline_function: "inline_function";
1449
+ agentcore_code_interpreter: "agentcore_code_interpreter";
1450
+ }>;
1451
+ name: z.ZodString;
1452
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1453
+ remoteMcp: z.ZodObject<{
1454
+ url: z.ZodString;
1455
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1456
+ }, z.core.$strip>;
1457
+ }, z.core.$strip>, z.ZodObject<{
1458
+ agentCoreBrowser: z.ZodObject<{
1459
+ browserArn: z.ZodOptional<z.ZodString>;
1460
+ }, z.core.$strip>;
1461
+ }, z.core.$strip>, z.ZodObject<{
1462
+ agentCoreCodeInterpreter: z.ZodObject<{
1463
+ codeInterpreterArn: z.ZodOptional<z.ZodString>;
1464
+ }, z.core.$strip>;
1465
+ }, z.core.$strip>, z.ZodObject<{
1466
+ agentCoreGateway: z.ZodObject<{
1467
+ gatewayArn: z.ZodString;
1468
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1469
+ awsIam: z.ZodObject<{}, z.core.$strip>;
1470
+ }, z.core.$strip>, z.ZodObject<{
1471
+ none: z.ZodObject<{}, z.core.$strip>;
1472
+ }, z.core.$strip>, z.ZodObject<{
1473
+ oauth: z.ZodObject<{
1474
+ providerArn: z.ZodString;
1475
+ scopes: z.ZodArray<z.ZodString>;
1476
+ grantType: z.ZodOptional<z.ZodEnum<{
1477
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
1478
+ USER_FEDERATION: "USER_FEDERATION";
1479
+ }>>;
1480
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
+ }, z.core.$strip>;
1482
+ }, z.core.$strip>]>>;
1483
+ }, z.core.$loose>;
1484
+ }, z.core.$strip>, z.ZodObject<{
1485
+ inlineFunction: z.ZodObject<{
1486
+ description: z.ZodString;
1487
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1488
+ }, z.core.$strip>;
1489
+ }, z.core.$strip>]>>;
1490
+ }, z.core.$strip>>>;
1491
+ skills: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
1492
+ path: string;
1493
+ }, string>>, z.ZodObject<{
1494
+ s3Uri: z.ZodString;
1495
+ }, z.core.$strict>, z.ZodObject<{
1496
+ gitUrl: z.ZodString;
1497
+ path: z.ZodOptional<z.ZodString>;
1498
+ auth: z.ZodOptional<z.ZodObject<{
1499
+ credentialName: z.ZodString;
1500
+ username: z.ZodOptional<z.ZodString>;
1501
+ }, z.core.$strip>>;
1502
+ }, z.core.$strict>, z.ZodObject<{
1503
+ path: z.ZodString;
1504
+ }, z.core.$strict>, z.ZodObject<{
1505
+ awsSkills: z.ZodObject<{
1506
+ paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1507
+ }, z.core.$strict>;
1508
+ }, z.core.$strict>]>>>;
1509
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1510
+ memory: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1511
+ mode: z.ZodLiteral<"managed">;
1512
+ strategies: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1513
+ SEMANTIC: "SEMANTIC";
1514
+ SUMMARIZATION: "SUMMARIZATION";
1515
+ USER_PREFERENCE: "USER_PREFERENCE";
1516
+ EPISODIC: "EPISODIC";
1517
+ }>>>;
1518
+ eventExpiryDuration: z.ZodOptional<z.ZodNumber>;
1519
+ encryptionKeyArn: z.ZodOptional<z.ZodString>;
1520
+ }, z.core.$strict>, z.ZodObject<{
1521
+ mode: z.ZodLiteral<"existing">;
1522
+ name: z.ZodOptional<z.ZodString>;
1523
+ arn: z.ZodOptional<z.ZodString>;
1524
+ actorId: z.ZodOptional<z.ZodString>;
1525
+ messagesCount: z.ZodOptional<z.ZodNumber>;
1526
+ retrievalConfig: z.ZodOptional<z.ZodObject<{
1527
+ topK: z.ZodOptional<z.ZodNumber>;
1528
+ relevanceScore: z.ZodOptional<z.ZodNumber>;
1529
+ }, z.core.$strict>>;
1530
+ }, z.core.$strict>, z.ZodObject<{
1531
+ mode: z.ZodLiteral<"disabled">;
1532
+ }, z.core.$strict>], "mode">>>;
1533
+ maxIterations: z.ZodOptional<z.ZodNumber>;
1534
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1535
+ timeoutSeconds: z.ZodOptional<z.ZodNumber>;
1536
+ truncation: z.ZodOptional<z.ZodObject<{
1537
+ strategy: z.ZodEnum<{
1538
+ none: "none";
1539
+ sliding_window: "sliding_window";
1540
+ summarization: "summarization";
1541
+ }>;
1542
+ config: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1543
+ slidingWindow: z.ZodObject<{
1544
+ messagesCount: z.ZodOptional<z.ZodNumber>;
1545
+ }, z.core.$strip>;
1546
+ }, z.core.$strict>, z.ZodObject<{
1547
+ summarization: z.ZodObject<{
1548
+ summaryRatio: z.ZodOptional<z.ZodNumber>;
1549
+ preserveRecentMessages: z.ZodOptional<z.ZodNumber>;
1550
+ summarizationSystemPrompt: z.ZodOptional<z.ZodString>;
1551
+ }, z.core.$strip>;
1552
+ }, z.core.$strict>]>>;
1553
+ }, z.core.$strip>>;
1554
+ containerUri: z.ZodOptional<z.ZodString>;
1555
+ dockerfile: z.ZodOptional<z.ZodString>;
1556
+ executionRoleArn: z.ZodOptional<z.ZodString>;
1557
+ networkMode: z.ZodOptional<z.ZodEnum<{
1558
+ PUBLIC: "PUBLIC";
1559
+ VPC: "VPC";
1560
+ }>>;
1561
+ networkConfig: z.ZodOptional<z.ZodObject<{
1562
+ subnets: z.ZodArray<z.ZodString>;
1563
+ securityGroups: z.ZodArray<z.ZodString>;
1564
+ vpcId: z.ZodOptional<z.ZodString>;
1565
+ }, z.core.$strip>>;
1566
+ lifecycleConfig: z.ZodOptional<z.ZodObject<{
1567
+ idleRuntimeSessionTimeout: z.ZodOptional<z.ZodNumber>;
1568
+ maxLifetime: z.ZodOptional<z.ZodNumber>;
1569
+ }, z.core.$strip>>;
1570
+ sessionStoragePath: z.ZodOptional<z.ZodString>;
1571
+ efsAccessPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1572
+ accessPointArn: z.ZodString;
1573
+ mountPath: z.ZodString;
1574
+ }, z.core.$strip>>>;
1575
+ s3AccessPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1576
+ accessPointArn: z.ZodString;
1577
+ mountPath: z.ZodString;
1578
+ }, z.core.$strip>>>;
1579
+ environmentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1580
+ authorizerType: z.ZodOptional<z.ZodEnum<{
1581
+ AWS_IAM: "AWS_IAM";
1582
+ CUSTOM_JWT: "CUSTOM_JWT";
1583
+ }>>;
1584
+ authorizerConfiguration: z.ZodOptional<z.ZodObject<{
1585
+ customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
1586
+ discoveryUrl: z.ZodString;
1587
+ allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
1588
+ allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
1589
+ allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1590
+ customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
1591
+ inboundTokenClaimName: z.ZodString;
1592
+ inboundTokenClaimValueType: z.ZodEnum<{
1593
+ STRING: "STRING";
1594
+ STRING_ARRAY: "STRING_ARRAY";
1595
+ }>;
1596
+ authorizingClaimMatchValue: z.ZodObject<{
1597
+ claimMatchOperator: z.ZodEnum<{
1598
+ EQUALS: "EQUALS";
1599
+ CONTAINS: "CONTAINS";
1600
+ CONTAINS_ANY: "CONTAINS_ANY";
1601
+ }>;
1602
+ claimMatchValue: z.ZodObject<{
1603
+ matchValueString: z.ZodOptional<z.ZodString>;
1604
+ matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
1605
+ }, z.core.$strip>;
1606
+ }, z.core.$strip>;
1607
+ }, z.core.$strict>>>;
1608
+ privateEndpoint: z.ZodOptional<z.ZodObject<{
1609
+ selfManagedLatticeResource: z.ZodOptional<z.ZodObject<{
1610
+ resourceConfigurationIdentifier: z.ZodString;
1611
+ }, z.core.$strict>>;
1612
+ managedVpcResource: z.ZodOptional<z.ZodObject<{
1613
+ vpcIdentifier: z.ZodString;
1614
+ subnetIds: z.ZodArray<z.ZodString>;
1615
+ endpointIpAddressType: z.ZodEnum<{
1616
+ IPV4: "IPV4";
1617
+ IPV6: "IPV6";
1618
+ }>;
1619
+ securityGroupIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1620
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1621
+ routingDomain: z.ZodOptional<z.ZodString>;
1622
+ }, z.core.$strict>>;
1623
+ }, z.core.$strict>>;
1624
+ privateEndpointOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
1625
+ domain: z.ZodString;
1626
+ privateEndpoint: z.ZodObject<{
1627
+ selfManagedLatticeResource: z.ZodOptional<z.ZodObject<{
1628
+ resourceConfigurationIdentifier: z.ZodString;
1629
+ }, z.core.$strict>>;
1630
+ managedVpcResource: z.ZodOptional<z.ZodObject<{
1631
+ vpcIdentifier: z.ZodString;
1632
+ subnetIds: z.ZodArray<z.ZodString>;
1633
+ endpointIpAddressType: z.ZodEnum<{
1634
+ IPV4: "IPV4";
1635
+ IPV6: "IPV6";
1636
+ }>;
1637
+ securityGroupIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1638
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1639
+ routingDomain: z.ZodOptional<z.ZodString>;
1640
+ }, z.core.$strict>>;
1641
+ }, z.core.$strict>;
1642
+ }, z.core.$strict>>>;
1643
+ }, z.core.$strict>>;
1644
+ }, z.core.$strip>>;
1645
+ connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1646
+ id: z.ZodOptional<z.ZodString>;
1647
+ to: z.ZodDiscriminatedUnion<[z.ZodObject<{
1648
+ type: z.ZodLiteral<"memory">;
1649
+ arn: z.ZodString;
1650
+ namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1651
+ }, z.core.$strict>, z.ZodObject<{
1652
+ type: z.ZodLiteral<"gateway">;
1653
+ arn: z.ZodString;
1654
+ outboundAuth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1655
+ awsIam: z.ZodObject<{}, z.core.$strict>;
1656
+ }, z.core.$strict>, z.ZodObject<{
1657
+ none: z.ZodObject<{}, z.core.$strict>;
1658
+ }, z.core.$strict>, z.ZodObject<{
1659
+ oauth: z.ZodObject<{
1660
+ providerArn: z.ZodString;
1661
+ scopes: z.ZodArray<z.ZodString>;
1662
+ grantType: z.ZodOptional<z.ZodEnum<{
1663
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
1664
+ AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
1665
+ TOKEN_EXCHANGE: "TOKEN_EXCHANGE";
1666
+ }>>;
1667
+ customParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1668
+ }, z.core.$strict>;
1669
+ }, z.core.$strict>]>>;
1670
+ }, z.core.$strict>, z.ZodObject<{
1671
+ type: z.ZodLiteral<"runtime">;
1672
+ arn: z.ZodString;
1673
+ exec: z.ZodOptional<z.ZodBoolean>;
1674
+ }, z.core.$strict>, z.ZodObject<{
1675
+ type: z.ZodLiteral<"browser">;
1676
+ arn: z.ZodOptional<z.ZodString>;
1677
+ }, z.core.$strict>, z.ZodObject<{
1678
+ type: z.ZodLiteral<"codeInterpreter">;
1679
+ arn: z.ZodOptional<z.ZodString>;
1680
+ }, z.core.$strict>], "type">;
1681
+ access: z.ZodOptional<z.ZodEnum<{
1682
+ read: "read";
1683
+ readwrite: "readwrite";
1684
+ }>>;
1685
+ description: z.ZodOptional<z.ZodString>;
1686
+ }, z.core.$strict>>>;
1687
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1688
+ }, z.core.$strip>>;
649
1689
  //# sourceMappingURL=harness.d.ts.map