melchizedek-agents 1.0.3 → 1.2.0
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/.env.example +29 -2
- package/AGENT_SETUP.md +3 -1
- package/CHANGELOG.md +524 -0
- package/DOCUMENTATION.md +178 -43
- package/ONBOARDING.md +339 -0
- package/QUICKSTART.md +15 -2
- package/README.md +6 -2
- package/config/agents/README.md +2 -2
- package/config/agents/examples/ares.yaml +6 -10
- package/config/agents/examples/assistant.yaml +6 -6
- package/config/agents/examples/augustin.yaml +9 -15
- package/config/agents/examples/cartographers.yaml +6 -6
- package/config/agents/examples/council.yaml +7 -7
- package/config/agents/examples/critic.yaml +24 -24
- package/config/agents/examples/harness.yaml +4 -4
- package/config/agents/examples/image_production.yaml +37 -35
- package/config/agents/examples/librarian.yaml +4 -4
- package/config/agents/examples/patient_advocate.yaml +6 -10
- package/config/agents/examples/pipeline.yaml +20 -19
- package/config/agents/examples/research.yaml +36 -43
- package/config/agents/examples/scribe.yaml +31 -32
- package/config/agents/examples/scriptorium.yaml +6 -6
- package/config/agents/examples/structured_critic.yaml +82 -0
- package/config/agents/examples/style_council.yaml +9 -11
- package/config/agents/examples/syndicate.yaml +3 -5
- package/config/agents/examples/tutor.yaml +2 -2
- package/config/agents/examples/weather.yaml +2 -2
- package/config/agents/syndicate.schema.json +859 -13
- package/config/agents/syndicateSchema.yaml +122 -73
- package/config/agents/templates/README.md +1 -1
- package/config/agents/templates/account_memory.yaml +4 -4
- package/config/agents/templates/case_desk.yaml +6 -6
- package/config/agents/templates/conversational.yaml +2 -2
- package/config/agents/templates/draft_review.yaml +6 -6
- package/config/agents/templates/intake_extractor.yaml +64 -62
- package/config/agents/templates/research_brief.yaml +6 -6
- package/config/agents/templates/research_desk.yaml +6 -6
- package/config/agents/templates/review_panel.yaml +8 -8
- package/config/agents/templates/support_triage.yaml +30 -29
- package/config/agents/templates/systems_operator.yaml +24 -5
- package/db/migrations/0014_durable_runs.sql +31 -0
- package/dist/lib/a2a/app.d.ts +27 -0
- package/dist/lib/a2a/app.js +64 -5
- package/dist/lib/a2a/executor.d.ts +7 -1
- package/dist/lib/a2a/executor.js +43 -5
- package/dist/lib/a2a/oauthSetup.d.ts +106 -0
- package/dist/lib/a2a/oauthSetup.js +259 -0
- package/dist/lib/agentDialect.d.ts +76 -0
- package/dist/lib/agentDialect.js +151 -0
- package/dist/lib/compile.d.ts +42 -6
- package/dist/lib/compile.js +97 -45
- package/dist/lib/compileNative.d.ts +11 -3
- package/dist/lib/compileNative.js +20 -1
- package/dist/lib/dispatch.d.ts +10 -5
- package/dist/lib/dispatch.js +10 -5
- package/dist/lib/doctor.d.ts +110 -1
- package/dist/lib/doctor.js +205 -9
- package/dist/lib/loadSyndicate.d.ts +54 -2
- package/dist/lib/loadSyndicate.js +22 -2
- package/dist/lib/memory/namespace.d.ts +6 -5
- package/dist/lib/memory/namespace.js +6 -5
- package/dist/lib/memory/providers.js +3 -4
- package/dist/lib/models/capabilities.d.ts +25 -1
- package/dist/lib/models/capabilities.js +79 -1
- package/dist/lib/models/chatCompletionsAdapter.d.ts +11 -3
- package/dist/lib/models/chatCompletionsAdapter.js +19 -5
- package/dist/lib/models/claudeAdapter.js +4 -0
- package/dist/lib/models/contract.d.ts +5 -2
- package/dist/lib/models/gateway.d.ts +2 -1
- package/dist/lib/models/gateway.js +4 -2
- package/dist/lib/models/gatewayAdapter.d.ts +7 -1
- package/dist/lib/models/gatewayAdapter.js +8 -0
- package/dist/lib/models/geminiAdapter.js +8 -2
- package/dist/lib/models/genaiMapping.d.ts +8 -4
- package/dist/lib/models/genaiMapping.js +23 -9
- package/dist/lib/models/gptAdapter.d.ts +4 -2
- package/dist/lib/models/gptAdapter.js +11 -4
- package/dist/lib/models/grokAdapter.d.ts +3 -1
- package/dist/lib/models/grokAdapter.js +11 -3
- package/dist/lib/models/kimiAdapter.d.ts +2 -1
- package/dist/lib/models/kimiAdapter.js +3 -3
- package/dist/lib/models/reasoning.d.ts +30 -2
- package/dist/lib/models/reasoning.js +56 -5
- package/dist/lib/observability/tracer.d.ts +8 -1
- package/dist/lib/observability/tracer.js +33 -5
- package/dist/lib/onboarding.d.ts +134 -0
- package/dist/lib/onboarding.js +539 -0
- package/dist/lib/runtime/approvals.d.ts +8 -0
- package/dist/lib/runtime/approvals.js +4 -3
- package/dist/lib/runtime/credentials.d.ts +6 -0
- package/dist/lib/runtime/native/agentLoop.d.ts +23 -3
- package/dist/lib/runtime/native/agentLoop.js +107 -11
- package/dist/lib/runtime/native/checkpoint.d.ts +171 -0
- package/dist/lib/runtime/native/checkpoint.js +359 -0
- package/dist/lib/runtime/native/delegate.d.ts +222 -18
- package/dist/lib/runtime/native/delegate.js +390 -39
- package/dist/lib/runtime/native/interrupts.d.ts +184 -2
- package/dist/lib/runtime/native/interrupts.js +391 -1
- package/dist/lib/runtime/native/request.d.ts +13 -3
- package/dist/lib/runtime/native/request.js +28 -4
- package/dist/lib/runtime/native/telemetry.js +10 -15
- package/dist/lib/runtime/questions.d.ts +7 -4
- package/dist/lib/runtime/sessions.d.ts +1 -1
- package/dist/lib/runtime/syndicateTurn.d.ts +11 -3
- package/dist/lib/runtime/syndicateTurn.js +353 -68
- package/dist/lib/runtime/turnControl.d.ts +56 -0
- package/dist/lib/runtime/turnControl.js +10 -0
- package/dist/lib/session/transcript.d.ts +9 -0
- package/dist/lib/session/transcript.js +20 -1
- package/dist/lib/skills.d.ts +18 -0
- package/dist/lib/skills.js +73 -1
- package/dist/lib/storage/postgres/index.d.ts +12 -2
- package/dist/lib/storage/postgres/index.js +8 -3
- package/dist/lib/storage/postgres/taskQueue.d.ts +20 -4
- package/dist/lib/storage/postgres/taskQueue.js +29 -5
- package/dist/lib/storage/postgres/taskStore.d.ts +26 -2
- package/dist/lib/storage/postgres/taskStore.js +74 -8
- package/dist/lib/syndicateSchema.d.ts +316 -1
- package/dist/lib/syndicateSchema.js +203 -29
- package/dist/lib/tools/auth.d.ts +20 -6
- package/dist/lib/tools/auth.js +21 -5
- package/dist/lib/tools/credentialEnv.d.ts +28 -0
- package/dist/lib/tools/credentialEnv.js +52 -0
- package/dist/lib/tools/credentialHosts.d.ts +88 -0
- package/dist/lib/tools/credentialHosts.js +165 -0
- package/dist/lib/tools/credentialStore.js +9 -2
- package/dist/lib/tools/credentialUses.d.ts +92 -0
- package/dist/lib/tools/credentialUses.js +112 -0
- package/dist/lib/tools/mcpToolFactory.d.ts +25 -2
- package/dist/lib/tools/mcpToolFactory.js +179 -21
- package/dist/lib/tools/oauthConsent.js +8 -1
- package/dist/lib/tools/oauthHosts.d.ts +73 -0
- package/dist/lib/tools/oauthHosts.js +154 -0
- package/dist/lib/tools/oauthTools.d.ts +242 -0
- package/dist/lib/tools/oauthTools.js +447 -0
- package/dist/lib/tools/openapiTools.d.ts +11 -6
- package/dist/lib/tools/openapiTools.js +88 -38
- package/dist/lib/tools/taskTools.d.ts +61 -6
- package/dist/lib/tools/taskTools.js +145 -21
- package/dist/lib/workflow/turn.d.ts +22 -3
- package/dist/lib/workflow/turn.js +151 -31
- package/dist/lib/workflow.d.ts +14 -7
- package/dist/lib/workflow.js +14 -7
- package/dist/lib/workflowConfig.d.ts +6 -0
- package/dist/scripts/a2a_server.d.ts +36 -0
- package/dist/scripts/a2a_server.js +131 -1
- package/dist/scripts/assistant_worker.d.ts +12 -0
- package/dist/scripts/assistant_worker.js +81 -22
- package/dist/scripts/doctor.d.ts +7 -2
- package/dist/scripts/doctor.js +9 -4
- package/dist/scripts/setup.d.ts +23 -0
- package/dist/scripts/setup.js +154 -0
- package/dist/scripts/skills_install.d.ts +3 -1
- package/dist/scripts/skills_install.js +17 -2
- package/dist/scripts/yaml_codemod.d.ts +62 -0
- package/dist/scripts/yaml_codemod.js +652 -0
- package/package.json +8 -2
- package/skills/README.md +11 -2
- package/skills/briefs/_shared.md +1 -1
- package/skills/briefs/melchizedek-author.md +7 -5
- package/skills/briefs/melchizedek-models.md +7 -4
- package/skills/briefs/melchizedek.md +1 -0
- package/skills/briefs/skills-readme.md +3 -1
- package/skills/melchizedek/SKILL.md +1 -0
- package/skills/melchizedek-author/SKILL.md +7 -4
- package/skills/melchizedek-author/assets/minimal.yaml +13 -13
- package/skills/melchizedek-models/SKILL.md +11 -4
- package/skills/melchizedek-onboard/SKILL.md +49 -0
- package/skills/melchizedek-onboard-cloud/SKILL.md +38 -0
- package/skills/melchizedek-onboard-keys/SKILL.md +35 -0
- package/skills/melchizedek-onboard-local/SKILL.md +41 -0
- package/skills/melchizedek-onboard-serve/SKILL.md +43 -0
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
import { z } from 'zod';
|
|
25
25
|
import type { SyndicateYamlConfig } from './loadSyndicate.ts';
|
|
26
26
|
export declare const MEMORY_SYSTEMS: readonly ['internal-only', 'session-only', 'long-term'];
|
|
27
|
-
export declare const REASONING_LEVELS: readonly ['none', 'low', 'medium', 'high'];
|
|
27
|
+
export declare const REASONING_LEVELS: readonly ['none', 'low', 'medium', 'high', 'xhigh', 'max'];
|
|
28
|
+
export declare const OUTPUT_MIMES: readonly ['application/json', 'text/plain'];
|
|
29
|
+
export declare const TOOL_CHOICE_MODES: readonly ['auto', 'none', 'required'];
|
|
28
30
|
export declare const SKILL_SCRIPT_MODES: readonly ['none', 'local'];
|
|
29
31
|
export declare const agentSchema: z.ZodObject<{
|
|
30
32
|
name: z.ZodString;
|
|
@@ -66,14 +68,78 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
66
68
|
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
67
69
|
high: "high";
|
|
68
70
|
low: "low";
|
|
71
|
+
max: "max";
|
|
69
72
|
medium: "medium";
|
|
70
73
|
none: "none";
|
|
74
|
+
xhigh: "xhigh";
|
|
71
75
|
}>, z.ZodObject<{
|
|
72
76
|
budget_tokens: z.ZodNumber;
|
|
73
77
|
}, z.core.$strict>]>>;
|
|
78
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
+
}, z.core.$strict>>;
|
|
84
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
86
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
"application/json": "application/json";
|
|
88
|
+
"text/plain": "text/plain";
|
|
89
|
+
}>>;
|
|
90
|
+
}, z.core.$strict>>;
|
|
91
|
+
tool_choice: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
92
|
+
auto: "auto";
|
|
93
|
+
none: "none";
|
|
94
|
+
required: "required";
|
|
95
|
+
}>, z.ZodObject<{
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
}, z.core.$strict>]>>;
|
|
98
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
101
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$strict>>;
|
|
103
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
105
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
109
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strict>>;
|
|
111
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
113
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
117
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
118
|
+
}, z.core.$strict>>;
|
|
119
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
121
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strict>>;
|
|
123
|
+
}, z.core.$strict>>;
|
|
74
124
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
125
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
76
126
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
127
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
oauth2: z.ZodObject<{
|
|
129
|
+
provider: z.ZodString;
|
|
130
|
+
grant: z.ZodEnum<{
|
|
131
|
+
authorization_code: "authorization_code";
|
|
132
|
+
client_credentials: "client_credentials";
|
|
133
|
+
}>;
|
|
134
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
135
|
+
token_url: z.ZodString;
|
|
136
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
137
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
138
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
139
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
}, z.core.$strict>>;
|
|
77
143
|
skills: z.ZodOptional<z.ZodObject<{
|
|
78
144
|
dir: z.ZodString;
|
|
79
145
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -99,6 +165,20 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
99
165
|
}>;
|
|
100
166
|
name: z.ZodString;
|
|
101
167
|
}, z.core.$strict>>;
|
|
168
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
provider: z.ZodString;
|
|
170
|
+
grant: z.ZodEnum<{
|
|
171
|
+
authorization_code: "authorization_code";
|
|
172
|
+
client_credentials: "client_credentials";
|
|
173
|
+
}>;
|
|
174
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
175
|
+
token_url: z.ZodString;
|
|
176
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
177
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
178
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
179
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
181
|
+
}, z.core.$strict>>;
|
|
102
182
|
}, z.core.$strict>>;
|
|
103
183
|
}, z.core.$strict>>>;
|
|
104
184
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -163,14 +243,78 @@ export declare const subagentSchema: z.ZodObject<{
|
|
|
163
243
|
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
164
244
|
high: "high";
|
|
165
245
|
low: "low";
|
|
246
|
+
max: "max";
|
|
166
247
|
medium: "medium";
|
|
167
248
|
none: "none";
|
|
249
|
+
xhigh: "xhigh";
|
|
168
250
|
}>, z.ZodObject<{
|
|
169
251
|
budget_tokens: z.ZodNumber;
|
|
170
252
|
}, z.core.$strict>]>>;
|
|
253
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
257
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
258
|
+
}, z.core.$strict>>;
|
|
259
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
260
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
261
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
262
|
+
"application/json": "application/json";
|
|
263
|
+
"text/plain": "text/plain";
|
|
264
|
+
}>>;
|
|
265
|
+
}, z.core.$strict>>;
|
|
266
|
+
tool_choice: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
267
|
+
auto: "auto";
|
|
268
|
+
none: "none";
|
|
269
|
+
required: "required";
|
|
270
|
+
}>, z.ZodObject<{
|
|
271
|
+
name: z.ZodString;
|
|
272
|
+
}, z.core.$strict>]>>;
|
|
273
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
276
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, z.core.$strict>>;
|
|
278
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
280
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
283
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
284
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, z.core.$strict>>;
|
|
286
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
287
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
288
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
289
|
+
}, z.core.$strict>>;
|
|
290
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
292
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
296
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>>;
|
|
298
|
+
}, z.core.$strict>>;
|
|
171
299
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
172
300
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
173
301
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
302
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
oauth2: z.ZodObject<{
|
|
304
|
+
provider: z.ZodString;
|
|
305
|
+
grant: z.ZodEnum<{
|
|
306
|
+
authorization_code: "authorization_code";
|
|
307
|
+
client_credentials: "client_credentials";
|
|
308
|
+
}>;
|
|
309
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
310
|
+
token_url: z.ZodString;
|
|
311
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
312
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
313
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
314
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
315
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
316
|
+
}, z.core.$strict>;
|
|
317
|
+
}, z.core.$strict>>;
|
|
174
318
|
skills: z.ZodOptional<z.ZodObject<{
|
|
175
319
|
dir: z.ZodString;
|
|
176
320
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -196,6 +340,20 @@ export declare const subagentSchema: z.ZodObject<{
|
|
|
196
340
|
}>;
|
|
197
341
|
name: z.ZodString;
|
|
198
342
|
}, z.core.$strict>>;
|
|
343
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
provider: z.ZodString;
|
|
345
|
+
grant: z.ZodEnum<{
|
|
346
|
+
authorization_code: "authorization_code";
|
|
347
|
+
client_credentials: "client_credentials";
|
|
348
|
+
}>;
|
|
349
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
350
|
+
token_url: z.ZodString;
|
|
351
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
352
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
353
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
354
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
355
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
356
|
+
}, z.core.$strict>>;
|
|
199
357
|
}, z.core.$strict>>;
|
|
200
358
|
}, z.core.$strict>>>;
|
|
201
359
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -264,14 +422,78 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
264
422
|
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
265
423
|
high: "high";
|
|
266
424
|
low: "low";
|
|
425
|
+
max: "max";
|
|
267
426
|
medium: "medium";
|
|
268
427
|
none: "none";
|
|
428
|
+
xhigh: "xhigh";
|
|
269
429
|
}>, z.ZodObject<{
|
|
270
430
|
budget_tokens: z.ZodNumber;
|
|
271
431
|
}, z.core.$strict>]>>;
|
|
432
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
433
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
435
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
440
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
"application/json": "application/json";
|
|
442
|
+
"text/plain": "text/plain";
|
|
443
|
+
}>>;
|
|
444
|
+
}, z.core.$strict>>;
|
|
445
|
+
tool_choice: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
446
|
+
auto: "auto";
|
|
447
|
+
none: "none";
|
|
448
|
+
required: "required";
|
|
449
|
+
}>, z.ZodObject<{
|
|
450
|
+
name: z.ZodString;
|
|
451
|
+
}, z.core.$strict>]>>;
|
|
452
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
453
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
455
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
456
|
+
}, z.core.$strict>>;
|
|
457
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
459
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
460
|
+
}, z.core.$strict>>;
|
|
461
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
463
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
464
|
+
}, z.core.$strict>>;
|
|
465
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
466
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
467
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
469
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
471
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
472
|
+
}, z.core.$strict>>;
|
|
473
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
475
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, z.core.$strict>>;
|
|
477
|
+
}, z.core.$strict>>;
|
|
272
478
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
273
479
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
274
480
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
481
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
482
|
+
oauth2: z.ZodObject<{
|
|
483
|
+
provider: z.ZodString;
|
|
484
|
+
grant: z.ZodEnum<{
|
|
485
|
+
authorization_code: "authorization_code";
|
|
486
|
+
client_credentials: "client_credentials";
|
|
487
|
+
}>;
|
|
488
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
489
|
+
token_url: z.ZodString;
|
|
490
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
491
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
492
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
493
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
495
|
+
}, z.core.$strict>;
|
|
496
|
+
}, z.core.$strict>>;
|
|
275
497
|
skills: z.ZodOptional<z.ZodObject<{
|
|
276
498
|
dir: z.ZodString;
|
|
277
499
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -297,6 +519,20 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
297
519
|
}>;
|
|
298
520
|
name: z.ZodString;
|
|
299
521
|
}, z.core.$strict>>;
|
|
522
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
523
|
+
provider: z.ZodString;
|
|
524
|
+
grant: z.ZodEnum<{
|
|
525
|
+
authorization_code: "authorization_code";
|
|
526
|
+
client_credentials: "client_credentials";
|
|
527
|
+
}>;
|
|
528
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
529
|
+
token_url: z.ZodString;
|
|
530
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
531
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
532
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
533
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
534
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
535
|
+
}, z.core.$strict>>;
|
|
300
536
|
}, z.core.$strict>>;
|
|
301
537
|
}, z.core.$strict>>>;
|
|
302
538
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -355,14 +591,78 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
355
591
|
reasoning: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
356
592
|
high: "high";
|
|
357
593
|
low: "low";
|
|
594
|
+
max: "max";
|
|
358
595
|
medium: "medium";
|
|
359
596
|
none: "none";
|
|
597
|
+
xhigh: "xhigh";
|
|
360
598
|
}>, z.ZodObject<{
|
|
361
599
|
budget_tokens: z.ZodNumber;
|
|
362
600
|
}, z.core.$strict>]>>;
|
|
601
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
602
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
603
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
604
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
605
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
606
|
+
}, z.core.$strict>>;
|
|
607
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
608
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
609
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
610
|
+
"application/json": "application/json";
|
|
611
|
+
"text/plain": "text/plain";
|
|
612
|
+
}>>;
|
|
613
|
+
}, z.core.$strict>>;
|
|
614
|
+
tool_choice: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
615
|
+
auto: "auto";
|
|
616
|
+
none: "none";
|
|
617
|
+
required: "required";
|
|
618
|
+
}>, z.ZodObject<{
|
|
619
|
+
name: z.ZodString;
|
|
620
|
+
}, z.core.$strict>]>>;
|
|
621
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
622
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
623
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
624
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
625
|
+
}, z.core.$strict>>;
|
|
626
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
627
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
628
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
629
|
+
}, z.core.$strict>>;
|
|
630
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
631
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
632
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
633
|
+
}, z.core.$strict>>;
|
|
634
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
635
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
636
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
637
|
+
}, z.core.$strict>>;
|
|
638
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
639
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
640
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, z.core.$strict>>;
|
|
642
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
643
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
644
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, z.core.$strict>>;
|
|
646
|
+
}, z.core.$strict>>;
|
|
363
647
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
364
648
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
365
649
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
650
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
651
|
+
oauth2: z.ZodObject<{
|
|
652
|
+
provider: z.ZodString;
|
|
653
|
+
grant: z.ZodEnum<{
|
|
654
|
+
authorization_code: "authorization_code";
|
|
655
|
+
client_credentials: "client_credentials";
|
|
656
|
+
}>;
|
|
657
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
658
|
+
token_url: z.ZodString;
|
|
659
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
660
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
661
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
662
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
663
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
664
|
+
}, z.core.$strict>;
|
|
665
|
+
}, z.core.$strict>>;
|
|
366
666
|
skills: z.ZodOptional<z.ZodObject<{
|
|
367
667
|
dir: z.ZodString;
|
|
368
668
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -388,6 +688,20 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
388
688
|
}>;
|
|
389
689
|
name: z.ZodString;
|
|
390
690
|
}, z.core.$strict>>;
|
|
691
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
692
|
+
provider: z.ZodString;
|
|
693
|
+
grant: z.ZodEnum<{
|
|
694
|
+
authorization_code: "authorization_code";
|
|
695
|
+
client_credentials: "client_credentials";
|
|
696
|
+
}>;
|
|
697
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
698
|
+
token_url: z.ZodString;
|
|
699
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
700
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
701
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
702
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
703
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
704
|
+
}, z.core.$strict>>;
|
|
391
705
|
}, z.core.$strict>>;
|
|
392
706
|
}, z.core.$strict>>>;
|
|
393
707
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -463,6 +777,7 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
463
777
|
memory_extraction_model: z.ZodOptional<z.ZodString>;
|
|
464
778
|
memory_retention_days: z.ZodOptional<z.ZodNumber>;
|
|
465
779
|
max_steps: z.ZodOptional<z.ZodNumber>;
|
|
780
|
+
max_concurrency: z.ZodOptional<z.ZodNumber>;
|
|
466
781
|
bundled_references: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
467
782
|
}, z.core.$strict>;
|
|
468
783
|
/**
|