@intentic/sandbox-contract 0.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/activity.contract.d.ts +51 -0
- package/dist/contracts/activity.contract.d.ts.map +1 -0
- package/dist/contracts/activity.contract.js +7 -0
- package/dist/contracts/activity.contract.js.map +1 -0
- package/dist/contracts/agent.contract.d.ts +102 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/automations.contract.d.ts +94 -0
- package/dist/contracts/automations.contract.d.ts.map +1 -0
- package/dist/contracts/automations.contract.js +11 -0
- package/dist/contracts/automations.contract.js.map +1 -0
- package/dist/contracts/capabilities.contract.d.ts +234 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -0
- package/dist/contracts/capabilities.contract.js +12 -0
- package/dist/contracts/capabilities.contract.js.map +1 -0
- package/dist/contracts/claude.contract.js +3 -3
- package/dist/contracts/claude.contract.js.map +1 -1
- package/dist/contracts/codex.contract.d.ts +23 -0
- package/dist/contracts/codex.contract.d.ts.map +1 -0
- package/dist/contracts/codex.contract.js +9 -0
- package/dist/contracts/codex.contract.js.map +1 -0
- package/dist/contracts/drafts.contract.d.ts +51 -0
- package/dist/contracts/drafts.contract.d.ts.map +1 -0
- package/dist/contracts/drafts.contract.js +8 -0
- package/dist/contracts/drafts.contract.js.map +1 -0
- package/dist/contracts/grok.contract.d.ts +21 -0
- package/dist/contracts/grok.contract.d.ts.map +1 -0
- package/dist/contracts/grok.contract.js +9 -0
- package/dist/contracts/grok.contract.js.map +1 -0
- package/dist/contracts/history.contract.d.ts +52 -0
- package/dist/contracts/history.contract.d.ts.map +1 -0
- package/dist/contracts/history.contract.js +10 -0
- package/dist/contracts/history.contract.js.map +1 -0
- package/dist/contracts/intentic.contract.d.ts +3 -0
- package/dist/contracts/intentic.contract.d.ts.map +1 -1
- package/dist/contracts/intentic.contract.js +2 -1
- package/dist/contracts/intentic.contract.js.map +1 -1
- package/dist/contracts/inventory.contract.d.ts +48 -3
- package/dist/contracts/inventory.contract.d.ts.map +1 -1
- package/dist/contracts/inventory.contract.js +1 -2
- package/dist/contracts/inventory.contract.js.map +1 -1
- package/dist/contracts/logs.contract.d.ts +19 -0
- package/dist/contracts/logs.contract.d.ts.map +1 -0
- package/dist/contracts/logs.contract.js +7 -0
- package/dist/contracts/logs.contract.js.map +1 -0
- package/dist/contracts/panels.contract.d.ts +33 -0
- package/dist/contracts/panels.contract.d.ts.map +1 -0
- package/dist/contracts/panels.contract.js +8 -0
- package/dist/contracts/panels.contract.js.map +1 -0
- package/dist/contracts/secrets.contract.d.ts +48 -0
- package/dist/contracts/secrets.contract.d.ts.map +1 -0
- package/dist/contracts/secrets.contract.js +10 -0
- package/dist/contracts/secrets.contract.js.map +1 -0
- package/dist/contracts/sessions.contract.d.ts +18 -15
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/sessions.contract.js +2 -1
- package/dist/contracts/sessions.contract.js.map +1 -1
- package/dist/contracts/settings.contract.d.ts +11 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -0
- package/dist/contracts/settings.contract.js +7 -0
- package/dist/contracts/settings.contract.js.map +1 -0
- package/dist/contracts/system.contract.d.ts +79 -21
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +11 -5
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +110 -12
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.js +15 -5
- package/dist/contracts/workspace.contract.js.map +1 -1
- package/dist/events.d.ts +142 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +54 -3
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +972 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +1247 -33
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +426 -16
- package/dist/schemas.js.map +1 -1
- package/dist/tunnel-ids.d.ts +2 -0
- package/dist/tunnel-ids.d.ts.map +1 -0
- package/dist/tunnel-ids.js +3 -0
- package/dist/tunnel-ids.js.map +1 -0
- package/package.json +13 -2
package/dist/schemas.d.ts
CHANGED
|
@@ -7,6 +7,12 @@ export declare const RepoParamSchema: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
export declare const AgentTurnSchema: z.ZodObject<{
|
|
9
9
|
prompt: z.ZodString;
|
|
10
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
agent: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
claude: "claude";
|
|
13
|
+
codex: "codex";
|
|
14
|
+
grok: "grok";
|
|
15
|
+
}>>;
|
|
10
16
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
11
17
|
model: z.ZodOptional<z.ZodString>;
|
|
12
18
|
plan: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -24,7 +30,7 @@ export declare const AnswerSchema: z.ZodObject<{
|
|
|
24
30
|
answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
25
31
|
cancelled: z.ZodOptional<z.ZodBoolean>;
|
|
26
32
|
}, z.core.$strip>;
|
|
27
|
-
export declare const
|
|
33
|
+
export declare const OauthExchangeSchema: z.ZodObject<{
|
|
28
34
|
code: z.ZodString;
|
|
29
35
|
verifier: z.ZodString;
|
|
30
36
|
state: z.ZodString;
|
|
@@ -34,10 +40,28 @@ export declare const AuthorizeChallengeSchema: z.ZodObject<{
|
|
|
34
40
|
verifier: z.ZodString;
|
|
35
41
|
state: z.ZodString;
|
|
36
42
|
}, z.core.$strip>;
|
|
37
|
-
export declare const
|
|
43
|
+
export declare const OauthAccountSchema: z.ZodObject<{
|
|
38
44
|
connected: z.ZodBoolean;
|
|
39
45
|
scope: z.ZodOptional<z.ZodString>;
|
|
40
46
|
}, z.core.$strip>;
|
|
47
|
+
export declare const CodexDeviceStartSchema: z.ZodObject<{
|
|
48
|
+
userCode: z.ZodString;
|
|
49
|
+
deviceAuthId: z.ZodString;
|
|
50
|
+
interval: z.ZodNumber;
|
|
51
|
+
verificationUri: z.ZodString;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export declare const CodexDevicePollSchema: z.ZodObject<{
|
|
54
|
+
deviceAuthId: z.ZodString;
|
|
55
|
+
userCode: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export declare const GrokDeviceStartSchema: z.ZodObject<{
|
|
58
|
+
url: z.ZodString;
|
|
59
|
+
instructions: z.ZodString;
|
|
60
|
+
needsCode: z.ZodBoolean;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export declare const GrokExchangeSchema: z.ZodObject<{
|
|
63
|
+
code: z.ZodString;
|
|
64
|
+
}, z.core.$strip>;
|
|
41
65
|
export declare const SessionIdParamSchema: z.ZodObject<{
|
|
42
66
|
id: z.ZodString;
|
|
43
67
|
}, z.core.$strip>;
|
|
@@ -69,6 +93,10 @@ export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
|
69
93
|
text: z.ZodString;
|
|
70
94
|
}, z.core.$strip>>;
|
|
71
95
|
}, z.core.$strip>;
|
|
96
|
+
export declare const SandboxSettingsSchema: z.ZodObject<{
|
|
97
|
+
searchPastChats: z.ZodBoolean;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export type SandboxSettings = z.infer<typeof SandboxSettingsSchema>;
|
|
72
100
|
export declare const IntenticRunSchema: z.ZodObject<{
|
|
73
101
|
args: z.ZodArray<z.ZodString>;
|
|
74
102
|
}, z.core.$strip>;
|
|
@@ -104,6 +132,90 @@ export declare const GitFileSchema: z.ZodObject<{
|
|
|
104
132
|
export declare const CommitResultSchema: z.ZodObject<{
|
|
105
133
|
committed: z.ZodBoolean;
|
|
106
134
|
}, z.core.$strip>;
|
|
135
|
+
export declare const SnapshotTriggerSchema: z.ZodEnum<{
|
|
136
|
+
interval: "interval";
|
|
137
|
+
user: "user";
|
|
138
|
+
turn: "turn";
|
|
139
|
+
manual: "manual";
|
|
140
|
+
"pre-restore": "pre-restore";
|
|
141
|
+
restore: "restore";
|
|
142
|
+
}>;
|
|
143
|
+
export type SnapshotTrigger = z.infer<typeof SnapshotTriggerSchema>;
|
|
144
|
+
export declare const SnapshotSchema: z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
at: z.ZodNumber;
|
|
147
|
+
trigger: z.ZodEnum<{
|
|
148
|
+
interval: "interval";
|
|
149
|
+
user: "user";
|
|
150
|
+
turn: "turn";
|
|
151
|
+
manual: "manual";
|
|
152
|
+
"pre-restore": "pre-restore";
|
|
153
|
+
restore: "restore";
|
|
154
|
+
}>;
|
|
155
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
export type Snapshot = z.infer<typeof SnapshotSchema>;
|
|
158
|
+
export declare const SnapshotsListSchema: z.ZodObject<{
|
|
159
|
+
snapshots: z.ZodArray<z.ZodObject<{
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
at: z.ZodNumber;
|
|
162
|
+
trigger: z.ZodEnum<{
|
|
163
|
+
interval: "interval";
|
|
164
|
+
user: "user";
|
|
165
|
+
turn: "turn";
|
|
166
|
+
manual: "manual";
|
|
167
|
+
"pre-restore": "pre-restore";
|
|
168
|
+
restore: "restore";
|
|
169
|
+
}>;
|
|
170
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export declare const SnapshotIdSchema: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
}, z.core.$strip>;
|
|
176
|
+
export declare const SnapshotDiffQuerySchema: z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
base: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
export declare const SnapshotChangeSchema: z.ZodObject<{
|
|
181
|
+
scope: z.ZodString;
|
|
182
|
+
path: z.ZodString;
|
|
183
|
+
status: z.ZodEnum<{
|
|
184
|
+
added: "added";
|
|
185
|
+
modified: "modified";
|
|
186
|
+
deleted: "deleted";
|
|
187
|
+
"type-changed": "type-changed";
|
|
188
|
+
}>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
export type SnapshotChange = z.infer<typeof SnapshotChangeSchema>;
|
|
191
|
+
export declare const SnapshotDiffSchema: z.ZodObject<{
|
|
192
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
193
|
+
scope: z.ZodString;
|
|
194
|
+
path: z.ZodString;
|
|
195
|
+
status: z.ZodEnum<{
|
|
196
|
+
added: "added";
|
|
197
|
+
modified: "modified";
|
|
198
|
+
deleted: "deleted";
|
|
199
|
+
"type-changed": "type-changed";
|
|
200
|
+
}>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
export declare const SnapshotFileDiffQuerySchema: z.ZodObject<{
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
scope: z.ZodString;
|
|
206
|
+
path: z.ZodString;
|
|
207
|
+
base: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
export declare const SnapshotFileDiffSchema: z.ZodObject<{
|
|
210
|
+
before: z.ZodOptional<z.ZodString>;
|
|
211
|
+
after: z.ZodOptional<z.ZodString>;
|
|
212
|
+
binary: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
export type SnapshotFileDiff = z.infer<typeof SnapshotFileDiffSchema>;
|
|
216
|
+
export declare const SnapshotResultSchema: z.ZodObject<{
|
|
217
|
+
id: z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.core.$strip>;
|
|
107
219
|
export declare const WorkspaceTreeEntrySchema: z.ZodObject<{
|
|
108
220
|
name: z.ZodString;
|
|
109
221
|
path: z.ZodString;
|
|
@@ -112,6 +224,7 @@ export declare const WorkspaceTreeEntrySchema: z.ZodObject<{
|
|
|
112
224
|
dir: "dir";
|
|
113
225
|
}>;
|
|
114
226
|
size: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
115
228
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
116
229
|
}, z.core.$strip>;
|
|
117
230
|
export type WorkspaceTreeEntry = z.infer<typeof WorkspaceTreeEntrySchema>;
|
|
@@ -125,11 +238,15 @@ export declare const WorkspaceTreeSchema: z.ZodObject<{
|
|
|
125
238
|
dir: "dir";
|
|
126
239
|
}>;
|
|
127
240
|
size: z.ZodOptional<z.ZodNumber>;
|
|
241
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
128
242
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
129
243
|
}, z.core.$strip>>;
|
|
130
244
|
truncated: z.ZodBoolean;
|
|
131
245
|
}, z.core.$strip>;
|
|
132
246
|
export type WorkspaceTree = z.infer<typeof WorkspaceTreeSchema>;
|
|
247
|
+
export declare const WorkspaceTreeQuerySchema: z.ZodObject<{
|
|
248
|
+
includeIgnored: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
249
|
+
}, z.core.$strip>;
|
|
133
250
|
export declare const WorkspaceFileQuerySchema: z.ZodObject<{
|
|
134
251
|
path: z.ZodString;
|
|
135
252
|
}, z.core.$strip>;
|
|
@@ -137,6 +254,68 @@ export declare const WorkspaceFileSchema: z.ZodObject<{
|
|
|
137
254
|
path: z.ZodString;
|
|
138
255
|
content: z.ZodString;
|
|
139
256
|
}, z.core.$strip>;
|
|
257
|
+
export declare const WorkspaceDirSchema: z.ZodObject<{
|
|
258
|
+
path: z.ZodString;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
export declare const WorkspaceMoveSchema: z.ZodObject<{
|
|
261
|
+
from: z.ZodString;
|
|
262
|
+
to: z.ZodString;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
export declare const WorkspaceBucketSchema: z.ZodEnum<{
|
|
265
|
+
repositories: "repositories";
|
|
266
|
+
documents: "documents";
|
|
267
|
+
media: "media";
|
|
268
|
+
archives: "archives";
|
|
269
|
+
other: "other";
|
|
270
|
+
}>;
|
|
271
|
+
export type WorkspaceBucket = z.infer<typeof WorkspaceBucketSchema>;
|
|
272
|
+
export declare const WorkspaceClassificationSchema: z.ZodObject<{
|
|
273
|
+
classifications: z.ZodArray<z.ZodObject<{
|
|
274
|
+
path: z.ZodString;
|
|
275
|
+
bucket: z.ZodEnum<{
|
|
276
|
+
repositories: "repositories";
|
|
277
|
+
documents: "documents";
|
|
278
|
+
media: "media";
|
|
279
|
+
archives: "archives";
|
|
280
|
+
other: "other";
|
|
281
|
+
}>;
|
|
282
|
+
reason: z.ZodString;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
export type WorkspaceClassification = z.infer<typeof WorkspaceClassificationSchema>;
|
|
286
|
+
export declare const WorkspaceSearchQuerySchema: z.ZodObject<{
|
|
287
|
+
query: z.ZodString;
|
|
288
|
+
includeIgnored: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
export declare const WorkspaceSearchMatchSchema: z.ZodObject<{
|
|
291
|
+
line: z.ZodNumber;
|
|
292
|
+
text: z.ZodString;
|
|
293
|
+
start: z.ZodNumber;
|
|
294
|
+
end: z.ZodNumber;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
export declare const WorkspaceSearchFileSchema: z.ZodObject<{
|
|
297
|
+
path: z.ZodString;
|
|
298
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
299
|
+
line: z.ZodNumber;
|
|
300
|
+
text: z.ZodString;
|
|
301
|
+
start: z.ZodNumber;
|
|
302
|
+
end: z.ZodNumber;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
export type WorkspaceSearchFile = z.infer<typeof WorkspaceSearchFileSchema>;
|
|
306
|
+
export declare const WorkspaceSearchSchema: z.ZodObject<{
|
|
307
|
+
files: z.ZodArray<z.ZodObject<{
|
|
308
|
+
path: z.ZodString;
|
|
309
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
310
|
+
line: z.ZodNumber;
|
|
311
|
+
text: z.ZodString;
|
|
312
|
+
start: z.ZodNumber;
|
|
313
|
+
end: z.ZodNumber;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
316
|
+
truncated: z.ZodBoolean;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
export type WorkspaceSearch = z.infer<typeof WorkspaceSearchSchema>;
|
|
140
319
|
export declare const ReposListSchema: z.ZodObject<{
|
|
141
320
|
repos: z.ZodArray<z.ZodString>;
|
|
142
321
|
}, z.core.$strip>;
|
|
@@ -149,38 +328,110 @@ export declare const CloneResultSchema: z.ZodObject<{
|
|
|
149
328
|
name: z.ZodString;
|
|
150
329
|
path: z.ZodString;
|
|
151
330
|
}, z.core.$strip>;
|
|
152
|
-
export declare const
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
331
|
+
export declare const RepoSyncSchema: z.ZodObject<{
|
|
332
|
+
repo: z.ZodString;
|
|
333
|
+
status: z.ZodEnum<{
|
|
334
|
+
error: "error";
|
|
335
|
+
dirty: "dirty";
|
|
336
|
+
updated: "updated";
|
|
337
|
+
current: "current";
|
|
338
|
+
diverged: "diverged";
|
|
339
|
+
"no-remote": "no-remote";
|
|
340
|
+
skipped: "skipped";
|
|
341
|
+
}>;
|
|
342
|
+
behind: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
ahead: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
head: z.ZodOptional<z.ZodString>;
|
|
345
|
+
message: z.ZodOptional<z.ZodString>;
|
|
156
346
|
}, z.core.$strip>;
|
|
157
|
-
export declare const
|
|
347
|
+
export declare const WorkspaceSyncSchema: z.ZodObject<{
|
|
348
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
349
|
+
repo: z.ZodString;
|
|
350
|
+
status: z.ZodEnum<{
|
|
351
|
+
error: "error";
|
|
352
|
+
dirty: "dirty";
|
|
353
|
+
updated: "updated";
|
|
354
|
+
current: "current";
|
|
355
|
+
diverged: "diverged";
|
|
356
|
+
"no-remote": "no-remote";
|
|
357
|
+
skipped: "skipped";
|
|
358
|
+
}>;
|
|
359
|
+
behind: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
ahead: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
head: z.ZodOptional<z.ZodString>;
|
|
362
|
+
message: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
}, z.core.$strip>;
|
|
365
|
+
export declare const AppInstanceInputSchema: z.ZodObject<{
|
|
366
|
+
template: z.ZodString;
|
|
158
367
|
name: z.ZodString;
|
|
159
|
-
url: z.ZodString;
|
|
160
|
-
hasToken: z.ZodBoolean;
|
|
161
368
|
}, z.core.$strip>;
|
|
162
|
-
export
|
|
163
|
-
|
|
369
|
+
export type AppInstanceInput = z.infer<typeof AppInstanceInputSchema>;
|
|
370
|
+
export declare const AddAppsSchema: z.ZodObject<{
|
|
371
|
+
repo: z.ZodString;
|
|
372
|
+
apps: z.ZodArray<z.ZodObject<{
|
|
373
|
+
template: z.ZodString;
|
|
164
374
|
name: z.ZodString;
|
|
165
|
-
url: z.ZodString;
|
|
166
|
-
hasToken: z.ZodBoolean;
|
|
167
375
|
}, z.core.$strip>>;
|
|
168
376
|
}, z.core.$strip>;
|
|
169
|
-
export declare const
|
|
170
|
-
|
|
377
|
+
export declare const RunTestsSchema: z.ZodObject<{
|
|
378
|
+
repo: z.ZodString;
|
|
379
|
+
session: z.ZodString;
|
|
380
|
+
dirs: z.ZodArray<z.ZodString>;
|
|
171
381
|
}, z.core.$strip>;
|
|
172
|
-
export declare const
|
|
173
|
-
|
|
382
|
+
export declare const TemplateSummarySchema: z.ZodObject<{
|
|
383
|
+
key: z.ZodString;
|
|
384
|
+
label: z.ZodString;
|
|
385
|
+
description: z.ZodString;
|
|
386
|
+
}, z.core.$strip>;
|
|
387
|
+
export type TemplateSummary = z.infer<typeof TemplateSummarySchema>;
|
|
388
|
+
export declare const TemplatesListSchema: z.ZodObject<{
|
|
389
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
390
|
+
key: z.ZodString;
|
|
391
|
+
label: z.ZodString;
|
|
392
|
+
description: z.ZodString;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
export type TemplatesList = z.infer<typeof TemplatesListSchema>;
|
|
396
|
+
export declare const RepoAppSchema: z.ZodObject<{
|
|
397
|
+
app: z.ZodString;
|
|
398
|
+
template: z.ZodString;
|
|
399
|
+
previewUrl: z.ZodOptional<z.ZodString>;
|
|
400
|
+
running: z.ZodBoolean;
|
|
401
|
+
healthy: z.ZodBoolean;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
export declare const AppsListSchema: z.ZodObject<{
|
|
404
|
+
apps: z.ZodArray<z.ZodObject<{
|
|
405
|
+
app: z.ZodString;
|
|
406
|
+
template: z.ZodString;
|
|
407
|
+
previewUrl: z.ZodOptional<z.ZodString>;
|
|
408
|
+
running: z.ZodBoolean;
|
|
409
|
+
healthy: z.ZodBoolean;
|
|
410
|
+
}, z.core.$strip>>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
export type AppsList = z.infer<typeof AppsListSchema>;
|
|
413
|
+
export declare const RepoAppsParamSchema: z.ZodObject<{
|
|
414
|
+
repo: z.ZodString;
|
|
415
|
+
}, z.core.$strip>;
|
|
416
|
+
export declare const AppParamSchema: z.ZodObject<{
|
|
417
|
+
repo: z.ZodString;
|
|
418
|
+
app: z.ZodString;
|
|
174
419
|
}, z.core.$strip>;
|
|
175
420
|
export declare const InventoryProviderSchema: z.ZodEnum<{
|
|
176
421
|
host: "host";
|
|
177
422
|
cloudflare: "cloudflare";
|
|
178
423
|
github: "github";
|
|
424
|
+
gitlab: "gitlab";
|
|
179
425
|
stripe: "stripe";
|
|
180
426
|
}>;
|
|
181
427
|
export type InventoryProvider = z.infer<typeof InventoryProviderSchema>;
|
|
182
428
|
export declare const ServiceKindSchema: z.ZodEnum<{
|
|
183
429
|
signoz: "signoz";
|
|
430
|
+
outline: "outline";
|
|
431
|
+
paperless: "paperless";
|
|
432
|
+
openproject: "openproject";
|
|
433
|
+
invoiceninja: "invoiceninja";
|
|
434
|
+
infisical: "infisical";
|
|
184
435
|
}>;
|
|
185
436
|
export type ServiceKind = z.infer<typeof ServiceKindSchema>;
|
|
186
437
|
export declare const InventoryValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -190,6 +441,7 @@ export declare const BackendEntrySchema: z.ZodObject<{
|
|
|
190
441
|
host: "host";
|
|
191
442
|
cloudflare: "cloudflare";
|
|
192
443
|
github: "github";
|
|
444
|
+
gitlab: "gitlab";
|
|
193
445
|
stripe: "stripe";
|
|
194
446
|
}>;
|
|
195
447
|
name: z.ZodString;
|
|
@@ -199,18 +451,31 @@ export declare const ServiceEntrySchema: z.ZodObject<{
|
|
|
199
451
|
kind: z.ZodLiteral<"service">;
|
|
200
452
|
service: z.ZodEnum<{
|
|
201
453
|
signoz: "signoz";
|
|
454
|
+
outline: "outline";
|
|
455
|
+
paperless: "paperless";
|
|
456
|
+
openproject: "openproject";
|
|
457
|
+
invoiceninja: "invoiceninja";
|
|
458
|
+
infisical: "infisical";
|
|
202
459
|
}>;
|
|
203
460
|
name: z.ZodString;
|
|
204
461
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
205
462
|
on: z.ZodString;
|
|
206
463
|
expose: z.ZodString;
|
|
207
464
|
}, z.core.$strip>;
|
|
465
|
+
export declare const AppEntrySchema: z.ZodObject<{
|
|
466
|
+
kind: z.ZodLiteral<"app">;
|
|
467
|
+
name: z.ZodString;
|
|
468
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
469
|
+
on: z.ZodString;
|
|
470
|
+
expose: z.ZodString;
|
|
471
|
+
}, z.core.$strip>;
|
|
208
472
|
export declare const InventoryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
209
473
|
kind: z.ZodLiteral<"backend">;
|
|
210
474
|
provider: z.ZodEnum<{
|
|
211
475
|
host: "host";
|
|
212
476
|
cloudflare: "cloudflare";
|
|
213
477
|
github: "github";
|
|
478
|
+
gitlab: "gitlab";
|
|
214
479
|
stripe: "stripe";
|
|
215
480
|
}>;
|
|
216
481
|
name: z.ZodString;
|
|
@@ -219,11 +484,22 @@ export declare const InventoryEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
219
484
|
kind: z.ZodLiteral<"service">;
|
|
220
485
|
service: z.ZodEnum<{
|
|
221
486
|
signoz: "signoz";
|
|
487
|
+
outline: "outline";
|
|
488
|
+
paperless: "paperless";
|
|
489
|
+
openproject: "openproject";
|
|
490
|
+
invoiceninja: "invoiceninja";
|
|
491
|
+
infisical: "infisical";
|
|
222
492
|
}>;
|
|
223
493
|
name: z.ZodString;
|
|
224
494
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
225
495
|
on: z.ZodString;
|
|
226
496
|
expose: z.ZodString;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
kind: z.ZodLiteral<"app">;
|
|
499
|
+
name: z.ZodString;
|
|
500
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
501
|
+
on: z.ZodString;
|
|
502
|
+
expose: z.ZodString;
|
|
227
503
|
}, z.core.$strip>], "kind">;
|
|
228
504
|
export type InventoryEntry = z.infer<typeof InventoryEntrySchema>;
|
|
229
505
|
export declare const AddInventoryInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -232,6 +508,7 @@ export declare const AddInventoryInputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
232
508
|
host: "host";
|
|
233
509
|
cloudflare: "cloudflare";
|
|
234
510
|
github: "github";
|
|
511
|
+
gitlab: "gitlab";
|
|
235
512
|
stripe: "stripe";
|
|
236
513
|
}>;
|
|
237
514
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -240,11 +517,22 @@ export declare const AddInventoryInputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
240
517
|
kind: z.ZodLiteral<"service">;
|
|
241
518
|
service: z.ZodEnum<{
|
|
242
519
|
signoz: "signoz";
|
|
520
|
+
outline: "outline";
|
|
521
|
+
paperless: "paperless";
|
|
522
|
+
openproject: "openproject";
|
|
523
|
+
invoiceninja: "invoiceninja";
|
|
524
|
+
infisical: "infisical";
|
|
243
525
|
}>;
|
|
244
526
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
245
527
|
on: z.ZodString;
|
|
246
528
|
expose: z.ZodString;
|
|
247
529
|
name: z.ZodString;
|
|
530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
531
|
+
kind: z.ZodLiteral<"app">;
|
|
532
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
533
|
+
on: z.ZodString;
|
|
534
|
+
expose: z.ZodString;
|
|
535
|
+
name: z.ZodString;
|
|
248
536
|
}, z.core.$strip>], "kind">;
|
|
249
537
|
export type AddInventoryInput = z.infer<typeof AddInventoryInputSchema>;
|
|
250
538
|
export declare const InventoryNameParamSchema: z.ZodObject<{
|
|
@@ -257,6 +545,7 @@ export declare const InventoryListSchema: z.ZodObject<{
|
|
|
257
545
|
host: "host";
|
|
258
546
|
cloudflare: "cloudflare";
|
|
259
547
|
github: "github";
|
|
548
|
+
gitlab: "gitlab";
|
|
260
549
|
stripe: "stripe";
|
|
261
550
|
}>;
|
|
262
551
|
name: z.ZodString;
|
|
@@ -265,41 +554,966 @@ export declare const InventoryListSchema: z.ZodObject<{
|
|
|
265
554
|
kind: z.ZodLiteral<"service">;
|
|
266
555
|
service: z.ZodEnum<{
|
|
267
556
|
signoz: "signoz";
|
|
557
|
+
outline: "outline";
|
|
558
|
+
paperless: "paperless";
|
|
559
|
+
openproject: "openproject";
|
|
560
|
+
invoiceninja: "invoiceninja";
|
|
561
|
+
infisical: "infisical";
|
|
268
562
|
}>;
|
|
269
563
|
name: z.ZodString;
|
|
270
564
|
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
271
565
|
on: z.ZodString;
|
|
272
566
|
expose: z.ZodString;
|
|
567
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
568
|
+
kind: z.ZodLiteral<"app">;
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
571
|
+
on: z.ZodString;
|
|
572
|
+
expose: z.ZodString;
|
|
273
573
|
}, z.core.$strip>], "kind">>;
|
|
274
574
|
}, z.core.$strip>;
|
|
275
|
-
export declare const
|
|
276
|
-
|
|
277
|
-
healthy: z.ZodBoolean;
|
|
278
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
279
|
-
}, z.core.$strip>;
|
|
280
|
-
export declare const SelfHostSchema: z.ZodObject<{
|
|
575
|
+
export declare const EnrollHostInputSchema: z.ZodObject<{
|
|
576
|
+
name: z.ZodString;
|
|
281
577
|
user: z.ZodString;
|
|
282
578
|
address: z.ZodString;
|
|
283
|
-
port: z.
|
|
284
|
-
via: z.ZodEnum<{
|
|
579
|
+
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
580
|
+
via: z.ZodDefault<z.ZodEnum<{
|
|
285
581
|
direct: "direct";
|
|
286
582
|
cloudflared: "cloudflared";
|
|
583
|
+
}>>;
|
|
584
|
+
sshKey: z.ZodString;
|
|
585
|
+
cfToken: z.ZodOptional<z.ZodString>;
|
|
586
|
+
cfZone: z.ZodOptional<z.ZodString>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
export type EnrollHostInput = z.infer<typeof EnrollHostInputSchema>;
|
|
589
|
+
export declare const CapabilityKindSchema: z.ZodEnum<{
|
|
590
|
+
service: "service";
|
|
591
|
+
devops: "devops";
|
|
592
|
+
monorepo: "monorepo";
|
|
593
|
+
mcp: "mcp";
|
|
594
|
+
integration: "integration";
|
|
595
|
+
cli: "cli";
|
|
596
|
+
plugin: "plugin";
|
|
597
|
+
ssh: "ssh";
|
|
598
|
+
vpn: "vpn";
|
|
599
|
+
docker: "docker";
|
|
600
|
+
browser: "browser";
|
|
601
|
+
}>;
|
|
602
|
+
export type CapabilityKind = z.infer<typeof CapabilityKindSchema>;
|
|
603
|
+
export declare const CapabilityStateSchema: z.ZodEnum<{
|
|
604
|
+
pending: "pending";
|
|
605
|
+
error: "error";
|
|
606
|
+
active: "active";
|
|
607
|
+
inactive: "inactive";
|
|
608
|
+
}>;
|
|
609
|
+
export type CapabilityState = z.infer<typeof CapabilityStateSchema>;
|
|
610
|
+
export declare const McpConfigSchema: z.ZodObject<{
|
|
611
|
+
url: z.ZodString;
|
|
612
|
+
token: z.ZodOptional<z.ZodString>;
|
|
613
|
+
}, z.core.$strip>;
|
|
614
|
+
export declare const ServiceConfigSchema: z.ZodObject<{
|
|
615
|
+
service: z.ZodEnum<{
|
|
616
|
+
signoz: "signoz";
|
|
617
|
+
outline: "outline";
|
|
618
|
+
paperless: "paperless";
|
|
619
|
+
openproject: "openproject";
|
|
620
|
+
invoiceninja: "invoiceninja";
|
|
621
|
+
infisical: "infisical";
|
|
622
|
+
}>;
|
|
623
|
+
domain: z.ZodString;
|
|
624
|
+
on: z.ZodString;
|
|
625
|
+
expose: z.ZodString;
|
|
626
|
+
}, z.core.$strip>;
|
|
627
|
+
export declare const IntegrationConfigSchema: z.ZodObject<{
|
|
628
|
+
provider: z.ZodLiteral<"stripe">;
|
|
629
|
+
}, z.core.$strip>;
|
|
630
|
+
export declare const CliConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
631
|
+
provider: z.ZodLiteral<"discord">;
|
|
632
|
+
botToken: z.ZodString;
|
|
633
|
+
voiceModel: z.ZodOptional<z.ZodEnum<{
|
|
634
|
+
small: "small";
|
|
635
|
+
base: "base";
|
|
636
|
+
tiny: "tiny";
|
|
637
|
+
medium: "medium";
|
|
638
|
+
"large-v3-turbo": "large-v3-turbo";
|
|
639
|
+
}>>;
|
|
640
|
+
voiceLanguage: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
642
|
+
provider: z.ZodLiteral<"github">;
|
|
643
|
+
token: z.ZodString;
|
|
644
|
+
git: z.ZodOptional<z.ZodEnum<{
|
|
645
|
+
on: "on";
|
|
646
|
+
off: "off";
|
|
647
|
+
}>>;
|
|
648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
+
provider: z.ZodLiteral<"gitlab">;
|
|
650
|
+
token: z.ZodString;
|
|
651
|
+
url: z.ZodString;
|
|
652
|
+
git: z.ZodOptional<z.ZodEnum<{
|
|
653
|
+
on: "on";
|
|
654
|
+
off: "off";
|
|
655
|
+
}>>;
|
|
656
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
657
|
+
provider: z.ZodLiteral<"sentry">;
|
|
658
|
+
token: z.ZodString;
|
|
659
|
+
url: z.ZodString;
|
|
660
|
+
org: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
662
|
+
provider: z.ZodLiteral<"redmine">;
|
|
663
|
+
url: z.ZodString;
|
|
664
|
+
apiKey: z.ZodString;
|
|
665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
666
|
+
provider: z.ZodLiteral<"outline">;
|
|
667
|
+
url: z.ZodString;
|
|
668
|
+
apiKey: z.ZodString;
|
|
669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
670
|
+
provider: z.ZodLiteral<"imap">;
|
|
671
|
+
host: z.ZodString;
|
|
672
|
+
port: z.ZodCoercedNumber<unknown>;
|
|
673
|
+
username: z.ZodString;
|
|
674
|
+
password: z.ZodString;
|
|
675
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
676
|
+
provider: z.ZodLiteral<"signoz">;
|
|
677
|
+
url: z.ZodString;
|
|
678
|
+
apiKey: z.ZodString;
|
|
679
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
680
|
+
provider: z.ZodLiteral<"postgres">;
|
|
681
|
+
host: z.ZodString;
|
|
682
|
+
port: z.ZodCoercedNumber<unknown>;
|
|
683
|
+
user: z.ZodString;
|
|
684
|
+
password: z.ZodString;
|
|
685
|
+
database: z.ZodString;
|
|
686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
687
|
+
provider: z.ZodLiteral<"mysql">;
|
|
688
|
+
host: z.ZodString;
|
|
689
|
+
port: z.ZodCoercedNumber<unknown>;
|
|
690
|
+
user: z.ZodString;
|
|
691
|
+
password: z.ZodString;
|
|
692
|
+
database: z.ZodString;
|
|
693
|
+
}, z.core.$strip>], "provider">;
|
|
694
|
+
export declare const PluginConfigSchema: z.ZodObject<{
|
|
695
|
+
url: z.ZodString;
|
|
696
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
697
|
+
path: z.ZodOptional<z.ZodString>;
|
|
698
|
+
token: z.ZodOptional<z.ZodString>;
|
|
699
|
+
}, z.core.$strip>;
|
|
700
|
+
export declare const SshConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
701
|
+
auth: z.ZodLiteral<"key">;
|
|
702
|
+
host: z.ZodString;
|
|
703
|
+
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
704
|
+
user: z.ZodString;
|
|
705
|
+
privateKey: z.ZodString;
|
|
706
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
707
|
+
auth: z.ZodLiteral<"password">;
|
|
708
|
+
host: z.ZodString;
|
|
709
|
+
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
710
|
+
user: z.ZodString;
|
|
711
|
+
password: z.ZodString;
|
|
712
|
+
}, z.core.$strip>], "auth">;
|
|
713
|
+
export declare const VpnConfigSchema: z.ZodObject<{
|
|
714
|
+
config: z.ZodString;
|
|
715
|
+
enabled: z.ZodDefault<z.ZodEnum<{
|
|
716
|
+
on: "on";
|
|
717
|
+
off: "off";
|
|
718
|
+
}>>;
|
|
719
|
+
}, z.core.$strip>;
|
|
720
|
+
export declare const DockerConfigSchema: z.ZodObject<{
|
|
721
|
+
enabled: z.ZodDefault<z.ZodEnum<{
|
|
722
|
+
on: "on";
|
|
723
|
+
off: "off";
|
|
724
|
+
}>>;
|
|
725
|
+
}, z.core.$strip>;
|
|
726
|
+
export declare const BrowserPlatformSchema: z.ZodEnum<{
|
|
727
|
+
reddit: "reddit";
|
|
728
|
+
x: "x";
|
|
729
|
+
youtube: "youtube";
|
|
730
|
+
}>;
|
|
731
|
+
export declare const BrowserConfigSchema: z.ZodObject<{
|
|
732
|
+
platform: z.ZodEnum<{
|
|
733
|
+
reddit: "reddit";
|
|
734
|
+
x: "x";
|
|
735
|
+
youtube: "youtube";
|
|
287
736
|
}>;
|
|
288
737
|
}, z.core.$strip>;
|
|
289
|
-
export type
|
|
290
|
-
export
|
|
291
|
-
|
|
738
|
+
export type McpConfig = z.infer<typeof McpConfigSchema>;
|
|
739
|
+
export type ServiceConfig = z.infer<typeof ServiceConfigSchema>;
|
|
740
|
+
export type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
|
|
741
|
+
export type CliConfig = z.infer<typeof CliConfigSchema>;
|
|
742
|
+
export type PluginConfig = z.infer<typeof PluginConfigSchema>;
|
|
743
|
+
export type SshConfig = z.infer<typeof SshConfigSchema>;
|
|
744
|
+
export type VpnConfig = z.infer<typeof VpnConfigSchema>;
|
|
745
|
+
export type DockerConfig = z.infer<typeof DockerConfigSchema>;
|
|
746
|
+
export type BrowserPlatform = z.infer<typeof BrowserPlatformSchema>;
|
|
747
|
+
export type BrowserConfig = z.infer<typeof BrowserConfigSchema>;
|
|
748
|
+
export declare const CapabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
749
|
+
id: z.ZodString;
|
|
750
|
+
kind: z.ZodLiteral<"devops">;
|
|
751
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
753
|
+
id: z.ZodString;
|
|
754
|
+
kind: z.ZodLiteral<"monorepo">;
|
|
755
|
+
config: z.ZodObject<{}, z.core.$strip>;
|
|
756
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
757
|
+
id: z.ZodString;
|
|
758
|
+
kind: z.ZodLiteral<"mcp">;
|
|
759
|
+
config: z.ZodObject<{
|
|
760
|
+
url: z.ZodString;
|
|
761
|
+
token: z.ZodOptional<z.ZodString>;
|
|
762
|
+
}, z.core.$strip>;
|
|
763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
764
|
+
id: z.ZodString;
|
|
765
|
+
kind: z.ZodLiteral<"service">;
|
|
766
|
+
config: z.ZodObject<{
|
|
767
|
+
service: z.ZodEnum<{
|
|
768
|
+
signoz: "signoz";
|
|
769
|
+
outline: "outline";
|
|
770
|
+
paperless: "paperless";
|
|
771
|
+
openproject: "openproject";
|
|
772
|
+
invoiceninja: "invoiceninja";
|
|
773
|
+
infisical: "infisical";
|
|
774
|
+
}>;
|
|
775
|
+
domain: z.ZodString;
|
|
776
|
+
on: z.ZodString;
|
|
777
|
+
expose: z.ZodString;
|
|
778
|
+
}, z.core.$strip>;
|
|
779
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
780
|
+
id: z.ZodString;
|
|
781
|
+
kind: z.ZodLiteral<"integration">;
|
|
782
|
+
config: z.ZodObject<{
|
|
783
|
+
provider: z.ZodLiteral<"stripe">;
|
|
784
|
+
}, z.core.$strip>;
|
|
785
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
786
|
+
id: z.ZodString;
|
|
787
|
+
kind: z.ZodLiteral<"cli">;
|
|
788
|
+
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
789
|
+
provider: z.ZodLiteral<"discord">;
|
|
790
|
+
botToken: z.ZodString;
|
|
791
|
+
voiceModel: z.ZodOptional<z.ZodEnum<{
|
|
792
|
+
small: "small";
|
|
793
|
+
base: "base";
|
|
794
|
+
tiny: "tiny";
|
|
795
|
+
medium: "medium";
|
|
796
|
+
"large-v3-turbo": "large-v3-turbo";
|
|
797
|
+
}>>;
|
|
798
|
+
voiceLanguage: z.ZodOptional<z.ZodString>;
|
|
799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
800
|
+
provider: z.ZodLiteral<"github">;
|
|
801
|
+
token: z.ZodString;
|
|
802
|
+
git: z.ZodOptional<z.ZodEnum<{
|
|
803
|
+
on: "on";
|
|
804
|
+
off: "off";
|
|
805
|
+
}>>;
|
|
806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
807
|
+
provider: z.ZodLiteral<"gitlab">;
|
|
808
|
+
token: z.ZodString;
|
|
809
|
+
url: z.ZodString;
|
|
810
|
+
git: z.ZodOptional<z.ZodEnum<{
|
|
811
|
+
on: "on";
|
|
812
|
+
off: "off";
|
|
813
|
+
}>>;
|
|
814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
815
|
+
provider: z.ZodLiteral<"sentry">;
|
|
816
|
+
token: z.ZodString;
|
|
817
|
+
url: z.ZodString;
|
|
818
|
+
org: z.ZodOptional<z.ZodString>;
|
|
819
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
820
|
+
provider: z.ZodLiteral<"redmine">;
|
|
821
|
+
url: z.ZodString;
|
|
822
|
+
apiKey: z.ZodString;
|
|
823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
824
|
+
provider: z.ZodLiteral<"outline">;
|
|
825
|
+
url: z.ZodString;
|
|
826
|
+
apiKey: z.ZodString;
|
|
827
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
828
|
+
provider: z.ZodLiteral<"imap">;
|
|
829
|
+
host: z.ZodString;
|
|
830
|
+
port: z.ZodCoercedNumber<unknown>;
|
|
831
|
+
username: z.ZodString;
|
|
832
|
+
password: z.ZodString;
|
|
833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
834
|
+
provider: z.ZodLiteral<"signoz">;
|
|
835
|
+
url: z.ZodString;
|
|
836
|
+
apiKey: z.ZodString;
|
|
837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
838
|
+
provider: z.ZodLiteral<"postgres">;
|
|
839
|
+
host: z.ZodString;
|
|
840
|
+
port: z.ZodCoercedNumber<unknown>;
|
|
841
|
+
user: z.ZodString;
|
|
842
|
+
password: z.ZodString;
|
|
843
|
+
database: z.ZodString;
|
|
844
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
845
|
+
provider: z.ZodLiteral<"mysql">;
|
|
846
|
+
host: z.ZodString;
|
|
847
|
+
port: z.ZodCoercedNumber<unknown>;
|
|
292
848
|
user: z.ZodString;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
849
|
+
password: z.ZodString;
|
|
850
|
+
database: z.ZodString;
|
|
851
|
+
}, z.core.$strip>], "provider">;
|
|
852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
+
id: z.ZodString;
|
|
854
|
+
kind: z.ZodLiteral<"plugin">;
|
|
855
|
+
config: z.ZodObject<{
|
|
856
|
+
url: z.ZodString;
|
|
857
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
858
|
+
path: z.ZodOptional<z.ZodString>;
|
|
859
|
+
token: z.ZodOptional<z.ZodString>;
|
|
860
|
+
}, z.core.$strip>;
|
|
861
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
862
|
+
id: z.ZodString;
|
|
863
|
+
kind: z.ZodLiteral<"ssh">;
|
|
864
|
+
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
865
|
+
auth: z.ZodLiteral<"key">;
|
|
866
|
+
host: z.ZodString;
|
|
867
|
+
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
868
|
+
user: z.ZodString;
|
|
869
|
+
privateKey: z.ZodString;
|
|
870
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
871
|
+
auth: z.ZodLiteral<"password">;
|
|
872
|
+
host: z.ZodString;
|
|
873
|
+
port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
874
|
+
user: z.ZodString;
|
|
875
|
+
password: z.ZodString;
|
|
876
|
+
}, z.core.$strip>], "auth">;
|
|
877
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
878
|
+
id: z.ZodString;
|
|
879
|
+
kind: z.ZodLiteral<"vpn">;
|
|
880
|
+
config: z.ZodObject<{
|
|
881
|
+
config: z.ZodString;
|
|
882
|
+
enabled: z.ZodDefault<z.ZodEnum<{
|
|
883
|
+
on: "on";
|
|
884
|
+
off: "off";
|
|
885
|
+
}>>;
|
|
886
|
+
}, z.core.$strip>;
|
|
887
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
888
|
+
id: z.ZodString;
|
|
889
|
+
kind: z.ZodLiteral<"docker">;
|
|
890
|
+
config: z.ZodObject<{
|
|
891
|
+
enabled: z.ZodDefault<z.ZodEnum<{
|
|
892
|
+
on: "on";
|
|
893
|
+
off: "off";
|
|
894
|
+
}>>;
|
|
895
|
+
}, z.core.$strip>;
|
|
896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
897
|
+
id: z.ZodString;
|
|
898
|
+
kind: z.ZodLiteral<"browser">;
|
|
899
|
+
config: z.ZodObject<{
|
|
900
|
+
platform: z.ZodEnum<{
|
|
901
|
+
reddit: "reddit";
|
|
902
|
+
x: "x";
|
|
903
|
+
youtube: "youtube";
|
|
904
|
+
}>;
|
|
905
|
+
}, z.core.$strip>;
|
|
906
|
+
}, z.core.$strip>], "kind">;
|
|
907
|
+
export type Capability = z.infer<typeof CapabilitySchema>;
|
|
908
|
+
export declare const CapabilityStatusSchema: z.ZodObject<{
|
|
909
|
+
state: z.ZodEnum<{
|
|
910
|
+
pending: "pending";
|
|
911
|
+
error: "error";
|
|
912
|
+
active: "active";
|
|
913
|
+
inactive: "inactive";
|
|
914
|
+
}>;
|
|
915
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
916
|
+
}, z.core.$strip>;
|
|
917
|
+
export type CapabilityStatus = z.infer<typeof CapabilityStatusSchema>;
|
|
918
|
+
export declare const CapabilitySummarySchema: z.ZodObject<{
|
|
919
|
+
id: z.ZodString;
|
|
920
|
+
kind: z.ZodEnum<{
|
|
921
|
+
service: "service";
|
|
922
|
+
devops: "devops";
|
|
923
|
+
monorepo: "monorepo";
|
|
924
|
+
mcp: "mcp";
|
|
925
|
+
integration: "integration";
|
|
926
|
+
cli: "cli";
|
|
927
|
+
plugin: "plugin";
|
|
928
|
+
ssh: "ssh";
|
|
929
|
+
vpn: "vpn";
|
|
930
|
+
docker: "docker";
|
|
931
|
+
browser: "browser";
|
|
932
|
+
}>;
|
|
933
|
+
status: z.ZodObject<{
|
|
934
|
+
state: z.ZodEnum<{
|
|
935
|
+
pending: "pending";
|
|
936
|
+
error: "error";
|
|
937
|
+
active: "active";
|
|
938
|
+
inactive: "inactive";
|
|
939
|
+
}>;
|
|
940
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
943
|
+
}, z.core.$strip>;
|
|
944
|
+
export declare const CapabilitiesListSchema: z.ZodObject<{
|
|
945
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
946
|
+
id: z.ZodString;
|
|
947
|
+
kind: z.ZodEnum<{
|
|
948
|
+
service: "service";
|
|
949
|
+
devops: "devops";
|
|
950
|
+
monorepo: "monorepo";
|
|
951
|
+
mcp: "mcp";
|
|
952
|
+
integration: "integration";
|
|
953
|
+
cli: "cli";
|
|
954
|
+
plugin: "plugin";
|
|
955
|
+
ssh: "ssh";
|
|
956
|
+
vpn: "vpn";
|
|
957
|
+
docker: "docker";
|
|
958
|
+
browser: "browser";
|
|
959
|
+
}>;
|
|
960
|
+
status: z.ZodObject<{
|
|
961
|
+
state: z.ZodEnum<{
|
|
962
|
+
pending: "pending";
|
|
963
|
+
error: "error";
|
|
964
|
+
active: "active";
|
|
965
|
+
inactive: "inactive";
|
|
966
|
+
}>;
|
|
967
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
968
|
+
}, z.core.$strip>;
|
|
969
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
970
|
+
}, z.core.$strip>>;
|
|
971
|
+
}, z.core.$strip>;
|
|
972
|
+
export declare const CapabilityIdParamSchema: z.ZodObject<{
|
|
973
|
+
id: z.ZodString;
|
|
974
|
+
}, z.core.$strip>;
|
|
975
|
+
export declare const CapabilitySecretInputSchema: z.ZodObject<{
|
|
976
|
+
id: z.ZodString;
|
|
977
|
+
value: z.ZodString;
|
|
978
|
+
}, z.core.$strip>;
|
|
979
|
+
export declare const MarketplaceRequestSchema: z.ZodObject<{
|
|
980
|
+
url: z.ZodString;
|
|
981
|
+
token: z.ZodOptional<z.ZodString>;
|
|
982
|
+
}, z.core.$strip>;
|
|
983
|
+
export declare const MarketplacePluginSchema: z.ZodObject<{
|
|
984
|
+
name: z.ZodString;
|
|
985
|
+
description: z.ZodOptional<z.ZodString>;
|
|
986
|
+
version: z.ZodOptional<z.ZodString>;
|
|
987
|
+
install: z.ZodOptional<z.ZodObject<{
|
|
988
|
+
url: z.ZodString;
|
|
989
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
990
|
+
path: z.ZodOptional<z.ZodString>;
|
|
991
|
+
}, z.core.$strip>>;
|
|
992
|
+
}, z.core.$strip>;
|
|
993
|
+
export type MarketplacePlugin = z.infer<typeof MarketplacePluginSchema>;
|
|
994
|
+
export declare const MarketplaceSchema: z.ZodObject<{
|
|
995
|
+
name: z.ZodString;
|
|
996
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
997
|
+
name: z.ZodString;
|
|
998
|
+
description: z.ZodOptional<z.ZodString>;
|
|
999
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
install: z.ZodOptional<z.ZodObject<{
|
|
1001
|
+
url: z.ZodString;
|
|
1002
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
}, z.core.$strip>>;
|
|
1006
|
+
}, z.core.$strip>;
|
|
1007
|
+
export type Marketplace = z.infer<typeof MarketplaceSchema>;
|
|
1008
|
+
export declare const TriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1009
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1010
|
+
cron: z.ZodString;
|
|
1011
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1012
|
+
kind: z.ZodLiteral<"event">;
|
|
1013
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1015
|
+
kind: z.ZodLiteral<"listener">;
|
|
1016
|
+
provider: z.ZodEnum<{
|
|
1017
|
+
discord: "discord";
|
|
1018
|
+
}>;
|
|
1019
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
eventType: z.ZodOptional<z.ZodEnum<{
|
|
1021
|
+
message: "message";
|
|
1022
|
+
voice_utterance: "voice_utterance";
|
|
1023
|
+
voice_transcript: "voice_transcript";
|
|
1024
|
+
}>>;
|
|
1025
|
+
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
+
}, z.core.$strip>], "kind">;
|
|
1027
|
+
export type Trigger = z.infer<typeof TriggerSchema>;
|
|
1028
|
+
export declare const AutomationSchema: z.ZodObject<{
|
|
1029
|
+
id: z.ZodString;
|
|
1030
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1031
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1032
|
+
cron: z.ZodString;
|
|
1033
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1034
|
+
kind: z.ZodLiteral<"event">;
|
|
1035
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1037
|
+
kind: z.ZodLiteral<"listener">;
|
|
1038
|
+
provider: z.ZodEnum<{
|
|
1039
|
+
discord: "discord";
|
|
1040
|
+
}>;
|
|
1041
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
eventType: z.ZodOptional<z.ZodEnum<{
|
|
1043
|
+
message: "message";
|
|
1044
|
+
voice_utterance: "voice_utterance";
|
|
1045
|
+
voice_transcript: "voice_transcript";
|
|
1046
|
+
}>>;
|
|
1047
|
+
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1048
|
+
}, z.core.$strip>], "kind">;
|
|
1049
|
+
guard: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
prompt: z.ZodString;
|
|
1051
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
+
enabled: z.ZodBoolean;
|
|
1054
|
+
}, z.core.$strip>;
|
|
1055
|
+
export type Automation = z.infer<typeof AutomationSchema>;
|
|
1056
|
+
export declare const AutomationApprovalSchema: z.ZodObject<{
|
|
1057
|
+
id: z.ZodString;
|
|
1058
|
+
automationId: z.ZodString;
|
|
1059
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
createdAt: z.ZodNumber;
|
|
1061
|
+
}, z.core.$strip>;
|
|
1062
|
+
export type AutomationApproval = z.infer<typeof AutomationApprovalSchema>;
|
|
1063
|
+
export declare const AutomationApprovalsListSchema: z.ZodObject<{
|
|
1064
|
+
approvals: z.ZodArray<z.ZodObject<{
|
|
1065
|
+
id: z.ZodString;
|
|
1066
|
+
automationId: z.ZodString;
|
|
1067
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
createdAt: z.ZodNumber;
|
|
1069
|
+
}, z.core.$strip>>;
|
|
1070
|
+
}, z.core.$strip>;
|
|
1071
|
+
export declare const AutomationApprovalIdParamSchema: z.ZodObject<{
|
|
1072
|
+
id: z.ZodString;
|
|
1073
|
+
}, z.core.$strip>;
|
|
1074
|
+
export declare const AutomationRunSchema: z.ZodObject<{
|
|
1075
|
+
at: z.ZodNumber;
|
|
1076
|
+
outcome: z.ZodEnum<{
|
|
1077
|
+
completed: "completed";
|
|
1078
|
+
error: "error";
|
|
1079
|
+
skipped: "skipped";
|
|
1080
|
+
}>;
|
|
1081
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
}, z.core.$strip>;
|
|
1083
|
+
export type AutomationRun = z.infer<typeof AutomationRunSchema>;
|
|
1084
|
+
export declare const AutomationSummarySchema: z.ZodObject<{
|
|
1085
|
+
id: z.ZodString;
|
|
1086
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1087
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1088
|
+
cron: z.ZodString;
|
|
1089
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1090
|
+
kind: z.ZodLiteral<"event">;
|
|
1091
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1093
|
+
kind: z.ZodLiteral<"listener">;
|
|
1094
|
+
provider: z.ZodEnum<{
|
|
1095
|
+
discord: "discord";
|
|
1096
|
+
}>;
|
|
1097
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1098
|
+
eventType: z.ZodOptional<z.ZodEnum<{
|
|
1099
|
+
message: "message";
|
|
1100
|
+
voice_utterance: "voice_utterance";
|
|
1101
|
+
voice_transcript: "voice_transcript";
|
|
1102
|
+
}>>;
|
|
1103
|
+
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1104
|
+
}, z.core.$strip>], "kind">;
|
|
1105
|
+
guard: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
prompt: z.ZodString;
|
|
1107
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1109
|
+
enabled: z.ZodBoolean;
|
|
1110
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
1111
|
+
at: z.ZodNumber;
|
|
1112
|
+
outcome: z.ZodEnum<{
|
|
1113
|
+
completed: "completed";
|
|
1114
|
+
error: "error";
|
|
1115
|
+
skipped: "skipped";
|
|
1116
|
+
}>;
|
|
1117
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
}, z.core.$strip>>;
|
|
1119
|
+
nextRun: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
}, z.core.$strip>;
|
|
1121
|
+
export declare const AutomationsListSchema: z.ZodObject<{
|
|
1122
|
+
automations: z.ZodArray<z.ZodObject<{
|
|
1123
|
+
id: z.ZodString;
|
|
1124
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1125
|
+
kind: z.ZodLiteral<"schedule">;
|
|
1126
|
+
cron: z.ZodString;
|
|
1127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1128
|
+
kind: z.ZodLiteral<"event">;
|
|
1129
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1131
|
+
kind: z.ZodLiteral<"listener">;
|
|
1132
|
+
provider: z.ZodEnum<{
|
|
1133
|
+
discord: "discord";
|
|
1134
|
+
}>;
|
|
1135
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
eventType: z.ZodOptional<z.ZodEnum<{
|
|
1137
|
+
message: "message";
|
|
1138
|
+
voice_utterance: "voice_utterance";
|
|
1139
|
+
voice_transcript: "voice_transcript";
|
|
1140
|
+
}>>;
|
|
1141
|
+
mentioned: z.ZodOptional<z.ZodBoolean>;
|
|
1142
|
+
}, z.core.$strip>], "kind">;
|
|
1143
|
+
guard: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
prompt: z.ZodString;
|
|
1145
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1147
|
+
enabled: z.ZodBoolean;
|
|
1148
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
1149
|
+
at: z.ZodNumber;
|
|
1150
|
+
outcome: z.ZodEnum<{
|
|
1151
|
+
completed: "completed";
|
|
1152
|
+
error: "error";
|
|
1153
|
+
skipped: "skipped";
|
|
1154
|
+
}>;
|
|
1155
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
}, z.core.$strip>>;
|
|
1157
|
+
nextRun: z.ZodOptional<z.ZodNumber>;
|
|
1158
|
+
}, z.core.$strip>>;
|
|
1159
|
+
}, z.core.$strip>;
|
|
1160
|
+
export declare const AutomationIdParamSchema: z.ZodObject<{
|
|
1161
|
+
id: z.ZodString;
|
|
1162
|
+
}, z.core.$strip>;
|
|
1163
|
+
export declare const DraftStatusSchema: z.ZodEnum<{
|
|
1164
|
+
proposed: "proposed";
|
|
1165
|
+
approved: "approved";
|
|
1166
|
+
posting: "posting";
|
|
1167
|
+
posted: "posted";
|
|
1168
|
+
failed: "failed";
|
|
1169
|
+
}>;
|
|
1170
|
+
export type DraftStatus = z.infer<typeof DraftStatusSchema>;
|
|
1171
|
+
export declare const DraftSchema: z.ZodObject<{
|
|
1172
|
+
platform: z.ZodString;
|
|
1173
|
+
content: z.ZodString;
|
|
1174
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
media: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1177
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
1178
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
1179
|
+
proposed: "proposed";
|
|
1180
|
+
approved: "approved";
|
|
1181
|
+
posting: "posting";
|
|
1182
|
+
posted: "posted";
|
|
1183
|
+
failed: "failed";
|
|
1184
|
+
}>>;
|
|
1185
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1186
|
+
postedAt: z.ZodOptional<z.ZodNumber>;
|
|
1187
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
export type Draft = z.infer<typeof DraftSchema>;
|
|
1190
|
+
export declare const DraftSummarySchema: z.ZodObject<{
|
|
1191
|
+
platform: z.ZodString;
|
|
1192
|
+
content: z.ZodString;
|
|
1193
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
media: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1196
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
1197
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
1198
|
+
proposed: "proposed";
|
|
1199
|
+
approved: "approved";
|
|
1200
|
+
posting: "posting";
|
|
1201
|
+
posted: "posted";
|
|
1202
|
+
failed: "failed";
|
|
1203
|
+
}>>;
|
|
1204
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
+
postedAt: z.ZodOptional<z.ZodNumber>;
|
|
1206
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
id: z.ZodString;
|
|
1208
|
+
}, z.core.$strip>;
|
|
1209
|
+
export type DraftSummary = z.infer<typeof DraftSummarySchema>;
|
|
1210
|
+
export declare const DraftsListSchema: z.ZodObject<{
|
|
1211
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
1212
|
+
platform: z.ZodString;
|
|
1213
|
+
content: z.ZodString;
|
|
1214
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
media: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1217
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
1218
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
1219
|
+
proposed: "proposed";
|
|
1220
|
+
approved: "approved";
|
|
1221
|
+
posting: "posting";
|
|
1222
|
+
posted: "posted";
|
|
1223
|
+
failed: "failed";
|
|
1224
|
+
}>>;
|
|
1225
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1226
|
+
postedAt: z.ZodOptional<z.ZodNumber>;
|
|
1227
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
id: z.ZodString;
|
|
1229
|
+
}, z.core.$strip>>;
|
|
1230
|
+
invalid: z.ZodArray<z.ZodString>;
|
|
1231
|
+
}, z.core.$strip>;
|
|
1232
|
+
export declare const DraftIdParamSchema: z.ZodObject<{
|
|
1233
|
+
id: z.ZodString;
|
|
1234
|
+
}, z.core.$strip>;
|
|
1235
|
+
export declare const PanelSummarySchema: z.ZodObject<{
|
|
1236
|
+
repo: z.ZodString;
|
|
1237
|
+
hasPanel: z.ZodBoolean;
|
|
1238
|
+
running: z.ZodBoolean;
|
|
1239
|
+
healthy: z.ZodBoolean;
|
|
1240
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1241
|
+
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1243
|
+
app: "app";
|
|
1244
|
+
intent: "intent";
|
|
1245
|
+
"desired-state": "desired-state";
|
|
1246
|
+
}>>;
|
|
1247
|
+
deployConfig: z.ZodBoolean;
|
|
1248
|
+
desiredState: z.ZodBoolean;
|
|
1249
|
+
directoryUi: z.ZodBoolean;
|
|
1250
|
+
monorepo: z.ZodBoolean;
|
|
1251
|
+
vitest: z.ZodBoolean;
|
|
1252
|
+
}, z.core.$strip>;
|
|
1253
|
+
export type PanelSummary = z.infer<typeof PanelSummarySchema>;
|
|
1254
|
+
export declare const PanelsListSchema: z.ZodObject<{
|
|
1255
|
+
panels: z.ZodArray<z.ZodObject<{
|
|
1256
|
+
repo: z.ZodString;
|
|
1257
|
+
hasPanel: z.ZodBoolean;
|
|
1258
|
+
running: z.ZodBoolean;
|
|
1259
|
+
healthy: z.ZodBoolean;
|
|
1260
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
previewUrl: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1263
|
+
app: "app";
|
|
1264
|
+
intent: "intent";
|
|
1265
|
+
"desired-state": "desired-state";
|
|
1266
|
+
}>>;
|
|
1267
|
+
deployConfig: z.ZodBoolean;
|
|
1268
|
+
desiredState: z.ZodBoolean;
|
|
1269
|
+
directoryUi: z.ZodBoolean;
|
|
1270
|
+
monorepo: z.ZodBoolean;
|
|
1271
|
+
vitest: z.ZodBoolean;
|
|
1272
|
+
}, z.core.$strip>>;
|
|
1273
|
+
}, z.core.$strip>;
|
|
1274
|
+
export type PanelsList = z.infer<typeof PanelsListSchema>;
|
|
1275
|
+
export declare const PanelRepoParamSchema: z.ZodObject<{
|
|
1276
|
+
repo: z.ZodString;
|
|
1277
|
+
}, z.core.$strip>;
|
|
1278
|
+
export declare const TerminalSessionSchema: z.ZodObject<{
|
|
1279
|
+
name: z.ZodString;
|
|
1280
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
kind: z.ZodEnum<{
|
|
1282
|
+
agent: "agent";
|
|
1283
|
+
shell: "shell";
|
|
1284
|
+
panel: "panel";
|
|
1285
|
+
}>;
|
|
1286
|
+
running: z.ZodBoolean;
|
|
1287
|
+
}, z.core.$strip>;
|
|
1288
|
+
export declare const TerminalsListSchema: z.ZodObject<{
|
|
1289
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
1290
|
+
name: z.ZodString;
|
|
1291
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
kind: z.ZodEnum<{
|
|
1293
|
+
agent: "agent";
|
|
1294
|
+
shell: "shell";
|
|
1295
|
+
panel: "panel";
|
|
1296
|
+
}>;
|
|
1297
|
+
running: z.ZodBoolean;
|
|
1298
|
+
}, z.core.$strip>>;
|
|
1299
|
+
}, z.core.$strip>;
|
|
1300
|
+
export type TerminalsList = z.infer<typeof TerminalsListSchema>;
|
|
1301
|
+
export declare const TerminalNameParamSchema: z.ZodObject<{
|
|
1302
|
+
name: z.ZodString;
|
|
1303
|
+
}, z.core.$strip>;
|
|
1304
|
+
export declare const EnvironmentSchema: z.ZodObject<{
|
|
1305
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
1306
|
+
content: z.ZodString;
|
|
1307
|
+
hash: z.ZodString;
|
|
1308
|
+
}, z.core.$strip>>;
|
|
1309
|
+
custom: z.ZodOptional<z.ZodObject<{
|
|
1310
|
+
content: z.ZodString;
|
|
1311
|
+
hash: z.ZodString;
|
|
1312
|
+
}, z.core.$strip>>;
|
|
1313
|
+
approved: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
content: z.ZodString;
|
|
1315
|
+
hash: z.ZodString;
|
|
1316
|
+
}, z.core.$strip>>;
|
|
1317
|
+
appliedHash: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
container: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
export type Environment = z.infer<typeof EnvironmentSchema>;
|
|
1321
|
+
export declare const EnvironmentApproveSchema: z.ZodObject<{
|
|
1322
|
+
hash: z.ZodString;
|
|
1323
|
+
}, z.core.$strip>;
|
|
1324
|
+
export declare const SecretSetSchema: z.ZodObject<{
|
|
1325
|
+
key: z.ZodString;
|
|
1326
|
+
value: z.ZodString;
|
|
1327
|
+
}, z.core.$strip>;
|
|
1328
|
+
export declare const SecretKeysSchema: z.ZodObject<{
|
|
1329
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1330
|
+
}, z.core.$strip>;
|
|
1331
|
+
export declare const SecretKeyParamSchema: z.ZodObject<{
|
|
1332
|
+
key: z.ZodString;
|
|
1333
|
+
}, z.core.$strip>;
|
|
1334
|
+
export declare const SecretRevealSchema: z.ZodObject<{
|
|
1335
|
+
value: z.ZodString;
|
|
1336
|
+
}, z.core.$strip>;
|
|
1337
|
+
export declare const SecretInventoryEntrySchema: z.ZodObject<{
|
|
1338
|
+
key: z.ZodString;
|
|
1339
|
+
kind: z.ZodEnum<{
|
|
1340
|
+
provider: "provider";
|
|
1341
|
+
env: "env";
|
|
1342
|
+
generated: "generated";
|
|
1343
|
+
capability: "capability";
|
|
1344
|
+
}>;
|
|
1345
|
+
status: z.ZodEnum<{
|
|
1346
|
+
set: "set";
|
|
1347
|
+
connected: "connected";
|
|
1348
|
+
missing: "missing";
|
|
1349
|
+
}>;
|
|
1350
|
+
requiredBy: z.ZodArray<z.ZodObject<{
|
|
1351
|
+
resourceId: z.ZodString;
|
|
1352
|
+
type: z.ZodString;
|
|
1353
|
+
}, z.core.$strip>>;
|
|
1354
|
+
storedAt: z.ZodString;
|
|
1355
|
+
revealable: z.ZodBoolean;
|
|
1356
|
+
ci: z.ZodOptional<z.ZodObject<{
|
|
1357
|
+
synced: z.ZodBoolean;
|
|
1358
|
+
pushedAt: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
}, z.core.$strip>>;
|
|
1360
|
+
}, z.core.$strip>;
|
|
1361
|
+
export type SecretInventoryEntry = z.infer<typeof SecretInventoryEntrySchema>;
|
|
1362
|
+
export declare const SecretInventorySchema: z.ZodObject<{
|
|
1363
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
1364
|
+
key: z.ZodString;
|
|
1365
|
+
kind: z.ZodEnum<{
|
|
1366
|
+
provider: "provider";
|
|
1367
|
+
env: "env";
|
|
1368
|
+
generated: "generated";
|
|
1369
|
+
capability: "capability";
|
|
1370
|
+
}>;
|
|
1371
|
+
status: z.ZodEnum<{
|
|
1372
|
+
set: "set";
|
|
1373
|
+
connected: "connected";
|
|
1374
|
+
missing: "missing";
|
|
298
1375
|
}>;
|
|
1376
|
+
requiredBy: z.ZodArray<z.ZodObject<{
|
|
1377
|
+
resourceId: z.ZodString;
|
|
1378
|
+
type: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>>;
|
|
1380
|
+
storedAt: z.ZodString;
|
|
1381
|
+
revealable: z.ZodBoolean;
|
|
1382
|
+
ci: z.ZodOptional<z.ZodObject<{
|
|
1383
|
+
synced: z.ZodBoolean;
|
|
1384
|
+
pushedAt: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
}, z.core.$strip>>;
|
|
299
1386
|
}, z.core.$strip>>;
|
|
300
1387
|
}, z.core.$strip>;
|
|
301
1388
|
export declare const InfoSchema: z.ZodObject<{
|
|
302
1389
|
name: z.ZodOptional<z.ZodString>;
|
|
303
1390
|
image: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
latest: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
updateAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
1394
|
+
}, z.core.$strip>;
|
|
1395
|
+
export declare const HostTunnelInputSchema: z.ZodObject<{
|
|
1396
|
+
hostName: z.ZodString;
|
|
1397
|
+
}, z.core.$strip>;
|
|
1398
|
+
export declare const HostTunnelSchema: z.ZodObject<{
|
|
1399
|
+
hostname: z.ZodString;
|
|
1400
|
+
tunnelToken: z.ZodString;
|
|
1401
|
+
}, z.core.$strip>;
|
|
1402
|
+
export declare const ActivityEventSchema: z.ZodObject<{
|
|
1403
|
+
id: z.ZodString;
|
|
1404
|
+
at: z.ZodNumber;
|
|
1405
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
direction: z.ZodEnum<{
|
|
1407
|
+
out: "out";
|
|
1408
|
+
in: "in";
|
|
1409
|
+
system: "system";
|
|
1410
|
+
}>;
|
|
1411
|
+
type: z.ZodString;
|
|
1412
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1413
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
automationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1419
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1420
|
+
error: "error";
|
|
1421
|
+
ok: "ok";
|
|
1422
|
+
}>>;
|
|
1423
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1425
|
+
}, z.core.$strip>;
|
|
1426
|
+
export type ActivityEvent = z.infer<typeof ActivityEventSchema>;
|
|
1427
|
+
export declare const ActivityQuerySchema: z.ZodObject<{
|
|
1428
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1430
|
+
before: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1431
|
+
}, z.core.$strip>;
|
|
1432
|
+
export type ActivityQuery = z.infer<typeof ActivityQuerySchema>;
|
|
1433
|
+
export declare const ActivityListSchema: z.ZodObject<{
|
|
1434
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1435
|
+
id: z.ZodString;
|
|
1436
|
+
at: z.ZodNumber;
|
|
1437
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
direction: z.ZodEnum<{
|
|
1439
|
+
out: "out";
|
|
1440
|
+
in: "in";
|
|
1441
|
+
system: "system";
|
|
1442
|
+
}>;
|
|
1443
|
+
type: z.ZodString;
|
|
1444
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1450
|
+
automationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1451
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1452
|
+
error: "error";
|
|
1453
|
+
ok: "ok";
|
|
1454
|
+
}>>;
|
|
1455
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1457
|
+
}, z.core.$strip>>;
|
|
1458
|
+
}, z.core.$strip>;
|
|
1459
|
+
export declare const ActivityConnectionSchema: z.ZodObject<{
|
|
1460
|
+
capabilityId: z.ZodString;
|
|
1461
|
+
provider: z.ZodString;
|
|
1462
|
+
gateway: z.ZodEnum<{
|
|
1463
|
+
ready: "ready";
|
|
1464
|
+
connecting: "connecting";
|
|
1465
|
+
disconnected: "disconnected";
|
|
1466
|
+
}>;
|
|
1467
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
}, z.core.$strip>;
|
|
1469
|
+
export declare const ActivityStatusSchema: z.ZodObject<{
|
|
1470
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
1471
|
+
capabilityId: z.ZodString;
|
|
1472
|
+
provider: z.ZodString;
|
|
1473
|
+
gateway: z.ZodEnum<{
|
|
1474
|
+
ready: "ready";
|
|
1475
|
+
connecting: "connecting";
|
|
1476
|
+
disconnected: "disconnected";
|
|
1477
|
+
}>;
|
|
1478
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
}, z.core.$strip>>;
|
|
1480
|
+
voice: z.ZodOptional<z.ZodObject<{
|
|
1481
|
+
channelId: z.ZodString;
|
|
1482
|
+
channelName: z.ZodString;
|
|
1483
|
+
startedAt: z.ZodNumber;
|
|
1484
|
+
participants: z.ZodArray<z.ZodString>;
|
|
1485
|
+
}, z.core.$strip>>;
|
|
1486
|
+
}, z.core.$strip>;
|
|
1487
|
+
export type ActivityStatus = z.infer<typeof ActivityStatusSchema>;
|
|
1488
|
+
export declare const LogFileEntrySchema: z.ZodObject<{
|
|
1489
|
+
name: z.ZodString;
|
|
1490
|
+
sizeBytes: z.ZodNumber;
|
|
1491
|
+
modifiedAt: z.ZodNumber;
|
|
1492
|
+
}, z.core.$strip>;
|
|
1493
|
+
export type LogFileEntry = z.infer<typeof LogFileEntrySchema>;
|
|
1494
|
+
export declare const LogsListSchema: z.ZodObject<{
|
|
1495
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1496
|
+
name: z.ZodString;
|
|
1497
|
+
sizeBytes: z.ZodNumber;
|
|
1498
|
+
modifiedAt: z.ZodNumber;
|
|
1499
|
+
}, z.core.$strip>>;
|
|
1500
|
+
}, z.core.$strip>;
|
|
1501
|
+
export declare const LogReadQuerySchema: z.ZodObject<{
|
|
1502
|
+
name: z.ZodString;
|
|
1503
|
+
bytes: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1504
|
+
}, z.core.$strip>;
|
|
1505
|
+
export declare const LogReadSchema: z.ZodObject<{
|
|
1506
|
+
name: z.ZodString;
|
|
1507
|
+
sizeBytes: z.ZodNumber;
|
|
1508
|
+
text: z.ZodString;
|
|
1509
|
+
truncated: z.ZodBoolean;
|
|
1510
|
+
}, z.core.$strip>;
|
|
1511
|
+
export declare const PresenceReportSchema: z.ZodObject<{
|
|
1512
|
+
clientId: z.ZodString;
|
|
1513
|
+
idle: z.ZodBoolean;
|
|
1514
|
+
view: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
path: z.ZodOptional<z.ZodString>;
|
|
304
1517
|
}, z.core.$strip>;
|
|
1518
|
+
export type PresenceReport = z.infer<typeof PresenceReportSchema>;
|
|
305
1519
|
//# sourceMappingURL=schemas.d.ts.map
|