@maudecode/talaria-web-contracts 1.18.0 → 1.20.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/dist/context-detail.d.ts +75 -0
- package/dist/context-detail.js +18 -0
- package/dist/context-detail.js.map +1 -0
- package/dist/gateway-session.d.ts +475 -0
- package/dist/gateway-session.js +106 -0
- package/dist/gateway-session.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/openapi.js +4 -0
- package/dist/openapi.js.map +1 -1
- package/dist/router.d.ts +5503 -251
- package/dist/routes/automation.d.ts +100 -18
- package/dist/routes/automation.js +7 -4
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +1605 -47
- package/dist/routes/chat.js +7 -2
- package/dist/routes/chat.js.map +1 -1
- package/dist/routes/core.d.ts +15 -4
- package/dist/routes/core.js +2 -2
- package/dist/routes/core.js.map +1 -1
- package/dist/routes/git.d.ts +9 -0
- package/dist/routes/git.js +6 -1
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/raw.js +10 -6
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +3189 -181
- package/dist/routes/sessions.js +24 -7
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +445 -11
- package/dist/routes/settings.js +5 -4
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +945 -34
- package/dist/routes/tools.js +75 -8
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +4 -4
- package/dist/run-status.d.ts +39 -0
- package/dist/run-status.js +13 -0
- package/dist/run-status.js.map +1 -0
- package/dist/sidecar/methods.d.ts +1906 -52
- package/dist/sidecar/methods.js +9 -2
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +2421 -54
- package/dist/sidecar/namespaces.js +390 -36
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +1 -0
- package/dist/sidecar/rpc.js +2 -0
- package/dist/sidecar/rpc.js.map +1 -1
- package/dist/sidecar/runtime.d.ts +74 -0
- package/dist/sidecar/runtime.js +29 -0
- package/dist/sidecar/runtime.js.map +1 -1
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/speed.d.ts +14 -0
- package/dist/speed.js +6 -0
- package/dist/speed.js.map +1 -0
- package/dist/sse.d.ts +868 -5
- package/dist/sse.js +30 -7
- package/dist/sse.js.map +1 -1
- package/dist/transcribe-stream.d.ts +34 -0
- package/dist/transcribe-stream.js +23 -0
- package/dist/transcribe-stream.js.map +1 -0
- package/dist/views.d.ts +2627 -176
- package/dist/views.js +321 -52
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/aux.json +142 -0
- package/fixtures/sidecar/chat.json +28 -0
- package/fixtures/sidecar/checkpoints.json +12 -7
- package/fixtures/sidecar/commands.json +216 -108
- package/fixtures/sidecar/config.json +15 -0
- package/fixtures/sidecar/connectors.json +218 -0
- package/fixtures/sidecar/context-detail.json +77 -0
- package/fixtures/sidecar/cron.json +1004 -32
- package/fixtures/sidecar/dashboard_plugins.json +59 -0
- package/fixtures/sidecar/gateway.json +202 -0
- package/fixtures/sidecar/goals.json +5 -3
- package/fixtures/sidecar/kanban.json +139 -49
- package/fixtures/sidecar/memory.json +50 -0
- package/fixtures/sidecar/models.json +122 -0
- package/fixtures/sidecar/personalities.json +92 -0
- package/fixtures/sidecar/plugin-catalog.json +4 -0
- package/fixtures/sidecar/plugins.json +171 -27
- package/fixtures/sidecar/process.json +63 -0
- package/fixtures/sidecar/profiles.json +2 -0
- package/fixtures/sidecar/providers.json +14 -1
- package/fixtures/sidecar/rpc.json +39 -1
- package/fixtures/sidecar/runtime.json +130 -14
- package/fixtures/sidecar/skills.json +256 -13
- package/fixtures/sidecar/state_db.json +29 -2
- package/fixtures/sidecar/stt.json +62 -1
- package/fixtures/sidecar/text.json +20 -2
- package/fixtures/sidecar/toolsets.json +468 -0
- package/fixtures/sidecar/usage.json +22 -2
- package/fixtures/sidecar/write_approval.json +98 -0
- package/package.json +1 -1
package/dist/routes/tools.d.ts
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/** TAL-784: a save whose `revision` no longer matches the file (409), so it would overwrite later changes. The page reloads. */
|
|
3
|
+
export declare const MemoryWriteConflictSchema: z.ZodObject<{
|
|
4
|
+
error: z.ZodString;
|
|
5
|
+
code: z.ZodLiteral<"memory_conflict">;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const MemoryWriteRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
8
|
+
error: z.ZodString;
|
|
9
|
+
code: z.ZodLiteral<"memory_char_limit">;
|
|
10
|
+
char_limit: z.ZodObject<{
|
|
11
|
+
count: z.ZodNumber;
|
|
12
|
+
limit: z.ZodNumber;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
error: z.ZodString;
|
|
16
|
+
code: z.ZodEnum<{
|
|
17
|
+
memory_mask_ambiguous: "memory_mask_ambiguous";
|
|
18
|
+
memory_mask_edited: "memory_mask_edited";
|
|
19
|
+
}>;
|
|
20
|
+
mask: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
error: z.ZodString;
|
|
23
|
+
code: z.ZodLiteral<"memory_conflict">;
|
|
24
|
+
}, z.core.$strip>]>;
|
|
25
|
+
export type MemoryWriteRefusal = z.infer<typeof MemoryWriteRefusalSchema>;
|
|
26
|
+
/** TAL-819: a kind's staged writes and whether the page shows its review panel. */
|
|
27
|
+
export declare const PendingWritesSchema: z.ZodObject<{
|
|
28
|
+
kind: z.ZodEnum<{
|
|
29
|
+
skills: "skills";
|
|
30
|
+
memory: "memory";
|
|
31
|
+
}>;
|
|
32
|
+
visible: z.ZodBoolean;
|
|
33
|
+
enabled: z.ZodBoolean;
|
|
34
|
+
items: z.ZodArray<z.ZodObject<{
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
kind: z.ZodEnum<{
|
|
37
|
+
skills: "skills";
|
|
38
|
+
memory: "memory";
|
|
39
|
+
}>;
|
|
40
|
+
target: z.ZodString;
|
|
41
|
+
op: z.ZodString;
|
|
42
|
+
summary: z.ZodString;
|
|
43
|
+
origin: z.ZodString;
|
|
44
|
+
created_at: z.ZodNumber;
|
|
45
|
+
diff: z.ZodString;
|
|
46
|
+
approvable: z.ZodBoolean;
|
|
47
|
+
revision: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type PendingWrites = z.infer<typeof PendingWritesSchema>;
|
|
2
51
|
export declare const toolsContract: {
|
|
52
|
+
toolsetsCatalog: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
53
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
54
|
+
toolsets: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
toolsets: z.ZodArray<z.ZodObject<{
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
description: z.ZodString;
|
|
59
|
+
available: z.ZodBoolean;
|
|
60
|
+
selected: z.ZodBoolean;
|
|
61
|
+
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
62
|
+
unavailable: "unavailable";
|
|
63
|
+
disabled: "disabled";
|
|
64
|
+
}>>;
|
|
65
|
+
}, z.core.$strip>>;
|
|
66
|
+
selected_toolsets: z.ZodArray<z.ZodString>;
|
|
67
|
+
using_defaults: z.ZodBoolean;
|
|
68
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
3
69
|
skills: {
|
|
4
70
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5
71
|
category: z.ZodOptional<z.ZodString>;
|
|
@@ -9,6 +75,14 @@ export declare const toolsContract: {
|
|
|
9
75
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
76
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
77
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
load_name: z.ZodOptional<z.ZodString>;
|
|
79
|
+
declared_name: z.ZodOptional<z.ZodString>;
|
|
80
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
shadowed: "shadowed";
|
|
82
|
+
unique: "unique";
|
|
83
|
+
ambiguous: "ambiguous";
|
|
84
|
+
}>>;
|
|
85
|
+
tier: z.ZodOptional<z.ZodNumber>;
|
|
12
86
|
}, z.core.$loose>>;
|
|
13
87
|
categories: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
14
88
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
@@ -26,6 +100,7 @@ export declare const toolsContract: {
|
|
|
26
100
|
name: z.ZodOptional<z.ZodString>;
|
|
27
101
|
file: z.ZodOptional<z.ZodString>;
|
|
28
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
editable: z.ZodOptional<z.ZodBoolean>;
|
|
29
104
|
name: z.ZodOptional<z.ZodString>;
|
|
30
105
|
content: z.ZodOptional<z.ZodString>;
|
|
31
106
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -81,17 +156,83 @@ export declare const toolsContract: {
|
|
|
81
156
|
project_context_mtime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
82
157
|
project_context_shadowed: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
83
158
|
external_notes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
memory_revision: z.ZodString;
|
|
160
|
+
user_revision: z.ZodString;
|
|
161
|
+
soul_revision: z.ZodString;
|
|
84
162
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
85
163
|
write: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
86
164
|
section: z.ZodOptional<z.ZodString>;
|
|
87
165
|
target: z.ZodOptional<z.ZodString>;
|
|
88
166
|
content: z.ZodOptional<z.ZodString>;
|
|
167
|
+
revision: z.ZodString;
|
|
89
168
|
}, z.core.$strip>, z.ZodObject<{
|
|
90
169
|
ok: z.ZodLiteral<true>;
|
|
91
170
|
section: z.ZodString;
|
|
92
171
|
path: z.ZodString;
|
|
93
172
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
94
173
|
};
|
|
174
|
+
pendingWrites: {
|
|
175
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
176
|
+
kind: z.ZodEnum<{
|
|
177
|
+
skills: "skills";
|
|
178
|
+
memory: "memory";
|
|
179
|
+
}>;
|
|
180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
181
|
+
kind: z.ZodEnum<{
|
|
182
|
+
skills: "skills";
|
|
183
|
+
memory: "memory";
|
|
184
|
+
}>;
|
|
185
|
+
visible: z.ZodBoolean;
|
|
186
|
+
enabled: z.ZodBoolean;
|
|
187
|
+
items: z.ZodArray<z.ZodObject<{
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
kind: z.ZodEnum<{
|
|
190
|
+
skills: "skills";
|
|
191
|
+
memory: "memory";
|
|
192
|
+
}>;
|
|
193
|
+
target: z.ZodString;
|
|
194
|
+
op: z.ZodString;
|
|
195
|
+
summary: z.ZodString;
|
|
196
|
+
origin: z.ZodString;
|
|
197
|
+
created_at: z.ZodNumber;
|
|
198
|
+
diff: z.ZodString;
|
|
199
|
+
approvable: z.ZodBoolean;
|
|
200
|
+
revision: z.ZodString;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
203
|
+
approve: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
204
|
+
kind: z.ZodEnum<{
|
|
205
|
+
skills: "skills";
|
|
206
|
+
memory: "memory";
|
|
207
|
+
}>;
|
|
208
|
+
writes: z.ZodArray<z.ZodObject<{
|
|
209
|
+
id: z.ZodString;
|
|
210
|
+
revision: z.ZodString;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
213
|
+
results: z.ZodArray<z.ZodObject<{
|
|
214
|
+
id: z.ZodString;
|
|
215
|
+
done: z.ZodBoolean;
|
|
216
|
+
message: z.ZodString;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
219
|
+
reject: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
220
|
+
kind: z.ZodEnum<{
|
|
221
|
+
skills: "skills";
|
|
222
|
+
memory: "memory";
|
|
223
|
+
}>;
|
|
224
|
+
writes: z.ZodArray<z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
revision: z.ZodString;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
results: z.ZodArray<z.ZodObject<{
|
|
230
|
+
id: z.ZodString;
|
|
231
|
+
done: z.ZodBoolean;
|
|
232
|
+
message: z.ZodString;
|
|
233
|
+
}, z.core.$strip>>;
|
|
234
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
235
|
+
};
|
|
95
236
|
prompts: {
|
|
96
237
|
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
97
238
|
prompts: z.ZodArray<z.ZodObject<{
|
|
@@ -134,6 +275,7 @@ export declare const toolsContract: {
|
|
|
134
275
|
args_hint: z.ZodOptional<z.ZodString>;
|
|
135
276
|
category: z.ZodOptional<z.ZodString>;
|
|
136
277
|
handler: z.ZodEnum<{
|
|
278
|
+
prompt: "prompt";
|
|
137
279
|
agent: "agent";
|
|
138
280
|
client: "client";
|
|
139
281
|
}>;
|
|
@@ -226,8 +368,8 @@ export declare const toolsContract: {
|
|
|
226
368
|
enabled: z.ZodBoolean;
|
|
227
369
|
status: z.ZodEnum<{
|
|
228
370
|
error: "error";
|
|
229
|
-
ready: "ready";
|
|
230
371
|
empty: "empty";
|
|
372
|
+
ready: "ready";
|
|
231
373
|
missing: "missing";
|
|
232
374
|
not_directory: "not_directory";
|
|
233
375
|
}>;
|
|
@@ -307,6 +449,26 @@ export declare const toolsContract: {
|
|
|
307
449
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
308
450
|
ops: {
|
|
309
451
|
agent: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
452
|
+
chat: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
453
|
+
available: z.ZodLiteral<true>;
|
|
454
|
+
condition: z.ZodNull;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
agent_runtime_reason: z.ZodOptional<z.ZodEnum<{
|
|
457
|
+
unknown: "unknown";
|
|
458
|
+
update_active: "update_active";
|
|
459
|
+
recovery_incomplete: "recovery_incomplete";
|
|
460
|
+
source_changed: "source_changed";
|
|
461
|
+
}>>;
|
|
462
|
+
agent_update_state: z.ZodOptional<z.ZodString>;
|
|
463
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
+
restart_scheduled: z.ZodOptional<z.ZodBoolean>;
|
|
465
|
+
available: z.ZodLiteral<false>;
|
|
466
|
+
condition: z.ZodEnum<{
|
|
467
|
+
sidecar_unavailable: "sidecar_unavailable";
|
|
468
|
+
agent_runtime_stale: "agent_runtime_stale";
|
|
469
|
+
agent_incompatible: "agent_incompatible";
|
|
470
|
+
}>;
|
|
471
|
+
}, z.core.$strip>], "available">>;
|
|
310
472
|
alive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
311
473
|
checked_at: z.ZodOptional<z.ZodString>;
|
|
312
474
|
details: z.ZodOptional<z.ZodObject<{
|
|
@@ -396,14 +558,14 @@ export declare const toolsContract: {
|
|
|
396
558
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
397
559
|
mime: z.ZodOptional<z.ZodString>;
|
|
398
560
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
561
|
+
markdown: "markdown";
|
|
562
|
+
html: "html";
|
|
399
563
|
text: "text";
|
|
400
564
|
image: "image";
|
|
401
565
|
audio: "audio";
|
|
402
566
|
video: "video";
|
|
403
567
|
pdf: "pdf";
|
|
404
|
-
markdown: "markdown";
|
|
405
568
|
csv: "csv";
|
|
406
|
-
html: "html";
|
|
407
569
|
binary: "binary";
|
|
408
570
|
}>>;
|
|
409
571
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -419,14 +581,14 @@ export declare const toolsContract: {
|
|
|
419
581
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
420
582
|
mime: z.ZodOptional<z.ZodString>;
|
|
421
583
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
584
|
+
markdown: "markdown";
|
|
585
|
+
html: "html";
|
|
422
586
|
text: "text";
|
|
423
587
|
image: "image";
|
|
424
588
|
audio: "audio";
|
|
425
589
|
video: "video";
|
|
426
590
|
pdf: "pdf";
|
|
427
|
-
markdown: "markdown";
|
|
428
591
|
csv: "csv";
|
|
429
|
-
html: "html";
|
|
430
592
|
binary: "binary";
|
|
431
593
|
}>>;
|
|
432
594
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -442,14 +604,14 @@ export declare const toolsContract: {
|
|
|
442
604
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
443
605
|
mime: z.ZodOptional<z.ZodString>;
|
|
444
606
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
607
|
+
markdown: "markdown";
|
|
608
|
+
html: "html";
|
|
445
609
|
text: "text";
|
|
446
610
|
image: "image";
|
|
447
611
|
audio: "audio";
|
|
448
612
|
video: "video";
|
|
449
613
|
pdf: "pdf";
|
|
450
|
-
markdown: "markdown";
|
|
451
614
|
csv: "csv";
|
|
452
|
-
html: "html";
|
|
453
615
|
binary: "binary";
|
|
454
616
|
}>>;
|
|
455
617
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -465,14 +627,14 @@ export declare const toolsContract: {
|
|
|
465
627
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
466
628
|
mime: z.ZodOptional<z.ZodString>;
|
|
467
629
|
preview: z.ZodOptional<z.ZodEnum<{
|
|
630
|
+
markdown: "markdown";
|
|
631
|
+
html: "html";
|
|
468
632
|
text: "text";
|
|
469
633
|
image: "image";
|
|
470
634
|
audio: "audio";
|
|
471
635
|
video: "video";
|
|
472
636
|
pdf: "pdf";
|
|
473
|
-
markdown: "markdown";
|
|
474
637
|
csv: "csv";
|
|
475
|
-
html: "html";
|
|
476
638
|
binary: "binary";
|
|
477
639
|
}>>;
|
|
478
640
|
table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -500,6 +662,13 @@ export declare const toolsContract: {
|
|
|
500
662
|
status: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
501
663
|
running: z.ZodBoolean;
|
|
502
664
|
configured: z.ZodBoolean;
|
|
665
|
+
gateway_mode: z.ZodNullable<z.ZodEnum<{
|
|
666
|
+
stopped: "stopped";
|
|
667
|
+
parked: "parked";
|
|
668
|
+
own: "own";
|
|
669
|
+
served: "served";
|
|
670
|
+
standalone: "standalone";
|
|
671
|
+
}>>;
|
|
503
672
|
platforms: z.ZodArray<z.ZodObject<{
|
|
504
673
|
name: z.ZodString;
|
|
505
674
|
label: z.ZodString;
|
|
@@ -523,6 +692,13 @@ export declare const toolsContract: {
|
|
|
523
692
|
status: z.ZodObject<{
|
|
524
693
|
running: z.ZodBoolean;
|
|
525
694
|
configured: z.ZodBoolean;
|
|
695
|
+
gateway_mode: z.ZodNullable<z.ZodEnum<{
|
|
696
|
+
stopped: "stopped";
|
|
697
|
+
parked: "parked";
|
|
698
|
+
own: "own";
|
|
699
|
+
served: "served";
|
|
700
|
+
standalone: "standalone";
|
|
701
|
+
}>>;
|
|
526
702
|
platforms: z.ZodArray<z.ZodObject<{
|
|
527
703
|
name: z.ZodString;
|
|
528
704
|
label: z.ZodString;
|
|
@@ -547,6 +723,13 @@ export declare const toolsContract: {
|
|
|
547
723
|
status: z.ZodObject<{
|
|
548
724
|
running: z.ZodBoolean;
|
|
549
725
|
configured: z.ZodBoolean;
|
|
726
|
+
gateway_mode: z.ZodNullable<z.ZodEnum<{
|
|
727
|
+
stopped: "stopped";
|
|
728
|
+
parked: "parked";
|
|
729
|
+
own: "own";
|
|
730
|
+
served: "served";
|
|
731
|
+
standalone: "standalone";
|
|
732
|
+
}>>;
|
|
550
733
|
platforms: z.ZodArray<z.ZodObject<{
|
|
551
734
|
name: z.ZodString;
|
|
552
735
|
label: z.ZodString;
|
|
@@ -571,6 +754,13 @@ export declare const toolsContract: {
|
|
|
571
754
|
status: z.ZodObject<{
|
|
572
755
|
running: z.ZodBoolean;
|
|
573
756
|
configured: z.ZodBoolean;
|
|
757
|
+
gateway_mode: z.ZodNullable<z.ZodEnum<{
|
|
758
|
+
stopped: "stopped";
|
|
759
|
+
parked: "parked";
|
|
760
|
+
own: "own";
|
|
761
|
+
served: "served";
|
|
762
|
+
standalone: "standalone";
|
|
763
|
+
}>>;
|
|
574
764
|
platforms: z.ZodArray<z.ZodObject<{
|
|
575
765
|
name: z.ZodString;
|
|
576
766
|
label: z.ZodString;
|
|
@@ -657,6 +847,210 @@ export declare const toolsContract: {
|
|
|
657
847
|
deleted: z.ZodString;
|
|
658
848
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
659
849
|
};
|
|
850
|
+
/**
|
|
851
|
+
* TAL-818: Nous tool-gateway apps (the Agent's portal connectors). Failures carry `code`: `connectors_unavailable` (404),
|
|
852
|
+
* `connectors_sign_in` / `connectors_forbidden` (403), `policy_conflict` / `connectors_org_required` / `operation_settled` /
|
|
853
|
+
* `operation_refused` (409), `connector_not_found` / `connection_not_found` / `operation_not_found` (404), `policy_invalid` (400),
|
|
854
|
+
* `connectors_failed` (502).
|
|
855
|
+
*/
|
|
856
|
+
connectors: {
|
|
857
|
+
available: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
858
|
+
available: z.ZodBoolean;
|
|
859
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
860
|
+
page: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
861
|
+
available: z.ZodBoolean;
|
|
862
|
+
sign_in_required: z.ZodDefault<z.ZodBoolean>;
|
|
863
|
+
connectors: z.ZodArray<z.ZodObject<{
|
|
864
|
+
slug: z.ZodString;
|
|
865
|
+
name: z.ZodString;
|
|
866
|
+
description: z.ZodString;
|
|
867
|
+
category: z.ZodString;
|
|
868
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
869
|
+
connected: z.ZodBoolean;
|
|
870
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
871
|
+
connection_id: z.ZodString;
|
|
872
|
+
name: z.ZodString;
|
|
873
|
+
problem: z.ZodNullable<z.ZodEnum<{
|
|
874
|
+
pending: "pending";
|
|
875
|
+
expired: "expired";
|
|
876
|
+
revoked: "revoked";
|
|
877
|
+
failed: "failed";
|
|
878
|
+
inactive: "inactive";
|
|
879
|
+
}>>;
|
|
880
|
+
status_reason: z.ZodNullable<z.ZodString>;
|
|
881
|
+
active: z.ZodBoolean;
|
|
882
|
+
created_at: z.ZodString;
|
|
883
|
+
}, z.core.$strip>>;
|
|
884
|
+
enabled: z.ZodBoolean;
|
|
885
|
+
org_locked: z.ZodBoolean;
|
|
886
|
+
rules_editable: z.ZodBoolean;
|
|
887
|
+
tools_off: z.ZodNumber;
|
|
888
|
+
}, z.core.$strip>>;
|
|
889
|
+
policy_revision: z.ZodNullable<z.ZodString>;
|
|
890
|
+
rules_error: z.ZodNullable<z.ZodString>;
|
|
891
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
892
|
+
tools: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
893
|
+
connector: z.ZodString;
|
|
894
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
895
|
+
connector: z.ZodString;
|
|
896
|
+
policy_revision: z.ZodNullable<z.ZodString>;
|
|
897
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
898
|
+
slug: z.ZodString;
|
|
899
|
+
name: z.ZodString;
|
|
900
|
+
description: z.ZodString;
|
|
901
|
+
facet: z.ZodEnum<{
|
|
902
|
+
read: "read";
|
|
903
|
+
write: "write";
|
|
904
|
+
destructive: "destructive";
|
|
905
|
+
unclassified: "unclassified";
|
|
906
|
+
}>;
|
|
907
|
+
deprecated: z.ZodBoolean;
|
|
908
|
+
enabled: z.ZodBoolean;
|
|
909
|
+
locked: z.ZodBoolean;
|
|
910
|
+
editable: z.ZodBoolean;
|
|
911
|
+
}, z.core.$strip>>;
|
|
912
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
913
|
+
setPolicy: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
914
|
+
connector: z.ZodString;
|
|
915
|
+
revision: z.ZodString;
|
|
916
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
918
|
+
tool_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
919
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
920
|
+
ok: z.ZodLiteral<true>;
|
|
921
|
+
revision: z.ZodString;
|
|
922
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
923
|
+
connect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
924
|
+
connector: z.ZodString;
|
|
925
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
926
|
+
op_id: z.ZodString;
|
|
927
|
+
settled: z.ZodBoolean;
|
|
928
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
929
|
+
connected: "connected";
|
|
930
|
+
not_connected: "not_connected";
|
|
931
|
+
}>>;
|
|
932
|
+
can_continue: z.ZodBoolean;
|
|
933
|
+
tool_call_id: z.ZodNullable<z.ZodString>;
|
|
934
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
935
|
+
name: z.ZodString;
|
|
936
|
+
title: z.ZodString;
|
|
937
|
+
kind: z.ZodString;
|
|
938
|
+
state: z.ZodEnum<{
|
|
939
|
+
pending: "pending";
|
|
940
|
+
expired: "expired";
|
|
941
|
+
skipped: "skipped";
|
|
942
|
+
initiated: "initiated";
|
|
943
|
+
connected: "connected";
|
|
944
|
+
failed: "failed";
|
|
945
|
+
not_connected: "not_connected";
|
|
946
|
+
}>;
|
|
947
|
+
detail: z.ZodString;
|
|
948
|
+
connect_url: z.ZodNullable<z.ZodString>;
|
|
949
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
950
|
+
retry: "retry";
|
|
951
|
+
skip: "skip";
|
|
952
|
+
approve: "approve";
|
|
953
|
+
}>>;
|
|
954
|
+
env_fields: z.ZodArray<z.ZodObject<{
|
|
955
|
+
name: z.ZodString;
|
|
956
|
+
label: z.ZodString;
|
|
957
|
+
required: z.ZodBoolean;
|
|
958
|
+
secret: z.ZodBoolean;
|
|
959
|
+
}, z.core.$strip>>;
|
|
960
|
+
}, z.core.$strip>>;
|
|
961
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
962
|
+
removeAccount: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
963
|
+
connection_id: z.ZodString;
|
|
964
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
965
|
+
ok: z.ZodLiteral<true>;
|
|
966
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
967
|
+
operation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
968
|
+
op_id: z.ZodString;
|
|
969
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
970
|
+
op_id: z.ZodString;
|
|
971
|
+
settled: z.ZodBoolean;
|
|
972
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
973
|
+
connected: "connected";
|
|
974
|
+
not_connected: "not_connected";
|
|
975
|
+
}>>;
|
|
976
|
+
can_continue: z.ZodBoolean;
|
|
977
|
+
tool_call_id: z.ZodNullable<z.ZodString>;
|
|
978
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
979
|
+
name: z.ZodString;
|
|
980
|
+
title: z.ZodString;
|
|
981
|
+
kind: z.ZodString;
|
|
982
|
+
state: z.ZodEnum<{
|
|
983
|
+
pending: "pending";
|
|
984
|
+
expired: "expired";
|
|
985
|
+
skipped: "skipped";
|
|
986
|
+
initiated: "initiated";
|
|
987
|
+
connected: "connected";
|
|
988
|
+
failed: "failed";
|
|
989
|
+
not_connected: "not_connected";
|
|
990
|
+
}>;
|
|
991
|
+
detail: z.ZodString;
|
|
992
|
+
connect_url: z.ZodNullable<z.ZodString>;
|
|
993
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
994
|
+
retry: "retry";
|
|
995
|
+
skip: "skip";
|
|
996
|
+
approve: "approve";
|
|
997
|
+
}>>;
|
|
998
|
+
env_fields: z.ZodArray<z.ZodObject<{
|
|
999
|
+
name: z.ZodString;
|
|
1000
|
+
label: z.ZodString;
|
|
1001
|
+
required: z.ZodBoolean;
|
|
1002
|
+
secret: z.ZodBoolean;
|
|
1003
|
+
}, z.core.$strip>>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1006
|
+
respond: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1007
|
+
op_id: z.ZodString;
|
|
1008
|
+
action: z.ZodEnum<{
|
|
1009
|
+
retry: "retry";
|
|
1010
|
+
skip: "skip";
|
|
1011
|
+
approve: "approve";
|
|
1012
|
+
continue: "continue";
|
|
1013
|
+
}>;
|
|
1014
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1017
|
+
op_id: z.ZodString;
|
|
1018
|
+
settled: z.ZodBoolean;
|
|
1019
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
1020
|
+
connected: "connected";
|
|
1021
|
+
not_connected: "not_connected";
|
|
1022
|
+
}>>;
|
|
1023
|
+
can_continue: z.ZodBoolean;
|
|
1024
|
+
tool_call_id: z.ZodNullable<z.ZodString>;
|
|
1025
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
1026
|
+
name: z.ZodString;
|
|
1027
|
+
title: z.ZodString;
|
|
1028
|
+
kind: z.ZodString;
|
|
1029
|
+
state: z.ZodEnum<{
|
|
1030
|
+
pending: "pending";
|
|
1031
|
+
expired: "expired";
|
|
1032
|
+
skipped: "skipped";
|
|
1033
|
+
initiated: "initiated";
|
|
1034
|
+
connected: "connected";
|
|
1035
|
+
failed: "failed";
|
|
1036
|
+
not_connected: "not_connected";
|
|
1037
|
+
}>;
|
|
1038
|
+
detail: z.ZodString;
|
|
1039
|
+
connect_url: z.ZodNullable<z.ZodString>;
|
|
1040
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
1041
|
+
retry: "retry";
|
|
1042
|
+
skip: "skip";
|
|
1043
|
+
approve: "approve";
|
|
1044
|
+
}>>;
|
|
1045
|
+
env_fields: z.ZodArray<z.ZodObject<{
|
|
1046
|
+
name: z.ZodString;
|
|
1047
|
+
label: z.ZodString;
|
|
1048
|
+
required: z.ZodBoolean;
|
|
1049
|
+
secret: z.ZodBoolean;
|
|
1050
|
+
}, z.core.$strip>>;
|
|
1051
|
+
}, z.core.$strip>>;
|
|
1052
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1053
|
+
};
|
|
660
1054
|
plugins: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
661
1055
|
plugins: z.ZodArray<z.ZodObject<{
|
|
662
1056
|
key: z.ZodString;
|
|
@@ -668,14 +1062,184 @@ export declare const toolsContract: {
|
|
|
668
1062
|
activation: z.ZodOptional<z.ZodString>;
|
|
669
1063
|
is_active_provider: z.ZodOptional<z.ZodBoolean>;
|
|
670
1064
|
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1065
|
+
update: z.ZodOptional<z.ZodObject<{
|
|
1066
|
+
available: z.ZodBoolean;
|
|
1067
|
+
latest_revision: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
}, z.core.$strip>>;
|
|
1069
|
+
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1070
|
+
key: z.ZodString;
|
|
1071
|
+
type: z.ZodEnum<{
|
|
1072
|
+
string: "string";
|
|
1073
|
+
number: "number";
|
|
1074
|
+
boolean: "boolean";
|
|
1075
|
+
enum: "enum";
|
|
1076
|
+
json: "json";
|
|
1077
|
+
secret: "secret";
|
|
1078
|
+
}>;
|
|
1079
|
+
label: z.ZodString;
|
|
1080
|
+
description: z.ZodString;
|
|
1081
|
+
required: z.ZodBoolean;
|
|
1082
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1083
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
1084
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1085
|
+
env: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
has_value: z.ZodOptional<z.ZodBoolean>;
|
|
1087
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1088
|
+
}, z.core.$strip>>>;
|
|
1089
|
+
oauth_clients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1090
|
+
id: z.ZodString;
|
|
1091
|
+
state: z.ZodEnum<{
|
|
1092
|
+
signed_in: "signed_in";
|
|
1093
|
+
sign_in_needed: "sign_in_needed";
|
|
1094
|
+
revoked: "revoked";
|
|
1095
|
+
logged_out: "logged_out";
|
|
1096
|
+
}>;
|
|
1097
|
+
authorize_host: z.ZodString;
|
|
1098
|
+
token_host: z.ZodString;
|
|
1099
|
+
can_sign_out: z.ZodBoolean;
|
|
1100
|
+
}, z.core.$strip>>>;
|
|
671
1101
|
}, z.core.$loose>>;
|
|
672
1102
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
673
1103
|
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
674
1104
|
supported_hooks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
675
1105
|
unavailable: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
+
plugin_isolation_advisory: z.ZodOptional<z.ZodBoolean>;
|
|
676
1107
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
1108
|
+
pluginCatalog: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1109
|
+
query: z.ZodDefault<z.ZodString>;
|
|
1110
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1111
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1113
|
+
supported: z.ZodBoolean;
|
|
1114
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
1115
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
1116
|
+
name: z.ZodString;
|
|
1117
|
+
title: z.ZodString;
|
|
1118
|
+
description: z.ZodString;
|
|
1119
|
+
repo: z.ZodString;
|
|
1120
|
+
sha: z.ZodString;
|
|
1121
|
+
tier: z.ZodString;
|
|
1122
|
+
category: z.ZodString;
|
|
1123
|
+
requirements: z.ZodArray<z.ZodString>;
|
|
1124
|
+
installed_key: z.ZodNullable<z.ZodString>;
|
|
1125
|
+
installed_sha: z.ZodNullable<z.ZodString>;
|
|
1126
|
+
can_install: z.ZodBoolean;
|
|
1127
|
+
refusal: z.ZodNullable<z.ZodString>;
|
|
1128
|
+
}, z.core.$strip>>;
|
|
1129
|
+
total: z.ZodNumber;
|
|
1130
|
+
next_offset: z.ZodNullable<z.ZodNumber>;
|
|
1131
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1132
|
+
pluginInstall: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1133
|
+
name: z.ZodString;
|
|
1134
|
+
consent_token: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1136
|
+
name: z.ZodString;
|
|
1137
|
+
key: z.ZodString;
|
|
1138
|
+
status: z.ZodLiteral<"installed">;
|
|
1139
|
+
enabled: z.ZodLiteral<false>;
|
|
1140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1141
|
+
name: z.ZodString;
|
|
1142
|
+
status: z.ZodLiteral<"needs_consent">;
|
|
1143
|
+
findings: z.ZodString;
|
|
1144
|
+
consent_token: z.ZodString;
|
|
1145
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1146
|
+
name: z.ZodString;
|
|
1147
|
+
status: z.ZodLiteral<"blocked">;
|
|
1148
|
+
findings: z.ZodString;
|
|
1149
|
+
}, z.core.$strip>], "status">, Record<never, never>, Record<never, never>>;
|
|
1150
|
+
pluginUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1151
|
+
key: z.ZodString;
|
|
1152
|
+
accept_caution: z.ZodDefault<z.ZodBoolean>;
|
|
1153
|
+
consent_token: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1155
|
+
key: z.ZodString;
|
|
1156
|
+
status: z.ZodLiteral<"updated">;
|
|
1157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1158
|
+
key: z.ZodString;
|
|
1159
|
+
status: z.ZodLiteral<"needs_consent">;
|
|
1160
|
+
verdict: z.ZodLiteral<"caution">;
|
|
1161
|
+
findings: z.ZodString;
|
|
1162
|
+
consent_token: z.ZodString;
|
|
1163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1164
|
+
key: z.ZodString;
|
|
1165
|
+
status: z.ZodLiteral<"blocked">;
|
|
1166
|
+
verdict: z.ZodString;
|
|
1167
|
+
findings: z.ZodString;
|
|
1168
|
+
}, z.core.$strip>], "status">, Record<never, never>, Record<never, never>>;
|
|
1169
|
+
pluginSettings: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1170
|
+
key: z.ZodString;
|
|
1171
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1172
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1174
|
+
ok: z.ZodLiteral<true>;
|
|
1175
|
+
key: z.ZodString;
|
|
1176
|
+
written: z.ZodArray<z.ZodString>;
|
|
1177
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
1178
|
+
key: z.ZodString;
|
|
1179
|
+
type: z.ZodEnum<{
|
|
1180
|
+
string: "string";
|
|
1181
|
+
number: "number";
|
|
1182
|
+
boolean: "boolean";
|
|
1183
|
+
enum: "enum";
|
|
1184
|
+
json: "json";
|
|
1185
|
+
secret: "secret";
|
|
1186
|
+
}>;
|
|
1187
|
+
label: z.ZodString;
|
|
1188
|
+
description: z.ZodString;
|
|
1189
|
+
required: z.ZodBoolean;
|
|
1190
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1191
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
1192
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1193
|
+
env: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
has_value: z.ZodOptional<z.ZodBoolean>;
|
|
1195
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1196
|
+
}, z.core.$strip>>;
|
|
1197
|
+
runtime_application: z.ZodEnum<{
|
|
1198
|
+
unknown: "unknown";
|
|
1199
|
+
applied: "applied";
|
|
1200
|
+
restart_required: "restart_required";
|
|
1201
|
+
}>;
|
|
1202
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1203
|
+
pluginOAuthRedirect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1204
|
+
flow_id: z.ZodString;
|
|
1205
|
+
url: z.ZodString;
|
|
1206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1207
|
+
ok: z.ZodOptional<z.ZodBoolean>;
|
|
1208
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
verification_url: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
user_code: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1213
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1214
|
+
flow_id: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
expires_in: z.ZodOptional<z.ZodNumber>;
|
|
1217
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1218
|
+
authorize_host: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
token_host: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
1222
|
+
pluginOAuthLogout: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1223
|
+
key: z.ZodString;
|
|
1224
|
+
id: z.ZodString;
|
|
1225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1226
|
+
ok: z.ZodLiteral<true>;
|
|
1227
|
+
removed: z.ZodBoolean;
|
|
1228
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
677
1229
|
updates: {
|
|
678
1230
|
check: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
1231
|
+
agent_recovery: z.ZodOptional<z.ZodObject<{
|
|
1232
|
+
phase: z.ZodEnum<{
|
|
1233
|
+
blocked: "blocked";
|
|
1234
|
+
running: "running";
|
|
1235
|
+
waiting: "waiting";
|
|
1236
|
+
idle: "idle";
|
|
1237
|
+
complete: "complete";
|
|
1238
|
+
}>;
|
|
1239
|
+
attempt: z.ZodNumber;
|
|
1240
|
+
detail: z.ZodString;
|
|
1241
|
+
retry_at: z.ZodNullable<z.ZodString>;
|
|
1242
|
+
}, z.core.$strip>>;
|
|
679
1243
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
680
1244
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
681
1245
|
channel: z.ZodOptional<z.ZodString>;
|
|
@@ -686,12 +1250,25 @@ export declare const toolsContract: {
|
|
|
686
1250
|
checked_at: z.ZodOptional<z.ZodNumber>;
|
|
687
1251
|
include_agent: z.ZodOptional<z.ZodBoolean>;
|
|
688
1252
|
webui: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1253
|
+
failed_update: z.ZodOptional<z.ZodObject<{
|
|
1254
|
+
version: z.ZodString;
|
|
1255
|
+
restored_version: z.ZodString;
|
|
1256
|
+
}, z.core.$strip>>;
|
|
689
1257
|
name: z.ZodOptional<z.ZodString>;
|
|
690
1258
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
691
1259
|
stable: "stable";
|
|
692
1260
|
experimental: "experimental";
|
|
693
1261
|
}>>;
|
|
694
1262
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
1263
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1264
|
+
supported: "supported";
|
|
1265
|
+
unchecked: "unchecked";
|
|
1266
|
+
}>>;
|
|
1267
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
current_support: z.ZodOptional<z.ZodEnum<{
|
|
1269
|
+
supported: "supported";
|
|
1270
|
+
unchecked: "unchecked";
|
|
1271
|
+
}>>;
|
|
695
1272
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
696
1273
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
697
1274
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
@@ -715,12 +1292,12 @@ export declare const toolsContract: {
|
|
|
715
1292
|
current_version: z.ZodOptional<z.ZodString>;
|
|
716
1293
|
state: z.ZodEnum<{
|
|
717
1294
|
unknown: "unknown";
|
|
1295
|
+
finish: "finish";
|
|
718
1296
|
manual: "manual";
|
|
719
1297
|
up_to_date: "up_to_date";
|
|
720
1298
|
release_ready: "release_ready";
|
|
721
1299
|
commits_behind: "commits_behind";
|
|
722
1300
|
local_changes: "local_changes";
|
|
723
|
-
finish: "finish";
|
|
724
1301
|
check_failed: "check_failed";
|
|
725
1302
|
off: "off";
|
|
726
1303
|
}>;
|
|
@@ -729,14 +1306,41 @@ export declare const toolsContract: {
|
|
|
729
1306
|
manual_link: z.ZodBoolean;
|
|
730
1307
|
target_version: z.ZodNullable<z.ZodString>;
|
|
731
1308
|
summary_available: z.ZodBoolean;
|
|
1309
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
1310
|
+
version: z.ZodString;
|
|
1311
|
+
ref: z.ZodString;
|
|
1312
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
release_url: z.ZodNullable<z.ZodString>;
|
|
1314
|
+
latest: z.ZodBoolean;
|
|
1315
|
+
folded: z.ZodBoolean;
|
|
1316
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1317
|
+
supported: "supported";
|
|
1318
|
+
unchecked: "unchecked";
|
|
1319
|
+
}>>;
|
|
1320
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
}, z.core.$strip>>;
|
|
1322
|
+
folded_count: z.ZodNumber;
|
|
732
1323
|
}, z.core.$loose>>>;
|
|
733
1324
|
agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1325
|
+
failed_update: z.ZodOptional<z.ZodObject<{
|
|
1326
|
+
version: z.ZodString;
|
|
1327
|
+
restored_version: z.ZodString;
|
|
1328
|
+
}, z.core.$strip>>;
|
|
734
1329
|
name: z.ZodOptional<z.ZodString>;
|
|
735
1330
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
736
1331
|
stable: "stable";
|
|
737
1332
|
experimental: "experimental";
|
|
738
1333
|
}>>;
|
|
739
1334
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
1335
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1336
|
+
supported: "supported";
|
|
1337
|
+
unchecked: "unchecked";
|
|
1338
|
+
}>>;
|
|
1339
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
current_support: z.ZodOptional<z.ZodEnum<{
|
|
1341
|
+
supported: "supported";
|
|
1342
|
+
unchecked: "unchecked";
|
|
1343
|
+
}>>;
|
|
740
1344
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
741
1345
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
742
1346
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
@@ -760,12 +1364,12 @@ export declare const toolsContract: {
|
|
|
760
1364
|
current_version: z.ZodOptional<z.ZodString>;
|
|
761
1365
|
state: z.ZodEnum<{
|
|
762
1366
|
unknown: "unknown";
|
|
1367
|
+
finish: "finish";
|
|
763
1368
|
manual: "manual";
|
|
764
1369
|
up_to_date: "up_to_date";
|
|
765
1370
|
release_ready: "release_ready";
|
|
766
1371
|
commits_behind: "commits_behind";
|
|
767
1372
|
local_changes: "local_changes";
|
|
768
|
-
finish: "finish";
|
|
769
1373
|
check_failed: "check_failed";
|
|
770
1374
|
off: "off";
|
|
771
1375
|
}>;
|
|
@@ -774,6 +1378,20 @@ export declare const toolsContract: {
|
|
|
774
1378
|
manual_link: z.ZodBoolean;
|
|
775
1379
|
target_version: z.ZodNullable<z.ZodString>;
|
|
776
1380
|
summary_available: z.ZodBoolean;
|
|
1381
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
1382
|
+
version: z.ZodString;
|
|
1383
|
+
ref: z.ZodString;
|
|
1384
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
release_url: z.ZodNullable<z.ZodString>;
|
|
1386
|
+
latest: z.ZodBoolean;
|
|
1387
|
+
folded: z.ZodBoolean;
|
|
1388
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1389
|
+
supported: "supported";
|
|
1390
|
+
unchecked: "unchecked";
|
|
1391
|
+
}>>;
|
|
1392
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
}, z.core.$strip>>;
|
|
1394
|
+
folded_count: z.ZodNumber;
|
|
777
1395
|
}, z.core.$loose>>>;
|
|
778
1396
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
779
1397
|
checkNow: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -784,6 +1402,18 @@ export declare const toolsContract: {
|
|
|
784
1402
|
experimental: "experimental";
|
|
785
1403
|
}>>;
|
|
786
1404
|
}, z.core.$strip>, z.ZodObject<{
|
|
1405
|
+
agent_recovery: z.ZodOptional<z.ZodObject<{
|
|
1406
|
+
phase: z.ZodEnum<{
|
|
1407
|
+
blocked: "blocked";
|
|
1408
|
+
running: "running";
|
|
1409
|
+
waiting: "waiting";
|
|
1410
|
+
idle: "idle";
|
|
1411
|
+
complete: "complete";
|
|
1412
|
+
}>;
|
|
1413
|
+
attempt: z.ZodNumber;
|
|
1414
|
+
detail: z.ZodString;
|
|
1415
|
+
retry_at: z.ZodNullable<z.ZodString>;
|
|
1416
|
+
}, z.core.$strip>>;
|
|
787
1417
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
788
1418
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
789
1419
|
channel: z.ZodOptional<z.ZodString>;
|
|
@@ -794,12 +1424,25 @@ export declare const toolsContract: {
|
|
|
794
1424
|
checked_at: z.ZodOptional<z.ZodNumber>;
|
|
795
1425
|
include_agent: z.ZodOptional<z.ZodBoolean>;
|
|
796
1426
|
webui: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1427
|
+
failed_update: z.ZodOptional<z.ZodObject<{
|
|
1428
|
+
version: z.ZodString;
|
|
1429
|
+
restored_version: z.ZodString;
|
|
1430
|
+
}, z.core.$strip>>;
|
|
797
1431
|
name: z.ZodOptional<z.ZodString>;
|
|
798
1432
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
799
1433
|
stable: "stable";
|
|
800
1434
|
experimental: "experimental";
|
|
801
1435
|
}>>;
|
|
802
1436
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
1437
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1438
|
+
supported: "supported";
|
|
1439
|
+
unchecked: "unchecked";
|
|
1440
|
+
}>>;
|
|
1441
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
current_support: z.ZodOptional<z.ZodEnum<{
|
|
1443
|
+
supported: "supported";
|
|
1444
|
+
unchecked: "unchecked";
|
|
1445
|
+
}>>;
|
|
803
1446
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
804
1447
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
805
1448
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
@@ -823,12 +1466,12 @@ export declare const toolsContract: {
|
|
|
823
1466
|
current_version: z.ZodOptional<z.ZodString>;
|
|
824
1467
|
state: z.ZodEnum<{
|
|
825
1468
|
unknown: "unknown";
|
|
1469
|
+
finish: "finish";
|
|
826
1470
|
manual: "manual";
|
|
827
1471
|
up_to_date: "up_to_date";
|
|
828
1472
|
release_ready: "release_ready";
|
|
829
1473
|
commits_behind: "commits_behind";
|
|
830
1474
|
local_changes: "local_changes";
|
|
831
|
-
finish: "finish";
|
|
832
1475
|
check_failed: "check_failed";
|
|
833
1476
|
off: "off";
|
|
834
1477
|
}>;
|
|
@@ -837,14 +1480,41 @@ export declare const toolsContract: {
|
|
|
837
1480
|
manual_link: z.ZodBoolean;
|
|
838
1481
|
target_version: z.ZodNullable<z.ZodString>;
|
|
839
1482
|
summary_available: z.ZodBoolean;
|
|
1483
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
1484
|
+
version: z.ZodString;
|
|
1485
|
+
ref: z.ZodString;
|
|
1486
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
release_url: z.ZodNullable<z.ZodString>;
|
|
1488
|
+
latest: z.ZodBoolean;
|
|
1489
|
+
folded: z.ZodBoolean;
|
|
1490
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1491
|
+
supported: "supported";
|
|
1492
|
+
unchecked: "unchecked";
|
|
1493
|
+
}>>;
|
|
1494
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
}, z.core.$strip>>;
|
|
1496
|
+
folded_count: z.ZodNumber;
|
|
840
1497
|
}, z.core.$loose>>>;
|
|
841
1498
|
agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1499
|
+
failed_update: z.ZodOptional<z.ZodObject<{
|
|
1500
|
+
version: z.ZodString;
|
|
1501
|
+
restored_version: z.ZodString;
|
|
1502
|
+
}, z.core.$strip>>;
|
|
842
1503
|
name: z.ZodOptional<z.ZodString>;
|
|
843
1504
|
channel: z.ZodOptional<z.ZodEnum<{
|
|
844
1505
|
stable: "stable";
|
|
845
1506
|
experimental: "experimental";
|
|
846
1507
|
}>>;
|
|
847
1508
|
unsupported: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1510
|
+
supported: "supported";
|
|
1511
|
+
unchecked: "unchecked";
|
|
1512
|
+
}>>;
|
|
1513
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
current_support: z.ZodOptional<z.ZodEnum<{
|
|
1515
|
+
supported: "supported";
|
|
1516
|
+
unchecked: "unchecked";
|
|
1517
|
+
}>>;
|
|
848
1518
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
849
1519
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
850
1520
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
@@ -868,12 +1538,12 @@ export declare const toolsContract: {
|
|
|
868
1538
|
current_version: z.ZodOptional<z.ZodString>;
|
|
869
1539
|
state: z.ZodEnum<{
|
|
870
1540
|
unknown: "unknown";
|
|
1541
|
+
finish: "finish";
|
|
871
1542
|
manual: "manual";
|
|
872
1543
|
up_to_date: "up_to_date";
|
|
873
1544
|
release_ready: "release_ready";
|
|
874
1545
|
commits_behind: "commits_behind";
|
|
875
1546
|
local_changes: "local_changes";
|
|
876
|
-
finish: "finish";
|
|
877
1547
|
check_failed: "check_failed";
|
|
878
1548
|
off: "off";
|
|
879
1549
|
}>;
|
|
@@ -882,24 +1552,48 @@ export declare const toolsContract: {
|
|
|
882
1552
|
manual_link: z.ZodBoolean;
|
|
883
1553
|
target_version: z.ZodNullable<z.ZodString>;
|
|
884
1554
|
summary_available: z.ZodBoolean;
|
|
1555
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
1556
|
+
version: z.ZodString;
|
|
1557
|
+
ref: z.ZodString;
|
|
1558
|
+
sha: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
release_url: z.ZodNullable<z.ZodString>;
|
|
1560
|
+
latest: z.ZodBoolean;
|
|
1561
|
+
folded: z.ZodBoolean;
|
|
1562
|
+
support: z.ZodOptional<z.ZodEnum<{
|
|
1563
|
+
supported: "supported";
|
|
1564
|
+
unchecked: "unchecked";
|
|
1565
|
+
}>>;
|
|
1566
|
+
support_label: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
}, z.core.$strip>>;
|
|
1568
|
+
folded_count: z.ZodNumber;
|
|
885
1569
|
}, z.core.$loose>>>;
|
|
886
1570
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
887
1571
|
apply: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1572
|
+
version: z.ZodOptional<z.ZodString>;
|
|
888
1573
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
889
1574
|
agent_channel: z.ZodOptional<z.ZodEnum<{
|
|
890
1575
|
stable: "stable";
|
|
891
1576
|
experimental: "experimental";
|
|
892
1577
|
}>>;
|
|
1578
|
+
agent_refresh_token: z.ZodOptional<z.ZodString>;
|
|
893
1579
|
confirmed_agent_revision: z.ZodOptional<z.ZodString>;
|
|
894
1580
|
target: z.ZodOptional<z.ZodString>;
|
|
895
1581
|
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
896
1582
|
}, z.core.$strip>, z.ZodObject<{
|
|
1583
|
+
recovery_compatibility: z.ZodOptional<z.ZodObject<{
|
|
1584
|
+
manual_execution: z.ZodBoolean;
|
|
1585
|
+
bot_chat_delivery: z.ZodBoolean;
|
|
1586
|
+
}, z.core.$strip>>;
|
|
897
1587
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
898
1588
|
status: z.ZodOptional<z.ZodString>;
|
|
899
1589
|
error: z.ZodOptional<z.ZodString>;
|
|
900
1590
|
message: z.ZodOptional<z.ZodString>;
|
|
901
1591
|
lock: z.ZodOptional<z.ZodUnknown>;
|
|
902
1592
|
confirmation_required: z.ZodOptional<z.ZodBoolean>;
|
|
1593
|
+
refresh_confirmation: z.ZodOptional<z.ZodObject<{
|
|
1594
|
+
token: z.ZodString;
|
|
1595
|
+
services: z.ZodArray<z.ZodString>;
|
|
1596
|
+
}, z.core.$strip>>;
|
|
903
1597
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
904
1598
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
905
1599
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
@@ -912,23 +1606,34 @@ export declare const toolsContract: {
|
|
|
912
1606
|
backup_dir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
913
1607
|
backup_failed: z.ZodOptional<z.ZodBoolean>;
|
|
914
1608
|
stash_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
1609
|
+
gateway_restart: z.ZodOptional<z.ZodString>;
|
|
915
1610
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
916
1611
|
force: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1612
|
+
version: z.ZodOptional<z.ZodString>;
|
|
917
1613
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
918
1614
|
agent_channel: z.ZodOptional<z.ZodEnum<{
|
|
919
1615
|
stable: "stable";
|
|
920
1616
|
experimental: "experimental";
|
|
921
1617
|
}>>;
|
|
1618
|
+
agent_refresh_token: z.ZodOptional<z.ZodString>;
|
|
922
1619
|
confirmed_agent_revision: z.ZodOptional<z.ZodString>;
|
|
923
1620
|
target: z.ZodOptional<z.ZodString>;
|
|
924
1621
|
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
925
1622
|
}, z.core.$strip>, z.ZodObject<{
|
|
1623
|
+
recovery_compatibility: z.ZodOptional<z.ZodObject<{
|
|
1624
|
+
manual_execution: z.ZodBoolean;
|
|
1625
|
+
bot_chat_delivery: z.ZodBoolean;
|
|
1626
|
+
}, z.core.$strip>>;
|
|
926
1627
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
927
1628
|
status: z.ZodOptional<z.ZodString>;
|
|
928
1629
|
error: z.ZodOptional<z.ZodString>;
|
|
929
1630
|
message: z.ZodOptional<z.ZodString>;
|
|
930
1631
|
lock: z.ZodOptional<z.ZodUnknown>;
|
|
931
1632
|
confirmation_required: z.ZodOptional<z.ZodBoolean>;
|
|
1633
|
+
refresh_confirmation: z.ZodOptional<z.ZodObject<{
|
|
1634
|
+
token: z.ZodString;
|
|
1635
|
+
services: z.ZodArray<z.ZodString>;
|
|
1636
|
+
}, z.core.$strip>>;
|
|
932
1637
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
933
1638
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
934
1639
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
@@ -941,23 +1646,34 @@ export declare const toolsContract: {
|
|
|
941
1646
|
backup_dir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
942
1647
|
backup_failed: z.ZodOptional<z.ZodBoolean>;
|
|
943
1648
|
stash_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
1649
|
+
gateway_restart: z.ZodOptional<z.ZodString>;
|
|
944
1650
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
945
1651
|
clearLock: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1652
|
+
version: z.ZodOptional<z.ZodString>;
|
|
946
1653
|
tab_id: z.ZodOptional<z.ZodString>;
|
|
947
1654
|
agent_channel: z.ZodOptional<z.ZodEnum<{
|
|
948
1655
|
stable: "stable";
|
|
949
1656
|
experimental: "experimental";
|
|
950
1657
|
}>>;
|
|
1658
|
+
agent_refresh_token: z.ZodOptional<z.ZodString>;
|
|
951
1659
|
confirmed_agent_revision: z.ZodOptional<z.ZodString>;
|
|
952
1660
|
target: z.ZodOptional<z.ZodString>;
|
|
953
1661
|
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
954
1662
|
}, z.core.$strip>, z.ZodObject<{
|
|
1663
|
+
recovery_compatibility: z.ZodOptional<z.ZodObject<{
|
|
1664
|
+
manual_execution: z.ZodBoolean;
|
|
1665
|
+
bot_chat_delivery: z.ZodBoolean;
|
|
1666
|
+
}, z.core.$strip>>;
|
|
955
1667
|
ok: z.ZodOptional<z.ZodBoolean>;
|
|
956
1668
|
status: z.ZodOptional<z.ZodString>;
|
|
957
1669
|
error: z.ZodOptional<z.ZodString>;
|
|
958
1670
|
message: z.ZodOptional<z.ZodString>;
|
|
959
1671
|
lock: z.ZodOptional<z.ZodUnknown>;
|
|
960
1672
|
confirmation_required: z.ZodOptional<z.ZodBoolean>;
|
|
1673
|
+
refresh_confirmation: z.ZodOptional<z.ZodObject<{
|
|
1674
|
+
token: z.ZodString;
|
|
1675
|
+
services: z.ZodArray<z.ZodString>;
|
|
1676
|
+
}, z.core.$strip>>;
|
|
961
1677
|
candidate_revision: z.ZodOptional<z.ZodString>;
|
|
962
1678
|
supported_revision: z.ZodOptional<z.ZodString>;
|
|
963
1679
|
supported_version: z.ZodOptional<z.ZodString>;
|
|
@@ -970,6 +1686,7 @@ export declare const toolsContract: {
|
|
|
970
1686
|
backup_dir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
1687
|
backup_failed: z.ZodOptional<z.ZodBoolean>;
|
|
972
1688
|
stash_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
1689
|
+
gateway_restart: z.ZodOptional<z.ZodString>;
|
|
973
1690
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
974
1691
|
summary: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
975
1692
|
target: z.ZodEnum<{
|
|
@@ -1023,17 +1740,19 @@ export declare const toolsContract: {
|
|
|
1023
1740
|
}>>;
|
|
1024
1741
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1025
1742
|
unknown: "unknown";
|
|
1743
|
+
blocked: "blocked";
|
|
1744
|
+
restarting: "restarting";
|
|
1026
1745
|
failed: "failed";
|
|
1027
1746
|
applying: "applying";
|
|
1028
1747
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1029
|
-
|
|
1748
|
+
waiting_for_idle: "waiting_for_idle";
|
|
1749
|
+
verifying: "verifying";
|
|
1030
1750
|
succeeded: "succeeded";
|
|
1031
|
-
blocked: "blocked";
|
|
1032
1751
|
}>, z.ZodString]>;
|
|
1033
1752
|
severity: z.ZodEnum<{
|
|
1753
|
+
info: "info";
|
|
1034
1754
|
warning: "warning";
|
|
1035
1755
|
critical: "critical";
|
|
1036
|
-
info: "info";
|
|
1037
1756
|
}>;
|
|
1038
1757
|
persistent: z.ZodBoolean;
|
|
1039
1758
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1065,6 +1784,30 @@ export declare const toolsContract: {
|
|
|
1065
1784
|
active: z.ZodBoolean;
|
|
1066
1785
|
requires_interaction: z.ZodBoolean;
|
|
1067
1786
|
can_dismiss: z.ZodBoolean;
|
|
1787
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1788
|
+
id: z.ZodEnum<{
|
|
1789
|
+
ready: "ready";
|
|
1790
|
+
gateway_restart: "gateway_restart";
|
|
1791
|
+
install: "install";
|
|
1792
|
+
web_restart: "web_restart";
|
|
1793
|
+
gateway_wait: "gateway_wait";
|
|
1794
|
+
agent_ready: "agent_ready";
|
|
1795
|
+
}>;
|
|
1796
|
+
label: z.ZodString;
|
|
1797
|
+
state: z.ZodEnum<{
|
|
1798
|
+
pending: "pending";
|
|
1799
|
+
active: "active";
|
|
1800
|
+
failed: "failed";
|
|
1801
|
+
done: "done";
|
|
1802
|
+
}>;
|
|
1803
|
+
}, z.core.$strip>>;
|
|
1804
|
+
presents_dialog: z.ZodBoolean;
|
|
1805
|
+
dialog_close: z.ZodEnum<{
|
|
1806
|
+
auto: "auto";
|
|
1807
|
+
none: "none";
|
|
1808
|
+
close: "close";
|
|
1809
|
+
restart_later: "restart_later";
|
|
1810
|
+
}>;
|
|
1068
1811
|
}, z.core.$strip>>;
|
|
1069
1812
|
tab_update: z.ZodNullable<z.ZodObject<{
|
|
1070
1813
|
id: z.ZodUUID;
|
|
@@ -1075,17 +1818,19 @@ export declare const toolsContract: {
|
|
|
1075
1818
|
}>>;
|
|
1076
1819
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1077
1820
|
unknown: "unknown";
|
|
1821
|
+
blocked: "blocked";
|
|
1822
|
+
restarting: "restarting";
|
|
1078
1823
|
failed: "failed";
|
|
1079
1824
|
applying: "applying";
|
|
1080
1825
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1081
|
-
|
|
1826
|
+
waiting_for_idle: "waiting_for_idle";
|
|
1827
|
+
verifying: "verifying";
|
|
1082
1828
|
succeeded: "succeeded";
|
|
1083
|
-
blocked: "blocked";
|
|
1084
1829
|
}>, z.ZodString]>;
|
|
1085
1830
|
severity: z.ZodEnum<{
|
|
1831
|
+
info: "info";
|
|
1086
1832
|
warning: "warning";
|
|
1087
1833
|
critical: "critical";
|
|
1088
|
-
info: "info";
|
|
1089
1834
|
}>;
|
|
1090
1835
|
persistent: z.ZodBoolean;
|
|
1091
1836
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1117,6 +1862,30 @@ export declare const toolsContract: {
|
|
|
1117
1862
|
active: z.ZodBoolean;
|
|
1118
1863
|
requires_interaction: z.ZodBoolean;
|
|
1119
1864
|
can_dismiss: z.ZodBoolean;
|
|
1865
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1866
|
+
id: z.ZodEnum<{
|
|
1867
|
+
ready: "ready";
|
|
1868
|
+
gateway_restart: "gateway_restart";
|
|
1869
|
+
install: "install";
|
|
1870
|
+
web_restart: "web_restart";
|
|
1871
|
+
gateway_wait: "gateway_wait";
|
|
1872
|
+
agent_ready: "agent_ready";
|
|
1873
|
+
}>;
|
|
1874
|
+
label: z.ZodString;
|
|
1875
|
+
state: z.ZodEnum<{
|
|
1876
|
+
pending: "pending";
|
|
1877
|
+
active: "active";
|
|
1878
|
+
failed: "failed";
|
|
1879
|
+
done: "done";
|
|
1880
|
+
}>;
|
|
1881
|
+
}, z.core.$strip>>;
|
|
1882
|
+
presents_dialog: z.ZodBoolean;
|
|
1883
|
+
dialog_close: z.ZodEnum<{
|
|
1884
|
+
auto: "auto";
|
|
1885
|
+
none: "none";
|
|
1886
|
+
close: "close";
|
|
1887
|
+
restart_later: "restart_later";
|
|
1888
|
+
}>;
|
|
1120
1889
|
}, z.core.$strip>>;
|
|
1121
1890
|
tab_joined_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1122
1891
|
unread_count: z.ZodNumber;
|
|
@@ -1136,17 +1905,19 @@ export declare const toolsContract: {
|
|
|
1136
1905
|
}>>;
|
|
1137
1906
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1138
1907
|
unknown: "unknown";
|
|
1908
|
+
blocked: "blocked";
|
|
1909
|
+
restarting: "restarting";
|
|
1139
1910
|
failed: "failed";
|
|
1140
1911
|
applying: "applying";
|
|
1141
1912
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1142
|
-
|
|
1913
|
+
waiting_for_idle: "waiting_for_idle";
|
|
1914
|
+
verifying: "verifying";
|
|
1143
1915
|
succeeded: "succeeded";
|
|
1144
|
-
blocked: "blocked";
|
|
1145
1916
|
}>, z.ZodString]>;
|
|
1146
1917
|
severity: z.ZodEnum<{
|
|
1918
|
+
info: "info";
|
|
1147
1919
|
warning: "warning";
|
|
1148
1920
|
critical: "critical";
|
|
1149
|
-
info: "info";
|
|
1150
1921
|
}>;
|
|
1151
1922
|
persistent: z.ZodBoolean;
|
|
1152
1923
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1178,6 +1949,30 @@ export declare const toolsContract: {
|
|
|
1178
1949
|
active: z.ZodBoolean;
|
|
1179
1950
|
requires_interaction: z.ZodBoolean;
|
|
1180
1951
|
can_dismiss: z.ZodBoolean;
|
|
1952
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1953
|
+
id: z.ZodEnum<{
|
|
1954
|
+
ready: "ready";
|
|
1955
|
+
gateway_restart: "gateway_restart";
|
|
1956
|
+
install: "install";
|
|
1957
|
+
web_restart: "web_restart";
|
|
1958
|
+
gateway_wait: "gateway_wait";
|
|
1959
|
+
agent_ready: "agent_ready";
|
|
1960
|
+
}>;
|
|
1961
|
+
label: z.ZodString;
|
|
1962
|
+
state: z.ZodEnum<{
|
|
1963
|
+
pending: "pending";
|
|
1964
|
+
active: "active";
|
|
1965
|
+
failed: "failed";
|
|
1966
|
+
done: "done";
|
|
1967
|
+
}>;
|
|
1968
|
+
}, z.core.$strip>>;
|
|
1969
|
+
presents_dialog: z.ZodBoolean;
|
|
1970
|
+
dialog_close: z.ZodEnum<{
|
|
1971
|
+
auto: "auto";
|
|
1972
|
+
none: "none";
|
|
1973
|
+
close: "close";
|
|
1974
|
+
restart_later: "restart_later";
|
|
1975
|
+
}>;
|
|
1181
1976
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1182
1977
|
dismiss: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1183
1978
|
id: z.ZodUUID;
|
|
@@ -1207,17 +2002,19 @@ export declare const toolsContract: {
|
|
|
1207
2002
|
}>>;
|
|
1208
2003
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1209
2004
|
unknown: "unknown";
|
|
2005
|
+
blocked: "blocked";
|
|
2006
|
+
restarting: "restarting";
|
|
1210
2007
|
failed: "failed";
|
|
1211
2008
|
applying: "applying";
|
|
1212
2009
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1213
|
-
|
|
2010
|
+
waiting_for_idle: "waiting_for_idle";
|
|
2011
|
+
verifying: "verifying";
|
|
1214
2012
|
succeeded: "succeeded";
|
|
1215
|
-
blocked: "blocked";
|
|
1216
2013
|
}>, z.ZodString]>;
|
|
1217
2014
|
severity: z.ZodEnum<{
|
|
2015
|
+
info: "info";
|
|
1218
2016
|
warning: "warning";
|
|
1219
2017
|
critical: "critical";
|
|
1220
|
-
info: "info";
|
|
1221
2018
|
}>;
|
|
1222
2019
|
persistent: z.ZodBoolean;
|
|
1223
2020
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1249,6 +2046,30 @@ export declare const toolsContract: {
|
|
|
1249
2046
|
active: z.ZodBoolean;
|
|
1250
2047
|
requires_interaction: z.ZodBoolean;
|
|
1251
2048
|
can_dismiss: z.ZodBoolean;
|
|
2049
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2050
|
+
id: z.ZodEnum<{
|
|
2051
|
+
ready: "ready";
|
|
2052
|
+
gateway_restart: "gateway_restart";
|
|
2053
|
+
install: "install";
|
|
2054
|
+
web_restart: "web_restart";
|
|
2055
|
+
gateway_wait: "gateway_wait";
|
|
2056
|
+
agent_ready: "agent_ready";
|
|
2057
|
+
}>;
|
|
2058
|
+
label: z.ZodString;
|
|
2059
|
+
state: z.ZodEnum<{
|
|
2060
|
+
pending: "pending";
|
|
2061
|
+
active: "active";
|
|
2062
|
+
failed: "failed";
|
|
2063
|
+
done: "done";
|
|
2064
|
+
}>;
|
|
2065
|
+
}, z.core.$strip>>;
|
|
2066
|
+
presents_dialog: z.ZodBoolean;
|
|
2067
|
+
dialog_close: z.ZodEnum<{
|
|
2068
|
+
auto: "auto";
|
|
2069
|
+
none: "none";
|
|
2070
|
+
close: "close";
|
|
2071
|
+
restart_later: "restart_later";
|
|
2072
|
+
}>;
|
|
1252
2073
|
}, z.core.$strip>>;
|
|
1253
2074
|
tab_update: z.ZodNullable<z.ZodObject<{
|
|
1254
2075
|
id: z.ZodUUID;
|
|
@@ -1259,17 +2080,19 @@ export declare const toolsContract: {
|
|
|
1259
2080
|
}>>;
|
|
1260
2081
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1261
2082
|
unknown: "unknown";
|
|
2083
|
+
blocked: "blocked";
|
|
2084
|
+
restarting: "restarting";
|
|
1262
2085
|
failed: "failed";
|
|
1263
2086
|
applying: "applying";
|
|
1264
2087
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1265
|
-
|
|
2088
|
+
waiting_for_idle: "waiting_for_idle";
|
|
2089
|
+
verifying: "verifying";
|
|
1266
2090
|
succeeded: "succeeded";
|
|
1267
|
-
blocked: "blocked";
|
|
1268
2091
|
}>, z.ZodString]>;
|
|
1269
2092
|
severity: z.ZodEnum<{
|
|
2093
|
+
info: "info";
|
|
1270
2094
|
warning: "warning";
|
|
1271
2095
|
critical: "critical";
|
|
1272
|
-
info: "info";
|
|
1273
2096
|
}>;
|
|
1274
2097
|
persistent: z.ZodBoolean;
|
|
1275
2098
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1301,6 +2124,30 @@ export declare const toolsContract: {
|
|
|
1301
2124
|
active: z.ZodBoolean;
|
|
1302
2125
|
requires_interaction: z.ZodBoolean;
|
|
1303
2126
|
can_dismiss: z.ZodBoolean;
|
|
2127
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2128
|
+
id: z.ZodEnum<{
|
|
2129
|
+
ready: "ready";
|
|
2130
|
+
gateway_restart: "gateway_restart";
|
|
2131
|
+
install: "install";
|
|
2132
|
+
web_restart: "web_restart";
|
|
2133
|
+
gateway_wait: "gateway_wait";
|
|
2134
|
+
agent_ready: "agent_ready";
|
|
2135
|
+
}>;
|
|
2136
|
+
label: z.ZodString;
|
|
2137
|
+
state: z.ZodEnum<{
|
|
2138
|
+
pending: "pending";
|
|
2139
|
+
active: "active";
|
|
2140
|
+
failed: "failed";
|
|
2141
|
+
done: "done";
|
|
2142
|
+
}>;
|
|
2143
|
+
}, z.core.$strip>>;
|
|
2144
|
+
presents_dialog: z.ZodBoolean;
|
|
2145
|
+
dialog_close: z.ZodEnum<{
|
|
2146
|
+
auto: "auto";
|
|
2147
|
+
none: "none";
|
|
2148
|
+
close: "close";
|
|
2149
|
+
restart_later: "restart_later";
|
|
2150
|
+
}>;
|
|
1304
2151
|
}, z.core.$strip>>;
|
|
1305
2152
|
tab_joined_at: z.ZodNullable<z.ZodISODateTime>;
|
|
1306
2153
|
unread_count: z.ZodNumber;
|
|
@@ -1319,17 +2166,19 @@ export declare const toolsContract: {
|
|
|
1319
2166
|
}>>;
|
|
1320
2167
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1321
2168
|
unknown: "unknown";
|
|
2169
|
+
blocked: "blocked";
|
|
2170
|
+
restarting: "restarting";
|
|
1322
2171
|
failed: "failed";
|
|
1323
2172
|
applying: "applying";
|
|
1324
2173
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1325
|
-
|
|
2174
|
+
waiting_for_idle: "waiting_for_idle";
|
|
2175
|
+
verifying: "verifying";
|
|
1326
2176
|
succeeded: "succeeded";
|
|
1327
|
-
blocked: "blocked";
|
|
1328
2177
|
}>, z.ZodString]>;
|
|
1329
2178
|
severity: z.ZodEnum<{
|
|
2179
|
+
info: "info";
|
|
1330
2180
|
warning: "warning";
|
|
1331
2181
|
critical: "critical";
|
|
1332
|
-
info: "info";
|
|
1333
2182
|
}>;
|
|
1334
2183
|
persistent: z.ZodBoolean;
|
|
1335
2184
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1361,6 +2210,30 @@ export declare const toolsContract: {
|
|
|
1361
2210
|
active: z.ZodBoolean;
|
|
1362
2211
|
requires_interaction: z.ZodBoolean;
|
|
1363
2212
|
can_dismiss: z.ZodBoolean;
|
|
2213
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2214
|
+
id: z.ZodEnum<{
|
|
2215
|
+
ready: "ready";
|
|
2216
|
+
gateway_restart: "gateway_restart";
|
|
2217
|
+
install: "install";
|
|
2218
|
+
web_restart: "web_restart";
|
|
2219
|
+
gateway_wait: "gateway_wait";
|
|
2220
|
+
agent_ready: "agent_ready";
|
|
2221
|
+
}>;
|
|
2222
|
+
label: z.ZodString;
|
|
2223
|
+
state: z.ZodEnum<{
|
|
2224
|
+
pending: "pending";
|
|
2225
|
+
active: "active";
|
|
2226
|
+
failed: "failed";
|
|
2227
|
+
done: "done";
|
|
2228
|
+
}>;
|
|
2229
|
+
}, z.core.$strip>>;
|
|
2230
|
+
presents_dialog: z.ZodBoolean;
|
|
2231
|
+
dialog_close: z.ZodEnum<{
|
|
2232
|
+
auto: "auto";
|
|
2233
|
+
none: "none";
|
|
2234
|
+
close: "close";
|
|
2235
|
+
restart_later: "restart_later";
|
|
2236
|
+
}>;
|
|
1364
2237
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1365
2238
|
action: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1366
2239
|
id: z.ZodUUID;
|
|
@@ -1376,17 +2249,19 @@ export declare const toolsContract: {
|
|
|
1376
2249
|
}>>;
|
|
1377
2250
|
phase: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1378
2251
|
unknown: "unknown";
|
|
2252
|
+
blocked: "blocked";
|
|
2253
|
+
restarting: "restarting";
|
|
1379
2254
|
failed: "failed";
|
|
1380
2255
|
applying: "applying";
|
|
1381
2256
|
awaiting_confirmation: "awaiting_confirmation";
|
|
1382
|
-
|
|
2257
|
+
waiting_for_idle: "waiting_for_idle";
|
|
2258
|
+
verifying: "verifying";
|
|
1383
2259
|
succeeded: "succeeded";
|
|
1384
|
-
blocked: "blocked";
|
|
1385
2260
|
}>, z.ZodString]>;
|
|
1386
2261
|
severity: z.ZodEnum<{
|
|
2262
|
+
info: "info";
|
|
1387
2263
|
warning: "warning";
|
|
1388
2264
|
critical: "critical";
|
|
1389
|
-
info: "info";
|
|
1390
2265
|
}>;
|
|
1391
2266
|
persistent: z.ZodBoolean;
|
|
1392
2267
|
requires_acknowledgement: z.ZodBoolean;
|
|
@@ -1418,13 +2293,49 @@ export declare const toolsContract: {
|
|
|
1418
2293
|
active: z.ZodBoolean;
|
|
1419
2294
|
requires_interaction: z.ZodBoolean;
|
|
1420
2295
|
can_dismiss: z.ZodBoolean;
|
|
2296
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2297
|
+
id: z.ZodEnum<{
|
|
2298
|
+
ready: "ready";
|
|
2299
|
+
gateway_restart: "gateway_restart";
|
|
2300
|
+
install: "install";
|
|
2301
|
+
web_restart: "web_restart";
|
|
2302
|
+
gateway_wait: "gateway_wait";
|
|
2303
|
+
agent_ready: "agent_ready";
|
|
2304
|
+
}>;
|
|
2305
|
+
label: z.ZodString;
|
|
2306
|
+
state: z.ZodEnum<{
|
|
2307
|
+
pending: "pending";
|
|
2308
|
+
active: "active";
|
|
2309
|
+
failed: "failed";
|
|
2310
|
+
done: "done";
|
|
2311
|
+
}>;
|
|
2312
|
+
}, z.core.$strip>>;
|
|
2313
|
+
presents_dialog: z.ZodBoolean;
|
|
2314
|
+
dialog_close: z.ZodEnum<{
|
|
2315
|
+
auto: "auto";
|
|
2316
|
+
none: "none";
|
|
2317
|
+
close: "close";
|
|
2318
|
+
restart_later: "restart_later";
|
|
2319
|
+
}>;
|
|
1421
2320
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1422
2321
|
};
|
|
1423
2322
|
transcribeCapability: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
1424
2323
|
ok: z.ZodLiteral<true>;
|
|
1425
2324
|
available: z.ZodBoolean;
|
|
1426
2325
|
provider: z.ZodString;
|
|
2326
|
+
streaming: z.ZodBoolean;
|
|
2327
|
+
warm_supported: z.ZodBoolean;
|
|
1427
2328
|
}, z.core.$loose>, Record<never, never>, Record<never, never>>;
|
|
2329
|
+
speech: {
|
|
2330
|
+
prepare: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2331
|
+
text: z.ZodString;
|
|
2332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2333
|
+
spoken_text: z.ZodString;
|
|
2334
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2335
|
+
};
|
|
2336
|
+
transcribeWarm: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
2337
|
+
ok: z.ZodLiteral<true>;
|
|
2338
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1428
2339
|
clientEvents: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodObject<{
|
|
1429
2340
|
ok: z.ZodLiteral<true>;
|
|
1430
2341
|
event: z.ZodNullable<z.ZodString>;
|