@perstack/core 0.0.56 → 0.0.57

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.
@@ -925,6 +925,238 @@ declare const checkpointSchema: z.ZodObject<{
925
925
  retryCount: z.ZodOptional<z.ZodNumber>;
926
926
  }, z.core.$strip>;
927
927
  //#endregion
928
+ //#region src/schemas/provider-config.d.ts
929
+ /** HTTP headers for API requests */
930
+ type Headers = Record<string, string> | undefined;
931
+ declare const headersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
932
+ /** Supported LLM provider names */
933
+ type ProviderName = "anthropic" | "google" | "openai" | "ollama" | "azure-openai" | "amazon-bedrock" | "google-vertex" | "deepseek";
934
+ declare const providerNameSchema: z.ZodEnum<{
935
+ anthropic: "anthropic";
936
+ google: "google";
937
+ openai: "openai";
938
+ deepseek: "deepseek";
939
+ ollama: "ollama";
940
+ "azure-openai": "azure-openai";
941
+ "amazon-bedrock": "amazon-bedrock";
942
+ "google-vertex": "google-vertex";
943
+ }>;
944
+ /** Anthropic provider configuration */
945
+ interface AnthropicProviderConfig {
946
+ providerName: "anthropic";
947
+ /** API key for Anthropic */
948
+ apiKey: string;
949
+ /** Custom base URL */
950
+ baseUrl?: string;
951
+ /** Custom headers */
952
+ headers?: Headers;
953
+ }
954
+ declare const anthropicProviderConfigSchema: z.ZodObject<{
955
+ providerName: z.ZodLiteral<"anthropic">;
956
+ apiKey: z.ZodString;
957
+ baseUrl: z.ZodOptional<z.ZodString>;
958
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
959
+ }, z.core.$strip>;
960
+ /** Google Generative AI provider configuration */
961
+ interface GoogleGenerativeAiProviderConfig {
962
+ providerName: "google";
963
+ /** API key for Google */
964
+ apiKey: string;
965
+ /** Custom base URL */
966
+ baseUrl?: string;
967
+ /** Custom headers */
968
+ headers?: Headers;
969
+ }
970
+ declare const googleGenerativeAiProviderConfigSchema: z.ZodObject<{
971
+ providerName: z.ZodLiteral<"google">;
972
+ apiKey: z.ZodString;
973
+ baseUrl: z.ZodOptional<z.ZodString>;
974
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
975
+ }, z.core.$strip>;
976
+ /** OpenAI provider configuration */
977
+ interface OpenAiProviderConfig {
978
+ providerName: "openai";
979
+ /** API key for OpenAI */
980
+ apiKey: string;
981
+ /** Custom base URL */
982
+ baseUrl?: string;
983
+ /** Organization ID */
984
+ organization?: string;
985
+ /** Project ID */
986
+ project?: string;
987
+ /** Custom name for the provider instance */
988
+ name?: string;
989
+ /** Custom headers */
990
+ headers?: Headers;
991
+ }
992
+ declare const openAiProviderConfigSchema: z.ZodObject<{
993
+ providerName: z.ZodLiteral<"openai">;
994
+ apiKey: z.ZodString;
995
+ baseUrl: z.ZodOptional<z.ZodString>;
996
+ organization: z.ZodOptional<z.ZodString>;
997
+ project: z.ZodOptional<z.ZodString>;
998
+ name: z.ZodOptional<z.ZodString>;
999
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1000
+ }, z.core.$strip>;
1001
+ /** Ollama provider configuration */
1002
+ interface OllamaProviderConfig {
1003
+ providerName: "ollama";
1004
+ /** Custom base URL (defaults to localhost) */
1005
+ baseUrl?: string;
1006
+ /** Custom headers */
1007
+ headers?: Headers;
1008
+ }
1009
+ declare const ollamaProviderConfigSchema: z.ZodObject<{
1010
+ providerName: z.ZodLiteral<"ollama">;
1011
+ baseUrl: z.ZodOptional<z.ZodString>;
1012
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1013
+ }, z.core.$strip>;
1014
+ /** Azure OpenAI provider configuration */
1015
+ interface AzureOpenAiProviderConfig {
1016
+ providerName: "azure-openai";
1017
+ /** API key for Azure */
1018
+ apiKey: string;
1019
+ /** Azure resource name */
1020
+ resourceName?: string;
1021
+ /** API version */
1022
+ apiVersion?: string;
1023
+ /** Custom base URL */
1024
+ baseUrl?: string;
1025
+ /** Custom headers */
1026
+ headers?: Headers;
1027
+ /** Use deployment-based URLs */
1028
+ useDeploymentBasedUrls?: boolean;
1029
+ }
1030
+ declare const azureOpenAiProviderConfigSchema: z.ZodObject<{
1031
+ providerName: z.ZodLiteral<"azure-openai">;
1032
+ apiKey: z.ZodString;
1033
+ resourceName: z.ZodOptional<z.ZodString>;
1034
+ apiVersion: z.ZodOptional<z.ZodString>;
1035
+ baseUrl: z.ZodOptional<z.ZodString>;
1036
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1037
+ useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
1038
+ }, z.core.$strip>;
1039
+ /** Amazon Bedrock provider configuration */
1040
+ interface AmazonBedrockProviderConfig {
1041
+ providerName: "amazon-bedrock";
1042
+ /** AWS access key ID */
1043
+ accessKeyId: string;
1044
+ /** AWS secret access key */
1045
+ secretAccessKey: string;
1046
+ /** AWS region */
1047
+ region: string;
1048
+ /** AWS session token (for temporary credentials) */
1049
+ sessionToken?: string;
1050
+ }
1051
+ declare const amazonBedrockProviderConfigSchema: z.ZodObject<{
1052
+ providerName: z.ZodLiteral<"amazon-bedrock">;
1053
+ accessKeyId: z.ZodString;
1054
+ secretAccessKey: z.ZodString;
1055
+ region: z.ZodString;
1056
+ sessionToken: z.ZodOptional<z.ZodString>;
1057
+ }, z.core.$strip>;
1058
+ /** Google Vertex AI provider configuration */
1059
+ interface GoogleVertexProviderConfig {
1060
+ providerName: "google-vertex";
1061
+ /** GCP project ID */
1062
+ project?: string;
1063
+ /** GCP location */
1064
+ location?: string;
1065
+ /** Custom base URL */
1066
+ baseUrl?: string;
1067
+ /** Custom headers */
1068
+ headers?: Headers;
1069
+ }
1070
+ declare const googleVertexProviderConfigSchema: z.ZodObject<{
1071
+ providerName: z.ZodLiteral<"google-vertex">;
1072
+ project: z.ZodOptional<z.ZodString>;
1073
+ location: z.ZodOptional<z.ZodString>;
1074
+ baseUrl: z.ZodOptional<z.ZodString>;
1075
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1076
+ }, z.core.$strip>;
1077
+ /** DeepSeek provider configuration */
1078
+ interface DeepseekProviderConfig {
1079
+ providerName: "deepseek";
1080
+ /** API key for DeepSeek */
1081
+ apiKey: string;
1082
+ /** Custom base URL */
1083
+ baseUrl?: string;
1084
+ /** Custom headers */
1085
+ headers?: Headers;
1086
+ }
1087
+ declare const deepseekProviderConfigSchema: z.ZodObject<{
1088
+ providerName: z.ZodLiteral<"deepseek">;
1089
+ apiKey: z.ZodString;
1090
+ baseUrl: z.ZodOptional<z.ZodString>;
1091
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1092
+ }, z.core.$strip>;
1093
+ /** Union of all provider configurations */
1094
+ type ProviderConfig = AnthropicProviderConfig | GoogleGenerativeAiProviderConfig | OpenAiProviderConfig | OllamaProviderConfig | AzureOpenAiProviderConfig | AmazonBedrockProviderConfig | GoogleVertexProviderConfig | DeepseekProviderConfig;
1095
+ declare const providerConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1096
+ providerName: z.ZodLiteral<"anthropic">;
1097
+ apiKey: z.ZodString;
1098
+ baseUrl: z.ZodOptional<z.ZodString>;
1099
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1100
+ }, z.core.$strip>, z.ZodObject<{
1101
+ providerName: z.ZodLiteral<"google">;
1102
+ apiKey: z.ZodString;
1103
+ baseUrl: z.ZodOptional<z.ZodString>;
1104
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1105
+ }, z.core.$strip>, z.ZodObject<{
1106
+ providerName: z.ZodLiteral<"openai">;
1107
+ apiKey: z.ZodString;
1108
+ baseUrl: z.ZodOptional<z.ZodString>;
1109
+ organization: z.ZodOptional<z.ZodString>;
1110
+ project: z.ZodOptional<z.ZodString>;
1111
+ name: z.ZodOptional<z.ZodString>;
1112
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1113
+ }, z.core.$strip>, z.ZodObject<{
1114
+ providerName: z.ZodLiteral<"ollama">;
1115
+ baseUrl: z.ZodOptional<z.ZodString>;
1116
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1117
+ }, z.core.$strip>, z.ZodObject<{
1118
+ providerName: z.ZodLiteral<"azure-openai">;
1119
+ apiKey: z.ZodString;
1120
+ resourceName: z.ZodOptional<z.ZodString>;
1121
+ apiVersion: z.ZodOptional<z.ZodString>;
1122
+ baseUrl: z.ZodOptional<z.ZodString>;
1123
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1124
+ useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
1125
+ }, z.core.$strip>, z.ZodObject<{
1126
+ providerName: z.ZodLiteral<"amazon-bedrock">;
1127
+ accessKeyId: z.ZodString;
1128
+ secretAccessKey: z.ZodString;
1129
+ region: z.ZodString;
1130
+ sessionToken: z.ZodOptional<z.ZodString>;
1131
+ }, z.core.$strip>, z.ZodObject<{
1132
+ providerName: z.ZodLiteral<"google-vertex">;
1133
+ project: z.ZodOptional<z.ZodString>;
1134
+ location: z.ZodOptional<z.ZodString>;
1135
+ baseUrl: z.ZodOptional<z.ZodString>;
1136
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1137
+ }, z.core.$strip>, z.ZodObject<{
1138
+ providerName: z.ZodLiteral<"deepseek">;
1139
+ apiKey: z.ZodString;
1140
+ baseUrl: z.ZodOptional<z.ZodString>;
1141
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1142
+ }, z.core.$strip>], "providerName">;
1143
+ //#endregion
1144
+ //#region src/known-models/model-tiers.d.ts
1145
+ /** Model tier for provider-aware model selection */
1146
+ type ModelTier = "low" | "middle" | "high";
1147
+ declare const modelTierSchema: z.ZodEnum<{
1148
+ high: "high";
1149
+ middle: "middle";
1150
+ low: "low";
1151
+ }>;
1152
+ /**
1153
+ * Resolve a model tier to a concrete model name for the given provider.
1154
+ * Returns the first model matching the tier in the provider's known models list.
1155
+ * For cloud-hosted providers (azure-openai, amazon-bedrock, google-vertex),
1156
+ * falls back to their base provider's models.
1157
+ */
1158
+ declare function resolveModelTier(providerName: ProviderName, tier: ModelTier): string | undefined;
1159
+ //#endregion
928
1160
  //#region src/schemas/provider-tools.d.ts
929
1161
  declare const anthropicProviderToolNameSchema: z.ZodEnum<{
930
1162
  webSearch: "webSearch";
@@ -1193,6 +1425,8 @@ interface Expert {
1193
1425
  tags: string[];
1194
1426
  /** Minimum runtime version required to run this Expert */
1195
1427
  minRuntimeVersion: RuntimeVersion;
1428
+ /** Default model tier for provider-aware model selection ("low", "middle", "high") */
1429
+ defaultModelTier?: ModelTier;
1196
1430
  /** Provider-specific tool names to enable (e.g., "webSearch", "codeExecution") */
1197
1431
  providerTools?: string[];
1198
1432
  /** Anthropic Agent Skills configuration */
@@ -1309,6 +1543,11 @@ declare const expertBaseSchema: z.ZodObject<{
1309
1543
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1310
1544
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1311
1545
  minRuntimeVersion: z.ZodDefault<z.ZodPipe<z.ZodString, z.ZodTransform<`v${number}.${number}`, string>>>;
1546
+ defaultModelTier: z.ZodOptional<z.ZodEnum<{
1547
+ high: "high";
1548
+ middle: "middle";
1549
+ low: "low";
1550
+ }>>;
1312
1551
  providerTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1313
1552
  providerSkills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1314
1553
  type: z.ZodLiteral<"builtin">;
@@ -1446,6 +1685,11 @@ declare const expertSchema: z.ZodObject<{
1446
1685
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1447
1686
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1448
1687
  minRuntimeVersion: z.ZodDefault<z.ZodPipe<z.ZodString, z.ZodTransform<`v${number}.${number}`, string>>>;
1688
+ defaultModelTier: z.ZodOptional<z.ZodEnum<{
1689
+ high: "high";
1690
+ middle: "middle";
1691
+ low: "low";
1692
+ }>>;
1449
1693
  providerTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1450
1694
  providerSkills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1451
1695
  type: z.ZodLiteral<"builtin">;
@@ -1481,11 +1725,11 @@ type ReasoningBudget = "none" | "minimal" | "low" | "medium" | "high" | number;
1481
1725
  /** Default reasoning budget - enables extended thinking by default */
1482
1726
  declare const defaultReasoningBudget: ReasoningBudget;
1483
1727
  declare const reasoningBudgetSchema: z.ZodUnion<readonly [z.ZodEnum<{
1728
+ high: "high";
1729
+ low: "low";
1484
1730
  none: "none";
1485
1731
  minimal: "minimal";
1486
- low: "low";
1487
1732
  medium: "medium";
1488
- high: "high";
1489
1733
  }>, z.ZodNumber]>;
1490
1734
  declare const domainPatternSchema: z.ZodString;
1491
1735
  declare const anthropicSettingSchema: z.ZodObject<{
@@ -1648,6 +1892,8 @@ interface PerstackConfigExpert {
1648
1892
  description?: string;
1649
1893
  /** System instruction */
1650
1894
  instruction: string;
1895
+ /** Default model tier for provider-aware model selection ("low", "middle", "high") */
1896
+ defaultModelTier?: ModelTier;
1651
1897
  /** Skills configuration */
1652
1898
  skills?: Record<string, PerstackConfigSkill>;
1653
1899
  /** Delegates list */
@@ -1763,11 +2009,11 @@ declare const perstackConfigSchema: z.ZodObject<{
1763
2009
  }, z.core.$strip>], "providerName">>;
1764
2010
  model: z.ZodOptional<z.ZodString>;
1765
2011
  reasoningBudget: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2012
+ high: "high";
2013
+ low: "low";
1766
2014
  none: "none";
1767
2015
  minimal: "minimal";
1768
- low: "low";
1769
2016
  medium: "medium";
1770
- high: "high";
1771
2017
  }>, z.ZodNumber]>>;
1772
2018
  maxRetries: z.ZodOptional<z.ZodNumber>;
1773
2019
  timeout: z.ZodOptional<z.ZodNumber>;
@@ -1776,6 +2022,11 @@ declare const perstackConfigSchema: z.ZodObject<{
1776
2022
  minRuntimeVersion: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`v${number}.${number}`, string>>>;
1777
2023
  description: z.ZodOptional<z.ZodString>;
1778
2024
  instruction: z.ZodString;
2025
+ defaultModelTier: z.ZodOptional<z.ZodEnum<{
2026
+ high: "high";
2027
+ middle: "middle";
2028
+ low: "low";
2029
+ }>>;
1779
2030
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1780
2031
  type: z.ZodLiteral<"mcpStdioSkill">;
1781
2032
  description: z.ZodOptional<z.ZodString>;
@@ -1839,222 +2090,6 @@ declare const perstackConfigSchema: z.ZodObject<{
1839
2090
  envPath: z.ZodOptional<z.ZodArray<z.ZodString>>;
1840
2091
  }, z.core.$strip>;
1841
2092
  //#endregion
1842
- //#region src/schemas/provider-config.d.ts
1843
- /** HTTP headers for API requests */
1844
- type Headers = Record<string, string> | undefined;
1845
- declare const headersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1846
- /** Supported LLM provider names */
1847
- type ProviderName = "anthropic" | "google" | "openai" | "ollama" | "azure-openai" | "amazon-bedrock" | "google-vertex" | "deepseek";
1848
- declare const providerNameSchema: z.ZodEnum<{
1849
- anthropic: "anthropic";
1850
- google: "google";
1851
- openai: "openai";
1852
- deepseek: "deepseek";
1853
- ollama: "ollama";
1854
- "azure-openai": "azure-openai";
1855
- "amazon-bedrock": "amazon-bedrock";
1856
- "google-vertex": "google-vertex";
1857
- }>;
1858
- /** Anthropic provider configuration */
1859
- interface AnthropicProviderConfig {
1860
- providerName: "anthropic";
1861
- /** API key for Anthropic */
1862
- apiKey: string;
1863
- /** Custom base URL */
1864
- baseUrl?: string;
1865
- /** Custom headers */
1866
- headers?: Headers;
1867
- }
1868
- declare const anthropicProviderConfigSchema: z.ZodObject<{
1869
- providerName: z.ZodLiteral<"anthropic">;
1870
- apiKey: z.ZodString;
1871
- baseUrl: z.ZodOptional<z.ZodString>;
1872
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1873
- }, z.core.$strip>;
1874
- /** Google Generative AI provider configuration */
1875
- interface GoogleGenerativeAiProviderConfig {
1876
- providerName: "google";
1877
- /** API key for Google */
1878
- apiKey: string;
1879
- /** Custom base URL */
1880
- baseUrl?: string;
1881
- /** Custom headers */
1882
- headers?: Headers;
1883
- }
1884
- declare const googleGenerativeAiProviderConfigSchema: z.ZodObject<{
1885
- providerName: z.ZodLiteral<"google">;
1886
- apiKey: z.ZodString;
1887
- baseUrl: z.ZodOptional<z.ZodString>;
1888
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1889
- }, z.core.$strip>;
1890
- /** OpenAI provider configuration */
1891
- interface OpenAiProviderConfig {
1892
- providerName: "openai";
1893
- /** API key for OpenAI */
1894
- apiKey: string;
1895
- /** Custom base URL */
1896
- baseUrl?: string;
1897
- /** Organization ID */
1898
- organization?: string;
1899
- /** Project ID */
1900
- project?: string;
1901
- /** Custom name for the provider instance */
1902
- name?: string;
1903
- /** Custom headers */
1904
- headers?: Headers;
1905
- }
1906
- declare const openAiProviderConfigSchema: z.ZodObject<{
1907
- providerName: z.ZodLiteral<"openai">;
1908
- apiKey: z.ZodString;
1909
- baseUrl: z.ZodOptional<z.ZodString>;
1910
- organization: z.ZodOptional<z.ZodString>;
1911
- project: z.ZodOptional<z.ZodString>;
1912
- name: z.ZodOptional<z.ZodString>;
1913
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1914
- }, z.core.$strip>;
1915
- /** Ollama provider configuration */
1916
- interface OllamaProviderConfig {
1917
- providerName: "ollama";
1918
- /** Custom base URL (defaults to localhost) */
1919
- baseUrl?: string;
1920
- /** Custom headers */
1921
- headers?: Headers;
1922
- }
1923
- declare const ollamaProviderConfigSchema: z.ZodObject<{
1924
- providerName: z.ZodLiteral<"ollama">;
1925
- baseUrl: z.ZodOptional<z.ZodString>;
1926
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1927
- }, z.core.$strip>;
1928
- /** Azure OpenAI provider configuration */
1929
- interface AzureOpenAiProviderConfig {
1930
- providerName: "azure-openai";
1931
- /** API key for Azure */
1932
- apiKey: string;
1933
- /** Azure resource name */
1934
- resourceName?: string;
1935
- /** API version */
1936
- apiVersion?: string;
1937
- /** Custom base URL */
1938
- baseUrl?: string;
1939
- /** Custom headers */
1940
- headers?: Headers;
1941
- /** Use deployment-based URLs */
1942
- useDeploymentBasedUrls?: boolean;
1943
- }
1944
- declare const azureOpenAiProviderConfigSchema: z.ZodObject<{
1945
- providerName: z.ZodLiteral<"azure-openai">;
1946
- apiKey: z.ZodString;
1947
- resourceName: z.ZodOptional<z.ZodString>;
1948
- apiVersion: z.ZodOptional<z.ZodString>;
1949
- baseUrl: z.ZodOptional<z.ZodString>;
1950
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1951
- useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
1952
- }, z.core.$strip>;
1953
- /** Amazon Bedrock provider configuration */
1954
- interface AmazonBedrockProviderConfig {
1955
- providerName: "amazon-bedrock";
1956
- /** AWS access key ID */
1957
- accessKeyId: string;
1958
- /** AWS secret access key */
1959
- secretAccessKey: string;
1960
- /** AWS region */
1961
- region: string;
1962
- /** AWS session token (for temporary credentials) */
1963
- sessionToken?: string;
1964
- }
1965
- declare const amazonBedrockProviderConfigSchema: z.ZodObject<{
1966
- providerName: z.ZodLiteral<"amazon-bedrock">;
1967
- accessKeyId: z.ZodString;
1968
- secretAccessKey: z.ZodString;
1969
- region: z.ZodString;
1970
- sessionToken: z.ZodOptional<z.ZodString>;
1971
- }, z.core.$strip>;
1972
- /** Google Vertex AI provider configuration */
1973
- interface GoogleVertexProviderConfig {
1974
- providerName: "google-vertex";
1975
- /** GCP project ID */
1976
- project?: string;
1977
- /** GCP location */
1978
- location?: string;
1979
- /** Custom base URL */
1980
- baseUrl?: string;
1981
- /** Custom headers */
1982
- headers?: Headers;
1983
- }
1984
- declare const googleVertexProviderConfigSchema: z.ZodObject<{
1985
- providerName: z.ZodLiteral<"google-vertex">;
1986
- project: z.ZodOptional<z.ZodString>;
1987
- location: z.ZodOptional<z.ZodString>;
1988
- baseUrl: z.ZodOptional<z.ZodString>;
1989
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1990
- }, z.core.$strip>;
1991
- /** DeepSeek provider configuration */
1992
- interface DeepseekProviderConfig {
1993
- providerName: "deepseek";
1994
- /** API key for DeepSeek */
1995
- apiKey: string;
1996
- /** Custom base URL */
1997
- baseUrl?: string;
1998
- /** Custom headers */
1999
- headers?: Headers;
2000
- }
2001
- declare const deepseekProviderConfigSchema: z.ZodObject<{
2002
- providerName: z.ZodLiteral<"deepseek">;
2003
- apiKey: z.ZodString;
2004
- baseUrl: z.ZodOptional<z.ZodString>;
2005
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2006
- }, z.core.$strip>;
2007
- /** Union of all provider configurations */
2008
- type ProviderConfig = AnthropicProviderConfig | GoogleGenerativeAiProviderConfig | OpenAiProviderConfig | OllamaProviderConfig | AzureOpenAiProviderConfig | AmazonBedrockProviderConfig | GoogleVertexProviderConfig | DeepseekProviderConfig;
2009
- declare const providerConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2010
- providerName: z.ZodLiteral<"anthropic">;
2011
- apiKey: z.ZodString;
2012
- baseUrl: z.ZodOptional<z.ZodString>;
2013
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2014
- }, z.core.$strip>, z.ZodObject<{
2015
- providerName: z.ZodLiteral<"google">;
2016
- apiKey: z.ZodString;
2017
- baseUrl: z.ZodOptional<z.ZodString>;
2018
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2019
- }, z.core.$strip>, z.ZodObject<{
2020
- providerName: z.ZodLiteral<"openai">;
2021
- apiKey: z.ZodString;
2022
- baseUrl: z.ZodOptional<z.ZodString>;
2023
- organization: z.ZodOptional<z.ZodString>;
2024
- project: z.ZodOptional<z.ZodString>;
2025
- name: z.ZodOptional<z.ZodString>;
2026
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2027
- }, z.core.$strip>, z.ZodObject<{
2028
- providerName: z.ZodLiteral<"ollama">;
2029
- baseUrl: z.ZodOptional<z.ZodString>;
2030
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2031
- }, z.core.$strip>, z.ZodObject<{
2032
- providerName: z.ZodLiteral<"azure-openai">;
2033
- apiKey: z.ZodString;
2034
- resourceName: z.ZodOptional<z.ZodString>;
2035
- apiVersion: z.ZodOptional<z.ZodString>;
2036
- baseUrl: z.ZodOptional<z.ZodString>;
2037
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2038
- useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
2039
- }, z.core.$strip>, z.ZodObject<{
2040
- providerName: z.ZodLiteral<"amazon-bedrock">;
2041
- accessKeyId: z.ZodString;
2042
- secretAccessKey: z.ZodString;
2043
- region: z.ZodString;
2044
- sessionToken: z.ZodOptional<z.ZodString>;
2045
- }, z.core.$strip>, z.ZodObject<{
2046
- providerName: z.ZodLiteral<"google-vertex">;
2047
- project: z.ZodOptional<z.ZodString>;
2048
- location: z.ZodOptional<z.ZodString>;
2049
- baseUrl: z.ZodOptional<z.ZodString>;
2050
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2051
- }, z.core.$strip>, z.ZodObject<{
2052
- providerName: z.ZodLiteral<"deepseek">;
2053
- apiKey: z.ZodString;
2054
- baseUrl: z.ZodOptional<z.ZodString>;
2055
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2056
- }, z.core.$strip>], "providerName">;
2057
- //#endregion
2058
2093
  //#region src/schemas/step.d.ts
2059
2094
  /**
2060
2095
  * A single execution step in an Expert run.
@@ -2688,6 +2723,11 @@ declare const runSettingSchema: z.ZodObject<{
2688
2723
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2689
2724
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2690
2725
  minRuntimeVersion: z.ZodDefault<z.ZodPipe<z.ZodString, z.ZodTransform<`v${number}.${number}`, string>>>;
2726
+ defaultModelTier: z.ZodOptional<z.ZodEnum<{
2727
+ high: "high";
2728
+ middle: "middle";
2729
+ low: "low";
2730
+ }>>;
2691
2731
  providerTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
2692
2732
  providerSkills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2693
2733
  type: z.ZodLiteral<"builtin">;
@@ -2717,11 +2757,11 @@ declare const runSettingSchema: z.ZodObject<{
2717
2757
  }, z.core.$strip>>;
2718
2758
  }, z.core.$strip>>;
2719
2759
  reasoningBudget: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
2760
+ high: "high";
2761
+ low: "low";
2720
2762
  none: "none";
2721
2763
  minimal: "minimal";
2722
- low: "low";
2723
2764
  medium: "medium";
2724
- high: "high";
2725
2765
  }>, z.ZodNumber]>>;
2726
2766
  maxRetries: z.ZodNumber;
2727
2767
  timeout: z.ZodNumber;
@@ -2914,6 +2954,11 @@ declare const runParamsSchema: z.ZodObject<{
2914
2954
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2915
2955
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
2916
2956
  minRuntimeVersion: z.ZodDefault<z.ZodPipe<z.ZodString, z.ZodTransform<`v${number}.${number}`, string>>>;
2957
+ defaultModelTier: z.ZodOptional<z.ZodEnum<{
2958
+ high: "high";
2959
+ middle: "middle";
2960
+ low: "low";
2961
+ }>>;
2917
2962
  providerTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
2918
2963
  providerSkills: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2919
2964
  type: z.ZodLiteral<"builtin">;
@@ -2972,6 +3017,7 @@ declare const runParamsSchema: z.ZodObject<{
2972
3017
  tags: string[];
2973
3018
  minRuntimeVersion: `v${number}.${number}`;
2974
3019
  description?: string | undefined;
3020
+ defaultModelTier?: "high" | "middle" | "low" | undefined;
2975
3021
  providerTools?: string[] | undefined;
2976
3022
  providerSkills?: ({
2977
3023
  type: "builtin";
@@ -3050,6 +3096,7 @@ declare const runParamsSchema: z.ZodObject<{
3050
3096
  maxNumResults?: number | undefined;
3051
3097
  } | undefined;
3052
3098
  } | undefined;
3099
+ defaultModelTier?: "high" | "middle" | "low" | undefined;
3053
3100
  providerTools?: string[] | undefined;
3054
3101
  providerSkills?: ({
3055
3102
  type: "builtin";
@@ -3061,11 +3108,11 @@ declare const runParamsSchema: z.ZodObject<{
3061
3108
  })[] | undefined;
3062
3109
  }>>>;
3063
3110
  reasoningBudget: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3111
+ high: "high";
3112
+ low: "low";
3064
3113
  none: "none";
3065
3114
  minimal: "minimal";
3066
- low: "low";
3067
3115
  medium: "medium";
3068
- high: "high";
3069
3116
  }>, z.ZodNumber]>>>;
3070
3117
  maxRetries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3071
3118
  timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -3753,11 +3800,22 @@ declare class PerstackError extends Error {
3753
3800
  //#region src/known-models/index.d.ts
3754
3801
  declare const knownModels: {
3755
3802
  provider: string;
3756
- models: {
3803
+ models: ({
3804
+ name: string;
3805
+ tier: "high";
3806
+ contextWindow: number;
3807
+ maxOutputTokens: number;
3808
+ } | {
3809
+ name: string;
3810
+ tier: "middle";
3811
+ contextWindow: number;
3812
+ maxOutputTokens: number;
3813
+ } | {
3757
3814
  name: string;
3815
+ tier: "low";
3758
3816
  contextWindow: number;
3759
3817
  maxOutputTokens: number;
3760
- }[];
3818
+ })[];
3761
3819
  }[];
3762
3820
  //#endregion
3763
3821
  //#region src/schemas/activity.d.ts
@@ -6160,12 +6218,12 @@ declare const runCommandInputSchema: z.ZodObject<{
6160
6218
  "google-vertex": "google-vertex";
6161
6219
  }>>;
6162
6220
  model: z.ZodOptional<z.ZodString>;
6163
- reasoningBudget: z.ZodPipe<z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | "none" | "minimal" | "low" | "medium" | "high" | undefined, string | undefined>>, z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
6221
+ reasoningBudget: z.ZodPipe<z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | "high" | "low" | "none" | "minimal" | "medium" | undefined, string | undefined>>, z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
6222
+ high: "high";
6223
+ low: "low";
6164
6224
  none: "none";
6165
6225
  minimal: "minimal";
6166
- low: "low";
6167
6226
  medium: "medium";
6168
- high: "high";
6169
6227
  }>, z.ZodNumber]>>>;
6170
6228
  maxRetries: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | undefined, string | undefined>>;
6171
6229
  timeout: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | undefined, string | undefined>>;
@@ -6205,12 +6263,12 @@ declare const startCommandInputSchema: z.ZodObject<{
6205
6263
  "google-vertex": "google-vertex";
6206
6264
  }>>;
6207
6265
  model: z.ZodOptional<z.ZodString>;
6208
- reasoningBudget: z.ZodPipe<z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | "none" | "minimal" | "low" | "medium" | "high" | undefined, string | undefined>>, z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
6266
+ reasoningBudget: z.ZodPipe<z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | "high" | "low" | "none" | "minimal" | "medium" | undefined, string | undefined>>, z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
6267
+ high: "high";
6268
+ low: "low";
6209
6269
  none: "none";
6210
6270
  minimal: "minimal";
6211
- low: "low";
6212
6271
  medium: "medium";
6213
- high: "high";
6214
6272
  }>, z.ZodNumber]>>>;
6215
6273
  maxRetries: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | undefined, string | undefined>>;
6216
6274
  timeout: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<number | undefined, string | undefined>>;
@@ -6360,5 +6418,5 @@ declare function validateAllDelegations(expertName: string, delegates: string[])
6360
6418
  declare function formatZodError(error: ZodError): string;
6361
6419
  declare function parseWithFriendlyError<T>(schema: ZodSchema<T>, data: unknown, context?: string): T;
6362
6420
  //#endregion
6363
- export { Activity, ActivityOrGroup, ActivityType, AddDelegateActivity, AddSkillActivity, AmazonBedrockProviderConfig, AnthropicProviderConfig, AnthropicProviderSkill, AnthropicProviderToolName, AttemptCompletionActivity, AzureOpenAIProviderToolName, AzureOpenAiProviderConfig, BASE_SKILL_PREFIX, BaseEvent, BasePart, BuiltinAnthropicSkill, CallToolResultContent, Checkpoint, CheckpointStatus, ClearTodoActivity, CommandOptions, CompleteActivity, type CreateCheckpointParams, CreateExpertActivity, CustomAnthropicSkill, DeepseekProviderConfig, DelegateActivity, DelegateSkillManagerParams, DelegationCompleteActivity, DelegationTarget, EditTextFileActivity, ErrorActivity, EventForType, EventType, ExecActivity, Expert, ExpertMessage, ExpertStateEvent, ExpertStateEventType, ExpertType, FileBinaryPart, FileInlinePart, FileUrlPart, GeneralToolActivity, GetActivitiesParams, GoogleGenerativeAiProviderConfig, GoogleProviderToolName, GoogleVertexProviderConfig, Headers, ImageBinaryPart, ImageInlinePart, ImageUrlPart, InstructionMessage, InteractiveSkill, InteractiveSkillManagerParams, InteractiveTool, InteractiveToolActivity, Job, JobStatus, Lockfile, LockfileExpert, LockfileToolDefinition, McpSkillManagerParams, McpSseSkill, McpStdioSkill, Message, MessagePart, OllamaProviderConfig, OpenAIProviderToolName, OpenAiProviderConfig, ParallelActivitiesGroup, PerstackConfig, PerstackConfigExpert, PerstackConfigSkill, PerstackError, PerstackEvent, ProviderConfig, ProviderName, ProviderTable, ProviderToolOptions, QueryActivity, ReadImageFileActivity, ReadPdfFileActivity, ReadTextFileActivity, ReasoningBudget, RemoveDelegateActivity, RemoveSkillActivity, Resource, RetryActivity, RunCommandInput, RunEvent, RunInput, RunParams, RunParamsInput, RunSetting, RuntimeEvent, RuntimeEventForType, RuntimeEventType, RuntimeVersion, SAFE_ENV_VARS, Skill, SkillManagerParams, SkillType, StartCommandInput, Step, StreamingEvent, StreamingEventType, TextPart, ThinkingPart, TodoActivity, ToolCall, ToolCallPart, ToolDefinition, ToolMessage, ToolResult, ToolResultPart, Usage, UserMessage, VertexProviderToolName, WriteTextFileActivity, activityOrGroupSchema, activitySchema, addDelegateActivitySchema, addSkillActivitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createExpertActivitySchema, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertBaseSchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getExpertScope, getExpertShortName, getExpertType, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isCoordinatorExpert, isDelegateExpert, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateAllDelegations, validateDelegation, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
6421
+ export { Activity, ActivityOrGroup, ActivityType, AddDelegateActivity, AddSkillActivity, AmazonBedrockProviderConfig, AnthropicProviderConfig, AnthropicProviderSkill, AnthropicProviderToolName, AttemptCompletionActivity, AzureOpenAIProviderToolName, AzureOpenAiProviderConfig, BASE_SKILL_PREFIX, BaseEvent, BasePart, BuiltinAnthropicSkill, CallToolResultContent, Checkpoint, CheckpointStatus, ClearTodoActivity, CommandOptions, CompleteActivity, type CreateCheckpointParams, CreateExpertActivity, CustomAnthropicSkill, DeepseekProviderConfig, DelegateActivity, DelegateSkillManagerParams, DelegationCompleteActivity, DelegationTarget, EditTextFileActivity, ErrorActivity, EventForType, EventType, ExecActivity, Expert, ExpertMessage, ExpertStateEvent, ExpertStateEventType, ExpertType, FileBinaryPart, FileInlinePart, FileUrlPart, GeneralToolActivity, GetActivitiesParams, GoogleGenerativeAiProviderConfig, GoogleProviderToolName, GoogleVertexProviderConfig, Headers, ImageBinaryPart, ImageInlinePart, ImageUrlPart, InstructionMessage, InteractiveSkill, InteractiveSkillManagerParams, InteractiveTool, InteractiveToolActivity, Job, JobStatus, Lockfile, LockfileExpert, LockfileToolDefinition, McpSkillManagerParams, McpSseSkill, McpStdioSkill, Message, MessagePart, ModelTier, OllamaProviderConfig, OpenAIProviderToolName, OpenAiProviderConfig, ParallelActivitiesGroup, PerstackConfig, PerstackConfigExpert, PerstackConfigSkill, PerstackError, PerstackEvent, ProviderConfig, ProviderName, ProviderTable, ProviderToolOptions, QueryActivity, ReadImageFileActivity, ReadPdfFileActivity, ReadTextFileActivity, ReasoningBudget, RemoveDelegateActivity, RemoveSkillActivity, Resource, RetryActivity, RunCommandInput, RunEvent, RunInput, RunParams, RunParamsInput, RunSetting, RuntimeEvent, RuntimeEventForType, RuntimeEventType, RuntimeVersion, SAFE_ENV_VARS, Skill, SkillManagerParams, SkillType, StartCommandInput, Step, StreamingEvent, StreamingEventType, TextPart, ThinkingPart, TodoActivity, ToolCall, ToolCallPart, ToolDefinition, ToolMessage, ToolResult, ToolResultPart, Usage, UserMessage, VertexProviderToolName, WriteTextFileActivity, activityOrGroupSchema, activitySchema, addDelegateActivitySchema, addSkillActivitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createExpertActivitySchema, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertBaseSchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getExpertScope, getExpertShortName, getExpertType, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isCoordinatorExpert, isDelegateExpert, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, modelTierSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, removeDelegateActivitySchema, removeSkillActivitySchema, resolveModelTier, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateAllDelegations, validateDelegation, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
6364
6422
  //# sourceMappingURL=index.d.ts.map