@burdenoff/sdk-libs 2026.501.6
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/LICENSE +4 -0
- package/README.md +52 -0
- package/dist/chunk-NEREAHJ6.js +1 -0
- package/dist/chunk-YGVAZ3D7.js +2 -0
- package/dist/core/index.cjs +2 -0
- package/dist/core/index.d.cts +52 -0
- package/dist/core/index.d.ts +52 -0
- package/dist/core/index.js +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/module-JDbvil5h.d.cts +194 -0
- package/dist/module-JDbvil5h.d.ts +194 -0
- package/dist/modules/auth/index.cjs +71 -0
- package/dist/modules/auth/index.d.cts +94 -0
- package/dist/modules/auth/index.d.ts +94 -0
- package/dist/modules/auth/index.js +71 -0
- package/dist/modules/billing/index.cjs +203 -0
- package/dist/modules/billing/index.d.cts +377 -0
- package/dist/modules/billing/index.d.ts +377 -0
- package/dist/modules/billing/index.js +203 -0
- package/dist/modules/channels/index.cjs +108 -0
- package/dist/modules/channels/index.d.cts +146 -0
- package/dist/modules/channels/index.d.ts +146 -0
- package/dist/modules/channels/index.js +108 -0
- package/dist/modules/conversations/index.cjs +61 -0
- package/dist/modules/conversations/index.d.cts +112 -0
- package/dist/modules/conversations/index.d.ts +112 -0
- package/dist/modules/conversations/index.js +61 -0
- package/dist/modules/devportal/index.cjs +216 -0
- package/dist/modules/devportal/index.d.cts +303 -0
- package/dist/modules/devportal/index.d.ts +303 -0
- package/dist/modules/devportal/index.js +216 -0
- package/dist/modules/export/index.cjs +61 -0
- package/dist/modules/export/index.d.cts +169 -0
- package/dist/modules/export/index.d.ts +169 -0
- package/dist/modules/export/index.js +61 -0
- package/dist/modules/files/index.cjs +51 -0
- package/dist/modules/files/index.d.cts +102 -0
- package/dist/modules/files/index.d.ts +102 -0
- package/dist/modules/files/index.js +51 -0
- package/dist/modules/groups/index.cjs +80 -0
- package/dist/modules/groups/index.d.cts +168 -0
- package/dist/modules/groups/index.d.ts +168 -0
- package/dist/modules/groups/index.js +80 -0
- package/dist/modules/health/index.cjs +5 -0
- package/dist/modules/health/index.d.cts +18 -0
- package/dist/modules/health/index.d.ts +18 -0
- package/dist/modules/health/index.js +5 -0
- package/dist/modules/integrations/index.cjs +65 -0
- package/dist/modules/integrations/index.d.cts +120 -0
- package/dist/modules/integrations/index.d.ts +120 -0
- package/dist/modules/integrations/index.js +65 -0
- package/dist/modules/notifications/index.cjs +53 -0
- package/dist/modules/notifications/index.d.cts +140 -0
- package/dist/modules/notifications/index.d.ts +140 -0
- package/dist/modules/notifications/index.js +53 -0
- package/dist/modules/organizations/index.cjs +72 -0
- package/dist/modules/organizations/index.d.cts +88 -0
- package/dist/modules/organizations/index.d.ts +88 -0
- package/dist/modules/organizations/index.js +72 -0
- package/dist/modules/products/index.cjs +149 -0
- package/dist/modules/products/index.d.cts +361 -0
- package/dist/modules/products/index.d.ts +361 -0
- package/dist/modules/products/index.js +149 -0
- package/dist/modules/rbac/index.cjs +55 -0
- package/dist/modules/rbac/index.d.cts +100 -0
- package/dist/modules/rbac/index.d.ts +100 -0
- package/dist/modules/rbac/index.js +55 -0
- package/dist/modules/scheduler/index.cjs +61 -0
- package/dist/modules/scheduler/index.d.cts +121 -0
- package/dist/modules/scheduler/index.d.ts +121 -0
- package/dist/modules/scheduler/index.js +61 -0
- package/dist/modules/security/index.cjs +61 -0
- package/dist/modules/security/index.d.cts +110 -0
- package/dist/modules/security/index.d.ts +110 -0
- package/dist/modules/security/index.js +61 -0
- package/dist/modules/store/index.cjs +82 -0
- package/dist/modules/store/index.d.cts +139 -0
- package/dist/modules/store/index.d.ts +139 -0
- package/dist/modules/store/index.js +82 -0
- package/dist/modules/support/index.cjs +56 -0
- package/dist/modules/support/index.d.cts +147 -0
- package/dist/modules/support/index.d.ts +147 -0
- package/dist/modules/support/index.js +56 -0
- package/dist/modules/tags/index.cjs +55 -0
- package/dist/modules/tags/index.d.cts +131 -0
- package/dist/modules/tags/index.d.ts +131 -0
- package/dist/modules/tags/index.js +55 -0
- package/dist/modules/tours/index.cjs +37 -0
- package/dist/modules/tours/index.d.cts +61 -0
- package/dist/modules/tours/index.d.ts +61 -0
- package/dist/modules/tours/index.js +37 -0
- package/dist/modules/vibecontrols/index.cjs +1081 -0
- package/dist/modules/vibecontrols/index.d.cts +1483 -0
- package/dist/modules/vibecontrols/index.d.ts +1483 -0
- package/dist/modules/vibecontrols/index.js +1081 -0
- package/dist/modules/workspaces/index.cjs +91 -0
- package/dist/modules/workspaces/index.d.cts +128 -0
- package/dist/modules/workspaces/index.d.ts +128 -0
- package/dist/modules/workspaces/index.js +91 -0
- package/package.json +117 -0
|
@@ -0,0 +1,1483 @@
|
|
|
1
|
+
import { J as Json, P as PaginationInput, S as SdkModule } from '../../module-JDbvil5h.cjs';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
interface OperationContext {
|
|
5
|
+
appId?: string | null;
|
|
6
|
+
userId?: string | null;
|
|
7
|
+
workspaceId?: string | null;
|
|
8
|
+
custom?: Json;
|
|
9
|
+
}
|
|
10
|
+
type VibeType = 'PROJECT' | 'WORKSPACE' | 'REPOSITORY' | 'MONOREPO' | 'PACKAGE' | 'CUSTOM';
|
|
11
|
+
type VibeStatus = 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'ERROR';
|
|
12
|
+
interface Vibe {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
path?: string | null;
|
|
17
|
+
type: VibeType;
|
|
18
|
+
status: VibeStatus;
|
|
19
|
+
agentId?: string | null;
|
|
20
|
+
parentId?: string | null;
|
|
21
|
+
gitBranch?: string | null;
|
|
22
|
+
gitRemote?: string | null;
|
|
23
|
+
gitStatus?: Json;
|
|
24
|
+
environmentVariables?: Json;
|
|
25
|
+
tags?: string[] | null;
|
|
26
|
+
metadata?: Json;
|
|
27
|
+
workspaceId: string;
|
|
28
|
+
archivedAt?: string | null;
|
|
29
|
+
createdAt: string;
|
|
30
|
+
updatedAt: string;
|
|
31
|
+
deletedAt?: string | null;
|
|
32
|
+
}
|
|
33
|
+
interface VibeList {
|
|
34
|
+
items: Vibe[];
|
|
35
|
+
total: number;
|
|
36
|
+
hasMore: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface VibeFilterInput {
|
|
39
|
+
type?: VibeType;
|
|
40
|
+
status?: VibeStatus;
|
|
41
|
+
agentId?: string;
|
|
42
|
+
parentId?: string;
|
|
43
|
+
tags?: string[];
|
|
44
|
+
search?: string;
|
|
45
|
+
}
|
|
46
|
+
interface CreateVibeInput {
|
|
47
|
+
name: string;
|
|
48
|
+
type: VibeType;
|
|
49
|
+
description?: string;
|
|
50
|
+
path?: string;
|
|
51
|
+
agentId?: string;
|
|
52
|
+
parentId?: string;
|
|
53
|
+
tags?: string[];
|
|
54
|
+
metadata?: Json;
|
|
55
|
+
environmentVariables?: Json;
|
|
56
|
+
}
|
|
57
|
+
interface UpdateVibeInput {
|
|
58
|
+
name?: string;
|
|
59
|
+
description?: string;
|
|
60
|
+
path?: string;
|
|
61
|
+
status?: VibeStatus;
|
|
62
|
+
tags?: string[];
|
|
63
|
+
metadata?: Json;
|
|
64
|
+
environmentVariables?: Json;
|
|
65
|
+
}
|
|
66
|
+
type VibecontrolsSessionType = 'TMUX' | 'SSH' | 'TERMINAL' | 'SCRIPT' | 'CUSTOM';
|
|
67
|
+
type VibecontrolsSessionStatus = 'PENDING' | 'STARTING' | 'RUNNING' | 'STOPPED' | 'ERROR' | 'TERMINATED';
|
|
68
|
+
interface Session {
|
|
69
|
+
id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
type: VibecontrolsSessionType;
|
|
72
|
+
status: VibecontrolsSessionStatus;
|
|
73
|
+
agentId: string;
|
|
74
|
+
vibeId?: string | null;
|
|
75
|
+
workspaceId: string;
|
|
76
|
+
command?: string | null;
|
|
77
|
+
args?: string[] | null;
|
|
78
|
+
workingDirectory?: string | null;
|
|
79
|
+
environmentVariables?: Json;
|
|
80
|
+
tmuxSessionName?: string | null;
|
|
81
|
+
tmuxWindowName?: string | null;
|
|
82
|
+
metadata?: Json;
|
|
83
|
+
startedAt?: string | null;
|
|
84
|
+
stoppedAt?: string | null;
|
|
85
|
+
createdAt: string;
|
|
86
|
+
updatedAt: string;
|
|
87
|
+
deletedAt?: string | null;
|
|
88
|
+
}
|
|
89
|
+
interface SessionList {
|
|
90
|
+
items: Session[];
|
|
91
|
+
total: number;
|
|
92
|
+
hasMore: boolean;
|
|
93
|
+
}
|
|
94
|
+
interface SessionFilterInput {
|
|
95
|
+
type?: VibecontrolsSessionType;
|
|
96
|
+
status?: VibecontrolsSessionStatus;
|
|
97
|
+
agentId?: string;
|
|
98
|
+
vibeId?: string;
|
|
99
|
+
}
|
|
100
|
+
interface CreateSessionInput {
|
|
101
|
+
name: string;
|
|
102
|
+
type: VibecontrolsSessionType;
|
|
103
|
+
agentId: string;
|
|
104
|
+
vibeId?: string;
|
|
105
|
+
command?: string;
|
|
106
|
+
args?: string[];
|
|
107
|
+
workingDirectory?: string;
|
|
108
|
+
environmentVariables?: Json;
|
|
109
|
+
metadata?: Json;
|
|
110
|
+
}
|
|
111
|
+
interface UpdateSessionInput {
|
|
112
|
+
name?: string;
|
|
113
|
+
metadata?: Json;
|
|
114
|
+
}
|
|
115
|
+
interface VibecontrolsAgent {
|
|
116
|
+
id: string;
|
|
117
|
+
name: string;
|
|
118
|
+
hostname?: string | null;
|
|
119
|
+
platform?: string | null;
|
|
120
|
+
architecture?: string | null;
|
|
121
|
+
version?: string | null;
|
|
122
|
+
tunnelUrl?: string | null;
|
|
123
|
+
tunnelStatus?: string | null;
|
|
124
|
+
apiUrl?: string | null;
|
|
125
|
+
agentApiKey?: string | null;
|
|
126
|
+
appId?: string | null;
|
|
127
|
+
appClientId?: string | null;
|
|
128
|
+
capabilities?: Json;
|
|
129
|
+
configuration?: Json;
|
|
130
|
+
isActive: boolean;
|
|
131
|
+
lastHeartbeat?: string | null;
|
|
132
|
+
metadata?: Json;
|
|
133
|
+
workspaceId: string;
|
|
134
|
+
createdAt: string;
|
|
135
|
+
updatedAt: string;
|
|
136
|
+
deletedAt?: string | null;
|
|
137
|
+
}
|
|
138
|
+
interface VibecontrolsAgentList {
|
|
139
|
+
items: VibecontrolsAgent[];
|
|
140
|
+
total: number;
|
|
141
|
+
hasMore: boolean;
|
|
142
|
+
}
|
|
143
|
+
interface VibecontrolsAgentFilterInput {
|
|
144
|
+
isActive?: boolean;
|
|
145
|
+
platform?: string;
|
|
146
|
+
search?: string;
|
|
147
|
+
}
|
|
148
|
+
interface CreateVibecontrolsAgentInput {
|
|
149
|
+
name: string;
|
|
150
|
+
hostname?: string;
|
|
151
|
+
platform?: string;
|
|
152
|
+
architecture?: string;
|
|
153
|
+
version?: string;
|
|
154
|
+
tunnelUrl?: string;
|
|
155
|
+
apiUrl?: string;
|
|
156
|
+
agentApiKey?: string;
|
|
157
|
+
capabilities?: Json;
|
|
158
|
+
configuration?: Json;
|
|
159
|
+
metadata?: Json;
|
|
160
|
+
}
|
|
161
|
+
interface UpdateVibecontrolsAgentInput {
|
|
162
|
+
name?: string;
|
|
163
|
+
hostname?: string;
|
|
164
|
+
tunnelUrl?: string;
|
|
165
|
+
apiUrl?: string;
|
|
166
|
+
agentApiKey?: string;
|
|
167
|
+
capabilities?: Json;
|
|
168
|
+
configuration?: Json;
|
|
169
|
+
isActive?: boolean;
|
|
170
|
+
metadata?: Json;
|
|
171
|
+
}
|
|
172
|
+
interface AgentHealthProbeResult {
|
|
173
|
+
agentId: string;
|
|
174
|
+
agentName: string;
|
|
175
|
+
isHealthy: boolean;
|
|
176
|
+
reachable: boolean;
|
|
177
|
+
latencyMs?: number | null;
|
|
178
|
+
error?: string | null;
|
|
179
|
+
lastHeartbeat?: string | null;
|
|
180
|
+
}
|
|
181
|
+
interface AgentProbeResult {
|
|
182
|
+
agentId?: string | null;
|
|
183
|
+
reachable: boolean;
|
|
184
|
+
latencyMs?: number | null;
|
|
185
|
+
error?: string | null;
|
|
186
|
+
version?: string | null;
|
|
187
|
+
tunnelUrl?: string | null;
|
|
188
|
+
}
|
|
189
|
+
interface AgentPlugin {
|
|
190
|
+
name: string;
|
|
191
|
+
packageName: string;
|
|
192
|
+
version?: string | null;
|
|
193
|
+
description?: string | null;
|
|
194
|
+
isActive: boolean;
|
|
195
|
+
tags?: string[] | null;
|
|
196
|
+
metadata?: Json;
|
|
197
|
+
}
|
|
198
|
+
interface AgentPluginListResult {
|
|
199
|
+
agentId: string;
|
|
200
|
+
plugins: AgentPlugin[];
|
|
201
|
+
total: number;
|
|
202
|
+
}
|
|
203
|
+
interface AgentPluginActionResult {
|
|
204
|
+
success: boolean;
|
|
205
|
+
message?: string | null;
|
|
206
|
+
plugin?: AgentPlugin | null;
|
|
207
|
+
}
|
|
208
|
+
interface PushAgentGatewayAuthInput {
|
|
209
|
+
agentId: string;
|
|
210
|
+
workspaceToken?: string;
|
|
211
|
+
apiKey?: string;
|
|
212
|
+
metadata?: Json;
|
|
213
|
+
}
|
|
214
|
+
interface VibecontrolsNote {
|
|
215
|
+
id: string;
|
|
216
|
+
title: string;
|
|
217
|
+
content?: string | null;
|
|
218
|
+
tags?: string[] | null;
|
|
219
|
+
isPinned: boolean;
|
|
220
|
+
vibeId?: string | null;
|
|
221
|
+
createdBy?: string | null;
|
|
222
|
+
metadata?: Json;
|
|
223
|
+
workspaceId: string;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
updatedAt: string;
|
|
226
|
+
deletedAt?: string | null;
|
|
227
|
+
}
|
|
228
|
+
interface VibecontrolsNoteList {
|
|
229
|
+
items: VibecontrolsNote[];
|
|
230
|
+
total: number;
|
|
231
|
+
hasMore: boolean;
|
|
232
|
+
}
|
|
233
|
+
interface VibecontrolsNoteFilterInput {
|
|
234
|
+
vibeId?: string;
|
|
235
|
+
isPinned?: boolean;
|
|
236
|
+
tags?: string[];
|
|
237
|
+
search?: string;
|
|
238
|
+
}
|
|
239
|
+
interface CreateVibecontrolsNoteInput {
|
|
240
|
+
title: string;
|
|
241
|
+
content?: string;
|
|
242
|
+
tags?: string[];
|
|
243
|
+
isPinned?: boolean;
|
|
244
|
+
vibeId?: string;
|
|
245
|
+
metadata?: Json;
|
|
246
|
+
}
|
|
247
|
+
interface UpdateVibecontrolsNoteInput {
|
|
248
|
+
title?: string;
|
|
249
|
+
content?: string;
|
|
250
|
+
tags?: string[];
|
|
251
|
+
isPinned?: boolean;
|
|
252
|
+
metadata?: Json;
|
|
253
|
+
}
|
|
254
|
+
interface Target {
|
|
255
|
+
id: string;
|
|
256
|
+
name: string;
|
|
257
|
+
type: string;
|
|
258
|
+
host?: string | null;
|
|
259
|
+
port?: number | null;
|
|
260
|
+
username?: string | null;
|
|
261
|
+
status: string;
|
|
262
|
+
workspaceId: string;
|
|
263
|
+
createdAt: string;
|
|
264
|
+
updatedAt: string;
|
|
265
|
+
}
|
|
266
|
+
interface TargetList {
|
|
267
|
+
items: Target[];
|
|
268
|
+
total: number;
|
|
269
|
+
hasMore: boolean;
|
|
270
|
+
}
|
|
271
|
+
interface TargetFilterInput {
|
|
272
|
+
type?: string;
|
|
273
|
+
status?: string;
|
|
274
|
+
search?: string;
|
|
275
|
+
}
|
|
276
|
+
interface CreateTargetInput {
|
|
277
|
+
name: string;
|
|
278
|
+
type: string;
|
|
279
|
+
host?: string;
|
|
280
|
+
port?: number;
|
|
281
|
+
username?: string;
|
|
282
|
+
metadata?: Json;
|
|
283
|
+
}
|
|
284
|
+
interface UpdateTargetInput {
|
|
285
|
+
name?: string;
|
|
286
|
+
host?: string;
|
|
287
|
+
port?: number;
|
|
288
|
+
username?: string;
|
|
289
|
+
metadata?: Json;
|
|
290
|
+
}
|
|
291
|
+
interface TargetTestResult {
|
|
292
|
+
success: boolean;
|
|
293
|
+
error?: string | null;
|
|
294
|
+
latencyMs?: number | null;
|
|
295
|
+
}
|
|
296
|
+
interface TerminalSession {
|
|
297
|
+
sessionId: string;
|
|
298
|
+
ttydUrl?: string | null;
|
|
299
|
+
}
|
|
300
|
+
interface InstallResult {
|
|
301
|
+
success: boolean;
|
|
302
|
+
error?: string | null;
|
|
303
|
+
}
|
|
304
|
+
interface AgentConnection {
|
|
305
|
+
id: string;
|
|
306
|
+
sourceAgentId: string;
|
|
307
|
+
targetId: string;
|
|
308
|
+
protocol: string;
|
|
309
|
+
status: string;
|
|
310
|
+
permissions?: Json;
|
|
311
|
+
createdAt: string;
|
|
312
|
+
updatedAt: string;
|
|
313
|
+
}
|
|
314
|
+
interface AgentGraph {
|
|
315
|
+
agents: VibecontrolsAgent[];
|
|
316
|
+
connections: AgentConnection[];
|
|
317
|
+
}
|
|
318
|
+
interface ImportTargetHostInput {
|
|
319
|
+
name: string;
|
|
320
|
+
host: string;
|
|
321
|
+
port?: number;
|
|
322
|
+
username?: string;
|
|
323
|
+
type?: string;
|
|
324
|
+
}
|
|
325
|
+
interface UpdateConnectionPermissionsInput {
|
|
326
|
+
permissions: Json;
|
|
327
|
+
}
|
|
328
|
+
interface AgentTunnel {
|
|
329
|
+
id: string;
|
|
330
|
+
agentId: string;
|
|
331
|
+
tunnelUrl?: string | null;
|
|
332
|
+
status: string;
|
|
333
|
+
provider?: string | null;
|
|
334
|
+
createdAt: string;
|
|
335
|
+
metadata?: Json;
|
|
336
|
+
}
|
|
337
|
+
interface AgentTunnelListResult {
|
|
338
|
+
items: AgentTunnel[];
|
|
339
|
+
total: number;
|
|
340
|
+
}
|
|
341
|
+
interface CreateAgentTunnelInput {
|
|
342
|
+
agentId: string;
|
|
343
|
+
provider?: string;
|
|
344
|
+
metadata?: Json;
|
|
345
|
+
}
|
|
346
|
+
interface VibeDeck {
|
|
347
|
+
id: string;
|
|
348
|
+
name: string;
|
|
349
|
+
description?: string | null;
|
|
350
|
+
isDefault: boolean;
|
|
351
|
+
workspaceId: string;
|
|
352
|
+
createdAt: string;
|
|
353
|
+
updatedAt: string;
|
|
354
|
+
}
|
|
355
|
+
interface VibeDeckList {
|
|
356
|
+
items: VibeDeck[];
|
|
357
|
+
total: number;
|
|
358
|
+
hasMore: boolean;
|
|
359
|
+
}
|
|
360
|
+
interface VibeDeckFilterInput {
|
|
361
|
+
isDefault?: boolean;
|
|
362
|
+
search?: string;
|
|
363
|
+
}
|
|
364
|
+
interface CreateVibeDeckInput {
|
|
365
|
+
name: string;
|
|
366
|
+
description?: string;
|
|
367
|
+
isDefault?: boolean;
|
|
368
|
+
}
|
|
369
|
+
interface UpdateVibeDeckInput {
|
|
370
|
+
name?: string;
|
|
371
|
+
description?: string;
|
|
372
|
+
isDefault?: boolean;
|
|
373
|
+
}
|
|
374
|
+
interface VibeDeckButton {
|
|
375
|
+
id: string;
|
|
376
|
+
vibeDeckId: string;
|
|
377
|
+
label: string;
|
|
378
|
+
icon?: string | null;
|
|
379
|
+
actionType: string;
|
|
380
|
+
actionId?: string | null;
|
|
381
|
+
action?: {
|
|
382
|
+
id: string;
|
|
383
|
+
name: string;
|
|
384
|
+
actionType: string;
|
|
385
|
+
} | null;
|
|
386
|
+
command?: string | null;
|
|
387
|
+
script?: string | null;
|
|
388
|
+
webhookUrl?: string | null;
|
|
389
|
+
row: number;
|
|
390
|
+
column: number;
|
|
391
|
+
color?: string | null;
|
|
392
|
+
category?: string | null;
|
|
393
|
+
tags?: string[] | null;
|
|
394
|
+
confirmationRequired?: boolean | null;
|
|
395
|
+
keyboardShortcut?: string | null;
|
|
396
|
+
style?: Json;
|
|
397
|
+
sortOrder: number;
|
|
398
|
+
createdAt: string;
|
|
399
|
+
updatedAt: string;
|
|
400
|
+
}
|
|
401
|
+
interface VibeDeckButtonList {
|
|
402
|
+
items: VibeDeckButton[];
|
|
403
|
+
total: number;
|
|
404
|
+
hasMore: boolean;
|
|
405
|
+
}
|
|
406
|
+
interface VibeDeckButtonFilterInput {
|
|
407
|
+
vibeDeckId?: string;
|
|
408
|
+
actionType?: string;
|
|
409
|
+
category?: string;
|
|
410
|
+
tags?: string[];
|
|
411
|
+
}
|
|
412
|
+
interface CreateVibeDeckButtonInput {
|
|
413
|
+
vibeDeckId: string;
|
|
414
|
+
label: string;
|
|
415
|
+
icon?: string;
|
|
416
|
+
actionType: string;
|
|
417
|
+
actionId?: string;
|
|
418
|
+
command?: string;
|
|
419
|
+
script?: string;
|
|
420
|
+
webhookUrl?: string;
|
|
421
|
+
row: number;
|
|
422
|
+
column: number;
|
|
423
|
+
color?: string;
|
|
424
|
+
category?: string;
|
|
425
|
+
tags?: string[];
|
|
426
|
+
confirmationRequired?: boolean;
|
|
427
|
+
keyboardShortcut?: string;
|
|
428
|
+
style?: Json;
|
|
429
|
+
}
|
|
430
|
+
interface UpdateVibeDeckButtonInput {
|
|
431
|
+
label?: string;
|
|
432
|
+
icon?: string;
|
|
433
|
+
actionId?: string;
|
|
434
|
+
command?: string;
|
|
435
|
+
script?: string;
|
|
436
|
+
webhookUrl?: string;
|
|
437
|
+
color?: string;
|
|
438
|
+
category?: string;
|
|
439
|
+
tags?: string[];
|
|
440
|
+
confirmationRequired?: boolean;
|
|
441
|
+
keyboardShortcut?: string;
|
|
442
|
+
style?: Json;
|
|
443
|
+
}
|
|
444
|
+
interface MoveVibeDeckButtonInput {
|
|
445
|
+
row: number;
|
|
446
|
+
column: number;
|
|
447
|
+
}
|
|
448
|
+
interface VibeDeckButtonPositionInput {
|
|
449
|
+
id: string;
|
|
450
|
+
sortOrder: number;
|
|
451
|
+
}
|
|
452
|
+
interface VibeDeckButtonExecutionResult {
|
|
453
|
+
success: boolean;
|
|
454
|
+
output?: string | null;
|
|
455
|
+
error?: string | null;
|
|
456
|
+
}
|
|
457
|
+
interface Action {
|
|
458
|
+
id: string;
|
|
459
|
+
name: string;
|
|
460
|
+
description?: string | null;
|
|
461
|
+
actionType: string;
|
|
462
|
+
sourceType?: string | null;
|
|
463
|
+
triggerType?: string | null;
|
|
464
|
+
command?: string | null;
|
|
465
|
+
script?: string | null;
|
|
466
|
+
webhookUrl?: string | null;
|
|
467
|
+
workflowDefinition?: Json;
|
|
468
|
+
configuration?: Json;
|
|
469
|
+
tags?: string[] | null;
|
|
470
|
+
isActive: boolean;
|
|
471
|
+
storeItemId?: string | null;
|
|
472
|
+
storeVersion?: string | null;
|
|
473
|
+
metadata?: Json;
|
|
474
|
+
workspaceId: string;
|
|
475
|
+
createdAt: string;
|
|
476
|
+
updatedAt: string;
|
|
477
|
+
deletedAt?: string | null;
|
|
478
|
+
}
|
|
479
|
+
interface ActionList {
|
|
480
|
+
items: Action[];
|
|
481
|
+
total: number;
|
|
482
|
+
hasMore: boolean;
|
|
483
|
+
}
|
|
484
|
+
interface ActionFilterInput {
|
|
485
|
+
actionType?: string;
|
|
486
|
+
sourceType?: string;
|
|
487
|
+
triggerType?: string;
|
|
488
|
+
isActive?: boolean;
|
|
489
|
+
tags?: string[];
|
|
490
|
+
search?: string;
|
|
491
|
+
}
|
|
492
|
+
interface CreateActionInput {
|
|
493
|
+
name: string;
|
|
494
|
+
description?: string;
|
|
495
|
+
actionType: string;
|
|
496
|
+
sourceType?: string;
|
|
497
|
+
triggerType?: string;
|
|
498
|
+
command?: string;
|
|
499
|
+
script?: string;
|
|
500
|
+
webhookUrl?: string;
|
|
501
|
+
workflowDefinition?: Json;
|
|
502
|
+
configuration?: Json;
|
|
503
|
+
tags?: string[];
|
|
504
|
+
isActive?: boolean;
|
|
505
|
+
metadata?: Json;
|
|
506
|
+
}
|
|
507
|
+
interface UpdateActionInput {
|
|
508
|
+
name?: string;
|
|
509
|
+
description?: string;
|
|
510
|
+
command?: string;
|
|
511
|
+
script?: string;
|
|
512
|
+
webhookUrl?: string;
|
|
513
|
+
workflowDefinition?: Json;
|
|
514
|
+
configuration?: Json;
|
|
515
|
+
tags?: string[];
|
|
516
|
+
isActive?: boolean;
|
|
517
|
+
metadata?: Json;
|
|
518
|
+
}
|
|
519
|
+
interface ExecuteActionInput {
|
|
520
|
+
parameters?: Json;
|
|
521
|
+
metadata?: Json;
|
|
522
|
+
}
|
|
523
|
+
interface ActionExecution {
|
|
524
|
+
id: string;
|
|
525
|
+
actionId: string;
|
|
526
|
+
status: string;
|
|
527
|
+
input?: Json;
|
|
528
|
+
output?: Json;
|
|
529
|
+
error?: string | null;
|
|
530
|
+
startedAt?: string | null;
|
|
531
|
+
completedAt?: string | null;
|
|
532
|
+
durationMs?: number | null;
|
|
533
|
+
triggeredBy?: string | null;
|
|
534
|
+
metadata?: Json;
|
|
535
|
+
workspaceId: string;
|
|
536
|
+
createdAt: string;
|
|
537
|
+
updatedAt: string;
|
|
538
|
+
}
|
|
539
|
+
interface ActionExecutionList {
|
|
540
|
+
items: ActionExecution[];
|
|
541
|
+
total: number;
|
|
542
|
+
hasMore: boolean;
|
|
543
|
+
}
|
|
544
|
+
interface ActionExecutionFilterInput {
|
|
545
|
+
actionId?: string;
|
|
546
|
+
status?: string;
|
|
547
|
+
triggeredBy?: string;
|
|
548
|
+
}
|
|
549
|
+
interface ScheduleConfig {
|
|
550
|
+
scheduleType: string;
|
|
551
|
+
cronExpression?: string;
|
|
552
|
+
timezone?: string;
|
|
553
|
+
scheduledAt?: string;
|
|
554
|
+
interval?: number;
|
|
555
|
+
intervalUnit?: string;
|
|
556
|
+
startDate?: string;
|
|
557
|
+
endDate?: string;
|
|
558
|
+
name?: string;
|
|
559
|
+
}
|
|
560
|
+
interface ScheduledJobSummary {
|
|
561
|
+
id: string;
|
|
562
|
+
name: string;
|
|
563
|
+
scheduleType: string;
|
|
564
|
+
status: string;
|
|
565
|
+
actionId?: string | null;
|
|
566
|
+
cronExpression?: string | null;
|
|
567
|
+
timezone?: string | null;
|
|
568
|
+
scheduledAt?: string | null;
|
|
569
|
+
interval?: number | null;
|
|
570
|
+
intervalUnit?: string | null;
|
|
571
|
+
startDate?: string | null;
|
|
572
|
+
endDate?: string | null;
|
|
573
|
+
nextExecutionAt?: string | null;
|
|
574
|
+
lastExecutionAt?: string | null;
|
|
575
|
+
priority?: number | null;
|
|
576
|
+
tags?: string[] | null;
|
|
577
|
+
}
|
|
578
|
+
interface ScheduledJobList {
|
|
579
|
+
jobs: ScheduledJobSummary[];
|
|
580
|
+
total: number;
|
|
581
|
+
hasMore: boolean;
|
|
582
|
+
}
|
|
583
|
+
interface VibeAuditLog {
|
|
584
|
+
id: string;
|
|
585
|
+
action: string;
|
|
586
|
+
resourceType: string;
|
|
587
|
+
resourceId?: string | null;
|
|
588
|
+
actorId?: string | null;
|
|
589
|
+
actorType?: string | null;
|
|
590
|
+
status: string;
|
|
591
|
+
description?: string | null;
|
|
592
|
+
ipAddress?: string | null;
|
|
593
|
+
userAgent?: string | null;
|
|
594
|
+
requestId?: string | null;
|
|
595
|
+
workspaceId: string;
|
|
596
|
+
createdAt: string;
|
|
597
|
+
}
|
|
598
|
+
interface VibeAuditLogList {
|
|
599
|
+
items: VibeAuditLog[];
|
|
600
|
+
total: number;
|
|
601
|
+
hasMore: boolean;
|
|
602
|
+
}
|
|
603
|
+
interface VibeAuditLogStatsBucket {
|
|
604
|
+
action?: string;
|
|
605
|
+
resourceType?: string;
|
|
606
|
+
status?: string;
|
|
607
|
+
count: number;
|
|
608
|
+
}
|
|
609
|
+
interface VibeAuditLogStats {
|
|
610
|
+
totalLogs: number;
|
|
611
|
+
logsByAction: VibeAuditLogStatsBucket[];
|
|
612
|
+
logsByResourceType: VibeAuditLogStatsBucket[];
|
|
613
|
+
logsByStatus: VibeAuditLogStatsBucket[];
|
|
614
|
+
}
|
|
615
|
+
interface VibeAuditLogFilterInput {
|
|
616
|
+
action?: string;
|
|
617
|
+
resourceType?: string;
|
|
618
|
+
resourceId?: string;
|
|
619
|
+
actorId?: string;
|
|
620
|
+
actorType?: string;
|
|
621
|
+
status?: string;
|
|
622
|
+
startDate?: string;
|
|
623
|
+
endDate?: string;
|
|
624
|
+
}
|
|
625
|
+
interface AnalyticsBreakdownBucket {
|
|
626
|
+
key: string;
|
|
627
|
+
count: number;
|
|
628
|
+
}
|
|
629
|
+
interface AnalyticsTimeSeriesPoint {
|
|
630
|
+
timestamp: string;
|
|
631
|
+
value: number;
|
|
632
|
+
}
|
|
633
|
+
type AnalyticsGranularity = 'HOUR' | 'DAY' | 'WEEK' | 'MONTH';
|
|
634
|
+
type AnalyticsEntityType = 'AGENT' | 'TARGET' | 'SESSION' | 'VIBE' | 'ACTION' | 'WEBHOOK' | 'AI_EVENT' | 'VIBE_DECK' | 'AUDIT' | 'DOCS' | 'NOTE' | 'CONFIGURATION';
|
|
635
|
+
interface VibecontrolsAnalyticsInput {
|
|
636
|
+
startDate: string;
|
|
637
|
+
endDate: string;
|
|
638
|
+
granularity?: AnalyticsGranularity;
|
|
639
|
+
entityTypes?: AnalyticsEntityType[];
|
|
640
|
+
agentId?: string;
|
|
641
|
+
vibeId?: string;
|
|
642
|
+
}
|
|
643
|
+
interface VibecontrolsAnalyticsResult {
|
|
644
|
+
agents?: {
|
|
645
|
+
total: number;
|
|
646
|
+
active: number;
|
|
647
|
+
inactive: number;
|
|
648
|
+
staleHeartbeatCount: number;
|
|
649
|
+
byPlatform: AnalyticsBreakdownBucket[];
|
|
650
|
+
byArchitecture: AnalyticsBreakdownBucket[];
|
|
651
|
+
createdOverTime: AnalyticsTimeSeriesPoint[];
|
|
652
|
+
} | null;
|
|
653
|
+
targets?: {
|
|
654
|
+
total: number;
|
|
655
|
+
connectionCount: number;
|
|
656
|
+
byType: AnalyticsBreakdownBucket[];
|
|
657
|
+
byStatus: AnalyticsBreakdownBucket[];
|
|
658
|
+
} | null;
|
|
659
|
+
sessions?: {
|
|
660
|
+
total: number;
|
|
661
|
+
active: number;
|
|
662
|
+
avgDurationMs: number | null;
|
|
663
|
+
totalCollaborators: number;
|
|
664
|
+
totalShares: number;
|
|
665
|
+
totalShareLinks: number;
|
|
666
|
+
byType: AnalyticsBreakdownBucket[];
|
|
667
|
+
byStatus: AnalyticsBreakdownBucket[];
|
|
668
|
+
createdOverTime: AnalyticsTimeSeriesPoint[];
|
|
669
|
+
} | null;
|
|
670
|
+
vibes?: {
|
|
671
|
+
total: number;
|
|
672
|
+
withAgent: number;
|
|
673
|
+
withoutAgent: number;
|
|
674
|
+
byType: AnalyticsBreakdownBucket[];
|
|
675
|
+
byStatus: AnalyticsBreakdownBucket[];
|
|
676
|
+
createdOverTime: AnalyticsTimeSeriesPoint[];
|
|
677
|
+
} | null;
|
|
678
|
+
actions?: {
|
|
679
|
+
total: number;
|
|
680
|
+
totalExecutions: number;
|
|
681
|
+
successRate: number | null;
|
|
682
|
+
avgDurationMs: number | null;
|
|
683
|
+
byActionType: AnalyticsBreakdownBucket[];
|
|
684
|
+
byTriggerType: AnalyticsBreakdownBucket[];
|
|
685
|
+
bySourceType: AnalyticsBreakdownBucket[];
|
|
686
|
+
executionsByStatus: AnalyticsBreakdownBucket[];
|
|
687
|
+
executionsOverTime: AnalyticsTimeSeriesPoint[];
|
|
688
|
+
} | null;
|
|
689
|
+
webhooks?: {
|
|
690
|
+
total: number;
|
|
691
|
+
active: number;
|
|
692
|
+
inactive: number;
|
|
693
|
+
totalDeliveries: number;
|
|
694
|
+
totalFailures: number;
|
|
695
|
+
deliverySuccessRate: number | null;
|
|
696
|
+
} | null;
|
|
697
|
+
aiEvents?: {
|
|
698
|
+
total: number;
|
|
699
|
+
bySource: AnalyticsBreakdownBucket[];
|
|
700
|
+
byEventType: AnalyticsBreakdownBucket[];
|
|
701
|
+
eventsOverTime: AnalyticsTimeSeriesPoint[];
|
|
702
|
+
} | null;
|
|
703
|
+
vibeDecks?: {
|
|
704
|
+
totalDecks: number;
|
|
705
|
+
totalButtons: number;
|
|
706
|
+
buttonsByActionType: AnalyticsBreakdownBucket[];
|
|
707
|
+
} | null;
|
|
708
|
+
audit?: {
|
|
709
|
+
total: number;
|
|
710
|
+
byAction: AnalyticsBreakdownBucket[];
|
|
711
|
+
byResourceType: AnalyticsBreakdownBucket[];
|
|
712
|
+
byStatus: AnalyticsBreakdownBucket[];
|
|
713
|
+
eventsOverTime: AnalyticsTimeSeriesPoint[];
|
|
714
|
+
} | null;
|
|
715
|
+
docs?: {
|
|
716
|
+
totalSites: number;
|
|
717
|
+
totalPages: number;
|
|
718
|
+
totalRevisions: number;
|
|
719
|
+
buildSuccessRate: number | null;
|
|
720
|
+
totalBuildImages: number;
|
|
721
|
+
pagesByStatus: AnalyticsBreakdownBucket[];
|
|
722
|
+
revisionsByStatus: AnalyticsBreakdownBucket[];
|
|
723
|
+
} | null;
|
|
724
|
+
notes?: {
|
|
725
|
+
total: number;
|
|
726
|
+
pinned: number;
|
|
727
|
+
unpinned: number;
|
|
728
|
+
createdOverTime: AnalyticsTimeSeriesPoint[];
|
|
729
|
+
} | null;
|
|
730
|
+
configurations?: {
|
|
731
|
+
total: number;
|
|
732
|
+
secretCount: number;
|
|
733
|
+
byScope: AnalyticsBreakdownBucket[];
|
|
734
|
+
} | null;
|
|
735
|
+
executionTimeMs: number;
|
|
736
|
+
cached: boolean;
|
|
737
|
+
}
|
|
738
|
+
interface UISession {
|
|
739
|
+
id: string;
|
|
740
|
+
userId: string;
|
|
741
|
+
state?: Json;
|
|
742
|
+
activeVibeId?: string | null;
|
|
743
|
+
activeSessionId?: string | null;
|
|
744
|
+
recentVibes?: string[] | null;
|
|
745
|
+
recentSessions?: string[] | null;
|
|
746
|
+
workspaceId: string;
|
|
747
|
+
createdAt: string;
|
|
748
|
+
updatedAt: string;
|
|
749
|
+
}
|
|
750
|
+
interface SaveUISessionInput {
|
|
751
|
+
state?: Json;
|
|
752
|
+
activeVibeId?: string;
|
|
753
|
+
activeSessionId?: string;
|
|
754
|
+
recentVibes?: string[];
|
|
755
|
+
recentSessions?: string[];
|
|
756
|
+
}
|
|
757
|
+
type ConfigScope = 'WORKSPACE' | 'USER' | 'AGENT' | 'VIBE' | 'GLOBAL' | string;
|
|
758
|
+
interface Configuration {
|
|
759
|
+
id: string;
|
|
760
|
+
key: string;
|
|
761
|
+
value?: Json;
|
|
762
|
+
scope: ConfigScope;
|
|
763
|
+
scopeId?: string | null;
|
|
764
|
+
isSecret: boolean;
|
|
765
|
+
workspaceId: string;
|
|
766
|
+
createdAt: string;
|
|
767
|
+
updatedAt: string;
|
|
768
|
+
}
|
|
769
|
+
interface ConfigurationList {
|
|
770
|
+
items: Configuration[];
|
|
771
|
+
total: number;
|
|
772
|
+
hasMore: boolean;
|
|
773
|
+
}
|
|
774
|
+
interface ConfigurationFilterInput {
|
|
775
|
+
scope?: ConfigScope;
|
|
776
|
+
scopeId?: string;
|
|
777
|
+
key?: string;
|
|
778
|
+
isSecret?: boolean;
|
|
779
|
+
}
|
|
780
|
+
interface ConfigurationInput {
|
|
781
|
+
key: string;
|
|
782
|
+
scope: ConfigScope;
|
|
783
|
+
value: Json;
|
|
784
|
+
scopeId?: string;
|
|
785
|
+
isSecret?: boolean;
|
|
786
|
+
context?: {
|
|
787
|
+
workspaceId?: string;
|
|
788
|
+
userId?: string;
|
|
789
|
+
appId?: string;
|
|
790
|
+
projectId?: string;
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
type SandboxTemplate = 'AI_BUILDER' | 'WORKFLOW_MULTI_NODE' | 'MISC_SHELL' | 'CUSTOM' | 'VIBECONTROLS';
|
|
794
|
+
type SandboxStatus = 'PENDING' | 'PROVISIONING' | 'RUNNING' | 'STOPPING' | 'STOPPED' | 'EXPIRED' | 'FAILED';
|
|
795
|
+
type SandboxMode = 'DEPLOYMENT' | 'JOB';
|
|
796
|
+
type StorageMode = 'NONE' | 'EPHEMERAL' | 'PERSISTENT';
|
|
797
|
+
interface ContainerPort {
|
|
798
|
+
containerPort: number;
|
|
799
|
+
name?: string | null;
|
|
800
|
+
protocol?: string | null;
|
|
801
|
+
}
|
|
802
|
+
interface EnvVar {
|
|
803
|
+
name: string;
|
|
804
|
+
value: string;
|
|
805
|
+
}
|
|
806
|
+
interface ContainerResources {
|
|
807
|
+
requestsCpu?: string | null;
|
|
808
|
+
requestsMemory?: string | null;
|
|
809
|
+
limitsCpu?: string | null;
|
|
810
|
+
limitsMemory?: string | null;
|
|
811
|
+
}
|
|
812
|
+
interface ContainerSpec {
|
|
813
|
+
name: string;
|
|
814
|
+
image: string;
|
|
815
|
+
ports?: ContainerPort[];
|
|
816
|
+
env?: EnvVar[];
|
|
817
|
+
command?: string[];
|
|
818
|
+
args?: string[];
|
|
819
|
+
resources?: ContainerResources;
|
|
820
|
+
}
|
|
821
|
+
interface ContainerStatus {
|
|
822
|
+
name: string;
|
|
823
|
+
ready: boolean;
|
|
824
|
+
port?: number | null;
|
|
825
|
+
restartCount?: number | null;
|
|
826
|
+
}
|
|
827
|
+
interface SandboxStorage {
|
|
828
|
+
mode: StorageMode;
|
|
829
|
+
sizeGi?: number | null;
|
|
830
|
+
mountPath?: string | null;
|
|
831
|
+
retainOnDelete: boolean;
|
|
832
|
+
}
|
|
833
|
+
interface SandboxResources {
|
|
834
|
+
cpuRequest: string;
|
|
835
|
+
cpuLimit: string;
|
|
836
|
+
memoryRequest: string;
|
|
837
|
+
memoryLimit: string;
|
|
838
|
+
}
|
|
839
|
+
interface SandboxNetwork {
|
|
840
|
+
exposeService: boolean;
|
|
841
|
+
internalUrl?: string | null;
|
|
842
|
+
containerUrls?: Json;
|
|
843
|
+
serviceName?: string | null;
|
|
844
|
+
}
|
|
845
|
+
interface Sandbox {
|
|
846
|
+
id: string;
|
|
847
|
+
name: string;
|
|
848
|
+
description?: string | null;
|
|
849
|
+
template: SandboxTemplate;
|
|
850
|
+
mode: SandboxMode;
|
|
851
|
+
status: SandboxStatus;
|
|
852
|
+
crdName?: string | null;
|
|
853
|
+
podName?: string | null;
|
|
854
|
+
namespace: string;
|
|
855
|
+
runtimeClass: string;
|
|
856
|
+
containers: ContainerSpec[];
|
|
857
|
+
containerStatuses?: ContainerStatus[];
|
|
858
|
+
resources: SandboxResources;
|
|
859
|
+
storage: SandboxStorage;
|
|
860
|
+
network: SandboxNetwork;
|
|
861
|
+
ttlSeconds: number;
|
|
862
|
+
expiresAt: string;
|
|
863
|
+
metadata?: Json;
|
|
864
|
+
errorMessage?: string | null;
|
|
865
|
+
workspaceId: string;
|
|
866
|
+
context?: Json;
|
|
867
|
+
createdBy: string;
|
|
868
|
+
createdAt: string;
|
|
869
|
+
updatedAt: string;
|
|
870
|
+
stoppedAt?: string | null;
|
|
871
|
+
}
|
|
872
|
+
interface SandboxList {
|
|
873
|
+
items: Sandbox[];
|
|
874
|
+
total: number;
|
|
875
|
+
hasMore: boolean;
|
|
876
|
+
}
|
|
877
|
+
interface SandboxFilterInput {
|
|
878
|
+
template?: SandboxTemplate;
|
|
879
|
+
status?: SandboxStatus;
|
|
880
|
+
workspaceId?: string;
|
|
881
|
+
}
|
|
882
|
+
interface SandboxPaginationInput {
|
|
883
|
+
limit?: number;
|
|
884
|
+
offset?: number;
|
|
885
|
+
page?: number;
|
|
886
|
+
}
|
|
887
|
+
interface SandboxStats {
|
|
888
|
+
activeSandboxes: number;
|
|
889
|
+
totalCreated: number;
|
|
890
|
+
totalDeleted: number;
|
|
891
|
+
runningNow: number;
|
|
892
|
+
provisioningNow: number;
|
|
893
|
+
stoppedNow: number;
|
|
894
|
+
expiredCount: number;
|
|
895
|
+
failedCount: number;
|
|
896
|
+
totalCpuUsed: string;
|
|
897
|
+
totalMemoryUsed: string;
|
|
898
|
+
}
|
|
899
|
+
interface SandboxConfig {
|
|
900
|
+
id: string;
|
|
901
|
+
defaultTtlSeconds: number;
|
|
902
|
+
maxTtlSeconds: number;
|
|
903
|
+
allowedTemplates: SandboxTemplate[];
|
|
904
|
+
maxConcurrentPerUser: number;
|
|
905
|
+
maxConcurrentPerWorkspace: number;
|
|
906
|
+
defaultCpuRequest: string;
|
|
907
|
+
defaultCpuLimit: string;
|
|
908
|
+
defaultMemoryRequest: string;
|
|
909
|
+
defaultMemoryLimit: string;
|
|
910
|
+
workspaceId: string;
|
|
911
|
+
updatedAt: string;
|
|
912
|
+
}
|
|
913
|
+
interface SandboxTemplateConfig {
|
|
914
|
+
id: string;
|
|
915
|
+
name: string;
|
|
916
|
+
description?: string | null;
|
|
917
|
+
template: SandboxTemplate;
|
|
918
|
+
isDefault: boolean;
|
|
919
|
+
containers: ContainerSpec[];
|
|
920
|
+
resources: SandboxResources;
|
|
921
|
+
storage: SandboxStorage;
|
|
922
|
+
ttlSeconds: number;
|
|
923
|
+
config?: Json;
|
|
924
|
+
metadata?: Json;
|
|
925
|
+
allowedImages?: string[];
|
|
926
|
+
workspaceId: string;
|
|
927
|
+
context?: Json;
|
|
928
|
+
createdBy: string;
|
|
929
|
+
createdAt: string;
|
|
930
|
+
updatedAt: string;
|
|
931
|
+
}
|
|
932
|
+
interface SandboxTemplateConfigList {
|
|
933
|
+
items: SandboxTemplateConfig[];
|
|
934
|
+
total: number;
|
|
935
|
+
hasMore: boolean;
|
|
936
|
+
}
|
|
937
|
+
interface ContainerPortInput {
|
|
938
|
+
containerPort: number;
|
|
939
|
+
name?: string;
|
|
940
|
+
protocol?: string;
|
|
941
|
+
}
|
|
942
|
+
interface EnvVarInput {
|
|
943
|
+
name: string;
|
|
944
|
+
value: string;
|
|
945
|
+
}
|
|
946
|
+
interface ContainerResourcesInput {
|
|
947
|
+
requestsCpu?: string;
|
|
948
|
+
requestsMemory?: string;
|
|
949
|
+
limitsCpu?: string;
|
|
950
|
+
limitsMemory?: string;
|
|
951
|
+
}
|
|
952
|
+
interface ContainerSpecInput {
|
|
953
|
+
name: string;
|
|
954
|
+
image: string;
|
|
955
|
+
ports?: ContainerPortInput[];
|
|
956
|
+
env?: EnvVarInput[];
|
|
957
|
+
command?: string[];
|
|
958
|
+
args?: string[];
|
|
959
|
+
resources?: ContainerResourcesInput;
|
|
960
|
+
}
|
|
961
|
+
interface SandboxStorageInput {
|
|
962
|
+
mode?: StorageMode;
|
|
963
|
+
sizeGi?: number;
|
|
964
|
+
mountPath?: string;
|
|
965
|
+
retainOnDelete?: boolean;
|
|
966
|
+
}
|
|
967
|
+
interface SandboxResourcesInput {
|
|
968
|
+
cpuRequest?: string;
|
|
969
|
+
cpuLimit?: string;
|
|
970
|
+
memoryRequest?: string;
|
|
971
|
+
memoryLimit?: string;
|
|
972
|
+
}
|
|
973
|
+
interface CreateSandboxInput {
|
|
974
|
+
name: string;
|
|
975
|
+
description?: string;
|
|
976
|
+
template: SandboxTemplate;
|
|
977
|
+
mode?: SandboxMode;
|
|
978
|
+
containers: ContainerSpecInput[];
|
|
979
|
+
resources?: SandboxResourcesInput;
|
|
980
|
+
storage?: SandboxStorageInput;
|
|
981
|
+
ttlSeconds?: number;
|
|
982
|
+
metadata?: Json;
|
|
983
|
+
context: {
|
|
984
|
+
workspaceId: string;
|
|
985
|
+
};
|
|
986
|
+
templateId?: string;
|
|
987
|
+
}
|
|
988
|
+
interface CreateSandboxTemplateInput {
|
|
989
|
+
name: string;
|
|
990
|
+
description?: string;
|
|
991
|
+
template: SandboxTemplate;
|
|
992
|
+
isDefault?: boolean;
|
|
993
|
+
containers?: ContainerSpecInput[];
|
|
994
|
+
resources?: SandboxResourcesInput;
|
|
995
|
+
storage?: SandboxStorageInput;
|
|
996
|
+
ttlSeconds?: number;
|
|
997
|
+
config?: Json;
|
|
998
|
+
metadata?: Json;
|
|
999
|
+
allowedImages?: string[];
|
|
1000
|
+
context: {
|
|
1001
|
+
workspaceId: string;
|
|
1002
|
+
};
|
|
1003
|
+
}
|
|
1004
|
+
interface UpdateSandboxTemplateInput {
|
|
1005
|
+
id: string;
|
|
1006
|
+
name?: string;
|
|
1007
|
+
description?: string;
|
|
1008
|
+
isDefault?: boolean;
|
|
1009
|
+
containers?: ContainerSpecInput[];
|
|
1010
|
+
resources?: SandboxResourcesInput;
|
|
1011
|
+
storage?: SandboxStorageInput;
|
|
1012
|
+
ttlSeconds?: number;
|
|
1013
|
+
config?: Json;
|
|
1014
|
+
metadata?: Json;
|
|
1015
|
+
allowedImages?: string[];
|
|
1016
|
+
context: {
|
|
1017
|
+
workspaceId: string;
|
|
1018
|
+
};
|
|
1019
|
+
}
|
|
1020
|
+
interface UpdateSandboxConfigInput {
|
|
1021
|
+
defaultTtlSeconds?: number;
|
|
1022
|
+
maxTtlSeconds?: number;
|
|
1023
|
+
allowedTemplates?: SandboxTemplate[];
|
|
1024
|
+
maxConcurrentPerUser?: number;
|
|
1025
|
+
maxConcurrentPerWorkspace?: number;
|
|
1026
|
+
defaultCpuRequest?: string;
|
|
1027
|
+
defaultCpuLimit?: string;
|
|
1028
|
+
defaultMemoryRequest?: string;
|
|
1029
|
+
defaultMemoryLimit?: string;
|
|
1030
|
+
context: {
|
|
1031
|
+
workspaceId: string;
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
type DocsVisibility = 'PUBLIC' | 'PRIVATE' | 'WORKSPACE';
|
|
1035
|
+
interface VibecontrolsDocsSite {
|
|
1036
|
+
id: string;
|
|
1037
|
+
vibeId?: string | null;
|
|
1038
|
+
name: string;
|
|
1039
|
+
visibility: DocsVisibility;
|
|
1040
|
+
runtime?: string | null;
|
|
1041
|
+
workspaceId: string;
|
|
1042
|
+
createdAt: string;
|
|
1043
|
+
updatedAt: string;
|
|
1044
|
+
}
|
|
1045
|
+
interface DocsSiteList {
|
|
1046
|
+
items: VibecontrolsDocsSite[];
|
|
1047
|
+
total: number;
|
|
1048
|
+
hasMore: boolean;
|
|
1049
|
+
}
|
|
1050
|
+
interface DocsSiteFilterInput {
|
|
1051
|
+
visibility?: DocsVisibility;
|
|
1052
|
+
vibeId?: string;
|
|
1053
|
+
search?: string;
|
|
1054
|
+
}
|
|
1055
|
+
interface CreateDocsSiteInput {
|
|
1056
|
+
vibeId?: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
visibility?: DocsVisibility;
|
|
1059
|
+
runtime?: string;
|
|
1060
|
+
}
|
|
1061
|
+
interface UpdateDocsSiteInput {
|
|
1062
|
+
name?: string;
|
|
1063
|
+
runtime?: string;
|
|
1064
|
+
}
|
|
1065
|
+
interface VibecontrolsDocsPage {
|
|
1066
|
+
id: string;
|
|
1067
|
+
siteId: string;
|
|
1068
|
+
title: string;
|
|
1069
|
+
slug?: string | null;
|
|
1070
|
+
content?: string | null;
|
|
1071
|
+
parentId?: string | null;
|
|
1072
|
+
sidebarPosition?: number | null;
|
|
1073
|
+
status: string;
|
|
1074
|
+
createdAt: string;
|
|
1075
|
+
updatedAt: string;
|
|
1076
|
+
}
|
|
1077
|
+
interface DocsPageFilterInput {
|
|
1078
|
+
parentId?: string;
|
|
1079
|
+
status?: string;
|
|
1080
|
+
}
|
|
1081
|
+
interface CreateDocsPageInput {
|
|
1082
|
+
siteId: string;
|
|
1083
|
+
title: string;
|
|
1084
|
+
slug?: string;
|
|
1085
|
+
content?: string;
|
|
1086
|
+
parentId?: string;
|
|
1087
|
+
sidebarPosition?: number;
|
|
1088
|
+
}
|
|
1089
|
+
interface UpdateDocsPageInput {
|
|
1090
|
+
title?: string;
|
|
1091
|
+
slug?: string;
|
|
1092
|
+
content?: string;
|
|
1093
|
+
parentId?: string;
|
|
1094
|
+
sidebarPosition?: number;
|
|
1095
|
+
status?: string;
|
|
1096
|
+
}
|
|
1097
|
+
interface DocsPageOrderInput {
|
|
1098
|
+
id: string;
|
|
1099
|
+
sidebarPosition: number;
|
|
1100
|
+
}
|
|
1101
|
+
interface VibecontrolsDocsRevision {
|
|
1102
|
+
id: string;
|
|
1103
|
+
siteId: string;
|
|
1104
|
+
revisionNumber: number;
|
|
1105
|
+
status: string;
|
|
1106
|
+
buildDurationMs?: number | null;
|
|
1107
|
+
artifactSizeBytes?: number | null;
|
|
1108
|
+
errorMessage?: string | null;
|
|
1109
|
+
publishedAt?: string | null;
|
|
1110
|
+
createdAt: string;
|
|
1111
|
+
updatedAt: string;
|
|
1112
|
+
}
|
|
1113
|
+
interface DocsRevisionList {
|
|
1114
|
+
items: VibecontrolsDocsRevision[];
|
|
1115
|
+
total: number;
|
|
1116
|
+
hasMore: boolean;
|
|
1117
|
+
}
|
|
1118
|
+
interface AiToolEvent {
|
|
1119
|
+
id: string;
|
|
1120
|
+
source: string;
|
|
1121
|
+
eventType: string;
|
|
1122
|
+
payload?: Json;
|
|
1123
|
+
agentId?: string | null;
|
|
1124
|
+
workspaceId: string;
|
|
1125
|
+
createdAt: string;
|
|
1126
|
+
}
|
|
1127
|
+
interface AiToolEventList {
|
|
1128
|
+
items: AiToolEvent[];
|
|
1129
|
+
total: number;
|
|
1130
|
+
hasMore: boolean;
|
|
1131
|
+
}
|
|
1132
|
+
interface AiToolEventFilterInput {
|
|
1133
|
+
source?: string;
|
|
1134
|
+
eventType?: string;
|
|
1135
|
+
agentId?: string;
|
|
1136
|
+
}
|
|
1137
|
+
interface CreateAiToolEventInput {
|
|
1138
|
+
source: string;
|
|
1139
|
+
eventType: string;
|
|
1140
|
+
payload?: Json;
|
|
1141
|
+
agentId?: string;
|
|
1142
|
+
}
|
|
1143
|
+
interface Webhook {
|
|
1144
|
+
id: string;
|
|
1145
|
+
name: string;
|
|
1146
|
+
url: string;
|
|
1147
|
+
events: string[];
|
|
1148
|
+
agentIds?: string[] | null;
|
|
1149
|
+
isActive: boolean;
|
|
1150
|
+
signingKey?: string | null;
|
|
1151
|
+
retryPolicy?: Json;
|
|
1152
|
+
deliveryCount: number;
|
|
1153
|
+
failureCount: number;
|
|
1154
|
+
lastDelivery?: string | null;
|
|
1155
|
+
lastError?: string | null;
|
|
1156
|
+
workspaceId: string;
|
|
1157
|
+
createdAt: string;
|
|
1158
|
+
updatedAt: string;
|
|
1159
|
+
deletedAt?: string | null;
|
|
1160
|
+
}
|
|
1161
|
+
interface WebhookList {
|
|
1162
|
+
items: Webhook[];
|
|
1163
|
+
total: number;
|
|
1164
|
+
hasMore: boolean;
|
|
1165
|
+
}
|
|
1166
|
+
interface WebhookFilterInput {
|
|
1167
|
+
isActive?: boolean;
|
|
1168
|
+
events?: string[];
|
|
1169
|
+
search?: string;
|
|
1170
|
+
}
|
|
1171
|
+
interface CreateWebhookInput {
|
|
1172
|
+
name: string;
|
|
1173
|
+
url: string;
|
|
1174
|
+
events: string[];
|
|
1175
|
+
agentIds?: string[];
|
|
1176
|
+
signingKey?: string;
|
|
1177
|
+
retryPolicy?: Json;
|
|
1178
|
+
isActive?: boolean;
|
|
1179
|
+
}
|
|
1180
|
+
interface UpdateWebhookInput {
|
|
1181
|
+
name?: string;
|
|
1182
|
+
url?: string;
|
|
1183
|
+
events?: string[];
|
|
1184
|
+
agentIds?: string[];
|
|
1185
|
+
signingKey?: string;
|
|
1186
|
+
retryPolicy?: Json;
|
|
1187
|
+
isActive?: boolean;
|
|
1188
|
+
}
|
|
1189
|
+
interface WebhookDelivery {
|
|
1190
|
+
id: string;
|
|
1191
|
+
webhookId: string;
|
|
1192
|
+
event: string;
|
|
1193
|
+
payload?: Json;
|
|
1194
|
+
statusCode?: number | null;
|
|
1195
|
+
response?: string | null;
|
|
1196
|
+
error?: string | null;
|
|
1197
|
+
attemptCount: number;
|
|
1198
|
+
deliveredAt?: string | null;
|
|
1199
|
+
createdAt: string;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
interface ActionsApi {
|
|
1203
|
+
list(filter?: ActionFilterInput, pagination?: PaginationInput): Promise<ActionList>;
|
|
1204
|
+
get(id: string): Promise<Action>;
|
|
1205
|
+
create(input: CreateActionInput): Promise<Action>;
|
|
1206
|
+
update(id: string, input: UpdateActionInput): Promise<Action>;
|
|
1207
|
+
delete(id: string): Promise<boolean>;
|
|
1208
|
+
duplicate(id: string, name?: string): Promise<Action>;
|
|
1209
|
+
execute(id: string, input?: ExecuteActionInput): Promise<ActionExecution>;
|
|
1210
|
+
installFromStore(storeItemId: string, version?: string, name?: string): Promise<Action>;
|
|
1211
|
+
listExecutions(filter?: ActionExecutionFilterInput, pagination?: PaginationInput): Promise<ActionExecutionList>;
|
|
1212
|
+
getExecution(id: string): Promise<ActionExecution>;
|
|
1213
|
+
cancelExecution(id: string): Promise<ActionExecution>;
|
|
1214
|
+
scheduleAction(actionId: string, config: ScheduleConfig): Promise<ScheduledJobSummary>;
|
|
1215
|
+
unscheduleAction(scheduledJobId: string): Promise<boolean>;
|
|
1216
|
+
listSchedules(filter?: {
|
|
1217
|
+
actionId?: string;
|
|
1218
|
+
}, pagination?: PaginationInput): Promise<ScheduledJobList>;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
interface AgentsApi {
|
|
1222
|
+
list(filter?: VibecontrolsAgentFilterInput): Promise<VibecontrolsAgentList>;
|
|
1223
|
+
get(id: string): Promise<VibecontrolsAgent>;
|
|
1224
|
+
create(input: CreateVibecontrolsAgentInput): Promise<VibecontrolsAgent>;
|
|
1225
|
+
register(input: CreateVibecontrolsAgentInput): Promise<VibecontrolsAgent>;
|
|
1226
|
+
update(id: string, input: UpdateVibecontrolsAgentInput): Promise<VibecontrolsAgent>;
|
|
1227
|
+
delete(id: string): Promise<boolean>;
|
|
1228
|
+
deactivate(id: string): Promise<VibecontrolsAgent>;
|
|
1229
|
+
heartbeat(id: string): Promise<VibecontrolsAgent>;
|
|
1230
|
+
healthProbes(): Promise<AgentHealthProbeResult[]>;
|
|
1231
|
+
probeConnection(id: string): Promise<AgentProbeResult>;
|
|
1232
|
+
probeTunnel(url: string, agentApiKey?: string): Promise<AgentProbeResult>;
|
|
1233
|
+
listPlugins(agentId: string): Promise<AgentPluginListResult>;
|
|
1234
|
+
installPlugin(agentId: string, packageName: string): Promise<AgentPluginActionResult>;
|
|
1235
|
+
removePlugin(agentId: string, packageName: string): Promise<AgentPluginActionResult>;
|
|
1236
|
+
pushGatewayAuth(input: PushAgentGatewayAuthInput): Promise<boolean>;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
interface AiToolEventsApi {
|
|
1240
|
+
list(filter?: AiToolEventFilterInput, pagination?: PaginationInput): Promise<AiToolEventList>;
|
|
1241
|
+
get(id: string): Promise<AiToolEvent>;
|
|
1242
|
+
recent(agentId: string, limit?: number): Promise<AiToolEvent[]>;
|
|
1243
|
+
create(input: CreateAiToolEventInput): Promise<AiToolEvent>;
|
|
1244
|
+
deleteOld(beforeDate: string): Promise<number>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
interface AnalyticsApi {
|
|
1248
|
+
get(input: VibecontrolsAnalyticsInput): Promise<VibecontrolsAnalyticsResult>;
|
|
1249
|
+
getOverview(input?: Partial<VibecontrolsAnalyticsInput>): Promise<VibecontrolsAnalyticsResult>;
|
|
1250
|
+
getForEntities(entityTypes: VibecontrolsAnalyticsInput['entityTypes'], input?: Partial<VibecontrolsAnalyticsInput>): Promise<VibecontrolsAnalyticsResult>;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
interface AuditApi {
|
|
1254
|
+
list(filter?: VibeAuditLogFilterInput, pagination?: PaginationInput): Promise<VibeAuditLogList>;
|
|
1255
|
+
get(id: string): Promise<VibeAuditLog>;
|
|
1256
|
+
stats(filter?: VibeAuditLogFilterInput): Promise<VibeAuditLogStats>;
|
|
1257
|
+
delete(id: string, reason?: string): Promise<boolean>;
|
|
1258
|
+
bulkDelete(ids: string[], reason?: string): Promise<boolean>;
|
|
1259
|
+
export(filter?: VibeAuditLogFilterInput, format?: string): Promise<string>;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
interface ConfigurationApi {
|
|
1263
|
+
list(filter: ConfigurationFilterInput, pagination?: PaginationInput): Promise<ConfigurationList>;
|
|
1264
|
+
get(key: string, scope: ConfigScope, scopeId?: string): Promise<Configuration>;
|
|
1265
|
+
getValue(key: string, scope: ConfigScope, scopeId?: string): Promise<Json>;
|
|
1266
|
+
byScope(scope: ConfigScope, scopeId?: string): Promise<Configuration[]>;
|
|
1267
|
+
set(key: string, scope: ConfigScope, value: Json, options?: {
|
|
1268
|
+
scopeId?: string;
|
|
1269
|
+
isSecret?: boolean;
|
|
1270
|
+
context?: ConfigurationInput['context'];
|
|
1271
|
+
}): Promise<Configuration>;
|
|
1272
|
+
delete(key: string, scope: ConfigScope, scopeId?: string): Promise<boolean>;
|
|
1273
|
+
bulkSet(configs: ConfigurationInput[]): Promise<Configuration[]>;
|
|
1274
|
+
bulkDelete(keys: string[], scope: ConfigScope, scopeId?: string): Promise<number>;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
interface DocsApi {
|
|
1278
|
+
getSite(vibeId: string): Promise<VibecontrolsDocsSite>;
|
|
1279
|
+
listSites(filter?: DocsSiteFilterInput, pagination?: PaginationInput): Promise<DocsSiteList>;
|
|
1280
|
+
createSite(input: CreateDocsSiteInput): Promise<VibecontrolsDocsSite>;
|
|
1281
|
+
updateSite(id: string, input: UpdateDocsSiteInput): Promise<VibecontrolsDocsSite>;
|
|
1282
|
+
updateSiteVisibility(id: string, visibility: DocsVisibility): Promise<VibecontrolsDocsSite>;
|
|
1283
|
+
deleteSite(id: string): Promise<boolean>;
|
|
1284
|
+
getPage(id: string): Promise<VibecontrolsDocsPage>;
|
|
1285
|
+
listPages(siteId: string, filter?: DocsPageFilterInput): Promise<VibecontrolsDocsPage[]>;
|
|
1286
|
+
createPage(input: CreateDocsPageInput): Promise<VibecontrolsDocsPage>;
|
|
1287
|
+
updatePage(id: string, input: UpdateDocsPageInput): Promise<VibecontrolsDocsPage>;
|
|
1288
|
+
deletePage(id: string): Promise<boolean>;
|
|
1289
|
+
reorderPages(siteId: string, orders: DocsPageOrderInput[]): Promise<boolean>;
|
|
1290
|
+
getRevision(id: string): Promise<VibecontrolsDocsRevision>;
|
|
1291
|
+
listRevisions(siteId: string, pagination?: PaginationInput): Promise<DocsRevisionList>;
|
|
1292
|
+
compileSite(siteId: string): Promise<VibecontrolsDocsRevision>;
|
|
1293
|
+
publishRevision(revisionId: string): Promise<VibecontrolsDocsRevision>;
|
|
1294
|
+
rollbackRevision(siteId: string, revisionNumber: number): Promise<VibecontrolsDocsRevision>;
|
|
1295
|
+
getContent(siteId: string, path: string): Promise<string>;
|
|
1296
|
+
generateSignedUrl(siteId: string): Promise<string>;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
interface NotesApi {
|
|
1300
|
+
list(filter?: VibecontrolsNoteFilterInput, pagination?: PaginationInput): Promise<VibecontrolsNoteList>;
|
|
1301
|
+
get(id: string): Promise<VibecontrolsNote>;
|
|
1302
|
+
search(query: string, vibeId?: string, limit?: number): Promise<VibecontrolsNote[]>;
|
|
1303
|
+
byTags(tags: string[], vibeId?: string): Promise<VibecontrolsNote[]>;
|
|
1304
|
+
pinned(vibeId?: string): Promise<VibecontrolsNote[]>;
|
|
1305
|
+
create(input: CreateVibecontrolsNoteInput): Promise<VibecontrolsNote>;
|
|
1306
|
+
update(id: string, input: UpdateVibecontrolsNoteInput): Promise<VibecontrolsNote>;
|
|
1307
|
+
delete(id: string): Promise<boolean>;
|
|
1308
|
+
pin(id: string): Promise<VibecontrolsNote>;
|
|
1309
|
+
unpin(id: string): Promise<VibecontrolsNote>;
|
|
1310
|
+
bulkDelete(ids: string[]): Promise<number>;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
interface SandboxesApi {
|
|
1314
|
+
list(filter: SandboxFilterInput | undefined, pagination: SandboxPaginationInput | undefined, context: {
|
|
1315
|
+
workspaceId: string;
|
|
1316
|
+
}): Promise<SandboxList>;
|
|
1317
|
+
get(id: string, context: {
|
|
1318
|
+
workspaceId: string;
|
|
1319
|
+
}): Promise<Sandbox | null>;
|
|
1320
|
+
create(input: CreateSandboxInput): Promise<Sandbox>;
|
|
1321
|
+
delete(id: string, context: {
|
|
1322
|
+
workspaceId: string;
|
|
1323
|
+
}): Promise<boolean>;
|
|
1324
|
+
start(id: string, context: {
|
|
1325
|
+
workspaceId: string;
|
|
1326
|
+
}): Promise<Sandbox>;
|
|
1327
|
+
stop(id: string, context: {
|
|
1328
|
+
workspaceId: string;
|
|
1329
|
+
}): Promise<Sandbox>;
|
|
1330
|
+
extendTTL(id: string, additionalSeconds: number, context: {
|
|
1331
|
+
workspaceId: string;
|
|
1332
|
+
}): Promise<Sandbox>;
|
|
1333
|
+
getLogs(id: string, containerName: string, context: {
|
|
1334
|
+
workspaceId: string;
|
|
1335
|
+
}, tailLines?: number): Promise<string>;
|
|
1336
|
+
getStats(context: {
|
|
1337
|
+
workspaceId: string;
|
|
1338
|
+
}): Promise<SandboxStats>;
|
|
1339
|
+
getConfig(context: {
|
|
1340
|
+
workspaceId: string;
|
|
1341
|
+
}): Promise<SandboxConfig>;
|
|
1342
|
+
updateConfig(input: UpdateSandboxConfigInput): Promise<SandboxConfig>;
|
|
1343
|
+
listTemplates(context: {
|
|
1344
|
+
workspaceId: string;
|
|
1345
|
+
}, template?: SandboxTemplate, pagination?: SandboxPaginationInput): Promise<SandboxTemplateConfigList>;
|
|
1346
|
+
getTemplate(id: string, context: {
|
|
1347
|
+
workspaceId: string;
|
|
1348
|
+
}): Promise<SandboxTemplateConfig | null>;
|
|
1349
|
+
createTemplate(input: CreateSandboxTemplateInput): Promise<SandboxTemplateConfig>;
|
|
1350
|
+
updateTemplate(input: UpdateSandboxTemplateInput): Promise<SandboxTemplateConfig>;
|
|
1351
|
+
deleteTemplate(id: string, context: {
|
|
1352
|
+
workspaceId: string;
|
|
1353
|
+
}): Promise<boolean>;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
interface SessionsApi {
|
|
1357
|
+
list(filter?: SessionFilterInput, pagination?: PaginationInput): Promise<SessionList>;
|
|
1358
|
+
get(id: string): Promise<Session>;
|
|
1359
|
+
create(input: CreateSessionInput): Promise<Session>;
|
|
1360
|
+
update(id: string, input: UpdateSessionInput): Promise<Session>;
|
|
1361
|
+
delete(id: string): Promise<boolean>;
|
|
1362
|
+
updateStatus(id: string, status: VibecontrolsSessionStatus): Promise<Session>;
|
|
1363
|
+
start(id: string): Promise<Session>;
|
|
1364
|
+
stop(id: string): Promise<Session>;
|
|
1365
|
+
kill(id: string): Promise<boolean>;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
interface TargetsApi {
|
|
1369
|
+
list(workspaceId: string, filter?: TargetFilterInput, limit?: number, offset?: number): Promise<TargetList>;
|
|
1370
|
+
get(id: string): Promise<Target>;
|
|
1371
|
+
getAgentGraph(workspaceId: string, rootAgentId?: string): Promise<AgentGraph>;
|
|
1372
|
+
create(workspaceId: string, input: CreateTargetInput): Promise<Target>;
|
|
1373
|
+
update(id: string, input: UpdateTargetInput): Promise<Target>;
|
|
1374
|
+
delete(id: string): Promise<boolean>;
|
|
1375
|
+
test(id: string): Promise<TargetTestResult>;
|
|
1376
|
+
scanSSHConfig(agentId: string, configPath?: string): Promise<ImportTargetHostInput[]>;
|
|
1377
|
+
importFromConfig(agentId: string, hosts: ImportTargetHostInput[], workspaceId: string): Promise<Target[]>;
|
|
1378
|
+
installAgent(sourceAgentId: string, targetId: string, agentPort?: number): Promise<InstallResult>;
|
|
1379
|
+
uninstallAgent(targetId: string): Promise<InstallResult>;
|
|
1380
|
+
startTerminal(targetId: string, shell?: string): Promise<TerminalSession>;
|
|
1381
|
+
stopTerminal(sessionId: string): Promise<boolean>;
|
|
1382
|
+
connectAgent(sourceAgentId: string, targetId: string, protocol: string): Promise<AgentConnection>;
|
|
1383
|
+
disconnectAgent(connectionId: string): Promise<boolean>;
|
|
1384
|
+
updateConnectionPermissions(connectionId: string, input: UpdateConnectionPermissionsInput): Promise<AgentConnection>;
|
|
1385
|
+
generateGraphContextUrl(workspaceId: string, expiresInMinutes?: number): Promise<string>;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
interface TunnelsApi {
|
|
1389
|
+
list(): Promise<AgentTunnelListResult>;
|
|
1390
|
+
create(input: CreateAgentTunnelInput): Promise<AgentTunnel>;
|
|
1391
|
+
stop(agentId: string, tunnelId: string): Promise<boolean>;
|
|
1392
|
+
delete(agentId: string, tunnelId: string): Promise<boolean>;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
interface UiSessionApi {
|
|
1396
|
+
getCurrent(): Promise<UISession>;
|
|
1397
|
+
getById(id: string): Promise<UISession>;
|
|
1398
|
+
save(input: SaveUISessionInput): Promise<UISession>;
|
|
1399
|
+
clear(): Promise<boolean>;
|
|
1400
|
+
updateActiveVibe(vibeId?: string): Promise<UISession>;
|
|
1401
|
+
updateActiveSession(sessionId?: string): Promise<UISession>;
|
|
1402
|
+
addRecentVibe(vibeId: string): Promise<UISession>;
|
|
1403
|
+
addRecentSession(sessionId: string): Promise<UISession>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
interface VibeDecksApi {
|
|
1407
|
+
list(filter?: VibeDeckFilterInput, pagination?: PaginationInput): Promise<VibeDeckList>;
|
|
1408
|
+
get(id: string): Promise<VibeDeck>;
|
|
1409
|
+
getDefault(): Promise<VibeDeck>;
|
|
1410
|
+
create(input: CreateVibeDeckInput): Promise<VibeDeck>;
|
|
1411
|
+
update(id: string, input: UpdateVibeDeckInput): Promise<VibeDeck>;
|
|
1412
|
+
delete(id: string): Promise<boolean>;
|
|
1413
|
+
setDefault(id: string): Promise<VibeDeck>;
|
|
1414
|
+
duplicate(id: string): Promise<VibeDeck>;
|
|
1415
|
+
listButtons(filter?: VibeDeckButtonFilterInput, pagination?: PaginationInput): Promise<VibeDeckButtonList>;
|
|
1416
|
+
getButton(id: string): Promise<VibeDeckButton>;
|
|
1417
|
+
createButton(input: CreateVibeDeckButtonInput): Promise<VibeDeckButton>;
|
|
1418
|
+
updateButton(id: string, input: UpdateVibeDeckButtonInput): Promise<VibeDeckButton>;
|
|
1419
|
+
deleteButton(id: string): Promise<boolean>;
|
|
1420
|
+
moveButton(id: string, input: MoveVibeDeckButtonInput): Promise<VibeDeckButton>;
|
|
1421
|
+
reorderButtons(vibeDeckId: string, positions: VibeDeckButtonPositionInput[]): Promise<boolean>;
|
|
1422
|
+
executeButton(id: string): Promise<VibeDeckButtonExecutionResult>;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
interface VibesApi {
|
|
1426
|
+
list(filter?: VibeFilterInput, pagination?: PaginationInput): Promise<VibeList>;
|
|
1427
|
+
get(id: string): Promise<Vibe>;
|
|
1428
|
+
create(input: CreateVibeInput): Promise<Vibe>;
|
|
1429
|
+
update(id: string, input: UpdateVibeInput): Promise<Vibe>;
|
|
1430
|
+
delete(id: string): Promise<boolean>;
|
|
1431
|
+
updateStatus(id: string, status: VibeStatus): Promise<Vibe>;
|
|
1432
|
+
archive(id: string): Promise<Vibe>;
|
|
1433
|
+
restore(id: string): Promise<Vibe>;
|
|
1434
|
+
move(id: string, newParentId?: string): Promise<Vibe>;
|
|
1435
|
+
hierarchy(rootId?: string): Promise<Vibe[]>;
|
|
1436
|
+
search(query: string, limit?: number): Promise<Vibe[]>;
|
|
1437
|
+
updateGit(id: string, gitData: {
|
|
1438
|
+
gitBranch?: string;
|
|
1439
|
+
gitRemote?: string;
|
|
1440
|
+
gitStatus?: Json;
|
|
1441
|
+
}): Promise<Vibe>;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
interface WebhookDeliveryList {
|
|
1445
|
+
items: WebhookDelivery[];
|
|
1446
|
+
total: number;
|
|
1447
|
+
hasMore: boolean;
|
|
1448
|
+
}
|
|
1449
|
+
interface WebhooksApi {
|
|
1450
|
+
list(filter?: WebhookFilterInput, pagination?: PaginationInput): Promise<WebhookList>;
|
|
1451
|
+
get(id: string): Promise<Webhook>;
|
|
1452
|
+
byEvent(event: string): Promise<Webhook[]>;
|
|
1453
|
+
active(): Promise<Webhook[]>;
|
|
1454
|
+
create(input: CreateWebhookInput): Promise<Webhook>;
|
|
1455
|
+
update(id: string, input: UpdateWebhookInput): Promise<Webhook>;
|
|
1456
|
+
delete(id: string): Promise<boolean>;
|
|
1457
|
+
testDelivery(id: string): Promise<WebhookDelivery>;
|
|
1458
|
+
trigger(id: string, payload: Json): Promise<WebhookDelivery>;
|
|
1459
|
+
resetFailures(id: string): Promise<Webhook>;
|
|
1460
|
+
listDeliveries(webhookId: string, pagination?: PaginationInput): Promise<WebhookDeliveryList>;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
interface VibecontrolsApi {
|
|
1464
|
+
vibes: VibesApi;
|
|
1465
|
+
sessions: SessionsApi;
|
|
1466
|
+
agents: AgentsApi;
|
|
1467
|
+
notes: NotesApi;
|
|
1468
|
+
targets: TargetsApi;
|
|
1469
|
+
tunnels: TunnelsApi;
|
|
1470
|
+
vibeDecks: VibeDecksApi;
|
|
1471
|
+
actions: ActionsApi;
|
|
1472
|
+
audit: AuditApi;
|
|
1473
|
+
analytics: AnalyticsApi;
|
|
1474
|
+
uiSession: UiSessionApi;
|
|
1475
|
+
configuration: ConfigurationApi;
|
|
1476
|
+
sandboxes: SandboxesApi;
|
|
1477
|
+
docs: DocsApi;
|
|
1478
|
+
aiToolEvents: AiToolEventsApi;
|
|
1479
|
+
webhooks: WebhooksApi;
|
|
1480
|
+
}
|
|
1481
|
+
declare const vibecontrolsModule: SdkModule<VibecontrolsApi>;
|
|
1482
|
+
|
|
1483
|
+
export { type Action, type ActionExecution, type ActionExecutionFilterInput, type ActionExecutionList, type ActionFilterInput, type ActionList, type ActionsApi, type AgentTunnel, type AgentTunnelListResult, type AgentsApi, type AiToolEvent, type AiToolEventFilterInput, type AiToolEventList, type AiToolEventsApi, type AnalyticsApi, type AnalyticsBreakdownBucket, type AnalyticsEntityType, type AnalyticsGranularity, type AnalyticsTimeSeriesPoint, type AuditApi, type ConfigScope, type Configuration, type ConfigurationApi, type ConfigurationFilterInput, type ConfigurationInput, type ConfigurationList, type CreateActionInput, type CreateAgentTunnelInput, type CreateAiToolEventInput, type CreateDocsPageInput, type CreateDocsSiteInput, type CreateSandboxInput, type CreateSandboxTemplateInput, type CreateSessionInput, type CreateTargetInput, type CreateVibeDeckButtonInput, type CreateVibeDeckInput, type CreateVibeInput, type CreateVibecontrolsAgentInput, type CreateVibecontrolsNoteInput, type CreateWebhookInput, type DocsApi, type DocsPageFilterInput, type DocsPageOrderInput, type DocsRevisionList, type DocsSiteFilterInput, type DocsSiteList, type DocsVisibility, type ExecuteActionInput, type MoveVibeDeckButtonInput, type NotesApi, type OperationContext, type Sandbox, type SandboxConfig, type SandboxFilterInput, type SandboxList, type SandboxMode, type SandboxPaginationInput, type SandboxStats, type SandboxStatus, type SandboxTemplate, type SandboxTemplateConfig, type SandboxTemplateConfigList, type SandboxesApi, type SaveUISessionInput, type ScheduleConfig, type ScheduledJobList, type ScheduledJobSummary, type Session, type SessionFilterInput, type SessionList, type SessionsApi, type StorageMode, type Target, type TargetFilterInput, type TargetList, type TargetsApi, type TunnelsApi, type UISession, type UiSessionApi, type UpdateActionInput, type UpdateDocsPageInput, type UpdateDocsSiteInput, type UpdateSandboxConfigInput, type UpdateSandboxTemplateInput, type UpdateSessionInput, type UpdateTargetInput, type UpdateVibeDeckButtonInput, type UpdateVibeDeckInput, type UpdateVibeInput, type UpdateVibecontrolsAgentInput, type UpdateVibecontrolsNoteInput, type UpdateWebhookInput, type Vibe, type VibeAuditLog, type VibeAuditLogFilterInput, type VibeAuditLogList, type VibeAuditLogStats, type VibeDeck, type VibeDeckButton, type VibeDeckButtonExecutionResult, type VibeDeckButtonFilterInput, type VibeDeckButtonList, type VibeDeckButtonPositionInput, type VibeDeckFilterInput, type VibeDeckList, type VibeDecksApi, type VibeFilterInput, type VibeList, type VibeStatus, type VibeType, type VibecontrolsAgent, type VibecontrolsAgentFilterInput, type VibecontrolsAgentList, type VibecontrolsAnalyticsInput, type VibecontrolsAnalyticsResult, type VibecontrolsApi, type VibecontrolsDocsPage, type VibecontrolsDocsRevision, type VibecontrolsDocsSite, type VibecontrolsNote, type VibecontrolsNoteFilterInput, type VibecontrolsNoteList, type VibecontrolsSessionStatus, type VibecontrolsSessionType, type VibesApi, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookFilterInput, type WebhookList, type WebhooksApi, vibecontrolsModule as default };
|