@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.
Files changed (103) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +52 -0
  3. package/dist/chunk-NEREAHJ6.js +1 -0
  4. package/dist/chunk-YGVAZ3D7.js +2 -0
  5. package/dist/core/index.cjs +2 -0
  6. package/dist/core/index.d.cts +52 -0
  7. package/dist/core/index.d.ts +52 -0
  8. package/dist/core/index.js +1 -0
  9. package/dist/index.cjs +2 -0
  10. package/dist/index.d.cts +3 -0
  11. package/dist/index.d.ts +3 -0
  12. package/dist/index.js +1 -0
  13. package/dist/module-JDbvil5h.d.cts +194 -0
  14. package/dist/module-JDbvil5h.d.ts +194 -0
  15. package/dist/modules/auth/index.cjs +71 -0
  16. package/dist/modules/auth/index.d.cts +94 -0
  17. package/dist/modules/auth/index.d.ts +94 -0
  18. package/dist/modules/auth/index.js +71 -0
  19. package/dist/modules/billing/index.cjs +203 -0
  20. package/dist/modules/billing/index.d.cts +377 -0
  21. package/dist/modules/billing/index.d.ts +377 -0
  22. package/dist/modules/billing/index.js +203 -0
  23. package/dist/modules/channels/index.cjs +108 -0
  24. package/dist/modules/channels/index.d.cts +146 -0
  25. package/dist/modules/channels/index.d.ts +146 -0
  26. package/dist/modules/channels/index.js +108 -0
  27. package/dist/modules/conversations/index.cjs +61 -0
  28. package/dist/modules/conversations/index.d.cts +112 -0
  29. package/dist/modules/conversations/index.d.ts +112 -0
  30. package/dist/modules/conversations/index.js +61 -0
  31. package/dist/modules/devportal/index.cjs +216 -0
  32. package/dist/modules/devportal/index.d.cts +303 -0
  33. package/dist/modules/devportal/index.d.ts +303 -0
  34. package/dist/modules/devportal/index.js +216 -0
  35. package/dist/modules/export/index.cjs +61 -0
  36. package/dist/modules/export/index.d.cts +169 -0
  37. package/dist/modules/export/index.d.ts +169 -0
  38. package/dist/modules/export/index.js +61 -0
  39. package/dist/modules/files/index.cjs +51 -0
  40. package/dist/modules/files/index.d.cts +102 -0
  41. package/dist/modules/files/index.d.ts +102 -0
  42. package/dist/modules/files/index.js +51 -0
  43. package/dist/modules/groups/index.cjs +80 -0
  44. package/dist/modules/groups/index.d.cts +168 -0
  45. package/dist/modules/groups/index.d.ts +168 -0
  46. package/dist/modules/groups/index.js +80 -0
  47. package/dist/modules/health/index.cjs +5 -0
  48. package/dist/modules/health/index.d.cts +18 -0
  49. package/dist/modules/health/index.d.ts +18 -0
  50. package/dist/modules/health/index.js +5 -0
  51. package/dist/modules/integrations/index.cjs +65 -0
  52. package/dist/modules/integrations/index.d.cts +120 -0
  53. package/dist/modules/integrations/index.d.ts +120 -0
  54. package/dist/modules/integrations/index.js +65 -0
  55. package/dist/modules/notifications/index.cjs +53 -0
  56. package/dist/modules/notifications/index.d.cts +140 -0
  57. package/dist/modules/notifications/index.d.ts +140 -0
  58. package/dist/modules/notifications/index.js +53 -0
  59. package/dist/modules/organizations/index.cjs +72 -0
  60. package/dist/modules/organizations/index.d.cts +88 -0
  61. package/dist/modules/organizations/index.d.ts +88 -0
  62. package/dist/modules/organizations/index.js +72 -0
  63. package/dist/modules/products/index.cjs +149 -0
  64. package/dist/modules/products/index.d.cts +361 -0
  65. package/dist/modules/products/index.d.ts +361 -0
  66. package/dist/modules/products/index.js +149 -0
  67. package/dist/modules/rbac/index.cjs +55 -0
  68. package/dist/modules/rbac/index.d.cts +100 -0
  69. package/dist/modules/rbac/index.d.ts +100 -0
  70. package/dist/modules/rbac/index.js +55 -0
  71. package/dist/modules/scheduler/index.cjs +61 -0
  72. package/dist/modules/scheduler/index.d.cts +121 -0
  73. package/dist/modules/scheduler/index.d.ts +121 -0
  74. package/dist/modules/scheduler/index.js +61 -0
  75. package/dist/modules/security/index.cjs +61 -0
  76. package/dist/modules/security/index.d.cts +110 -0
  77. package/dist/modules/security/index.d.ts +110 -0
  78. package/dist/modules/security/index.js +61 -0
  79. package/dist/modules/store/index.cjs +82 -0
  80. package/dist/modules/store/index.d.cts +139 -0
  81. package/dist/modules/store/index.d.ts +139 -0
  82. package/dist/modules/store/index.js +82 -0
  83. package/dist/modules/support/index.cjs +56 -0
  84. package/dist/modules/support/index.d.cts +147 -0
  85. package/dist/modules/support/index.d.ts +147 -0
  86. package/dist/modules/support/index.js +56 -0
  87. package/dist/modules/tags/index.cjs +55 -0
  88. package/dist/modules/tags/index.d.cts +131 -0
  89. package/dist/modules/tags/index.d.ts +131 -0
  90. package/dist/modules/tags/index.js +55 -0
  91. package/dist/modules/tours/index.cjs +37 -0
  92. package/dist/modules/tours/index.d.cts +61 -0
  93. package/dist/modules/tours/index.d.ts +61 -0
  94. package/dist/modules/tours/index.js +37 -0
  95. package/dist/modules/vibecontrols/index.cjs +1081 -0
  96. package/dist/modules/vibecontrols/index.d.cts +1483 -0
  97. package/dist/modules/vibecontrols/index.d.ts +1483 -0
  98. package/dist/modules/vibecontrols/index.js +1081 -0
  99. package/dist/modules/workspaces/index.cjs +91 -0
  100. package/dist/modules/workspaces/index.d.cts +128 -0
  101. package/dist/modules/workspaces/index.d.ts +128 -0
  102. package/dist/modules/workspaces/index.js +91 -0
  103. package/package.json +117 -0
@@ -0,0 +1,1081 @@
1
+ var I=`
2
+ fragment ActionFields on Action {
3
+ id name description actionType sourceType triggerType
4
+ command script webhookUrl workflowDefinition configuration
5
+ tags isActive storeItemId storeVersion metadata
6
+ workspaceId createdAt updatedAt deletedAt
7
+ }
8
+ `,y=`
9
+ fragment ActionExecutionFields on ActionExecution {
10
+ id actionId status input output error
11
+ startedAt completedAt durationMs triggeredBy metadata
12
+ workspaceId createdAt updatedAt
13
+ }
14
+ `,f=`
15
+ fragment ScheduledJobFields on ScheduledJob {
16
+ id name scheduleType status actionId
17
+ cronExpression timezone scheduledAt
18
+ interval intervalUnit startDate endDate
19
+ nextExecutionAt lastExecutionAt priority tags
20
+ }
21
+ `,j=`
22
+ ${I}
23
+ query Actions($filter: ActionFilterInput, $pagination: PaginationInput) {
24
+ actions(filter: $filter, pagination: $pagination) {
25
+ items { ...ActionFields }
26
+ total
27
+ hasMore
28
+ }
29
+ }
30
+ `,X=`
31
+ ${I}
32
+ query Action($id: ID!) { action(id: $id) { ...ActionFields } }
33
+ `,Y=`
34
+ ${y}
35
+ query ActionExecutions($filter: ActionExecutionFilterInput, $pagination: PaginationInput) {
36
+ actionExecutions(filter: $filter, pagination: $pagination) {
37
+ items { ...ActionExecutionFields }
38
+ total
39
+ hasMore
40
+ }
41
+ }
42
+ `,z=`
43
+ ${y}
44
+ query ActionExecution($id: ID!) { actionExecution(id: $id) { ...ActionExecutionFields } }
45
+ `,Q=`
46
+ ${I}
47
+ mutation CreateAction($input: CreateActionInput!) {
48
+ createAction(input: $input) { ...ActionFields }
49
+ }
50
+ `,Z=`
51
+ ${I}
52
+ mutation UpdateAction($id: ID!, $input: UpdateActionInput!) {
53
+ updateAction(id: $id, input: $input) { ...ActionFields }
54
+ }
55
+ `,tt="mutation DeleteAction($id: ID!) { deleteAction(id: $id) }",et=`
56
+ ${I}
57
+ mutation DuplicateAction($id: ID!, $name: String) {
58
+ duplicateAction(id: $id, name: $name) { ...ActionFields }
59
+ }
60
+ `,nt=`
61
+ ${y}
62
+ mutation ExecuteAction($id: ID!, $input: ExecuteActionInput) {
63
+ executeAction(id: $id, input: $input) { ...ActionExecutionFields }
64
+ }
65
+ `,it=`
66
+ ${I}
67
+ mutation InstallActionFromStore($storeItemId: String!, $version: String, $name: String) {
68
+ installActionFromStore(storeItemId: $storeItemId, version: $version, name: $name) {
69
+ ...ActionFields
70
+ }
71
+ }
72
+ `,ot=`
73
+ ${y}
74
+ mutation CancelActionExecution($id: ID!) {
75
+ cancelActionExecution(id: $id) { ...ActionExecutionFields }
76
+ }
77
+ `,at=`
78
+ ${f}
79
+ mutation CreateScheduledJob($input: CreateScheduledJobInput!) {
80
+ createScheduledJob(input: $input) { ...ScheduledJobFields }
81
+ }
82
+ `,st="mutation DeleteScheduledJob($id: ID!) { deleteScheduledJob(id: $id) }",rt=`
83
+ ${f}
84
+ query ScheduledJobs($filter: JobFilterInput, $pagination: SchedulerPaginationInput) {
85
+ scheduledJobs(filter: $filter, pagination: $pagination) {
86
+ jobs { ...ScheduledJobFields }
87
+ total
88
+ hasMore
89
+ }
90
+ }
91
+ `;function N(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(j,{filter:t,pagination:e})).actions},async get(t){return (await n.request(X,{id:t})).action},async create(t){return (await n.request(Q,{input:t})).createAction},async update(t,e){return (await n.request(Z,{id:t,input:e})).updateAction},async delete(t){return (await n.request(tt,{id:t})).deleteAction},async duplicate(t,e){return (await n.request(et,{id:t,name:e})).duplicateAction},async execute(t,e){return (await n.request(nt,{id:t,input:e})).executeAction},async installFromStore(t,e,i){return (await n.request(it,{storeItemId:t,version:e,name:i})).installActionFromStore},async listExecutions(t,e){return (await n.request(Y,{filter:t,pagination:e})).actionExecutions},async getExecution(t){return (await n.request(z,{id:t})).actionExecution},async cancelExecution(t){return (await n.request(ot,{id:t})).cancelActionExecution},async scheduleAction(t,e){let i={actionId:t,scheduleType:e.scheduleType};return e.cronExpression&&(i.cronExpression=e.cronExpression),e.timezone&&(i.timezone=e.timezone),e.scheduledAt&&(i.scheduledAt=e.scheduledAt),e.interval!==void 0&&(i.interval=e.interval),e.intervalUnit&&(i.intervalUnit=e.intervalUnit),e.startDate&&(i.startDate=e.startDate),e.endDate&&(i.endDate=e.endDate),e.name&&(i.name=e.name),(await n.request(at,{input:i})).createScheduledJob},async unscheduleAction(t){return (await n.request(st,{id:t})).deleteScheduledJob},async listSchedules(t,e){return (await n.request(rt,{filter:t,pagination:e})).scheduledJobs}}}var u=`
92
+ fragment AgentFields on VibecontrolsAgent {
93
+ id name hostname platform architecture version
94
+ tunnelUrl tunnelStatus apiUrl agentApiKey
95
+ appId appClientId capabilities configuration
96
+ isActive lastHeartbeat metadata workspaceId
97
+ createdAt updatedAt deletedAt
98
+ }
99
+ `,ct=`
100
+ ${u}
101
+ query VibecontrolsAgents($filter: VibecontrolsAgentFilterInput) {
102
+ vibecontrolsAgents(filter: $filter) { ...AgentFields }
103
+ }
104
+ `,dt=`
105
+ ${u}
106
+ query VibecontrolsAgent($id: ID!) { vibecontrolsAgent(id: $id) { ...AgentFields } }
107
+ `,ut=`
108
+ ${u}
109
+ mutation CreateVibecontrolsAgent($input: CreateVibecontrolsAgentInput!) {
110
+ createVibecontrolsAgent(input: $input) { ...AgentFields }
111
+ }
112
+ `,lt=`
113
+ ${u}
114
+ mutation RegisterVibecontrolsAgent($input: CreateVibecontrolsAgentInput!) {
115
+ registerVibecontrolsAgent(input: $input) { ...AgentFields }
116
+ }
117
+ `,pt=`
118
+ ${u}
119
+ mutation UpdateVibecontrolsAgent($id: ID!, $input: UpdateVibecontrolsAgentInput!) {
120
+ updateVibecontrolsAgent(id: $id, input: $input) { ...AgentFields }
121
+ }
122
+ `,gt="mutation DeleteVibecontrolsAgent($id: ID!) { deleteVibecontrolsAgent(id: $id) }",bt=`
123
+ ${u}
124
+ mutation DeactivateVibecontrolsAgent($id: ID!) {
125
+ deactivateVibecontrolsAgent(id: $id) { ...AgentFields }
126
+ }
127
+ `,It=`
128
+ ${u}
129
+ mutation VibecontrolsAgentHeartbeat($id: ID!) {
130
+ vibecontrolsAgentHeartbeat(id: $id) { ...AgentFields }
131
+ }
132
+ `,At=`
133
+ query VibecontrolsAgentHealthProbes {
134
+ vibecontrolsAgentHealthProbes {
135
+ agentId agentName isHealthy reachable latencyMs error lastHeartbeat
136
+ }
137
+ }
138
+ `,St=`
139
+ query ProbeAgentConnection($id: ID!) {
140
+ probeAgentConnection(id: $id) {
141
+ agentId reachable latencyMs error version tunnelUrl
142
+ }
143
+ }
144
+ `,mt=`
145
+ query ProbeAgentTunnel($url: String!, $agentApiKey: String) {
146
+ probeAgentTunnel(url: $url, agentApiKey: $agentApiKey) {
147
+ agentId reachable latencyMs error version tunnelUrl
148
+ }
149
+ }
150
+ `,Dt=`
151
+ query AgentPlugins($agentId: ID!) {
152
+ agentPlugins(agentId: $agentId) {
153
+ agentId
154
+ plugins { name packageName version description isActive tags metadata }
155
+ total
156
+ }
157
+ }
158
+ `,Tt=`
159
+ mutation InstallAgentPlugin($agentId: ID!, $packageName: String!) {
160
+ installAgentPlugin(agentId: $agentId, packageName: $packageName) {
161
+ success message
162
+ plugin { name packageName version description isActive tags metadata }
163
+ }
164
+ }
165
+ `,$t=`
166
+ mutation RemoveAgentPlugin($agentId: ID!, $packageName: String!) {
167
+ removeAgentPlugin(agentId: $agentId, packageName: $packageName) {
168
+ success message
169
+ plugin { name packageName version description isActive tags metadata }
170
+ }
171
+ }
172
+ `,yt=`
173
+ mutation PushAgentGatewayAuth($input: PushAgentGatewayAuthInput!) {
174
+ pushAgentGatewayAuth(input: $input)
175
+ }
176
+ `;function _(o){let{workspace:n}=o.gql;return {async list(t){let e=await n.request(ct,{filter:t});return {items:e.vibecontrolsAgents,total:e.vibecontrolsAgents.length,hasMore:false}},async get(t){return (await n.request(dt,{id:t})).vibecontrolsAgent},async create(t){return (await n.request(ut,{input:t})).createVibecontrolsAgent},async register(t){return (await n.request(lt,{input:t})).registerVibecontrolsAgent},async update(t,e){return (await n.request(pt,{id:t,input:e})).updateVibecontrolsAgent},async delete(t){return (await n.request(gt,{id:t})).deleteVibecontrolsAgent},async deactivate(t){return (await n.request(bt,{id:t})).deactivateVibecontrolsAgent},async heartbeat(t){return (await n.request(It,{id:t})).vibecontrolsAgentHeartbeat},async healthProbes(){return (await n.request(At)).vibecontrolsAgentHealthProbes},async probeConnection(t){return (await n.request(St,{id:t})).probeAgentConnection},async probeTunnel(t,e){return (await n.request(mt,{url:t,agentApiKey:e})).probeAgentTunnel},async listPlugins(t){return (await n.request(Dt,{agentId:t})).agentPlugins},async installPlugin(t,e){return (await n.request(Tt,{agentId:t,packageName:e})).installAgentPlugin},async removePlugin(t,e){return (await n.request($t,{agentId:t,packageName:e})).removeAgentPlugin},async pushGatewayAuth(t){return (await n.request(yt,{input:t})).pushAgentGatewayAuth}}}var E=`
177
+ fragment AiToolEventFields on AiToolEvent {
178
+ id source eventType payload agentId workspaceId createdAt
179
+ }
180
+ `,Et=`
181
+ ${E}
182
+ query AiToolEvents($filter: AiToolEventFilterInput, $pagination: PaginationInput) {
183
+ aiToolEvents(filter: $filter, pagination: $pagination) {
184
+ items { ...AiToolEventFields }
185
+ total
186
+ hasMore
187
+ }
188
+ }
189
+ `,Vt=`
190
+ ${E}
191
+ query AiToolEvent($id: ID!) { aiToolEvent(id: $id) { ...AiToolEventFields } }
192
+ `,kt=`
193
+ ${E}
194
+ query RecentAiToolEvents($agentId: ID!, $limit: Int) {
195
+ recentAiToolEvents(agentId: $agentId, limit: $limit) { ...AiToolEventFields }
196
+ }
197
+ `,Ct=`
198
+ ${E}
199
+ mutation CreateAiToolEvent($input: CreateAiToolEventInput!) {
200
+ createAiToolEvent(input: $input) { ...AiToolEventFields }
201
+ }
202
+ `,Pt=`
203
+ mutation DeleteOldAiToolEvents($beforeDate: String!) {
204
+ deleteOldAiToolEvents(beforeDate: $beforeDate)
205
+ }
206
+ `;function h(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Et,{filter:t,pagination:e})).aiToolEvents},async get(t){return (await n.request(Vt,{id:t})).aiToolEvent},async recent(t,e){return (await n.request(kt,{agentId:t,limit:e})).recentAiToolEvents},async create(t){return (await n.request(Ct,{input:t})).createAiToolEvent},async deleteOld(t){return (await n.request(Pt,{beforeDate:t})).deleteOldAiToolEvents}}}var C=`
207
+ query VibecontrolsAnalytics($input: VibecontrolsAnalyticsInput!) {
208
+ vibecontrolsAnalytics(input: $input) {
209
+ agents {
210
+ total active inactive staleHeartbeatCount
211
+ byPlatform { key count }
212
+ byArchitecture { key count }
213
+ createdOverTime { timestamp value }
214
+ }
215
+ targets {
216
+ total connectionCount
217
+ byType { key count }
218
+ byStatus { key count }
219
+ }
220
+ sessions {
221
+ total active avgDurationMs totalCollaborators totalShares totalShareLinks
222
+ byType { key count }
223
+ byStatus { key count }
224
+ createdOverTime { timestamp value }
225
+ }
226
+ vibes {
227
+ total withAgent withoutAgent
228
+ byType { key count }
229
+ byStatus { key count }
230
+ createdOverTime { timestamp value }
231
+ }
232
+ actions {
233
+ total totalExecutions successRate avgDurationMs
234
+ byActionType { key count }
235
+ byTriggerType { key count }
236
+ bySourceType { key count }
237
+ executionsByStatus { key count }
238
+ executionsOverTime { timestamp value }
239
+ }
240
+ webhooks {
241
+ total active inactive totalDeliveries totalFailures deliverySuccessRate
242
+ }
243
+ aiEvents {
244
+ total
245
+ bySource { key count }
246
+ byEventType { key count }
247
+ eventsOverTime { timestamp value }
248
+ }
249
+ vibeDecks {
250
+ totalDecks totalButtons
251
+ buttonsByActionType { key count }
252
+ }
253
+ audit {
254
+ total
255
+ byAction { key count }
256
+ byResourceType { key count }
257
+ byStatus { key count }
258
+ eventsOverTime { timestamp value }
259
+ }
260
+ docs {
261
+ totalSites totalPages totalRevisions buildSuccessRate totalBuildImages
262
+ pagesByStatus { key count }
263
+ revisionsByStatus { key count }
264
+ }
265
+ notes {
266
+ total pinned unpinned
267
+ createdOverTime { timestamp value }
268
+ }
269
+ configurations {
270
+ total secretCount
271
+ byScope { key count }
272
+ }
273
+ executionTimeMs
274
+ cached
275
+ }
276
+ }
277
+ `;function w(o){let{workspace:n}=o.gql;return {async get(t){return (await n.request(C,{input:t})).vibecontrolsAnalytics},async getOverview(t){let e={startDate:t?.startDate??new Date(Date.now()-6048e5).toISOString(),endDate:t?.endDate??new Date().toISOString(),granularity:t?.granularity??"DAY",...t};return (await n.request(C,{input:e})).vibecontrolsAnalytics},async getForEntities(t,e){let i={startDate:e?.startDate??new Date(Date.now()-6048e5).toISOString(),endDate:e?.endDate??new Date().toISOString(),granularity:e?.granularity??"DAY",...e,entityTypes:t};return (await n.request(C,{input:i})).vibecontrolsAnalytics}}}var F=`
278
+ fragment AuditLogFields on VibeAuditLog {
279
+ id action resourceType resourceId actorId actorType
280
+ status description ipAddress userAgent requestId
281
+ workspaceId createdAt
282
+ }
283
+ `,xt=`
284
+ ${F}
285
+ query VibeAuditLogs($filter: VibeAuditLogFilterInput, $pagination: PaginationInput) {
286
+ vibeAuditLogs(filter: $filter, pagination: $pagination) {
287
+ items { ...AuditLogFields }
288
+ total
289
+ hasMore
290
+ }
291
+ }
292
+ `,vt=`
293
+ ${F}
294
+ query VibeAuditLog($id: ID!) { vibeAuditLog(id: $id) { ...AuditLogFields } }
295
+ `,ft=`
296
+ query VibeAuditLogStats($filter: VibeAuditLogFilterInput) {
297
+ vibeAuditLogStats(filter: $filter) {
298
+ totalLogs
299
+ logsByAction { action count }
300
+ logsByResourceType { resourceType count }
301
+ logsByStatus { status count }
302
+ }
303
+ }
304
+ `,Nt=`
305
+ mutation DeleteVibeAuditLog($id: ID!, $reason: String) {
306
+ deleteVibeAuditLog(id: $id, reason: $reason)
307
+ }
308
+ `,_t=`
309
+ mutation BulkDeleteVibeAuditLogs($ids: [ID!]!, $reason: String) {
310
+ bulkDeleteVibeAuditLogs(ids: $ids, reason: $reason)
311
+ }
312
+ `,ht=`
313
+ mutation ExportVibeAuditLogs($filter: VibeAuditLogFilterInput, $format: String) {
314
+ exportVibeAuditLogs(filter: $filter, format: $format)
315
+ }
316
+ `;function q(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(xt,{filter:t,pagination:e})).vibeAuditLogs},async get(t){return (await n.request(vt,{id:t})).vibeAuditLog},async stats(t){return (await n.request(ft,{filter:t})).vibeAuditLogStats},async delete(t,e){return (await n.request(Nt,{id:t,reason:e})).deleteVibeAuditLog},async bulkDelete(t,e){return (await n.request(_t,{ids:t,reason:e})).bulkDeleteVibeAuditLogs},async export(t,e){return (await n.request(ht,{filter:t,format:e})).exportVibeAuditLogs}}}var m=`
317
+ fragment ConfigurationFields on Configuration {
318
+ id key value scope scopeId isSecret
319
+ workspaceId createdAt updatedAt
320
+ }
321
+ `,wt=`
322
+ ${m}
323
+ query Configurations($filter: ConfigurationFilterInput!, $pagination: PaginationInput) {
324
+ configurations(filter: $filter, pagination: $pagination) {
325
+ items { ...ConfigurationFields }
326
+ total
327
+ hasMore
328
+ }
329
+ }
330
+ `,Ft=`
331
+ ${m}
332
+ query Configuration($key: String!, $scope: ConfigScope!, $scopeId: ID) {
333
+ configuration(key: $key, scope: $scope, scopeId: $scopeId) { ...ConfigurationFields }
334
+ }
335
+ `,qt=`
336
+ query ConfigurationValue($key: String!, $scope: ConfigScope!, $scopeId: ID) {
337
+ configurationValue(key: $key, scope: $scope, scopeId: $scopeId)
338
+ }
339
+ `,Lt=`
340
+ ${m}
341
+ query ConfigurationsByScope($scope: ConfigScope!, $scopeId: ID) {
342
+ configurationsByScope(scope: $scope, scopeId: $scopeId) { ...ConfigurationFields }
343
+ }
344
+ `,Ot=`
345
+ ${m}
346
+ mutation SetConfiguration(
347
+ $key: String!
348
+ $scope: ConfigScope!
349
+ $value: JSON!
350
+ $scopeId: ID
351
+ $isSecret: Boolean
352
+ $context: ContextInput
353
+ ) {
354
+ setConfiguration(
355
+ key: $key
356
+ scope: $scope
357
+ value: $value
358
+ scopeId: $scopeId
359
+ isSecret: $isSecret
360
+ context: $context
361
+ ) { ...ConfigurationFields }
362
+ }
363
+ `,Ut=`
364
+ mutation DeleteConfiguration($key: String!, $scope: ConfigScope!, $scopeId: ID) {
365
+ deleteConfiguration(key: $key, scope: $scope, scopeId: $scopeId)
366
+ }
367
+ `,Rt=`
368
+ ${m}
369
+ mutation BulkSetConfigurations($inputs: [ConfigurationInput!]!) {
370
+ bulkSetConfigurations(inputs: $inputs) { ...ConfigurationFields }
371
+ }
372
+ `,Bt=`
373
+ mutation BulkDeleteConfigurations($keys: [String!]!, $scope: ConfigScope!, $scopeId: ID) {
374
+ bulkDeleteConfigurations(keys: $keys, scope: $scope, scopeId: $scopeId)
375
+ }
376
+ `;function L(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(wt,{filter:t,pagination:e})).configurations},async get(t,e,i){return (await n.request(Ft,{key:t,scope:e,scopeId:i})).configuration},async getValue(t,e,i){return (await n.request(qt,{key:t,scope:e,scopeId:i})).configurationValue},async byScope(t,e){return (await n.request(Lt,{scope:t,scopeId:e})).configurationsByScope},async set(t,e,i,a){return (await n.request(Ot,{key:t,scope:e,value:i,scopeId:a?.scopeId,isSecret:a?.isSecret,context:a?.context})).setConfiguration},async delete(t,e,i){return (await n.request(Ut,{key:t,scope:e,scopeId:i})).deleteConfiguration},async bulkSet(t){return (await n.request(Rt,{inputs:t})).bulkSetConfigurations},async bulkDelete(t,e,i){return (await n.request(Bt,{keys:t,scope:e,scopeId:i})).bulkDeleteConfigurations}}}var D=`
377
+ fragment DocsSiteFields on VibecontrolsDocsSite {
378
+ id vibeId name visibility runtime workspaceId createdAt updatedAt
379
+ }
380
+ `,V=`
381
+ fragment DocsPageFields on VibecontrolsDocsPage {
382
+ id siteId title slug content parentId sidebarPosition status
383
+ createdAt updatedAt
384
+ }
385
+ `,T=`
386
+ fragment DocsRevisionFields on VibecontrolsDocsRevision {
387
+ id siteId revisionNumber status buildDurationMs artifactSizeBytes
388
+ errorMessage publishedAt createdAt updatedAt
389
+ }
390
+ `,Gt=`
391
+ ${D}
392
+ query DocsSite($vibeId: ID!) { docsSite(vibeId: $vibeId) { ...DocsSiteFields } }
393
+ `,Wt=`
394
+ ${D}
395
+ query DocsSites($filter: VibecontrolsDocsSiteFilterInput, $pagination: PaginationInput) {
396
+ docsSites(filter: $filter, pagination: $pagination) {
397
+ items { ...DocsSiteFields }
398
+ total
399
+ hasMore
400
+ }
401
+ }
402
+ `,Mt=`
403
+ ${V}
404
+ query DocsPage($id: ID!) { docsPage(id: $id) { ...DocsPageFields } }
405
+ `,Ht=`
406
+ ${V}
407
+ query DocsPages($siteId: ID!, $filter: DocsPageFilterInput) {
408
+ docsPages(siteId: $siteId, filter: $filter) { ...DocsPageFields }
409
+ }
410
+ `,Kt=`
411
+ ${T}
412
+ query DocsRevision($id: ID!) { docsRevision(id: $id) { ...DocsRevisionFields } }
413
+ `,Jt=`
414
+ ${T}
415
+ query DocsRevisions($siteId: ID!, $pagination: PaginationInput) {
416
+ docsRevisions(siteId: $siteId, pagination: $pagination) {
417
+ items { ...DocsRevisionFields }
418
+ total
419
+ hasMore
420
+ }
421
+ }
422
+ `,jt=`
423
+ query DocsContent($siteId: ID!, $path: String!) {
424
+ docsContent(siteId: $siteId, path: $path)
425
+ }
426
+ `,Xt=`
427
+ ${D}
428
+ mutation CreateDocsSite($input: CreateDocsSiteInput!) {
429
+ createDocsSite(input: $input) { ...DocsSiteFields }
430
+ }
431
+ `,Yt=`
432
+ ${D}
433
+ mutation UpdateDocsSite($id: ID!, $input: UpdateDocsSiteInput!) {
434
+ updateDocsSite(id: $id, input: $input) { ...DocsSiteFields }
435
+ }
436
+ `,zt=`
437
+ ${D}
438
+ mutation UpdateDocsSiteVisibility($id: ID!, $visibility: DocsVisibility!) {
439
+ updateDocsSiteVisibility(id: $id, visibility: $visibility) { ...DocsSiteFields }
440
+ }
441
+ `,Qt="mutation DeleteDocsSite($id: ID!) { deleteDocsSite(id: $id) }",Zt=`
442
+ ${V}
443
+ mutation CreateDocsPage($input: CreateDocsPageInput!) {
444
+ createDocsPage(input: $input) { ...DocsPageFields }
445
+ }
446
+ `,te=`
447
+ ${V}
448
+ mutation UpdateDocsPage($id: ID!, $input: UpdateDocsPageInput!) {
449
+ updateDocsPage(id: $id, input: $input) { ...DocsPageFields }
450
+ }
451
+ `,ee="mutation DeleteDocsPage($id: ID!) { deleteDocsPage(id: $id) }",ne=`
452
+ mutation ReorderDocsPages($siteId: ID!, $orders: [DocsPageOrderInput!]!) {
453
+ reorderDocsPages(siteId: $siteId, orders: $orders)
454
+ }
455
+ `,ie=`
456
+ ${T}
457
+ mutation CompileDocsSite($siteId: ID!) {
458
+ compileDocsSite(siteId: $siteId) { ...DocsRevisionFields }
459
+ }
460
+ `,oe=`
461
+ ${T}
462
+ mutation PublishDocsRevision($revisionId: ID!) {
463
+ publishDocsRevision(revisionId: $revisionId) { ...DocsRevisionFields }
464
+ }
465
+ `,ae=`
466
+ ${T}
467
+ mutation RollbackDocsRevision($siteId: ID!, $revisionNumber: Int!) {
468
+ rollbackDocsRevision(siteId: $siteId, revisionNumber: $revisionNumber) {
469
+ ...DocsRevisionFields
470
+ }
471
+ }
472
+ `,se=`
473
+ mutation GenerateDocsSignedUrl($siteId: ID!) {
474
+ generateDocsSignedUrl(siteId: $siteId)
475
+ }
476
+ `;function O(o){let{workspace:n}=o.gql;return {async getSite(t){return (await n.request(Gt,{vibeId:t})).docsSite},async listSites(t,e){return (await n.request(Wt,{filter:t,pagination:e})).docsSites},async createSite(t){return (await n.request(Xt,{input:t})).createDocsSite},async updateSite(t,e){return (await n.request(Yt,{id:t,input:e})).updateDocsSite},async updateSiteVisibility(t,e){return (await n.request(zt,{id:t,visibility:e})).updateDocsSiteVisibility},async deleteSite(t){return (await n.request(Qt,{id:t})).deleteDocsSite},async getPage(t){return (await n.request(Mt,{id:t})).docsPage},async listPages(t,e){return (await n.request(Ht,{siteId:t,filter:e})).docsPages},async createPage(t){return (await n.request(Zt,{input:t})).createDocsPage},async updatePage(t,e){return (await n.request(te,{id:t,input:e})).updateDocsPage},async deletePage(t){return (await n.request(ee,{id:t})).deleteDocsPage},async reorderPages(t,e){return (await n.request(ne,{siteId:t,orders:e})).reorderDocsPages},async getRevision(t){return (await n.request(Kt,{id:t})).docsRevision},async listRevisions(t,e){return (await n.request(Jt,{siteId:t,pagination:e})).docsRevisions},async compileSite(t){return (await n.request(ie,{siteId:t})).compileDocsSite},async publishRevision(t){return (await n.request(oe,{revisionId:t})).publishDocsRevision},async rollbackRevision(t,e){return (await n.request(ae,{siteId:t,revisionNumber:e})).rollbackDocsRevision},async getContent(t,e){return (await n.request(jt,{siteId:t,path:e})).docsContent},async generateSignedUrl(t){return (await n.request(se,{siteId:t})).generateDocsSignedUrl}}}var d=`
477
+ fragment NoteFields on VibecontrolsNote {
478
+ id title content tags isPinned vibeId createdBy metadata
479
+ workspaceId createdAt updatedAt deletedAt
480
+ }
481
+ `,re=`
482
+ ${d}
483
+ query Notes($filter: VibecontrolsNoteFilterInput, $pagination: PaginationInput) {
484
+ notes(filter: $filter, pagination: $pagination) {
485
+ items { ...NoteFields }
486
+ total
487
+ hasMore
488
+ }
489
+ }
490
+ `,ce=`
491
+ ${d}
492
+ query Note($id: ID!) { note(id: $id) { ...NoteFields } }
493
+ `,de=`
494
+ ${d}
495
+ query SearchNotes($query: String!, $vibeId: ID, $limit: Int) {
496
+ searchNotes(query: $query, vibeId: $vibeId, limit: $limit) { ...NoteFields }
497
+ }
498
+ `,ue=`
499
+ ${d}
500
+ query NotesByTags($tags: [String!]!, $vibeId: ID) {
501
+ notesByTags(tags: $tags, vibeId: $vibeId) { ...NoteFields }
502
+ }
503
+ `,le=`
504
+ ${d}
505
+ query PinnedNotes($vibeId: ID) {
506
+ pinnedNotes(vibeId: $vibeId) { ...NoteFields }
507
+ }
508
+ `,pe=`
509
+ ${d}
510
+ mutation CreateNote($input: CreateVibecontrolsNoteInput!) {
511
+ createNote(input: $input) { ...NoteFields }
512
+ }
513
+ `,ge=`
514
+ ${d}
515
+ mutation UpdateNote($id: ID!, $input: UpdateVibecontrolsNoteInput!) {
516
+ updateNote(id: $id, input: $input) { ...NoteFields }
517
+ }
518
+ `,be="mutation DeleteNote($id: ID!) { deleteNote(id: $id) }",Ie=`
519
+ ${d}
520
+ mutation PinNote($id: ID!) { pinNote(id: $id) { ...NoteFields } }
521
+ `,Ae=`
522
+ ${d}
523
+ mutation UnpinNote($id: ID!) { unpinNote(id: $id) { ...NoteFields } }
524
+ `,Se=`
525
+ mutation BulkDeleteNotes($ids: [ID!]!) { bulkDeleteNotes(ids: $ids) }
526
+ `;function U(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(re,{filter:t,pagination:e})).notes},async get(t){return (await n.request(ce,{id:t})).note},async search(t,e,i){return (await n.request(de,{query:t,vibeId:e,limit:i})).searchNotes},async byTags(t,e){return (await n.request(ue,{tags:t,vibeId:e})).notesByTags},async pinned(t){return (await n.request(le,{vibeId:t})).pinnedNotes},async create(t){return (await n.request(pe,{input:t})).createNote},async update(t,e){return (await n.request(ge,{id:t,input:e})).updateNote},async delete(t){return (await n.request(be,{id:t})).deleteNote},async pin(t){return (await n.request(Ie,{id:t})).pinNote},async unpin(t){return (await n.request(Ae,{id:t})).unpinNote},async bulkDelete(t){return (await n.request(Se,{ids:t})).bulkDeleteNotes}}}var A=`
527
+ fragment SandboxFields on Sandbox {
528
+ id name description template mode status
529
+ crdName podName namespace runtimeClass
530
+ containers {
531
+ name image
532
+ ports { containerPort name protocol }
533
+ env { name value }
534
+ command args
535
+ resources { requestsCpu requestsMemory limitsCpu limitsMemory }
536
+ }
537
+ containerStatuses { name ready port restartCount }
538
+ resources { cpuRequest cpuLimit memoryRequest memoryLimit }
539
+ storage { mode sizeGi mountPath retainOnDelete }
540
+ network { exposeService internalUrl containerUrls serviceName }
541
+ ttlSeconds expiresAt metadata errorMessage
542
+ workspaceId context createdBy createdAt updatedAt stoppedAt
543
+ }
544
+ `,k=`
545
+ fragment SandboxTemplateConfigFields on SandboxTemplateConfig {
546
+ id name description template isDefault
547
+ containers {
548
+ name image
549
+ ports { containerPort name protocol }
550
+ env { name value }
551
+ command args
552
+ resources { requestsCpu requestsMemory limitsCpu limitsMemory }
553
+ }
554
+ resources { cpuRequest cpuLimit memoryRequest memoryLimit }
555
+ storage { mode sizeGi mountPath retainOnDelete }
556
+ ttlSeconds config metadata allowedImages
557
+ workspaceId context createdBy createdAt updatedAt
558
+ }
559
+ `,me=`
560
+ ${A}
561
+ query ListSandboxes(
562
+ $filter: SandboxFilterInput
563
+ $pagination: SandboxPaginationInput
564
+ $context: ContextInput!
565
+ ) {
566
+ listSandboxes(filter: $filter, pagination: $pagination, context: $context) {
567
+ items { ...SandboxFields }
568
+ total
569
+ hasMore
570
+ }
571
+ }
572
+ `,De=`
573
+ ${A}
574
+ query GetSandbox($id: ID!, $context: ContextInput!) {
575
+ getSandbox(id: $id, context: $context) { ...SandboxFields }
576
+ }
577
+ `,Te=`
578
+ query GetSandboxLogs(
579
+ $id: ID!
580
+ $containerName: String!
581
+ $tailLines: Int
582
+ $context: ContextInput!
583
+ ) {
584
+ getSandboxLogs(
585
+ id: $id
586
+ containerName: $containerName
587
+ tailLines: $tailLines
588
+ context: $context
589
+ )
590
+ }
591
+ `,$e=`
592
+ query GetSandboxStats($context: ContextInput!) {
593
+ getSandboxStats(context: $context) {
594
+ activeSandboxes totalCreated totalDeleted runningNow provisioningNow
595
+ stoppedNow expiredCount failedCount totalCpuUsed totalMemoryUsed
596
+ }
597
+ }
598
+ `,ye=`
599
+ query GetSandboxConfig($context: ContextInput!) {
600
+ getSandboxConfig(context: $context) {
601
+ id defaultTtlSeconds maxTtlSeconds allowedTemplates
602
+ maxConcurrentPerUser maxConcurrentPerWorkspace
603
+ defaultCpuRequest defaultCpuLimit defaultMemoryRequest defaultMemoryLimit
604
+ workspaceId updatedAt
605
+ }
606
+ }
607
+ `,Ee=`
608
+ ${k}
609
+ query ListSandboxTemplates(
610
+ $template: SandboxTemplate
611
+ $pagination: SandboxPaginationInput
612
+ $context: ContextInput!
613
+ ) {
614
+ listSandboxTemplates(template: $template, pagination: $pagination, context: $context) {
615
+ items { ...SandboxTemplateConfigFields }
616
+ total
617
+ hasMore
618
+ }
619
+ }
620
+ `,Ve=`
621
+ ${k}
622
+ query GetSandboxTemplate($id: ID!, $context: ContextInput!) {
623
+ getSandboxTemplate(id: $id, context: $context) { ...SandboxTemplateConfigFields }
624
+ }
625
+ `,ke=`
626
+ ${A}
627
+ mutation CreateSandbox($input: CreateSandboxInput!) {
628
+ createSandbox(input: $input) { ...SandboxFields }
629
+ }
630
+ `,Ce=`
631
+ mutation DeleteSandbox($id: ID!, $context: ContextInput!) {
632
+ deleteSandbox(id: $id, context: $context)
633
+ }
634
+ `,Pe=`
635
+ ${A}
636
+ mutation StopSandbox($id: ID!, $context: ContextInput!) {
637
+ stopSandbox(id: $id, context: $context) { ...SandboxFields }
638
+ }
639
+ `,xe=`
640
+ ${A}
641
+ mutation StartSandbox($id: ID!, $context: ContextInput!) {
642
+ startSandbox(id: $id, context: $context) { ...SandboxFields }
643
+ }
644
+ `,ve=`
645
+ ${A}
646
+ mutation ExtendSandboxTTL($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {
647
+ extendSandboxTTL(id: $id, additionalSeconds: $additionalSeconds, context: $context) {
648
+ ...SandboxFields
649
+ }
650
+ }
651
+ `,fe=`
652
+ ${k}
653
+ mutation CreateSandboxTemplate($input: CreateSandboxTemplateInput!) {
654
+ createSandboxTemplate(input: $input) { ...SandboxTemplateConfigFields }
655
+ }
656
+ `,Ne=`
657
+ ${k}
658
+ mutation UpdateSandboxTemplate($input: UpdateSandboxTemplateInput!) {
659
+ updateSandboxTemplate(input: $input) { ...SandboxTemplateConfigFields }
660
+ }
661
+ `,_e=`
662
+ mutation DeleteSandboxTemplate($id: ID!, $context: ContextInput!) {
663
+ deleteSandboxTemplate(id: $id, context: $context)
664
+ }
665
+ `,he=`
666
+ mutation UpdateSandboxConfig($input: UpdateSandboxConfigInput!) {
667
+ updateSandboxConfig(input: $input) {
668
+ id defaultTtlSeconds maxTtlSeconds allowedTemplates
669
+ maxConcurrentPerUser maxConcurrentPerWorkspace
670
+ defaultCpuRequest defaultCpuLimit defaultMemoryRequest defaultMemoryLimit
671
+ workspaceId updatedAt
672
+ }
673
+ }
674
+ `;function R(o){let{workspace:n}=o.gql;return {async list(t,e,i){return (await n.request(me,{filter:t,pagination:e,context:i})).listSandboxes},async get(t,e){return (await n.request(De,{id:t,context:e})).getSandbox},async create(t){return (await n.request(ke,{input:t})).createSandbox},async delete(t,e){return (await n.request(Ce,{id:t,context:e})).deleteSandbox},async start(t,e){return (await n.request(xe,{id:t,context:e})).startSandbox},async stop(t,e){return (await n.request(Pe,{id:t,context:e})).stopSandbox},async extendTTL(t,e,i){return (await n.request(ve,{id:t,additionalSeconds:e,context:i})).extendSandboxTTL},async getLogs(t,e,i,a){return (await n.request(Te,{id:t,containerName:e,tailLines:a,context:i})).getSandboxLogs},async getStats(t){return (await n.request($e,{context:t})).getSandboxStats},async getConfig(t){return (await n.request(ye,{context:t})).getSandboxConfig},async updateConfig(t){return (await n.request(he,{input:t})).updateSandboxConfig},async listTemplates(t,e,i){return (await n.request(Ee,{template:e,pagination:i,context:t})).listSandboxTemplates},async getTemplate(t,e){return (await n.request(Ve,{id:t,context:e})).getSandboxTemplate},async createTemplate(t){return (await n.request(fe,{input:t})).createSandboxTemplate},async updateTemplate(t){return (await n.request(Ne,{input:t})).updateSandboxTemplate},async deleteTemplate(t,e){return (await n.request(_e,{id:t,context:e})).deleteSandboxTemplate}}}var l=`
675
+ fragment SessionFields on Session {
676
+ id name type status agentId vibeId workspaceId
677
+ command args workingDirectory environmentVariables
678
+ tmuxSessionName tmuxWindowName metadata
679
+ startedAt stoppedAt createdAt updatedAt deletedAt
680
+ }
681
+ `,we=`
682
+ ${l}
683
+ query Sessions($filter: SessionFilterInput, $pagination: PaginationInput) {
684
+ sessions(filter: $filter, pagination: $pagination) {
685
+ items { ...SessionFields }
686
+ total
687
+ hasMore
688
+ }
689
+ }
690
+ `,Fe=`
691
+ ${l}
692
+ query Session($id: ID!) { session(id: $id) { ...SessionFields } }
693
+ `,qe=`
694
+ ${l}
695
+ mutation CreateSession($input: CreateSessionInput!) {
696
+ createSession(input: $input) { ...SessionFields }
697
+ }
698
+ `,Le=`
699
+ ${l}
700
+ mutation UpdateSession($id: ID!, $input: UpdateSessionInput!) {
701
+ updateSession(id: $id, input: $input) { ...SessionFields }
702
+ }
703
+ `,Oe="mutation DeleteSession($id: ID!) { deleteSession(id: $id) }",Ue=`
704
+ ${l}
705
+ mutation UpdateSessionStatus($id: ID!, $status: VibecontrolsSessionStatus!) {
706
+ updateSessionStatus(id: $id, status: $status) { ...SessionFields }
707
+ }
708
+ `,Re=`
709
+ ${l}
710
+ mutation StartSession($id: ID!) { startSession(id: $id) { ...SessionFields } }
711
+ `,Be=`
712
+ ${l}
713
+ mutation StopSession($id: ID!) { stopSession(id: $id) { ...SessionFields } }
714
+ `,Ge="mutation KillSession($id: ID!) { killSession(id: $id) }";function B(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(we,{filter:t,pagination:e})).sessions},async get(t){return (await n.request(Fe,{id:t})).session},async create(t){return (await n.request(qe,{input:t})).createSession},async update(t,e){return (await n.request(Le,{id:t,input:e})).updateSession},async delete(t){return (await n.request(Oe,{id:t})).deleteSession},async updateStatus(t,e){return (await n.request(Ue,{id:t,status:e})).updateSessionStatus},async start(t){return (await n.request(Re,{id:t})).startSession},async stop(t){return (await n.request(Be,{id:t})).stopSession},async kill(t){return (await n.request(Ge,{id:t})).killSession}}}var S=`
715
+ fragment TargetFields on Target {
716
+ id name type host port username status workspaceId createdAt updatedAt
717
+ }
718
+ `,P=`
719
+ fragment AgentConnectionFields on AgentConnection {
720
+ id sourceAgentId targetId protocol status permissions createdAt updatedAt
721
+ }
722
+ `,We=`
723
+ ${S}
724
+ query Targets($workspaceId: ID!, $filter: TargetFilterInput, $limit: Int, $offset: Int) {
725
+ targets(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset) {
726
+ items { ...TargetFields }
727
+ total
728
+ hasMore
729
+ }
730
+ }
731
+ `,Me=`
732
+ ${S}
733
+ query Target($id: ID!) { target(id: $id) { ...TargetFields } }
734
+ `,He=`
735
+ ${S}
736
+ ${P}
737
+ query AgentGraph($workspaceId: ID!, $rootAgentId: ID) {
738
+ agentGraph(workspaceId: $workspaceId, rootAgentId: $rootAgentId) {
739
+ agents {
740
+ id name hostname platform architecture version
741
+ tunnelUrl tunnelStatus apiUrl agentApiKey appId appClientId
742
+ capabilities configuration isActive lastHeartbeat metadata
743
+ workspaceId createdAt updatedAt deletedAt
744
+ }
745
+ connections { ...AgentConnectionFields }
746
+ }
747
+ }
748
+ `,Ke=`
749
+ ${S}
750
+ mutation CreateTarget($workspaceId: ID!, $input: CreateTargetInput!) {
751
+ createTarget(workspaceId: $workspaceId, input: $input) { ...TargetFields }
752
+ }
753
+ `,Je=`
754
+ ${S}
755
+ mutation UpdateTarget($id: ID!, $input: UpdateTargetInput!) {
756
+ updateTarget(id: $id, input: $input) { ...TargetFields }
757
+ }
758
+ `,je="mutation DeleteTarget($id: ID!) { deleteTarget(id: $id) }",Xe=`
759
+ mutation TestTarget($id: ID!) {
760
+ testTarget(id: $id) { success error latencyMs }
761
+ }
762
+ `,Ye=`
763
+ query ScanSSHConfig($agentId: ID!, $configPath: String) {
764
+ scanSSHConfig(agentId: $agentId, configPath: $configPath) {
765
+ name host port username type
766
+ }
767
+ }
768
+ `,ze=`
769
+ ${S}
770
+ mutation ImportTargetsFromConfig(
771
+ $agentId: ID!, $hosts: [ImportTargetHostInput!]!, $workspaceId: ID!
772
+ ) {
773
+ importTargetsFromConfig(agentId: $agentId, hosts: $hosts, workspaceId: $workspaceId) {
774
+ ...TargetFields
775
+ }
776
+ }
777
+ `,Qe=`
778
+ mutation InstallAgentOnTarget($sourceAgentId: ID!, $targetId: ID!, $agentPort: Int) {
779
+ installAgentOnTarget(
780
+ sourceAgentId: $sourceAgentId, targetId: $targetId, agentPort: $agentPort
781
+ ) { success error }
782
+ }
783
+ `,Ze=`
784
+ mutation UninstallAgentFromTarget($targetId: ID!) {
785
+ uninstallAgentFromTarget(targetId: $targetId) { success error }
786
+ }
787
+ `,tn=`
788
+ mutation StartTerminal($targetId: ID!, $shell: String) {
789
+ startTerminal(targetId: $targetId, shell: $shell) { sessionId ttydUrl }
790
+ }
791
+ `,en="mutation StopTerminal($sessionId: ID!) { stopTerminal(sessionId: $sessionId) }",nn=`
792
+ ${P}
793
+ mutation ConnectAgentToTarget($sourceAgentId: ID!, $targetId: ID!, $protocol: String!) {
794
+ connectAgentToTarget(sourceAgentId: $sourceAgentId, targetId: $targetId, protocol: $protocol) {
795
+ ...AgentConnectionFields
796
+ }
797
+ }
798
+ `,on=`
799
+ mutation DisconnectAgentFromTarget($connectionId: ID!) {
800
+ disconnectAgentFromTarget(connectionId: $connectionId)
801
+ }
802
+ `,an=`
803
+ ${P}
804
+ mutation UpdateConnectionPermissions(
805
+ $connectionId: ID!, $input: UpdateConnectionPermissionsInput!
806
+ ) {
807
+ updateConnectionPermissions(connectionId: $connectionId, input: $input) {
808
+ ...AgentConnectionFields
809
+ }
810
+ }
811
+ `,sn=`
812
+ mutation GenerateAgentGraphContextUrl($workspaceId: ID!, $expiresInMinutes: Int) {
813
+ generateAgentGraphContextUrl(workspaceId: $workspaceId, expiresInMinutes: $expiresInMinutes)
814
+ }
815
+ `;function G(o){let{workspace:n}=o.gql;return {async list(t,e,i,a){return (await n.request(We,{workspaceId:t,filter:e,limit:i,offset:a})).targets},async get(t){return (await n.request(Me,{id:t})).target},async getAgentGraph(t,e){return (await n.request(He,{workspaceId:t,rootAgentId:e})).agentGraph},async create(t,e){return (await n.request(Ke,{workspaceId:t,input:e})).createTarget},async update(t,e){return (await n.request(Je,{id:t,input:e})).updateTarget},async delete(t){return (await n.request(je,{id:t})).deleteTarget},async test(t){return (await n.request(Xe,{id:t})).testTarget},async scanSSHConfig(t,e){return (await n.request(Ye,{agentId:t,configPath:e})).scanSSHConfig},async importFromConfig(t,e,i){return (await n.request(ze,{agentId:t,hosts:e,workspaceId:i})).importTargetsFromConfig},async installAgent(t,e,i){return (await n.request(Qe,{sourceAgentId:t,targetId:e,agentPort:i})).installAgentOnTarget},async uninstallAgent(t){return (await n.request(Ze,{targetId:t})).uninstallAgentFromTarget},async startTerminal(t,e){return (await n.request(tn,{targetId:t,shell:e})).startTerminal},async stopTerminal(t){return (await n.request(en,{sessionId:t})).stopTerminal},async connectAgent(t,e,i){return (await n.request(nn,{sourceAgentId:t,targetId:e,protocol:i})).connectAgentToTarget},async disconnectAgent(t){return (await n.request(on,{connectionId:t})).disconnectAgentFromTarget},async updateConnectionPermissions(t,e){return (await n.request(an,{connectionId:t,input:e})).updateConnectionPermissions},async generateGraphContextUrl(t,e){return (await n.request(sn,{workspaceId:t,expiresInMinutes:e})).generateAgentGraphContextUrl}}}var rn=`
816
+ query VibecontrolsAgentTunnels {
817
+ vibecontrolsAgentTunnels {
818
+ items { id agentId tunnelUrl status provider createdAt metadata }
819
+ total
820
+ }
821
+ }
822
+ `,cn=`
823
+ mutation CreateAgentTunnel($input: CreateAgentTunnelInput!) {
824
+ createAgentTunnel(input: $input) {
825
+ id agentId tunnelUrl status provider createdAt metadata
826
+ }
827
+ }
828
+ `,dn=`
829
+ mutation StopAgentTunnel($agentId: ID!, $tunnelId: ID!) {
830
+ stopAgentTunnel(agentId: $agentId, tunnelId: $tunnelId)
831
+ }
832
+ `,un=`
833
+ mutation DeleteAgentTunnel($agentId: ID!, $tunnelId: ID!) {
834
+ deleteAgentTunnel(agentId: $agentId, tunnelId: $tunnelId)
835
+ }
836
+ `;function W(o){let{workspace:n}=o.gql;return {async list(){return (await n.request(rn)).vibecontrolsAgentTunnels},async create(t){return (await n.request(cn,{input:t})).createAgentTunnel},async stop(t,e){return (await n.request(dn,{agentId:t,tunnelId:e})).stopAgentTunnel},async delete(t,e){return (await n.request(un,{agentId:t,tunnelId:e})).deleteAgentTunnel}}}var p=`
837
+ fragment UISessionFields on UISession {
838
+ id userId state activeVibeId activeSessionId
839
+ recentVibes recentSessions workspaceId createdAt updatedAt
840
+ }
841
+ `,ln=`
842
+ ${p}
843
+ query UISession { uiSession { ...UISessionFields } }
844
+ `,pn=`
845
+ ${p}
846
+ query UISessionById($id: ID!) { uiSessionById(id: $id) { ...UISessionFields } }
847
+ `,gn=`
848
+ ${p}
849
+ mutation SaveUISession($input: SaveUISessionInput!) {
850
+ saveUISession(input: $input) { ...UISessionFields }
851
+ }
852
+ `,bn="mutation ClearUISession { clearUISession }",In=`
853
+ ${p}
854
+ mutation UpdateActiveVibe($vibeId: ID) {
855
+ updateActiveVibe(vibeId: $vibeId) { ...UISessionFields }
856
+ }
857
+ `,An=`
858
+ ${p}
859
+ mutation UpdateActiveSession($sessionId: ID) {
860
+ updateActiveSession(sessionId: $sessionId) { ...UISessionFields }
861
+ }
862
+ `,Sn=`
863
+ ${p}
864
+ mutation AddRecentVibe($vibeId: ID!) {
865
+ addRecentVibe(vibeId: $vibeId) { ...UISessionFields }
866
+ }
867
+ `,mn=`
868
+ ${p}
869
+ mutation AddRecentSession($sessionId: ID!) {
870
+ addRecentSession(sessionId: $sessionId) { ...UISessionFields }
871
+ }
872
+ `;function M(o){let{workspace:n}=o.gql;return {async getCurrent(){return (await n.request(ln)).uiSession},async getById(t){return (await n.request(pn,{id:t})).uiSessionById},async save(t){return (await n.request(gn,{input:t})).saveUISession},async clear(){return (await n.request(bn)).clearUISession},async updateActiveVibe(t){return (await n.request(In,{vibeId:t??null})).updateActiveVibe},async updateActiveSession(t){return (await n.request(An,{sessionId:t??null})).updateActiveSession},async addRecentVibe(t){return (await n.request(Sn,{vibeId:t})).addRecentVibe},async addRecentSession(t){return (await n.request(mn,{sessionId:t})).addRecentSession}}}var g=`
873
+ fragment VibeDeckFields on VibeDeck {
874
+ id name description isDefault workspaceId createdAt updatedAt
875
+ }
876
+ `,$=`
877
+ fragment VibeDeckButtonFields on VibeDeckButton {
878
+ id vibeDeckId label icon actionType actionId
879
+ action { id name actionType }
880
+ command script webhookUrl row column color category tags
881
+ confirmationRequired keyboardShortcut style sortOrder
882
+ createdAt updatedAt
883
+ }
884
+ `,Dn=`
885
+ ${g}
886
+ query VibeDecks($filter: VibeDeckFilterInput, $pagination: PaginationInput) {
887
+ vibeDecks(filter: $filter, pagination: $pagination) {
888
+ items { ...VibeDeckFields }
889
+ total
890
+ hasMore
891
+ }
892
+ }
893
+ `,Tn=`
894
+ ${g}
895
+ query VibeDeck($id: ID!) { vibeDeck(id: $id) { ...VibeDeckFields } }
896
+ `,$n=`
897
+ ${g}
898
+ query DefaultVibeDeck { defaultVibeDeck { ...VibeDeckFields } }
899
+ `,yn=`
900
+ ${$}
901
+ query VibeDeckButtons($filter: VibeDeckButtonFilterInput, $pagination: PaginationInput) {
902
+ vibeDeckButtons(filter: $filter, pagination: $pagination) {
903
+ items { ...VibeDeckButtonFields }
904
+ total
905
+ hasMore
906
+ }
907
+ }
908
+ `,En=`
909
+ ${$}
910
+ query VibeDeckButton($id: ID!) { vibeDeckButton(id: $id) { ...VibeDeckButtonFields } }
911
+ `,Vn=`
912
+ ${g}
913
+ mutation CreateVibeDeck($input: CreateVibeDeckInput!) {
914
+ createVibeDeck(input: $input) { ...VibeDeckFields }
915
+ }
916
+ `,kn=`
917
+ ${g}
918
+ mutation UpdateVibeDeck($id: ID!, $input: UpdateVibeDeckInput!) {
919
+ updateVibeDeck(id: $id, input: $input) { ...VibeDeckFields }
920
+ }
921
+ `,Cn="mutation DeleteVibeDeck($id: ID!) { deleteVibeDeck(id: $id) }",Pn=`
922
+ ${g}
923
+ mutation SetDefaultVibeDeck($id: ID!) {
924
+ setDefaultVibeDeck(id: $id) { ...VibeDeckFields }
925
+ }
926
+ `,xn=`
927
+ ${g}
928
+ mutation DuplicateVibeDeck($id: ID!) {
929
+ duplicateVibeDeck(id: $id) { ...VibeDeckFields }
930
+ }
931
+ `,vn=`
932
+ ${$}
933
+ mutation CreateVibeDeckButton($input: CreateVibeDeckButtonInput!) {
934
+ createVibeDeckButton(input: $input) { ...VibeDeckButtonFields }
935
+ }
936
+ `,fn=`
937
+ ${$}
938
+ mutation UpdateVibeDeckButton($id: ID!, $input: UpdateVibeDeckButtonInput!) {
939
+ updateVibeDeckButton(id: $id, input: $input) { ...VibeDeckButtonFields }
940
+ }
941
+ `,Nn=`
942
+ mutation DeleteVibeDeckButton($id: ID!) { deleteVibeDeckButton(id: $id) }
943
+ `,_n=`
944
+ ${$}
945
+ mutation MoveVibeDeckButton($id: ID!, $input: MoveVibeDeckButtonInput!) {
946
+ moveVibeDeckButton(id: $id, input: $input) { ...VibeDeckButtonFields }
947
+ }
948
+ `,hn=`
949
+ mutation ReorderVibeDeckButtons($vibeDeckId: ID!, $positions: [VibeDeckButtonPositionInput!]!) {
950
+ reorderVibeDeckButtons(vibeDeckId: $vibeDeckId, positions: $positions)
951
+ }
952
+ `,wn=`
953
+ mutation ExecuteVibeDeckButton($id: ID!) {
954
+ executeVibeDeckButton(id: $id) { success output error }
955
+ }
956
+ `;function H(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Dn,{filter:t,pagination:e})).vibeDecks},async get(t){return (await n.request(Tn,{id:t})).vibeDeck},async getDefault(){return (await n.request($n)).defaultVibeDeck},async create(t){return (await n.request(Vn,{input:t})).createVibeDeck},async update(t,e){return (await n.request(kn,{id:t,input:e})).updateVibeDeck},async delete(t){return (await n.request(Cn,{id:t})).deleteVibeDeck},async setDefault(t){return (await n.request(Pn,{id:t})).setDefaultVibeDeck},async duplicate(t){return (await n.request(xn,{id:t})).duplicateVibeDeck},async listButtons(t,e){return (await n.request(yn,{filter:t,pagination:e})).vibeDeckButtons},async getButton(t){return (await n.request(En,{id:t})).vibeDeckButton},async createButton(t){return (await n.request(vn,{input:t})).createVibeDeckButton},async updateButton(t,e){return (await n.request(fn,{id:t,input:e})).updateVibeDeckButton},async deleteButton(t){return (await n.request(Nn,{id:t})).deleteVibeDeckButton},async moveButton(t,e){return (await n.request(_n,{id:t,input:e})).moveVibeDeckButton},async reorderButtons(t,e){return (await n.request(hn,{vibeDeckId:t,positions:e})).reorderVibeDeckButtons},async executeButton(t){return (await n.request(wn,{id:t})).executeVibeDeckButton}}}var c=`
957
+ fragment VibeFields on Vibe {
958
+ id name description path type status agentId parentId
959
+ gitBranch gitRemote gitStatus environmentVariables tags metadata
960
+ workspaceId archivedAt createdAt updatedAt deletedAt
961
+ }
962
+ `,Fn=`
963
+ ${c}
964
+ query Vibes($filter: VibeFilterInput, $pagination: PaginationInput) {
965
+ vibes(filter: $filter, pagination: $pagination) {
966
+ items { ...VibeFields }
967
+ total
968
+ hasMore
969
+ }
970
+ }
971
+ `,qn=`
972
+ ${c}
973
+ query Vibe($id: ID!) { vibe(id: $id) { ...VibeFields } }
974
+ `,Ln=`
975
+ ${c}
976
+ mutation CreateVibe($input: CreateVibeInput!) { createVibe(input: $input) { ...VibeFields } }
977
+ `,On=`
978
+ ${c}
979
+ mutation UpdateVibe($id: ID!, $input: UpdateVibeInput!) {
980
+ updateVibe(id: $id, input: $input) { ...VibeFields }
981
+ }
982
+ `,Un="mutation DeleteVibe($id: ID!) { deleteVibe(id: $id) }",Rn=`
983
+ ${c}
984
+ mutation UpdateVibeStatus($id: ID!, $status: VibeStatus!) {
985
+ updateVibeStatus(id: $id, status: $status) { ...VibeFields }
986
+ }
987
+ `,Bn=`
988
+ ${c}
989
+ mutation ArchiveVibe($id: ID!) { archiveVibe(id: $id) { ...VibeFields } }
990
+ `,Gn=`
991
+ ${c}
992
+ mutation RestoreVibe($id: ID!) { restoreVibe(id: $id) { ...VibeFields } }
993
+ `,Wn=`
994
+ ${c}
995
+ mutation MoveVibe($id: ID!, $newParentId: ID) {
996
+ moveVibe(id: $id, newParentId: $newParentId) { ...VibeFields }
997
+ }
998
+ `,Mn=`
999
+ ${c}
1000
+ query VibeHierarchy($rootId: ID) {
1001
+ vibeHierarchy(rootId: $rootId) { ...VibeFields children { ...VibeFields } }
1002
+ }
1003
+ `,Hn=`
1004
+ ${c}
1005
+ query SearchVibes($query: String!, $limit: Int) {
1006
+ searchVibes(query: $query, limit: $limit) { ...VibeFields }
1007
+ }
1008
+ `,Kn=`
1009
+ ${c}
1010
+ mutation UpdateVibeGit($id: ID!, $gitBranch: String, $gitRemote: String, $gitStatus: JSON) {
1011
+ updateVibeGit(id: $id, gitBranch: $gitBranch, gitRemote: $gitRemote, gitStatus: $gitStatus) {
1012
+ ...VibeFields
1013
+ }
1014
+ }
1015
+ `;function K(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Fn,{filter:t,pagination:e})).vibes},async get(t){return (await n.request(qn,{id:t})).vibe},async create(t){return (await n.request(Ln,{input:t})).createVibe},async update(t,e){return (await n.request(On,{id:t,input:e})).updateVibe},async delete(t){return (await n.request(Un,{id:t})).deleteVibe},async updateStatus(t,e){return (await n.request(Rn,{id:t,status:e})).updateVibeStatus},async archive(t){return (await n.request(Bn,{id:t})).archiveVibe},async restore(t){return (await n.request(Gn,{id:t})).restoreVibe},async move(t,e){return (await n.request(Wn,{id:t,newParentId:e??null})).moveVibe},async hierarchy(t){return (await n.request(Mn,{rootId:t})).vibeHierarchy},async search(t,e){return (await n.request(Hn,{query:t,limit:e})).searchVibes},async updateGit(t,e){return (await n.request(Kn,{id:t,...e})).updateVibeGit}}}var b=`
1016
+ fragment WebhookFields on Webhook {
1017
+ id name url events agentIds isActive
1018
+ signingKey retryPolicy deliveryCount failureCount
1019
+ lastDelivery lastError
1020
+ workspaceId createdAt updatedAt deletedAt
1021
+ }
1022
+ `,x=`
1023
+ fragment WebhookDeliveryFields on WebhookDelivery {
1024
+ id webhookId event payload statusCode response error
1025
+ attemptCount deliveredAt createdAt
1026
+ }
1027
+ `,Jn=`
1028
+ ${b}
1029
+ query Webhooks($filter: WebhookFilterInput, $pagination: PaginationInput) {
1030
+ webhooks(filter: $filter, pagination: $pagination) {
1031
+ items { ...WebhookFields }
1032
+ total
1033
+ hasMore
1034
+ }
1035
+ }
1036
+ `,jn=`
1037
+ ${b}
1038
+ query Webhook($id: ID!) { webhook(id: $id) { ...WebhookFields } }
1039
+ `,Xn=`
1040
+ ${b}
1041
+ query WebhooksByEvent($event: String!) {
1042
+ webhooksByEvent(event: $event) { ...WebhookFields }
1043
+ }
1044
+ `,Yn=`
1045
+ ${b}
1046
+ query ActiveWebhooks { activeWebhooks { ...WebhookFields } }
1047
+ `,zn=`
1048
+ ${x}
1049
+ query WebhookDeliveries($webhookId: ID!, $pagination: PaginationInput) {
1050
+ webhookDeliveries(webhookId: $webhookId, pagination: $pagination) {
1051
+ items { ...WebhookDeliveryFields }
1052
+ total
1053
+ hasMore
1054
+ }
1055
+ }
1056
+ `,Qn=`
1057
+ ${b}
1058
+ mutation CreateWebhook($input: CreateWebhookInput!) {
1059
+ createWebhook(input: $input) { ...WebhookFields }
1060
+ }
1061
+ `,Zn=`
1062
+ ${b}
1063
+ mutation UpdateWebhook($id: ID!, $input: UpdateWebhookInput!) {
1064
+ updateWebhook(id: $id, input: $input) { ...WebhookFields }
1065
+ }
1066
+ `,ti="mutation DeleteWebhook($id: ID!) { deleteWebhook(id: $id) }",ei=`
1067
+ ${x}
1068
+ mutation TestWebhook($id: ID!) {
1069
+ testWebhook(id: $id) { ...WebhookDeliveryFields }
1070
+ }
1071
+ `,ni=`
1072
+ ${x}
1073
+ mutation TriggerWebhook($id: ID!, $payload: JSON!) {
1074
+ triggerWebhook(id: $id, payload: $payload) { ...WebhookDeliveryFields }
1075
+ }
1076
+ `,ii=`
1077
+ ${b}
1078
+ mutation ResetWebhookFailures($id: ID!) {
1079
+ resetWebhookFailures(id: $id) { ...WebhookFields }
1080
+ }
1081
+ `;function J(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Jn,{filter:t,pagination:e})).webhooks},async get(t){return (await n.request(jn,{id:t})).webhook},async byEvent(t){return (await n.request(Xn,{event:t})).webhooksByEvent},async active(){return (await n.request(Yn)).activeWebhooks},async create(t){return (await n.request(Qn,{input:t})).createWebhook},async update(t,e){return (await n.request(Zn,{id:t,input:e})).updateWebhook},async delete(t){return (await n.request(ti,{id:t})).deleteWebhook},async testDelivery(t){return (await n.request(ei,{id:t})).testWebhook},async trigger(t,e){return (await n.request(ni,{id:t,payload:e})).triggerWebhook},async resetFailures(t){return (await n.request(ii,{id:t})).resetWebhookFailures},async listDeliveries(t,e){return (await n.request(zn,{webhookId:t,pagination:e})).webhookDeliveries}}}var oi={id:"vibecontrols",version:"1.0.0",displayName:"VibeControls",attach(o){return {vibes:K(o),sessions:B(o),agents:_(o),notes:U(o),targets:G(o),tunnels:W(o),vibeDecks:H(o),actions:N(o),audit:q(o),analytics:w(o),uiSession:M(o),configuration:L(o),sandboxes:R(o),docs:O(o),aiToolEvents:h(o),webhooks:J(o)}}},Zi=oi;export{Zi as default};