@burdenoff/mcp-libs 2026.522.1 → 2026.525.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-HRWIDQJE.js +1771 -0
- package/dist/chunk-HRWIDQJE.js.map +1 -0
- package/dist/modules/auth/index.cjs +317 -0
- package/dist/modules/auth/index.cjs.map +1 -1
- package/dist/modules/auth/index.js +289 -1
- package/dist/modules/auth/index.js.map +1 -1
- package/dist/modules/channels/index.cjs +47 -0
- package/dist/modules/channels/index.cjs.map +1 -1
- package/dist/modules/channels/index.js +47 -0
- package/dist/modules/channels/index.js.map +1 -1
- package/dist/modules/conversations/index.cjs +1355 -0
- package/dist/modules/conversations/index.cjs.map +1 -1
- package/dist/modules/conversations/index.js +1355 -0
- package/dist/modules/conversations/index.js.map +1 -1
- package/dist/modules/devportal/index.cjs +281 -0
- package/dist/modules/devportal/index.cjs.map +1 -1
- package/dist/modules/devportal/index.js +281 -0
- package/dist/modules/devportal/index.js.map +1 -1
- package/dist/modules/export/index.cjs +348 -0
- package/dist/modules/export/index.cjs.map +1 -1
- package/dist/modules/export/index.js +348 -0
- package/dist/modules/export/index.js.map +1 -1
- package/dist/modules/files/index.cjs +244 -2
- package/dist/modules/files/index.cjs.map +1 -1
- package/dist/modules/files/index.js +244 -2
- package/dist/modules/files/index.js.map +1 -1
- package/dist/modules/integrations/index.cjs +539 -0
- package/dist/modules/integrations/index.cjs.map +1 -1
- package/dist/modules/integrations/index.js +539 -0
- package/dist/modules/integrations/index.js.map +1 -1
- package/dist/modules/organizations/index.cjs +211 -0
- package/dist/modules/organizations/index.cjs.map +1 -1
- package/dist/modules/organizations/index.js +211 -0
- package/dist/modules/organizations/index.js.map +1 -1
- package/dist/modules/products/index.cjs +131 -0
- package/dist/modules/products/index.cjs.map +1 -1
- package/dist/modules/products/index.js +131 -0
- package/dist/modules/products/index.js.map +1 -1
- package/dist/modules/rbac/index.cjs +114 -0
- package/dist/modules/rbac/index.cjs.map +1 -1
- package/dist/modules/rbac/index.js +114 -0
- package/dist/modules/rbac/index.js.map +1 -1
- package/dist/modules/sandbox/index.cjs +864 -0
- package/dist/modules/sandbox/index.cjs.map +1 -1
- package/dist/modules/sandbox/index.js +699 -1
- package/dist/modules/sandbox/index.js.map +1 -1
- package/dist/modules/scheduler/index.cjs +860 -0
- package/dist/modules/scheduler/index.cjs.map +1 -1
- package/dist/modules/scheduler/index.js +860 -0
- package/dist/modules/scheduler/index.js.map +1 -1
- package/dist/modules/security/index.cjs +51 -0
- package/dist/modules/security/index.cjs.map +1 -1
- package/dist/modules/security/index.js +51 -0
- package/dist/modules/security/index.js.map +1 -1
- package/dist/modules/store/index.cjs +102 -0
- package/dist/modules/store/index.cjs.map +1 -1
- package/dist/modules/store/index.js +102 -0
- package/dist/modules/store/index.js.map +1 -1
- package/dist/modules/tours/index.cjs +43 -0
- package/dist/modules/tours/index.cjs.map +1 -1
- package/dist/modules/tours/index.js +43 -0
- package/dist/modules/tours/index.js.map +1 -1
- package/dist/modules/vibecontrols/index.cjs +4618 -668
- package/dist/modules/vibecontrols/index.cjs.map +1 -1
- package/dist/modules/vibecontrols/index.js +3626 -434
- package/dist/modules/vibecontrols/index.js.map +1 -1
- package/dist/modules/workspaces/index.cjs +46 -3
- package/dist/modules/workspaces/index.cjs.map +1 -1
- package/dist/modules/workspaces/index.js +46 -3
- package/dist/modules/workspaces/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/chunk-4GBVJ4OY.js +0 -847
- package/dist/chunk-4GBVJ4OY.js.map +0 -1
package/dist/chunk-4GBVJ4OY.js
DELETED
|
@@ -1,847 +0,0 @@
|
|
|
1
|
-
// src/modules/vibecontrols/operations.ts
|
|
2
|
-
var AGENT_FIELDS = `
|
|
3
|
-
id name hostname platform architecture version
|
|
4
|
-
tunnelUrl tunnelStatus apiUrl agentApiKey appId appClientId
|
|
5
|
-
capabilities configuration isActive lastHeartbeat metadata
|
|
6
|
-
workspaceId createdAt updatedAt deletedAt
|
|
7
|
-
`;
|
|
8
|
-
var VIBE_FIELDS = `
|
|
9
|
-
id name description path type status agentId parentId
|
|
10
|
-
gitBranch gitRemote gitStatus environmentVariables tags metadata
|
|
11
|
-
workspaceId archivedAt createdAt updatedAt deletedAt
|
|
12
|
-
`;
|
|
13
|
-
var SESSION_FIELDS = `
|
|
14
|
-
id name command workingDirectory type status agentId vibeId
|
|
15
|
-
providerSessionName providerWindowId providerPaneId pid exitCode ttydUrl lastOutput
|
|
16
|
-
autoStart environmentVariables metadata startedAt stoppedAt
|
|
17
|
-
workspaceId createdAt updatedAt deletedAt
|
|
18
|
-
`;
|
|
19
|
-
var NOTE_FIELDS = `
|
|
20
|
-
id title content tags isPinned vibeId createdBy metadata
|
|
21
|
-
workspaceId createdAt updatedAt deletedAt
|
|
22
|
-
`;
|
|
23
|
-
var CONFIG_FIELDS = `
|
|
24
|
-
id key value scope scopeId isSecret
|
|
25
|
-
workspaceId createdAt updatedAt
|
|
26
|
-
`;
|
|
27
|
-
var WEBHOOK_FIELDS = `
|
|
28
|
-
id name url events agentIds isActive signingKey retryPolicy
|
|
29
|
-
deliveryCount failureCount lastDelivery lastError
|
|
30
|
-
workspaceId createdAt updatedAt deletedAt
|
|
31
|
-
`;
|
|
32
|
-
var UI_SESSION_FIELDS = `
|
|
33
|
-
id userId state activeVibeId activeSessionId
|
|
34
|
-
recentVibes recentSessions workspaceId createdAt updatedAt
|
|
35
|
-
`;
|
|
36
|
-
var TUNNEL_FIELDS = `
|
|
37
|
-
id agentId sessionId localPort publicUrl status isPrimary errorMessage createdAt agentName
|
|
38
|
-
`;
|
|
39
|
-
var TARGET_FIELDS = `
|
|
40
|
-
id name type host port username status
|
|
41
|
-
workspaceId createdAt updatedAt
|
|
42
|
-
`;
|
|
43
|
-
var VIBEDECK_FIELDS = `
|
|
44
|
-
id name description isDefault
|
|
45
|
-
workspaceId createdAt updatedAt
|
|
46
|
-
`;
|
|
47
|
-
var VIBEDECK_BUTTON_FIELDS = `
|
|
48
|
-
id vibeDeckId label icon actionType actionId
|
|
49
|
-
action { id name actionType }
|
|
50
|
-
command script webhookUrl
|
|
51
|
-
row column color category tags
|
|
52
|
-
confirmationRequired keyboardShortcut style sortOrder
|
|
53
|
-
createdAt updatedAt
|
|
54
|
-
`;
|
|
55
|
-
var AI_TOOL_EVENT_FIELDS = `
|
|
56
|
-
id source eventType payload agentId
|
|
57
|
-
workspaceId createdAt
|
|
58
|
-
`;
|
|
59
|
-
var DOCS_SITE_FIELDS = `
|
|
60
|
-
id vibeId name visibility runtime
|
|
61
|
-
workspaceId createdAt updatedAt
|
|
62
|
-
`;
|
|
63
|
-
var DOCS_PAGE_FIELDS = `
|
|
64
|
-
id siteId title slug content parentId sidebarPosition status
|
|
65
|
-
createdAt updatedAt
|
|
66
|
-
`;
|
|
67
|
-
var DOCS_REVISION_FIELDS = `
|
|
68
|
-
id siteId revisionNumber status buildDurationMs artifactSizeBytes
|
|
69
|
-
errorMessage publishedAt
|
|
70
|
-
createdAt updatedAt
|
|
71
|
-
`;
|
|
72
|
-
var AUDIT_LOG_FIELDS = `
|
|
73
|
-
id action resourceType resourceId actorId actorType
|
|
74
|
-
status description ipAddress userAgent requestId
|
|
75
|
-
workspaceId createdAt
|
|
76
|
-
`;
|
|
77
|
-
var SESSION_SHARE_FIELDS = `
|
|
78
|
-
id sessionId sharedWithId permission status message
|
|
79
|
-
createdBy createdAt expiresAt lastAccessAt accessCount revokedAt revokedBy
|
|
80
|
-
`;
|
|
81
|
-
var SESSION_SHARE_LINK_FIELDS = `
|
|
82
|
-
id sessionId token permission expiresAt
|
|
83
|
-
createdAt
|
|
84
|
-
`;
|
|
85
|
-
var LIST_AGENTS = `
|
|
86
|
-
query VibecontrolsAgents($filter: VibecontrolsAgentFilterInput) {
|
|
87
|
-
vibecontrolsAgents(filter: $filter) { ${AGENT_FIELDS} }
|
|
88
|
-
}
|
|
89
|
-
`;
|
|
90
|
-
var GET_AGENT = `
|
|
91
|
-
query VibecontrolsAgent($id: ID!) {
|
|
92
|
-
vibecontrolsAgent(id: $id) { ${AGENT_FIELDS} }
|
|
93
|
-
}
|
|
94
|
-
`;
|
|
95
|
-
var CREATE_AGENT = `
|
|
96
|
-
mutation CreateVibecontrolsAgent($input: CreateVibecontrolsAgentInput!) {
|
|
97
|
-
createVibecontrolsAgent(input: $input) { ${AGENT_FIELDS} }
|
|
98
|
-
}
|
|
99
|
-
`;
|
|
100
|
-
var UPDATE_AGENT = `
|
|
101
|
-
mutation UpdateVibecontrolsAgent($id: ID!, $input: UpdateVibecontrolsAgentInput!) {
|
|
102
|
-
updateVibecontrolsAgent(id: $id, input: $input) { ${AGENT_FIELDS} }
|
|
103
|
-
}
|
|
104
|
-
`;
|
|
105
|
-
var DELETE_AGENT = `
|
|
106
|
-
mutation DeleteVibecontrolsAgent($id: ID!) {
|
|
107
|
-
deleteVibecontrolsAgent(id: $id)
|
|
108
|
-
}
|
|
109
|
-
`;
|
|
110
|
-
var PROBE_AGENT_CONNECTION = `
|
|
111
|
-
query ProbeAgentConnection($id: ID!) {
|
|
112
|
-
probeAgentConnection(id: $id) {
|
|
113
|
-
agentId reachable latencyMs error version tunnelUrl
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
`;
|
|
117
|
-
var AGENT_HEALTH_PROBES = `
|
|
118
|
-
query VibecontrolsAgentHealthProbes {
|
|
119
|
-
vibecontrolsAgentHealthProbes {
|
|
120
|
-
agentId agentName healthy agentVersion errorMessage tunnelUrl uptime
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
`;
|
|
124
|
-
var AGENT_PLUGINS = `
|
|
125
|
-
query AgentPlugins($agentId: ID!) {
|
|
126
|
-
agentPlugins(agentId: $agentId) {
|
|
127
|
-
agentId
|
|
128
|
-
plugins {
|
|
129
|
-
name packageName version description isActive tags metadata
|
|
130
|
-
}
|
|
131
|
-
total
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
`;
|
|
135
|
-
var INSTALL_AGENT_PLUGIN = `
|
|
136
|
-
mutation InstallAgentPlugin($agentId: ID!, $packageName: String!) {
|
|
137
|
-
installAgentPlugin(agentId: $agentId, packageName: $packageName) {
|
|
138
|
-
success message
|
|
139
|
-
plugin { name packageName version description isActive tags metadata }
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
`;
|
|
143
|
-
var REMOVE_AGENT_PLUGIN = `
|
|
144
|
-
mutation RemoveAgentPlugin($agentId: ID!, $packageName: String!) {
|
|
145
|
-
removeAgentPlugin(agentId: $agentId, packageName: $packageName) {
|
|
146
|
-
success message
|
|
147
|
-
plugin { name packageName version description isActive tags metadata }
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
`;
|
|
151
|
-
var LIST_VIBES = `
|
|
152
|
-
query Vibes($filter: VibeFilterInput, $pagination: PaginationInput) {
|
|
153
|
-
vibes(filter: $filter, pagination: $pagination) {
|
|
154
|
-
items { ${VIBE_FIELDS} }
|
|
155
|
-
total hasMore
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
`;
|
|
159
|
-
var GET_VIBE = `
|
|
160
|
-
query Vibe($id: ID!) {
|
|
161
|
-
vibe(id: $id) { ${VIBE_FIELDS} }
|
|
162
|
-
}
|
|
163
|
-
`;
|
|
164
|
-
var CREATE_VIBE = `
|
|
165
|
-
mutation CreateVibe($input: CreateVibeInput!) {
|
|
166
|
-
createVibe(input: $input) { ${VIBE_FIELDS} }
|
|
167
|
-
}
|
|
168
|
-
`;
|
|
169
|
-
var UPDATE_VIBE = `
|
|
170
|
-
mutation UpdateVibe($id: ID!, $input: UpdateVibeInput!) {
|
|
171
|
-
updateVibe(id: $id, input: $input) { ${VIBE_FIELDS} }
|
|
172
|
-
}
|
|
173
|
-
`;
|
|
174
|
-
var DELETE_VIBE = `
|
|
175
|
-
mutation DeleteVibe($id: ID!) { deleteVibe(id: $id) }
|
|
176
|
-
`;
|
|
177
|
-
var ARCHIVE_VIBE = `
|
|
178
|
-
mutation ArchiveVibe($id: ID!) {
|
|
179
|
-
archiveVibe(id: $id) { ${VIBE_FIELDS} }
|
|
180
|
-
}
|
|
181
|
-
`;
|
|
182
|
-
var RESTORE_VIBE = `
|
|
183
|
-
mutation RestoreVibe($id: ID!) {
|
|
184
|
-
restoreVibe(id: $id) { ${VIBE_FIELDS} }
|
|
185
|
-
}
|
|
186
|
-
`;
|
|
187
|
-
var UPDATE_VIBE_STATUS = `
|
|
188
|
-
mutation UpdateVibeStatus($id: ID!, $status: VibeStatus!) {
|
|
189
|
-
updateVibeStatus(id: $id, status: $status) { ${VIBE_FIELDS} }
|
|
190
|
-
}
|
|
191
|
-
`;
|
|
192
|
-
var VIBE_HIERARCHY = `
|
|
193
|
-
query VibeHierarchy($rootId: ID) {
|
|
194
|
-
vibeHierarchy(rootId: $rootId) { ${VIBE_FIELDS} }
|
|
195
|
-
}
|
|
196
|
-
`;
|
|
197
|
-
var SEARCH_VIBES = `
|
|
198
|
-
query SearchVibes($query: String!, $limit: Int) {
|
|
199
|
-
searchVibes(query: $query, limit: $limit) { ${VIBE_FIELDS} }
|
|
200
|
-
}
|
|
201
|
-
`;
|
|
202
|
-
var LIST_SESSIONS = `
|
|
203
|
-
query Sessions($filter: SessionFilterInput, $pagination: PaginationInput) {
|
|
204
|
-
sessions(filter: $filter, pagination: $pagination) {
|
|
205
|
-
items { ${SESSION_FIELDS} }
|
|
206
|
-
total hasMore
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
`;
|
|
210
|
-
var GET_SESSION = `
|
|
211
|
-
query Session($id: ID!) {
|
|
212
|
-
session(id: $id) { ${SESSION_FIELDS} }
|
|
213
|
-
}
|
|
214
|
-
`;
|
|
215
|
-
var CREATE_SESSION = `
|
|
216
|
-
mutation CreateSession($input: CreateSessionInput!) {
|
|
217
|
-
createSession(input: $input) { ${SESSION_FIELDS} }
|
|
218
|
-
}
|
|
219
|
-
`;
|
|
220
|
-
var START_SESSION = `
|
|
221
|
-
mutation StartSession($id: ID!) {
|
|
222
|
-
startSession(id: $id) { ${SESSION_FIELDS} }
|
|
223
|
-
}
|
|
224
|
-
`;
|
|
225
|
-
var STOP_SESSION = `
|
|
226
|
-
mutation StopSession($id: ID!) {
|
|
227
|
-
stopSession(id: $id) { ${SESSION_FIELDS} }
|
|
228
|
-
}
|
|
229
|
-
`;
|
|
230
|
-
var RESTART_SESSION = `
|
|
231
|
-
mutation RestartSession($id: ID!) {
|
|
232
|
-
restartSession(id: $id) { ${SESSION_FIELDS} }
|
|
233
|
-
}
|
|
234
|
-
`;
|
|
235
|
-
var TERMINATE_SESSION = `
|
|
236
|
-
mutation TerminateSession($id: ID!) {
|
|
237
|
-
terminateSession(id: $id)
|
|
238
|
-
}
|
|
239
|
-
`;
|
|
240
|
-
var SEND_SESSION_INPUT = `
|
|
241
|
-
mutation SendSessionInput($id: ID!, $input: String!) {
|
|
242
|
-
sendSessionInput(id: $id, input: $input)
|
|
243
|
-
}
|
|
244
|
-
`;
|
|
245
|
-
var START_SESSION_TERMINAL = `
|
|
246
|
-
mutation StartSessionTerminal($id: ID!) {
|
|
247
|
-
startSessionTerminal(id: $id) { ${SESSION_FIELDS} }
|
|
248
|
-
}
|
|
249
|
-
`;
|
|
250
|
-
var SESSION_OUTPUT = `
|
|
251
|
-
query SessionOutput($id: ID!, $lines: Int) {
|
|
252
|
-
sessionOutput(id: $id, lines: $lines)
|
|
253
|
-
}
|
|
254
|
-
`;
|
|
255
|
-
var ACTIVE_SESSIONS = `
|
|
256
|
-
query ActiveSessions($vibeId: ID) {
|
|
257
|
-
activeSessions(vibeId: $vibeId) { ${SESSION_FIELDS} }
|
|
258
|
-
}
|
|
259
|
-
`;
|
|
260
|
-
var CHECK_SESSION_HEALTH = `
|
|
261
|
-
mutation CheckSessionHealth {
|
|
262
|
-
checkSessionHealth { checked updated errors }
|
|
263
|
-
}
|
|
264
|
-
`;
|
|
265
|
-
var BULK_RESTART_SESSIONS = `
|
|
266
|
-
mutation BulkRestartSessions($ids: [ID!]!) {
|
|
267
|
-
bulkRestartSessions(ids: $ids) { succeeded failed }
|
|
268
|
-
}
|
|
269
|
-
`;
|
|
270
|
-
var BULK_STOP_SESSIONS = `
|
|
271
|
-
mutation BulkStopSessions($ids: [ID!]!) {
|
|
272
|
-
bulkStopSessions(ids: $ids) { succeeded failed }
|
|
273
|
-
}
|
|
274
|
-
`;
|
|
275
|
-
var BULK_TERMINATE_SESSIONS = `
|
|
276
|
-
mutation BulkTerminateSessions($ids: [ID!]!) {
|
|
277
|
-
bulkTerminateSessions(ids: $ids) { succeeded failed }
|
|
278
|
-
}
|
|
279
|
-
`;
|
|
280
|
-
var SHARE_SESSION = `
|
|
281
|
-
mutation ShareSession($input: ShareSessionInput!) {
|
|
282
|
-
shareSession(input: $input) { ${SESSION_SHARE_FIELDS} }
|
|
283
|
-
}
|
|
284
|
-
`;
|
|
285
|
-
var CREATE_SESSION_SHARE_LINK = `
|
|
286
|
-
mutation CreateSessionShareLink($input: CreateSessionShareLinkInput!) {
|
|
287
|
-
createSessionShareLink(input: $input) { ${SESSION_SHARE_LINK_FIELDS} }
|
|
288
|
-
}
|
|
289
|
-
`;
|
|
290
|
-
var REVOKE_SESSION_SHARE = `
|
|
291
|
-
mutation RevokeSessionShare($id: ID!) {
|
|
292
|
-
revokeSessionShare(id: $id) { ${SESSION_SHARE_FIELDS} }
|
|
293
|
-
}
|
|
294
|
-
`;
|
|
295
|
-
var REVOKE_SESSION_SHARE_LINK = `
|
|
296
|
-
mutation RevokeSessionShareLink($id: ID!) {
|
|
297
|
-
revokeSessionShareLink(id: $id) { ${SESSION_SHARE_LINK_FIELDS} }
|
|
298
|
-
}
|
|
299
|
-
`;
|
|
300
|
-
var SESSION_SHARES = `
|
|
301
|
-
query SessionShares($sessionId: ID!) {
|
|
302
|
-
sessionShares(sessionId: $sessionId) { ${SESSION_SHARE_FIELDS} }
|
|
303
|
-
}
|
|
304
|
-
`;
|
|
305
|
-
var SESSION_SHARE_LINKS = `
|
|
306
|
-
query SessionShareLinks($sessionId: ID!) {
|
|
307
|
-
sessionShareLinks(sessionId: $sessionId) { ${SESSION_SHARE_LINK_FIELDS} }
|
|
308
|
-
}
|
|
309
|
-
`;
|
|
310
|
-
var SESSION_COLLABORATORS = `
|
|
311
|
-
query SessionCollaborators($sessionId: ID!) {
|
|
312
|
-
sessionCollaborators(sessionId: $sessionId) { userId hasControl joinedAt }
|
|
313
|
-
}
|
|
314
|
-
`;
|
|
315
|
-
var SESSIONS_SHARED_WITH_ME = `
|
|
316
|
-
query SessionsSharedWithMe($filter: SharedWithMeFilterInput, $pagination: PaginationInput) {
|
|
317
|
-
sessionsSharedWithMe(filter: $filter, pagination: $pagination) {
|
|
318
|
-
totalCount
|
|
319
|
-
edges {
|
|
320
|
-
cursor
|
|
321
|
-
node { ${SESSION_SHARE_FIELDS} }
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
`;
|
|
326
|
-
var LIST_NOTES = `
|
|
327
|
-
query Notes($filter: VibecontrolsNoteFilterInput, $pagination: PaginationInput) {
|
|
328
|
-
notes(filter: $filter, pagination: $pagination) {
|
|
329
|
-
items { ${NOTE_FIELDS} }
|
|
330
|
-
total hasMore
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
`;
|
|
334
|
-
var GET_NOTE = `
|
|
335
|
-
query Note($id: ID!) {
|
|
336
|
-
note(id: $id) { ${NOTE_FIELDS} }
|
|
337
|
-
}
|
|
338
|
-
`;
|
|
339
|
-
var CREATE_NOTE = `
|
|
340
|
-
mutation CreateNote($input: CreateVibecontrolsNoteInput!) {
|
|
341
|
-
createNote(input: $input) { ${NOTE_FIELDS} }
|
|
342
|
-
}
|
|
343
|
-
`;
|
|
344
|
-
var UPDATE_NOTE = `
|
|
345
|
-
mutation UpdateNote($id: ID!, $input: UpdateVibecontrolsNoteInput!) {
|
|
346
|
-
updateNote(id: $id, input: $input) { ${NOTE_FIELDS} }
|
|
347
|
-
}
|
|
348
|
-
`;
|
|
349
|
-
var DELETE_NOTE = `
|
|
350
|
-
mutation DeleteNote($id: ID!) { deleteNote(id: $id) }
|
|
351
|
-
`;
|
|
352
|
-
var SEARCH_NOTES = `
|
|
353
|
-
query SearchNotes($query: String!, $vibeId: ID, $limit: Int) {
|
|
354
|
-
searchNotes(query: $query, vibeId: $vibeId, limit: $limit) { ${NOTE_FIELDS} }
|
|
355
|
-
}
|
|
356
|
-
`;
|
|
357
|
-
var PIN_NOTE = `
|
|
358
|
-
mutation PinNote($id: ID!) {
|
|
359
|
-
pinNote(id: $id) { ${NOTE_FIELDS} }
|
|
360
|
-
}
|
|
361
|
-
`;
|
|
362
|
-
var UNPIN_NOTE = `
|
|
363
|
-
mutation UnpinNote($id: ID!) {
|
|
364
|
-
unpinNote(id: $id) { ${NOTE_FIELDS} }
|
|
365
|
-
}
|
|
366
|
-
`;
|
|
367
|
-
var PINNED_NOTES = `
|
|
368
|
-
query PinnedNotes($vibeId: ID) {
|
|
369
|
-
pinnedNotes(vibeId: $vibeId) { ${NOTE_FIELDS} }
|
|
370
|
-
}
|
|
371
|
-
`;
|
|
372
|
-
var LIST_CONFIGURATIONS = `
|
|
373
|
-
query Configurations($filter: ConfigurationFilterInput!, $pagination: PaginationInput) {
|
|
374
|
-
configurations(filter: $filter, pagination: $pagination) {
|
|
375
|
-
items { ${CONFIG_FIELDS} }
|
|
376
|
-
total hasMore
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
`;
|
|
380
|
-
var GET_CONFIGURATION = `
|
|
381
|
-
query Configuration($key: String!, $scope: ConfigScope!, $scopeId: String) {
|
|
382
|
-
configuration(key: $key, scope: $scope, scopeId: $scopeId) { ${CONFIG_FIELDS} }
|
|
383
|
-
}
|
|
384
|
-
`;
|
|
385
|
-
var CONFIGURATIONS_BY_SCOPE = `
|
|
386
|
-
query ConfigurationsByScope($scope: ConfigScope!, $scopeId: String) {
|
|
387
|
-
configurationsByScope(scope: $scope, scopeId: $scopeId) { ${CONFIG_FIELDS} }
|
|
388
|
-
}
|
|
389
|
-
`;
|
|
390
|
-
var SET_CONFIGURATION = `
|
|
391
|
-
mutation SetConfiguration($key: String!, $scope: ConfigScope!, $scopeId: ID, $value: JSON!, $isSecret: Boolean) {
|
|
392
|
-
setConfiguration(key: $key, scope: $scope, scopeId: $scopeId, value: $value, isSecret: $isSecret) { ${CONFIG_FIELDS} }
|
|
393
|
-
}
|
|
394
|
-
`;
|
|
395
|
-
var DELETE_CONFIGURATION = `
|
|
396
|
-
mutation DeleteConfiguration($key: String!, $scope: ConfigScope!, $scopeId: String) {
|
|
397
|
-
deleteConfiguration(key: $key, scope: $scope, scopeId: $scopeId)
|
|
398
|
-
}
|
|
399
|
-
`;
|
|
400
|
-
var LIST_WEBHOOKS = `
|
|
401
|
-
query Webhooks($filter: WebhookFilterInput, $pagination: PaginationInput) {
|
|
402
|
-
webhooks(filter: $filter, pagination: $pagination) {
|
|
403
|
-
items { ${WEBHOOK_FIELDS} }
|
|
404
|
-
total hasMore
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
`;
|
|
408
|
-
var GET_WEBHOOK = `
|
|
409
|
-
query Webhook($id: ID!) {
|
|
410
|
-
webhook(id: $id) { ${WEBHOOK_FIELDS} }
|
|
411
|
-
}
|
|
412
|
-
`;
|
|
413
|
-
var CREATE_WEBHOOK = `
|
|
414
|
-
mutation CreateWebhook($input: CreateWebhookInput!) {
|
|
415
|
-
createWebhook(input: $input) { ${WEBHOOK_FIELDS} }
|
|
416
|
-
}
|
|
417
|
-
`;
|
|
418
|
-
var UPDATE_WEBHOOK = `
|
|
419
|
-
mutation UpdateWebhook($id: ID!, $input: UpdateWebhookInput!) {
|
|
420
|
-
updateWebhook(id: $id, input: $input) { ${WEBHOOK_FIELDS} }
|
|
421
|
-
}
|
|
422
|
-
`;
|
|
423
|
-
var DELETE_WEBHOOK = `
|
|
424
|
-
mutation DeleteWebhook($id: ID!) { deleteWebhook(id: $id) }
|
|
425
|
-
`;
|
|
426
|
-
var TEST_WEBHOOK = `
|
|
427
|
-
mutation TestWebhook($id: ID!) { testWebhook(id: $id) }
|
|
428
|
-
`;
|
|
429
|
-
var TRIGGER_WEBHOOK = `
|
|
430
|
-
mutation TriggerWebhook($id: ID!, $payload: JSON) {
|
|
431
|
-
triggerWebhook(id: $id, payload: $payload)
|
|
432
|
-
}
|
|
433
|
-
`;
|
|
434
|
-
var LIST_TUNNELS = `
|
|
435
|
-
query VibecontrolsAgentTunnels {
|
|
436
|
-
vibecontrolsAgentTunnels {
|
|
437
|
-
tunnels { ${TUNNEL_FIELDS} }
|
|
438
|
-
agentStatuses { agentId agentName connected errorMessage tunnelUrl }
|
|
439
|
-
error
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
`;
|
|
443
|
-
var CREATE_TUNNEL = `
|
|
444
|
-
mutation CreateAgentTunnel($input: CreateAgentTunnelInput!) {
|
|
445
|
-
createAgentTunnel(input: $input) { ${TUNNEL_FIELDS} }
|
|
446
|
-
}
|
|
447
|
-
`;
|
|
448
|
-
var STOP_TUNNEL = `
|
|
449
|
-
mutation StopAgentTunnel($agentId: ID!, $tunnelId: ID!) {
|
|
450
|
-
stopAgentTunnel(agentId: $agentId, tunnelId: $tunnelId)
|
|
451
|
-
}
|
|
452
|
-
`;
|
|
453
|
-
var DELETE_TUNNEL = `
|
|
454
|
-
mutation DeleteAgentTunnel($agentId: ID!, $tunnelId: ID!) {
|
|
455
|
-
deleteAgentTunnel(agentId: $agentId, tunnelId: $tunnelId)
|
|
456
|
-
}
|
|
457
|
-
`;
|
|
458
|
-
var GET_UI_SESSION = `
|
|
459
|
-
query { uiSession { ${UI_SESSION_FIELDS} } }
|
|
460
|
-
`;
|
|
461
|
-
var SAVE_UI_SESSION = `
|
|
462
|
-
mutation SaveUISession($input: SaveUISessionInput!) {
|
|
463
|
-
saveUISession(input: $input) { ${UI_SESSION_FIELDS} }
|
|
464
|
-
}
|
|
465
|
-
`;
|
|
466
|
-
var CLEAR_UI_SESSION = `
|
|
467
|
-
mutation { clearUISession }
|
|
468
|
-
`;
|
|
469
|
-
var LIST_AI_TOOL_EVENTS = `
|
|
470
|
-
query AiToolEvents($filter: AiToolEventFilterInput, $pagination: PaginationInput) {
|
|
471
|
-
aiToolEvents(filter: $filter, pagination: $pagination) {
|
|
472
|
-
items { ${AI_TOOL_EVENT_FIELDS} }
|
|
473
|
-
total hasMore
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
`;
|
|
477
|
-
var RECENT_AI_TOOL_EVENTS = `
|
|
478
|
-
query RecentAiToolEvents($agentId: ID!, $limit: Int) {
|
|
479
|
-
recentAiToolEvents(agentId: $agentId, limit: $limit) { ${AI_TOOL_EVENT_FIELDS} }
|
|
480
|
-
}
|
|
481
|
-
`;
|
|
482
|
-
var CREATE_AI_TOOL_EVENT = `
|
|
483
|
-
mutation CreateAiToolEvent($input: CreateAiToolEventInput!) {
|
|
484
|
-
createAiToolEvent(input: $input) { ${AI_TOOL_EVENT_FIELDS} }
|
|
485
|
-
}
|
|
486
|
-
`;
|
|
487
|
-
var LIST_TARGETS = `
|
|
488
|
-
query Targets($workspaceId: ID!, $filter: TargetFilterInput, $limit: Int, $offset: Int) {
|
|
489
|
-
targets(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset) {
|
|
490
|
-
items { ${TARGET_FIELDS} }
|
|
491
|
-
total hasMore
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
`;
|
|
495
|
-
var GET_TARGET = `
|
|
496
|
-
query Target($id: ID!) {
|
|
497
|
-
target(id: $id) { ${TARGET_FIELDS} }
|
|
498
|
-
}
|
|
499
|
-
`;
|
|
500
|
-
var CREATE_TARGET = `
|
|
501
|
-
mutation CreateTarget($workspaceId: ID!, $input: CreateTargetInput!) {
|
|
502
|
-
createTarget(workspaceId: $workspaceId, input: $input) { ${TARGET_FIELDS} }
|
|
503
|
-
}
|
|
504
|
-
`;
|
|
505
|
-
var UPDATE_TARGET = `
|
|
506
|
-
mutation UpdateTarget($id: ID!, $input: UpdateTargetInput!) {
|
|
507
|
-
updateTarget(id: $id, input: $input) { ${TARGET_FIELDS} }
|
|
508
|
-
}
|
|
509
|
-
`;
|
|
510
|
-
var DELETE_TARGET = `
|
|
511
|
-
mutation DeleteTarget($id: ID!) { deleteTarget(id: $id) }
|
|
512
|
-
`;
|
|
513
|
-
var TEST_TARGET = `
|
|
514
|
-
query TestTarget($id: ID!) {
|
|
515
|
-
testTarget(id: $id) { success error latencyMs }
|
|
516
|
-
}
|
|
517
|
-
`;
|
|
518
|
-
var IMPORT_TARGETS_FROM_CONFIG = `
|
|
519
|
-
mutation ImportTargetsFromConfig($agentId: ID!, $hosts: [ConfigHostInput!]!, $workspaceId: ID!) {
|
|
520
|
-
importTargetsFromConfig(agentId: $agentId, hosts: $hosts, workspaceId: $workspaceId) { ${TARGET_FIELDS} }
|
|
521
|
-
}
|
|
522
|
-
`;
|
|
523
|
-
var SCAN_SSH_CONFIG = `
|
|
524
|
-
mutation ScanSSHConfig($agentId: ID!, $configPath: String) {
|
|
525
|
-
scanSSHConfig(agentId: $agentId, configPath: $configPath) { ${TARGET_FIELDS} }
|
|
526
|
-
}
|
|
527
|
-
`;
|
|
528
|
-
var INSTALL_AGENT_ON_TARGET = `
|
|
529
|
-
mutation InstallAgentOnTarget($sourceAgentId: ID!, $targetId: ID!, $agentPort: Int) {
|
|
530
|
-
installAgentOnTarget(sourceAgentId: $sourceAgentId, targetId: $targetId, agentPort: $agentPort) { success error }
|
|
531
|
-
}
|
|
532
|
-
`;
|
|
533
|
-
var LIST_VIBEDECKS = `
|
|
534
|
-
query VibeDecks($filter: VibeDeckFilterInput, $pagination: PaginationInput) {
|
|
535
|
-
vibeDecks(filter: $filter, pagination: $pagination) {
|
|
536
|
-
items { ${VIBEDECK_FIELDS} }
|
|
537
|
-
total hasMore
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
`;
|
|
541
|
-
var GET_VIBEDECK = `
|
|
542
|
-
query VibeDeck($id: ID!) {
|
|
543
|
-
vibeDeck(id: $id) { ${VIBEDECK_FIELDS} }
|
|
544
|
-
}
|
|
545
|
-
`;
|
|
546
|
-
var CREATE_VIBEDECK = `
|
|
547
|
-
mutation CreateVibeDeck($input: CreateVibeDeckInput!) {
|
|
548
|
-
createVibeDeck(input: $input) { ${VIBEDECK_FIELDS} }
|
|
549
|
-
}
|
|
550
|
-
`;
|
|
551
|
-
var UPDATE_VIBEDECK = `
|
|
552
|
-
mutation UpdateVibeDeck($id: ID!, $input: UpdateVibeDeckInput!) {
|
|
553
|
-
updateVibeDeck(id: $id, input: $input) { ${VIBEDECK_FIELDS} }
|
|
554
|
-
}
|
|
555
|
-
`;
|
|
556
|
-
var DELETE_VIBEDECK = `
|
|
557
|
-
mutation DeleteVibeDeck($id: ID!) { deleteVibeDeck(id: $id) }
|
|
558
|
-
`;
|
|
559
|
-
var DUPLICATE_VIBEDECK = `
|
|
560
|
-
mutation DuplicateVibeDeck($id: ID!, $name: String) {
|
|
561
|
-
duplicateVibeDeck(id: $id, name: $name) { ${VIBEDECK_FIELDS} }
|
|
562
|
-
}
|
|
563
|
-
`;
|
|
564
|
-
var SET_DEFAULT_VIBEDECK = `
|
|
565
|
-
mutation SetDefaultVibeDeck($id: ID!) {
|
|
566
|
-
setDefaultVibeDeck(id: $id) { ${VIBEDECK_FIELDS} }
|
|
567
|
-
}
|
|
568
|
-
`;
|
|
569
|
-
var LIST_VIBEDECK_BUTTONS = `
|
|
570
|
-
query VibeDeckButtons($filter: VibeDeckButtonFilterInput, $pagination: PaginationInput) {
|
|
571
|
-
vibeDeckButtons(filter: $filter, pagination: $pagination) {
|
|
572
|
-
items { ${VIBEDECK_BUTTON_FIELDS} }
|
|
573
|
-
total hasMore
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
`;
|
|
577
|
-
var CREATE_VIBEDECK_BUTTON = `
|
|
578
|
-
mutation CreateVibeDeckButton($input: CreateVibeDeckButtonInput!) {
|
|
579
|
-
createVibeDeckButton(input: $input) { ${VIBEDECK_BUTTON_FIELDS} }
|
|
580
|
-
}
|
|
581
|
-
`;
|
|
582
|
-
var UPDATE_VIBEDECK_BUTTON = `
|
|
583
|
-
mutation UpdateVibeDeckButton($id: ID!, $input: UpdateVibeDeckButtonInput!) {
|
|
584
|
-
updateVibeDeckButton(id: $id, input: $input) { ${VIBEDECK_BUTTON_FIELDS} }
|
|
585
|
-
}
|
|
586
|
-
`;
|
|
587
|
-
var DELETE_VIBEDECK_BUTTON = `
|
|
588
|
-
mutation DeleteVibeDeckButton($id: ID!) { deleteVibeDeckButton(id: $id) }
|
|
589
|
-
`;
|
|
590
|
-
var EXECUTE_VIBEDECK_BUTTON = `
|
|
591
|
-
mutation ExecuteVibeDeckButton($id: ID!, $agentId: ID!) {
|
|
592
|
-
executeVibeDeckButton(id: $id, agentId: $agentId) { success output error }
|
|
593
|
-
}
|
|
594
|
-
`;
|
|
595
|
-
var ACTION_FIELDS = `
|
|
596
|
-
id name description actionType sourceType triggerType
|
|
597
|
-
command script webhookUrl workflowDefinition
|
|
598
|
-
tags storeItemId storeVersion metadata
|
|
599
|
-
workspaceId createdAt updatedAt deletedAt
|
|
600
|
-
`;
|
|
601
|
-
var ACTION_EXECUTION_FIELDS = `
|
|
602
|
-
id actionId status input output error
|
|
603
|
-
startedAt completedAt durationMs triggeredBy metadata
|
|
604
|
-
workspaceId createdAt updatedAt
|
|
605
|
-
`;
|
|
606
|
-
var LIST_ACTIONS = `
|
|
607
|
-
query Actions($filter: ActionFilterInput, $pagination: PaginationInput) {
|
|
608
|
-
actions(filter: $filter, pagination: $pagination) {
|
|
609
|
-
items { ${ACTION_FIELDS} }
|
|
610
|
-
total hasMore
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
`;
|
|
614
|
-
var GET_ACTION = `
|
|
615
|
-
query Action($id: ID!) {
|
|
616
|
-
action(id: $id) { ${ACTION_FIELDS} }
|
|
617
|
-
}
|
|
618
|
-
`;
|
|
619
|
-
var CREATE_ACTION = `
|
|
620
|
-
mutation CreateAction($input: CreateActionInput!) {
|
|
621
|
-
createAction(input: $input) { ${ACTION_FIELDS} }
|
|
622
|
-
}
|
|
623
|
-
`;
|
|
624
|
-
var UPDATE_ACTION = `
|
|
625
|
-
mutation UpdateAction($id: ID!, $input: UpdateActionInput!) {
|
|
626
|
-
updateAction(id: $id, input: $input) { ${ACTION_FIELDS} }
|
|
627
|
-
}
|
|
628
|
-
`;
|
|
629
|
-
var DELETE_ACTION = `
|
|
630
|
-
mutation DeleteAction($id: ID!) { deleteAction(id: $id) }
|
|
631
|
-
`;
|
|
632
|
-
var DUPLICATE_ACTION = `
|
|
633
|
-
mutation DuplicateAction($id: ID!, $name: String) {
|
|
634
|
-
duplicateAction(id: $id, name: $name) { ${ACTION_FIELDS} }
|
|
635
|
-
}
|
|
636
|
-
`;
|
|
637
|
-
var EXECUTE_ACTION = `
|
|
638
|
-
mutation ExecuteAction($id: ID!, $input: ExecuteActionInput) {
|
|
639
|
-
executeAction(id: $id, input: $input) { ${ACTION_EXECUTION_FIELDS} }
|
|
640
|
-
}
|
|
641
|
-
`;
|
|
642
|
-
var INSTALL_ACTION_FROM_STORE = `
|
|
643
|
-
mutation InstallActionFromStore($storeItemId: String!, $version: String, $name: String) {
|
|
644
|
-
installActionFromStore(storeItemId: $storeItemId, version: $version, name: $name) { ${ACTION_FIELDS} }
|
|
645
|
-
}
|
|
646
|
-
`;
|
|
647
|
-
var CANCEL_ACTION_EXECUTION = `
|
|
648
|
-
mutation CancelActionExecution($id: ID!) {
|
|
649
|
-
cancelActionExecution(id: $id) { ${ACTION_EXECUTION_FIELDS} }
|
|
650
|
-
}
|
|
651
|
-
`;
|
|
652
|
-
var LIST_ACTION_EXECUTIONS = `
|
|
653
|
-
query ActionExecutions($filter: ActionExecutionFilterInput, $pagination: PaginationInput) {
|
|
654
|
-
actionExecutions(filter: $filter, pagination: $pagination) {
|
|
655
|
-
items { ${ACTION_EXECUTION_FIELDS} }
|
|
656
|
-
total hasMore
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
`;
|
|
660
|
-
var SCHEDULED_JOB_FIELDS = `
|
|
661
|
-
id name scheduleType status actionId
|
|
662
|
-
cronExpression timezone scheduledAt
|
|
663
|
-
interval intervalUnit startDate endDate
|
|
664
|
-
nextExecutionAt lastExecutionAt
|
|
665
|
-
priority tags
|
|
666
|
-
`;
|
|
667
|
-
var CREATE_SCHEDULED_JOB = `
|
|
668
|
-
mutation CreateScheduledJob($workspaceId: ID!, $input: CreateScheduledJobInput!) {
|
|
669
|
-
createScheduledJob(workspaceId: $workspaceId, input: $input) { ${SCHEDULED_JOB_FIELDS} }
|
|
670
|
-
}
|
|
671
|
-
`;
|
|
672
|
-
var DELETE_SCHEDULED_JOB = `
|
|
673
|
-
mutation DeleteScheduledJob($id: ID!) { deleteScheduledJob(id: $id) }
|
|
674
|
-
`;
|
|
675
|
-
var LIST_SCHEDULED_JOBS = `
|
|
676
|
-
query ScheduledJobs($workspaceId: ID!, $filter: JobFilterInput, $pagination: SchedulerPaginationInput) {
|
|
677
|
-
scheduledJobs(workspaceId: $workspaceId, filter: $filter, pagination: $pagination) {
|
|
678
|
-
jobs { ${SCHEDULED_JOB_FIELDS} }
|
|
679
|
-
total hasMore
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
`;
|
|
683
|
-
var LIST_DOCS_SITES = `
|
|
684
|
-
query DocsSites($filter: VibecontrolsDocsSiteFilterInput, $pagination: PaginationInput) {
|
|
685
|
-
docsSites(filter: $filter, pagination: $pagination) {
|
|
686
|
-
items { ${DOCS_SITE_FIELDS} }
|
|
687
|
-
total hasMore
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
`;
|
|
691
|
-
var GET_DOCS_SITE = `
|
|
692
|
-
query DocsSite($vibeId: ID!) {
|
|
693
|
-
docsSite(vibeId: $vibeId) { ${DOCS_SITE_FIELDS} }
|
|
694
|
-
}
|
|
695
|
-
`;
|
|
696
|
-
var CREATE_DOCS_SITE = `
|
|
697
|
-
mutation CreateDocsSite($input: CreateVibecontrolsDocsSiteInput!) {
|
|
698
|
-
createDocsSite(input: $input) { ${DOCS_SITE_FIELDS} }
|
|
699
|
-
}
|
|
700
|
-
`;
|
|
701
|
-
var UPDATE_DOCS_SITE = `
|
|
702
|
-
mutation UpdateDocsSite($id: ID!, $input: UpdateVibecontrolsDocsSiteInput!) {
|
|
703
|
-
updateDocsSite(id: $id, input: $input) { ${DOCS_SITE_FIELDS} }
|
|
704
|
-
}
|
|
705
|
-
`;
|
|
706
|
-
var DELETE_DOCS_SITE = `
|
|
707
|
-
mutation DeleteDocsSite($id: ID!) { deleteDocsSite(id: $id) }
|
|
708
|
-
`;
|
|
709
|
-
var LIST_DOCS_PAGES = `
|
|
710
|
-
query DocsPages($siteId: ID!, $filter: VibecontrolsDocsPageFilterInput) {
|
|
711
|
-
docsPages(siteId: $siteId, filter: $filter) { ${DOCS_PAGE_FIELDS} }
|
|
712
|
-
}
|
|
713
|
-
`;
|
|
714
|
-
var GET_DOCS_PAGE = `
|
|
715
|
-
query DocsPage($id: ID!) {
|
|
716
|
-
docsPage(id: $id) { ${DOCS_PAGE_FIELDS} }
|
|
717
|
-
}
|
|
718
|
-
`;
|
|
719
|
-
var CREATE_DOCS_PAGE = `
|
|
720
|
-
mutation CreateDocsPage($input: CreateVibecontrolsDocsPageInput!) {
|
|
721
|
-
createDocsPage(input: $input) { ${DOCS_PAGE_FIELDS} }
|
|
722
|
-
}
|
|
723
|
-
`;
|
|
724
|
-
var UPDATE_DOCS_PAGE = `
|
|
725
|
-
mutation UpdateDocsPage($id: ID!, $input: UpdateVibecontrolsDocsPageInput!) {
|
|
726
|
-
updateDocsPage(id: $id, input: $input) { ${DOCS_PAGE_FIELDS} }
|
|
727
|
-
}
|
|
728
|
-
`;
|
|
729
|
-
var DELETE_DOCS_PAGE = `
|
|
730
|
-
mutation DeleteDocsPage($id: ID!) { deleteDocsPage(id: $id) }
|
|
731
|
-
`;
|
|
732
|
-
var COMPILE_DOCS_SITE = `
|
|
733
|
-
mutation CompileDocsSite($siteId: ID!, $publish: Boolean) {
|
|
734
|
-
compileDocsSite(siteId: $siteId, publish: $publish) { ${DOCS_REVISION_FIELDS} }
|
|
735
|
-
}
|
|
736
|
-
`;
|
|
737
|
-
var PUBLISH_DOCS_REVISION = `
|
|
738
|
-
mutation PublishDocsRevision($revisionId: ID!) {
|
|
739
|
-
publishDocsRevision(revisionId: $revisionId) { ${DOCS_REVISION_FIELDS} }
|
|
740
|
-
}
|
|
741
|
-
`;
|
|
742
|
-
var ROLLBACK_DOCS_REVISION = `
|
|
743
|
-
mutation RollbackDocsRevision($siteId: ID!, $revisionId: ID!) {
|
|
744
|
-
rollbackDocsRevision(siteId: $siteId, revisionId: $revisionId) { ${DOCS_REVISION_FIELDS} }
|
|
745
|
-
}
|
|
746
|
-
`;
|
|
747
|
-
var LIST_AUDIT_LOGS = `
|
|
748
|
-
query VibeAuditLogs($filter: VibeAuditLogFilterInput, $pagination: PaginationInput) {
|
|
749
|
-
vibeAuditLogs(filter: $filter, pagination: $pagination) {
|
|
750
|
-
items { ${AUDIT_LOG_FIELDS} }
|
|
751
|
-
total hasMore
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
`;
|
|
755
|
-
var GET_AUDIT_LOG = `
|
|
756
|
-
query VibeAuditLog($id: ID!) {
|
|
757
|
-
vibeAuditLog(id: $id) { ${AUDIT_LOG_FIELDS} }
|
|
758
|
-
}
|
|
759
|
-
`;
|
|
760
|
-
var AUDIT_LOG_STATS = `
|
|
761
|
-
query VibeAuditLogStats($filter: VibeAuditLogFilterInput) {
|
|
762
|
-
vibeAuditLogStats(filter: $filter) {
|
|
763
|
-
totalLogs
|
|
764
|
-
logsByAction { action count }
|
|
765
|
-
logsByResourceType { resourceType count }
|
|
766
|
-
logsByStatus { status count }
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
`;
|
|
770
|
-
var EXPORT_AUDIT_LOGS = `
|
|
771
|
-
mutation ExportVibeAuditLogs($filter: VibeAuditLogFilterInput, $format: String) {
|
|
772
|
-
exportVibeAuditLogs(filter: $filter, format: $format)
|
|
773
|
-
}
|
|
774
|
-
`;
|
|
775
|
-
var DELETE_AUDIT_LOG = `
|
|
776
|
-
mutation DeleteVibeAuditLog($id: ID!, $reason: String) {
|
|
777
|
-
deleteVibeAuditLog(id: $id, reason: $reason)
|
|
778
|
-
}
|
|
779
|
-
`;
|
|
780
|
-
var SANDBOX_FIELDS = `
|
|
781
|
-
id name description template mode status
|
|
782
|
-
crdName podName namespace runtimeClass
|
|
783
|
-
containers { name image ports { containerPort name protocol } env { name value } command args resources { requestsCpu requestsMemory limitsCpu limitsMemory } }
|
|
784
|
-
containerStatuses { name ready port restartCount }
|
|
785
|
-
resources { cpuRequest cpuLimit memoryRequest memoryLimit }
|
|
786
|
-
storage { mode sizeGi mountPath retainOnDelete }
|
|
787
|
-
network { exposeService internalUrl containerUrls serviceName }
|
|
788
|
-
ttlSeconds expiresAt metadata errorMessage
|
|
789
|
-
workspaceId createdBy createdAt updatedAt stoppedAt
|
|
790
|
-
`;
|
|
791
|
-
var LIST_SANDBOXES = `
|
|
792
|
-
query ListSandboxes($filter: SandboxFilterInput, $pagination: SandboxPaginationInput, $context: ContextInput!) {
|
|
793
|
-
listSandboxes(filter: $filter, pagination: $pagination, context: $context) {
|
|
794
|
-
items { ${SANDBOX_FIELDS} }
|
|
795
|
-
total hasMore
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
`;
|
|
799
|
-
var GET_SANDBOX = `
|
|
800
|
-
query GetSandbox($id: ID!, $context: ContextInput!) {
|
|
801
|
-
getSandbox(id: $id, context: $context) { ${SANDBOX_FIELDS} }
|
|
802
|
-
}
|
|
803
|
-
`;
|
|
804
|
-
var CREATE_SANDBOX = `
|
|
805
|
-
mutation CreateSandbox($input: CreateSandboxInput!) {
|
|
806
|
-
createSandbox(input: $input) { ${SANDBOX_FIELDS} }
|
|
807
|
-
}
|
|
808
|
-
`;
|
|
809
|
-
var DELETE_SANDBOX = `
|
|
810
|
-
mutation DeleteSandbox($id: ID!, $context: ContextInput!) {
|
|
811
|
-
deleteSandbox(id: $id, context: $context)
|
|
812
|
-
}
|
|
813
|
-
`;
|
|
814
|
-
var STOP_SANDBOX = `
|
|
815
|
-
mutation StopSandbox($id: ID!, $context: ContextInput!) {
|
|
816
|
-
stopSandbox(id: $id, context: $context) { ${SANDBOX_FIELDS} }
|
|
817
|
-
}
|
|
818
|
-
`;
|
|
819
|
-
var EXTEND_SANDBOX_TTL = `
|
|
820
|
-
mutation ExtendSandboxTTL($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {
|
|
821
|
-
extendSandboxTTL(id: $id, additionalSeconds: $additionalSeconds, context: $context) { ${SANDBOX_FIELDS} }
|
|
822
|
-
}
|
|
823
|
-
`;
|
|
824
|
-
var VIBECONTROLS_ANALYTICS = `
|
|
825
|
-
query VibecontrolsAnalytics($input: VibecontrolsAnalyticsInput!) {
|
|
826
|
-
vibecontrolsAnalytics(input: $input) {
|
|
827
|
-
agents { total active inactive staleHeartbeatCount byPlatform { key count } byArchitecture { key count } createdOverTime { timestamp value } }
|
|
828
|
-
targets { total connectionCount byType { key count } byStatus { key count } }
|
|
829
|
-
sessions { total active avgDurationMs totalCollaborators totalShares totalShareLinks byType { key count } byStatus { key count } createdOverTime { timestamp value } }
|
|
830
|
-
vibes { total withAgent withoutAgent byType { key count } byStatus { key count } createdOverTime { timestamp value } }
|
|
831
|
-
actions { total totalExecutions successRate avgDurationMs byActionType { key count } byTriggerType { key count } bySourceType { key count } executionsByStatus { key count } executionsOverTime { timestamp value } }
|
|
832
|
-
webhooks { total active inactive totalDeliveries totalFailures deliverySuccessRate }
|
|
833
|
-
aiEvents { total bySource { key count } byEventType { key count } eventsOverTime { timestamp value } }
|
|
834
|
-
vibeDecks { totalDecks totalButtons buttonsByActionType { key count } }
|
|
835
|
-
audit { total byAction { key count } byResourceType { key count } byStatus { key count } eventsOverTime { timestamp value } }
|
|
836
|
-
docs { totalSites totalPages totalRevisions buildSuccessRate totalBuildImages pagesByStatus { key count } revisionsByStatus { key count } }
|
|
837
|
-
notes { total pinned unpinned createdOverTime { timestamp value } }
|
|
838
|
-
configurations { total secretCount byScope { key count } }
|
|
839
|
-
executionTimeMs
|
|
840
|
-
cached
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
`;
|
|
844
|
-
|
|
845
|
-
export { ACTIVE_SESSIONS, AGENT_HEALTH_PROBES, AGENT_PLUGINS, ARCHIVE_VIBE, AUDIT_LOG_STATS, BULK_RESTART_SESSIONS, BULK_STOP_SESSIONS, BULK_TERMINATE_SESSIONS, CANCEL_ACTION_EXECUTION, CHECK_SESSION_HEALTH, CLEAR_UI_SESSION, COMPILE_DOCS_SITE, CONFIGURATIONS_BY_SCOPE, CREATE_ACTION, CREATE_AGENT, CREATE_AI_TOOL_EVENT, CREATE_DOCS_PAGE, CREATE_DOCS_SITE, CREATE_NOTE, CREATE_SANDBOX, CREATE_SCHEDULED_JOB, CREATE_SESSION, CREATE_SESSION_SHARE_LINK, CREATE_TARGET, CREATE_TUNNEL, CREATE_VIBE, CREATE_VIBEDECK, CREATE_VIBEDECK_BUTTON, CREATE_WEBHOOK, DELETE_ACTION, DELETE_AGENT, DELETE_AUDIT_LOG, DELETE_CONFIGURATION, DELETE_DOCS_PAGE, DELETE_DOCS_SITE, DELETE_NOTE, DELETE_SANDBOX, DELETE_SCHEDULED_JOB, DELETE_TARGET, DELETE_TUNNEL, DELETE_VIBE, DELETE_VIBEDECK, DELETE_VIBEDECK_BUTTON, DELETE_WEBHOOK, DUPLICATE_ACTION, DUPLICATE_VIBEDECK, EXECUTE_ACTION, EXECUTE_VIBEDECK_BUTTON, EXPORT_AUDIT_LOGS, EXTEND_SANDBOX_TTL, GET_ACTION, GET_AGENT, GET_AUDIT_LOG, GET_CONFIGURATION, GET_DOCS_PAGE, GET_DOCS_SITE, GET_NOTE, GET_SANDBOX, GET_SESSION, GET_TARGET, GET_UI_SESSION, GET_VIBE, GET_VIBEDECK, GET_WEBHOOK, IMPORT_TARGETS_FROM_CONFIG, INSTALL_ACTION_FROM_STORE, INSTALL_AGENT_ON_TARGET, INSTALL_AGENT_PLUGIN, LIST_ACTIONS, LIST_ACTION_EXECUTIONS, LIST_AGENTS, LIST_AI_TOOL_EVENTS, LIST_AUDIT_LOGS, LIST_CONFIGURATIONS, LIST_DOCS_PAGES, LIST_DOCS_SITES, LIST_NOTES, LIST_SANDBOXES, LIST_SCHEDULED_JOBS, LIST_SESSIONS, LIST_TARGETS, LIST_TUNNELS, LIST_VIBEDECKS, LIST_VIBEDECK_BUTTONS, LIST_VIBES, LIST_WEBHOOKS, PINNED_NOTES, PIN_NOTE, PROBE_AGENT_CONNECTION, PUBLISH_DOCS_REVISION, RECENT_AI_TOOL_EVENTS, REMOVE_AGENT_PLUGIN, RESTART_SESSION, RESTORE_VIBE, REVOKE_SESSION_SHARE, REVOKE_SESSION_SHARE_LINK, ROLLBACK_DOCS_REVISION, SAVE_UI_SESSION, SCAN_SSH_CONFIG, SEARCH_NOTES, SEARCH_VIBES, SEND_SESSION_INPUT, SESSIONS_SHARED_WITH_ME, SESSION_COLLABORATORS, SESSION_OUTPUT, SESSION_SHARES, SESSION_SHARE_LINKS, SET_CONFIGURATION, SET_DEFAULT_VIBEDECK, SHARE_SESSION, START_SESSION, START_SESSION_TERMINAL, STOP_SANDBOX, STOP_SESSION, STOP_TUNNEL, TERMINATE_SESSION, TEST_TARGET, TEST_WEBHOOK, TRIGGER_WEBHOOK, UNPIN_NOTE, UPDATE_ACTION, UPDATE_AGENT, UPDATE_DOCS_PAGE, UPDATE_DOCS_SITE, UPDATE_NOTE, UPDATE_TARGET, UPDATE_VIBE, UPDATE_VIBEDECK, UPDATE_VIBEDECK_BUTTON, UPDATE_VIBE_STATUS, UPDATE_WEBHOOK, VIBECONTROLS_ANALYTICS, VIBE_HIERARCHY };
|
|
846
|
-
//# sourceMappingURL=chunk-4GBVJ4OY.js.map
|
|
847
|
-
//# sourceMappingURL=chunk-4GBVJ4OY.js.map
|