@dexto/core 1.5.5 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/DextoAgent.cjs +94 -26
- package/dist/agent/DextoAgent.d.ts +17 -7
- package/dist/agent/DextoAgent.d.ts.map +1 -1
- package/dist/agent/DextoAgent.js +95 -27
- package/dist/agent/schemas.d.ts +417 -66
- package/dist/agent/schemas.d.ts.map +1 -1
- package/dist/context/utils.cjs +49 -3
- package/dist/context/utils.d.ts.map +1 -1
- package/dist/context/utils.js +49 -3
- package/dist/errors/types.cjs +2 -1
- package/dist/errors/types.d.ts +2 -1
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/errors/types.js +2 -1
- package/dist/image/types.d.ts +15 -0
- package/dist/image/types.d.ts.map +1 -1
- package/dist/llm/error-codes.cjs +1 -0
- package/dist/llm/error-codes.d.ts +1 -0
- package/dist/llm/error-codes.d.ts.map +1 -1
- package/dist/llm/error-codes.js +1 -0
- package/dist/llm/errors.cjs +15 -0
- package/dist/llm/errors.d.ts +15 -8
- package/dist/llm/errors.d.ts.map +1 -1
- package/dist/llm/errors.js +15 -0
- package/dist/llm/executor/turn-executor.cjs +27 -0
- package/dist/llm/executor/turn-executor.d.ts.map +1 -1
- package/dist/llm/executor/turn-executor.js +27 -0
- package/dist/llm/registry.cjs +472 -28
- package/dist/llm/registry.d.ts +80 -4
- package/dist/llm/registry.d.ts.map +1 -1
- package/dist/llm/registry.js +464 -25
- package/dist/llm/resolver.cjs +13 -0
- package/dist/llm/resolver.d.ts.map +1 -1
- package/dist/llm/resolver.js +16 -1
- package/dist/llm/schemas.d.ts +59 -59
- package/dist/llm/services/factory.cjs +41 -25
- package/dist/llm/services/factory.d.ts +20 -1
- package/dist/llm/services/factory.d.ts.map +1 -1
- package/dist/llm/services/factory.js +42 -26
- package/dist/llm/services/test-utils.integration.cjs +5 -1
- package/dist/llm/services/test-utils.integration.d.ts.map +1 -1
- package/dist/llm/services/test-utils.integration.js +5 -1
- package/dist/llm/types.cjs +5 -2
- package/dist/llm/types.d.ts +1 -1
- package/dist/llm/types.d.ts.map +1 -1
- package/dist/llm/types.js +5 -2
- package/dist/logger/logger.cjs +6 -7
- package/dist/logger/logger.d.ts +1 -0
- package/dist/logger/logger.d.ts.map +1 -1
- package/dist/logger/logger.js +6 -7
- package/dist/logger/v2/dexto-logger.cjs +4 -0
- package/dist/logger/v2/dexto-logger.d.ts +3 -0
- package/dist/logger/v2/dexto-logger.d.ts.map +1 -1
- package/dist/logger/v2/dexto-logger.js +4 -0
- package/dist/logger/v2/types.d.ts +2 -0
- package/dist/logger/v2/types.d.ts.map +1 -1
- package/dist/mcp/error-codes.cjs +1 -0
- package/dist/mcp/error-codes.d.ts +1 -0
- package/dist/mcp/error-codes.d.ts.map +1 -1
- package/dist/mcp/error-codes.js +1 -0
- package/dist/mcp/errors.cjs +13 -0
- package/dist/mcp/errors.d.ts +7 -0
- package/dist/mcp/errors.d.ts.map +1 -1
- package/dist/mcp/errors.js +13 -0
- package/dist/mcp/manager.cjs +46 -4
- package/dist/mcp/manager.d.ts +10 -2
- package/dist/mcp/manager.d.ts.map +1 -1
- package/dist/mcp/manager.js +46 -4
- package/dist/mcp/mcp-client.cjs +89 -5
- package/dist/mcp/mcp-client.d.ts +5 -1
- package/dist/mcp/mcp-client.d.ts.map +1 -1
- package/dist/mcp/mcp-client.js +89 -5
- package/dist/mcp/schemas.cjs +6 -1
- package/dist/mcp/schemas.d.ts +1 -1
- package/dist/mcp/schemas.d.ts.map +1 -1
- package/dist/mcp/schemas.js +6 -1
- package/dist/mcp/types.d.ts +5 -0
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/prompts/index.d.ts +1 -1
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/prompt-manager.cjs +90 -4
- package/dist/prompts/prompt-manager.d.ts +16 -6
- package/dist/prompts/prompt-manager.d.ts.map +1 -1
- package/dist/prompts/prompt-manager.js +90 -4
- package/dist/prompts/providers/config-prompt-provider.cjs +104 -10
- package/dist/prompts/providers/config-prompt-provider.d.ts.map +1 -1
- package/dist/prompts/providers/config-prompt-provider.js +105 -11
- package/dist/prompts/providers/custom-prompt-provider.cjs +1 -0
- package/dist/prompts/providers/custom-prompt-provider.d.ts.map +1 -1
- package/dist/prompts/providers/custom-prompt-provider.js +1 -0
- package/dist/prompts/providers/mcp-prompt-provider.cjs +1 -0
- package/dist/prompts/providers/mcp-prompt-provider.d.ts.map +1 -1
- package/dist/prompts/providers/mcp-prompt-provider.js +1 -0
- package/dist/prompts/schemas.cjs +28 -2
- package/dist/prompts/schemas.d.ts +130 -0
- package/dist/prompts/schemas.d.ts.map +1 -1
- package/dist/prompts/schemas.js +28 -2
- package/dist/prompts/types.d.ts +55 -3
- package/dist/prompts/types.d.ts.map +1 -1
- package/dist/session/chat-session.d.ts +1 -1
- package/dist/session/chat-session.d.ts.map +1 -1
- package/dist/session/index.d.ts +1 -1
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/session-manager.cjs +47 -3
- package/dist/session/session-manager.d.ts +10 -0
- package/dist/session/session-manager.d.ts.map +1 -1
- package/dist/session/session-manager.js +47 -3
- package/dist/systemPrompt/contributors.cjs +42 -0
- package/dist/systemPrompt/contributors.d.ts +13 -0
- package/dist/systemPrompt/contributors.d.ts.map +1 -1
- package/dist/systemPrompt/contributors.js +41 -0
- package/dist/tools/errors.cjs +7 -3
- package/dist/tools/errors.d.ts +5 -1
- package/dist/tools/errors.d.ts.map +1 -1
- package/dist/tools/errors.js +7 -3
- package/dist/tools/internal-tools/constants.cjs +2 -1
- package/dist/tools/internal-tools/constants.d.ts +1 -1
- package/dist/tools/internal-tools/constants.d.ts.map +1 -1
- package/dist/tools/internal-tools/constants.js +2 -1
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.cjs +140 -0
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.d.ts +24 -0
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.d.ts.map +1 -0
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.js +117 -0
- package/dist/tools/internal-tools/provider.cjs +15 -0
- package/dist/tools/internal-tools/provider.d.ts +12 -0
- package/dist/tools/internal-tools/provider.d.ts.map +1 -1
- package/dist/tools/internal-tools/provider.js +15 -0
- package/dist/tools/internal-tools/registry.cjs +6 -0
- package/dist/tools/internal-tools/registry.d.ts +34 -0
- package/dist/tools/internal-tools/registry.d.ts.map +1 -1
- package/dist/tools/internal-tools/registry.js +6 -0
- package/dist/tools/schemas.cjs +2 -2
- package/dist/tools/schemas.d.ts +1 -1
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +2 -2
- package/dist/tools/tool-manager.cjs +230 -79
- package/dist/tools/tool-manager.d.ts +89 -8
- package/dist/tools/tool-manager.d.ts.map +1 -1
- package/dist/tools/tool-manager.js +231 -80
- package/dist/utils/api-key-resolver.cjs +5 -2
- package/dist/utils/api-key-resolver.d.ts.map +1 -1
- package/dist/utils/api-key-resolver.js +5 -2
- package/dist/utils/service-initializer.cjs +8 -2
- package/dist/utils/service-initializer.d.ts +5 -1
- package/dist/utils/service-initializer.d.ts.map +1 -1
- package/dist/utils/service-initializer.js +8 -2
- package/package.json +1 -1
package/dist/agent/schemas.d.ts
CHANGED
|
@@ -1260,7 +1260,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
1260
1260
|
})[] | undefined;
|
|
1261
1261
|
}>]>, "ValidatedSystemPromptConfig">;
|
|
1262
1262
|
llm: z.ZodBranded<z.ZodEffects<z.ZodObject<{
|
|
1263
|
-
provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>;
|
|
1263
|
+
provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
|
|
1264
1264
|
model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1265
1265
|
apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1266
1266
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1272,48 +1272,48 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
1272
1272
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
1273
1273
|
}, "strict", z.ZodTypeAny, {
|
|
1274
1274
|
model: string;
|
|
1275
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
1275
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
1276
1276
|
apiKey?: string | undefined;
|
|
1277
|
+
maxInputTokens?: number | undefined;
|
|
1277
1278
|
maxIterations?: number | undefined;
|
|
1278
1279
|
baseURL?: string | undefined;
|
|
1279
|
-
maxInputTokens?: number | undefined;
|
|
1280
1280
|
maxOutputTokens?: number | undefined;
|
|
1281
1281
|
temperature?: number | undefined;
|
|
1282
1282
|
allowedMediaTypes?: string[] | undefined;
|
|
1283
|
-
reasoningEffort?: "
|
|
1283
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
1284
1284
|
}, {
|
|
1285
1285
|
model: string;
|
|
1286
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
1286
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
1287
1287
|
apiKey?: string | undefined;
|
|
1288
|
+
maxInputTokens?: number | undefined;
|
|
1288
1289
|
maxIterations?: number | undefined;
|
|
1289
1290
|
baseURL?: string | undefined;
|
|
1290
|
-
maxInputTokens?: number | undefined;
|
|
1291
1291
|
maxOutputTokens?: number | undefined;
|
|
1292
1292
|
temperature?: number | undefined;
|
|
1293
1293
|
allowedMediaTypes?: string[] | undefined;
|
|
1294
|
-
reasoningEffort?: "
|
|
1294
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
1295
1295
|
}>, {
|
|
1296
1296
|
model: string;
|
|
1297
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
1297
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
1298
1298
|
apiKey?: string | undefined;
|
|
1299
|
+
maxInputTokens?: number | undefined;
|
|
1299
1300
|
maxIterations?: number | undefined;
|
|
1300
1301
|
baseURL?: string | undefined;
|
|
1301
|
-
maxInputTokens?: number | undefined;
|
|
1302
1302
|
maxOutputTokens?: number | undefined;
|
|
1303
1303
|
temperature?: number | undefined;
|
|
1304
1304
|
allowedMediaTypes?: string[] | undefined;
|
|
1305
|
-
reasoningEffort?: "
|
|
1305
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
1306
1306
|
}, {
|
|
1307
1307
|
model: string;
|
|
1308
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
1308
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
1309
1309
|
apiKey?: string | undefined;
|
|
1310
|
+
maxInputTokens?: number | undefined;
|
|
1310
1311
|
maxIterations?: number | undefined;
|
|
1311
1312
|
baseURL?: string | undefined;
|
|
1312
|
-
maxInputTokens?: number | undefined;
|
|
1313
1313
|
maxOutputTokens?: number | undefined;
|
|
1314
1314
|
temperature?: number | undefined;
|
|
1315
1315
|
allowedMediaTypes?: string[] | undefined;
|
|
1316
|
-
reasoningEffort?: "
|
|
1316
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
1317
1317
|
}>, "ValidatedLLMConfig">;
|
|
1318
1318
|
agentCard: z.ZodOptional<z.ZodObject<{
|
|
1319
1319
|
protocolVersion: z.ZodDefault<z.ZodString>;
|
|
@@ -2358,7 +2358,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
2358
2358
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
2359
2359
|
headers?: Record<string, string> | undefined;
|
|
2360
2360
|
}>, "ValidatedMcpServerConfig">>, "ValidatedServerConfigs">>;
|
|
2361
|
-
internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource"]>, "many">>>;
|
|
2361
|
+
internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource", "invoke_skill"]>, "many">>>;
|
|
2362
2362
|
customTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">>>;
|
|
2363
2363
|
tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2364
2364
|
maxOutputChars: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2976,7 +2976,14 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
2976
2976
|
category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2977
2977
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2978
2978
|
showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2979
|
+
'disable-model-invocation': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2980
|
+
'user-invocable': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2981
|
+
'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2982
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2983
|
+
context: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inline", "fork"]>>>;
|
|
2984
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
2979
2985
|
}, "strict", z.ZodTypeAny, {
|
|
2986
|
+
context: "inline" | "fork";
|
|
2980
2987
|
prompt: string;
|
|
2981
2988
|
description: string;
|
|
2982
2989
|
type: "inline";
|
|
@@ -2984,29 +2991,62 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
2984
2991
|
priority: number;
|
|
2985
2992
|
category: string;
|
|
2986
2993
|
showInStarters: boolean;
|
|
2994
|
+
'disable-model-invocation': boolean;
|
|
2995
|
+
'user-invocable': boolean;
|
|
2996
|
+
agent?: string | undefined;
|
|
2997
|
+
model?: string | undefined;
|
|
2987
2998
|
title?: string | undefined;
|
|
2999
|
+
'allowed-tools'?: string[] | undefined;
|
|
2988
3000
|
}, {
|
|
2989
3001
|
prompt: string;
|
|
2990
3002
|
type: "inline";
|
|
2991
3003
|
id: string;
|
|
3004
|
+
agent?: string | undefined;
|
|
3005
|
+
context?: "inline" | "fork" | undefined;
|
|
2992
3006
|
description?: string | undefined;
|
|
3007
|
+
model?: string | undefined;
|
|
2993
3008
|
title?: string | undefined;
|
|
2994
3009
|
priority?: number | undefined;
|
|
2995
3010
|
category?: string | undefined;
|
|
2996
3011
|
showInStarters?: boolean | undefined;
|
|
3012
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3013
|
+
'user-invocable'?: boolean | undefined;
|
|
3014
|
+
'allowed-tools'?: string[] | undefined;
|
|
2997
3015
|
}>, z.ZodObject<{
|
|
2998
3016
|
type: z.ZodLiteral<"file">;
|
|
2999
3017
|
file: z.ZodString;
|
|
3000
3018
|
showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3019
|
+
'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
|
|
3020
|
+
'user-invocable': z.ZodOptional<z.ZodBoolean>;
|
|
3021
|
+
'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3022
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3023
|
+
context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
|
|
3024
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
3025
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
3001
3026
|
}, "strict", z.ZodTypeAny, {
|
|
3002
3027
|
file: string;
|
|
3003
3028
|
type: "file";
|
|
3004
3029
|
showInStarters: boolean;
|
|
3030
|
+
agent?: string | undefined;
|
|
3031
|
+
context?: "inline" | "fork" | undefined;
|
|
3032
|
+
model?: string | undefined;
|
|
3033
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3034
|
+
'user-invocable'?: boolean | undefined;
|
|
3035
|
+
'allowed-tools'?: string[] | undefined;
|
|
3036
|
+
namespace?: string | undefined;
|
|
3005
3037
|
}, {
|
|
3006
3038
|
file: string;
|
|
3007
3039
|
type: "file";
|
|
3040
|
+
agent?: string | undefined;
|
|
3041
|
+
context?: "inline" | "fork" | undefined;
|
|
3042
|
+
model?: string | undefined;
|
|
3008
3043
|
showInStarters?: boolean | undefined;
|
|
3044
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3045
|
+
'user-invocable'?: boolean | undefined;
|
|
3046
|
+
'allowed-tools'?: string[] | undefined;
|
|
3047
|
+
namespace?: string | undefined;
|
|
3009
3048
|
}>]>, "many">, ({
|
|
3049
|
+
context: "inline" | "fork";
|
|
3010
3050
|
prompt: string;
|
|
3011
3051
|
description: string;
|
|
3012
3052
|
type: "inline";
|
|
@@ -3014,30 +3054,63 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3014
3054
|
priority: number;
|
|
3015
3055
|
category: string;
|
|
3016
3056
|
showInStarters: boolean;
|
|
3057
|
+
'disable-model-invocation': boolean;
|
|
3058
|
+
'user-invocable': boolean;
|
|
3059
|
+
agent?: string | undefined;
|
|
3060
|
+
model?: string | undefined;
|
|
3017
3061
|
title?: string | undefined;
|
|
3062
|
+
'allowed-tools'?: string[] | undefined;
|
|
3018
3063
|
} | {
|
|
3019
3064
|
file: string;
|
|
3020
3065
|
type: "file";
|
|
3021
3066
|
showInStarters: boolean;
|
|
3067
|
+
agent?: string | undefined;
|
|
3068
|
+
context?: "inline" | "fork" | undefined;
|
|
3069
|
+
model?: string | undefined;
|
|
3070
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3071
|
+
'user-invocable'?: boolean | undefined;
|
|
3072
|
+
'allowed-tools'?: string[] | undefined;
|
|
3073
|
+
namespace?: string | undefined;
|
|
3022
3074
|
})[], ({
|
|
3023
3075
|
prompt: string;
|
|
3024
3076
|
type: "inline";
|
|
3025
3077
|
id: string;
|
|
3078
|
+
agent?: string | undefined;
|
|
3079
|
+
context?: "inline" | "fork" | undefined;
|
|
3026
3080
|
description?: string | undefined;
|
|
3081
|
+
model?: string | undefined;
|
|
3027
3082
|
title?: string | undefined;
|
|
3028
3083
|
priority?: number | undefined;
|
|
3029
3084
|
category?: string | undefined;
|
|
3030
3085
|
showInStarters?: boolean | undefined;
|
|
3086
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3087
|
+
'user-invocable'?: boolean | undefined;
|
|
3088
|
+
'allowed-tools'?: string[] | undefined;
|
|
3031
3089
|
} | {
|
|
3032
3090
|
file: string;
|
|
3033
3091
|
type: "file";
|
|
3092
|
+
agent?: string | undefined;
|
|
3093
|
+
context?: "inline" | "fork" | undefined;
|
|
3094
|
+
model?: string | undefined;
|
|
3034
3095
|
showInStarters?: boolean | undefined;
|
|
3096
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3097
|
+
'user-invocable'?: boolean | undefined;
|
|
3098
|
+
'allowed-tools'?: string[] | undefined;
|
|
3099
|
+
namespace?: string | undefined;
|
|
3035
3100
|
})[]>, ({
|
|
3036
3101
|
file: string;
|
|
3037
3102
|
type: "file";
|
|
3038
3103
|
showInStarters: boolean;
|
|
3104
|
+
agent?: string | undefined;
|
|
3105
|
+
context?: "inline" | "fork" | undefined;
|
|
3106
|
+
model?: string | undefined;
|
|
3107
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3108
|
+
'user-invocable'?: boolean | undefined;
|
|
3109
|
+
'allowed-tools'?: string[] | undefined;
|
|
3110
|
+
namespace?: string | undefined;
|
|
3039
3111
|
} | {
|
|
3040
3112
|
title: string;
|
|
3113
|
+
context: "inline" | "fork";
|
|
3041
3114
|
prompt: string;
|
|
3042
3115
|
description: string;
|
|
3043
3116
|
type: "inline";
|
|
@@ -3045,19 +3118,37 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3045
3118
|
priority: number;
|
|
3046
3119
|
category: string;
|
|
3047
3120
|
showInStarters: boolean;
|
|
3121
|
+
'disable-model-invocation': boolean;
|
|
3122
|
+
'user-invocable': boolean;
|
|
3123
|
+
agent?: string | undefined;
|
|
3124
|
+
model?: string | undefined;
|
|
3125
|
+
'allowed-tools'?: string[] | undefined;
|
|
3048
3126
|
})[], ({
|
|
3049
3127
|
prompt: string;
|
|
3050
3128
|
type: "inline";
|
|
3051
3129
|
id: string;
|
|
3130
|
+
agent?: string | undefined;
|
|
3131
|
+
context?: "inline" | "fork" | undefined;
|
|
3052
3132
|
description?: string | undefined;
|
|
3133
|
+
model?: string | undefined;
|
|
3053
3134
|
title?: string | undefined;
|
|
3054
3135
|
priority?: number | undefined;
|
|
3055
3136
|
category?: string | undefined;
|
|
3056
3137
|
showInStarters?: boolean | undefined;
|
|
3138
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3139
|
+
'user-invocable'?: boolean | undefined;
|
|
3140
|
+
'allowed-tools'?: string[] | undefined;
|
|
3057
3141
|
} | {
|
|
3058
3142
|
file: string;
|
|
3059
3143
|
type: "file";
|
|
3144
|
+
agent?: string | undefined;
|
|
3145
|
+
context?: "inline" | "fork" | undefined;
|
|
3146
|
+
model?: string | undefined;
|
|
3060
3147
|
showInStarters?: boolean | undefined;
|
|
3148
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3149
|
+
'user-invocable'?: boolean | undefined;
|
|
3150
|
+
'allowed-tools'?: string[] | undefined;
|
|
3151
|
+
namespace?: string | undefined;
|
|
3061
3152
|
})[]>>>;
|
|
3062
3153
|
plugins: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
3063
3154
|
contentPolicy: z.ZodOptional<z.ZodObject<{
|
|
@@ -3199,15 +3290,15 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3199
3290
|
}, "strict", z.ZodTypeAny, {
|
|
3200
3291
|
llm: {
|
|
3201
3292
|
model: string;
|
|
3202
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
3293
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
3203
3294
|
apiKey?: string | undefined;
|
|
3295
|
+
maxInputTokens?: number | undefined;
|
|
3204
3296
|
maxIterations?: number | undefined;
|
|
3205
3297
|
baseURL?: string | undefined;
|
|
3206
|
-
maxInputTokens?: number | undefined;
|
|
3207
3298
|
maxOutputTokens?: number | undefined;
|
|
3208
3299
|
temperature?: number | undefined;
|
|
3209
3300
|
allowedMediaTypes?: string[] | undefined;
|
|
3210
|
-
reasoningEffort?: "
|
|
3301
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
3211
3302
|
} & z.BRAND<"ValidatedLLMConfig">;
|
|
3212
3303
|
tools: Record<string, {
|
|
3213
3304
|
maxOutputChars?: number | undefined;
|
|
@@ -3295,8 +3386,16 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3295
3386
|
file: string;
|
|
3296
3387
|
type: "file";
|
|
3297
3388
|
showInStarters: boolean;
|
|
3389
|
+
agent?: string | undefined;
|
|
3390
|
+
context?: "inline" | "fork" | undefined;
|
|
3391
|
+
model?: string | undefined;
|
|
3392
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3393
|
+
'user-invocable'?: boolean | undefined;
|
|
3394
|
+
'allowed-tools'?: string[] | undefined;
|
|
3395
|
+
namespace?: string | undefined;
|
|
3298
3396
|
} | {
|
|
3299
3397
|
title: string;
|
|
3398
|
+
context: "inline" | "fork";
|
|
3300
3399
|
prompt: string;
|
|
3301
3400
|
description: string;
|
|
3302
3401
|
type: "inline";
|
|
@@ -3304,6 +3403,11 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3304
3403
|
priority: number;
|
|
3305
3404
|
category: string;
|
|
3306
3405
|
showInStarters: boolean;
|
|
3406
|
+
'disable-model-invocation': boolean;
|
|
3407
|
+
'user-invocable': boolean;
|
|
3408
|
+
agent?: string | undefined;
|
|
3409
|
+
model?: string | undefined;
|
|
3410
|
+
'allowed-tools'?: string[] | undefined;
|
|
3307
3411
|
})[];
|
|
3308
3412
|
agentId: string;
|
|
3309
3413
|
systemPrompt: ({
|
|
@@ -3365,7 +3469,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3365
3469
|
url: string;
|
|
3366
3470
|
headers: Record<string, string>;
|
|
3367
3471
|
}) & z.BRAND<"ValidatedMcpServerConfig">> & z.BRAND<"ValidatedServerConfigs">;
|
|
3368
|
-
internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[];
|
|
3472
|
+
internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[];
|
|
3369
3473
|
customTools: any[];
|
|
3370
3474
|
sessions: {
|
|
3371
3475
|
maxSessions: number;
|
|
@@ -3616,15 +3720,15 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3616
3720
|
}, {
|
|
3617
3721
|
llm: {
|
|
3618
3722
|
model: string;
|
|
3619
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
3723
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
3620
3724
|
apiKey?: string | undefined;
|
|
3725
|
+
maxInputTokens?: number | undefined;
|
|
3621
3726
|
maxIterations?: number | undefined;
|
|
3622
3727
|
baseURL?: string | undefined;
|
|
3623
|
-
maxInputTokens?: number | undefined;
|
|
3624
3728
|
maxOutputTokens?: number | undefined;
|
|
3625
3729
|
temperature?: number | undefined;
|
|
3626
3730
|
allowedMediaTypes?: string[] | undefined;
|
|
3627
|
-
reasoningEffort?: "
|
|
3731
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
3628
3732
|
};
|
|
3629
3733
|
systemPrompt: string | {
|
|
3630
3734
|
contributors?: ({
|
|
@@ -3754,15 +3858,28 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3754
3858
|
prompt: string;
|
|
3755
3859
|
type: "inline";
|
|
3756
3860
|
id: string;
|
|
3861
|
+
agent?: string | undefined;
|
|
3862
|
+
context?: "inline" | "fork" | undefined;
|
|
3757
3863
|
description?: string | undefined;
|
|
3864
|
+
model?: string | undefined;
|
|
3758
3865
|
title?: string | undefined;
|
|
3759
3866
|
priority?: number | undefined;
|
|
3760
3867
|
category?: string | undefined;
|
|
3761
3868
|
showInStarters?: boolean | undefined;
|
|
3869
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3870
|
+
'user-invocable'?: boolean | undefined;
|
|
3871
|
+
'allowed-tools'?: string[] | undefined;
|
|
3762
3872
|
} | {
|
|
3763
3873
|
file: string;
|
|
3764
3874
|
type: "file";
|
|
3875
|
+
agent?: string | undefined;
|
|
3876
|
+
context?: "inline" | "fork" | undefined;
|
|
3877
|
+
model?: string | undefined;
|
|
3765
3878
|
showInStarters?: boolean | undefined;
|
|
3879
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
3880
|
+
'user-invocable'?: boolean | undefined;
|
|
3881
|
+
'allowed-tools'?: string[] | undefined;
|
|
3882
|
+
namespace?: string | undefined;
|
|
3766
3883
|
})[] | undefined;
|
|
3767
3884
|
agentId?: string | undefined;
|
|
3768
3885
|
agentCard?: {
|
|
@@ -3959,7 +4076,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
|
|
|
3959
4076
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
3960
4077
|
headers?: Record<string, string> | undefined;
|
|
3961
4078
|
}> | undefined;
|
|
3962
|
-
internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[] | undefined;
|
|
4079
|
+
internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[] | undefined;
|
|
3963
4080
|
customTools?: any[] | undefined;
|
|
3964
4081
|
sessions?: {
|
|
3965
4082
|
maxSessions?: number | undefined;
|
|
@@ -4191,7 +4308,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
4191
4308
|
})[] | undefined;
|
|
4192
4309
|
}>]>, "ValidatedSystemPromptConfig">;
|
|
4193
4310
|
llm: z.ZodBranded<z.ZodEffects<z.ZodObject<{
|
|
4194
|
-
provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>;
|
|
4311
|
+
provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
|
|
4195
4312
|
model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
4196
4313
|
apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4197
4314
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4203,48 +4320,48 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
4203
4320
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
4204
4321
|
}, "strict", z.ZodTypeAny, {
|
|
4205
4322
|
model: string;
|
|
4206
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
4323
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
4207
4324
|
apiKey?: string | undefined;
|
|
4325
|
+
maxInputTokens?: number | undefined;
|
|
4208
4326
|
maxIterations?: number | undefined;
|
|
4209
4327
|
baseURL?: string | undefined;
|
|
4210
|
-
maxInputTokens?: number | undefined;
|
|
4211
4328
|
maxOutputTokens?: number | undefined;
|
|
4212
4329
|
temperature?: number | undefined;
|
|
4213
4330
|
allowedMediaTypes?: string[] | undefined;
|
|
4214
|
-
reasoningEffort?: "
|
|
4331
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
4215
4332
|
}, {
|
|
4216
4333
|
model: string;
|
|
4217
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
4334
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
4218
4335
|
apiKey?: string | undefined;
|
|
4336
|
+
maxInputTokens?: number | undefined;
|
|
4219
4337
|
maxIterations?: number | undefined;
|
|
4220
4338
|
baseURL?: string | undefined;
|
|
4221
|
-
maxInputTokens?: number | undefined;
|
|
4222
4339
|
maxOutputTokens?: number | undefined;
|
|
4223
4340
|
temperature?: number | undefined;
|
|
4224
4341
|
allowedMediaTypes?: string[] | undefined;
|
|
4225
|
-
reasoningEffort?: "
|
|
4342
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
4226
4343
|
}>, {
|
|
4227
4344
|
model: string;
|
|
4228
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
4345
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
4229
4346
|
apiKey?: string | undefined;
|
|
4347
|
+
maxInputTokens?: number | undefined;
|
|
4230
4348
|
maxIterations?: number | undefined;
|
|
4231
4349
|
baseURL?: string | undefined;
|
|
4232
|
-
maxInputTokens?: number | undefined;
|
|
4233
4350
|
maxOutputTokens?: number | undefined;
|
|
4234
4351
|
temperature?: number | undefined;
|
|
4235
4352
|
allowedMediaTypes?: string[] | undefined;
|
|
4236
|
-
reasoningEffort?: "
|
|
4353
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
4237
4354
|
}, {
|
|
4238
4355
|
model: string;
|
|
4239
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
4356
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
4240
4357
|
apiKey?: string | undefined;
|
|
4358
|
+
maxInputTokens?: number | undefined;
|
|
4241
4359
|
maxIterations?: number | undefined;
|
|
4242
4360
|
baseURL?: string | undefined;
|
|
4243
|
-
maxInputTokens?: number | undefined;
|
|
4244
4361
|
maxOutputTokens?: number | undefined;
|
|
4245
4362
|
temperature?: number | undefined;
|
|
4246
4363
|
allowedMediaTypes?: string[] | undefined;
|
|
4247
|
-
reasoningEffort?: "
|
|
4364
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
4248
4365
|
}>, "ValidatedLLMConfig">;
|
|
4249
4366
|
agentCard: z.ZodOptional<z.ZodObject<{
|
|
4250
4367
|
protocolVersion: z.ZodDefault<z.ZodString>;
|
|
@@ -5289,7 +5406,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
5289
5406
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
5290
5407
|
headers?: Record<string, string> | undefined;
|
|
5291
5408
|
}>, "ValidatedMcpServerConfig">>, "ValidatedServerConfigs">>;
|
|
5292
|
-
internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource"]>, "many">>>;
|
|
5409
|
+
internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource", "invoke_skill"]>, "many">>>;
|
|
5293
5410
|
customTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">>>;
|
|
5294
5411
|
tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5295
5412
|
maxOutputChars: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5907,7 +6024,14 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
5907
6024
|
category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5908
6025
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5909
6026
|
showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6027
|
+
'disable-model-invocation': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6028
|
+
'user-invocable': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6029
|
+
'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6030
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6031
|
+
context: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inline", "fork"]>>>;
|
|
6032
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
5910
6033
|
}, "strict", z.ZodTypeAny, {
|
|
6034
|
+
context: "inline" | "fork";
|
|
5911
6035
|
prompt: string;
|
|
5912
6036
|
description: string;
|
|
5913
6037
|
type: "inline";
|
|
@@ -5915,29 +6039,62 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
5915
6039
|
priority: number;
|
|
5916
6040
|
category: string;
|
|
5917
6041
|
showInStarters: boolean;
|
|
6042
|
+
'disable-model-invocation': boolean;
|
|
6043
|
+
'user-invocable': boolean;
|
|
6044
|
+
agent?: string | undefined;
|
|
6045
|
+
model?: string | undefined;
|
|
5918
6046
|
title?: string | undefined;
|
|
6047
|
+
'allowed-tools'?: string[] | undefined;
|
|
5919
6048
|
}, {
|
|
5920
6049
|
prompt: string;
|
|
5921
6050
|
type: "inline";
|
|
5922
6051
|
id: string;
|
|
6052
|
+
agent?: string | undefined;
|
|
6053
|
+
context?: "inline" | "fork" | undefined;
|
|
5923
6054
|
description?: string | undefined;
|
|
6055
|
+
model?: string | undefined;
|
|
5924
6056
|
title?: string | undefined;
|
|
5925
6057
|
priority?: number | undefined;
|
|
5926
6058
|
category?: string | undefined;
|
|
5927
6059
|
showInStarters?: boolean | undefined;
|
|
6060
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6061
|
+
'user-invocable'?: boolean | undefined;
|
|
6062
|
+
'allowed-tools'?: string[] | undefined;
|
|
5928
6063
|
}>, z.ZodObject<{
|
|
5929
6064
|
type: z.ZodLiteral<"file">;
|
|
5930
6065
|
file: z.ZodString;
|
|
5931
6066
|
showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6067
|
+
'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
|
|
6068
|
+
'user-invocable': z.ZodOptional<z.ZodBoolean>;
|
|
6069
|
+
'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6070
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6071
|
+
context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
|
|
6072
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
6073
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
5932
6074
|
}, "strict", z.ZodTypeAny, {
|
|
5933
6075
|
file: string;
|
|
5934
6076
|
type: "file";
|
|
5935
6077
|
showInStarters: boolean;
|
|
6078
|
+
agent?: string | undefined;
|
|
6079
|
+
context?: "inline" | "fork" | undefined;
|
|
6080
|
+
model?: string | undefined;
|
|
6081
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6082
|
+
'user-invocable'?: boolean | undefined;
|
|
6083
|
+
'allowed-tools'?: string[] | undefined;
|
|
6084
|
+
namespace?: string | undefined;
|
|
5936
6085
|
}, {
|
|
5937
6086
|
file: string;
|
|
5938
6087
|
type: "file";
|
|
6088
|
+
agent?: string | undefined;
|
|
6089
|
+
context?: "inline" | "fork" | undefined;
|
|
6090
|
+
model?: string | undefined;
|
|
5939
6091
|
showInStarters?: boolean | undefined;
|
|
6092
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6093
|
+
'user-invocable'?: boolean | undefined;
|
|
6094
|
+
'allowed-tools'?: string[] | undefined;
|
|
6095
|
+
namespace?: string | undefined;
|
|
5940
6096
|
}>]>, "many">, ({
|
|
6097
|
+
context: "inline" | "fork";
|
|
5941
6098
|
prompt: string;
|
|
5942
6099
|
description: string;
|
|
5943
6100
|
type: "inline";
|
|
@@ -5945,30 +6102,63 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
5945
6102
|
priority: number;
|
|
5946
6103
|
category: string;
|
|
5947
6104
|
showInStarters: boolean;
|
|
6105
|
+
'disable-model-invocation': boolean;
|
|
6106
|
+
'user-invocable': boolean;
|
|
6107
|
+
agent?: string | undefined;
|
|
6108
|
+
model?: string | undefined;
|
|
5948
6109
|
title?: string | undefined;
|
|
6110
|
+
'allowed-tools'?: string[] | undefined;
|
|
5949
6111
|
} | {
|
|
5950
6112
|
file: string;
|
|
5951
6113
|
type: "file";
|
|
5952
6114
|
showInStarters: boolean;
|
|
6115
|
+
agent?: string | undefined;
|
|
6116
|
+
context?: "inline" | "fork" | undefined;
|
|
6117
|
+
model?: string | undefined;
|
|
6118
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6119
|
+
'user-invocable'?: boolean | undefined;
|
|
6120
|
+
'allowed-tools'?: string[] | undefined;
|
|
6121
|
+
namespace?: string | undefined;
|
|
5953
6122
|
})[], ({
|
|
5954
6123
|
prompt: string;
|
|
5955
6124
|
type: "inline";
|
|
5956
6125
|
id: string;
|
|
6126
|
+
agent?: string | undefined;
|
|
6127
|
+
context?: "inline" | "fork" | undefined;
|
|
5957
6128
|
description?: string | undefined;
|
|
6129
|
+
model?: string | undefined;
|
|
5958
6130
|
title?: string | undefined;
|
|
5959
6131
|
priority?: number | undefined;
|
|
5960
6132
|
category?: string | undefined;
|
|
5961
6133
|
showInStarters?: boolean | undefined;
|
|
6134
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6135
|
+
'user-invocable'?: boolean | undefined;
|
|
6136
|
+
'allowed-tools'?: string[] | undefined;
|
|
5962
6137
|
} | {
|
|
5963
6138
|
file: string;
|
|
5964
6139
|
type: "file";
|
|
6140
|
+
agent?: string | undefined;
|
|
6141
|
+
context?: "inline" | "fork" | undefined;
|
|
6142
|
+
model?: string | undefined;
|
|
5965
6143
|
showInStarters?: boolean | undefined;
|
|
6144
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6145
|
+
'user-invocable'?: boolean | undefined;
|
|
6146
|
+
'allowed-tools'?: string[] | undefined;
|
|
6147
|
+
namespace?: string | undefined;
|
|
5966
6148
|
})[]>, ({
|
|
5967
6149
|
file: string;
|
|
5968
6150
|
type: "file";
|
|
5969
6151
|
showInStarters: boolean;
|
|
6152
|
+
agent?: string | undefined;
|
|
6153
|
+
context?: "inline" | "fork" | undefined;
|
|
6154
|
+
model?: string | undefined;
|
|
6155
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6156
|
+
'user-invocable'?: boolean | undefined;
|
|
6157
|
+
'allowed-tools'?: string[] | undefined;
|
|
6158
|
+
namespace?: string | undefined;
|
|
5970
6159
|
} | {
|
|
5971
6160
|
title: string;
|
|
6161
|
+
context: "inline" | "fork";
|
|
5972
6162
|
prompt: string;
|
|
5973
6163
|
description: string;
|
|
5974
6164
|
type: "inline";
|
|
@@ -5976,19 +6166,37 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
5976
6166
|
priority: number;
|
|
5977
6167
|
category: string;
|
|
5978
6168
|
showInStarters: boolean;
|
|
6169
|
+
'disable-model-invocation': boolean;
|
|
6170
|
+
'user-invocable': boolean;
|
|
6171
|
+
agent?: string | undefined;
|
|
6172
|
+
model?: string | undefined;
|
|
6173
|
+
'allowed-tools'?: string[] | undefined;
|
|
5979
6174
|
})[], ({
|
|
5980
6175
|
prompt: string;
|
|
5981
6176
|
type: "inline";
|
|
5982
6177
|
id: string;
|
|
6178
|
+
agent?: string | undefined;
|
|
6179
|
+
context?: "inline" | "fork" | undefined;
|
|
5983
6180
|
description?: string | undefined;
|
|
6181
|
+
model?: string | undefined;
|
|
5984
6182
|
title?: string | undefined;
|
|
5985
6183
|
priority?: number | undefined;
|
|
5986
6184
|
category?: string | undefined;
|
|
5987
6185
|
showInStarters?: boolean | undefined;
|
|
6186
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6187
|
+
'user-invocable'?: boolean | undefined;
|
|
6188
|
+
'allowed-tools'?: string[] | undefined;
|
|
5988
6189
|
} | {
|
|
5989
6190
|
file: string;
|
|
5990
6191
|
type: "file";
|
|
6192
|
+
agent?: string | undefined;
|
|
6193
|
+
context?: "inline" | "fork" | undefined;
|
|
6194
|
+
model?: string | undefined;
|
|
5991
6195
|
showInStarters?: boolean | undefined;
|
|
6196
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6197
|
+
'user-invocable'?: boolean | undefined;
|
|
6198
|
+
'allowed-tools'?: string[] | undefined;
|
|
6199
|
+
namespace?: string | undefined;
|
|
5992
6200
|
})[]>>>;
|
|
5993
6201
|
plugins: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
5994
6202
|
contentPolicy: z.ZodOptional<z.ZodObject<{
|
|
@@ -6130,15 +6338,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6130
6338
|
}, "strict", z.ZodTypeAny, {
|
|
6131
6339
|
llm: {
|
|
6132
6340
|
model: string;
|
|
6133
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
6341
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
6134
6342
|
apiKey?: string | undefined;
|
|
6343
|
+
maxInputTokens?: number | undefined;
|
|
6135
6344
|
maxIterations?: number | undefined;
|
|
6136
6345
|
baseURL?: string | undefined;
|
|
6137
|
-
maxInputTokens?: number | undefined;
|
|
6138
6346
|
maxOutputTokens?: number | undefined;
|
|
6139
6347
|
temperature?: number | undefined;
|
|
6140
6348
|
allowedMediaTypes?: string[] | undefined;
|
|
6141
|
-
reasoningEffort?: "
|
|
6349
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
6142
6350
|
} & z.BRAND<"ValidatedLLMConfig">;
|
|
6143
6351
|
tools: Record<string, {
|
|
6144
6352
|
maxOutputChars?: number | undefined;
|
|
@@ -6226,8 +6434,16 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6226
6434
|
file: string;
|
|
6227
6435
|
type: "file";
|
|
6228
6436
|
showInStarters: boolean;
|
|
6437
|
+
agent?: string | undefined;
|
|
6438
|
+
context?: "inline" | "fork" | undefined;
|
|
6439
|
+
model?: string | undefined;
|
|
6440
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6441
|
+
'user-invocable'?: boolean | undefined;
|
|
6442
|
+
'allowed-tools'?: string[] | undefined;
|
|
6443
|
+
namespace?: string | undefined;
|
|
6229
6444
|
} | {
|
|
6230
6445
|
title: string;
|
|
6446
|
+
context: "inline" | "fork";
|
|
6231
6447
|
prompt: string;
|
|
6232
6448
|
description: string;
|
|
6233
6449
|
type: "inline";
|
|
@@ -6235,6 +6451,11 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6235
6451
|
priority: number;
|
|
6236
6452
|
category: string;
|
|
6237
6453
|
showInStarters: boolean;
|
|
6454
|
+
'disable-model-invocation': boolean;
|
|
6455
|
+
'user-invocable': boolean;
|
|
6456
|
+
agent?: string | undefined;
|
|
6457
|
+
model?: string | undefined;
|
|
6458
|
+
'allowed-tools'?: string[] | undefined;
|
|
6238
6459
|
})[];
|
|
6239
6460
|
agentId: string;
|
|
6240
6461
|
systemPrompt: ({
|
|
@@ -6296,7 +6517,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6296
6517
|
url: string;
|
|
6297
6518
|
headers: Record<string, string>;
|
|
6298
6519
|
}) & z.BRAND<"ValidatedMcpServerConfig">> & z.BRAND<"ValidatedServerConfigs">;
|
|
6299
|
-
internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[];
|
|
6520
|
+
internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[];
|
|
6300
6521
|
customTools: any[];
|
|
6301
6522
|
sessions: {
|
|
6302
6523
|
maxSessions: number;
|
|
@@ -6547,15 +6768,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6547
6768
|
}, {
|
|
6548
6769
|
llm: {
|
|
6549
6770
|
model: string;
|
|
6550
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
6771
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
6551
6772
|
apiKey?: string | undefined;
|
|
6773
|
+
maxInputTokens?: number | undefined;
|
|
6552
6774
|
maxIterations?: number | undefined;
|
|
6553
6775
|
baseURL?: string | undefined;
|
|
6554
|
-
maxInputTokens?: number | undefined;
|
|
6555
6776
|
maxOutputTokens?: number | undefined;
|
|
6556
6777
|
temperature?: number | undefined;
|
|
6557
6778
|
allowedMediaTypes?: string[] | undefined;
|
|
6558
|
-
reasoningEffort?: "
|
|
6779
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
6559
6780
|
};
|
|
6560
6781
|
systemPrompt: string | {
|
|
6561
6782
|
contributors?: ({
|
|
@@ -6685,15 +6906,28 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6685
6906
|
prompt: string;
|
|
6686
6907
|
type: "inline";
|
|
6687
6908
|
id: string;
|
|
6909
|
+
agent?: string | undefined;
|
|
6910
|
+
context?: "inline" | "fork" | undefined;
|
|
6688
6911
|
description?: string | undefined;
|
|
6912
|
+
model?: string | undefined;
|
|
6689
6913
|
title?: string | undefined;
|
|
6690
6914
|
priority?: number | undefined;
|
|
6691
6915
|
category?: string | undefined;
|
|
6692
6916
|
showInStarters?: boolean | undefined;
|
|
6917
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6918
|
+
'user-invocable'?: boolean | undefined;
|
|
6919
|
+
'allowed-tools'?: string[] | undefined;
|
|
6693
6920
|
} | {
|
|
6694
6921
|
file: string;
|
|
6695
6922
|
type: "file";
|
|
6923
|
+
agent?: string | undefined;
|
|
6924
|
+
context?: "inline" | "fork" | undefined;
|
|
6925
|
+
model?: string | undefined;
|
|
6696
6926
|
showInStarters?: boolean | undefined;
|
|
6927
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
6928
|
+
'user-invocable'?: boolean | undefined;
|
|
6929
|
+
'allowed-tools'?: string[] | undefined;
|
|
6930
|
+
namespace?: string | undefined;
|
|
6697
6931
|
})[] | undefined;
|
|
6698
6932
|
agentId?: string | undefined;
|
|
6699
6933
|
agentCard?: {
|
|
@@ -6890,7 +7124,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
|
|
|
6890
7124
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
6891
7125
|
headers?: Record<string, string> | undefined;
|
|
6892
7126
|
}> | undefined;
|
|
6893
|
-
internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[] | undefined;
|
|
7127
|
+
internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[] | undefined;
|
|
6894
7128
|
customTools?: any[] | undefined;
|
|
6895
7129
|
sessions?: {
|
|
6896
7130
|
maxSessions?: number | undefined;
|
|
@@ -7122,7 +7356,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
7122
7356
|
})[] | undefined;
|
|
7123
7357
|
}>]>, "ValidatedSystemPromptConfig">;
|
|
7124
7358
|
llm: z.ZodBranded<z.ZodEffects<z.ZodObject<{
|
|
7125
|
-
provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama"]>;
|
|
7359
|
+
provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto"]>;
|
|
7126
7360
|
model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
7127
7361
|
apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7128
7362
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7134,48 +7368,48 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
7134
7368
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
|
|
7135
7369
|
}, "strict", z.ZodTypeAny, {
|
|
7136
7370
|
model: string;
|
|
7137
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
7371
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
7138
7372
|
apiKey?: string | undefined;
|
|
7373
|
+
maxInputTokens?: number | undefined;
|
|
7139
7374
|
maxIterations?: number | undefined;
|
|
7140
7375
|
baseURL?: string | undefined;
|
|
7141
|
-
maxInputTokens?: number | undefined;
|
|
7142
7376
|
maxOutputTokens?: number | undefined;
|
|
7143
7377
|
temperature?: number | undefined;
|
|
7144
7378
|
allowedMediaTypes?: string[] | undefined;
|
|
7145
|
-
reasoningEffort?: "
|
|
7379
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
7146
7380
|
}, {
|
|
7147
7381
|
model: string;
|
|
7148
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
7382
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
7149
7383
|
apiKey?: string | undefined;
|
|
7384
|
+
maxInputTokens?: number | undefined;
|
|
7150
7385
|
maxIterations?: number | undefined;
|
|
7151
7386
|
baseURL?: string | undefined;
|
|
7152
|
-
maxInputTokens?: number | undefined;
|
|
7153
7387
|
maxOutputTokens?: number | undefined;
|
|
7154
7388
|
temperature?: number | undefined;
|
|
7155
7389
|
allowedMediaTypes?: string[] | undefined;
|
|
7156
|
-
reasoningEffort?: "
|
|
7390
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
7157
7391
|
}>, {
|
|
7158
7392
|
model: string;
|
|
7159
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
7393
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
7160
7394
|
apiKey?: string | undefined;
|
|
7395
|
+
maxInputTokens?: number | undefined;
|
|
7161
7396
|
maxIterations?: number | undefined;
|
|
7162
7397
|
baseURL?: string | undefined;
|
|
7163
|
-
maxInputTokens?: number | undefined;
|
|
7164
7398
|
maxOutputTokens?: number | undefined;
|
|
7165
7399
|
temperature?: number | undefined;
|
|
7166
7400
|
allowedMediaTypes?: string[] | undefined;
|
|
7167
|
-
reasoningEffort?: "
|
|
7401
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
7168
7402
|
}, {
|
|
7169
7403
|
model: string;
|
|
7170
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
7404
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
7171
7405
|
apiKey?: string | undefined;
|
|
7406
|
+
maxInputTokens?: number | undefined;
|
|
7172
7407
|
maxIterations?: number | undefined;
|
|
7173
7408
|
baseURL?: string | undefined;
|
|
7174
|
-
maxInputTokens?: number | undefined;
|
|
7175
7409
|
maxOutputTokens?: number | undefined;
|
|
7176
7410
|
temperature?: number | undefined;
|
|
7177
7411
|
allowedMediaTypes?: string[] | undefined;
|
|
7178
|
-
reasoningEffort?: "
|
|
7412
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
7179
7413
|
}>, "ValidatedLLMConfig">;
|
|
7180
7414
|
agentCard: z.ZodOptional<z.ZodObject<{
|
|
7181
7415
|
protocolVersion: z.ZodDefault<z.ZodString>;
|
|
@@ -8220,7 +8454,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
8220
8454
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
8221
8455
|
headers?: Record<string, string> | undefined;
|
|
8222
8456
|
}>, "ValidatedMcpServerConfig">>, "ValidatedServerConfigs">>;
|
|
8223
|
-
internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource"]>, "many">>>;
|
|
8457
|
+
internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource", "invoke_skill"]>, "many">>>;
|
|
8224
8458
|
customTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">>>;
|
|
8225
8459
|
tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8226
8460
|
maxOutputChars: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8838,7 +9072,14 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
8838
9072
|
category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8839
9073
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8840
9074
|
showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9075
|
+
'disable-model-invocation': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9076
|
+
'user-invocable': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9077
|
+
'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9078
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9079
|
+
context: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inline", "fork"]>>>;
|
|
9080
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
8841
9081
|
}, "strict", z.ZodTypeAny, {
|
|
9082
|
+
context: "inline" | "fork";
|
|
8842
9083
|
prompt: string;
|
|
8843
9084
|
description: string;
|
|
8844
9085
|
type: "inline";
|
|
@@ -8846,29 +9087,62 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
8846
9087
|
priority: number;
|
|
8847
9088
|
category: string;
|
|
8848
9089
|
showInStarters: boolean;
|
|
9090
|
+
'disable-model-invocation': boolean;
|
|
9091
|
+
'user-invocable': boolean;
|
|
9092
|
+
agent?: string | undefined;
|
|
9093
|
+
model?: string | undefined;
|
|
8849
9094
|
title?: string | undefined;
|
|
9095
|
+
'allowed-tools'?: string[] | undefined;
|
|
8850
9096
|
}, {
|
|
8851
9097
|
prompt: string;
|
|
8852
9098
|
type: "inline";
|
|
8853
9099
|
id: string;
|
|
9100
|
+
agent?: string | undefined;
|
|
9101
|
+
context?: "inline" | "fork" | undefined;
|
|
8854
9102
|
description?: string | undefined;
|
|
9103
|
+
model?: string | undefined;
|
|
8855
9104
|
title?: string | undefined;
|
|
8856
9105
|
priority?: number | undefined;
|
|
8857
9106
|
category?: string | undefined;
|
|
8858
9107
|
showInStarters?: boolean | undefined;
|
|
9108
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9109
|
+
'user-invocable'?: boolean | undefined;
|
|
9110
|
+
'allowed-tools'?: string[] | undefined;
|
|
8859
9111
|
}>, z.ZodObject<{
|
|
8860
9112
|
type: z.ZodLiteral<"file">;
|
|
8861
9113
|
file: z.ZodString;
|
|
8862
9114
|
showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9115
|
+
'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
|
|
9116
|
+
'user-invocable': z.ZodOptional<z.ZodBoolean>;
|
|
9117
|
+
'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9118
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9119
|
+
context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
|
|
9120
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
9121
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
8863
9122
|
}, "strict", z.ZodTypeAny, {
|
|
8864
9123
|
file: string;
|
|
8865
9124
|
type: "file";
|
|
8866
9125
|
showInStarters: boolean;
|
|
9126
|
+
agent?: string | undefined;
|
|
9127
|
+
context?: "inline" | "fork" | undefined;
|
|
9128
|
+
model?: string | undefined;
|
|
9129
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9130
|
+
'user-invocable'?: boolean | undefined;
|
|
9131
|
+
'allowed-tools'?: string[] | undefined;
|
|
9132
|
+
namespace?: string | undefined;
|
|
8867
9133
|
}, {
|
|
8868
9134
|
file: string;
|
|
8869
9135
|
type: "file";
|
|
9136
|
+
agent?: string | undefined;
|
|
9137
|
+
context?: "inline" | "fork" | undefined;
|
|
9138
|
+
model?: string | undefined;
|
|
8870
9139
|
showInStarters?: boolean | undefined;
|
|
9140
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9141
|
+
'user-invocable'?: boolean | undefined;
|
|
9142
|
+
'allowed-tools'?: string[] | undefined;
|
|
9143
|
+
namespace?: string | undefined;
|
|
8871
9144
|
}>]>, "many">, ({
|
|
9145
|
+
context: "inline" | "fork";
|
|
8872
9146
|
prompt: string;
|
|
8873
9147
|
description: string;
|
|
8874
9148
|
type: "inline";
|
|
@@ -8876,30 +9150,63 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
8876
9150
|
priority: number;
|
|
8877
9151
|
category: string;
|
|
8878
9152
|
showInStarters: boolean;
|
|
9153
|
+
'disable-model-invocation': boolean;
|
|
9154
|
+
'user-invocable': boolean;
|
|
9155
|
+
agent?: string | undefined;
|
|
9156
|
+
model?: string | undefined;
|
|
8879
9157
|
title?: string | undefined;
|
|
9158
|
+
'allowed-tools'?: string[] | undefined;
|
|
8880
9159
|
} | {
|
|
8881
9160
|
file: string;
|
|
8882
9161
|
type: "file";
|
|
8883
9162
|
showInStarters: boolean;
|
|
9163
|
+
agent?: string | undefined;
|
|
9164
|
+
context?: "inline" | "fork" | undefined;
|
|
9165
|
+
model?: string | undefined;
|
|
9166
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9167
|
+
'user-invocable'?: boolean | undefined;
|
|
9168
|
+
'allowed-tools'?: string[] | undefined;
|
|
9169
|
+
namespace?: string | undefined;
|
|
8884
9170
|
})[], ({
|
|
8885
9171
|
prompt: string;
|
|
8886
9172
|
type: "inline";
|
|
8887
9173
|
id: string;
|
|
9174
|
+
agent?: string | undefined;
|
|
9175
|
+
context?: "inline" | "fork" | undefined;
|
|
8888
9176
|
description?: string | undefined;
|
|
9177
|
+
model?: string | undefined;
|
|
8889
9178
|
title?: string | undefined;
|
|
8890
9179
|
priority?: number | undefined;
|
|
8891
9180
|
category?: string | undefined;
|
|
8892
9181
|
showInStarters?: boolean | undefined;
|
|
9182
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9183
|
+
'user-invocable'?: boolean | undefined;
|
|
9184
|
+
'allowed-tools'?: string[] | undefined;
|
|
8893
9185
|
} | {
|
|
8894
9186
|
file: string;
|
|
8895
9187
|
type: "file";
|
|
9188
|
+
agent?: string | undefined;
|
|
9189
|
+
context?: "inline" | "fork" | undefined;
|
|
9190
|
+
model?: string | undefined;
|
|
8896
9191
|
showInStarters?: boolean | undefined;
|
|
9192
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9193
|
+
'user-invocable'?: boolean | undefined;
|
|
9194
|
+
'allowed-tools'?: string[] | undefined;
|
|
9195
|
+
namespace?: string | undefined;
|
|
8897
9196
|
})[]>, ({
|
|
8898
9197
|
file: string;
|
|
8899
9198
|
type: "file";
|
|
8900
9199
|
showInStarters: boolean;
|
|
9200
|
+
agent?: string | undefined;
|
|
9201
|
+
context?: "inline" | "fork" | undefined;
|
|
9202
|
+
model?: string | undefined;
|
|
9203
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9204
|
+
'user-invocable'?: boolean | undefined;
|
|
9205
|
+
'allowed-tools'?: string[] | undefined;
|
|
9206
|
+
namespace?: string | undefined;
|
|
8901
9207
|
} | {
|
|
8902
9208
|
title: string;
|
|
9209
|
+
context: "inline" | "fork";
|
|
8903
9210
|
prompt: string;
|
|
8904
9211
|
description: string;
|
|
8905
9212
|
type: "inline";
|
|
@@ -8907,19 +9214,37 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
8907
9214
|
priority: number;
|
|
8908
9215
|
category: string;
|
|
8909
9216
|
showInStarters: boolean;
|
|
9217
|
+
'disable-model-invocation': boolean;
|
|
9218
|
+
'user-invocable': boolean;
|
|
9219
|
+
agent?: string | undefined;
|
|
9220
|
+
model?: string | undefined;
|
|
9221
|
+
'allowed-tools'?: string[] | undefined;
|
|
8910
9222
|
})[], ({
|
|
8911
9223
|
prompt: string;
|
|
8912
9224
|
type: "inline";
|
|
8913
9225
|
id: string;
|
|
9226
|
+
agent?: string | undefined;
|
|
9227
|
+
context?: "inline" | "fork" | undefined;
|
|
8914
9228
|
description?: string | undefined;
|
|
9229
|
+
model?: string | undefined;
|
|
8915
9230
|
title?: string | undefined;
|
|
8916
9231
|
priority?: number | undefined;
|
|
8917
9232
|
category?: string | undefined;
|
|
8918
9233
|
showInStarters?: boolean | undefined;
|
|
9234
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9235
|
+
'user-invocable'?: boolean | undefined;
|
|
9236
|
+
'allowed-tools'?: string[] | undefined;
|
|
8919
9237
|
} | {
|
|
8920
9238
|
file: string;
|
|
8921
9239
|
type: "file";
|
|
9240
|
+
agent?: string | undefined;
|
|
9241
|
+
context?: "inline" | "fork" | undefined;
|
|
9242
|
+
model?: string | undefined;
|
|
8922
9243
|
showInStarters?: boolean | undefined;
|
|
9244
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9245
|
+
'user-invocable'?: boolean | undefined;
|
|
9246
|
+
'allowed-tools'?: string[] | undefined;
|
|
9247
|
+
namespace?: string | undefined;
|
|
8923
9248
|
})[]>>>;
|
|
8924
9249
|
plugins: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
8925
9250
|
contentPolicy: z.ZodOptional<z.ZodObject<{
|
|
@@ -9061,15 +9386,15 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9061
9386
|
}, "strict", z.ZodTypeAny, {
|
|
9062
9387
|
llm: {
|
|
9063
9388
|
model: string;
|
|
9064
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
9389
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
9065
9390
|
apiKey?: string | undefined;
|
|
9391
|
+
maxInputTokens?: number | undefined;
|
|
9066
9392
|
maxIterations?: number | undefined;
|
|
9067
9393
|
baseURL?: string | undefined;
|
|
9068
|
-
maxInputTokens?: number | undefined;
|
|
9069
9394
|
maxOutputTokens?: number | undefined;
|
|
9070
9395
|
temperature?: number | undefined;
|
|
9071
9396
|
allowedMediaTypes?: string[] | undefined;
|
|
9072
|
-
reasoningEffort?: "
|
|
9397
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
9073
9398
|
} & z.BRAND<"ValidatedLLMConfig">;
|
|
9074
9399
|
tools: Record<string, {
|
|
9075
9400
|
maxOutputChars?: number | undefined;
|
|
@@ -9157,8 +9482,16 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9157
9482
|
file: string;
|
|
9158
9483
|
type: "file";
|
|
9159
9484
|
showInStarters: boolean;
|
|
9485
|
+
agent?: string | undefined;
|
|
9486
|
+
context?: "inline" | "fork" | undefined;
|
|
9487
|
+
model?: string | undefined;
|
|
9488
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9489
|
+
'user-invocable'?: boolean | undefined;
|
|
9490
|
+
'allowed-tools'?: string[] | undefined;
|
|
9491
|
+
namespace?: string | undefined;
|
|
9160
9492
|
} | {
|
|
9161
9493
|
title: string;
|
|
9494
|
+
context: "inline" | "fork";
|
|
9162
9495
|
prompt: string;
|
|
9163
9496
|
description: string;
|
|
9164
9497
|
type: "inline";
|
|
@@ -9166,6 +9499,11 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9166
9499
|
priority: number;
|
|
9167
9500
|
category: string;
|
|
9168
9501
|
showInStarters: boolean;
|
|
9502
|
+
'disable-model-invocation': boolean;
|
|
9503
|
+
'user-invocable': boolean;
|
|
9504
|
+
agent?: string | undefined;
|
|
9505
|
+
model?: string | undefined;
|
|
9506
|
+
'allowed-tools'?: string[] | undefined;
|
|
9169
9507
|
})[];
|
|
9170
9508
|
agentId: string;
|
|
9171
9509
|
systemPrompt: ({
|
|
@@ -9227,7 +9565,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9227
9565
|
url: string;
|
|
9228
9566
|
headers: Record<string, string>;
|
|
9229
9567
|
}) & z.BRAND<"ValidatedMcpServerConfig">> & z.BRAND<"ValidatedServerConfigs">;
|
|
9230
|
-
internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[];
|
|
9568
|
+
internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[];
|
|
9231
9569
|
customTools: any[];
|
|
9232
9570
|
sessions: {
|
|
9233
9571
|
maxSessions: number;
|
|
@@ -9478,15 +9816,15 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9478
9816
|
}, {
|
|
9479
9817
|
llm: {
|
|
9480
9818
|
model: string;
|
|
9481
|
-
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
|
|
9819
|
+
provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto";
|
|
9482
9820
|
apiKey?: string | undefined;
|
|
9821
|
+
maxInputTokens?: number | undefined;
|
|
9483
9822
|
maxIterations?: number | undefined;
|
|
9484
9823
|
baseURL?: string | undefined;
|
|
9485
|
-
maxInputTokens?: number | undefined;
|
|
9486
9824
|
maxOutputTokens?: number | undefined;
|
|
9487
9825
|
temperature?: number | undefined;
|
|
9488
9826
|
allowedMediaTypes?: string[] | undefined;
|
|
9489
|
-
reasoningEffort?: "
|
|
9827
|
+
reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
|
|
9490
9828
|
};
|
|
9491
9829
|
systemPrompt: string | {
|
|
9492
9830
|
contributors?: ({
|
|
@@ -9616,15 +9954,28 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9616
9954
|
prompt: string;
|
|
9617
9955
|
type: "inline";
|
|
9618
9956
|
id: string;
|
|
9957
|
+
agent?: string | undefined;
|
|
9958
|
+
context?: "inline" | "fork" | undefined;
|
|
9619
9959
|
description?: string | undefined;
|
|
9960
|
+
model?: string | undefined;
|
|
9620
9961
|
title?: string | undefined;
|
|
9621
9962
|
priority?: number | undefined;
|
|
9622
9963
|
category?: string | undefined;
|
|
9623
9964
|
showInStarters?: boolean | undefined;
|
|
9965
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9966
|
+
'user-invocable'?: boolean | undefined;
|
|
9967
|
+
'allowed-tools'?: string[] | undefined;
|
|
9624
9968
|
} | {
|
|
9625
9969
|
file: string;
|
|
9626
9970
|
type: "file";
|
|
9971
|
+
agent?: string | undefined;
|
|
9972
|
+
context?: "inline" | "fork" | undefined;
|
|
9973
|
+
model?: string | undefined;
|
|
9627
9974
|
showInStarters?: boolean | undefined;
|
|
9975
|
+
'disable-model-invocation'?: boolean | undefined;
|
|
9976
|
+
'user-invocable'?: boolean | undefined;
|
|
9977
|
+
'allowed-tools'?: string[] | undefined;
|
|
9978
|
+
namespace?: string | undefined;
|
|
9628
9979
|
})[] | undefined;
|
|
9629
9980
|
agentId?: string | undefined;
|
|
9630
9981
|
agentCard?: {
|
|
@@ -9821,7 +10172,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
|
|
|
9821
10172
|
connectionMode?: "strict" | "lenient" | undefined;
|
|
9822
10173
|
headers?: Record<string, string> | undefined;
|
|
9823
10174
|
}> | undefined;
|
|
9824
|
-
internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[] | undefined;
|
|
10175
|
+
internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[] | undefined;
|
|
9825
10176
|
customTools?: any[] | undefined;
|
|
9826
10177
|
sessions?: {
|
|
9827
10178
|
maxSessions?: number | undefined;
|