melchizedek-agents 1.0.2 → 1.1.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 +19 -2
- package/CHANGELOG.md +333 -0
- package/DOCUMENTATION.md +99 -39
- package/README.md +1 -0
- 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 +6 -6
- package/config/agents/examples/critic.yaml +16 -16
- package/config/agents/examples/harness.yaml +4 -4
- package/config/agents/examples/image_production.yaml +33 -32
- 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 +1979 -0
- package/config/agents/syndicateSchema.yaml +109 -72
- 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 +61 -60
- 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 +21 -5
- package/db/migrations/0014_durable_runs.sql +31 -0
- package/dist/lib/a2a/app.d.ts +15 -0
- package/dist/lib/a2a/app.js +53 -5
- package/dist/lib/a2a/executor.d.ts +7 -1
- package/dist/lib/a2a/executor.js +34 -4
- package/dist/lib/a2a/oauthSetup.d.ts +90 -0
- package/dist/lib/a2a/oauthSetup.js +205 -0
- package/dist/lib/agentDialect.d.ts +66 -0
- package/dist/lib/agentDialect.js +134 -0
- package/dist/lib/compile.d.ts +10 -5
- package/dist/lib/compile.js +69 -37
- package/dist/lib/compileNative.js +2 -0
- package/dist/lib/dispatch.d.ts +10 -5
- package/dist/lib/dispatch.js +10 -5
- package/dist/lib/doctor.d.ts +34 -1
- package/dist/lib/doctor.js +47 -3
- package/dist/lib/loadSyndicate.d.ts +45 -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 +16 -1
- package/dist/lib/models/capabilities.js +55 -1
- package/dist/lib/observability/tracer.d.ts +8 -1
- package/dist/lib/observability/tracer.js +33 -5
- package/dist/lib/runtime/approvals.d.ts +6 -0
- package/dist/lib/runtime/native/agentLoop.d.ts +18 -1
- package/dist/lib/runtime/native/agentLoop.js +105 -11
- package/dist/lib/runtime/native/checkpoint.d.ts +164 -0
- package/dist/lib/runtime/native/checkpoint.js +365 -0
- package/dist/lib/runtime/native/delegate.d.ts +141 -18
- package/dist/lib/runtime/native/delegate.js +235 -39
- package/dist/lib/runtime/native/interrupts.d.ts +101 -2
- package/dist/lib/runtime/native/interrupts.js +201 -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 +7 -1
- package/dist/lib/runtime/syndicateTurn.js +74 -22
- package/dist/lib/runtime/turnControl.d.ts +15 -0
- package/dist/lib/runtime/turnControl.js +10 -0
- package/dist/lib/storage/postgres/index.d.ts +6 -1
- package/dist/lib/storage/postgres/index.js +7 -2
- package/dist/lib/storage/postgres/taskQueue.d.ts +14 -2
- package/dist/lib/storage/postgres/taskQueue.js +20 -3
- 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 +278 -0
- package/dist/lib/syndicateSchema.js +182 -15
- package/dist/lib/tools/auth.d.ts +7 -5
- package/dist/lib/tools/auth.js +12 -4
- package/dist/lib/tools/credentialEnv.d.ts +28 -0
- package/dist/lib/tools/credentialEnv.js +52 -0
- package/dist/lib/tools/credentialStore.js +9 -2
- package/dist/lib/tools/mcpToolFactory.d.ts +25 -2
- package/dist/lib/tools/mcpToolFactory.js +179 -21
- package/dist/lib/tools/oauthHosts.d.ts +71 -0
- package/dist/lib/tools/oauthHosts.js +154 -0
- package/dist/lib/tools/oauthTools.d.ts +233 -0
- package/dist/lib/tools/oauthTools.js +421 -0
- package/dist/lib/tools/openapiTools.d.ts +4 -6
- package/dist/lib/tools/openapiTools.js +40 -36
- package/dist/lib/tools/taskTools.d.ts +30 -5
- package/dist/lib/tools/taskTools.js +74 -10
- package/dist/lib/workflow.d.ts +8 -4
- package/dist/lib/workflow.js +8 -4
- package/dist/lib/workflowConfig.d.ts +6 -0
- package/dist/scripts/a2a_server.d.ts +36 -0
- package/dist/scripts/a2a_server.js +122 -1
- package/dist/scripts/assistant_worker.d.ts +10 -0
- package/dist/scripts/assistant_worker.js +69 -19
- package/dist/scripts/doctor.d.ts +4 -1
- package/dist/scripts/doctor.js +5 -2
- package/dist/scripts/yaml_codemod.d.ts +52 -0
- package/dist/scripts/yaml_codemod.js +570 -0
- package/package.json +11 -7
- package/skills/briefs/melchizedek-author.md +7 -5
- package/skills/briefs/melchizedek-models.md +4 -3
- package/skills/briefs/melchizedek.md +1 -0
- 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 +6 -3
|
@@ -25,6 +25,7 @@ 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
27
|
export declare const REASONING_LEVELS: readonly ['none', 'low', 'medium', 'high'];
|
|
28
|
+
export declare const OUTPUT_MIMES: readonly ['application/json', 'text/plain'];
|
|
28
29
|
export declare const SKILL_SCRIPT_MODES: readonly ['none', 'local'];
|
|
29
30
|
export declare const agentSchema: z.ZodObject<{
|
|
30
31
|
name: z.ZodString;
|
|
@@ -71,9 +72,64 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
71
72
|
}>, z.ZodObject<{
|
|
72
73
|
budget_tokens: z.ZodNumber;
|
|
73
74
|
}, z.core.$strict>]>>;
|
|
75
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
"application/json": "application/json";
|
|
85
|
+
"text/plain": "text/plain";
|
|
86
|
+
}>>;
|
|
87
|
+
}, z.core.$strict>>;
|
|
88
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
91
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strict>>;
|
|
93
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
95
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.core.$strict>>;
|
|
97
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
99
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
102
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
103
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
107
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strict>>;
|
|
109
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
111
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
}, z.core.$strict>>;
|
|
74
114
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
115
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
76
116
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
oauth2: z.ZodObject<{
|
|
119
|
+
provider: z.ZodString;
|
|
120
|
+
grant: z.ZodEnum<{
|
|
121
|
+
authorization_code: "authorization_code";
|
|
122
|
+
client_credentials: "client_credentials";
|
|
123
|
+
}>;
|
|
124
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
125
|
+
token_url: z.ZodString;
|
|
126
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
127
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
128
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
129
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
}, z.core.$strict>>;
|
|
77
133
|
skills: z.ZodOptional<z.ZodObject<{
|
|
78
134
|
dir: z.ZodString;
|
|
79
135
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -99,6 +155,20 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
99
155
|
}>;
|
|
100
156
|
name: z.ZodString;
|
|
101
157
|
}, z.core.$strict>>;
|
|
158
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
provider: z.ZodString;
|
|
160
|
+
grant: z.ZodEnum<{
|
|
161
|
+
authorization_code: "authorization_code";
|
|
162
|
+
client_credentials: "client_credentials";
|
|
163
|
+
}>;
|
|
164
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
165
|
+
token_url: z.ZodString;
|
|
166
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
167
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
168
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
169
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
170
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
171
|
+
}, z.core.$strict>>;
|
|
102
172
|
}, z.core.$strict>>;
|
|
103
173
|
}, z.core.$strict>>>;
|
|
104
174
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -168,9 +238,64 @@ export declare const subagentSchema: z.ZodObject<{
|
|
|
168
238
|
}>, z.ZodObject<{
|
|
169
239
|
budget_tokens: z.ZodNumber;
|
|
170
240
|
}, z.core.$strict>]>>;
|
|
241
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
246
|
+
}, z.core.$strict>>;
|
|
247
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
248
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
249
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
250
|
+
"application/json": "application/json";
|
|
251
|
+
"text/plain": "text/plain";
|
|
252
|
+
}>>;
|
|
253
|
+
}, z.core.$strict>>;
|
|
254
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
256
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
257
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, z.core.$strict>>;
|
|
259
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
260
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
261
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, z.core.$strict>>;
|
|
263
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
265
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.core.$strict>>;
|
|
267
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
269
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
270
|
+
}, z.core.$strict>>;
|
|
271
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
272
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
273
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
277
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$strict>>;
|
|
279
|
+
}, z.core.$strict>>;
|
|
171
280
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
172
281
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
173
282
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
oauth2: z.ZodObject<{
|
|
285
|
+
provider: z.ZodString;
|
|
286
|
+
grant: z.ZodEnum<{
|
|
287
|
+
authorization_code: "authorization_code";
|
|
288
|
+
client_credentials: "client_credentials";
|
|
289
|
+
}>;
|
|
290
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
291
|
+
token_url: z.ZodString;
|
|
292
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
293
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
294
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
295
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
296
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
}, z.core.$strict>>;
|
|
174
299
|
skills: z.ZodOptional<z.ZodObject<{
|
|
175
300
|
dir: z.ZodString;
|
|
176
301
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -196,6 +321,20 @@ export declare const subagentSchema: z.ZodObject<{
|
|
|
196
321
|
}>;
|
|
197
322
|
name: z.ZodString;
|
|
198
323
|
}, z.core.$strict>>;
|
|
324
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
325
|
+
provider: z.ZodString;
|
|
326
|
+
grant: z.ZodEnum<{
|
|
327
|
+
authorization_code: "authorization_code";
|
|
328
|
+
client_credentials: "client_credentials";
|
|
329
|
+
}>;
|
|
330
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
331
|
+
token_url: z.ZodString;
|
|
332
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
333
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
334
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
335
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
336
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
337
|
+
}, z.core.$strict>>;
|
|
199
338
|
}, z.core.$strict>>;
|
|
200
339
|
}, z.core.$strict>>>;
|
|
201
340
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -269,9 +408,64 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
269
408
|
}>, z.ZodObject<{
|
|
270
409
|
budget_tokens: z.ZodNumber;
|
|
271
410
|
}, z.core.$strict>]>>;
|
|
411
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
416
|
+
}, z.core.$strict>>;
|
|
417
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
419
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
420
|
+
"application/json": "application/json";
|
|
421
|
+
"text/plain": "text/plain";
|
|
422
|
+
}>>;
|
|
423
|
+
}, z.core.$strict>>;
|
|
424
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
426
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
427
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
431
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
432
|
+
}, z.core.$strict>>;
|
|
433
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
435
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
436
|
+
}, z.core.$strict>>;
|
|
437
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
439
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
443
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
444
|
+
}, z.core.$strict>>;
|
|
445
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
447
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
448
|
+
}, z.core.$strict>>;
|
|
449
|
+
}, z.core.$strict>>;
|
|
272
450
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
273
451
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
274
452
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
453
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
oauth2: z.ZodObject<{
|
|
455
|
+
provider: z.ZodString;
|
|
456
|
+
grant: z.ZodEnum<{
|
|
457
|
+
authorization_code: "authorization_code";
|
|
458
|
+
client_credentials: "client_credentials";
|
|
459
|
+
}>;
|
|
460
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
461
|
+
token_url: z.ZodString;
|
|
462
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
463
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
464
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
465
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
466
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
467
|
+
}, z.core.$strict>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
275
469
|
skills: z.ZodOptional<z.ZodObject<{
|
|
276
470
|
dir: z.ZodString;
|
|
277
471
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -297,6 +491,20 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
297
491
|
}>;
|
|
298
492
|
name: z.ZodString;
|
|
299
493
|
}, z.core.$strict>>;
|
|
494
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
495
|
+
provider: z.ZodString;
|
|
496
|
+
grant: z.ZodEnum<{
|
|
497
|
+
authorization_code: "authorization_code";
|
|
498
|
+
client_credentials: "client_credentials";
|
|
499
|
+
}>;
|
|
500
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
501
|
+
token_url: z.ZodString;
|
|
502
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
503
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
504
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
505
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
506
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
507
|
+
}, z.core.$strict>>;
|
|
300
508
|
}, z.core.$strict>>;
|
|
301
509
|
}, z.core.$strict>>>;
|
|
302
510
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -360,9 +568,64 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
360
568
|
}>, z.ZodObject<{
|
|
361
569
|
budget_tokens: z.ZodNumber;
|
|
362
570
|
}, z.core.$strict>]>>;
|
|
571
|
+
sampling: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
575
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
576
|
+
}, z.core.$strict>>;
|
|
577
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
579
|
+
mime: z.ZodOptional<z.ZodEnum<{
|
|
580
|
+
"application/json": "application/json";
|
|
581
|
+
"text/plain": "text/plain";
|
|
582
|
+
}>>;
|
|
583
|
+
}, z.core.$strict>>;
|
|
584
|
+
model_overrides: z.ZodOptional<z.ZodObject<{
|
|
585
|
+
gemini: z.ZodOptional<z.ZodObject<{
|
|
586
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
587
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
588
|
+
}, z.core.$strict>>;
|
|
589
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
591
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
592
|
+
}, z.core.$strict>>;
|
|
593
|
+
openai: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
595
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
596
|
+
}, z.core.$strict>>;
|
|
597
|
+
xai: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
599
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
600
|
+
}, z.core.$strict>>;
|
|
601
|
+
moonshot: z.ZodOptional<z.ZodObject<{
|
|
602
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
603
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
604
|
+
}, z.core.$strict>>;
|
|
605
|
+
ollama: z.ZodOptional<z.ZodObject<{
|
|
606
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
607
|
+
instruction_append: z.ZodOptional<z.ZodString>;
|
|
608
|
+
}, z.core.$strict>>;
|
|
609
|
+
}, z.core.$strict>>;
|
|
363
610
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
364
611
|
mcp_server_url: z.ZodOptional<z.ZodString>;
|
|
365
612
|
mcp_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
613
|
+
mcp_auth: z.ZodOptional<z.ZodObject<{
|
|
614
|
+
oauth2: z.ZodObject<{
|
|
615
|
+
provider: z.ZodString;
|
|
616
|
+
grant: z.ZodEnum<{
|
|
617
|
+
authorization_code: "authorization_code";
|
|
618
|
+
client_credentials: "client_credentials";
|
|
619
|
+
}>;
|
|
620
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
621
|
+
token_url: z.ZodString;
|
|
622
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
623
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
624
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
625
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
626
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
627
|
+
}, z.core.$strict>;
|
|
628
|
+
}, z.core.$strict>>;
|
|
366
629
|
skills: z.ZodOptional<z.ZodObject<{
|
|
367
630
|
dir: z.ZodString;
|
|
368
631
|
scripts: z.ZodOptional<z.ZodEnum<{
|
|
@@ -388,6 +651,20 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
388
651
|
}>;
|
|
389
652
|
name: z.ZodString;
|
|
390
653
|
}, z.core.$strict>>;
|
|
654
|
+
oauth2: z.ZodOptional<z.ZodObject<{
|
|
655
|
+
provider: z.ZodString;
|
|
656
|
+
grant: z.ZodEnum<{
|
|
657
|
+
authorization_code: "authorization_code";
|
|
658
|
+
client_credentials: "client_credentials";
|
|
659
|
+
}>;
|
|
660
|
+
authorization_url: z.ZodOptional<z.ZodString>;
|
|
661
|
+
token_url: z.ZodString;
|
|
662
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
663
|
+
client_id_env: z.ZodOptional<z.ZodString>;
|
|
664
|
+
client_secret_env: z.ZodOptional<z.ZodString>;
|
|
665
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
666
|
+
authorization_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
667
|
+
}, z.core.$strict>>;
|
|
391
668
|
}, z.core.$strict>>;
|
|
392
669
|
}, z.core.$strict>>>;
|
|
393
670
|
code_execution: z.ZodOptional<z.ZodLiteral<"gemini">>;
|
|
@@ -463,6 +740,7 @@ export declare const syndicateSchema: z.ZodObject<{
|
|
|
463
740
|
memory_extraction_model: z.ZodOptional<z.ZodString>;
|
|
464
741
|
memory_retention_days: z.ZodOptional<z.ZodNumber>;
|
|
465
742
|
max_steps: z.ZodOptional<z.ZodNumber>;
|
|
743
|
+
max_concurrency: z.ZodOptional<z.ZodNumber>;
|
|
466
744
|
bundled_references: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
467
745
|
}, z.core.$strict>;
|
|
468
746
|
/**
|