@dexto/core 1.5.6 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/agent/DextoAgent.cjs +189 -30
  2. package/dist/agent/DextoAgent.d.ts +44 -9
  3. package/dist/agent/DextoAgent.d.ts.map +1 -1
  4. package/dist/agent/DextoAgent.js +190 -31
  5. package/dist/agent/schemas.cjs +5 -0
  6. package/dist/agent/schemas.d.ts +456 -66
  7. package/dist/agent/schemas.d.ts.map +1 -1
  8. package/dist/agent/schemas.js +5 -0
  9. package/dist/context/manager.cjs +1 -1
  10. package/dist/context/manager.js +1 -1
  11. package/dist/context/utils.cjs +90 -17
  12. package/dist/context/utils.d.ts.map +1 -1
  13. package/dist/context/utils.js +90 -17
  14. package/dist/errors/types.cjs +2 -1
  15. package/dist/errors/types.d.ts +2 -1
  16. package/dist/errors/types.d.ts.map +1 -1
  17. package/dist/errors/types.js +2 -1
  18. package/dist/events/index.cjs +4 -1
  19. package/dist/events/index.d.ts +37 -2
  20. package/dist/events/index.d.ts.map +1 -1
  21. package/dist/events/index.js +4 -1
  22. package/dist/image/types.d.ts +15 -0
  23. package/dist/image/types.d.ts.map +1 -1
  24. package/dist/index.browser.d.ts +1 -1
  25. package/dist/index.browser.d.ts.map +1 -1
  26. package/dist/llm/curation-config.cjs +82 -0
  27. package/dist/llm/curation-config.d.ts +13 -0
  28. package/dist/llm/curation-config.d.ts.map +1 -0
  29. package/dist/llm/curation-config.js +59 -0
  30. package/dist/llm/curation.cjs +57 -0
  31. package/dist/llm/curation.d.ts +16 -0
  32. package/dist/llm/curation.d.ts.map +1 -0
  33. package/dist/llm/curation.js +34 -0
  34. package/dist/llm/error-codes.cjs +1 -0
  35. package/dist/llm/error-codes.d.ts +1 -0
  36. package/dist/llm/error-codes.d.ts.map +1 -1
  37. package/dist/llm/error-codes.js +1 -0
  38. package/dist/llm/errors.cjs +16 -1
  39. package/dist/llm/errors.d.ts +15 -8
  40. package/dist/llm/errors.d.ts.map +1 -1
  41. package/dist/llm/errors.js +16 -1
  42. package/dist/llm/executor/provider-options.cjs +1 -1
  43. package/dist/llm/executor/provider-options.js +1 -1
  44. package/dist/llm/executor/turn-executor.cjs +35 -2
  45. package/dist/llm/executor/turn-executor.d.ts.map +1 -1
  46. package/dist/llm/executor/turn-executor.js +35 -2
  47. package/dist/llm/index.cjs +14 -3
  48. package/dist/llm/index.d.ts +3 -1
  49. package/dist/llm/index.d.ts.map +1 -1
  50. package/dist/llm/index.js +13 -2
  51. package/dist/llm/registry/auto-update.cjs +263 -0
  52. package/dist/llm/registry/auto-update.d.ts +27 -0
  53. package/dist/llm/registry/auto-update.d.ts.map +1 -0
  54. package/dist/llm/registry/auto-update.js +227 -0
  55. package/dist/llm/registry/index.cjs +806 -0
  56. package/dist/llm/{registry.d.ts → registry/index.d.ts} +67 -13
  57. package/dist/llm/registry/index.d.ts.map +1 -0
  58. package/dist/llm/registry/index.js +756 -0
  59. package/dist/llm/registry/models.generated.cjs +4861 -0
  60. package/dist/llm/registry/models.generated.d.ts +431 -0
  61. package/dist/llm/registry/models.generated.d.ts.map +1 -0
  62. package/dist/llm/registry/models.generated.js +4838 -0
  63. package/dist/llm/registry/models.manual.cjs +44 -0
  64. package/dist/llm/registry/models.manual.d.ts +22 -0
  65. package/dist/llm/registry/models.manual.d.ts.map +1 -0
  66. package/dist/llm/registry/models.manual.js +21 -0
  67. package/dist/llm/registry/sync.cjs +354 -0
  68. package/dist/llm/registry/sync.d.ts +41 -0
  69. package/dist/llm/registry/sync.d.ts.map +1 -0
  70. package/dist/llm/registry/sync.js +328 -0
  71. package/dist/llm/resolver.cjs +29 -7
  72. package/dist/llm/resolver.d.ts +1 -1
  73. package/dist/llm/resolver.d.ts.map +1 -1
  74. package/dist/llm/resolver.js +31 -8
  75. package/dist/llm/schemas.cjs +13 -1
  76. package/dist/llm/schemas.d.ts +59 -59
  77. package/dist/llm/schemas.d.ts.map +1 -1
  78. package/dist/llm/schemas.js +14 -1
  79. package/dist/llm/services/factory.cjs +43 -27
  80. package/dist/llm/services/factory.d.ts +20 -1
  81. package/dist/llm/services/factory.d.ts.map +1 -1
  82. package/dist/llm/services/factory.js +44 -28
  83. package/dist/llm/services/test-utils.integration.cjs +5 -1
  84. package/dist/llm/services/test-utils.integration.d.ts.map +1 -1
  85. package/dist/llm/services/test-utils.integration.js +5 -1
  86. package/dist/llm/services/vercel.cjs +4 -1
  87. package/dist/llm/services/vercel.d.ts +1 -0
  88. package/dist/llm/services/vercel.d.ts.map +1 -1
  89. package/dist/llm/services/vercel.js +4 -1
  90. package/dist/llm/types.cjs +5 -2
  91. package/dist/llm/types.d.ts +1 -1
  92. package/dist/llm/types.d.ts.map +1 -1
  93. package/dist/llm/types.js +5 -2
  94. package/dist/llm/validation.cjs +1 -1
  95. package/dist/llm/validation.js +1 -1
  96. package/dist/logger/v2/dexto-logger.cjs +4 -0
  97. package/dist/logger/v2/dexto-logger.d.ts +3 -0
  98. package/dist/logger/v2/dexto-logger.d.ts.map +1 -1
  99. package/dist/logger/v2/dexto-logger.js +4 -0
  100. package/dist/logger/v2/types.d.ts +2 -0
  101. package/dist/logger/v2/types.d.ts.map +1 -1
  102. package/dist/mcp/error-codes.cjs +1 -0
  103. package/dist/mcp/error-codes.d.ts +1 -0
  104. package/dist/mcp/error-codes.d.ts.map +1 -1
  105. package/dist/mcp/error-codes.js +1 -0
  106. package/dist/mcp/errors.cjs +13 -0
  107. package/dist/mcp/errors.d.ts +7 -0
  108. package/dist/mcp/errors.d.ts.map +1 -1
  109. package/dist/mcp/errors.js +13 -0
  110. package/dist/mcp/manager.cjs +46 -4
  111. package/dist/mcp/manager.d.ts +10 -2
  112. package/dist/mcp/manager.d.ts.map +1 -1
  113. package/dist/mcp/manager.js +46 -4
  114. package/dist/mcp/mcp-client.cjs +89 -5
  115. package/dist/mcp/mcp-client.d.ts +5 -1
  116. package/dist/mcp/mcp-client.d.ts.map +1 -1
  117. package/dist/mcp/mcp-client.js +89 -5
  118. package/dist/mcp/schemas.cjs +6 -1
  119. package/dist/mcp/schemas.d.ts +1 -1
  120. package/dist/mcp/schemas.d.ts.map +1 -1
  121. package/dist/mcp/schemas.js +6 -1
  122. package/dist/mcp/types.d.ts +5 -0
  123. package/dist/mcp/types.d.ts.map +1 -1
  124. package/dist/prompts/index.d.ts +1 -1
  125. package/dist/prompts/index.d.ts.map +1 -1
  126. package/dist/prompts/prompt-manager.cjs +90 -4
  127. package/dist/prompts/prompt-manager.d.ts +16 -6
  128. package/dist/prompts/prompt-manager.d.ts.map +1 -1
  129. package/dist/prompts/prompt-manager.js +90 -4
  130. package/dist/prompts/providers/config-prompt-provider.cjs +104 -10
  131. package/dist/prompts/providers/config-prompt-provider.d.ts.map +1 -1
  132. package/dist/prompts/providers/config-prompt-provider.js +105 -11
  133. package/dist/prompts/providers/custom-prompt-provider.cjs +1 -0
  134. package/dist/prompts/providers/custom-prompt-provider.d.ts.map +1 -1
  135. package/dist/prompts/providers/custom-prompt-provider.js +1 -0
  136. package/dist/prompts/providers/mcp-prompt-provider.cjs +1 -0
  137. package/dist/prompts/providers/mcp-prompt-provider.d.ts.map +1 -1
  138. package/dist/prompts/providers/mcp-prompt-provider.js +1 -0
  139. package/dist/prompts/schemas.cjs +28 -2
  140. package/dist/prompts/schemas.d.ts +130 -0
  141. package/dist/prompts/schemas.d.ts.map +1 -1
  142. package/dist/prompts/schemas.js +28 -2
  143. package/dist/prompts/types.d.ts +55 -3
  144. package/dist/prompts/types.d.ts.map +1 -1
  145. package/dist/resources/handlers/filesystem-handler.cjs +25 -0
  146. package/dist/resources/handlers/filesystem-handler.d.ts +1 -0
  147. package/dist/resources/handlers/filesystem-handler.d.ts.map +1 -1
  148. package/dist/resources/handlers/filesystem-handler.js +25 -0
  149. package/dist/session/chat-session.cjs +1 -1
  150. package/dist/session/chat-session.d.ts +1 -1
  151. package/dist/session/chat-session.d.ts.map +1 -1
  152. package/dist/session/chat-session.js +1 -1
  153. package/dist/session/index.d.ts +1 -1
  154. package/dist/session/index.d.ts.map +1 -1
  155. package/dist/session/message-queue.cjs +29 -5
  156. package/dist/session/message-queue.d.ts +3 -1
  157. package/dist/session/message-queue.d.ts.map +1 -1
  158. package/dist/session/message-queue.js +29 -5
  159. package/dist/session/session-manager.cjs +84 -3
  160. package/dist/session/session-manager.d.ts +12 -0
  161. package/dist/session/session-manager.d.ts.map +1 -1
  162. package/dist/session/session-manager.js +74 -3
  163. package/dist/session/types.d.ts +1 -0
  164. package/dist/session/types.d.ts.map +1 -1
  165. package/dist/systemPrompt/contributors.cjs +42 -0
  166. package/dist/systemPrompt/contributors.d.ts +13 -0
  167. package/dist/systemPrompt/contributors.d.ts.map +1 -1
  168. package/dist/systemPrompt/contributors.js +41 -0
  169. package/dist/tools/errors.cjs +7 -3
  170. package/dist/tools/errors.d.ts +5 -1
  171. package/dist/tools/errors.d.ts.map +1 -1
  172. package/dist/tools/errors.js +7 -3
  173. package/dist/tools/internal-tools/constants.cjs +2 -1
  174. package/dist/tools/internal-tools/constants.d.ts +1 -1
  175. package/dist/tools/internal-tools/constants.d.ts.map +1 -1
  176. package/dist/tools/internal-tools/constants.js +2 -1
  177. package/dist/tools/internal-tools/implementations/invoke-skill-tool.cjs +140 -0
  178. package/dist/tools/internal-tools/implementations/invoke-skill-tool.d.ts +24 -0
  179. package/dist/tools/internal-tools/implementations/invoke-skill-tool.d.ts.map +1 -0
  180. package/dist/tools/internal-tools/implementations/invoke-skill-tool.js +117 -0
  181. package/dist/tools/internal-tools/provider.cjs +15 -0
  182. package/dist/tools/internal-tools/provider.d.ts +15 -1
  183. package/dist/tools/internal-tools/provider.d.ts.map +1 -1
  184. package/dist/tools/internal-tools/provider.js +15 -0
  185. package/dist/tools/internal-tools/registry.cjs +6 -0
  186. package/dist/tools/internal-tools/registry.d.ts +35 -1
  187. package/dist/tools/internal-tools/registry.d.ts.map +1 -1
  188. package/dist/tools/internal-tools/registry.js +6 -0
  189. package/dist/tools/schemas.d.ts +1 -1
  190. package/dist/tools/schemas.d.ts.map +1 -1
  191. package/dist/tools/tool-call-metadata.cjs +75 -0
  192. package/dist/tools/tool-call-metadata.d.ts +16 -0
  193. package/dist/tools/tool-call-metadata.d.ts.map +1 -0
  194. package/dist/tools/tool-call-metadata.js +51 -0
  195. package/dist/tools/tool-manager.cjs +481 -103
  196. package/dist/tools/tool-manager.d.ts +131 -9
  197. package/dist/tools/tool-manager.d.ts.map +1 -1
  198. package/dist/tools/tool-manager.js +482 -104
  199. package/dist/utils/api-key-resolver.cjs +5 -2
  200. package/dist/utils/api-key-resolver.d.ts.map +1 -1
  201. package/dist/utils/api-key-resolver.js +5 -2
  202. package/dist/utils/env.cjs +49 -0
  203. package/dist/utils/env.d.ts +4 -0
  204. package/dist/utils/env.d.ts.map +1 -0
  205. package/dist/utils/env.js +24 -0
  206. package/dist/utils/index.cjs +3 -1
  207. package/dist/utils/index.d.ts +1 -0
  208. package/dist/utils/index.d.ts.map +1 -1
  209. package/dist/utils/index.js +1 -0
  210. package/dist/utils/service-initializer.cjs +25 -7
  211. package/dist/utils/service-initializer.d.ts +24 -1
  212. package/dist/utils/service-initializer.d.ts.map +1 -1
  213. package/dist/utils/service-initializer.js +25 -7
  214. package/package.json +6 -2
  215. package/dist/llm/registry.cjs +0 -1631
  216. package/dist/llm/registry.d.ts.map +0 -1
  217. package/dist/llm/registry.js +0 -1586
@@ -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-nova"]>;
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-nova";
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?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
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-nova";
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?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
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-nova";
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?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
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-nova";
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?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
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>;
@@ -2245,6 +2245,13 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
2245
2245
  includeTags?: boolean | undefined;
2246
2246
  pinnedOnly?: boolean | undefined;
2247
2247
  }>>;
2248
+ agentFile: z.ZodDefault<z.ZodObject<{
2249
+ discoverInCwd: z.ZodDefault<z.ZodBoolean>;
2250
+ }, "strict", z.ZodTypeAny, {
2251
+ discoverInCwd: boolean;
2252
+ }, {
2253
+ discoverInCwd?: boolean | undefined;
2254
+ }>>;
2248
2255
  image: z.ZodOptional<z.ZodString>;
2249
2256
  agentId: z.ZodDefault<z.ZodString>;
2250
2257
  mcpServers: z.ZodDefault<z.ZodBranded<z.ZodRecord<z.ZodString, z.ZodBranded<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -2358,7 +2365,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
2358
2365
  connectionMode?: "strict" | "lenient" | undefined;
2359
2366
  headers?: Record<string, string> | undefined;
2360
2367
  }>, "ValidatedMcpServerConfig">>, "ValidatedServerConfigs">>;
2361
- internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource"]>, "many">>>;
2368
+ internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource", "invoke_skill"]>, "many">>>;
2362
2369
  customTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">>>;
2363
2370
  tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2364
2371
  maxOutputChars: z.ZodOptional<z.ZodNumber>;
@@ -2976,7 +2983,14 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
2976
2983
  category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2977
2984
  priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2978
2985
  showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2986
+ 'disable-model-invocation': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2987
+ 'user-invocable': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2988
+ 'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2989
+ model: z.ZodOptional<z.ZodString>;
2990
+ context: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inline", "fork"]>>>;
2991
+ agent: z.ZodOptional<z.ZodString>;
2979
2992
  }, "strict", z.ZodTypeAny, {
2993
+ context: "inline" | "fork";
2980
2994
  prompt: string;
2981
2995
  description: string;
2982
2996
  type: "inline";
@@ -2984,29 +2998,62 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
2984
2998
  priority: number;
2985
2999
  category: string;
2986
3000
  showInStarters: boolean;
3001
+ 'disable-model-invocation': boolean;
3002
+ 'user-invocable': boolean;
3003
+ agent?: string | undefined;
3004
+ model?: string | undefined;
2987
3005
  title?: string | undefined;
3006
+ 'allowed-tools'?: string[] | undefined;
2988
3007
  }, {
2989
3008
  prompt: string;
2990
3009
  type: "inline";
2991
3010
  id: string;
3011
+ agent?: string | undefined;
3012
+ context?: "inline" | "fork" | undefined;
2992
3013
  description?: string | undefined;
3014
+ model?: string | undefined;
2993
3015
  title?: string | undefined;
2994
3016
  priority?: number | undefined;
2995
3017
  category?: string | undefined;
2996
3018
  showInStarters?: boolean | undefined;
3019
+ 'disable-model-invocation'?: boolean | undefined;
3020
+ 'user-invocable'?: boolean | undefined;
3021
+ 'allowed-tools'?: string[] | undefined;
2997
3022
  }>, z.ZodObject<{
2998
3023
  type: z.ZodLiteral<"file">;
2999
3024
  file: z.ZodString;
3000
3025
  showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3026
+ 'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
3027
+ 'user-invocable': z.ZodOptional<z.ZodBoolean>;
3028
+ 'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3029
+ model: z.ZodOptional<z.ZodString>;
3030
+ context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
3031
+ agent: z.ZodOptional<z.ZodString>;
3032
+ namespace: z.ZodOptional<z.ZodString>;
3001
3033
  }, "strict", z.ZodTypeAny, {
3002
3034
  file: string;
3003
3035
  type: "file";
3004
3036
  showInStarters: boolean;
3037
+ agent?: string | undefined;
3038
+ context?: "inline" | "fork" | undefined;
3039
+ model?: string | undefined;
3040
+ 'disable-model-invocation'?: boolean | undefined;
3041
+ 'user-invocable'?: boolean | undefined;
3042
+ 'allowed-tools'?: string[] | undefined;
3043
+ namespace?: string | undefined;
3005
3044
  }, {
3006
3045
  file: string;
3007
3046
  type: "file";
3047
+ agent?: string | undefined;
3048
+ context?: "inline" | "fork" | undefined;
3049
+ model?: string | undefined;
3008
3050
  showInStarters?: boolean | undefined;
3051
+ 'disable-model-invocation'?: boolean | undefined;
3052
+ 'user-invocable'?: boolean | undefined;
3053
+ 'allowed-tools'?: string[] | undefined;
3054
+ namespace?: string | undefined;
3009
3055
  }>]>, "many">, ({
3056
+ context: "inline" | "fork";
3010
3057
  prompt: string;
3011
3058
  description: string;
3012
3059
  type: "inline";
@@ -3014,30 +3061,63 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3014
3061
  priority: number;
3015
3062
  category: string;
3016
3063
  showInStarters: boolean;
3064
+ 'disable-model-invocation': boolean;
3065
+ 'user-invocable': boolean;
3066
+ agent?: string | undefined;
3067
+ model?: string | undefined;
3017
3068
  title?: string | undefined;
3069
+ 'allowed-tools'?: string[] | undefined;
3018
3070
  } | {
3019
3071
  file: string;
3020
3072
  type: "file";
3021
3073
  showInStarters: boolean;
3074
+ agent?: string | undefined;
3075
+ context?: "inline" | "fork" | undefined;
3076
+ model?: string | undefined;
3077
+ 'disable-model-invocation'?: boolean | undefined;
3078
+ 'user-invocable'?: boolean | undefined;
3079
+ 'allowed-tools'?: string[] | undefined;
3080
+ namespace?: string | undefined;
3022
3081
  })[], ({
3023
3082
  prompt: string;
3024
3083
  type: "inline";
3025
3084
  id: string;
3085
+ agent?: string | undefined;
3086
+ context?: "inline" | "fork" | undefined;
3026
3087
  description?: string | undefined;
3088
+ model?: string | undefined;
3027
3089
  title?: string | undefined;
3028
3090
  priority?: number | undefined;
3029
3091
  category?: string | undefined;
3030
3092
  showInStarters?: boolean | undefined;
3093
+ 'disable-model-invocation'?: boolean | undefined;
3094
+ 'user-invocable'?: boolean | undefined;
3095
+ 'allowed-tools'?: string[] | undefined;
3031
3096
  } | {
3032
3097
  file: string;
3033
3098
  type: "file";
3099
+ agent?: string | undefined;
3100
+ context?: "inline" | "fork" | undefined;
3101
+ model?: string | undefined;
3034
3102
  showInStarters?: boolean | undefined;
3103
+ 'disable-model-invocation'?: boolean | undefined;
3104
+ 'user-invocable'?: boolean | undefined;
3105
+ 'allowed-tools'?: string[] | undefined;
3106
+ namespace?: string | undefined;
3035
3107
  })[]>, ({
3036
3108
  file: string;
3037
3109
  type: "file";
3038
3110
  showInStarters: boolean;
3111
+ agent?: string | undefined;
3112
+ context?: "inline" | "fork" | undefined;
3113
+ model?: string | undefined;
3114
+ 'disable-model-invocation'?: boolean | undefined;
3115
+ 'user-invocable'?: boolean | undefined;
3116
+ 'allowed-tools'?: string[] | undefined;
3117
+ namespace?: string | undefined;
3039
3118
  } | {
3040
3119
  title: string;
3120
+ context: "inline" | "fork";
3041
3121
  prompt: string;
3042
3122
  description: string;
3043
3123
  type: "inline";
@@ -3045,19 +3125,37 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3045
3125
  priority: number;
3046
3126
  category: string;
3047
3127
  showInStarters: boolean;
3128
+ 'disable-model-invocation': boolean;
3129
+ 'user-invocable': boolean;
3130
+ agent?: string | undefined;
3131
+ model?: string | undefined;
3132
+ 'allowed-tools'?: string[] | undefined;
3048
3133
  })[], ({
3049
3134
  prompt: string;
3050
3135
  type: "inline";
3051
3136
  id: string;
3137
+ agent?: string | undefined;
3138
+ context?: "inline" | "fork" | undefined;
3052
3139
  description?: string | undefined;
3140
+ model?: string | undefined;
3053
3141
  title?: string | undefined;
3054
3142
  priority?: number | undefined;
3055
3143
  category?: string | undefined;
3056
3144
  showInStarters?: boolean | undefined;
3145
+ 'disable-model-invocation'?: boolean | undefined;
3146
+ 'user-invocable'?: boolean | undefined;
3147
+ 'allowed-tools'?: string[] | undefined;
3057
3148
  } | {
3058
3149
  file: string;
3059
3150
  type: "file";
3151
+ agent?: string | undefined;
3152
+ context?: "inline" | "fork" | undefined;
3153
+ model?: string | undefined;
3060
3154
  showInStarters?: boolean | undefined;
3155
+ 'disable-model-invocation'?: boolean | undefined;
3156
+ 'user-invocable'?: boolean | undefined;
3157
+ 'allowed-tools'?: string[] | undefined;
3158
+ namespace?: string | undefined;
3061
3159
  })[]>>>;
3062
3160
  plugins: z.ZodDefault<z.ZodDefault<z.ZodObject<{
3063
3161
  contentPolicy: z.ZodOptional<z.ZodObject<{
@@ -3199,15 +3297,15 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3199
3297
  }, "strict", z.ZodTypeAny, {
3200
3298
  llm: {
3201
3299
  model: string;
3202
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
3300
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
3203
3301
  apiKey?: string | undefined;
3302
+ maxInputTokens?: number | undefined;
3204
3303
  maxIterations?: number | undefined;
3205
3304
  baseURL?: string | undefined;
3206
- maxInputTokens?: number | undefined;
3207
3305
  maxOutputTokens?: number | undefined;
3208
3306
  temperature?: number | undefined;
3209
3307
  allowedMediaTypes?: string[] | undefined;
3210
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
3308
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
3211
3309
  } & z.BRAND<"ValidatedLLMConfig">;
3212
3310
  tools: Record<string, {
3213
3311
  maxOutputChars?: number | undefined;
@@ -3295,8 +3393,16 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3295
3393
  file: string;
3296
3394
  type: "file";
3297
3395
  showInStarters: boolean;
3396
+ agent?: string | undefined;
3397
+ context?: "inline" | "fork" | undefined;
3398
+ model?: string | undefined;
3399
+ 'disable-model-invocation'?: boolean | undefined;
3400
+ 'user-invocable'?: boolean | undefined;
3401
+ 'allowed-tools'?: string[] | undefined;
3402
+ namespace?: string | undefined;
3298
3403
  } | {
3299
3404
  title: string;
3405
+ context: "inline" | "fork";
3300
3406
  prompt: string;
3301
3407
  description: string;
3302
3408
  type: "inline";
@@ -3304,6 +3410,11 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3304
3410
  priority: number;
3305
3411
  category: string;
3306
3412
  showInStarters: boolean;
3413
+ 'disable-model-invocation': boolean;
3414
+ 'user-invocable': boolean;
3415
+ agent?: string | undefined;
3416
+ model?: string | undefined;
3417
+ 'allowed-tools'?: string[] | undefined;
3307
3418
  })[];
3308
3419
  agentId: string;
3309
3420
  systemPrompt: ({
@@ -3342,6 +3453,9 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3342
3453
  enabled: boolean;
3343
3454
  }[];
3344
3455
  }) & z.BRAND<"ValidatedSystemPromptConfig">;
3456
+ agentFile: {
3457
+ discoverInCwd: boolean;
3458
+ };
3345
3459
  mcpServers: Record<string, ({
3346
3460
  timeout: number;
3347
3461
  type: "stdio";
@@ -3365,7 +3479,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3365
3479
  url: string;
3366
3480
  headers: Record<string, string>;
3367
3481
  }) & z.BRAND<"ValidatedMcpServerConfig">> & z.BRAND<"ValidatedServerConfigs">;
3368
- internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[];
3482
+ internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[];
3369
3483
  customTools: any[];
3370
3484
  sessions: {
3371
3485
  maxSessions: number;
@@ -3616,15 +3730,15 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3616
3730
  }, {
3617
3731
  llm: {
3618
3732
  model: string;
3619
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
3733
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
3620
3734
  apiKey?: string | undefined;
3735
+ maxInputTokens?: number | undefined;
3621
3736
  maxIterations?: number | undefined;
3622
3737
  baseURL?: string | undefined;
3623
- maxInputTokens?: number | undefined;
3624
3738
  maxOutputTokens?: number | undefined;
3625
3739
  temperature?: number | undefined;
3626
3740
  allowedMediaTypes?: string[] | undefined;
3627
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
3741
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
3628
3742
  };
3629
3743
  systemPrompt: string | {
3630
3744
  contributors?: ({
@@ -3754,15 +3868,28 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3754
3868
  prompt: string;
3755
3869
  type: "inline";
3756
3870
  id: string;
3871
+ agent?: string | undefined;
3872
+ context?: "inline" | "fork" | undefined;
3757
3873
  description?: string | undefined;
3874
+ model?: string | undefined;
3758
3875
  title?: string | undefined;
3759
3876
  priority?: number | undefined;
3760
3877
  category?: string | undefined;
3761
3878
  showInStarters?: boolean | undefined;
3879
+ 'disable-model-invocation'?: boolean | undefined;
3880
+ 'user-invocable'?: boolean | undefined;
3881
+ 'allowed-tools'?: string[] | undefined;
3762
3882
  } | {
3763
3883
  file: string;
3764
3884
  type: "file";
3885
+ agent?: string | undefined;
3886
+ context?: "inline" | "fork" | undefined;
3887
+ model?: string | undefined;
3765
3888
  showInStarters?: boolean | undefined;
3889
+ 'disable-model-invocation'?: boolean | undefined;
3890
+ 'user-invocable'?: boolean | undefined;
3891
+ 'allowed-tools'?: string[] | undefined;
3892
+ namespace?: string | undefined;
3766
3893
  })[] | undefined;
3767
3894
  agentId?: string | undefined;
3768
3895
  agentCard?: {
@@ -3936,6 +4063,9 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3936
4063
  includeTags?: boolean | undefined;
3937
4064
  pinnedOnly?: boolean | undefined;
3938
4065
  } | undefined;
4066
+ agentFile?: {
4067
+ discoverInCwd?: boolean | undefined;
4068
+ } | undefined;
3939
4069
  mcpServers?: Record<string, {
3940
4070
  type: "stdio";
3941
4071
  command: string;
@@ -3959,7 +4089,7 @@ export declare function createAgentConfigSchema(options?: LLMValidationOptions):
3959
4089
  connectionMode?: "strict" | "lenient" | undefined;
3960
4090
  headers?: Record<string, string> | undefined;
3961
4091
  }> | undefined;
3962
- internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[] | undefined;
4092
+ internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[] | undefined;
3963
4093
  customTools?: any[] | undefined;
3964
4094
  sessions?: {
3965
4095
  maxSessions?: number | undefined;
@@ -4191,7 +4321,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4191
4321
  })[] | undefined;
4192
4322
  }>]>, "ValidatedSystemPromptConfig">;
4193
4323
  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"]>;
4324
+ provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
4195
4325
  model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
4196
4326
  apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4197
4327
  maxIterations: z.ZodOptional<z.ZodNumber>;
@@ -4203,48 +4333,48 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4203
4333
  reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
4204
4334
  }, "strict", z.ZodTypeAny, {
4205
4335
  model: string;
4206
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
4336
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
4207
4337
  apiKey?: string | undefined;
4338
+ maxInputTokens?: number | undefined;
4208
4339
  maxIterations?: number | undefined;
4209
4340
  baseURL?: string | undefined;
4210
- maxInputTokens?: number | undefined;
4211
4341
  maxOutputTokens?: number | undefined;
4212
4342
  temperature?: number | undefined;
4213
4343
  allowedMediaTypes?: string[] | undefined;
4214
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
4344
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
4215
4345
  }, {
4216
4346
  model: string;
4217
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
4347
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
4218
4348
  apiKey?: string | undefined;
4349
+ maxInputTokens?: number | undefined;
4219
4350
  maxIterations?: number | undefined;
4220
4351
  baseURL?: string | undefined;
4221
- maxInputTokens?: number | undefined;
4222
4352
  maxOutputTokens?: number | undefined;
4223
4353
  temperature?: number | undefined;
4224
4354
  allowedMediaTypes?: string[] | undefined;
4225
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
4355
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
4226
4356
  }>, {
4227
4357
  model: string;
4228
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
4358
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
4229
4359
  apiKey?: string | undefined;
4360
+ maxInputTokens?: number | undefined;
4230
4361
  maxIterations?: number | undefined;
4231
4362
  baseURL?: string | undefined;
4232
- maxInputTokens?: number | undefined;
4233
4363
  maxOutputTokens?: number | undefined;
4234
4364
  temperature?: number | undefined;
4235
4365
  allowedMediaTypes?: string[] | undefined;
4236
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
4366
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
4237
4367
  }, {
4238
4368
  model: string;
4239
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
4369
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
4240
4370
  apiKey?: string | undefined;
4371
+ maxInputTokens?: number | undefined;
4241
4372
  maxIterations?: number | undefined;
4242
4373
  baseURL?: string | undefined;
4243
- maxInputTokens?: number | undefined;
4244
4374
  maxOutputTokens?: number | undefined;
4245
4375
  temperature?: number | undefined;
4246
4376
  allowedMediaTypes?: string[] | undefined;
4247
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
4377
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
4248
4378
  }>, "ValidatedLLMConfig">;
4249
4379
  agentCard: z.ZodOptional<z.ZodObject<{
4250
4380
  protocolVersion: z.ZodDefault<z.ZodString>;
@@ -5176,6 +5306,13 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
5176
5306
  includeTags?: boolean | undefined;
5177
5307
  pinnedOnly?: boolean | undefined;
5178
5308
  }>>;
5309
+ agentFile: z.ZodDefault<z.ZodObject<{
5310
+ discoverInCwd: z.ZodDefault<z.ZodBoolean>;
5311
+ }, "strict", z.ZodTypeAny, {
5312
+ discoverInCwd: boolean;
5313
+ }, {
5314
+ discoverInCwd?: boolean | undefined;
5315
+ }>>;
5179
5316
  image: z.ZodOptional<z.ZodString>;
5180
5317
  agentId: z.ZodDefault<z.ZodString>;
5181
5318
  mcpServers: z.ZodDefault<z.ZodBranded<z.ZodRecord<z.ZodString, z.ZodBranded<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -5289,7 +5426,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
5289
5426
  connectionMode?: "strict" | "lenient" | undefined;
5290
5427
  headers?: Record<string, string> | undefined;
5291
5428
  }>, "ValidatedMcpServerConfig">>, "ValidatedServerConfigs">>;
5292
- internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource"]>, "many">>>;
5429
+ internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource", "invoke_skill"]>, "many">>>;
5293
5430
  customTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">>>;
5294
5431
  tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
5295
5432
  maxOutputChars: z.ZodOptional<z.ZodNumber>;
@@ -5907,7 +6044,14 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
5907
6044
  category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5908
6045
  priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5909
6046
  showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6047
+ 'disable-model-invocation': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6048
+ 'user-invocable': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6049
+ 'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6050
+ model: z.ZodOptional<z.ZodString>;
6051
+ context: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inline", "fork"]>>>;
6052
+ agent: z.ZodOptional<z.ZodString>;
5910
6053
  }, "strict", z.ZodTypeAny, {
6054
+ context: "inline" | "fork";
5911
6055
  prompt: string;
5912
6056
  description: string;
5913
6057
  type: "inline";
@@ -5915,29 +6059,62 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
5915
6059
  priority: number;
5916
6060
  category: string;
5917
6061
  showInStarters: boolean;
6062
+ 'disable-model-invocation': boolean;
6063
+ 'user-invocable': boolean;
6064
+ agent?: string | undefined;
6065
+ model?: string | undefined;
5918
6066
  title?: string | undefined;
6067
+ 'allowed-tools'?: string[] | undefined;
5919
6068
  }, {
5920
6069
  prompt: string;
5921
6070
  type: "inline";
5922
6071
  id: string;
6072
+ agent?: string | undefined;
6073
+ context?: "inline" | "fork" | undefined;
5923
6074
  description?: string | undefined;
6075
+ model?: string | undefined;
5924
6076
  title?: string | undefined;
5925
6077
  priority?: number | undefined;
5926
6078
  category?: string | undefined;
5927
6079
  showInStarters?: boolean | undefined;
6080
+ 'disable-model-invocation'?: boolean | undefined;
6081
+ 'user-invocable'?: boolean | undefined;
6082
+ 'allowed-tools'?: string[] | undefined;
5928
6083
  }>, z.ZodObject<{
5929
6084
  type: z.ZodLiteral<"file">;
5930
6085
  file: z.ZodString;
5931
6086
  showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6087
+ 'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
6088
+ 'user-invocable': z.ZodOptional<z.ZodBoolean>;
6089
+ 'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6090
+ model: z.ZodOptional<z.ZodString>;
6091
+ context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
6092
+ agent: z.ZodOptional<z.ZodString>;
6093
+ namespace: z.ZodOptional<z.ZodString>;
5932
6094
  }, "strict", z.ZodTypeAny, {
5933
6095
  file: string;
5934
6096
  type: "file";
5935
6097
  showInStarters: boolean;
6098
+ agent?: string | undefined;
6099
+ context?: "inline" | "fork" | undefined;
6100
+ model?: string | undefined;
6101
+ 'disable-model-invocation'?: boolean | undefined;
6102
+ 'user-invocable'?: boolean | undefined;
6103
+ 'allowed-tools'?: string[] | undefined;
6104
+ namespace?: string | undefined;
5936
6105
  }, {
5937
6106
  file: string;
5938
6107
  type: "file";
6108
+ agent?: string | undefined;
6109
+ context?: "inline" | "fork" | undefined;
6110
+ model?: string | undefined;
5939
6111
  showInStarters?: boolean | undefined;
6112
+ 'disable-model-invocation'?: boolean | undefined;
6113
+ 'user-invocable'?: boolean | undefined;
6114
+ 'allowed-tools'?: string[] | undefined;
6115
+ namespace?: string | undefined;
5940
6116
  }>]>, "many">, ({
6117
+ context: "inline" | "fork";
5941
6118
  prompt: string;
5942
6119
  description: string;
5943
6120
  type: "inline";
@@ -5945,30 +6122,63 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
5945
6122
  priority: number;
5946
6123
  category: string;
5947
6124
  showInStarters: boolean;
6125
+ 'disable-model-invocation': boolean;
6126
+ 'user-invocable': boolean;
6127
+ agent?: string | undefined;
6128
+ model?: string | undefined;
5948
6129
  title?: string | undefined;
6130
+ 'allowed-tools'?: string[] | undefined;
5949
6131
  } | {
5950
6132
  file: string;
5951
6133
  type: "file";
5952
6134
  showInStarters: boolean;
6135
+ agent?: string | undefined;
6136
+ context?: "inline" | "fork" | undefined;
6137
+ model?: string | undefined;
6138
+ 'disable-model-invocation'?: boolean | undefined;
6139
+ 'user-invocable'?: boolean | undefined;
6140
+ 'allowed-tools'?: string[] | undefined;
6141
+ namespace?: string | undefined;
5953
6142
  })[], ({
5954
6143
  prompt: string;
5955
6144
  type: "inline";
5956
6145
  id: string;
6146
+ agent?: string | undefined;
6147
+ context?: "inline" | "fork" | undefined;
5957
6148
  description?: string | undefined;
6149
+ model?: string | undefined;
5958
6150
  title?: string | undefined;
5959
6151
  priority?: number | undefined;
5960
6152
  category?: string | undefined;
5961
6153
  showInStarters?: boolean | undefined;
6154
+ 'disable-model-invocation'?: boolean | undefined;
6155
+ 'user-invocable'?: boolean | undefined;
6156
+ 'allowed-tools'?: string[] | undefined;
5962
6157
  } | {
5963
6158
  file: string;
5964
6159
  type: "file";
6160
+ agent?: string | undefined;
6161
+ context?: "inline" | "fork" | undefined;
6162
+ model?: string | undefined;
5965
6163
  showInStarters?: boolean | undefined;
6164
+ 'disable-model-invocation'?: boolean | undefined;
6165
+ 'user-invocable'?: boolean | undefined;
6166
+ 'allowed-tools'?: string[] | undefined;
6167
+ namespace?: string | undefined;
5966
6168
  })[]>, ({
5967
6169
  file: string;
5968
6170
  type: "file";
5969
6171
  showInStarters: boolean;
6172
+ agent?: string | undefined;
6173
+ context?: "inline" | "fork" | undefined;
6174
+ model?: string | undefined;
6175
+ 'disable-model-invocation'?: boolean | undefined;
6176
+ 'user-invocable'?: boolean | undefined;
6177
+ 'allowed-tools'?: string[] | undefined;
6178
+ namespace?: string | undefined;
5970
6179
  } | {
5971
6180
  title: string;
6181
+ context: "inline" | "fork";
5972
6182
  prompt: string;
5973
6183
  description: string;
5974
6184
  type: "inline";
@@ -5976,19 +6186,37 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
5976
6186
  priority: number;
5977
6187
  category: string;
5978
6188
  showInStarters: boolean;
6189
+ 'disable-model-invocation': boolean;
6190
+ 'user-invocable': boolean;
6191
+ agent?: string | undefined;
6192
+ model?: string | undefined;
6193
+ 'allowed-tools'?: string[] | undefined;
5979
6194
  })[], ({
5980
6195
  prompt: string;
5981
6196
  type: "inline";
5982
6197
  id: string;
6198
+ agent?: string | undefined;
6199
+ context?: "inline" | "fork" | undefined;
5983
6200
  description?: string | undefined;
6201
+ model?: string | undefined;
5984
6202
  title?: string | undefined;
5985
6203
  priority?: number | undefined;
5986
6204
  category?: string | undefined;
5987
6205
  showInStarters?: boolean | undefined;
6206
+ 'disable-model-invocation'?: boolean | undefined;
6207
+ 'user-invocable'?: boolean | undefined;
6208
+ 'allowed-tools'?: string[] | undefined;
5988
6209
  } | {
5989
6210
  file: string;
5990
6211
  type: "file";
6212
+ agent?: string | undefined;
6213
+ context?: "inline" | "fork" | undefined;
6214
+ model?: string | undefined;
5991
6215
  showInStarters?: boolean | undefined;
6216
+ 'disable-model-invocation'?: boolean | undefined;
6217
+ 'user-invocable'?: boolean | undefined;
6218
+ 'allowed-tools'?: string[] | undefined;
6219
+ namespace?: string | undefined;
5992
6220
  })[]>>>;
5993
6221
  plugins: z.ZodDefault<z.ZodDefault<z.ZodObject<{
5994
6222
  contentPolicy: z.ZodOptional<z.ZodObject<{
@@ -6130,15 +6358,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6130
6358
  }, "strict", z.ZodTypeAny, {
6131
6359
  llm: {
6132
6360
  model: string;
6133
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
6361
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
6134
6362
  apiKey?: string | undefined;
6363
+ maxInputTokens?: number | undefined;
6135
6364
  maxIterations?: number | undefined;
6136
6365
  baseURL?: string | undefined;
6137
- maxInputTokens?: number | undefined;
6138
6366
  maxOutputTokens?: number | undefined;
6139
6367
  temperature?: number | undefined;
6140
6368
  allowedMediaTypes?: string[] | undefined;
6141
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
6369
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
6142
6370
  } & z.BRAND<"ValidatedLLMConfig">;
6143
6371
  tools: Record<string, {
6144
6372
  maxOutputChars?: number | undefined;
@@ -6226,8 +6454,16 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6226
6454
  file: string;
6227
6455
  type: "file";
6228
6456
  showInStarters: boolean;
6457
+ agent?: string | undefined;
6458
+ context?: "inline" | "fork" | undefined;
6459
+ model?: string | undefined;
6460
+ 'disable-model-invocation'?: boolean | undefined;
6461
+ 'user-invocable'?: boolean | undefined;
6462
+ 'allowed-tools'?: string[] | undefined;
6463
+ namespace?: string | undefined;
6229
6464
  } | {
6230
6465
  title: string;
6466
+ context: "inline" | "fork";
6231
6467
  prompt: string;
6232
6468
  description: string;
6233
6469
  type: "inline";
@@ -6235,6 +6471,11 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6235
6471
  priority: number;
6236
6472
  category: string;
6237
6473
  showInStarters: boolean;
6474
+ 'disable-model-invocation': boolean;
6475
+ 'user-invocable': boolean;
6476
+ agent?: string | undefined;
6477
+ model?: string | undefined;
6478
+ 'allowed-tools'?: string[] | undefined;
6238
6479
  })[];
6239
6480
  agentId: string;
6240
6481
  systemPrompt: ({
@@ -6273,6 +6514,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6273
6514
  enabled: boolean;
6274
6515
  }[];
6275
6516
  }) & z.BRAND<"ValidatedSystemPromptConfig">;
6517
+ agentFile: {
6518
+ discoverInCwd: boolean;
6519
+ };
6276
6520
  mcpServers: Record<string, ({
6277
6521
  timeout: number;
6278
6522
  type: "stdio";
@@ -6296,7 +6540,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6296
6540
  url: string;
6297
6541
  headers: Record<string, string>;
6298
6542
  }) & z.BRAND<"ValidatedMcpServerConfig">> & z.BRAND<"ValidatedServerConfigs">;
6299
- internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[];
6543
+ internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[];
6300
6544
  customTools: any[];
6301
6545
  sessions: {
6302
6546
  maxSessions: number;
@@ -6547,15 +6791,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6547
6791
  }, {
6548
6792
  llm: {
6549
6793
  model: string;
6550
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
6794
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
6551
6795
  apiKey?: string | undefined;
6796
+ maxInputTokens?: number | undefined;
6552
6797
  maxIterations?: number | undefined;
6553
6798
  baseURL?: string | undefined;
6554
- maxInputTokens?: number | undefined;
6555
6799
  maxOutputTokens?: number | undefined;
6556
6800
  temperature?: number | undefined;
6557
6801
  allowedMediaTypes?: string[] | undefined;
6558
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
6802
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
6559
6803
  };
6560
6804
  systemPrompt: string | {
6561
6805
  contributors?: ({
@@ -6685,15 +6929,28 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6685
6929
  prompt: string;
6686
6930
  type: "inline";
6687
6931
  id: string;
6932
+ agent?: string | undefined;
6933
+ context?: "inline" | "fork" | undefined;
6688
6934
  description?: string | undefined;
6935
+ model?: string | undefined;
6689
6936
  title?: string | undefined;
6690
6937
  priority?: number | undefined;
6691
6938
  category?: string | undefined;
6692
6939
  showInStarters?: boolean | undefined;
6940
+ 'disable-model-invocation'?: boolean | undefined;
6941
+ 'user-invocable'?: boolean | undefined;
6942
+ 'allowed-tools'?: string[] | undefined;
6693
6943
  } | {
6694
6944
  file: string;
6695
6945
  type: "file";
6946
+ agent?: string | undefined;
6947
+ context?: "inline" | "fork" | undefined;
6948
+ model?: string | undefined;
6696
6949
  showInStarters?: boolean | undefined;
6950
+ 'disable-model-invocation'?: boolean | undefined;
6951
+ 'user-invocable'?: boolean | undefined;
6952
+ 'allowed-tools'?: string[] | undefined;
6953
+ namespace?: string | undefined;
6697
6954
  })[] | undefined;
6698
6955
  agentId?: string | undefined;
6699
6956
  agentCard?: {
@@ -6867,6 +7124,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6867
7124
  includeTags?: boolean | undefined;
6868
7125
  pinnedOnly?: boolean | undefined;
6869
7126
  } | undefined;
7127
+ agentFile?: {
7128
+ discoverInCwd?: boolean | undefined;
7129
+ } | undefined;
6870
7130
  mcpServers?: Record<string, {
6871
7131
  type: "stdio";
6872
7132
  command: string;
@@ -6890,7 +7150,7 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
6890
7150
  connectionMode?: "strict" | "lenient" | undefined;
6891
7151
  headers?: Record<string, string> | undefined;
6892
7152
  }> | undefined;
6893
- internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[] | undefined;
7153
+ internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[] | undefined;
6894
7154
  customTools?: any[] | undefined;
6895
7155
  sessions?: {
6896
7156
  maxSessions?: number | undefined;
@@ -7122,7 +7382,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
7122
7382
  })[] | undefined;
7123
7383
  }>]>, "ValidatedSystemPromptConfig">;
7124
7384
  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"]>;
7385
+ provider: z.ZodEnum<["openai", "openai-compatible", "anthropic", "google", "groq", "xai", "cohere", "minimax", "glm", "openrouter", "litellm", "glama", "vertex", "bedrock", "local", "ollama", "dexto-nova"]>;
7126
7386
  model: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
7127
7387
  apiKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7128
7388
  maxIterations: z.ZodOptional<z.ZodNumber>;
@@ -7134,48 +7394,48 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
7134
7394
  reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
7135
7395
  }, "strict", z.ZodTypeAny, {
7136
7396
  model: string;
7137
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
7397
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
7138
7398
  apiKey?: string | undefined;
7399
+ maxInputTokens?: number | undefined;
7139
7400
  maxIterations?: number | undefined;
7140
7401
  baseURL?: string | undefined;
7141
- maxInputTokens?: number | undefined;
7142
7402
  maxOutputTokens?: number | undefined;
7143
7403
  temperature?: number | undefined;
7144
7404
  allowedMediaTypes?: string[] | undefined;
7145
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
7405
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
7146
7406
  }, {
7147
7407
  model: string;
7148
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
7408
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
7149
7409
  apiKey?: string | undefined;
7410
+ maxInputTokens?: number | undefined;
7150
7411
  maxIterations?: number | undefined;
7151
7412
  baseURL?: string | undefined;
7152
- maxInputTokens?: number | undefined;
7153
7413
  maxOutputTokens?: number | undefined;
7154
7414
  temperature?: number | undefined;
7155
7415
  allowedMediaTypes?: string[] | undefined;
7156
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
7416
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
7157
7417
  }>, {
7158
7418
  model: string;
7159
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
7419
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
7160
7420
  apiKey?: string | undefined;
7421
+ maxInputTokens?: number | undefined;
7161
7422
  maxIterations?: number | undefined;
7162
7423
  baseURL?: string | undefined;
7163
- maxInputTokens?: number | undefined;
7164
7424
  maxOutputTokens?: number | undefined;
7165
7425
  temperature?: number | undefined;
7166
7426
  allowedMediaTypes?: string[] | undefined;
7167
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
7427
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
7168
7428
  }, {
7169
7429
  model: string;
7170
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
7430
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
7171
7431
  apiKey?: string | undefined;
7432
+ maxInputTokens?: number | undefined;
7172
7433
  maxIterations?: number | undefined;
7173
7434
  baseURL?: string | undefined;
7174
- maxInputTokens?: number | undefined;
7175
7435
  maxOutputTokens?: number | undefined;
7176
7436
  temperature?: number | undefined;
7177
7437
  allowedMediaTypes?: string[] | undefined;
7178
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
7438
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
7179
7439
  }>, "ValidatedLLMConfig">;
7180
7440
  agentCard: z.ZodOptional<z.ZodObject<{
7181
7441
  protocolVersion: z.ZodDefault<z.ZodString>;
@@ -8107,6 +8367,13 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
8107
8367
  includeTags?: boolean | undefined;
8108
8368
  pinnedOnly?: boolean | undefined;
8109
8369
  }>>;
8370
+ agentFile: z.ZodDefault<z.ZodObject<{
8371
+ discoverInCwd: z.ZodDefault<z.ZodBoolean>;
8372
+ }, "strict", z.ZodTypeAny, {
8373
+ discoverInCwd: boolean;
8374
+ }, {
8375
+ discoverInCwd?: boolean | undefined;
8376
+ }>>;
8110
8377
  image: z.ZodOptional<z.ZodString>;
8111
8378
  agentId: z.ZodDefault<z.ZodString>;
8112
8379
  mcpServers: z.ZodDefault<z.ZodBranded<z.ZodRecord<z.ZodString, z.ZodBranded<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -8220,7 +8487,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
8220
8487
  connectionMode?: "strict" | "lenient" | undefined;
8221
8488
  headers?: Record<string, string> | undefined;
8222
8489
  }>, "ValidatedMcpServerConfig">>, "ValidatedServerConfigs">>;
8223
- internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource"]>, "many">>>;
8490
+ internalTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodEnum<["search_history", "ask_user", "delegate_to_url", "list_resources", "get_resource", "invoke_skill"]>, "many">>>;
8224
8491
  customTools: z.ZodDefault<z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">>>;
8225
8492
  tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
8226
8493
  maxOutputChars: z.ZodOptional<z.ZodNumber>;
@@ -8838,7 +9105,14 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
8838
9105
  category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8839
9106
  priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
8840
9107
  showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9108
+ 'disable-model-invocation': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9109
+ 'user-invocable': z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9110
+ 'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9111
+ model: z.ZodOptional<z.ZodString>;
9112
+ context: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inline", "fork"]>>>;
9113
+ agent: z.ZodOptional<z.ZodString>;
8841
9114
  }, "strict", z.ZodTypeAny, {
9115
+ context: "inline" | "fork";
8842
9116
  prompt: string;
8843
9117
  description: string;
8844
9118
  type: "inline";
@@ -8846,29 +9120,62 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
8846
9120
  priority: number;
8847
9121
  category: string;
8848
9122
  showInStarters: boolean;
9123
+ 'disable-model-invocation': boolean;
9124
+ 'user-invocable': boolean;
9125
+ agent?: string | undefined;
9126
+ model?: string | undefined;
8849
9127
  title?: string | undefined;
9128
+ 'allowed-tools'?: string[] | undefined;
8850
9129
  }, {
8851
9130
  prompt: string;
8852
9131
  type: "inline";
8853
9132
  id: string;
9133
+ agent?: string | undefined;
9134
+ context?: "inline" | "fork" | undefined;
8854
9135
  description?: string | undefined;
9136
+ model?: string | undefined;
8855
9137
  title?: string | undefined;
8856
9138
  priority?: number | undefined;
8857
9139
  category?: string | undefined;
8858
9140
  showInStarters?: boolean | undefined;
9141
+ 'disable-model-invocation'?: boolean | undefined;
9142
+ 'user-invocable'?: boolean | undefined;
9143
+ 'allowed-tools'?: string[] | undefined;
8859
9144
  }>, z.ZodObject<{
8860
9145
  type: z.ZodLiteral<"file">;
8861
9146
  file: z.ZodString;
8862
9147
  showInStarters: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9148
+ 'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
9149
+ 'user-invocable': z.ZodOptional<z.ZodBoolean>;
9150
+ 'allowed-tools': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9151
+ model: z.ZodOptional<z.ZodString>;
9152
+ context: z.ZodOptional<z.ZodEnum<["inline", "fork"]>>;
9153
+ agent: z.ZodOptional<z.ZodString>;
9154
+ namespace: z.ZodOptional<z.ZodString>;
8863
9155
  }, "strict", z.ZodTypeAny, {
8864
9156
  file: string;
8865
9157
  type: "file";
8866
9158
  showInStarters: boolean;
9159
+ agent?: string | undefined;
9160
+ context?: "inline" | "fork" | undefined;
9161
+ model?: string | undefined;
9162
+ 'disable-model-invocation'?: boolean | undefined;
9163
+ 'user-invocable'?: boolean | undefined;
9164
+ 'allowed-tools'?: string[] | undefined;
9165
+ namespace?: string | undefined;
8867
9166
  }, {
8868
9167
  file: string;
8869
9168
  type: "file";
9169
+ agent?: string | undefined;
9170
+ context?: "inline" | "fork" | undefined;
9171
+ model?: string | undefined;
8870
9172
  showInStarters?: boolean | undefined;
9173
+ 'disable-model-invocation'?: boolean | undefined;
9174
+ 'user-invocable'?: boolean | undefined;
9175
+ 'allowed-tools'?: string[] | undefined;
9176
+ namespace?: string | undefined;
8871
9177
  }>]>, "many">, ({
9178
+ context: "inline" | "fork";
8872
9179
  prompt: string;
8873
9180
  description: string;
8874
9181
  type: "inline";
@@ -8876,30 +9183,63 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
8876
9183
  priority: number;
8877
9184
  category: string;
8878
9185
  showInStarters: boolean;
9186
+ 'disable-model-invocation': boolean;
9187
+ 'user-invocable': boolean;
9188
+ agent?: string | undefined;
9189
+ model?: string | undefined;
8879
9190
  title?: string | undefined;
9191
+ 'allowed-tools'?: string[] | undefined;
8880
9192
  } | {
8881
9193
  file: string;
8882
9194
  type: "file";
8883
9195
  showInStarters: boolean;
9196
+ agent?: string | undefined;
9197
+ context?: "inline" | "fork" | undefined;
9198
+ model?: string | undefined;
9199
+ 'disable-model-invocation'?: boolean | undefined;
9200
+ 'user-invocable'?: boolean | undefined;
9201
+ 'allowed-tools'?: string[] | undefined;
9202
+ namespace?: string | undefined;
8884
9203
  })[], ({
8885
9204
  prompt: string;
8886
9205
  type: "inline";
8887
9206
  id: string;
9207
+ agent?: string | undefined;
9208
+ context?: "inline" | "fork" | undefined;
8888
9209
  description?: string | undefined;
9210
+ model?: string | undefined;
8889
9211
  title?: string | undefined;
8890
9212
  priority?: number | undefined;
8891
9213
  category?: string | undefined;
8892
9214
  showInStarters?: boolean | undefined;
9215
+ 'disable-model-invocation'?: boolean | undefined;
9216
+ 'user-invocable'?: boolean | undefined;
9217
+ 'allowed-tools'?: string[] | undefined;
8893
9218
  } | {
8894
9219
  file: string;
8895
9220
  type: "file";
9221
+ agent?: string | undefined;
9222
+ context?: "inline" | "fork" | undefined;
9223
+ model?: string | undefined;
8896
9224
  showInStarters?: boolean | undefined;
9225
+ 'disable-model-invocation'?: boolean | undefined;
9226
+ 'user-invocable'?: boolean | undefined;
9227
+ 'allowed-tools'?: string[] | undefined;
9228
+ namespace?: string | undefined;
8897
9229
  })[]>, ({
8898
9230
  file: string;
8899
9231
  type: "file";
8900
9232
  showInStarters: boolean;
9233
+ agent?: string | undefined;
9234
+ context?: "inline" | "fork" | undefined;
9235
+ model?: string | undefined;
9236
+ 'disable-model-invocation'?: boolean | undefined;
9237
+ 'user-invocable'?: boolean | undefined;
9238
+ 'allowed-tools'?: string[] | undefined;
9239
+ namespace?: string | undefined;
8901
9240
  } | {
8902
9241
  title: string;
9242
+ context: "inline" | "fork";
8903
9243
  prompt: string;
8904
9244
  description: string;
8905
9245
  type: "inline";
@@ -8907,19 +9247,37 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
8907
9247
  priority: number;
8908
9248
  category: string;
8909
9249
  showInStarters: boolean;
9250
+ 'disable-model-invocation': boolean;
9251
+ 'user-invocable': boolean;
9252
+ agent?: string | undefined;
9253
+ model?: string | undefined;
9254
+ 'allowed-tools'?: string[] | undefined;
8910
9255
  })[], ({
8911
9256
  prompt: string;
8912
9257
  type: "inline";
8913
9258
  id: string;
9259
+ agent?: string | undefined;
9260
+ context?: "inline" | "fork" | undefined;
8914
9261
  description?: string | undefined;
9262
+ model?: string | undefined;
8915
9263
  title?: string | undefined;
8916
9264
  priority?: number | undefined;
8917
9265
  category?: string | undefined;
8918
9266
  showInStarters?: boolean | undefined;
9267
+ 'disable-model-invocation'?: boolean | undefined;
9268
+ 'user-invocable'?: boolean | undefined;
9269
+ 'allowed-tools'?: string[] | undefined;
8919
9270
  } | {
8920
9271
  file: string;
8921
9272
  type: "file";
9273
+ agent?: string | undefined;
9274
+ context?: "inline" | "fork" | undefined;
9275
+ model?: string | undefined;
8922
9276
  showInStarters?: boolean | undefined;
9277
+ 'disable-model-invocation'?: boolean | undefined;
9278
+ 'user-invocable'?: boolean | undefined;
9279
+ 'allowed-tools'?: string[] | undefined;
9280
+ namespace?: string | undefined;
8923
9281
  })[]>>>;
8924
9282
  plugins: z.ZodDefault<z.ZodDefault<z.ZodObject<{
8925
9283
  contentPolicy: z.ZodOptional<z.ZodObject<{
@@ -9061,15 +9419,15 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9061
9419
  }, "strict", z.ZodTypeAny, {
9062
9420
  llm: {
9063
9421
  model: string;
9064
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
9422
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9065
9423
  apiKey?: string | undefined;
9424
+ maxInputTokens?: number | undefined;
9066
9425
  maxIterations?: number | undefined;
9067
9426
  baseURL?: string | undefined;
9068
- maxInputTokens?: number | undefined;
9069
9427
  maxOutputTokens?: number | undefined;
9070
9428
  temperature?: number | undefined;
9071
9429
  allowedMediaTypes?: string[] | undefined;
9072
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
9430
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
9073
9431
  } & z.BRAND<"ValidatedLLMConfig">;
9074
9432
  tools: Record<string, {
9075
9433
  maxOutputChars?: number | undefined;
@@ -9157,8 +9515,16 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9157
9515
  file: string;
9158
9516
  type: "file";
9159
9517
  showInStarters: boolean;
9518
+ agent?: string | undefined;
9519
+ context?: "inline" | "fork" | undefined;
9520
+ model?: string | undefined;
9521
+ 'disable-model-invocation'?: boolean | undefined;
9522
+ 'user-invocable'?: boolean | undefined;
9523
+ 'allowed-tools'?: string[] | undefined;
9524
+ namespace?: string | undefined;
9160
9525
  } | {
9161
9526
  title: string;
9527
+ context: "inline" | "fork";
9162
9528
  prompt: string;
9163
9529
  description: string;
9164
9530
  type: "inline";
@@ -9166,6 +9532,11 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9166
9532
  priority: number;
9167
9533
  category: string;
9168
9534
  showInStarters: boolean;
9535
+ 'disable-model-invocation': boolean;
9536
+ 'user-invocable': boolean;
9537
+ agent?: string | undefined;
9538
+ model?: string | undefined;
9539
+ 'allowed-tools'?: string[] | undefined;
9169
9540
  })[];
9170
9541
  agentId: string;
9171
9542
  systemPrompt: ({
@@ -9204,6 +9575,9 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9204
9575
  enabled: boolean;
9205
9576
  }[];
9206
9577
  }) & z.BRAND<"ValidatedSystemPromptConfig">;
9578
+ agentFile: {
9579
+ discoverInCwd: boolean;
9580
+ };
9207
9581
  mcpServers: Record<string, ({
9208
9582
  timeout: number;
9209
9583
  type: "stdio";
@@ -9227,7 +9601,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9227
9601
  url: string;
9228
9602
  headers: Record<string, string>;
9229
9603
  }) & z.BRAND<"ValidatedMcpServerConfig">> & z.BRAND<"ValidatedServerConfigs">;
9230
- internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[];
9604
+ internalTools: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[];
9231
9605
  customTools: any[];
9232
9606
  sessions: {
9233
9607
  maxSessions: number;
@@ -9478,15 +9852,15 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9478
9852
  }, {
9479
9853
  llm: {
9480
9854
  model: string;
9481
- provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama";
9855
+ provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
9482
9856
  apiKey?: string | undefined;
9857
+ maxInputTokens?: number | undefined;
9483
9858
  maxIterations?: number | undefined;
9484
9859
  baseURL?: string | undefined;
9485
- maxInputTokens?: number | undefined;
9486
9860
  maxOutputTokens?: number | undefined;
9487
9861
  temperature?: number | undefined;
9488
9862
  allowedMediaTypes?: string[] | undefined;
9489
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
9863
+ reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
9490
9864
  };
9491
9865
  systemPrompt: string | {
9492
9866
  contributors?: ({
@@ -9616,15 +9990,28 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9616
9990
  prompt: string;
9617
9991
  type: "inline";
9618
9992
  id: string;
9993
+ agent?: string | undefined;
9994
+ context?: "inline" | "fork" | undefined;
9619
9995
  description?: string | undefined;
9996
+ model?: string | undefined;
9620
9997
  title?: string | undefined;
9621
9998
  priority?: number | undefined;
9622
9999
  category?: string | undefined;
9623
10000
  showInStarters?: boolean | undefined;
10001
+ 'disable-model-invocation'?: boolean | undefined;
10002
+ 'user-invocable'?: boolean | undefined;
10003
+ 'allowed-tools'?: string[] | undefined;
9624
10004
  } | {
9625
10005
  file: string;
9626
10006
  type: "file";
10007
+ agent?: string | undefined;
10008
+ context?: "inline" | "fork" | undefined;
10009
+ model?: string | undefined;
9627
10010
  showInStarters?: boolean | undefined;
10011
+ 'disable-model-invocation'?: boolean | undefined;
10012
+ 'user-invocable'?: boolean | undefined;
10013
+ 'allowed-tools'?: string[] | undefined;
10014
+ namespace?: string | undefined;
9628
10015
  })[] | undefined;
9629
10016
  agentId?: string | undefined;
9630
10017
  agentCard?: {
@@ -9798,6 +10185,9 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9798
10185
  includeTags?: boolean | undefined;
9799
10186
  pinnedOnly?: boolean | undefined;
9800
10187
  } | undefined;
10188
+ agentFile?: {
10189
+ discoverInCwd?: boolean | undefined;
10190
+ } | undefined;
9801
10191
  mcpServers?: Record<string, {
9802
10192
  type: "stdio";
9803
10193
  command: string;
@@ -9821,7 +10211,7 @@ export declare const AgentConfigSchemaRelaxed: z.ZodBranded<z.ZodObject<{
9821
10211
  connectionMode?: "strict" | "lenient" | undefined;
9822
10212
  headers?: Record<string, string> | undefined;
9823
10213
  }> | undefined;
9824
- internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource")[] | undefined;
10214
+ internalTools?: ("search_history" | "ask_user" | "delegate_to_url" | "list_resources" | "get_resource" | "invoke_skill")[] | undefined;
9825
10215
  customTools?: any[] | undefined;
9826
10216
  sessions?: {
9827
10217
  maxSessions?: number | undefined;