@intentic/sandbox-contract 1.14.0 → 1.15.1
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/contracts/agent.contract.d.ts +7 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/automations.contract.d.ts +4 -18
- package/dist/contracts/automations.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +17 -64
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +151 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -0
- package/dist/contracts/extensions.contract.js +14 -0
- package/dist/contracts/extensions.contract.js.map +1 -0
- package/dist/contracts/git.contract.d.ts +33 -0
- package/dist/contracts/git.contract.d.ts.map +1 -1
- package/dist/contracts/git.contract.js +4 -1
- package/dist/contracts/git.contract.js.map +1 -1
- package/dist/contracts/grok.contract.d.ts +1 -1
- package/dist/contracts/history.contract.d.ts +1 -3
- package/dist/contracts/history.contract.d.ts.map +1 -1
- package/dist/contracts/history.contract.js +3 -3
- package/dist/contracts/history.contract.js.map +1 -1
- package/dist/contracts/settings.contract.d.ts +39 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +2 -1
- package/dist/contracts/settings.contract.js.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +19 -3
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.js +4 -3
- package/dist/contracts/workspace.contract.js.map +1 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +5 -1
- package/dist/events.js.map +1 -1
- package/dist/hostnames.d.ts +13 -0
- package/dist/hostnames.d.ts.map +1 -0
- package/dist/hostnames.js +39 -0
- package/dist/hostnames.js.map +1 -0
- package/dist/index.d.ts +274 -89
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +438 -204
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +99 -56
- package/dist/schemas.js.map +1 -1
- package/dist/terminal-protocol.d.ts +20 -0
- package/dist/terminal-protocol.d.ts.map +1 -0
- package/dist/terminal-protocol.js +2 -0
- package/dist/terminal-protocol.js.map +1 -0
- package/dist/tunnel-ids.d.ts +1 -0
- package/dist/tunnel-ids.d.ts.map +1 -1
- package/dist/tunnel-ids.js +1 -0
- package/dist/tunnel-ids.js.map +1 -1
- package/package.json +3 -2
package/dist/schemas.d.ts
CHANGED
|
@@ -5,6 +5,13 @@ export declare const OkSchema: z.ZodObject<{
|
|
|
5
5
|
export declare const RepoParamSchema: z.ZodObject<{
|
|
6
6
|
repo: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
+
export declare const SessionTranscriptMessageSchema: z.ZodObject<{
|
|
9
|
+
role: z.ZodEnum<{
|
|
10
|
+
user: "user";
|
|
11
|
+
assistant: "assistant";
|
|
12
|
+
}>;
|
|
13
|
+
text: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
8
15
|
export declare const AgentTurnSchema: z.ZodObject<{
|
|
9
16
|
prompt: z.ZodString;
|
|
10
17
|
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -15,6 +22,13 @@ export declare const AgentTurnSchema: z.ZodObject<{
|
|
|
15
22
|
}>>;
|
|
16
23
|
account: z.ZodOptional<z.ZodString>;
|
|
17
24
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
+
role: z.ZodEnum<{
|
|
27
|
+
user: "user";
|
|
28
|
+
assistant: "assistant";
|
|
29
|
+
}>;
|
|
30
|
+
text: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
18
32
|
model: z.ZodOptional<z.ZodString>;
|
|
19
33
|
plan: z.ZodOptional<z.ZodBoolean>;
|
|
20
34
|
effort: z.ZodOptional<z.ZodString>;
|
|
@@ -99,7 +113,7 @@ export declare const GrokModelsSchema: z.ZodObject<{
|
|
|
99
113
|
id: z.ZodString;
|
|
100
114
|
label: z.ZodString;
|
|
101
115
|
}, z.core.$strip>>;
|
|
102
|
-
default: z.
|
|
116
|
+
default: z.ZodString;
|
|
103
117
|
}, z.core.$strip>;
|
|
104
118
|
export declare const SessionIdParamSchema: z.ZodObject<{
|
|
105
119
|
id: z.ZodString;
|
|
@@ -116,13 +130,6 @@ export declare const SessionsListSchema: z.ZodObject<{
|
|
|
116
130
|
updatedAt: z.ZodNumber;
|
|
117
131
|
}, z.core.$strip>>;
|
|
118
132
|
}, z.core.$strip>;
|
|
119
|
-
export declare const SessionTranscriptMessageSchema: z.ZodObject<{
|
|
120
|
-
role: z.ZodEnum<{
|
|
121
|
-
user: "user";
|
|
122
|
-
assistant: "assistant";
|
|
123
|
-
}>;
|
|
124
|
-
text: z.ZodString;
|
|
125
|
-
}, z.core.$strip>;
|
|
126
133
|
export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
127
134
|
messages: z.ZodArray<z.ZodObject<{
|
|
128
135
|
role: z.ZodEnum<{
|
|
@@ -134,14 +141,49 @@ export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
|
134
141
|
}, z.core.$strip>;
|
|
135
142
|
export declare const SandboxSettingsSchema: z.ZodObject<{
|
|
136
143
|
searchPastChats: z.ZodBoolean;
|
|
144
|
+
stableSystemPrompt: z.ZodBoolean;
|
|
145
|
+
skills: z.ZodArray<z.ZodString>;
|
|
146
|
+
hashlineEdits: z.ZodBoolean;
|
|
147
|
+
terseOutput: z.ZodBoolean;
|
|
148
|
+
outputCleaners: z.ZodString;
|
|
149
|
+
outputHoldout: z.ZodNumber;
|
|
150
|
+
filterBackend: z.ZodEnum<{
|
|
151
|
+
native: "native";
|
|
152
|
+
rtk: "rtk";
|
|
153
|
+
}>;
|
|
137
154
|
}, z.core.$strip>;
|
|
138
155
|
export type SandboxSettings = z.infer<typeof SandboxSettingsSchema>;
|
|
156
|
+
export declare const CleanerSavingsSchema: z.ZodObject<{
|
|
157
|
+
commands: z.ZodNumber;
|
|
158
|
+
rawTokens: z.ZodNumber;
|
|
159
|
+
emittedTokens: z.ZodNumber;
|
|
160
|
+
savedPct: z.ZodNumber;
|
|
161
|
+
perCleaner: z.ZodArray<z.ZodObject<{
|
|
162
|
+
id: z.ZodString;
|
|
163
|
+
commands: z.ZodNumber;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
holdout: z.ZodObject<{
|
|
166
|
+
cleaned: z.ZodNumber;
|
|
167
|
+
heldOut: z.ZodNumber;
|
|
168
|
+
measuredSavedPct: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
171
|
+
command: z.ZodString;
|
|
172
|
+
tokens: z.ZodNumber;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
export type CleanerSavings = z.infer<typeof CleanerSavingsSchema>;
|
|
139
176
|
export declare const IntenticRunSchema: z.ZodObject<{
|
|
140
177
|
args: z.ZodArray<z.ZodString>;
|
|
141
178
|
}, z.core.$strip>;
|
|
142
179
|
export declare const CommitSchema: z.ZodObject<{
|
|
143
180
|
repo: z.ZodString;
|
|
144
181
|
message: z.ZodString;
|
|
182
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
export declare const DiscardSchema: z.ZodObject<{
|
|
185
|
+
repo: z.ZodString;
|
|
186
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
187
|
}, z.core.$strip>;
|
|
146
188
|
export declare const PushSchema: z.ZodObject<{
|
|
147
189
|
repo: z.ZodString;
|
|
@@ -156,6 +198,10 @@ export declare const GitFileWriteSchema: z.ZodObject<{
|
|
|
156
198
|
path: z.ZodString;
|
|
157
199
|
content: z.ZodString;
|
|
158
200
|
}, z.core.$strip>;
|
|
201
|
+
export declare const GitFileDiffQuerySchema: z.ZodObject<{
|
|
202
|
+
repo: z.ZodString;
|
|
203
|
+
path: z.ZodString;
|
|
204
|
+
}, z.core.$strip>;
|
|
159
205
|
export declare const GitStatusSchema: z.ZodObject<{
|
|
160
206
|
branch: z.ZodString;
|
|
161
207
|
dirty: z.ZodBoolean;
|
|
@@ -171,9 +217,55 @@ export declare const GitFileSchema: z.ZodObject<{
|
|
|
171
217
|
export declare const CommitResultSchema: z.ZodObject<{
|
|
172
218
|
committed: z.ZodBoolean;
|
|
173
219
|
}, z.core.$strip>;
|
|
220
|
+
export declare const GitChangeSchema: z.ZodObject<{
|
|
221
|
+
path: z.ZodString;
|
|
222
|
+
status: z.ZodEnum<{
|
|
223
|
+
added: "added";
|
|
224
|
+
modified: "modified";
|
|
225
|
+
deleted: "deleted";
|
|
226
|
+
renamed: "renamed";
|
|
227
|
+
"type-changed": "type-changed";
|
|
228
|
+
}>;
|
|
229
|
+
from: z.ZodOptional<z.ZodString>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
export type GitChange = z.infer<typeof GitChangeSchema>;
|
|
232
|
+
export declare const RepoChangesSchema: z.ZodObject<{
|
|
233
|
+
repo: z.ZodString;
|
|
234
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
235
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
236
|
+
path: z.ZodString;
|
|
237
|
+
status: z.ZodEnum<{
|
|
238
|
+
added: "added";
|
|
239
|
+
modified: "modified";
|
|
240
|
+
deleted: "deleted";
|
|
241
|
+
renamed: "renamed";
|
|
242
|
+
"type-changed": "type-changed";
|
|
243
|
+
}>;
|
|
244
|
+
from: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$strip>>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
export type RepoChanges = z.infer<typeof RepoChangesSchema>;
|
|
248
|
+
export declare const GitChangesSchema: z.ZodObject<{
|
|
249
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
250
|
+
repo: z.ZodString;
|
|
251
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
252
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
253
|
+
path: z.ZodString;
|
|
254
|
+
status: z.ZodEnum<{
|
|
255
|
+
added: "added";
|
|
256
|
+
modified: "modified";
|
|
257
|
+
deleted: "deleted";
|
|
258
|
+
renamed: "renamed";
|
|
259
|
+
"type-changed": "type-changed";
|
|
260
|
+
}>;
|
|
261
|
+
from: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
}, z.core.$strip>>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
export type GitChanges = z.infer<typeof GitChangesSchema>;
|
|
174
266
|
export declare const SnapshotTriggerSchema: z.ZodEnum<{
|
|
175
|
-
interval: "interval";
|
|
176
267
|
user: "user";
|
|
268
|
+
interval: "interval";
|
|
177
269
|
turn: "turn";
|
|
178
270
|
manual: "manual";
|
|
179
271
|
"pre-restore": "pre-restore";
|
|
@@ -184,8 +276,8 @@ export declare const SnapshotSchema: z.ZodObject<{
|
|
|
184
276
|
id: z.ZodString;
|
|
185
277
|
at: z.ZodNumber;
|
|
186
278
|
trigger: z.ZodEnum<{
|
|
187
|
-
interval: "interval";
|
|
188
279
|
user: "user";
|
|
280
|
+
interval: "interval";
|
|
189
281
|
turn: "turn";
|
|
190
282
|
manual: "manual";
|
|
191
283
|
"pre-restore": "pre-restore";
|
|
@@ -199,8 +291,8 @@ export declare const SnapshotsListSchema: z.ZodObject<{
|
|
|
199
291
|
id: z.ZodString;
|
|
200
292
|
at: z.ZodNumber;
|
|
201
293
|
trigger: z.ZodEnum<{
|
|
202
|
-
interval: "interval";
|
|
203
294
|
user: "user";
|
|
295
|
+
interval: "interval";
|
|
204
296
|
turn: "turn";
|
|
205
297
|
manual: "manual";
|
|
206
298
|
"pre-restore": "pre-restore";
|
|
@@ -212,10 +304,6 @@ export declare const SnapshotsListSchema: z.ZodObject<{
|
|
|
212
304
|
export declare const SnapshotIdSchema: z.ZodObject<{
|
|
213
305
|
id: z.ZodString;
|
|
214
306
|
}, z.core.$strip>;
|
|
215
|
-
export declare const SnapshotDiffQuerySchema: z.ZodObject<{
|
|
216
|
-
id: z.ZodString;
|
|
217
|
-
base: z.ZodOptional<z.ZodString>;
|
|
218
|
-
}, z.core.$strip>;
|
|
219
307
|
export declare const SnapshotChangeSchema: z.ZodObject<{
|
|
220
308
|
scope: z.ZodString;
|
|
221
309
|
path: z.ZodString;
|
|
@@ -243,15 +331,14 @@ export declare const SnapshotFileDiffQuerySchema: z.ZodObject<{
|
|
|
243
331
|
id: z.ZodString;
|
|
244
332
|
scope: z.ZodString;
|
|
245
333
|
path: z.ZodString;
|
|
246
|
-
base: z.ZodOptional<z.ZodString>;
|
|
247
334
|
}, z.core.$strip>;
|
|
248
|
-
export declare const
|
|
335
|
+
export declare const FileDiffSchema: z.ZodObject<{
|
|
249
336
|
before: z.ZodOptional<z.ZodString>;
|
|
250
337
|
after: z.ZodOptional<z.ZodString>;
|
|
251
338
|
binary: z.ZodOptional<z.ZodBoolean>;
|
|
252
339
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
253
340
|
}, z.core.$strip>;
|
|
254
|
-
export type
|
|
341
|
+
export type FileDiff = z.infer<typeof FileDiffSchema>;
|
|
255
342
|
export declare const SnapshotResultSchema: z.ZodObject<{
|
|
256
343
|
id: z.ZodOptional<z.ZodString>;
|
|
257
344
|
}, z.core.$strip>;
|
|
@@ -264,6 +351,7 @@ export declare const WorkspaceTreeEntrySchema: z.ZodObject<{
|
|
|
264
351
|
}>;
|
|
265
352
|
size: z.ZodOptional<z.ZodNumber>;
|
|
266
353
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
354
|
+
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
267
355
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
268
356
|
}, z.core.$strip>;
|
|
269
357
|
export type WorkspaceTreeEntry = z.infer<typeof WorkspaceTreeEntrySchema>;
|
|
@@ -278,14 +366,31 @@ export declare const WorkspaceTreeSchema: z.ZodObject<{
|
|
|
278
366
|
}>;
|
|
279
367
|
size: z.ZodOptional<z.ZodNumber>;
|
|
280
368
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
369
|
+
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
281
370
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
282
371
|
}, z.core.$strip>>;
|
|
283
372
|
truncated: z.ZodBoolean;
|
|
284
373
|
}, z.core.$strip>;
|
|
285
374
|
export type WorkspaceTree = z.infer<typeof WorkspaceTreeSchema>;
|
|
286
|
-
export declare const
|
|
287
|
-
|
|
375
|
+
export declare const WorkspaceChildrenQuerySchema: z.ZodObject<{
|
|
376
|
+
path: z.ZodString;
|
|
377
|
+
}, z.core.$strip>;
|
|
378
|
+
export declare const WorkspaceChildrenSchema: z.ZodObject<{
|
|
379
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
380
|
+
name: z.ZodString;
|
|
381
|
+
path: z.ZodString;
|
|
382
|
+
type: z.ZodEnum<{
|
|
383
|
+
file: "file";
|
|
384
|
+
dir: "dir";
|
|
385
|
+
}>;
|
|
386
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
387
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
truncated: z.ZodBoolean;
|
|
288
392
|
}, z.core.$strip>;
|
|
393
|
+
export type WorkspaceChildren = z.infer<typeof WorkspaceChildrenSchema>;
|
|
289
394
|
export declare const WorkspaceFileQuerySchema: z.ZodObject<{
|
|
290
395
|
path: z.ZodString;
|
|
291
396
|
}, z.core.$strip>;
|
|
@@ -322,7 +427,7 @@ export declare const WorkspaceClassificationSchema: z.ZodObject<{
|
|
|
322
427
|
}, z.core.$strip>>;
|
|
323
428
|
}, z.core.$strip>;
|
|
324
429
|
export type WorkspaceClassification = z.infer<typeof WorkspaceClassificationSchema>;
|
|
325
|
-
export declare const
|
|
430
|
+
export declare const WorkspaceSearchQuerySchema: z.ZodObject<{
|
|
326
431
|
query: z.ZodString;
|
|
327
432
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
328
433
|
def: "def";
|
|
@@ -335,10 +440,10 @@ export declare const IqSearchQuerySchema: z.ZodObject<{
|
|
|
335
440
|
ask: "ask";
|
|
336
441
|
}>>;
|
|
337
442
|
includeIgnored: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
338
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
443
|
+
limit: z.ZodOptional<z.coerce.ZodCoercedNumber<unknown>>;
|
|
339
444
|
after: z.ZodOptional<z.ZodString>;
|
|
340
445
|
}, z.core.$strip>;
|
|
341
|
-
export declare const
|
|
446
|
+
export declare const WorkspaceSearchTagSchema: z.ZodObject<{
|
|
342
447
|
kind: z.ZodEnum<{
|
|
343
448
|
text: "text";
|
|
344
449
|
path: "path";
|
|
@@ -355,8 +460,8 @@ export declare const IqTagSchema: z.ZodObject<{
|
|
|
355
460
|
}>;
|
|
356
461
|
score: z.ZodOptional<z.ZodNumber>;
|
|
357
462
|
}, z.core.$strip>;
|
|
358
|
-
export type
|
|
359
|
-
export declare const
|
|
463
|
+
export type WorkspaceSearchTag = z.infer<typeof WorkspaceSearchTagSchema>;
|
|
464
|
+
export declare const WorkspaceSearchHitSchema: z.ZodObject<{
|
|
360
465
|
line: z.ZodNumber;
|
|
361
466
|
text: z.ZodString;
|
|
362
467
|
start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -380,8 +485,8 @@ export declare const IqHitSchema: z.ZodObject<{
|
|
|
380
485
|
}, z.core.$strip>>;
|
|
381
486
|
context: z.ZodOptional<z.ZodString>;
|
|
382
487
|
}, z.core.$strip>;
|
|
383
|
-
export type
|
|
384
|
-
export declare const
|
|
488
|
+
export type WorkspaceSearchHit = z.infer<typeof WorkspaceSearchHitSchema>;
|
|
489
|
+
export declare const WorkspaceSearchGroupSchema: z.ZodObject<{
|
|
385
490
|
path: z.ZodString;
|
|
386
491
|
score: z.ZodNumber;
|
|
387
492
|
hits: z.ZodArray<z.ZodObject<{
|
|
@@ -409,8 +514,8 @@ export declare const IqGroupSchema: z.ZodObject<{
|
|
|
409
514
|
context: z.ZodOptional<z.ZodString>;
|
|
410
515
|
}, z.core.$strip>>;
|
|
411
516
|
}, z.core.$strip>;
|
|
412
|
-
export type
|
|
413
|
-
export declare const
|
|
517
|
+
export type WorkspaceSearchGroup = z.infer<typeof WorkspaceSearchGroupSchema>;
|
|
518
|
+
export declare const WorkspaceSearchFreshnessSchema: z.ZodObject<{
|
|
414
519
|
state: z.ZodEnum<{
|
|
415
520
|
fresh: "fresh";
|
|
416
521
|
building: "building";
|
|
@@ -419,8 +524,8 @@ export declare const IqFreshnessSchema: z.ZodObject<{
|
|
|
419
524
|
ageMs: z.ZodOptional<z.ZodNumber>;
|
|
420
525
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
421
526
|
}, z.core.$strip>;
|
|
422
|
-
export type
|
|
423
|
-
export declare const
|
|
527
|
+
export type WorkspaceSearchFreshness = z.infer<typeof WorkspaceSearchFreshnessSchema>;
|
|
528
|
+
export declare const WorkspaceSearchResultSchema: z.ZodObject<{
|
|
424
529
|
mode: z.ZodString;
|
|
425
530
|
total: z.ZodNumber;
|
|
426
531
|
shown: z.ZodNumber;
|
|
@@ -467,7 +572,7 @@ export declare const IqResultSchema: z.ZodObject<{
|
|
|
467
572
|
related: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
468
573
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
469
574
|
}, z.core.$strip>;
|
|
470
|
-
export type
|
|
575
|
+
export type WorkspaceSearchResult = z.infer<typeof WorkspaceSearchResultSchema>;
|
|
471
576
|
export declare const ReposListSchema: z.ZodObject<{
|
|
472
577
|
repos: z.ZodArray<z.ZodString>;
|
|
473
578
|
}, z.core.$strip>;
|
|
@@ -552,6 +657,7 @@ export declare const RepoAppSchema: z.ZodObject<{
|
|
|
552
657
|
running: z.ZodBoolean;
|
|
553
658
|
healthy: z.ZodBoolean;
|
|
554
659
|
}, z.core.$strip>;
|
|
660
|
+
export type RepoApp = z.infer<typeof RepoAppSchema>;
|
|
555
661
|
export declare const AppsListSchema: z.ZodObject<{
|
|
556
662
|
apps: z.ZodArray<z.ZodObject<{
|
|
557
663
|
app: z.ZodString;
|
|
@@ -728,7 +834,7 @@ export declare const EnrollHostInputSchema: z.ZodObject<{
|
|
|
728
834
|
name: z.ZodString;
|
|
729
835
|
user: z.ZodString;
|
|
730
836
|
address: z.ZodString;
|
|
731
|
-
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
837
|
+
port: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
732
838
|
via: z.ZodDefault<z.ZodEnum<{
|
|
733
839
|
direct: "direct";
|
|
734
840
|
cloudflared: "cloudflared";
|
|
@@ -746,6 +852,7 @@ export declare const CapabilityKindSchema: z.ZodEnum<{
|
|
|
746
852
|
integration: "integration";
|
|
747
853
|
cli: "cli";
|
|
748
854
|
plugin: "plugin";
|
|
855
|
+
extension: "extension";
|
|
749
856
|
ssh: "ssh";
|
|
750
857
|
vpn: "vpn";
|
|
751
858
|
docker: "docker";
|
|
@@ -779,86 +886,31 @@ export declare const ServiceConfigSchema: z.ZodObject<{
|
|
|
779
886
|
export declare const IntegrationConfigSchema: z.ZodObject<{
|
|
780
887
|
provider: z.ZodLiteral<"stripe">;
|
|
781
888
|
}, z.core.$strip>;
|
|
782
|
-
export declare const CliConfigSchema: z.
|
|
783
|
-
provider: z.
|
|
784
|
-
|
|
785
|
-
voiceModel: z.ZodOptional<z.ZodEnum<{
|
|
786
|
-
small: "small";
|
|
787
|
-
base: "base";
|
|
788
|
-
tiny: "tiny";
|
|
789
|
-
medium: "medium";
|
|
790
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
791
|
-
}>>;
|
|
792
|
-
voiceLanguage: z.ZodOptional<z.ZodString>;
|
|
793
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
794
|
-
provider: z.ZodLiteral<"github">;
|
|
795
|
-
token: z.ZodString;
|
|
796
|
-
git: z.ZodOptional<z.ZodEnum<{
|
|
797
|
-
on: "on";
|
|
798
|
-
off: "off";
|
|
799
|
-
}>>;
|
|
800
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
801
|
-
provider: z.ZodLiteral<"gitlab">;
|
|
802
|
-
token: z.ZodString;
|
|
803
|
-
url: z.ZodString;
|
|
804
|
-
git: z.ZodOptional<z.ZodEnum<{
|
|
805
|
-
on: "on";
|
|
806
|
-
off: "off";
|
|
807
|
-
}>>;
|
|
808
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
809
|
-
provider: z.ZodLiteral<"sentry">;
|
|
810
|
-
token: z.ZodString;
|
|
811
|
-
url: z.ZodString;
|
|
812
|
-
org: z.ZodOptional<z.ZodString>;
|
|
813
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
814
|
-
provider: z.ZodLiteral<"redmine">;
|
|
815
|
-
url: z.ZodString;
|
|
816
|
-
apiKey: z.ZodString;
|
|
817
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
818
|
-
provider: z.ZodLiteral<"outline">;
|
|
819
|
-
url: z.ZodString;
|
|
820
|
-
apiKey: z.ZodString;
|
|
821
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
822
|
-
provider: z.ZodLiteral<"imap">;
|
|
823
|
-
host: z.ZodString;
|
|
824
|
-
port: z.ZodCoercedNumber<unknown>;
|
|
825
|
-
username: z.ZodString;
|
|
826
|
-
password: z.ZodString;
|
|
827
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
828
|
-
provider: z.ZodLiteral<"signoz">;
|
|
829
|
-
url: z.ZodString;
|
|
830
|
-
apiKey: z.ZodString;
|
|
831
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
832
|
-
provider: z.ZodLiteral<"postgres">;
|
|
833
|
-
host: z.ZodString;
|
|
834
|
-
port: z.ZodCoercedNumber<unknown>;
|
|
835
|
-
user: z.ZodString;
|
|
836
|
-
password: z.ZodString;
|
|
837
|
-
database: z.ZodString;
|
|
838
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
839
|
-
provider: z.ZodLiteral<"mysql">;
|
|
840
|
-
host: z.ZodString;
|
|
841
|
-
port: z.ZodCoercedNumber<unknown>;
|
|
842
|
-
user: z.ZodString;
|
|
843
|
-
password: z.ZodString;
|
|
844
|
-
database: z.ZodString;
|
|
845
|
-
}, z.core.$strip>], "provider">;
|
|
889
|
+
export declare const CliConfigSchema: z.ZodObject<{
|
|
890
|
+
provider: z.ZodString;
|
|
891
|
+
}, z.core.$catchall<z.ZodString>>;
|
|
846
892
|
export declare const PluginConfigSchema: z.ZodObject<{
|
|
847
893
|
url: z.ZodString;
|
|
848
894
|
ref: z.ZodOptional<z.ZodString>;
|
|
849
895
|
path: z.ZodOptional<z.ZodString>;
|
|
850
896
|
token: z.ZodOptional<z.ZodString>;
|
|
851
897
|
}, z.core.$strip>;
|
|
898
|
+
export declare const ExtensionConfigSchema: z.ZodObject<{
|
|
899
|
+
url: z.ZodString;
|
|
900
|
+
ref: z.ZodString;
|
|
901
|
+
path: z.ZodOptional<z.ZodString>;
|
|
902
|
+
token: z.ZodOptional<z.ZodString>;
|
|
903
|
+
}, z.core.$strip>;
|
|
852
904
|
export declare const SshConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
853
905
|
auth: z.ZodLiteral<"key">;
|
|
854
906
|
host: z.ZodString;
|
|
855
|
-
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
907
|
+
port: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
856
908
|
user: z.ZodString;
|
|
857
909
|
privateKey: z.ZodString;
|
|
858
910
|
}, z.core.$strip>, z.ZodObject<{
|
|
859
911
|
auth: z.ZodLiteral<"password">;
|
|
860
912
|
host: z.ZodString;
|
|
861
|
-
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
913
|
+
port: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
862
914
|
user: z.ZodString;
|
|
863
915
|
password: z.ZodString;
|
|
864
916
|
}, z.core.$strip>], "auth">;
|
|
@@ -892,6 +944,7 @@ export type ServiceConfig = z.infer<typeof ServiceConfigSchema>;
|
|
|
892
944
|
export type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
|
|
893
945
|
export type CliConfig = z.infer<typeof CliConfigSchema>;
|
|
894
946
|
export type PluginConfig = z.infer<typeof PluginConfigSchema>;
|
|
947
|
+
export type ExtensionConfig = z.infer<typeof ExtensionConfigSchema>;
|
|
895
948
|
export type SshConfig = z.infer<typeof SshConfigSchema>;
|
|
896
949
|
export type VpnConfig = z.infer<typeof VpnConfigSchema>;
|
|
897
950
|
export type DockerConfig = z.infer<typeof DockerConfigSchema>;
|
|
@@ -937,70 +990,9 @@ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
937
990
|
}, z.core.$strip>, z.ZodObject<{
|
|
938
991
|
id: z.ZodString;
|
|
939
992
|
kind: z.ZodLiteral<"cli">;
|
|
940
|
-
config: z.
|
|
941
|
-
provider: z.
|
|
942
|
-
|
|
943
|
-
voiceModel: z.ZodOptional<z.ZodEnum<{
|
|
944
|
-
small: "small";
|
|
945
|
-
base: "base";
|
|
946
|
-
tiny: "tiny";
|
|
947
|
-
medium: "medium";
|
|
948
|
-
"large-v3-turbo": "large-v3-turbo";
|
|
949
|
-
}>>;
|
|
950
|
-
voiceLanguage: z.ZodOptional<z.ZodString>;
|
|
951
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
952
|
-
provider: z.ZodLiteral<"github">;
|
|
953
|
-
token: z.ZodString;
|
|
954
|
-
git: z.ZodOptional<z.ZodEnum<{
|
|
955
|
-
on: "on";
|
|
956
|
-
off: "off";
|
|
957
|
-
}>>;
|
|
958
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
959
|
-
provider: z.ZodLiteral<"gitlab">;
|
|
960
|
-
token: z.ZodString;
|
|
961
|
-
url: z.ZodString;
|
|
962
|
-
git: z.ZodOptional<z.ZodEnum<{
|
|
963
|
-
on: "on";
|
|
964
|
-
off: "off";
|
|
965
|
-
}>>;
|
|
966
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
967
|
-
provider: z.ZodLiteral<"sentry">;
|
|
968
|
-
token: z.ZodString;
|
|
969
|
-
url: z.ZodString;
|
|
970
|
-
org: z.ZodOptional<z.ZodString>;
|
|
971
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
972
|
-
provider: z.ZodLiteral<"redmine">;
|
|
973
|
-
url: z.ZodString;
|
|
974
|
-
apiKey: z.ZodString;
|
|
975
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
976
|
-
provider: z.ZodLiteral<"outline">;
|
|
977
|
-
url: z.ZodString;
|
|
978
|
-
apiKey: z.ZodString;
|
|
979
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
980
|
-
provider: z.ZodLiteral<"imap">;
|
|
981
|
-
host: z.ZodString;
|
|
982
|
-
port: z.ZodCoercedNumber<unknown>;
|
|
983
|
-
username: z.ZodString;
|
|
984
|
-
password: z.ZodString;
|
|
985
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
986
|
-
provider: z.ZodLiteral<"signoz">;
|
|
987
|
-
url: z.ZodString;
|
|
988
|
-
apiKey: z.ZodString;
|
|
989
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
990
|
-
provider: z.ZodLiteral<"postgres">;
|
|
991
|
-
host: z.ZodString;
|
|
992
|
-
port: z.ZodCoercedNumber<unknown>;
|
|
993
|
-
user: z.ZodString;
|
|
994
|
-
password: z.ZodString;
|
|
995
|
-
database: z.ZodString;
|
|
996
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
997
|
-
provider: z.ZodLiteral<"mysql">;
|
|
998
|
-
host: z.ZodString;
|
|
999
|
-
port: z.ZodCoercedNumber<unknown>;
|
|
1000
|
-
user: z.ZodString;
|
|
1001
|
-
password: z.ZodString;
|
|
1002
|
-
database: z.ZodString;
|
|
1003
|
-
}, z.core.$strip>], "provider">;
|
|
993
|
+
config: z.ZodObject<{
|
|
994
|
+
provider: z.ZodString;
|
|
995
|
+
}, z.core.$catchall<z.ZodString>>;
|
|
1004
996
|
}, z.core.$strip>, z.ZodObject<{
|
|
1005
997
|
id: z.ZodString;
|
|
1006
998
|
kind: z.ZodLiteral<"plugin">;
|
|
@@ -1010,19 +1002,28 @@ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1010
1002
|
path: z.ZodOptional<z.ZodString>;
|
|
1011
1003
|
token: z.ZodOptional<z.ZodString>;
|
|
1012
1004
|
}, z.core.$strip>;
|
|
1005
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1006
|
+
id: z.ZodString;
|
|
1007
|
+
kind: z.ZodLiteral<"extension">;
|
|
1008
|
+
config: z.ZodObject<{
|
|
1009
|
+
url: z.ZodString;
|
|
1010
|
+
ref: z.ZodString;
|
|
1011
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1013
1014
|
}, z.core.$strip>, z.ZodObject<{
|
|
1014
1015
|
id: z.ZodString;
|
|
1015
1016
|
kind: z.ZodLiteral<"ssh">;
|
|
1016
1017
|
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1017
1018
|
auth: z.ZodLiteral<"key">;
|
|
1018
1019
|
host: z.ZodString;
|
|
1019
|
-
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1020
|
+
port: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
1020
1021
|
user: z.ZodString;
|
|
1021
1022
|
privateKey: z.ZodString;
|
|
1022
1023
|
}, z.core.$strip>, z.ZodObject<{
|
|
1023
1024
|
auth: z.ZodLiteral<"password">;
|
|
1024
1025
|
host: z.ZodString;
|
|
1025
|
-
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1026
|
+
port: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
1026
1027
|
user: z.ZodString;
|
|
1027
1028
|
password: z.ZodString;
|
|
1028
1029
|
}, z.core.$strip>], "auth">;
|
|
@@ -1077,6 +1078,7 @@ export declare const CapabilitySummarySchema: z.ZodObject<{
|
|
|
1077
1078
|
integration: "integration";
|
|
1078
1079
|
cli: "cli";
|
|
1079
1080
|
plugin: "plugin";
|
|
1081
|
+
extension: "extension";
|
|
1080
1082
|
ssh: "ssh";
|
|
1081
1083
|
vpn: "vpn";
|
|
1082
1084
|
docker: "docker";
|
|
@@ -1104,6 +1106,7 @@ export declare const CapabilitiesListSchema: z.ZodObject<{
|
|
|
1104
1106
|
integration: "integration";
|
|
1105
1107
|
cli: "cli";
|
|
1106
1108
|
plugin: "plugin";
|
|
1109
|
+
extension: "extension";
|
|
1107
1110
|
ssh: "ssh";
|
|
1108
1111
|
vpn: "vpn";
|
|
1109
1112
|
docker: "docker";
|
|
@@ -1136,6 +1139,10 @@ export declare const MarketplacePluginSchema: z.ZodObject<{
|
|
|
1136
1139
|
name: z.ZodString;
|
|
1137
1140
|
description: z.ZodOptional<z.ZodString>;
|
|
1138
1141
|
version: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1143
|
+
plugin: "plugin";
|
|
1144
|
+
extension: "extension";
|
|
1145
|
+
}>>;
|
|
1139
1146
|
install: z.ZodOptional<z.ZodObject<{
|
|
1140
1147
|
url: z.ZodString;
|
|
1141
1148
|
ref: z.ZodOptional<z.ZodString>;
|
|
@@ -1149,6 +1156,10 @@ export declare const MarketplaceSchema: z.ZodObject<{
|
|
|
1149
1156
|
name: z.ZodString;
|
|
1150
1157
|
description: z.ZodOptional<z.ZodString>;
|
|
1151
1158
|
version: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1160
|
+
plugin: "plugin";
|
|
1161
|
+
extension: "extension";
|
|
1162
|
+
}>>;
|
|
1152
1163
|
install: z.ZodOptional<z.ZodObject<{
|
|
1153
1164
|
url: z.ZodString;
|
|
1154
1165
|
ref: z.ZodOptional<z.ZodString>;
|
|
@@ -1157,6 +1168,255 @@ export declare const MarketplaceSchema: z.ZodObject<{
|
|
|
1157
1168
|
}, z.core.$strip>>;
|
|
1158
1169
|
}, z.core.$strip>;
|
|
1159
1170
|
export type Marketplace = z.infer<typeof MarketplaceSchema>;
|
|
1171
|
+
export declare const ExtensionSummarySchema: z.ZodObject<{
|
|
1172
|
+
id: z.ZodString;
|
|
1173
|
+
manifest: z.ZodObject<{
|
|
1174
|
+
publisher: z.ZodString;
|
|
1175
|
+
name: z.ZodString;
|
|
1176
|
+
version: z.ZodString;
|
|
1177
|
+
engines: z.ZodObject<{
|
|
1178
|
+
intentic: z.ZodString;
|
|
1179
|
+
}, z.core.$strip>;
|
|
1180
|
+
entry: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
1182
|
+
sandbox: z.ZodArray<z.ZodString>;
|
|
1183
|
+
}, z.core.$strip>>;
|
|
1184
|
+
contributes: z.ZodOptional<z.ZodObject<{
|
|
1185
|
+
views: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
|
+
id: z.ZodString;
|
|
1187
|
+
label: z.ZodString;
|
|
1188
|
+
surface: z.ZodEnum<{
|
|
1189
|
+
rail: "rail";
|
|
1190
|
+
directory: "directory";
|
|
1191
|
+
}>;
|
|
1192
|
+
}, z.core.$strip>>>;
|
|
1193
|
+
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1194
|
+
id: z.ZodString;
|
|
1195
|
+
extensions: z.ZodArray<z.ZodString>;
|
|
1196
|
+
fetch: z.ZodEnum<{
|
|
1197
|
+
text: "text";
|
|
1198
|
+
blob: "blob";
|
|
1199
|
+
}>;
|
|
1200
|
+
}, z.core.$strip>>>;
|
|
1201
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1202
|
+
command: z.ZodString;
|
|
1203
|
+
title: z.ZodString;
|
|
1204
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1205
|
+
}, z.core.$strip>>>;
|
|
1206
|
+
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1207
|
+
key: z.ZodString;
|
|
1208
|
+
type: z.ZodEnum<{
|
|
1209
|
+
string: "string";
|
|
1210
|
+
number: "number";
|
|
1211
|
+
boolean: "boolean";
|
|
1212
|
+
enum: "enum";
|
|
1213
|
+
}>;
|
|
1214
|
+
title: z.ZodString;
|
|
1215
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1217
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1218
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1219
|
+
env: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
}, z.core.$strip>>>;
|
|
1221
|
+
processes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1222
|
+
name: z.ZodString;
|
|
1223
|
+
command: z.ZodString;
|
|
1224
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
port: z.ZodOptional<z.ZodLiteral<"auto">>;
|
|
1226
|
+
preview: z.ZodOptional<z.ZodBoolean>;
|
|
1227
|
+
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
1228
|
+
}, z.core.$strip>>>;
|
|
1229
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1230
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
}, z.core.$strip>>;
|
|
1232
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1233
|
+
fragment: z.ZodString;
|
|
1234
|
+
}, z.core.$strip>>;
|
|
1235
|
+
connectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1236
|
+
provider: z.ZodString;
|
|
1237
|
+
kind: z.ZodLiteral<"cli">;
|
|
1238
|
+
catalog: z.ZodObject<{
|
|
1239
|
+
name: z.ZodString;
|
|
1240
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
description: z.ZodString;
|
|
1242
|
+
category: z.ZodString;
|
|
1243
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
1245
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
}, z.core.$strip>>;
|
|
1252
|
+
}, z.core.$strip>;
|
|
1253
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
1254
|
+
key: z.ZodString;
|
|
1255
|
+
label: z.ZodString;
|
|
1256
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1258
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1259
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
1260
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1262
|
+
value: z.ZodString;
|
|
1263
|
+
label: z.ZodString;
|
|
1264
|
+
}, z.core.$strip>>>;
|
|
1265
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
1266
|
+
key: z.ZodString;
|
|
1267
|
+
value: z.ZodString;
|
|
1268
|
+
}, z.core.$strip>>;
|
|
1269
|
+
}, z.core.$strip>>;
|
|
1270
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1271
|
+
skill: z.ZodString;
|
|
1272
|
+
fragment: z.ZodOptional<z.ZodString>;
|
|
1273
|
+
}, z.core.$strip>>>;
|
|
1274
|
+
listener: z.ZodOptional<z.ZodObject<{
|
|
1275
|
+
provider: z.ZodString;
|
|
1276
|
+
eventTypes: z.ZodArray<z.ZodString>;
|
|
1277
|
+
}, z.core.$strip>>;
|
|
1278
|
+
bin: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
}, z.core.$strip>>;
|
|
1280
|
+
}, z.core.$strip>;
|
|
1281
|
+
commit: z.ZodString;
|
|
1282
|
+
builtin: z.ZodBoolean;
|
|
1283
|
+
}, z.core.$strip>;
|
|
1284
|
+
export type ExtensionSummary = z.infer<typeof ExtensionSummarySchema>;
|
|
1285
|
+
export declare const ExtensionsListSchema: z.ZodObject<{
|
|
1286
|
+
extensions: z.ZodArray<z.ZodObject<{
|
|
1287
|
+
id: z.ZodString;
|
|
1288
|
+
manifest: z.ZodObject<{
|
|
1289
|
+
publisher: z.ZodString;
|
|
1290
|
+
name: z.ZodString;
|
|
1291
|
+
version: z.ZodString;
|
|
1292
|
+
engines: z.ZodObject<{
|
|
1293
|
+
intentic: z.ZodString;
|
|
1294
|
+
}, z.core.$strip>;
|
|
1295
|
+
entry: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
1297
|
+
sandbox: z.ZodArray<z.ZodString>;
|
|
1298
|
+
}, z.core.$strip>>;
|
|
1299
|
+
contributes: z.ZodOptional<z.ZodObject<{
|
|
1300
|
+
views: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1301
|
+
id: z.ZodString;
|
|
1302
|
+
label: z.ZodString;
|
|
1303
|
+
surface: z.ZodEnum<{
|
|
1304
|
+
rail: "rail";
|
|
1305
|
+
directory: "directory";
|
|
1306
|
+
}>;
|
|
1307
|
+
}, z.core.$strip>>>;
|
|
1308
|
+
viewers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1309
|
+
id: z.ZodString;
|
|
1310
|
+
extensions: z.ZodArray<z.ZodString>;
|
|
1311
|
+
fetch: z.ZodEnum<{
|
|
1312
|
+
text: "text";
|
|
1313
|
+
blob: "blob";
|
|
1314
|
+
}>;
|
|
1315
|
+
}, z.core.$strip>>>;
|
|
1316
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1317
|
+
command: z.ZodString;
|
|
1318
|
+
title: z.ZodString;
|
|
1319
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1320
|
+
}, z.core.$strip>>>;
|
|
1321
|
+
settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1322
|
+
key: z.ZodString;
|
|
1323
|
+
type: z.ZodEnum<{
|
|
1324
|
+
string: "string";
|
|
1325
|
+
number: "number";
|
|
1326
|
+
boolean: "boolean";
|
|
1327
|
+
enum: "enum";
|
|
1328
|
+
}>;
|
|
1329
|
+
title: z.ZodString;
|
|
1330
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1332
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1333
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1334
|
+
env: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
}, z.core.$strip>>>;
|
|
1336
|
+
processes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1337
|
+
name: z.ZodString;
|
|
1338
|
+
command: z.ZodString;
|
|
1339
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
port: z.ZodOptional<z.ZodLiteral<"auto">>;
|
|
1341
|
+
preview: z.ZodOptional<z.ZodBoolean>;
|
|
1342
|
+
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
1343
|
+
}, z.core.$strip>>>;
|
|
1344
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1345
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
}, z.core.$strip>>;
|
|
1347
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
1348
|
+
fragment: z.ZodString;
|
|
1349
|
+
}, z.core.$strip>>;
|
|
1350
|
+
connectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1351
|
+
provider: z.ZodString;
|
|
1352
|
+
kind: z.ZodLiteral<"cli">;
|
|
1353
|
+
catalog: z.ZodObject<{
|
|
1354
|
+
name: z.ZodString;
|
|
1355
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
description: z.ZodString;
|
|
1357
|
+
category: z.ZodString;
|
|
1358
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
guide: z.ZodOptional<z.ZodObject<{
|
|
1360
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
urlFromField: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
linkLabel: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1366
|
+
}, z.core.$strip>>;
|
|
1367
|
+
}, z.core.$strip>;
|
|
1368
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
1369
|
+
key: z.ZodString;
|
|
1370
|
+
label: z.ZodString;
|
|
1371
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1373
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1374
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
1375
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1377
|
+
value: z.ZodString;
|
|
1378
|
+
label: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>>>;
|
|
1380
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
1381
|
+
key: z.ZodString;
|
|
1382
|
+
value: z.ZodString;
|
|
1383
|
+
}, z.core.$strip>>;
|
|
1384
|
+
}, z.core.$strip>>;
|
|
1385
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1386
|
+
skill: z.ZodString;
|
|
1387
|
+
fragment: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
}, z.core.$strip>>>;
|
|
1389
|
+
listener: z.ZodOptional<z.ZodObject<{
|
|
1390
|
+
provider: z.ZodString;
|
|
1391
|
+
eventTypes: z.ZodArray<z.ZodString>;
|
|
1392
|
+
}, z.core.$strip>>;
|
|
1393
|
+
bin: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
}, z.core.$strip>>;
|
|
1395
|
+
}, z.core.$strip>;
|
|
1396
|
+
commit: z.ZodString;
|
|
1397
|
+
builtin: z.ZodBoolean;
|
|
1398
|
+
}, z.core.$strip>>;
|
|
1399
|
+
}, z.core.$strip>;
|
|
1400
|
+
export declare const ExtensionSettingsSchema: z.ZodObject<{
|
|
1401
|
+
settings: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1402
|
+
secretsSet: z.ZodArray<z.ZodString>;
|
|
1403
|
+
}, z.core.$strip>;
|
|
1404
|
+
export type ExtensionSettings = z.infer<typeof ExtensionSettingsSchema>;
|
|
1405
|
+
export declare const ExtensionSettingsInputSchema: z.ZodObject<{
|
|
1406
|
+
id: z.ZodString;
|
|
1407
|
+
settings: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1408
|
+
}, z.core.$strip>;
|
|
1409
|
+
export declare const ExtensionProcessParamSchema: z.ZodObject<{
|
|
1410
|
+
id: z.ZodString;
|
|
1411
|
+
name: z.ZodString;
|
|
1412
|
+
}, z.core.$strip>;
|
|
1413
|
+
export declare const ExtensionProcessStatusSchema: z.ZodObject<{
|
|
1414
|
+
name: z.ZodString;
|
|
1415
|
+
running: z.ZodBoolean;
|
|
1416
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1417
|
+
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
}, z.core.$strip>;
|
|
1419
|
+
export type ExtensionProcessStatus = z.infer<typeof ExtensionProcessStatusSchema>;
|
|
1160
1420
|
export declare const TriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1161
1421
|
kind: z.ZodLiteral<"schedule">;
|
|
1162
1422
|
cron: z.ZodString;
|
|
@@ -1165,16 +1425,9 @@ export declare const TriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1165
1425
|
token: z.ZodOptional<z.ZodString>;
|
|
1166
1426
|
}, z.core.$strip>, z.ZodObject<{
|
|
1167
1427
|
kind: z.ZodLiteral<"listener">;
|
|
1168
|
-
provider: z.
|
|
1169
|
-
discord: "discord";
|
|
1170
|
-
webchat: "webchat";
|
|
1171
|
-
}>;
|
|
1428
|
+
provider: z.ZodString;
|
|
1172
1429
|
channelId: z.ZodOptional<z.ZodString>;
|
|
1173
|
-
eventType: z.ZodOptional<z.
|
|
1174
|
-
message: "message";
|
|
1175
|
-
voice_utterance: "voice_utterance";
|
|
1176
|
-
voice_transcript: "voice_transcript";
|
|
1177
|
-
}>>;
|
|
1430
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
1178
1431
|
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1179
1432
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1180
1433
|
}, z.core.$strip>], "kind">;
|
|
@@ -1189,16 +1442,9 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
1189
1442
|
token: z.ZodOptional<z.ZodString>;
|
|
1190
1443
|
}, z.core.$strip>, z.ZodObject<{
|
|
1191
1444
|
kind: z.ZodLiteral<"listener">;
|
|
1192
|
-
provider: z.
|
|
1193
|
-
discord: "discord";
|
|
1194
|
-
webchat: "webchat";
|
|
1195
|
-
}>;
|
|
1445
|
+
provider: z.ZodString;
|
|
1196
1446
|
channelId: z.ZodOptional<z.ZodString>;
|
|
1197
|
-
eventType: z.ZodOptional<z.
|
|
1198
|
-
message: "message";
|
|
1199
|
-
voice_utterance: "voice_utterance";
|
|
1200
|
-
voice_transcript: "voice_transcript";
|
|
1201
|
-
}>>;
|
|
1447
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
1202
1448
|
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1203
1449
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1204
1450
|
}, z.core.$strip>], "kind">;
|
|
@@ -1247,16 +1493,9 @@ export declare const AutomationSummarySchema: z.ZodObject<{
|
|
|
1247
1493
|
token: z.ZodOptional<z.ZodString>;
|
|
1248
1494
|
}, z.core.$strip>, z.ZodObject<{
|
|
1249
1495
|
kind: z.ZodLiteral<"listener">;
|
|
1250
|
-
provider: z.
|
|
1251
|
-
discord: "discord";
|
|
1252
|
-
webchat: "webchat";
|
|
1253
|
-
}>;
|
|
1496
|
+
provider: z.ZodString;
|
|
1254
1497
|
channelId: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
eventType: z.ZodOptional<z.
|
|
1256
|
-
message: "message";
|
|
1257
|
-
voice_utterance: "voice_utterance";
|
|
1258
|
-
voice_transcript: "voice_transcript";
|
|
1259
|
-
}>>;
|
|
1498
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
1260
1499
|
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1261
1500
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1262
1501
|
}, z.core.$strip>], "kind">;
|
|
@@ -1276,6 +1515,7 @@ export declare const AutomationSummarySchema: z.ZodObject<{
|
|
|
1276
1515
|
}, z.core.$strip>>;
|
|
1277
1516
|
nextRun: z.ZodOptional<z.ZodNumber>;
|
|
1278
1517
|
}, z.core.$strip>;
|
|
1518
|
+
export type AutomationSummary = z.infer<typeof AutomationSummarySchema>;
|
|
1279
1519
|
export declare const AutomationsListSchema: z.ZodObject<{
|
|
1280
1520
|
automations: z.ZodArray<z.ZodObject<{
|
|
1281
1521
|
id: z.ZodString;
|
|
@@ -1287,16 +1527,9 @@ export declare const AutomationsListSchema: z.ZodObject<{
|
|
|
1287
1527
|
token: z.ZodOptional<z.ZodString>;
|
|
1288
1528
|
}, z.core.$strip>, z.ZodObject<{
|
|
1289
1529
|
kind: z.ZodLiteral<"listener">;
|
|
1290
|
-
provider: z.
|
|
1291
|
-
discord: "discord";
|
|
1292
|
-
webchat: "webchat";
|
|
1293
|
-
}>;
|
|
1530
|
+
provider: z.ZodString;
|
|
1294
1531
|
channelId: z.ZodOptional<z.ZodString>;
|
|
1295
|
-
eventType: z.ZodOptional<z.
|
|
1296
|
-
message: "message";
|
|
1297
|
-
voice_utterance: "voice_utterance";
|
|
1298
|
-
voice_transcript: "voice_transcript";
|
|
1299
|
-
}>>;
|
|
1532
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
1300
1533
|
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1301
1534
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1302
1535
|
}, z.core.$strip>], "kind">;
|
|
@@ -1591,8 +1824,8 @@ export declare const ActivityEventSchema: z.ZodObject<{
|
|
|
1591
1824
|
export type ActivityEvent = z.infer<typeof ActivityEventSchema>;
|
|
1592
1825
|
export declare const ActivityQuerySchema: z.ZodObject<{
|
|
1593
1826
|
provider: z.ZodOptional<z.ZodString>;
|
|
1594
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1595
|
-
before: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1827
|
+
limit: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
1828
|
+
before: z.ZodOptional<z.coerce.ZodCoercedNumber<unknown>>;
|
|
1596
1829
|
}, z.core.$strip>;
|
|
1597
1830
|
export type ActivityQuery = z.infer<typeof ActivityQuerySchema>;
|
|
1598
1831
|
export declare const ActivityListSchema: z.ZodObject<{
|
|
@@ -1689,7 +1922,7 @@ export declare const LogsListSchema: z.ZodObject<{
|
|
|
1689
1922
|
}, z.core.$strip>;
|
|
1690
1923
|
export declare const LogReadQuerySchema: z.ZodObject<{
|
|
1691
1924
|
name: z.ZodString;
|
|
1692
|
-
bytes: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1925
|
+
bytes: z.ZodDefault<z.coerce.ZodCoercedNumber<unknown>>;
|
|
1693
1926
|
}, z.core.$strip>;
|
|
1694
1927
|
export declare const LogReadSchema: z.ZodObject<{
|
|
1695
1928
|
name: z.ZodString;
|
|
@@ -1697,6 +1930,7 @@ export declare const LogReadSchema: z.ZodObject<{
|
|
|
1697
1930
|
text: z.ZodString;
|
|
1698
1931
|
truncated: z.ZodBoolean;
|
|
1699
1932
|
}, z.core.$strip>;
|
|
1933
|
+
export type LogRead = z.infer<typeof LogReadSchema>;
|
|
1700
1934
|
export declare const PresenceReportSchema: z.ZodObject<{
|
|
1701
1935
|
clientId: z.ZodString;
|
|
1702
1936
|
idle: z.ZodBoolean;
|