@deepthonk/mcp 0.1.0 → 0.1.2
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/README.md +13 -7
- package/dist/resources.d.ts +1 -1
- package/dist/resources.js +20 -1
- package/dist/resources.js.map +1 -1
- package/dist/samplingDriver.d.ts +2 -8
- package/dist/samplingDriver.js +1 -18
- package/dist/samplingDriver.js.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.js +58 -9
- package/dist/server.js.map +1 -1
- package/dist/tools.d.ts +273 -11
- package/dist/tools.js +332 -36
- package/dist/tools.js.map +1 -1
- package/package.json +3 -3
package/dist/tools.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import type { ClientCapabilities } from "@modelcontextprotocol/sdk/types.js";
|
|
1
2
|
import { z } from "zod";
|
|
2
|
-
|
|
3
|
+
import { type SamplingTransport } from "@deepthonk/providers";
|
|
4
|
+
export declare const toolNames: readonly ["deepthonk.plan", "deepthonk.start", "deepthonk.status", "deepthonk.result", "deepthonk.cancel", "deepthonk.run", "deepthonk.rank", "deepthonk.mutate", "deepthonk.resume", "deepthonk.export", "deepthonk.profile_list", "deepthonk.profile_show", "deepthonk.profile_save", "deepthonk.profile_delete"];
|
|
3
5
|
export declare const planArgsSchema: z.ZodObject<{
|
|
6
|
+
config_path: z.ZodOptional<z.ZodString>;
|
|
7
|
+
profile_name: z.ZodOptional<z.ZodString>;
|
|
4
8
|
profile: z.ZodDefault<z.ZodEnum<["quick", "balanced", "paper"]>>;
|
|
5
9
|
n: z.ZodOptional<z.ZodNumber>;
|
|
6
10
|
k: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8,11 +12,15 @@ export declare const planArgsSchema: z.ZodObject<{
|
|
|
8
12
|
m: z.ZodOptional<z.ZodNumber>;
|
|
9
13
|
}, "strip", z.ZodTypeAny, {
|
|
10
14
|
profile: "quick" | "balanced" | "paper";
|
|
15
|
+
config_path?: string | undefined;
|
|
16
|
+
profile_name?: string | undefined;
|
|
11
17
|
n?: number | undefined;
|
|
12
18
|
k?: number | undefined;
|
|
13
19
|
t?: number | undefined;
|
|
14
20
|
m?: number | undefined;
|
|
15
21
|
}, {
|
|
22
|
+
config_path?: string | undefined;
|
|
23
|
+
profile_name?: string | undefined;
|
|
16
24
|
profile?: "quick" | "balanced" | "paper" | undefined;
|
|
17
25
|
n?: number | undefined;
|
|
18
26
|
k?: number | undefined;
|
|
@@ -23,15 +31,20 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
23
31
|
task: z.ZodString;
|
|
24
32
|
rubric: z.ZodOptional<z.ZodString>;
|
|
25
33
|
config_path: z.ZodOptional<z.ZodString>;
|
|
34
|
+
profile_name: z.ZodOptional<z.ZodString>;
|
|
26
35
|
profile: z.ZodDefault<z.ZodEnum<["quick", "balanced", "paper"]>>;
|
|
27
36
|
prompt_style: z.ZodOptional<z.ZodEnum<["general", "paper-programming"]>>;
|
|
28
|
-
provider: z.ZodDefault<z.
|
|
37
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
29
38
|
base_url: z.ZodOptional<z.ZodString>;
|
|
30
39
|
api_key_env: z.ZodOptional<z.ZodString>;
|
|
31
40
|
generator_model: z.ZodOptional<z.ZodString>;
|
|
32
41
|
mutator_model: z.ZodOptional<z.ZodString>;
|
|
33
42
|
judge_model: z.ZodOptional<z.ZodString>;
|
|
34
43
|
finalizer_model: z.ZodOptional<z.ZodString>;
|
|
44
|
+
sampling_model_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45
|
+
sampling_cost_priority: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
sampling_speed_priority: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
sampling_intelligence_priority: z.ZodOptional<z.ZodNumber>;
|
|
35
48
|
seed: z.ZodDefault<z.ZodNumber>;
|
|
36
49
|
run_dir: z.ZodOptional<z.ZodString>;
|
|
37
50
|
max_calls: z.ZodOptional<z.ZodNumber>;
|
|
@@ -47,6 +60,8 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
47
60
|
sample_temperature: z.ZodOptional<z.ZodNumber>;
|
|
48
61
|
mutate_temperature: z.ZodOptional<z.ZodNumber>;
|
|
49
62
|
judge_temperature: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
include_prompts: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
include_raw_model_outputs: z.ZodOptional<z.ZodBoolean>;
|
|
50
65
|
concurrency: z.ZodOptional<z.ZodObject<{
|
|
51
66
|
generate: z.ZodOptional<z.ZodNumber>;
|
|
52
67
|
judge: z.ZodOptional<z.ZodNumber>;
|
|
@@ -143,11 +158,12 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
143
158
|
seed: number;
|
|
144
159
|
rubric?: string | undefined;
|
|
145
160
|
run_dir?: string | undefined;
|
|
161
|
+
config_path?: string | undefined;
|
|
162
|
+
profile_name?: string | undefined;
|
|
146
163
|
n?: number | undefined;
|
|
147
164
|
k?: number | undefined;
|
|
148
165
|
t?: number | undefined;
|
|
149
166
|
m?: number | undefined;
|
|
150
|
-
config_path?: string | undefined;
|
|
151
167
|
prompt_style?: "general" | "paper-programming" | undefined;
|
|
152
168
|
base_url?: string | undefined;
|
|
153
169
|
api_key_env?: string | undefined;
|
|
@@ -155,6 +171,10 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
155
171
|
mutator_model?: string | undefined;
|
|
156
172
|
judge_model?: string | undefined;
|
|
157
173
|
finalizer_model?: string | undefined;
|
|
174
|
+
sampling_model_hints?: string[] | undefined;
|
|
175
|
+
sampling_cost_priority?: number | undefined;
|
|
176
|
+
sampling_speed_priority?: number | undefined;
|
|
177
|
+
sampling_intelligence_priority?: number | undefined;
|
|
158
178
|
max_calls?: number | undefined;
|
|
159
179
|
max_input_tokens?: number | undefined;
|
|
160
180
|
max_output_tokens?: number | undefined;
|
|
@@ -164,6 +184,8 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
164
184
|
sample_temperature?: number | undefined;
|
|
165
185
|
mutate_temperature?: number | undefined;
|
|
166
186
|
judge_temperature?: number | undefined;
|
|
187
|
+
include_prompts?: boolean | undefined;
|
|
188
|
+
include_raw_model_outputs?: boolean | undefined;
|
|
167
189
|
concurrency?: {
|
|
168
190
|
generate?: number | undefined;
|
|
169
191
|
judge?: number | undefined;
|
|
@@ -191,12 +213,13 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
191
213
|
task: string;
|
|
192
214
|
rubric?: string | undefined;
|
|
193
215
|
run_dir?: string | undefined;
|
|
216
|
+
config_path?: string | undefined;
|
|
217
|
+
profile_name?: string | undefined;
|
|
194
218
|
profile?: "quick" | "balanced" | "paper" | undefined;
|
|
195
219
|
n?: number | undefined;
|
|
196
220
|
k?: number | undefined;
|
|
197
221
|
t?: number | undefined;
|
|
198
222
|
m?: number | undefined;
|
|
199
|
-
config_path?: string | undefined;
|
|
200
223
|
prompt_style?: "general" | "paper-programming" | undefined;
|
|
201
224
|
provider?: string | undefined;
|
|
202
225
|
base_url?: string | undefined;
|
|
@@ -205,6 +228,10 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
205
228
|
mutator_model?: string | undefined;
|
|
206
229
|
judge_model?: string | undefined;
|
|
207
230
|
finalizer_model?: string | undefined;
|
|
231
|
+
sampling_model_hints?: string[] | undefined;
|
|
232
|
+
sampling_cost_priority?: number | undefined;
|
|
233
|
+
sampling_speed_priority?: number | undefined;
|
|
234
|
+
sampling_intelligence_priority?: number | undefined;
|
|
208
235
|
seed?: number | undefined;
|
|
209
236
|
max_calls?: number | undefined;
|
|
210
237
|
max_input_tokens?: number | undefined;
|
|
@@ -215,6 +242,8 @@ export declare const runArgsSchema: z.ZodObject<{
|
|
|
215
242
|
sample_temperature?: number | undefined;
|
|
216
243
|
mutate_temperature?: number | undefined;
|
|
217
244
|
judge_temperature?: number | undefined;
|
|
245
|
+
include_prompts?: boolean | undefined;
|
|
246
|
+
include_raw_model_outputs?: boolean | undefined;
|
|
218
247
|
concurrency?: {
|
|
219
248
|
generate?: number | undefined;
|
|
220
249
|
judge?: number | undefined;
|
|
@@ -251,7 +280,8 @@ export declare const jobArgsSchema: z.ZodObject<{
|
|
|
251
280
|
}>;
|
|
252
281
|
export declare const rankArgsSchema: z.ZodObject<{
|
|
253
282
|
config_path: z.ZodOptional<z.ZodString>;
|
|
254
|
-
|
|
283
|
+
profile_name: z.ZodOptional<z.ZodString>;
|
|
284
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
255
285
|
base_url: z.ZodOptional<z.ZodString>;
|
|
256
286
|
api_key_env: z.ZodOptional<z.ZodString>;
|
|
257
287
|
generator_model: z.ZodOptional<z.ZodString>;
|
|
@@ -271,6 +301,32 @@ export declare const rankArgsSchema: z.ZodObject<{
|
|
|
271
301
|
content: string;
|
|
272
302
|
id?: string | undefined;
|
|
273
303
|
}>]>, "many">;
|
|
304
|
+
judge_temperature: z.ZodOptional<z.ZodNumber>;
|
|
305
|
+
lambda: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
prompt_style: z.ZodOptional<z.ZodEnum<["general", "paper-programming"]>>;
|
|
308
|
+
prompts: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
compare: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
system: z.ZodOptional<z.ZodString>;
|
|
311
|
+
user: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
system?: string | undefined;
|
|
314
|
+
user?: string | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
system?: string | undefined;
|
|
317
|
+
user?: string | undefined;
|
|
318
|
+
}>>;
|
|
319
|
+
}, "strip", z.ZodTypeAny, {
|
|
320
|
+
compare?: {
|
|
321
|
+
system?: string | undefined;
|
|
322
|
+
user?: string | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
}, {
|
|
325
|
+
compare?: {
|
|
326
|
+
system?: string | undefined;
|
|
327
|
+
user?: string | undefined;
|
|
328
|
+
} | undefined;
|
|
329
|
+
}>>;
|
|
274
330
|
}, "strip", z.ZodTypeAny, {
|
|
275
331
|
task: string;
|
|
276
332
|
candidates: (string | {
|
|
@@ -280,12 +336,23 @@ export declare const rankArgsSchema: z.ZodObject<{
|
|
|
280
336
|
provider: string;
|
|
281
337
|
rubric?: string | undefined;
|
|
282
338
|
config_path?: string | undefined;
|
|
339
|
+
profile_name?: string | undefined;
|
|
340
|
+
prompt_style?: "general" | "paper-programming" | undefined;
|
|
283
341
|
base_url?: string | undefined;
|
|
284
342
|
api_key_env?: string | undefined;
|
|
285
343
|
generator_model?: string | undefined;
|
|
286
344
|
mutator_model?: string | undefined;
|
|
287
345
|
judge_model?: string | undefined;
|
|
288
346
|
finalizer_model?: string | undefined;
|
|
347
|
+
lambda?: number | undefined;
|
|
348
|
+
judge_temperature?: number | undefined;
|
|
349
|
+
concurrency?: number | undefined;
|
|
350
|
+
prompts?: {
|
|
351
|
+
compare?: {
|
|
352
|
+
system?: string | undefined;
|
|
353
|
+
user?: string | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
} | undefined;
|
|
289
356
|
}, {
|
|
290
357
|
task: string;
|
|
291
358
|
candidates: (string | {
|
|
@@ -294,6 +361,8 @@ export declare const rankArgsSchema: z.ZodObject<{
|
|
|
294
361
|
})[];
|
|
295
362
|
rubric?: string | undefined;
|
|
296
363
|
config_path?: string | undefined;
|
|
364
|
+
profile_name?: string | undefined;
|
|
365
|
+
prompt_style?: "general" | "paper-programming" | undefined;
|
|
297
366
|
provider?: string | undefined;
|
|
298
367
|
base_url?: string | undefined;
|
|
299
368
|
api_key_env?: string | undefined;
|
|
@@ -301,10 +370,20 @@ export declare const rankArgsSchema: z.ZodObject<{
|
|
|
301
370
|
mutator_model?: string | undefined;
|
|
302
371
|
judge_model?: string | undefined;
|
|
303
372
|
finalizer_model?: string | undefined;
|
|
373
|
+
lambda?: number | undefined;
|
|
374
|
+
judge_temperature?: number | undefined;
|
|
375
|
+
concurrency?: number | undefined;
|
|
376
|
+
prompts?: {
|
|
377
|
+
compare?: {
|
|
378
|
+
system?: string | undefined;
|
|
379
|
+
user?: string | undefined;
|
|
380
|
+
} | undefined;
|
|
381
|
+
} | undefined;
|
|
304
382
|
}>;
|
|
305
383
|
export declare const mutateArgsSchema: z.ZodObject<{
|
|
306
384
|
config_path: z.ZodOptional<z.ZodString>;
|
|
307
|
-
|
|
385
|
+
profile_name: z.ZodOptional<z.ZodString>;
|
|
386
|
+
provider: z.ZodDefault<z.ZodString>;
|
|
308
387
|
base_url: z.ZodOptional<z.ZodString>;
|
|
309
388
|
api_key_env: z.ZodOptional<z.ZodString>;
|
|
310
389
|
generator_model: z.ZodOptional<z.ZodString>;
|
|
@@ -316,6 +395,30 @@ export declare const mutateArgsSchema: z.ZodObject<{
|
|
|
316
395
|
rubric: z.ZodOptional<z.ZodString>;
|
|
317
396
|
candidate: z.ZodString;
|
|
318
397
|
critique: z.ZodDefault<z.ZodString>;
|
|
398
|
+
mutate_temperature: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
prompt_style: z.ZodOptional<z.ZodEnum<["general", "paper-programming"]>>;
|
|
400
|
+
prompts: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
mutate: z.ZodOptional<z.ZodObject<{
|
|
402
|
+
system: z.ZodOptional<z.ZodString>;
|
|
403
|
+
user: z.ZodOptional<z.ZodString>;
|
|
404
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
system?: string | undefined;
|
|
406
|
+
user?: string | undefined;
|
|
407
|
+
}, {
|
|
408
|
+
system?: string | undefined;
|
|
409
|
+
user?: string | undefined;
|
|
410
|
+
}>>;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
mutate?: {
|
|
413
|
+
system?: string | undefined;
|
|
414
|
+
user?: string | undefined;
|
|
415
|
+
} | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
mutate?: {
|
|
418
|
+
system?: string | undefined;
|
|
419
|
+
user?: string | undefined;
|
|
420
|
+
} | undefined;
|
|
421
|
+
}>>;
|
|
319
422
|
}, "strip", z.ZodTypeAny, {
|
|
320
423
|
task: string;
|
|
321
424
|
candidate: string;
|
|
@@ -323,18 +426,29 @@ export declare const mutateArgsSchema: z.ZodObject<{
|
|
|
323
426
|
provider: string;
|
|
324
427
|
rubric?: string | undefined;
|
|
325
428
|
config_path?: string | undefined;
|
|
429
|
+
profile_name?: string | undefined;
|
|
430
|
+
prompt_style?: "general" | "paper-programming" | undefined;
|
|
326
431
|
base_url?: string | undefined;
|
|
327
432
|
api_key_env?: string | undefined;
|
|
328
433
|
generator_model?: string | undefined;
|
|
329
434
|
mutator_model?: string | undefined;
|
|
330
435
|
judge_model?: string | undefined;
|
|
331
436
|
finalizer_model?: string | undefined;
|
|
437
|
+
mutate_temperature?: number | undefined;
|
|
438
|
+
prompts?: {
|
|
439
|
+
mutate?: {
|
|
440
|
+
system?: string | undefined;
|
|
441
|
+
user?: string | undefined;
|
|
442
|
+
} | undefined;
|
|
443
|
+
} | undefined;
|
|
332
444
|
}, {
|
|
333
445
|
task: string;
|
|
334
446
|
candidate: string;
|
|
335
447
|
rubric?: string | undefined;
|
|
336
448
|
critique?: string | undefined;
|
|
337
449
|
config_path?: string | undefined;
|
|
450
|
+
profile_name?: string | undefined;
|
|
451
|
+
prompt_style?: "general" | "paper-programming" | undefined;
|
|
338
452
|
provider?: string | undefined;
|
|
339
453
|
base_url?: string | undefined;
|
|
340
454
|
api_key_env?: string | undefined;
|
|
@@ -342,13 +456,23 @@ export declare const mutateArgsSchema: z.ZodObject<{
|
|
|
342
456
|
mutator_model?: string | undefined;
|
|
343
457
|
judge_model?: string | undefined;
|
|
344
458
|
finalizer_model?: string | undefined;
|
|
459
|
+
mutate_temperature?: number | undefined;
|
|
460
|
+
prompts?: {
|
|
461
|
+
mutate?: {
|
|
462
|
+
system?: string | undefined;
|
|
463
|
+
user?: string | undefined;
|
|
464
|
+
} | undefined;
|
|
465
|
+
} | undefined;
|
|
345
466
|
}>;
|
|
346
467
|
export declare const resumeArgsSchema: z.ZodObject<{
|
|
347
468
|
run_dir: z.ZodString;
|
|
469
|
+
continue: z.ZodOptional<z.ZodBoolean>;
|
|
348
470
|
}, "strip", z.ZodTypeAny, {
|
|
349
471
|
run_dir: string;
|
|
472
|
+
continue?: boolean | undefined;
|
|
350
473
|
}, {
|
|
351
474
|
run_dir: string;
|
|
475
|
+
continue?: boolean | undefined;
|
|
352
476
|
}>;
|
|
353
477
|
export declare const exportArgsSchema: z.ZodObject<{
|
|
354
478
|
run_dir: z.ZodString;
|
|
@@ -468,16 +592,16 @@ export declare const resumeOutputSchema: z.ZodObject<{
|
|
|
468
592
|
}, "strip", z.ZodTypeAny, {
|
|
469
593
|
status: string;
|
|
470
594
|
message: string;
|
|
595
|
+
generation?: number | "final" | undefined;
|
|
471
596
|
run_id?: string | undefined;
|
|
472
597
|
phase?: string | undefined;
|
|
473
|
-
generation?: number | "final" | undefined;
|
|
474
598
|
safe_to_continue?: boolean | undefined;
|
|
475
599
|
}, {
|
|
476
600
|
status: string;
|
|
477
601
|
message: string;
|
|
602
|
+
generation?: number | "final" | undefined;
|
|
478
603
|
run_id?: string | undefined;
|
|
479
604
|
phase?: string | undefined;
|
|
480
|
-
generation?: number | "final" | undefined;
|
|
481
605
|
safe_to_continue?: boolean | undefined;
|
|
482
606
|
}>;
|
|
483
607
|
export declare const rankOutputSchema: z.ZodObject<{
|
|
@@ -507,14 +631,19 @@ export declare const mutateOutputSchema: z.ZodObject<{
|
|
|
507
631
|
model?: string | undefined;
|
|
508
632
|
}>;
|
|
509
633
|
export declare function deepthonkPlan(argsInput: unknown): Record<string, unknown>;
|
|
510
|
-
export declare function
|
|
634
|
+
export declare function deepthonkPlanAsync(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
635
|
+
export interface McpSamplingContext {
|
|
636
|
+
getClientCapabilities(): ClientCapabilities | undefined;
|
|
637
|
+
createMessage: SamplingTransport;
|
|
638
|
+
}
|
|
639
|
+
export declare function deepthonkStart(argsInput: unknown, context?: McpSamplingContext): Promise<Record<string, unknown>>;
|
|
511
640
|
export declare function deepthonkStatus(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
512
641
|
export declare function deepthonkResult(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
513
642
|
export declare function deepthonkCancel(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
514
|
-
export declare function deepthonkRun(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
643
|
+
export declare function deepthonkRun(argsInput: unknown, context?: McpSamplingContext): Promise<Record<string, unknown>>;
|
|
515
644
|
export declare function deepthonkRank(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
516
645
|
export declare function deepthonkMutate(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
517
|
-
export declare function deepthonkResume(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
646
|
+
export declare function deepthonkResume(argsInput: unknown, context?: McpSamplingContext): Promise<Record<string, unknown>>;
|
|
518
647
|
export declare function deepthonkExport(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
519
648
|
export declare function toolResult(value: unknown): {
|
|
520
649
|
structuredContent: Record<string, unknown>;
|
|
@@ -531,3 +660,136 @@ export declare function toolError(error: unknown, runDir?: string): {
|
|
|
531
660
|
text: string;
|
|
532
661
|
}>;
|
|
533
662
|
};
|
|
663
|
+
export declare const profileListArgsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
664
|
+
export declare const profileNameArgsSchema: z.ZodObject<{
|
|
665
|
+
name: z.ZodString;
|
|
666
|
+
}, "strip", z.ZodTypeAny, {
|
|
667
|
+
name: string;
|
|
668
|
+
}, {
|
|
669
|
+
name: string;
|
|
670
|
+
}>;
|
|
671
|
+
export declare const profileSaveArgsSchema: z.ZodObject<{
|
|
672
|
+
name: z.ZodString;
|
|
673
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
674
|
+
profile: z.ZodOptional<z.ZodEnum<["quick", "balanced", "paper"]>>;
|
|
675
|
+
prompt_style: z.ZodOptional<z.ZodEnum<["general", "paper-programming"]>>;
|
|
676
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
677
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
678
|
+
api_key_env: z.ZodOptional<z.ZodString>;
|
|
679
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
680
|
+
generator: z.ZodOptional<z.ZodString>;
|
|
681
|
+
mutator: z.ZodOptional<z.ZodString>;
|
|
682
|
+
judge: z.ZodOptional<z.ZodString>;
|
|
683
|
+
finalizer: z.ZodOptional<z.ZodString>;
|
|
684
|
+
}, "strip", z.ZodTypeAny, {
|
|
685
|
+
judge?: string | undefined;
|
|
686
|
+
generator?: string | undefined;
|
|
687
|
+
mutator?: string | undefined;
|
|
688
|
+
finalizer?: string | undefined;
|
|
689
|
+
}, {
|
|
690
|
+
judge?: string | undefined;
|
|
691
|
+
generator?: string | undefined;
|
|
692
|
+
mutator?: string | undefined;
|
|
693
|
+
finalizer?: string | undefined;
|
|
694
|
+
}>>;
|
|
695
|
+
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
696
|
+
algorithm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
697
|
+
prompts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
698
|
+
system: z.ZodOptional<z.ZodString>;
|
|
699
|
+
user: z.ZodOptional<z.ZodString>;
|
|
700
|
+
}, "strip", z.ZodTypeAny, {
|
|
701
|
+
system?: string | undefined;
|
|
702
|
+
user?: string | undefined;
|
|
703
|
+
}, {
|
|
704
|
+
system?: string | undefined;
|
|
705
|
+
user?: string | undefined;
|
|
706
|
+
}>>>;
|
|
707
|
+
budget: z.ZodOptional<z.ZodUnknown>;
|
|
708
|
+
concurrency: z.ZodOptional<z.ZodUnknown>;
|
|
709
|
+
retry: z.ZodOptional<z.ZodUnknown>;
|
|
710
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
711
|
+
}, "strict", z.ZodTypeAny, {
|
|
712
|
+
name: string;
|
|
713
|
+
profile?: "quick" | "balanced" | "paper" | undefined;
|
|
714
|
+
prompt_style?: "general" | "paper-programming" | undefined;
|
|
715
|
+
provider?: string | undefined;
|
|
716
|
+
base_url?: string | undefined;
|
|
717
|
+
api_key_env?: string | undefined;
|
|
718
|
+
concurrency?: unknown;
|
|
719
|
+
prompts?: Record<string, {
|
|
720
|
+
system?: string | undefined;
|
|
721
|
+
user?: string | undefined;
|
|
722
|
+
}> | undefined;
|
|
723
|
+
output?: unknown;
|
|
724
|
+
retry?: unknown;
|
|
725
|
+
budget?: unknown;
|
|
726
|
+
models?: {
|
|
727
|
+
judge?: string | undefined;
|
|
728
|
+
generator?: string | undefined;
|
|
729
|
+
mutator?: string | undefined;
|
|
730
|
+
finalizer?: string | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
providers?: Record<string, unknown> | undefined;
|
|
733
|
+
algorithm?: Record<string, unknown> | undefined;
|
|
734
|
+
force?: boolean | undefined;
|
|
735
|
+
}, {
|
|
736
|
+
name: string;
|
|
737
|
+
profile?: "quick" | "balanced" | "paper" | undefined;
|
|
738
|
+
prompt_style?: "general" | "paper-programming" | undefined;
|
|
739
|
+
provider?: string | undefined;
|
|
740
|
+
base_url?: string | undefined;
|
|
741
|
+
api_key_env?: string | undefined;
|
|
742
|
+
concurrency?: unknown;
|
|
743
|
+
prompts?: Record<string, {
|
|
744
|
+
system?: string | undefined;
|
|
745
|
+
user?: string | undefined;
|
|
746
|
+
}> | undefined;
|
|
747
|
+
output?: unknown;
|
|
748
|
+
retry?: unknown;
|
|
749
|
+
budget?: unknown;
|
|
750
|
+
models?: {
|
|
751
|
+
judge?: string | undefined;
|
|
752
|
+
generator?: string | undefined;
|
|
753
|
+
mutator?: string | undefined;
|
|
754
|
+
finalizer?: string | undefined;
|
|
755
|
+
} | undefined;
|
|
756
|
+
providers?: Record<string, unknown> | undefined;
|
|
757
|
+
algorithm?: Record<string, unknown> | undefined;
|
|
758
|
+
force?: boolean | undefined;
|
|
759
|
+
}>;
|
|
760
|
+
export declare const profileListOutputSchema: z.ZodObject<{
|
|
761
|
+
profiles: z.ZodArray<z.ZodString, "many">;
|
|
762
|
+
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
profiles: string[];
|
|
764
|
+
}, {
|
|
765
|
+
profiles: string[];
|
|
766
|
+
}>;
|
|
767
|
+
export declare const profileShowOutputSchema: z.ZodObject<{
|
|
768
|
+
profile: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
769
|
+
}, "strip", z.ZodTypeAny, {
|
|
770
|
+
profile: {} & {
|
|
771
|
+
[k: string]: unknown;
|
|
772
|
+
};
|
|
773
|
+
}, {
|
|
774
|
+
profile: {} & {
|
|
775
|
+
[k: string]: unknown;
|
|
776
|
+
};
|
|
777
|
+
}>;
|
|
778
|
+
export declare const profileSaveOutputSchema: z.ZodObject<{
|
|
779
|
+
path: z.ZodString;
|
|
780
|
+
}, "strip", z.ZodTypeAny, {
|
|
781
|
+
path: string;
|
|
782
|
+
}, {
|
|
783
|
+
path: string;
|
|
784
|
+
}>;
|
|
785
|
+
export declare const profileDeleteOutputSchema: z.ZodObject<{
|
|
786
|
+
deleted: z.ZodString;
|
|
787
|
+
}, "strip", z.ZodTypeAny, {
|
|
788
|
+
deleted: string;
|
|
789
|
+
}, {
|
|
790
|
+
deleted: string;
|
|
791
|
+
}>;
|
|
792
|
+
export declare function deepthonkProfileList(_argsInput: unknown): Promise<Record<string, unknown>>;
|
|
793
|
+
export declare function deepthonkProfileShow(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
794
|
+
export declare function deepthonkProfileSave(argsInput: unknown): Promise<Record<string, unknown>>;
|
|
795
|
+
export declare function deepthonkProfileDelete(argsInput: unknown): Promise<Record<string, unknown>>;
|