@burdenoff/sdk-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/modules/billing/index.cjs +46 -32
- package/dist/modules/billing/index.d.cts +19 -14
- package/dist/modules/billing/index.d.ts +19 -14
- package/dist/modules/billing/index.js +46 -32
- package/dist/modules/conversations/index.cjs +318 -39
- package/dist/modules/conversations/index.d.cts +255 -12
- package/dist/modules/conversations/index.d.ts +255 -12
- package/dist/modules/conversations/index.js +315 -36
- package/dist/modules/devportal/index.cjs +63 -48
- package/dist/modules/devportal/index.d.cts +84 -15
- package/dist/modules/devportal/index.d.ts +84 -15
- package/dist/modules/devportal/index.js +63 -48
- package/dist/modules/export/index.cjs +69 -15
- package/dist/modules/export/index.d.cts +59 -1
- package/dist/modules/export/index.d.ts +59 -1
- package/dist/modules/export/index.js +69 -15
- package/dist/modules/integrations/index.cjs +132 -16
- package/dist/modules/integrations/index.d.cts +109 -1
- package/dist/modules/integrations/index.d.ts +109 -1
- package/dist/modules/integrations/index.js +132 -16
- package/dist/modules/scheduler/index.cjs +194 -18
- package/dist/modules/scheduler/index.d.cts +193 -1
- package/dist/modules/scheduler/index.d.ts +193 -1
- package/dist/modules/scheduler/index.js +194 -18
- package/dist/modules/store/index.cjs +76 -54
- package/dist/modules/store/index.d.cts +101 -54
- package/dist/modules/store/index.d.ts +101 -54
- package/dist/modules/store/index.js +70 -48
- package/dist/modules/vibecontrols/index.cjs +1247 -289
- package/dist/modules/vibecontrols/index.d.cts +1603 -5
- package/dist/modules/vibecontrols/index.d.ts +1603 -5
- package/dist/modules/vibecontrols/index.js +1253 -295
- package/dist/modules/workspaces/index.cjs +19 -15
- package/dist/modules/workspaces/index.d.cts +54 -28
- package/dist/modules/workspaces/index.d.ts +54 -28
- package/dist/modules/workspaces/index.js +19 -15
- package/package.json +3 -3
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var m=`
|
|
2
2
|
fragment ActionFields on Action {
|
|
3
3
|
id name description actionType sourceType triggerType
|
|
4
4
|
command script webhookUrl workflowDefinition configuration
|
|
5
5
|
tags isActive storeItemId storeVersion metadata
|
|
6
6
|
workspaceId createdAt updatedAt deletedAt
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
`,V=`
|
|
9
9
|
fragment ActionExecutionFields on ActionExecution {
|
|
10
10
|
id actionId status input output error
|
|
11
11
|
startedAt completedAt durationMs triggeredBy metadata
|
|
12
12
|
workspaceId createdAt updatedAt
|
|
13
13
|
}
|
|
14
|
-
`,
|
|
14
|
+
`,H=`
|
|
15
15
|
fragment ScheduledJobFields on ScheduledJob {
|
|
16
16
|
id name scheduleType status actionId
|
|
17
17
|
cronExpression timezone scheduledAt
|
|
18
18
|
interval intervalUnit startDate endDate
|
|
19
19
|
nextExecutionAt lastExecutionAt priority tags
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
22
|
-
${
|
|
21
|
+
`,xt=`
|
|
22
|
+
${m}
|
|
23
23
|
query Actions($filter: ActionFilterInput, $pagination: PaginationInput) {
|
|
24
24
|
actions(filter: $filter, pagination: $pagination) {
|
|
25
25
|
items { ...ActionFields }
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
hasMore
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
31
|
-
${
|
|
30
|
+
`,ft=`
|
|
31
|
+
${m}
|
|
32
32
|
query Action($id: ID!) { action(id: $id) { ...ActionFields } }
|
|
33
|
-
`,
|
|
34
|
-
${
|
|
33
|
+
`,Rt=`
|
|
34
|
+
${V}
|
|
35
35
|
query ActionExecutions($filter: ActionExecutionFilterInput, $pagination: PaginationInput) {
|
|
36
36
|
actionExecutions(filter: $filter, pagination: $pagination) {
|
|
37
37
|
items { ...ActionExecutionFields }
|
|
@@ -39,48 +39,91 @@
|
|
|
39
39
|
hasMore
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
`,
|
|
43
|
-
${
|
|
42
|
+
`,ht=`
|
|
43
|
+
${V}
|
|
44
44
|
query ActionExecution($id: ID!) { actionExecution(id: $id) { ...ActionExecutionFields } }
|
|
45
|
-
`,
|
|
46
|
-
${
|
|
45
|
+
`,_t=`
|
|
46
|
+
${m}
|
|
47
47
|
mutation CreateAction($input: CreateActionInput!) {
|
|
48
48
|
createAction(input: $input) { ...ActionFields }
|
|
49
49
|
}
|
|
50
|
-
`,
|
|
51
|
-
${
|
|
50
|
+
`,Nt=`
|
|
51
|
+
${m}
|
|
52
52
|
mutation UpdateAction($id: ID!, $input: UpdateActionInput!) {
|
|
53
53
|
updateAction(id: $id, input: $input) { ...ActionFields }
|
|
54
54
|
}
|
|
55
|
-
`,
|
|
56
|
-
${
|
|
55
|
+
`,wt="mutation DeleteAction($id: ID!) { deleteAction(id: $id) }",Lt=`
|
|
56
|
+
${m}
|
|
57
57
|
mutation DuplicateAction($id: ID!, $name: String) {
|
|
58
58
|
duplicateAction(id: $id, name: $name) { ...ActionFields }
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
61
|
-
${
|
|
60
|
+
`,Ft=`
|
|
61
|
+
${V}
|
|
62
62
|
mutation ExecuteAction($id: ID!, $input: ExecuteActionInput) {
|
|
63
63
|
executeAction(id: $id, input: $input) { ...ActionExecutionFields }
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
66
|
-
${
|
|
65
|
+
`,qt=`
|
|
66
|
+
${m}
|
|
67
67
|
mutation InstallActionFromStore($storeItemId: String!, $version: String, $name: String) {
|
|
68
68
|
installActionFromStore(storeItemId: $storeItemId, version: $version, name: $name) {
|
|
69
69
|
...ActionFields
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
73
|
-
${
|
|
72
|
+
`,Ut=`
|
|
73
|
+
${V}
|
|
74
74
|
mutation CancelActionExecution($id: ID!) {
|
|
75
75
|
cancelActionExecution(id: $id) { ...ActionExecutionFields }
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
78
|
-
${
|
|
77
|
+
`,Ot=`
|
|
78
|
+
${H}
|
|
79
79
|
mutation CreateScheduledJob($input: CreateScheduledJobInput!) {
|
|
80
80
|
createScheduledJob(input: $input) { ...ScheduledJobFields }
|
|
81
81
|
}
|
|
82
|
-
`,
|
|
83
|
-
|
|
82
|
+
`,Bt="mutation DeleteScheduledJob($id: ID!) { deleteScheduledJob(id: $id) }",b=`
|
|
83
|
+
fragment AiPromptFields on AiPrompt {
|
|
84
|
+
id name description content category status isShared
|
|
85
|
+
tags variables metadata createdBy onBehalfOf updatedBy
|
|
86
|
+
workspaceId usageCount lastUsedAt
|
|
87
|
+
createdAt updatedAt deletedAt
|
|
88
|
+
}
|
|
89
|
+
`,Gt=`
|
|
90
|
+
${b}
|
|
91
|
+
query AiPrompts($filter: AIPromptFilterInput, $pagination: PaginationInput) {
|
|
92
|
+
aiPrompts(filter: $filter, pagination: $pagination) {
|
|
93
|
+
items { ...AiPromptFields }
|
|
94
|
+
total
|
|
95
|
+
hasMore
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`,Mt=`
|
|
99
|
+
${b}
|
|
100
|
+
query AiPrompt($id: ID!) { aiPrompt(id: $id) { ...AiPromptFields } }
|
|
101
|
+
`,Wt=`
|
|
102
|
+
${b}
|
|
103
|
+
mutation CreateAIPrompt($input: CreateAIPromptInput!) {
|
|
104
|
+
createAIPrompt(input: $input) { ...AiPromptFields }
|
|
105
|
+
}
|
|
106
|
+
`,Ht=`
|
|
107
|
+
${b}
|
|
108
|
+
mutation UpdateAIPrompt($id: ID!, $input: UpdateAIPromptInput!) {
|
|
109
|
+
updateAIPrompt(id: $id, input: $input) { ...AiPromptFields }
|
|
110
|
+
}
|
|
111
|
+
`,Kt="mutation DeleteAIPrompt($id: ID!) { deleteAIPrompt(id: $id) }",Jt=`
|
|
112
|
+
${b}
|
|
113
|
+
mutation DuplicateAIPrompt($id: ID!, $name: String!) {
|
|
114
|
+
duplicateAIPrompt(id: $id, name: $name) { ...AiPromptFields }
|
|
115
|
+
}
|
|
116
|
+
`,jt=`
|
|
117
|
+
mutation RenderAIPrompt($id: ID!, $variables: JSON) {
|
|
118
|
+
renderAIPrompt(id: $id, variables: $variables) { promptId rendered }
|
|
119
|
+
}
|
|
120
|
+
`,Xt=`
|
|
121
|
+
${b}
|
|
122
|
+
mutation RecordAIPromptUsage($id: ID!) {
|
|
123
|
+
recordAIPromptUsage(id: $id) { ...AiPromptFields }
|
|
124
|
+
}
|
|
125
|
+
`,Yt=`
|
|
126
|
+
${H}
|
|
84
127
|
query ScheduledJobs($filter: JobFilterInput, $pagination: SchedulerPaginationInput) {
|
|
85
128
|
scheduledJobs(filter: $filter, pagination: $pagination) {
|
|
86
129
|
jobs { ...ScheduledJobFields }
|
|
@@ -88,7 +131,7 @@
|
|
|
88
131
|
hasMore
|
|
89
132
|
}
|
|
90
133
|
}
|
|
91
|
-
`;function
|
|
134
|
+
`;function K(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(xt,{filter:t,pagination:e})).actions},async get(t){return (await n.request(ft,{id:t})).action},async create(t){return (await n.request(_t,{input:t})).createAction},async update(t,e){return (await n.request(Nt,{id:t,input:e})).updateAction},async delete(t){return (await n.request(wt,{id:t})).deleteAction},async duplicate(t,e){return (await n.request(Lt,{id:t,name:e})).duplicateAction},async execute(t,e){return (await n.request(Ft,{id:t,input:e})).executeAction},async installFromStore(t,e,i){return (await n.request(qt,{storeItemId:t,version:e,name:i})).installActionFromStore},async listExecutions(t,e){return (await n.request(Rt,{filter:t,pagination:e})).actionExecutions},async getExecution(t){return (await n.request(ht,{id:t})).actionExecution},async cancelExecution(t){return (await n.request(Ut,{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(Ot,{input:i})).createScheduledJob},async unscheduleAction(t){return (await n.request(Bt,{id:t})).deleteScheduledJob},async listSchedules(t,e){return (await n.request(Yt,{filter:t,pagination:e})).scheduledJobs},aiPrompts:{async list(t,e){return (await n.request(Gt,{filter:t,pagination:e})).aiPrompts},async get(t){return (await n.request(Mt,{id:t})).aiPrompt},async create(t){return (await n.request(Wt,{input:t})).createAIPrompt},async update(t,e){return (await n.request(Ht,{id:t,input:e})).updateAIPrompt},async delete(t){return (await n.request(Kt,{id:t})).deleteAIPrompt},async duplicate(t,e){return (await n.request(Jt,{id:t,name:e})).duplicateAIPrompt},async render(t,e){return (await n.request(jt,{id:t,variables:e})).renderAIPrompt},async recordUsage(t){return (await n.request(Xt,{id:t})).recordAIPromptUsage}}}}var p=`
|
|
92
135
|
fragment AgentFields on VibecontrolsAgent {
|
|
93
136
|
id name hostname platform architecture version
|
|
94
137
|
tunnelUrl tunnelStatus apiUrl agentApiKey
|
|
@@ -96,58 +139,58 @@
|
|
|
96
139
|
isActive lastHeartbeat metadata workspaceId
|
|
97
140
|
createdAt updatedAt deletedAt
|
|
98
141
|
}
|
|
99
|
-
`,
|
|
100
|
-
${
|
|
142
|
+
`,zt=`
|
|
143
|
+
${p}
|
|
101
144
|
query VibecontrolsAgents($filter: VibecontrolsAgentFilterInput) {
|
|
102
145
|
vibecontrolsAgents(filter: $filter) { ...AgentFields }
|
|
103
146
|
}
|
|
104
|
-
`,
|
|
105
|
-
${
|
|
147
|
+
`,Qt=`
|
|
148
|
+
${p}
|
|
106
149
|
query VibecontrolsAgent($id: ID!) { vibecontrolsAgent(id: $id) { ...AgentFields } }
|
|
107
|
-
`,
|
|
108
|
-
${
|
|
150
|
+
`,Zt=`
|
|
151
|
+
${p}
|
|
109
152
|
mutation CreateVibecontrolsAgent($input: CreateVibecontrolsAgentInput!) {
|
|
110
153
|
createVibecontrolsAgent(input: $input) { ...AgentFields }
|
|
111
154
|
}
|
|
112
|
-
`,
|
|
113
|
-
${
|
|
155
|
+
`,te=`
|
|
156
|
+
${p}
|
|
114
157
|
mutation RegisterVibecontrolsAgent($input: CreateVibecontrolsAgentInput!) {
|
|
115
158
|
registerVibecontrolsAgent(input: $input) { ...AgentFields }
|
|
116
159
|
}
|
|
117
|
-
`,
|
|
118
|
-
${
|
|
160
|
+
`,ee=`
|
|
161
|
+
${p}
|
|
119
162
|
mutation UpdateVibecontrolsAgent($id: ID!, $input: UpdateVibecontrolsAgentInput!) {
|
|
120
163
|
updateVibecontrolsAgent(id: $id, input: $input) { ...AgentFields }
|
|
121
164
|
}
|
|
122
|
-
`,
|
|
123
|
-
${
|
|
165
|
+
`,ne="mutation DeleteVibecontrolsAgent($id: ID!) { deleteVibecontrolsAgent(id: $id) }",ie=`
|
|
166
|
+
${p}
|
|
124
167
|
mutation DeactivateVibecontrolsAgent($id: ID!) {
|
|
125
168
|
deactivateVibecontrolsAgent(id: $id) { ...AgentFields }
|
|
126
169
|
}
|
|
127
|
-
`,
|
|
128
|
-
${
|
|
170
|
+
`,oe=`
|
|
171
|
+
${p}
|
|
129
172
|
mutation VibecontrolsAgentHeartbeat($id: ID!) {
|
|
130
173
|
vibecontrolsAgentHeartbeat(id: $id) { ...AgentFields }
|
|
131
174
|
}
|
|
132
|
-
`,
|
|
175
|
+
`,ae=`
|
|
133
176
|
query VibecontrolsAgentHealthProbes {
|
|
134
177
|
vibecontrolsAgentHealthProbes {
|
|
135
178
|
agentId agentName isHealthy reachable latencyMs error lastHeartbeat
|
|
136
179
|
}
|
|
137
180
|
}
|
|
138
|
-
`,
|
|
181
|
+
`,se=`
|
|
139
182
|
query ProbeAgentConnection($id: ID!) {
|
|
140
183
|
probeAgentConnection(id: $id) {
|
|
141
184
|
agentId reachable latencyMs error version tunnelUrl
|
|
142
185
|
}
|
|
143
186
|
}
|
|
144
|
-
`,
|
|
187
|
+
`,re=`
|
|
145
188
|
query ProbeAgentTunnel($url: String!, $agentApiKey: String) {
|
|
146
189
|
probeAgentTunnel(url: $url, agentApiKey: $agentApiKey) {
|
|
147
190
|
agentId reachable latencyMs error version tunnelUrl
|
|
148
191
|
}
|
|
149
192
|
}
|
|
150
|
-
`,
|
|
193
|
+
`,ce=`
|
|
151
194
|
query AgentPlugins($agentId: ID!) {
|
|
152
195
|
agentPlugins(agentId: $agentId) {
|
|
153
196
|
agentId
|
|
@@ -155,30 +198,30 @@
|
|
|
155
198
|
total
|
|
156
199
|
}
|
|
157
200
|
}
|
|
158
|
-
`,
|
|
201
|
+
`,de=`
|
|
159
202
|
mutation InstallAgentPlugin($agentId: ID!, $packageName: String!) {
|
|
160
203
|
installAgentPlugin(agentId: $agentId, packageName: $packageName) {
|
|
161
204
|
success message
|
|
162
205
|
plugin { name packageName version description isActive tags metadata }
|
|
163
206
|
}
|
|
164
207
|
}
|
|
165
|
-
`,
|
|
208
|
+
`,ue=`
|
|
166
209
|
mutation RemoveAgentPlugin($agentId: ID!, $packageName: String!) {
|
|
167
210
|
removeAgentPlugin(agentId: $agentId, packageName: $packageName) {
|
|
168
211
|
success message
|
|
169
212
|
plugin { name packageName version description isActive tags metadata }
|
|
170
213
|
}
|
|
171
214
|
}
|
|
172
|
-
|
|
215
|
+
`,le=`
|
|
173
216
|
mutation PushAgentGatewayAuth($input: PushAgentGatewayAuthInput!) {
|
|
174
217
|
pushAgentGatewayAuth(input: $input)
|
|
175
218
|
}
|
|
176
|
-
`;function
|
|
219
|
+
`;function J(o){let{workspace:n}=o.gql;return {async list(t){let e=await n.request(zt,{filter:t});return {items:e.vibecontrolsAgents,total:e.vibecontrolsAgents.length,hasMore:false}},async get(t){return (await n.request(Qt,{id:t})).vibecontrolsAgent},async create(t){return (await n.request(Zt,{input:t})).createVibecontrolsAgent},async register(t){return (await n.request(te,{input:t})).registerVibecontrolsAgent},async update(t,e){return (await n.request(ee,{id:t,input:e})).updateVibecontrolsAgent},async delete(t){return (await n.request(ne,{id:t})).deleteVibecontrolsAgent},async deactivate(t){return (await n.request(ie,{id:t})).deactivateVibecontrolsAgent},async heartbeat(t){return (await n.request(oe,{id:t})).vibecontrolsAgentHeartbeat},async healthProbes(){return (await n.request(ae)).vibecontrolsAgentHealthProbes},async probeConnection(t){return (await n.request(se,{id:t})).probeAgentConnection},async probeTunnel(t,e){return (await n.request(re,{url:t,agentApiKey:e})).probeAgentTunnel},async listPlugins(t){return (await n.request(ce,{agentId:t})).agentPlugins},async installPlugin(t,e){return (await n.request(de,{agentId:t,packageName:e})).installAgentPlugin},async removePlugin(t,e){return (await n.request(ue,{agentId:t,packageName:e})).removeAgentPlugin},async pushGatewayAuth(t){return (await n.request(le,{input:t})).pushAgentGatewayAuth}}}var k=`
|
|
177
220
|
fragment AiToolEventFields on AiToolEvent {
|
|
178
221
|
id source eventType payload agentId workspaceId createdAt
|
|
179
222
|
}
|
|
180
|
-
`,
|
|
181
|
-
${
|
|
223
|
+
`,pe=`
|
|
224
|
+
${k}
|
|
182
225
|
query AiToolEvents($filter: AiToolEventFilterInput, $pagination: PaginationInput) {
|
|
183
226
|
aiToolEvents(filter: $filter, pagination: $pagination) {
|
|
184
227
|
items { ...AiToolEventFields }
|
|
@@ -186,24 +229,24 @@
|
|
|
186
229
|
hasMore
|
|
187
230
|
}
|
|
188
231
|
}
|
|
189
|
-
`,
|
|
190
|
-
${
|
|
232
|
+
`,Se=`
|
|
233
|
+
${k}
|
|
191
234
|
query AiToolEvent($id: ID!) { aiToolEvent(id: $id) { ...AiToolEventFields } }
|
|
192
|
-
`,
|
|
193
|
-
${
|
|
235
|
+
`,ge=`
|
|
236
|
+
${k}
|
|
194
237
|
query RecentAiToolEvents($agentId: ID!, $limit: Int) {
|
|
195
238
|
recentAiToolEvents(agentId: $agentId, limit: $limit) { ...AiToolEventFields }
|
|
196
239
|
}
|
|
197
|
-
`,
|
|
198
|
-
${
|
|
240
|
+
`,Ie=`
|
|
241
|
+
${k}
|
|
199
242
|
mutation CreateAiToolEvent($input: CreateAiToolEventInput!) {
|
|
200
243
|
createAiToolEvent(input: $input) { ...AiToolEventFields }
|
|
201
244
|
}
|
|
202
|
-
`,
|
|
245
|
+
`,me=`
|
|
203
246
|
mutation DeleteOldAiToolEvents($beforeDate: String!) {
|
|
204
247
|
deleteOldAiToolEvents(beforeDate: $beforeDate)
|
|
205
248
|
}
|
|
206
|
-
`;function
|
|
249
|
+
`;function j(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(pe,{filter:t,pagination:e})).aiToolEvents},async get(t){return (await n.request(Se,{id:t})).aiToolEvent},async recent(t,e){return (await n.request(ge,{agentId:t,limit:e})).recentAiToolEvents},async create(t){return (await n.request(Ie,{input:t})).createAiToolEvent},async deleteOld(t){return (await n.request(me,{beforeDate:t})).deleteOldAiToolEvents}}}var w=`
|
|
207
250
|
query VibecontrolsAnalytics($input: VibecontrolsAnalyticsInput!) {
|
|
208
251
|
vibecontrolsAnalytics(input: $input) {
|
|
209
252
|
agents {
|
|
@@ -274,14 +317,14 @@
|
|
|
274
317
|
cached
|
|
275
318
|
}
|
|
276
319
|
}
|
|
277
|
-
`;function
|
|
320
|
+
`;function X(o){let{workspace:n}=o.gql;return {async get(t){return (await n.request(w,{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(w,{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(w,{input:i})).vibecontrolsAnalytics}}}var Y=`
|
|
278
321
|
fragment AuditLogFields on VibeAuditLog {
|
|
279
322
|
id action resourceType resourceId actorId actorType
|
|
280
323
|
status description ipAddress userAgent requestId
|
|
281
324
|
workspaceId createdAt
|
|
282
325
|
}
|
|
283
|
-
`,
|
|
284
|
-
${
|
|
326
|
+
`,be=`
|
|
327
|
+
${Y}
|
|
285
328
|
query VibeAuditLogs($filter: VibeAuditLogFilterInput, $pagination: PaginationInput) {
|
|
286
329
|
vibeAuditLogs(filter: $filter, pagination: $pagination) {
|
|
287
330
|
items { ...AuditLogFields }
|
|
@@ -289,10 +332,10 @@
|
|
|
289
332
|
hasMore
|
|
290
333
|
}
|
|
291
334
|
}
|
|
292
|
-
`,
|
|
293
|
-
${
|
|
335
|
+
`,Ae=`
|
|
336
|
+
${Y}
|
|
294
337
|
query VibeAuditLog($id: ID!) { vibeAuditLog(id: $id) { ...AuditLogFields } }
|
|
295
|
-
`,
|
|
338
|
+
`,Te=`
|
|
296
339
|
query VibeAuditLogStats($filter: VibeAuditLogFilterInput) {
|
|
297
340
|
vibeAuditLogStats(filter: $filter) {
|
|
298
341
|
totalLogs
|
|
@@ -301,25 +344,398 @@
|
|
|
301
344
|
logsByStatus { status count }
|
|
302
345
|
}
|
|
303
346
|
}
|
|
304
|
-
`,
|
|
347
|
+
`,ye=`
|
|
305
348
|
mutation DeleteVibeAuditLog($id: ID!, $reason: String) {
|
|
306
349
|
deleteVibeAuditLog(id: $id, reason: $reason)
|
|
307
350
|
}
|
|
308
|
-
|
|
351
|
+
`,$e=`
|
|
309
352
|
mutation BulkDeleteVibeAuditLogs($ids: [ID!]!, $reason: String) {
|
|
310
353
|
bulkDeleteVibeAuditLogs(ids: $ids, reason: $reason)
|
|
311
354
|
}
|
|
312
|
-
`,
|
|
355
|
+
`,De=`
|
|
313
356
|
mutation ExportVibeAuditLogs($filter: VibeAuditLogFilterInput, $format: String) {
|
|
314
357
|
exportVibeAuditLogs(filter: $filter, format: $format)
|
|
315
358
|
}
|
|
316
|
-
`;function
|
|
359
|
+
`;function z(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(be,{filter:t,pagination:e})).vibeAuditLogs},async get(t){return (await n.request(Ae,{id:t})).vibeAuditLog},async stats(t){return (await n.request(Te,{filter:t})).vibeAuditLogStats},async delete(t,e){return (await n.request(ye,{id:t,reason:e})).deleteVibeAuditLog},async bulkDelete(t,e){return (await n.request($e,{ids:t,reason:e})).bulkDeleteVibeAuditLogs},async export(t,e){return (await n.request(De,{filter:t,format:e})).exportVibeAuditLogs}}}var v=`
|
|
360
|
+
fragment CatalogFields on VibecontrolsCatalog {
|
|
361
|
+
id name description visibility
|
|
362
|
+
ownerId ownerName componentCount vibeCount
|
|
363
|
+
tags metadata workspaceId
|
|
364
|
+
createdAt updatedAt deletedAt
|
|
365
|
+
createdBy updatedBy onBehalfOf
|
|
366
|
+
}
|
|
367
|
+
`,Ee=`
|
|
368
|
+
${v}
|
|
369
|
+
query VibecontrolsCatalogs($filter: CatalogFilterInput, $pagination: PaginationInput) {
|
|
370
|
+
vibecontrolsCatalogs(filter: $filter, pagination: $pagination) {
|
|
371
|
+
items { ...CatalogFields }
|
|
372
|
+
total
|
|
373
|
+
hasMore
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
`,Pe=`
|
|
377
|
+
${v}
|
|
378
|
+
query VibecontrolsCatalog($id: ID!) {
|
|
379
|
+
vibecontrolsCatalog(id: $id) { ...CatalogFields }
|
|
380
|
+
}
|
|
381
|
+
`,Ce=`
|
|
382
|
+
query VibecontrolsCatalogDependencyGraph($catalogId: ID!) {
|
|
383
|
+
vibecontrolsCatalogDependencyGraph(catalogId: $catalogId) {
|
|
384
|
+
nodes { id name type version }
|
|
385
|
+
edges { source target version dependencyType }
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
`,Ve=`
|
|
389
|
+
query VibecontrolsCatalogSBOM($catalogId: ID!) {
|
|
390
|
+
vibecontrolsCatalogSBOM(catalogId: $catalogId) {
|
|
391
|
+
format generatedAt totalCount
|
|
392
|
+
components { name version type license }
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
`,ke=`
|
|
396
|
+
${v}
|
|
397
|
+
mutation CreateVibecontrolsCatalog($input: CreateCatalogInput!) {
|
|
398
|
+
createVibecontrolsCatalog(input: $input) { ...CatalogFields }
|
|
399
|
+
}
|
|
400
|
+
`,ve=`
|
|
401
|
+
${v}
|
|
402
|
+
mutation UpdateVibecontrolsCatalog($id: ID!, $input: UpdateCatalogInput!) {
|
|
403
|
+
updateVibecontrolsCatalog(id: $id, input: $input) { ...CatalogFields }
|
|
404
|
+
}
|
|
405
|
+
`,xe="mutation DeleteVibecontrolsCatalog($id: ID!) { deleteVibecontrolsCatalog(id: $id) }",fe=`
|
|
406
|
+
fragment CatalogComponentFields on VibecontrolsCatalogComponent {
|
|
407
|
+
id catalogId componentId addedAt addedBy metadata workspaceId
|
|
408
|
+
}
|
|
409
|
+
`,Re=`
|
|
410
|
+
${fe}
|
|
411
|
+
mutation AddComponentToVibecontrolsCatalog($catalogId: ID!, $componentId: ID!) {
|
|
412
|
+
addComponentToVibecontrolsCatalog(catalogId: $catalogId, componentId: $componentId) {
|
|
413
|
+
...CatalogComponentFields
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
`,he=`
|
|
417
|
+
mutation RemoveComponentFromVibecontrolsCatalog($catalogId: ID!, $componentId: ID!) {
|
|
418
|
+
removeComponentFromVibecontrolsCatalog(catalogId: $catalogId, componentId: $componentId)
|
|
419
|
+
}
|
|
420
|
+
`,_e=`
|
|
421
|
+
fragment CatalogVibeFields on VibecontrolsCatalogVibe {
|
|
422
|
+
id catalogId vibeId addedAt addedBy metadata workspaceId
|
|
423
|
+
}
|
|
424
|
+
`,Ne=`
|
|
425
|
+
${_e}
|
|
426
|
+
mutation AddVibeToVibecontrolsCatalog($catalogId: ID!, $vibeId: ID!) {
|
|
427
|
+
addVibeToVibecontrolsCatalog(catalogId: $catalogId, vibeId: $vibeId) {
|
|
428
|
+
...CatalogVibeFields
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
`,we=`
|
|
432
|
+
mutation RemoveVibeFromVibecontrolsCatalog($catalogId: ID!, $vibeId: ID!) {
|
|
433
|
+
removeVibeFromVibecontrolsCatalog(catalogId: $catalogId, vibeId: $vibeId)
|
|
434
|
+
}
|
|
435
|
+
`;function Q(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Ee,{filter:t,pagination:e})).vibecontrolsCatalogs},async get(t){return (await n.request(Pe,{id:t})).vibecontrolsCatalog},async dependencyGraph(t){return (await n.request(Ce,{catalogId:t})).vibecontrolsCatalogDependencyGraph},async sbom(t){return (await n.request(Ve,{catalogId:t})).vibecontrolsCatalogSBOM},async create(t){return (await n.request(ke,{input:t})).createVibecontrolsCatalog},async update(t,e){return (await n.request(ve,{id:t,input:e})).updateVibecontrolsCatalog},async delete(t){return (await n.request(xe,{id:t})).deleteVibecontrolsCatalog},async addComponent(t,e){return (await n.request(Re,{catalogId:t,componentId:e})).addComponentToVibecontrolsCatalog},async removeComponent(t,e){return (await n.request(he,{catalogId:t,componentId:e})).removeComponentFromVibecontrolsCatalog},async addVibe(t,e){return (await n.request(Ne,{catalogId:t,vibeId:e})).addVibeToVibecontrolsCatalog},async removeVibe(t,e){return (await n.request(we,{catalogId:t,vibeId:e})).removeVibeFromVibecontrolsCatalog}}}var x=`
|
|
436
|
+
fragment ComponentFields on VibecontrolsComponent {
|
|
437
|
+
id name description type lifecycle version
|
|
438
|
+
language framework repositoryUrl documentationUrl
|
|
439
|
+
dependencies sbomData tags metadata
|
|
440
|
+
ownerId ownerName teamId teamName catalogCount
|
|
441
|
+
workspaceId createdAt updatedAt deletedAt
|
|
442
|
+
}
|
|
443
|
+
`,Le=`
|
|
444
|
+
${x}
|
|
445
|
+
query VibecontrolsComponents($filter: ComponentFilterInput, $pagination: PaginationInput) {
|
|
446
|
+
vibecontrolsComponents(filter: $filter, pagination: $pagination) {
|
|
447
|
+
items { ...ComponentFields }
|
|
448
|
+
total
|
|
449
|
+
hasMore
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
`,Fe=`
|
|
453
|
+
${x}
|
|
454
|
+
query VibecontrolsComponent($id: ID!) {
|
|
455
|
+
vibecontrolsComponent(id: $id) { ...ComponentFields }
|
|
456
|
+
}
|
|
457
|
+
`,qe=`
|
|
458
|
+
${x}
|
|
459
|
+
mutation CreateVibecontrolsComponent($input: CreateComponentInput!) {
|
|
460
|
+
createVibecontrolsComponent(input: $input) { ...ComponentFields }
|
|
461
|
+
}
|
|
462
|
+
`,Ue=`
|
|
463
|
+
${x}
|
|
464
|
+
mutation UpdateVibecontrolsComponent($id: ID!, $input: UpdateComponentInput!) {
|
|
465
|
+
updateVibecontrolsComponent(id: $id, input: $input) { ...ComponentFields }
|
|
466
|
+
}
|
|
467
|
+
`,Oe="mutation DeleteVibecontrolsComponent($id: ID!) { deleteVibecontrolsComponent(id: $id) }",Be=`
|
|
468
|
+
mutation ForkVibecontrolsGitHubRepo($input: VibecontrolsForkGitHubRepoInput!) {
|
|
469
|
+
forkVibecontrolsGitHubRepo(input: $input) {
|
|
470
|
+
isForked repoFullName repoUrl
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
`,Ge=`
|
|
474
|
+
mutation PublishVibecontrolsComponentAsTemplate(
|
|
475
|
+
$componentId: ID!
|
|
476
|
+
$input: VibecontrolsPublishTemplateInput!
|
|
477
|
+
) {
|
|
478
|
+
publishVibecontrolsComponentAsTemplate(componentId: $componentId, input: $input) {
|
|
479
|
+
id name description category status version
|
|
480
|
+
setupInstructions sourceRepositoryUrl fileTree variables componentSnapshot
|
|
481
|
+
cloneCount tags metadata createdAt updatedAt
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
`;function Z(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Le,{filter:t,pagination:e})).vibecontrolsComponents},async get(t){return (await n.request(Fe,{id:t})).vibecontrolsComponent},async create(t){return (await n.request(qe,{input:t})).createVibecontrolsComponent},async update(t,e){return (await n.request(Ue,{id:t,input:e})).updateVibecontrolsComponent},async delete(t){return (await n.request(Oe,{id:t})).deleteVibecontrolsComponent},async forkGitHubRepo(t){return (await n.request(Be,{input:t})).forkVibecontrolsGitHubRepo},async publishAsTemplate(t,e){return (await n.request(Ge,{componentId:t,input:e})).publishVibecontrolsComponentAsTemplate}}}var Me="summary { critical high medium low info }",L=`
|
|
485
|
+
id workspaceId vibeId scanRunId fingerprint
|
|
486
|
+
category severity status ruleId title description
|
|
487
|
+
file line col cve cwe packageName packageVersion fixedVersion
|
|
488
|
+
remediation redactedSample ownerTeam
|
|
489
|
+
firstSeenAt lastSeenAt dueAt
|
|
490
|
+
`,We=`
|
|
491
|
+
id workspaceId scanRunId type sha256 sizeBytes
|
|
492
|
+
s3Bucket s3Key retentionDays uploadedAt downloadUrl
|
|
493
|
+
`,A=`
|
|
494
|
+
id workspaceId vibeId agentId createdBy providerName
|
|
495
|
+
stage status conclusion policyLevel repoUrl commit
|
|
496
|
+
durationMs errorReason startedAt finishedAt createdAt
|
|
497
|
+
${Me}
|
|
498
|
+
findings { ${L} }
|
|
499
|
+
evidence { ${We} }
|
|
500
|
+
`,tt=`
|
|
501
|
+
id workspaceId providerName pluginName stage toolVersion
|
|
502
|
+
enabled isDefault config createdAt updatedAt
|
|
503
|
+
`,et=`
|
|
504
|
+
id workspaceId vibeId policyLevel enabledStages
|
|
505
|
+
pluginAssignments profile configYamlEquivalent
|
|
506
|
+
createdAt updatedAt
|
|
507
|
+
`,He=`
|
|
508
|
+
query SecurityProviders { securityProviders { ${tt} } }
|
|
509
|
+
`,Ke=`
|
|
510
|
+
query SecurityScan($id: ID!) {
|
|
511
|
+
securityScan(id: $id) { ${A} }
|
|
512
|
+
}
|
|
513
|
+
`,Je=`
|
|
514
|
+
query MySecurityScans($filter: SecurityScanFilterInput, $pagination: SecurityPaginationInput) {
|
|
515
|
+
mySecurityScans(filter: $filter, pagination: $pagination) {
|
|
516
|
+
items { ${A} }
|
|
517
|
+
total hasMore
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
`,je=`
|
|
521
|
+
query AllSecurityScans($filter: SecurityScanFilterInput, $pagination: SecurityPaginationInput) {
|
|
522
|
+
allSecurityScans(filter: $filter, pagination: $pagination) {
|
|
523
|
+
items { ${A} }
|
|
524
|
+
total hasMore
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
`,Xe=`
|
|
528
|
+
query SecurityFindings($filter: SecurityFindingFilterInput, $pagination: SecurityPaginationInput) {
|
|
529
|
+
securityFindings(filter: $filter, pagination: $pagination) {
|
|
530
|
+
items { ${L} }
|
|
531
|
+
total hasMore
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
`,Ye=`
|
|
535
|
+
query SecurityPolicyDecision($scanRunId: ID!) {
|
|
536
|
+
securityPolicyDecision(scanRunId: $scanRunId) {
|
|
537
|
+
scanRunId allow denyReasons policyVersion evaluatedAt
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
`,ze=`
|
|
541
|
+
query SecurityStatus($vibeId: ID!) {
|
|
542
|
+
securityStatus(vibeId: $vibeId) {
|
|
543
|
+
vibeId policyLevel perStage lastScanAt
|
|
544
|
+
totals { critical high medium low info }
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
`,Qe=`
|
|
548
|
+
query RepositorySecurityConfig($vibeId: ID!) {
|
|
549
|
+
repositorySecurityConfig(vibeId: $vibeId) { ${et} }
|
|
550
|
+
}
|
|
551
|
+
`,Ze=`
|
|
552
|
+
mutation RunSecurityScan($vibeId: ID!, $stage: SecurityStage!) {
|
|
553
|
+
runSecurityScan(vibeId: $vibeId, stage: $stage) { ${A} }
|
|
554
|
+
}
|
|
555
|
+
`,tn=`
|
|
556
|
+
mutation CancelSecurityScan($id: ID!) {
|
|
557
|
+
cancelSecurityScan(id: $id) { ${A} }
|
|
558
|
+
}
|
|
559
|
+
`,en=`
|
|
560
|
+
mutation CreateSecurityException($input: CreateSecurityExceptionInput!) {
|
|
561
|
+
createSecurityException(input: $input) {
|
|
562
|
+
id workspaceId vibeId findingId reason compensatingControls
|
|
563
|
+
approvedBy expiresAt status createdAt
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
`,nn=`
|
|
567
|
+
mutation RevokeSecurityException($id: ID!) {
|
|
568
|
+
revokeSecurityException(id: $id)
|
|
569
|
+
}
|
|
570
|
+
`,on=`
|
|
571
|
+
mutation PushSecurityScanRun($input: PushSecurityScanRunInput!) {
|
|
572
|
+
pushSecurityScanRun(input: $input) { ${A} }
|
|
573
|
+
}
|
|
574
|
+
`,an=`
|
|
575
|
+
mutation SetSecurityProvider($input: SetSecurityProviderInput!) {
|
|
576
|
+
setSecurityProvider(input: $input) { ${tt} }
|
|
577
|
+
}
|
|
578
|
+
`,sn=`
|
|
579
|
+
mutation UpdateSecurityFindingStatus($id: ID!, $status: SecurityFindingStatus!) {
|
|
580
|
+
updateSecurityFindingStatus(id: $id, status: $status) { ${L} }
|
|
581
|
+
}
|
|
582
|
+
`,rn=`
|
|
583
|
+
mutation UpdateRepositorySecurityConfig(
|
|
584
|
+
$vibeId: ID!,
|
|
585
|
+
$input: UpdateRepositorySecurityConfigInput!
|
|
586
|
+
) {
|
|
587
|
+
updateRepositorySecurityConfig(vibeId: $vibeId, input: $input) { ${et} }
|
|
588
|
+
}
|
|
589
|
+
`,cn=`
|
|
590
|
+
mutation PresignSecurityEvidence(
|
|
591
|
+
$scanRunId: ID!,
|
|
592
|
+
$sha256: String!,
|
|
593
|
+
$sizeBytes: Int!,
|
|
594
|
+
$type: SecurityEvidenceType!
|
|
595
|
+
) {
|
|
596
|
+
presignSecurityEvidence(
|
|
597
|
+
scanRunId: $scanRunId, sha256: $sha256, sizeBytes: $sizeBytes, type: $type
|
|
598
|
+
) {
|
|
599
|
+
evidenceId uploadUrl method requiredHeaders s3Bucket s3Key expiresAt
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
`;function nt(o){let{workspace:n}=o.gql;return {async providers(){return (await n.request(He)).securityProviders},async scan(t){return (await n.request(Ke,{id:t})).securityScan},async myScans(t,e){return (await n.request(Je,{filter:t,pagination:e})).mySecurityScans},async allScans(t,e){return (await n.request(je,{filter:t,pagination:e})).allSecurityScans},async findings(t,e){return (await n.request(Xe,{filter:t,pagination:e})).securityFindings},async policyDecision(t){return (await n.request(Ye,{scanRunId:t})).securityPolicyDecision},async status(t){return (await n.request(ze,{vibeId:t})).securityStatus},async repositoryConfig(t){return (await n.request(Qe,{vibeId:t})).repositorySecurityConfig},async runScan(t,e){return (await n.request(Ze,{vibeId:t,stage:e})).runSecurityScan},async cancelScan(t){return (await n.request(tn,{id:t})).cancelSecurityScan},async createException(t){return (await n.request(en,{input:t})).createSecurityException},async revokeException(t){return (await n.request(nn,{id:t})).revokeSecurityException},async pushScanRun(t){return (await n.request(on,{input:t})).pushSecurityScanRun},async setProvider(t){return (await n.request(an,{input:t})).setSecurityProvider},async updateFindingStatus(t,e){return (await n.request(sn,{id:t,status:e})).updateSecurityFindingStatus},async updateRepositoryConfig(t,e){return (await n.request(rn,{vibeId:t,input:e})).updateRepositorySecurityConfig},async presignEvidence(t,e,i,a){return (await n.request(cn,{scanRunId:t,sha256:e,sizeBytes:i,type:a})).presignSecurityEvidence}}}var F=`
|
|
603
|
+
id status conclusion workflowName branch event actor url
|
|
604
|
+
startedAt completedAt durationSeconds
|
|
605
|
+
`,it=`
|
|
606
|
+
recentRuns { ${F} }
|
|
607
|
+
workflows { id name path state }
|
|
608
|
+
averageDurationSeconds successRate totalRunsLast30Days
|
|
609
|
+
`,dn=`
|
|
610
|
+
${F}
|
|
611
|
+
commitSha commitMessage
|
|
612
|
+
jobs { id name status conclusion startedAt completedAt durationSeconds }
|
|
613
|
+
`,ot=`
|
|
614
|
+
name fullName owner description defaultBranch visibility
|
|
615
|
+
isArchived isFork diskUsageKb stargazerCount watcherCount forkCount
|
|
616
|
+
openIssues openPullRequests dependabotAlerts languages license
|
|
617
|
+
createdAt updatedAt pushedAt
|
|
618
|
+
contributors { login contributions avatarUrl }
|
|
619
|
+
commitActivity { week total additions deletions }
|
|
620
|
+
pullRequests {
|
|
621
|
+
number title state author url createdAt updatedAt
|
|
622
|
+
isDraft labels reviewers
|
|
623
|
+
}
|
|
624
|
+
`,un=`
|
|
625
|
+
query GetCIStatus($providerId: ID!, $agentId: ID!, $limit: Int) {
|
|
626
|
+
getCIStatus(providerId: $providerId, agentId: $agentId, limit: $limit) {
|
|
627
|
+
${it}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
`,ln=`
|
|
631
|
+
query GetCIPipelineRuns($providerId: ID!, $agentId: ID!, $branch: String, $limit: Int) {
|
|
632
|
+
getCIPipelineRuns(providerId: $providerId, agentId: $agentId, branch: $branch, limit: $limit) {
|
|
633
|
+
${F}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
`,pn=`
|
|
637
|
+
query GetCIPipelineDetails($providerId: ID!, $agentId: ID!, $runId: ID!) {
|
|
638
|
+
getCIPipelineDetails(providerId: $providerId, agentId: $agentId, runId: $runId) {
|
|
639
|
+
${dn}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
`,Sn=`
|
|
643
|
+
query GetRepoStats($providerId: ID!, $agentId: ID!) {
|
|
644
|
+
getRepoStats(providerId: $providerId, agentId: $agentId) { ${ot} }
|
|
645
|
+
}
|
|
646
|
+
`,gn=`
|
|
647
|
+
mutation RefreshCIStatus($providerId: ID!, $agentId: ID!) {
|
|
648
|
+
refreshCIStatus(providerId: $providerId, agentId: $agentId) { ${it} }
|
|
649
|
+
}
|
|
650
|
+
`,In=`
|
|
651
|
+
mutation RefreshRepoStats($providerId: ID!, $agentId: ID!) {
|
|
652
|
+
refreshRepoStats(providerId: $providerId, agentId: $agentId) { ${ot} }
|
|
653
|
+
}
|
|
654
|
+
`;function at(o){let{workspace:n}=o.gql;return {async getStatus(t,e,i){return (await n.request(un,{providerId:t,agentId:e,limit:i})).getCIStatus},async getPipelineRuns(t,e,i){return (await n.request(ln,{providerId:t,agentId:e,branch:i?.branch,limit:i?.limit})).getCIPipelineRuns},async getPipelineDetails(t,e,i){return (await n.request(pn,{providerId:t,agentId:e,runId:i})).getCIPipelineDetails},async getRepoStats(t,e){return (await n.request(Sn,{providerId:t,agentId:e})).getRepoStats},async refreshStatus(t,e){return (await n.request(gn,{providerId:t,agentId:e})).refreshCIStatus},async refreshRepoStats(t,e){return (await n.request(In,{providerId:t,agentId:e})).refreshRepoStats}}}var f=`
|
|
655
|
+
id workspaceId createdBy name providerType repoUrl
|
|
656
|
+
isActive vibeId metadata
|
|
657
|
+
context { workspaceId userId appId custom }
|
|
658
|
+
createdAt updatedAt deletedAt
|
|
659
|
+
`,mn=`
|
|
660
|
+
query ListGitopsProviders($filter: GitopsProviderFilterInput, $pagination: PaginationInput) {
|
|
661
|
+
listGitopsProviders(filter: $filter, pagination: $pagination) {
|
|
662
|
+
items { ${f} }
|
|
663
|
+
total hasMore
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
`,bn=`
|
|
667
|
+
query GetGitopsProvider($id: ID!) {
|
|
668
|
+
getGitopsProvider(id: $id) { ${f} }
|
|
669
|
+
}
|
|
670
|
+
`,An=`
|
|
671
|
+
mutation CreateGitopsProvider($input: CreateGitopsProviderInput!) {
|
|
672
|
+
createGitopsProvider(input: $input) { ${f} }
|
|
673
|
+
}
|
|
674
|
+
`,Tn=`
|
|
675
|
+
mutation UpdateGitopsProvider($id: ID!, $input: UpdateGitopsProviderInput!) {
|
|
676
|
+
updateGitopsProvider(id: $id, input: $input) { ${f} }
|
|
677
|
+
}
|
|
678
|
+
`,yn=`
|
|
679
|
+
mutation DeleteGitopsProvider($id: ID!) {
|
|
680
|
+
deleteGitopsProvider(id: $id)
|
|
681
|
+
}
|
|
682
|
+
`;function st(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(mn,{filter:t,pagination:e})).listGitopsProviders},async get(t){return (await n.request(bn,{id:t})).getGitopsProvider},async create(t){return (await n.request(An,{input:t})).createGitopsProvider},async update(t,e){return (await n.request(Tn,{id:t,input:e})).updateGitopsProvider},async delete(t){return (await n.request(yn,{id:t})).deleteGitopsProvider}}}var rt=`
|
|
683
|
+
theme uiDensity sidebarCollapsed codeFont codeFontSize
|
|
684
|
+
preferredIdeCommand defaultAgentForVibe vibeIdeOverrides vibeDetailTabOrder
|
|
685
|
+
`,ct=`
|
|
686
|
+
emailDigest digestFrequency agentOffline sessionError vibeStatusChange
|
|
687
|
+
`,dt=`
|
|
688
|
+
defaultAgent defaultSessionType defaultVibeType defaultEnvironmentVariables
|
|
689
|
+
autoStartSessions autoGitSync agentHeartbeatInterval agentMaxSessions
|
|
690
|
+
agentAutoReconnect autoUpdate telemetryEnabled logLevel
|
|
691
|
+
`,$n=`
|
|
692
|
+
preferences { ${rt} }
|
|
693
|
+
notifications { ${ct} }
|
|
694
|
+
workspaceDefaults { ${dt} }
|
|
695
|
+
profile { displayName avatar bio language timezone }
|
|
696
|
+
security { mfaEnabled sessionTimeout activeSessions }
|
|
697
|
+
`,ut="id key value isSecret createdAt updatedAt",Dn=`query MySettings { mySettings { ${$n} } }`,En=`
|
|
698
|
+
query MySettingsByCategory($category: SettingsCategory!) {
|
|
699
|
+
mySettingsByCategory(category: $category)
|
|
700
|
+
}
|
|
701
|
+
`,Pn=`
|
|
702
|
+
query ListSettingsSecrets { listSettingsSecrets { ${ut} } }
|
|
703
|
+
`,Cn=`
|
|
704
|
+
mutation SetSettingsSecret($input: SetSettingsSecretInput!) {
|
|
705
|
+
setSettingsSecret(input: $input) { ${ut} }
|
|
706
|
+
}
|
|
707
|
+
`,Vn=`
|
|
708
|
+
mutation DeleteSettingsSecret($key: String!) { deleteSettingsSecret(key: $key) }
|
|
709
|
+
`,kn=`
|
|
710
|
+
mutation ResetSettings($category: SettingsCategory!) { resetSettings(category: $category) }
|
|
711
|
+
`,vn=`
|
|
712
|
+
mutation UpdatePreferences($input: UpdatePreferencesInput!) {
|
|
713
|
+
updatePreferences(input: $input) { ${rt} }
|
|
714
|
+
}
|
|
715
|
+
`,xn=`
|
|
716
|
+
mutation UpdateNotificationPreferences($input: UpdateNotificationPreferencesInput!) {
|
|
717
|
+
updateNotificationPreferences(input: $input) { ${ct} }
|
|
718
|
+
}
|
|
719
|
+
`,fn=`
|
|
720
|
+
mutation UpdateWorkspaceDefaults($input: UpdateWorkspaceDefaultsInput!) {
|
|
721
|
+
updateWorkspaceDefaults(input: $input) { ${dt} }
|
|
722
|
+
}
|
|
723
|
+
`,Rn=`
|
|
724
|
+
mutation VibecontrolsResolveIntegrationToken($connectionId: ID!) {
|
|
725
|
+
vibecontrolsResolveIntegrationToken(connectionId: $connectionId) {
|
|
726
|
+
success connectionStatus wasRefreshed error
|
|
727
|
+
token {
|
|
728
|
+
accessToken refreshToken tokenType providerKey scopes expiresAt metadata
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
`;function lt(o){let{workspace:n}=o.gql;return {async mine(){return (await n.request(Dn)).mySettings},async mineByCategory(t){return (await n.request(En,{category:t})).mySettingsByCategory},async listSecrets(){return (await n.request(Pn)).listSettingsSecrets},async setSecret(t){return (await n.request(Cn,{input:t})).setSettingsSecret},async deleteSecret(t){return (await n.request(Vn,{key:t})).deleteSettingsSecret},async reset(t){return (await n.request(kn,{category:t})).resetSettings},async updatePreferences(t){return (await n.request(vn,{input:t})).updatePreferences},async updateNotificationPreferences(t){return (await n.request(xn,{input:t})).updateNotificationPreferences},async updateWorkspaceDefaults(t){return (await n.request(fn,{input:t})).updateWorkspaceDefaults},async resolveIntegrationToken(t){return (await n.request(Rn,{connectionId:t})).vibecontrolsResolveIntegrationToken}}}var $=`
|
|
317
733
|
fragment ConfigurationFields on Configuration {
|
|
318
734
|
id key value scope scopeId isSecret
|
|
319
735
|
workspaceId createdAt updatedAt
|
|
320
736
|
}
|
|
321
|
-
`,
|
|
322
|
-
${
|
|
737
|
+
`,hn=`
|
|
738
|
+
${$}
|
|
323
739
|
query Configurations($filter: ConfigurationFilterInput!, $pagination: PaginationInput) {
|
|
324
740
|
configurations(filter: $filter, pagination: $pagination) {
|
|
325
741
|
items { ...ConfigurationFields }
|
|
@@ -327,22 +743,22 @@
|
|
|
327
743
|
hasMore
|
|
328
744
|
}
|
|
329
745
|
}
|
|
330
|
-
`,
|
|
331
|
-
${
|
|
746
|
+
`,_n=`
|
|
747
|
+
${$}
|
|
332
748
|
query Configuration($key: String!, $scope: ConfigScope!, $scopeId: ID) {
|
|
333
749
|
configuration(key: $key, scope: $scope, scopeId: $scopeId) { ...ConfigurationFields }
|
|
334
750
|
}
|
|
335
|
-
`,
|
|
751
|
+
`,Nn=`
|
|
336
752
|
query ConfigurationValue($key: String!, $scope: ConfigScope!, $scopeId: ID) {
|
|
337
753
|
configurationValue(key: $key, scope: $scope, scopeId: $scopeId)
|
|
338
754
|
}
|
|
339
|
-
`,
|
|
340
|
-
${
|
|
755
|
+
`,wn=`
|
|
756
|
+
${$}
|
|
341
757
|
query ConfigurationsByScope($scope: ConfigScope!, $scopeId: ID) {
|
|
342
758
|
configurationsByScope(scope: $scope, scopeId: $scopeId) { ...ConfigurationFields }
|
|
343
759
|
}
|
|
344
|
-
`,
|
|
345
|
-
${
|
|
760
|
+
`,Ln=`
|
|
761
|
+
${$}
|
|
346
762
|
mutation SetConfiguration(
|
|
347
763
|
$key: String!
|
|
348
764
|
$scope: ConfigScope!
|
|
@@ -360,38 +776,38 @@
|
|
|
360
776
|
context: $context
|
|
361
777
|
) { ...ConfigurationFields }
|
|
362
778
|
}
|
|
363
|
-
`,
|
|
779
|
+
`,Fn=`
|
|
364
780
|
mutation DeleteConfiguration($key: String!, $scope: ConfigScope!, $scopeId: ID) {
|
|
365
781
|
deleteConfiguration(key: $key, scope: $scope, scopeId: $scopeId)
|
|
366
782
|
}
|
|
367
|
-
`,
|
|
368
|
-
${
|
|
783
|
+
`,qn=`
|
|
784
|
+
${$}
|
|
369
785
|
mutation BulkSetConfigurations($inputs: [ConfigurationInput!]!) {
|
|
370
786
|
bulkSetConfigurations(inputs: $inputs) { ...ConfigurationFields }
|
|
371
787
|
}
|
|
372
|
-
`,
|
|
788
|
+
`,Un=`
|
|
373
789
|
mutation BulkDeleteConfigurations($keys: [String!]!, $scope: ConfigScope!, $scopeId: ID) {
|
|
374
790
|
bulkDeleteConfigurations(keys: $keys, scope: $scope, scopeId: $scopeId)
|
|
375
791
|
}
|
|
376
|
-
`;function
|
|
792
|
+
`;function pt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(hn,{filter:t,pagination:e})).configurations},async get(t,e,i){return (await n.request(_n,{key:t,scope:e,scopeId:i})).configuration},async getValue(t,e,i){return (await n.request(Nn,{key:t,scope:e,scopeId:i})).configurationValue},async byScope(t,e){return (await n.request(wn,{scope:t,scopeId:e})).configurationsByScope},async set(t,e,i,a){return (await n.request(Ln,{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(Fn,{key:t,scope:e,scopeId:i})).deleteConfiguration},async bulkSet(t){return (await n.request(qn,{inputs:t})).bulkSetConfigurations},async bulkDelete(t,e,i){return (await n.request(Un,{keys:t,scope:e,scopeId:i})).bulkDeleteConfigurations},security:nt(o),ci:at(o),gitops:st(o),settings:lt(o)}}var D=`
|
|
377
793
|
fragment DocsSiteFields on VibecontrolsDocsSite {
|
|
378
794
|
id vibeId name visibility runtime workspaceId createdAt updatedAt
|
|
379
795
|
}
|
|
380
|
-
`,
|
|
796
|
+
`,R=`
|
|
381
797
|
fragment DocsPageFields on VibecontrolsDocsPage {
|
|
382
798
|
id siteId title slug content parentId sidebarPosition status
|
|
383
799
|
createdAt updatedAt
|
|
384
800
|
}
|
|
385
|
-
`,
|
|
801
|
+
`,E=`
|
|
386
802
|
fragment DocsRevisionFields on VibecontrolsDocsRevision {
|
|
387
803
|
id siteId revisionNumber status buildDurationMs artifactSizeBytes
|
|
388
804
|
errorMessage publishedAt createdAt updatedAt
|
|
389
805
|
}
|
|
390
|
-
`,
|
|
391
|
-
${
|
|
806
|
+
`,On=`
|
|
807
|
+
${D}
|
|
392
808
|
query DocsSite($vibeId: ID!) { docsSite(vibeId: $vibeId) { ...DocsSiteFields } }
|
|
393
|
-
`,
|
|
394
|
-
${
|
|
809
|
+
`,Bn=`
|
|
810
|
+
${D}
|
|
395
811
|
query DocsSites($filter: VibecontrolsDocsSiteFilterInput, $pagination: PaginationInput) {
|
|
396
812
|
docsSites(filter: $filter, pagination: $pagination) {
|
|
397
813
|
items { ...DocsSiteFields }
|
|
@@ -399,19 +815,19 @@
|
|
|
399
815
|
hasMore
|
|
400
816
|
}
|
|
401
817
|
}
|
|
402
|
-
`,
|
|
403
|
-
${
|
|
818
|
+
`,Gn=`
|
|
819
|
+
${R}
|
|
404
820
|
query DocsPage($id: ID!) { docsPage(id: $id) { ...DocsPageFields } }
|
|
405
|
-
`,
|
|
406
|
-
${
|
|
821
|
+
`,Mn=`
|
|
822
|
+
${R}
|
|
407
823
|
query DocsPages($siteId: ID!, $filter: DocsPageFilterInput) {
|
|
408
824
|
docsPages(siteId: $siteId, filter: $filter) { ...DocsPageFields }
|
|
409
825
|
}
|
|
410
|
-
`,
|
|
411
|
-
${
|
|
826
|
+
`,Wn=`
|
|
827
|
+
${E}
|
|
412
828
|
query DocsRevision($id: ID!) { docsRevision(id: $id) { ...DocsRevisionFields } }
|
|
413
|
-
`,
|
|
414
|
-
${
|
|
829
|
+
`,Hn=`
|
|
830
|
+
${E}
|
|
415
831
|
query DocsRevisions($siteId: ID!, $pagination: PaginationInput) {
|
|
416
832
|
docsRevisions(siteId: $siteId, pagination: $pagination) {
|
|
417
833
|
items { ...DocsRevisionFields }
|
|
@@ -419,67 +835,67 @@
|
|
|
419
835
|
hasMore
|
|
420
836
|
}
|
|
421
837
|
}
|
|
422
|
-
`,
|
|
838
|
+
`,Kn=`
|
|
423
839
|
query DocsContent($siteId: ID!, $path: String!) {
|
|
424
840
|
docsContent(siteId: $siteId, path: $path)
|
|
425
841
|
}
|
|
426
|
-
`,
|
|
427
|
-
${
|
|
842
|
+
`,Jn=`
|
|
843
|
+
${D}
|
|
428
844
|
mutation CreateDocsSite($input: CreateDocsSiteInput!) {
|
|
429
845
|
createDocsSite(input: $input) { ...DocsSiteFields }
|
|
430
846
|
}
|
|
431
|
-
`,
|
|
432
|
-
${
|
|
847
|
+
`,jn=`
|
|
848
|
+
${D}
|
|
433
849
|
mutation UpdateDocsSite($id: ID!, $input: UpdateDocsSiteInput!) {
|
|
434
850
|
updateDocsSite(id: $id, input: $input) { ...DocsSiteFields }
|
|
435
851
|
}
|
|
436
|
-
`,
|
|
437
|
-
${
|
|
852
|
+
`,Xn=`
|
|
853
|
+
${D}
|
|
438
854
|
mutation UpdateDocsSiteVisibility($id: ID!, $visibility: DocsVisibility!) {
|
|
439
855
|
updateDocsSiteVisibility(id: $id, visibility: $visibility) { ...DocsSiteFields }
|
|
440
856
|
}
|
|
441
|
-
`,
|
|
442
|
-
${
|
|
857
|
+
`,Yn="mutation DeleteDocsSite($id: ID!) { deleteDocsSite(id: $id) }",zn=`
|
|
858
|
+
${R}
|
|
443
859
|
mutation CreateDocsPage($input: CreateDocsPageInput!) {
|
|
444
860
|
createDocsPage(input: $input) { ...DocsPageFields }
|
|
445
861
|
}
|
|
446
|
-
`,
|
|
447
|
-
${
|
|
862
|
+
`,Qn=`
|
|
863
|
+
${R}
|
|
448
864
|
mutation UpdateDocsPage($id: ID!, $input: UpdateDocsPageInput!) {
|
|
449
865
|
updateDocsPage(id: $id, input: $input) { ...DocsPageFields }
|
|
450
866
|
}
|
|
451
|
-
`,
|
|
867
|
+
`,Zn="mutation DeleteDocsPage($id: ID!) { deleteDocsPage(id: $id) }",ti=`
|
|
452
868
|
mutation ReorderDocsPages($siteId: ID!, $orders: [DocsPageOrderInput!]!) {
|
|
453
869
|
reorderDocsPages(siteId: $siteId, orders: $orders)
|
|
454
870
|
}
|
|
455
|
-
`,
|
|
456
|
-
${
|
|
871
|
+
`,ei=`
|
|
872
|
+
${E}
|
|
457
873
|
mutation CompileDocsSite($siteId: ID!) {
|
|
458
874
|
compileDocsSite(siteId: $siteId) { ...DocsRevisionFields }
|
|
459
875
|
}
|
|
460
|
-
`,
|
|
461
|
-
${
|
|
876
|
+
`,ni=`
|
|
877
|
+
${E}
|
|
462
878
|
mutation PublishDocsRevision($revisionId: ID!) {
|
|
463
879
|
publishDocsRevision(revisionId: $revisionId) { ...DocsRevisionFields }
|
|
464
880
|
}
|
|
465
|
-
`,
|
|
466
|
-
${
|
|
881
|
+
`,ii=`
|
|
882
|
+
${E}
|
|
467
883
|
mutation RollbackDocsRevision($siteId: ID!, $revisionNumber: Int!) {
|
|
468
884
|
rollbackDocsRevision(siteId: $siteId, revisionNumber: $revisionNumber) {
|
|
469
885
|
...DocsRevisionFields
|
|
470
886
|
}
|
|
471
887
|
}
|
|
472
|
-
`,
|
|
888
|
+
`,oi=`
|
|
473
889
|
mutation GenerateDocsSignedUrl($siteId: ID!) {
|
|
474
890
|
generateDocsSignedUrl(siteId: $siteId)
|
|
475
891
|
}
|
|
476
|
-
`;function
|
|
892
|
+
`;function St(o){let{workspace:n}=o.gql;return {async getSite(t){return (await n.request(On,{vibeId:t})).docsSite},async listSites(t,e){return (await n.request(Bn,{filter:t,pagination:e})).docsSites},async createSite(t){return (await n.request(Jn,{input:t})).createDocsSite},async updateSite(t,e){return (await n.request(jn,{id:t,input:e})).updateDocsSite},async updateSiteVisibility(t,e){return (await n.request(Xn,{id:t,visibility:e})).updateDocsSiteVisibility},async deleteSite(t){return (await n.request(Yn,{id:t})).deleteDocsSite},async getPage(t){return (await n.request(Gn,{id:t})).docsPage},async listPages(t,e){return (await n.request(Mn,{siteId:t,filter:e})).docsPages},async createPage(t){return (await n.request(zn,{input:t})).createDocsPage},async updatePage(t,e){return (await n.request(Qn,{id:t,input:e})).updateDocsPage},async deletePage(t){return (await n.request(Zn,{id:t})).deleteDocsPage},async reorderPages(t,e){return (await n.request(ti,{siteId:t,orders:e})).reorderDocsPages},async getRevision(t){return (await n.request(Wn,{id:t})).docsRevision},async listRevisions(t,e){return (await n.request(Hn,{siteId:t,pagination:e})).docsRevisions},async compileSite(t){return (await n.request(ei,{siteId:t})).compileDocsSite},async publishRevision(t){return (await n.request(ni,{revisionId:t})).publishDocsRevision},async rollbackRevision(t,e){return (await n.request(ii,{siteId:t,revisionNumber:e})).rollbackDocsRevision},async getContent(t,e){return (await n.request(Kn,{siteId:t,path:e})).docsContent},async generateSignedUrl(t){return (await n.request(oi,{siteId:t})).generateDocsSignedUrl}}}var u=`
|
|
477
893
|
fragment NoteFields on VibecontrolsNote {
|
|
478
894
|
id title content tags isPinned vibeId createdBy metadata
|
|
479
895
|
workspaceId createdAt updatedAt deletedAt
|
|
480
896
|
}
|
|
481
|
-
`,
|
|
482
|
-
${
|
|
897
|
+
`,ai=`
|
|
898
|
+
${u}
|
|
483
899
|
query Notes($filter: VibecontrolsNoteFilterInput, $pagination: PaginationInput) {
|
|
484
900
|
notes(filter: $filter, pagination: $pagination) {
|
|
485
901
|
items { ...NoteFields }
|
|
@@ -487,43 +903,43 @@
|
|
|
487
903
|
hasMore
|
|
488
904
|
}
|
|
489
905
|
}
|
|
490
|
-
`,
|
|
491
|
-
${
|
|
906
|
+
`,si=`
|
|
907
|
+
${u}
|
|
492
908
|
query Note($id: ID!) { note(id: $id) { ...NoteFields } }
|
|
493
|
-
`,
|
|
494
|
-
${
|
|
909
|
+
`,ri=`
|
|
910
|
+
${u}
|
|
495
911
|
query SearchNotes($query: String!, $vibeId: ID, $limit: Int) {
|
|
496
912
|
searchNotes(query: $query, vibeId: $vibeId, limit: $limit) { ...NoteFields }
|
|
497
913
|
}
|
|
498
|
-
`,
|
|
499
|
-
${
|
|
914
|
+
`,ci=`
|
|
915
|
+
${u}
|
|
500
916
|
query NotesByTags($tags: [String!]!, $vibeId: ID) {
|
|
501
917
|
notesByTags(tags: $tags, vibeId: $vibeId) { ...NoteFields }
|
|
502
918
|
}
|
|
503
|
-
`,
|
|
504
|
-
${
|
|
919
|
+
`,di=`
|
|
920
|
+
${u}
|
|
505
921
|
query PinnedNotes($vibeId: ID) {
|
|
506
922
|
pinnedNotes(vibeId: $vibeId) { ...NoteFields }
|
|
507
923
|
}
|
|
508
|
-
`,
|
|
509
|
-
${
|
|
924
|
+
`,ui=`
|
|
925
|
+
${u}
|
|
510
926
|
mutation CreateNote($input: CreateVibecontrolsNoteInput!) {
|
|
511
927
|
createNote(input: $input) { ...NoteFields }
|
|
512
928
|
}
|
|
513
|
-
`,
|
|
514
|
-
${
|
|
929
|
+
`,li=`
|
|
930
|
+
${u}
|
|
515
931
|
mutation UpdateNote($id: ID!, $input: UpdateVibecontrolsNoteInput!) {
|
|
516
932
|
updateNote(id: $id, input: $input) { ...NoteFields }
|
|
517
933
|
}
|
|
518
|
-
`,
|
|
519
|
-
${
|
|
934
|
+
`,pi="mutation DeleteNote($id: ID!) { deleteNote(id: $id) }",Si=`
|
|
935
|
+
${u}
|
|
520
936
|
mutation PinNote($id: ID!) { pinNote(id: $id) { ...NoteFields } }
|
|
521
|
-
`,
|
|
522
|
-
${
|
|
937
|
+
`,gi=`
|
|
938
|
+
${u}
|
|
523
939
|
mutation UnpinNote($id: ID!) { unpinNote(id: $id) { ...NoteFields } }
|
|
524
|
-
`,
|
|
940
|
+
`,Ii=`
|
|
525
941
|
mutation BulkDeleteNotes($ids: [ID!]!) { bulkDeleteNotes(ids: $ids) }
|
|
526
|
-
`;function
|
|
942
|
+
`;function gt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(ai,{filter:t,pagination:e})).notes},async get(t){return (await n.request(si,{id:t})).note},async search(t,e,i){return (await n.request(ri,{query:t,vibeId:e,limit:i})).searchNotes},async byTags(t,e){return (await n.request(ci,{tags:t,vibeId:e})).notesByTags},async pinned(t){return (await n.request(di,{vibeId:t})).pinnedNotes},async create(t){return (await n.request(ui,{input:t})).createNote},async update(t,e){return (await n.request(li,{id:t,input:e})).updateNote},async delete(t){return (await n.request(pi,{id:t})).deleteNote},async pin(t){return (await n.request(Si,{id:t})).pinNote},async unpin(t){return (await n.request(gi,{id:t})).unpinNote},async bulkDelete(t){return (await n.request(Ii,{ids:t})).bulkDeleteNotes}}}var l=`
|
|
527
943
|
fragment SandboxFields on Sandbox {
|
|
528
944
|
id name description template mode status
|
|
529
945
|
crdName podName namespace runtimeClass
|
|
@@ -541,7 +957,7 @@
|
|
|
541
957
|
ttlSeconds expiresAt metadata errorMessage
|
|
542
958
|
workspaceId context createdBy createdAt updatedAt stoppedAt
|
|
543
959
|
}
|
|
544
|
-
`,
|
|
960
|
+
`,h=`
|
|
545
961
|
fragment SandboxTemplateConfigFields on SandboxTemplateConfig {
|
|
546
962
|
id name description template isDefault
|
|
547
963
|
containers {
|
|
@@ -556,8 +972,8 @@
|
|
|
556
972
|
ttlSeconds config metadata allowedImages
|
|
557
973
|
workspaceId context createdBy createdAt updatedAt
|
|
558
974
|
}
|
|
559
|
-
`,
|
|
560
|
-
${
|
|
975
|
+
`,mi=`
|
|
976
|
+
${l}
|
|
561
977
|
query ListSandboxes(
|
|
562
978
|
$filter: SandboxFilterInput
|
|
563
979
|
$pagination: SandboxPaginationInput
|
|
@@ -569,12 +985,12 @@
|
|
|
569
985
|
hasMore
|
|
570
986
|
}
|
|
571
987
|
}
|
|
572
|
-
`,
|
|
573
|
-
${
|
|
988
|
+
`,bi=`
|
|
989
|
+
${l}
|
|
574
990
|
query GetSandbox($id: ID!, $context: ContextInput!) {
|
|
575
991
|
getSandbox(id: $id, context: $context) { ...SandboxFields }
|
|
576
992
|
}
|
|
577
|
-
`,
|
|
993
|
+
`,Ai=`
|
|
578
994
|
query GetSandboxLogs(
|
|
579
995
|
$id: ID!
|
|
580
996
|
$containerName: String!
|
|
@@ -588,14 +1004,14 @@
|
|
|
588
1004
|
context: $context
|
|
589
1005
|
)
|
|
590
1006
|
}
|
|
591
|
-
`,
|
|
1007
|
+
`,Ti=`
|
|
592
1008
|
query GetSandboxStats($context: ContextInput!) {
|
|
593
1009
|
getSandboxStats(context: $context) {
|
|
594
1010
|
activeSandboxes totalCreated totalDeleted runningNow provisioningNow
|
|
595
1011
|
stoppedNow expiredCount failedCount totalCpuUsed totalMemoryUsed
|
|
596
1012
|
}
|
|
597
1013
|
}
|
|
598
|
-
|
|
1014
|
+
`,yi=`
|
|
599
1015
|
query GetSandboxConfig($context: ContextInput!) {
|
|
600
1016
|
getSandboxConfig(context: $context) {
|
|
601
1017
|
id defaultTtlSeconds maxTtlSeconds allowedTemplates
|
|
@@ -604,8 +1020,8 @@
|
|
|
604
1020
|
workspaceId updatedAt
|
|
605
1021
|
}
|
|
606
1022
|
}
|
|
607
|
-
|
|
608
|
-
${
|
|
1023
|
+
`,$i=`
|
|
1024
|
+
${h}
|
|
609
1025
|
query ListSandboxTemplates(
|
|
610
1026
|
$template: SandboxTemplate
|
|
611
1027
|
$pagination: SandboxPaginationInput
|
|
@@ -617,52 +1033,52 @@
|
|
|
617
1033
|
hasMore
|
|
618
1034
|
}
|
|
619
1035
|
}
|
|
620
|
-
`,
|
|
621
|
-
${
|
|
1036
|
+
`,Di=`
|
|
1037
|
+
${h}
|
|
622
1038
|
query GetSandboxTemplate($id: ID!, $context: ContextInput!) {
|
|
623
1039
|
getSandboxTemplate(id: $id, context: $context) { ...SandboxTemplateConfigFields }
|
|
624
1040
|
}
|
|
625
|
-
`,
|
|
626
|
-
${
|
|
1041
|
+
`,Ei=`
|
|
1042
|
+
${l}
|
|
627
1043
|
mutation CreateSandbox($input: CreateSandboxInput!) {
|
|
628
1044
|
createSandbox(input: $input) { ...SandboxFields }
|
|
629
1045
|
}
|
|
630
|
-
`,
|
|
1046
|
+
`,Pi=`
|
|
631
1047
|
mutation DeleteSandbox($id: ID!, $context: ContextInput!) {
|
|
632
1048
|
deleteSandbox(id: $id, context: $context)
|
|
633
1049
|
}
|
|
634
|
-
`,
|
|
635
|
-
${
|
|
1050
|
+
`,Ci=`
|
|
1051
|
+
${l}
|
|
636
1052
|
mutation StopSandbox($id: ID!, $context: ContextInput!) {
|
|
637
1053
|
stopSandbox(id: $id, context: $context) { ...SandboxFields }
|
|
638
1054
|
}
|
|
639
|
-
`,
|
|
640
|
-
${
|
|
1055
|
+
`,Vi=`
|
|
1056
|
+
${l}
|
|
641
1057
|
mutation StartSandbox($id: ID!, $context: ContextInput!) {
|
|
642
1058
|
startSandbox(id: $id, context: $context) { ...SandboxFields }
|
|
643
1059
|
}
|
|
644
|
-
`,
|
|
645
|
-
${
|
|
1060
|
+
`,ki=`
|
|
1061
|
+
${l}
|
|
646
1062
|
mutation ExtendSandboxTTL($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {
|
|
647
1063
|
extendSandboxTTL(id: $id, additionalSeconds: $additionalSeconds, context: $context) {
|
|
648
1064
|
...SandboxFields
|
|
649
1065
|
}
|
|
650
1066
|
}
|
|
651
|
-
`,
|
|
652
|
-
${
|
|
1067
|
+
`,vi=`
|
|
1068
|
+
${h}
|
|
653
1069
|
mutation CreateSandboxTemplate($input: CreateSandboxTemplateInput!) {
|
|
654
1070
|
createSandboxTemplate(input: $input) { ...SandboxTemplateConfigFields }
|
|
655
1071
|
}
|
|
656
|
-
`,
|
|
657
|
-
${
|
|
1072
|
+
`,xi=`
|
|
1073
|
+
${h}
|
|
658
1074
|
mutation UpdateSandboxTemplate($input: UpdateSandboxTemplateInput!) {
|
|
659
1075
|
updateSandboxTemplate(input: $input) { ...SandboxTemplateConfigFields }
|
|
660
1076
|
}
|
|
661
|
-
`,
|
|
1077
|
+
`,fi=`
|
|
662
1078
|
mutation DeleteSandboxTemplate($id: ID!, $context: ContextInput!) {
|
|
663
1079
|
deleteSandboxTemplate(id: $id, context: $context)
|
|
664
1080
|
}
|
|
665
|
-
`,
|
|
1081
|
+
`,Ri=`
|
|
666
1082
|
mutation UpdateSandboxConfig($input: UpdateSandboxConfigInput!) {
|
|
667
1083
|
updateSandboxConfig(input: $input) {
|
|
668
1084
|
id defaultTtlSeconds maxTtlSeconds allowedTemplates
|
|
@@ -671,15 +1087,159 @@
|
|
|
671
1087
|
workspaceId updatedAt
|
|
672
1088
|
}
|
|
673
1089
|
}
|
|
674
|
-
|
|
1090
|
+
`,q=`
|
|
1091
|
+
fragment SandboxTagAssignmentFields on SandboxTagAssignment {
|
|
1092
|
+
id entityId entityType tagId source assignedAt assignedBy
|
|
1093
|
+
validFrom validTo metadata tag { id }
|
|
1094
|
+
}
|
|
1095
|
+
`,hi=`
|
|
1096
|
+
query AvailableSandboxTags($query: String, $limit: Int) {
|
|
1097
|
+
availableSandboxTags(query: $query, limit: $limit) {
|
|
1098
|
+
id key label color
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
`,_i=`
|
|
1102
|
+
${q}
|
|
1103
|
+
query GetSandboxTags($input: GetSandboxTagsInput!) {
|
|
1104
|
+
getSandboxTags(input: $input) { ...SandboxTagAssignmentFields }
|
|
1105
|
+
}
|
|
1106
|
+
`,Ni=`
|
|
1107
|
+
mutation CreateSandboxTag($input: CreateSandboxTagInput!) {
|
|
1108
|
+
createSandboxTag(input: $input) { id key label color }
|
|
1109
|
+
}
|
|
1110
|
+
`,wi=`
|
|
1111
|
+
${q}
|
|
1112
|
+
mutation TagSandbox($input: TagSandboxInput!) {
|
|
1113
|
+
tagSandbox(input: $input) { ...SandboxTagAssignmentFields }
|
|
1114
|
+
}
|
|
1115
|
+
`,Li=`
|
|
1116
|
+
mutation UntagSandbox($input: UntagSandboxInput!) {
|
|
1117
|
+
untagSandbox(input: $input)
|
|
1118
|
+
}
|
|
1119
|
+
`,Fi=`
|
|
1120
|
+
${q}
|
|
1121
|
+
mutation ReplaceSandboxTags($input: ReplaceSandboxTagsInput!) {
|
|
1122
|
+
replaceSandboxTags(input: $input) { ...SandboxTagAssignmentFields }
|
|
1123
|
+
}
|
|
1124
|
+
`,qi=`
|
|
1125
|
+
${l}
|
|
1126
|
+
query ListAllSandboxes(
|
|
1127
|
+
$context: ContextInput!
|
|
1128
|
+
$filter: SandboxFilterInput
|
|
1129
|
+
$pagination: SandboxPaginationInput
|
|
1130
|
+
) {
|
|
1131
|
+
listAllSandboxes(context: $context, filter: $filter, pagination: $pagination) {
|
|
1132
|
+
items { ...SandboxFields }
|
|
1133
|
+
total
|
|
1134
|
+
hasMore
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
`,Ui=`
|
|
1138
|
+
query ListSandboxNodes($context: ContextInput!) {
|
|
1139
|
+
listSandboxNodes(context: $context) {
|
|
1140
|
+
name status allocatableCpu allocatableMemory sandboxPodCount labels
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
`,Oi=`
|
|
1144
|
+
${l}
|
|
1145
|
+
query GetActiveSandboxes($context: ContextInput!) {
|
|
1146
|
+
getActiveSandboxes(context: $context) { ...SandboxFields }
|
|
1147
|
+
}
|
|
1148
|
+
`,Bi=`
|
|
1149
|
+
query GetRecentSandboxActivity($context: ContextInput!, $limit: Int) {
|
|
1150
|
+
getRecentSandboxActivity(context: $context, limit: $limit) {
|
|
1151
|
+
items { id action actorId status sandboxName sandboxId createdAt }
|
|
1152
|
+
total
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
`,U=`
|
|
1156
|
+
id workspaceId format status requestedBy rowCount
|
|
1157
|
+
downloadUrl errorMessage expiresAt createdAt updatedAt
|
|
1158
|
+
`,Gi=`
|
|
1159
|
+
mutation ExportSandboxes($input: ExportSandboxesInput!) {
|
|
1160
|
+
exportSandboxes(input: $input) { ${U} }
|
|
1161
|
+
}
|
|
1162
|
+
`,Mi=`
|
|
1163
|
+
query GetSandboxExportJob($workspaceId: ID!, $jobId: ID!, $context: ContextInput!) {
|
|
1164
|
+
getSandboxExportJob(workspaceId: $workspaceId, jobId: $jobId, context: $context) {
|
|
1165
|
+
${U}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
`,Wi=`
|
|
1169
|
+
query ListSandboxExportJobs(
|
|
1170
|
+
$workspaceId: ID!
|
|
1171
|
+
$context: ContextInput!
|
|
1172
|
+
$pagination: SandboxPaginationInput
|
|
1173
|
+
) {
|
|
1174
|
+
listSandboxExportJobs(workspaceId: $workspaceId, context: $context, pagination: $pagination) {
|
|
1175
|
+
${U}
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
`,Hi=`
|
|
1179
|
+
query GetSandboxArtifactBytes($input: SandboxArtifactBytesInput!) {
|
|
1180
|
+
getSandboxArtifactBytes(input: $input) {
|
|
1181
|
+
filename mimeType size contentBase64
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
`,Ki=`
|
|
1185
|
+
mutation ProxySandboxRequest($input: ProxySandboxRequestInput!) {
|
|
1186
|
+
proxySandboxRequest(input: $input) { status body }
|
|
1187
|
+
}
|
|
1188
|
+
`;function It(o){let{workspace:n}=o.gql;return {async list(t,e,i){return (await n.request(mi,{filter:t,pagination:e,context:i})).listSandboxes},async get(t,e){return (await n.request(bi,{id:t,context:e})).getSandbox},async create(t){return (await n.request(Ei,{input:t})).createSandbox},async delete(t,e){return (await n.request(Pi,{id:t,context:e})).deleteSandbox},async start(t,e){return (await n.request(Vi,{id:t,context:e})).startSandbox},async stop(t,e){return (await n.request(Ci,{id:t,context:e})).stopSandbox},async extendTTL(t,e,i){return (await n.request(ki,{id:t,additionalSeconds:e,context:i})).extendSandboxTTL},async getLogs(t,e,i,a){return (await n.request(Ai,{id:t,containerName:e,tailLines:a,context:i})).getSandboxLogs},async getStats(t){return (await n.request(Ti,{context:t})).getSandboxStats},async getConfig(t){return (await n.request(yi,{context:t})).getSandboxConfig},async updateConfig(t){return (await n.request(Ri,{input:t})).updateSandboxConfig},async listTemplates(t,e,i){return (await n.request($i,{template:e,pagination:i,context:t})).listSandboxTemplates},async getTemplate(t,e){return (await n.request(Di,{id:t,context:e})).getSandboxTemplate},async createTemplate(t){return (await n.request(vi,{input:t})).createSandboxTemplate},async updateTemplate(t){return (await n.request(xi,{input:t})).updateSandboxTemplate},async deleteTemplate(t,e){return (await n.request(fi,{id:t,context:e})).deleteSandboxTemplate},async availableTags(t,e){return (await n.request(hi,{query:t,limit:e})).availableSandboxTags},async getTags(t){return (await n.request(_i,{input:t})).getSandboxTags},async createTag(t){return (await n.request(Ni,{input:t})).createSandboxTag},async tag(t){return (await n.request(wi,{input:t})).tagSandbox},async untag(t){return (await n.request(Li,{input:t})).untagSandbox},async replaceTags(t){return (await n.request(Fi,{input:t})).replaceSandboxTags},async listAll(t,e,i){return (await n.request(qi,{context:t,filter:e,pagination:i})).listAllSandboxes},async listNodes(t){return (await n.request(Ui,{context:t})).listSandboxNodes},async getActive(t){return (await n.request(Oi,{context:t})).getActiveSandboxes},async getRecentActivity(t,e){return (await n.request(Bi,{context:t,limit:e})).getRecentSandboxActivity},async exportSandboxes(t){return (await n.request(Gi,{input:t})).exportSandboxes},async getExportJob(t,e,i){return (await n.request(Mi,{workspaceId:t,jobId:e,context:i})).getSandboxExportJob},async listExportJobs(t,e,i){return (await n.request(Wi,{workspaceId:t,context:e,pagination:i})).listSandboxExportJobs},async getArtifactBytes(t){return (await n.request(Hi,{input:t})).getSandboxArtifactBytes},async proxyRequest(t){return (await n.request(Ki,{input:t})).proxySandboxRequest}}}var O=`
|
|
1189
|
+
fragment ScorecardMetricFields on VibecontrolsScorecardMetric {
|
|
1190
|
+
id name description type status value threshold unit
|
|
1191
|
+
iframeUrl iframeHeight lastUpdatedAt createdAt updatedAt
|
|
1192
|
+
}
|
|
1193
|
+
`,mt=`
|
|
1194
|
+
${O}
|
|
1195
|
+
fragment ScorecardFields on VibecontrolsScorecard {
|
|
1196
|
+
id ownerId ownerType overallScore lastEvaluatedAt
|
|
1197
|
+
metrics { ...ScorecardMetricFields }
|
|
1198
|
+
metadata workspaceId createdAt updatedAt
|
|
1199
|
+
}
|
|
1200
|
+
`,Ji=`
|
|
1201
|
+
${mt}
|
|
1202
|
+
query VibecontrolsScorecard($ownerId: ID!, $ownerType: ScorecardOwnerType!) {
|
|
1203
|
+
vibecontrolsScorecard(ownerId: $ownerId, ownerType: $ownerType) { ...ScorecardFields }
|
|
1204
|
+
}
|
|
1205
|
+
`,ji=`
|
|
1206
|
+
${mt}
|
|
1207
|
+
mutation UpsertVibecontrolsScorecard($input: UpsertScorecardInput!) {
|
|
1208
|
+
upsertVibecontrolsScorecard(input: $input) { ...ScorecardFields }
|
|
1209
|
+
}
|
|
1210
|
+
`,Xi=`
|
|
1211
|
+
${O}
|
|
1212
|
+
mutation AddVibecontrolsScorecardMetric(
|
|
1213
|
+
$scorecardId: ID!
|
|
1214
|
+
$input: AddScorecardMetricInput!
|
|
1215
|
+
) {
|
|
1216
|
+
addVibecontrolsScorecardMetric(scorecardId: $scorecardId, input: $input) {
|
|
1217
|
+
...ScorecardMetricFields
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
`,Yi=`
|
|
1221
|
+
${O}
|
|
1222
|
+
mutation UpdateVibecontrolsScorecardMetric(
|
|
1223
|
+
$id: ID!
|
|
1224
|
+
$input: UpdateScorecardMetricInput!
|
|
1225
|
+
) {
|
|
1226
|
+
updateVibecontrolsScorecardMetric(id: $id, input: $input) {
|
|
1227
|
+
...ScorecardMetricFields
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
`,zi=`
|
|
1231
|
+
mutation RemoveVibecontrolsScorecardMetric($id: ID!) {
|
|
1232
|
+
removeVibecontrolsScorecardMetric(id: $id)
|
|
1233
|
+
}
|
|
1234
|
+
`;function bt(o){let{workspace:n}=o.gql;return {async get(t,e){return (await n.request(Ji,{ownerId:t,ownerType:e})).vibecontrolsScorecard},async upsert(t){return (await n.request(ji,{input:t})).upsertVibecontrolsScorecard},async addMetric(t,e){return (await n.request(Xi,{scorecardId:t,input:e})).addVibecontrolsScorecardMetric},async updateMetric(t,e){return (await n.request(Yi,{id:t,input:e})).updateVibecontrolsScorecardMetric},async removeMetric(t){return (await n.request(zi,{id:t})).removeVibecontrolsScorecardMetric}}}var c=`
|
|
675
1235
|
fragment SessionFields on Session {
|
|
676
1236
|
id name type status agentId vibeId workspaceId
|
|
677
1237
|
command args workingDirectory environmentVariables
|
|
678
1238
|
tmuxSessionName tmuxWindowName metadata
|
|
679
1239
|
startedAt stoppedAt createdAt updatedAt deletedAt
|
|
680
1240
|
}
|
|
681
|
-
`,
|
|
682
|
-
${
|
|
1241
|
+
`,Qi=`
|
|
1242
|
+
${c}
|
|
683
1243
|
query Sessions($filter: SessionFilterInput, $pagination: PaginationInput) {
|
|
684
1244
|
sessions(filter: $filter, pagination: $pagination) {
|
|
685
1245
|
items { ...SessionFields }
|
|
@@ -687,40 +1247,151 @@
|
|
|
687
1247
|
hasMore
|
|
688
1248
|
}
|
|
689
1249
|
}
|
|
690
|
-
`,
|
|
691
|
-
${
|
|
1250
|
+
`,Zi=`
|
|
1251
|
+
${c}
|
|
692
1252
|
query Session($id: ID!) { session(id: $id) { ...SessionFields } }
|
|
693
|
-
`,
|
|
694
|
-
${
|
|
1253
|
+
`,to=`
|
|
1254
|
+
${c}
|
|
695
1255
|
mutation CreateSession($input: CreateSessionInput!) {
|
|
696
1256
|
createSession(input: $input) { ...SessionFields }
|
|
697
1257
|
}
|
|
698
|
-
`,
|
|
699
|
-
${
|
|
1258
|
+
`,eo=`
|
|
1259
|
+
${c}
|
|
700
1260
|
mutation UpdateSession($id: ID!, $input: UpdateSessionInput!) {
|
|
701
1261
|
updateSession(id: $id, input: $input) { ...SessionFields }
|
|
702
1262
|
}
|
|
703
|
-
`,
|
|
704
|
-
${
|
|
1263
|
+
`,no="mutation DeleteSession($id: ID!) { deleteSession(id: $id) }",io=`
|
|
1264
|
+
${c}
|
|
705
1265
|
mutation UpdateSessionStatus($id: ID!, $status: VibecontrolsSessionStatus!) {
|
|
706
1266
|
updateSessionStatus(id: $id, status: $status) { ...SessionFields }
|
|
707
1267
|
}
|
|
708
|
-
`,
|
|
709
|
-
${
|
|
1268
|
+
`,oo=`
|
|
1269
|
+
${c}
|
|
710
1270
|
mutation StartSession($id: ID!) { startSession(id: $id) { ...SessionFields } }
|
|
711
|
-
`,
|
|
712
|
-
${
|
|
1271
|
+
`,ao=`
|
|
1272
|
+
${c}
|
|
713
1273
|
mutation StopSession($id: ID!) { stopSession(id: $id) { ...SessionFields } }
|
|
714
|
-
`,
|
|
1274
|
+
`,so="mutation KillSession($id: ID!) { killSession(id: $id) }",P=`
|
|
1275
|
+
fragment SessionShareFields on SessionShare {
|
|
1276
|
+
id sessionId sharedWithId permission status message
|
|
1277
|
+
createdBy createdAt expiresAt lastAccessAt accessCount revokedAt revokedBy
|
|
1278
|
+
}
|
|
1279
|
+
`,B=`
|
|
1280
|
+
fragment SessionShareLinkFields on SessionShareLink {
|
|
1281
|
+
id sessionId token shareUrl name permission status hasPassword
|
|
1282
|
+
maxUses useCount expiresAt lastUsedAt createdBy createdAt
|
|
1283
|
+
}
|
|
1284
|
+
`,At=`
|
|
1285
|
+
fragment SessionCollaboratorFields on SessionCollaborator {
|
|
1286
|
+
id sessionId userId username avatarUrl role hasControl joinedAt lastActiveAt
|
|
1287
|
+
}
|
|
1288
|
+
`,ro=`
|
|
1289
|
+
${P}
|
|
1290
|
+
mutation ShareSession($input: ShareSessionInput!) {
|
|
1291
|
+
shareSession(input: $input) { ...SessionShareFields }
|
|
1292
|
+
}
|
|
1293
|
+
`,co=`
|
|
1294
|
+
${P}
|
|
1295
|
+
mutation UpdateSessionShare($id: ID!, $input: UpdateSessionShareInput!) {
|
|
1296
|
+
updateSessionShare(id: $id, input: $input) { ...SessionShareFields }
|
|
1297
|
+
}
|
|
1298
|
+
`,uo=`
|
|
1299
|
+
${P}
|
|
1300
|
+
mutation RevokeSessionShare($id: ID!) {
|
|
1301
|
+
revokeSessionShare(id: $id) { ...SessionShareFields }
|
|
1302
|
+
}
|
|
1303
|
+
`,lo=`
|
|
1304
|
+
${B}
|
|
1305
|
+
mutation CreateSessionShareLink($input: CreateShareLinkInput!) {
|
|
1306
|
+
createSessionShareLink(input: $input) { ...SessionShareLinkFields }
|
|
1307
|
+
}
|
|
1308
|
+
`,po=`
|
|
1309
|
+
${B}
|
|
1310
|
+
mutation RevokeSessionShareLink($id: ID!) {
|
|
1311
|
+
revokeSessionShareLink(id: $id) { ...SessionShareLinkFields }
|
|
1312
|
+
}
|
|
1313
|
+
`,So=`
|
|
1314
|
+
${P}
|
|
1315
|
+
query SessionShares($sessionId: ID!) {
|
|
1316
|
+
sessionShares(sessionId: $sessionId) { ...SessionShareFields }
|
|
1317
|
+
}
|
|
1318
|
+
`,go=`
|
|
1319
|
+
${B}
|
|
1320
|
+
query SessionShareLinks($sessionId: ID!) {
|
|
1321
|
+
sessionShareLinks(sessionId: $sessionId) { ...SessionShareLinkFields }
|
|
1322
|
+
}
|
|
1323
|
+
`,Io=`
|
|
1324
|
+
${At}
|
|
1325
|
+
query SessionCollaborators($sessionId: ID!) {
|
|
1326
|
+
sessionCollaborators(sessionId: $sessionId) { ...SessionCollaboratorFields }
|
|
1327
|
+
}
|
|
1328
|
+
`,mo=`
|
|
1329
|
+
${P}
|
|
1330
|
+
query SessionsSharedWithMe($filter: SharedWithMeFilterInput, $pagination: PaginationInput) {
|
|
1331
|
+
sessionsSharedWithMe(filter: $filter, pagination: $pagination) {
|
|
1332
|
+
totalCount
|
|
1333
|
+
edges { cursor node { ...SessionShareFields } }
|
|
1334
|
+
pageInfo { hasNextPage hasPreviousPage startCursor endCursor }
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
`,bo=`
|
|
1338
|
+
${At}
|
|
1339
|
+
mutation JoinSharedSession($input: JoinSessionInput!) {
|
|
1340
|
+
joinSharedSession(input: $input) { ...SessionCollaboratorFields }
|
|
1341
|
+
}
|
|
1342
|
+
`,Ao=`
|
|
1343
|
+
mutation LeaveSharedSession($sessionId: ID!) { leaveSharedSession(sessionId: $sessionId) }
|
|
1344
|
+
`,To=`
|
|
1345
|
+
mutation RequestSessionControl($sessionId: ID!) { requestSessionControl(sessionId: $sessionId) }
|
|
1346
|
+
`,yo=`
|
|
1347
|
+
mutation ReleaseSessionControl($sessionId: ID!) { releaseSessionControl(sessionId: $sessionId) }
|
|
1348
|
+
`,$o=`
|
|
1349
|
+
mutation TransferSessionControl($sessionId: ID!, $toUserId: ID!) {
|
|
1350
|
+
transferSessionControl(sessionId: $sessionId, toUserId: $toUserId)
|
|
1351
|
+
}
|
|
1352
|
+
`,Do=`
|
|
1353
|
+
${c}
|
|
1354
|
+
mutation StartSessionTerminal($id: ID!) { startSessionTerminal(id: $id) { ...SessionFields } }
|
|
1355
|
+
`,Eo=`
|
|
1356
|
+
${c}
|
|
1357
|
+
mutation StopSessionTerminal($id: ID!) { stopSessionTerminal(id: $id) { ...SessionFields } }
|
|
1358
|
+
`,Po=`
|
|
1359
|
+
${c}
|
|
1360
|
+
mutation RestartSessionTerminal($id: ID!) { restartSessionTerminal(id: $id) { ...SessionFields } }
|
|
1361
|
+
`,Co=`
|
|
1362
|
+
mutation StartTerminal($targetId: ID!, $shell: String) {
|
|
1363
|
+
startTerminal(targetId: $targetId, shell: $shell) {
|
|
1364
|
+
connectionId sessionId status host localPort remotePort ttydUrl
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
`,Vo=`
|
|
1368
|
+
mutation StopTerminal($sessionId: ID!) { stopTerminal(sessionId: $sessionId) }
|
|
1369
|
+
`,ko=`
|
|
1370
|
+
mutation BulkRestartSessions($ids: [ID!]!) {
|
|
1371
|
+
bulkRestartSessions(ids: $ids) { succeeded failed errors }
|
|
1372
|
+
}
|
|
1373
|
+
`,vo=`
|
|
1374
|
+
mutation BulkStopSessions($ids: [ID!]!) {
|
|
1375
|
+
bulkStopSessions(ids: $ids) { succeeded failed errors }
|
|
1376
|
+
}
|
|
1377
|
+
`,xo=`
|
|
1378
|
+
mutation BulkTerminateSessions($ids: [ID!]!) {
|
|
1379
|
+
bulkTerminateSessions(ids: $ids) { succeeded failed errors }
|
|
1380
|
+
}
|
|
1381
|
+
`,fo=`
|
|
1382
|
+
mutation ExportSessions($input: SessionExportInput!) {
|
|
1383
|
+
exportSessions(input: $input) { count data format generatedAt }
|
|
1384
|
+
}
|
|
1385
|
+
`;function Tt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Qi,{filter:t,pagination:e})).sessions},async get(t){return (await n.request(Zi,{id:t})).session},async create(t){return (await n.request(to,{input:t})).createSession},async update(t,e){return (await n.request(eo,{id:t,input:e})).updateSession},async delete(t){return (await n.request(no,{id:t})).deleteSession},async updateStatus(t,e){return (await n.request(io,{id:t,status:e})).updateSessionStatus},async start(t){return (await n.request(oo,{id:t})).startSession},async stop(t){return (await n.request(ao,{id:t})).stopSession},async kill(t){return (await n.request(so,{id:t})).killSession},async share(t){return (await n.request(ro,{input:t})).shareSession},async updateShare(t,e){return (await n.request(co,{id:t,input:e})).updateSessionShare},async revokeShare(t){return (await n.request(uo,{id:t})).revokeSessionShare},async createShareLink(t){return (await n.request(lo,{input:t})).createSessionShareLink},async revokeShareLink(t){return (await n.request(po,{id:t})).revokeSessionShareLink},async listShares(t){return (await n.request(So,{sessionId:t})).sessionShares},async listShareLinks(t){return (await n.request(go,{sessionId:t})).sessionShareLinks},async listCollaborators(t){return (await n.request(Io,{sessionId:t})).sessionCollaborators},async sharedWithMe(t,e){return (await n.request(mo,{filter:t,pagination:e})).sessionsSharedWithMe},async join(t){return (await n.request(bo,{input:t})).joinSharedSession},async leave(t){return (await n.request(Ao,{sessionId:t})).leaveSharedSession},async requestControl(t){return (await n.request(To,{sessionId:t})).requestSessionControl},async releaseControl(t){return (await n.request(yo,{sessionId:t})).releaseSessionControl},async transferControl(t,e){return (await n.request($o,{sessionId:t,toUserId:e})).transferSessionControl},async startTerminal(t){return (await n.request(Do,{id:t})).startSessionTerminal},async stopTerminal(t){return (await n.request(Eo,{id:t})).stopSessionTerminal},async restartTerminal(t){return (await n.request(Po,{id:t})).restartSessionTerminal},async startTargetTerminal(t,e){return (await n.request(Co,{targetId:t,shell:e})).startTerminal},async stopTargetTerminal(t){return (await n.request(Vo,{sessionId:t})).stopTerminal},async bulkRestart(t){return (await n.request(ko,{ids:t})).bulkRestartSessions},async bulkStop(t){return (await n.request(vo,{ids:t})).bulkStopSessions},async bulkTerminate(t){return (await n.request(xo,{ids:t})).bulkTerminateSessions},async export(t){return (await n.request(fo,{input:t})).exportSessions}}}var T=`
|
|
715
1386
|
fragment TargetFields on Target {
|
|
716
1387
|
id name type host port username status workspaceId createdAt updatedAt
|
|
717
1388
|
}
|
|
718
|
-
`,
|
|
1389
|
+
`,G=`
|
|
719
1390
|
fragment AgentConnectionFields on AgentConnection {
|
|
720
1391
|
id sourceAgentId targetId protocol status permissions createdAt updatedAt
|
|
721
1392
|
}
|
|
722
|
-
`,
|
|
723
|
-
${
|
|
1393
|
+
`,Ro=`
|
|
1394
|
+
${T}
|
|
724
1395
|
query Targets($workspaceId: ID!, $filter: TargetFilterInput, $limit: Int, $offset: Int) {
|
|
725
1396
|
targets(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset) {
|
|
726
1397
|
items { ...TargetFields }
|
|
@@ -728,12 +1399,12 @@
|
|
|
728
1399
|
hasMore
|
|
729
1400
|
}
|
|
730
1401
|
}
|
|
731
|
-
`,
|
|
732
|
-
${
|
|
1402
|
+
`,ho=`
|
|
1403
|
+
${T}
|
|
733
1404
|
query Target($id: ID!) { target(id: $id) { ...TargetFields } }
|
|
734
|
-
`,
|
|
735
|
-
${
|
|
736
|
-
${
|
|
1405
|
+
`,_o=`
|
|
1406
|
+
${T}
|
|
1407
|
+
${G}
|
|
737
1408
|
query AgentGraph($workspaceId: ID!, $rootAgentId: ID) {
|
|
738
1409
|
agentGraph(workspaceId: $workspaceId, rootAgentId: $rootAgentId) {
|
|
739
1410
|
agents {
|
|
@@ -745,28 +1416,28 @@
|
|
|
745
1416
|
connections { ...AgentConnectionFields }
|
|
746
1417
|
}
|
|
747
1418
|
}
|
|
748
|
-
`,
|
|
749
|
-
${
|
|
1419
|
+
`,No=`
|
|
1420
|
+
${T}
|
|
750
1421
|
mutation CreateTarget($workspaceId: ID!, $input: CreateTargetInput!) {
|
|
751
1422
|
createTarget(workspaceId: $workspaceId, input: $input) { ...TargetFields }
|
|
752
1423
|
}
|
|
753
|
-
`,
|
|
754
|
-
${
|
|
1424
|
+
`,wo=`
|
|
1425
|
+
${T}
|
|
755
1426
|
mutation UpdateTarget($id: ID!, $input: UpdateTargetInput!) {
|
|
756
1427
|
updateTarget(id: $id, input: $input) { ...TargetFields }
|
|
757
1428
|
}
|
|
758
|
-
`,
|
|
1429
|
+
`,Lo="mutation DeleteTarget($id: ID!) { deleteTarget(id: $id) }",Fo=`
|
|
759
1430
|
mutation TestTarget($id: ID!) {
|
|
760
1431
|
testTarget(id: $id) { success error latencyMs }
|
|
761
1432
|
}
|
|
762
|
-
`,
|
|
1433
|
+
`,qo=`
|
|
763
1434
|
query ScanSSHConfig($agentId: ID!, $configPath: String) {
|
|
764
1435
|
scanSSHConfig(agentId: $agentId, configPath: $configPath) {
|
|
765
1436
|
name host port username type
|
|
766
1437
|
}
|
|
767
1438
|
}
|
|
768
|
-
`,
|
|
769
|
-
${
|
|
1439
|
+
`,Uo=`
|
|
1440
|
+
${T}
|
|
770
1441
|
mutation ImportTargetsFromConfig(
|
|
771
1442
|
$agentId: ID!, $hosts: [ImportTargetHostInput!]!, $workspaceId: ID!
|
|
772
1443
|
) {
|
|
@@ -774,33 +1445,33 @@
|
|
|
774
1445
|
...TargetFields
|
|
775
1446
|
}
|
|
776
1447
|
}
|
|
777
|
-
`,
|
|
1448
|
+
`,Oo=`
|
|
778
1449
|
mutation InstallAgentOnTarget($sourceAgentId: ID!, $targetId: ID!, $agentPort: Int) {
|
|
779
1450
|
installAgentOnTarget(
|
|
780
1451
|
sourceAgentId: $sourceAgentId, targetId: $targetId, agentPort: $agentPort
|
|
781
1452
|
) { success error }
|
|
782
1453
|
}
|
|
783
|
-
`,
|
|
1454
|
+
`,Bo=`
|
|
784
1455
|
mutation UninstallAgentFromTarget($targetId: ID!) {
|
|
785
1456
|
uninstallAgentFromTarget(targetId: $targetId) { success error }
|
|
786
1457
|
}
|
|
787
|
-
`,
|
|
1458
|
+
`,Go=`
|
|
788
1459
|
mutation StartTerminal($targetId: ID!, $shell: String) {
|
|
789
1460
|
startTerminal(targetId: $targetId, shell: $shell) { sessionId ttydUrl }
|
|
790
1461
|
}
|
|
791
|
-
`,
|
|
792
|
-
${
|
|
1462
|
+
`,Mo="mutation StopTerminal($sessionId: ID!) { stopTerminal(sessionId: $sessionId) }",Wo=`
|
|
1463
|
+
${G}
|
|
793
1464
|
mutation ConnectAgentToTarget($sourceAgentId: ID!, $targetId: ID!, $protocol: String!) {
|
|
794
1465
|
connectAgentToTarget(sourceAgentId: $sourceAgentId, targetId: $targetId, protocol: $protocol) {
|
|
795
1466
|
...AgentConnectionFields
|
|
796
1467
|
}
|
|
797
1468
|
}
|
|
798
|
-
`,
|
|
1469
|
+
`,Ho=`
|
|
799
1470
|
mutation DisconnectAgentFromTarget($connectionId: ID!) {
|
|
800
1471
|
disconnectAgentFromTarget(connectionId: $connectionId)
|
|
801
1472
|
}
|
|
802
|
-
`,
|
|
803
|
-
${
|
|
1473
|
+
`,Ko=`
|
|
1474
|
+
${G}
|
|
804
1475
|
mutation UpdateConnectionPermissions(
|
|
805
1476
|
$connectionId: ID!, $input: UpdateConnectionPermissionsInput!
|
|
806
1477
|
) {
|
|
@@ -808,72 +1479,310 @@
|
|
|
808
1479
|
...AgentConnectionFields
|
|
809
1480
|
}
|
|
810
1481
|
}
|
|
811
|
-
`,
|
|
1482
|
+
`,Jo=`
|
|
812
1483
|
mutation GenerateAgentGraphContextUrl($workspaceId: ID!, $expiresInMinutes: Int) {
|
|
813
1484
|
generateAgentGraphContextUrl(workspaceId: $workspaceId, expiresInMinutes: $expiresInMinutes)
|
|
814
1485
|
}
|
|
815
|
-
`;function
|
|
1486
|
+
`;function yt(o){let{workspace:n}=o.gql;return {async list(t,e,i,a){return (await n.request(Ro,{workspaceId:t,filter:e,limit:i,offset:a})).targets},async get(t){return (await n.request(ho,{id:t})).target},async getAgentGraph(t,e){return (await n.request(_o,{workspaceId:t,rootAgentId:e})).agentGraph},async create(t,e){return (await n.request(No,{workspaceId:t,input:e})).createTarget},async update(t,e){return (await n.request(wo,{id:t,input:e})).updateTarget},async delete(t){return (await n.request(Lo,{id:t})).deleteTarget},async test(t){return (await n.request(Fo,{id:t})).testTarget},async scanSSHConfig(t,e){return (await n.request(qo,{agentId:t,configPath:e})).scanSSHConfig},async importFromConfig(t,e,i){return (await n.request(Uo,{agentId:t,hosts:e,workspaceId:i})).importTargetsFromConfig},async installAgent(t,e,i){return (await n.request(Oo,{sourceAgentId:t,targetId:e,agentPort:i})).installAgentOnTarget},async uninstallAgent(t){return (await n.request(Bo,{targetId:t})).uninstallAgentFromTarget},async startTerminal(t,e){return (await n.request(Go,{targetId:t,shell:e})).startTerminal},async stopTerminal(t){return (await n.request(Mo,{sessionId:t})).stopTerminal},async connectAgent(t,e,i){return (await n.request(Wo,{sourceAgentId:t,targetId:e,protocol:i})).connectAgentToTarget},async disconnectAgent(t){return (await n.request(Ho,{connectionId:t})).disconnectAgentFromTarget},async updateConnectionPermissions(t,e){return (await n.request(Ko,{connectionId:t,input:e})).updateConnectionPermissions},async generateGraphContextUrl(t,e){return (await n.request(Jo,{workspaceId:t,expiresInMinutes:e})).generateAgentGraphContextUrl}}}var M=`
|
|
1487
|
+
fragment TemplateFields on VibecontrolsTemplate {
|
|
1488
|
+
id name description category status version
|
|
1489
|
+
setupInstructions sourceRepositoryUrl
|
|
1490
|
+
fileTree variables componentSnapshot
|
|
1491
|
+
cloneCount tags metadata
|
|
1492
|
+
createdAt updatedAt
|
|
1493
|
+
}
|
|
1494
|
+
`,jo=`
|
|
1495
|
+
${M}
|
|
1496
|
+
query VibecontrolsTemplates(
|
|
1497
|
+
$filter: VibecontrolsTemplateFilterInput
|
|
1498
|
+
$pagination: PaginationInput
|
|
1499
|
+
) {
|
|
1500
|
+
vibecontrolsTemplates(filter: $filter, pagination: $pagination) {
|
|
1501
|
+
items { ...TemplateFields }
|
|
1502
|
+
total
|
|
1503
|
+
hasMore
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
`,Xo=`
|
|
1507
|
+
${M}
|
|
1508
|
+
query VibecontrolsTemplate($id: ID!) {
|
|
1509
|
+
vibecontrolsTemplate(id: $id) { ...TemplateFields }
|
|
1510
|
+
}
|
|
1511
|
+
`,Yo=`
|
|
1512
|
+
${M}
|
|
1513
|
+
mutation UpdateVibecontrolsTemplate(
|
|
1514
|
+
$id: ID!
|
|
1515
|
+
$input: VibecontrolsUpdateTemplateInput!
|
|
1516
|
+
) {
|
|
1517
|
+
updateVibecontrolsTemplate(id: $id, input: $input) { ...TemplateFields }
|
|
1518
|
+
}
|
|
1519
|
+
`,zo="mutation DeleteVibecontrolsTemplate($id: ID!) { deleteVibecontrolsTemplate(id: $id) }",Qo=`
|
|
1520
|
+
mutation InstantiateVibecontrolsTemplate(
|
|
1521
|
+
$templateId: ID!
|
|
1522
|
+
$input: VibecontrolsCloneTemplateInput!
|
|
1523
|
+
) {
|
|
1524
|
+
instantiateVibecontrolsTemplate(templateId: $templateId, input: $input) {
|
|
1525
|
+
id name description type lifecycle version
|
|
1526
|
+
language framework repositoryUrl documentationUrl
|
|
1527
|
+
dependencies sbomData tags metadata
|
|
1528
|
+
ownerId ownerName teamId teamName catalogCount
|
|
1529
|
+
workspaceId createdAt updatedAt deletedAt
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
`;function $t(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(jo,{filter:t,pagination:e})).vibecontrolsTemplates},async get(t){return (await n.request(Xo,{id:t})).vibecontrolsTemplate},async update(t,e){return (await n.request(Yo,{id:t,input:e})).updateVibecontrolsTemplate},async delete(t){return (await n.request(zo,{id:t})).deleteVibecontrolsTemplate},async instantiate(t,e){return (await n.request(Qo,{templateId:t,input:e})).instantiateVibecontrolsTemplate}}}var y=`
|
|
1533
|
+
fragment TunnelDomainFields on TunnelDomain {
|
|
1534
|
+
id workspaceId tunnelId type hostname environment
|
|
1535
|
+
verificationStatus challengeRecordName challengeToken
|
|
1536
|
+
verifiedAt lastCheckedAt lastCheckError isPrimary dnsTargetHint
|
|
1537
|
+
createdAt updatedAt deletedAt
|
|
1538
|
+
}
|
|
1539
|
+
`,d=`
|
|
1540
|
+
${y}
|
|
1541
|
+
fragment TunnelFields on Tunnel {
|
|
1542
|
+
id workspaceId agentId slug name description
|
|
1543
|
+
providerKey protocol localHost localPort tlsMode
|
|
1544
|
+
status lastError hasBasicAuth basicAuthUser
|
|
1545
|
+
metadata providerConfig
|
|
1546
|
+
primaryDomain { ...TunnelDomainFields }
|
|
1547
|
+
startedAt stoppedAt createdAt updatedAt deletedAt
|
|
1548
|
+
}
|
|
1549
|
+
`,Dt=`
|
|
1550
|
+
fragment TunnelProviderFields on TunnelProvider {
|
|
1551
|
+
id key displayName description isEnabled pluginPackage minAgentVersion
|
|
1552
|
+
capabilities {
|
|
1553
|
+
platforms supportedVisibilities
|
|
1554
|
+
supportsCustomDomains supportsHttp supportsHttps supportsLiveLogs
|
|
1555
|
+
supportsManagedSubdomains supportsReservedSubdomain supportsRotateCredentials
|
|
1556
|
+
supportsSessionTokens supportsTcp supportsUdp supportsUsageMetrics
|
|
1557
|
+
}
|
|
1558
|
+
createdAt updatedAt
|
|
1559
|
+
}
|
|
1560
|
+
`,Et=`
|
|
1561
|
+
fragment TunnelSessionFields on TunnelSession {
|
|
1562
|
+
id workspaceId tunnelId shardId agentId status
|
|
1563
|
+
tokenFingerprint issuedAt expiresAt connectedAt disconnectedAt
|
|
1564
|
+
revokedAt revokedReason clientIp bytesIn bytesOut metadata
|
|
1565
|
+
}
|
|
1566
|
+
`,Zo=`
|
|
1567
|
+
fragment TunnelShardFields on TunnelShard {
|
|
1568
|
+
id name providerId environment publicHost controlPort proxyPortRange
|
|
1569
|
+
region status capacity currentLoad metadata createdAt updatedAt
|
|
1570
|
+
}
|
|
1571
|
+
`,ta=`
|
|
1572
|
+
${d}
|
|
1573
|
+
query Tunnels($filter: TunnelFilterInput, $pagination: PaginationInput) {
|
|
1574
|
+
tunnels(filter: $filter, pagination: $pagination) {
|
|
1575
|
+
items { ...TunnelFields }
|
|
1576
|
+
total
|
|
1577
|
+
hasMore
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
`,ea=`
|
|
1581
|
+
${d}
|
|
1582
|
+
query Tunnel($id: ID!) { tunnel(id: $id) { ...TunnelFields } }
|
|
1583
|
+
`,na=`
|
|
1584
|
+
${d}
|
|
1585
|
+
query TunnelBySlug($slug: String!) { tunnelBySlug(slug: $slug) { ...TunnelFields } }
|
|
1586
|
+
`,ia=`
|
|
1587
|
+
${d}
|
|
1588
|
+
mutation CreateTunnel($input: CreateTunnelInput!) {
|
|
1589
|
+
createTunnel(input: $input) { ...TunnelFields }
|
|
1590
|
+
}
|
|
1591
|
+
`,oa=`
|
|
1592
|
+
${d}
|
|
1593
|
+
mutation UpdateTunnel($id: ID!, $input: UpdateTunnelInput!) {
|
|
1594
|
+
updateTunnel(id: $id, input: $input) { ...TunnelFields }
|
|
1595
|
+
}
|
|
1596
|
+
`,aa="mutation DeleteTunnel($id: ID!) { deleteTunnel(id: $id) }",sa=`
|
|
1597
|
+
${d}
|
|
1598
|
+
mutation StartTunnel($id: ID!) { startTunnel(id: $id) { ...TunnelFields } }
|
|
1599
|
+
`,ra=`
|
|
1600
|
+
${d}
|
|
1601
|
+
mutation StopTunnel($id: ID!) { stopTunnel(id: $id) { ...TunnelFields } }
|
|
1602
|
+
`,ca=`
|
|
1603
|
+
${d}
|
|
1604
|
+
mutation RotateTunnelCredentials($id: ID!) {
|
|
1605
|
+
rotateTunnelCredentials(id: $id) { ...TunnelFields }
|
|
1606
|
+
}
|
|
1607
|
+
`,da=`
|
|
1608
|
+
${Et}
|
|
1609
|
+
mutation IssueTunnelSession($tunnelId: ID!, $ttlSeconds: Int) {
|
|
1610
|
+
issueTunnelSession(tunnelId: $tunnelId, ttlSeconds: $ttlSeconds) {
|
|
1611
|
+
session { ...TunnelSessionFields }
|
|
1612
|
+
token
|
|
1613
|
+
agentConfigHint
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
`,ua=`
|
|
1617
|
+
mutation RevokeTunnelSession($sessionId: ID!, $reason: String) {
|
|
1618
|
+
revokeTunnelSession(sessionId: $sessionId, reason: $reason)
|
|
1619
|
+
}
|
|
1620
|
+
`,la=`
|
|
1621
|
+
${Et}
|
|
1622
|
+
query TunnelSessions($tunnelId: ID!, $pagination: PaginationInput) {
|
|
1623
|
+
tunnelSessions(tunnelId: $tunnelId, pagination: $pagination) {
|
|
1624
|
+
items { ...TunnelSessionFields }
|
|
1625
|
+
total
|
|
1626
|
+
hasMore
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
`,pa=`
|
|
1630
|
+
${Dt}
|
|
1631
|
+
query TunnelProviders { tunnelProviders { ...TunnelProviderFields } }
|
|
1632
|
+
`,Sa=`
|
|
1633
|
+
${Dt}
|
|
1634
|
+
query TunnelProvider($key: TunnelProviderKey!) {
|
|
1635
|
+
tunnelProvider(key: $key) { ...TunnelProviderFields }
|
|
1636
|
+
}
|
|
1637
|
+
`,ga=`
|
|
1638
|
+
${Zo}
|
|
1639
|
+
query TunnelShards($environment: TunnelEnvironment) {
|
|
1640
|
+
tunnelShards(environment: $environment) { ...TunnelShardFields }
|
|
1641
|
+
}
|
|
1642
|
+
`,Ia=`
|
|
1643
|
+
query TunnelUsage($tunnelId: ID!, $from: DateTime!, $to: DateTime!) {
|
|
1644
|
+
tunnelUsage(tunnelId: $tunnelId, from: $from, to: $to) {
|
|
1645
|
+
tunnelId hourBucket bytesIn bytesOut connections requests
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
`,ma=`
|
|
1649
|
+
query TunnelAudit($tunnelId: ID!, $pagination: PaginationInput) {
|
|
1650
|
+
tunnelAudit(tunnelId: $tunnelId, pagination: $pagination) {
|
|
1651
|
+
items {
|
|
1652
|
+
id action resourceType resourceId actorId actorType
|
|
1653
|
+
status description ipAddress userAgent requestId
|
|
1654
|
+
workspaceId createdAt
|
|
1655
|
+
}
|
|
1656
|
+
total
|
|
1657
|
+
hasMore
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
`,ba=`
|
|
1661
|
+
${y}
|
|
1662
|
+
query TunnelDomains($tunnelId: ID, $filter: TunnelDomainFilterInput, $pagination: PaginationInput) {
|
|
1663
|
+
tunnelDomains(tunnelId: $tunnelId, filter: $filter, pagination: $pagination) {
|
|
1664
|
+
items { ...TunnelDomainFields }
|
|
1665
|
+
total
|
|
1666
|
+
hasMore
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
`,Aa=`
|
|
1670
|
+
${y}
|
|
1671
|
+
query TunnelDomain($id: ID!) { tunnelDomain(id: $id) { ...TunnelDomainFields } }
|
|
1672
|
+
`,Ta=`
|
|
1673
|
+
${y}
|
|
1674
|
+
mutation ReserveTunnelSubdomain($input: ReserveTunnelSubdomainInput!) {
|
|
1675
|
+
reserveTunnelSubdomain(input: $input) { ...TunnelDomainFields }
|
|
1676
|
+
}
|
|
1677
|
+
`,ya=`
|
|
1678
|
+
${y}
|
|
1679
|
+
mutation RegisterCustomTunnelDomain($input: RegisterCustomDomainInput!) {
|
|
1680
|
+
registerCustomTunnelDomain(input: $input) { ...TunnelDomainFields }
|
|
1681
|
+
}
|
|
1682
|
+
`,$a=`
|
|
1683
|
+
${y}
|
|
1684
|
+
mutation VerifyTunnelDomain($domainId: ID!) {
|
|
1685
|
+
verifyTunnelDomain(domainId: $domainId) { ...TunnelDomainFields }
|
|
1686
|
+
}
|
|
1687
|
+
`,Da=`
|
|
1688
|
+
${d}
|
|
1689
|
+
mutation AttachTunnelDomain($tunnelId: ID!, $domainId: ID!, $makePrimary: Boolean) {
|
|
1690
|
+
attachTunnelDomain(tunnelId: $tunnelId, domainId: $domainId, makePrimary: $makePrimary) {
|
|
1691
|
+
...TunnelFields
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
`,Ea=`
|
|
1695
|
+
${d}
|
|
1696
|
+
mutation DetachTunnelDomain($tunnelId: ID!, $domainId: ID!) {
|
|
1697
|
+
detachTunnelDomain(tunnelId: $tunnelId, domainId: $domainId) { ...TunnelFields }
|
|
1698
|
+
}
|
|
1699
|
+
`,Pa=`
|
|
1700
|
+
mutation DeleteTunnelDomain($domainId: ID!) { deleteTunnelDomain(domainId: $domainId) }
|
|
1701
|
+
`,Ca=`
|
|
1702
|
+
query ProbeAgentTunnel($url: String!, $agentApiKey: String) {
|
|
1703
|
+
probeAgentTunnel(url: $url, agentApiKey: $agentApiKey) {
|
|
1704
|
+
agentId reachable latencyMs error version tunnelUrl
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
`,Va=`
|
|
1708
|
+
mutation AddVibecontrolsAgentFromTunnel($input: AddAgentFromTunnelInput!) {
|
|
1709
|
+
addVibecontrolsAgentFromTunnel(input: $input) {
|
|
1710
|
+
success
|
|
1711
|
+
clientId
|
|
1712
|
+
clientSecret
|
|
1713
|
+
devportalApplicationId
|
|
1714
|
+
error
|
|
1715
|
+
agent {
|
|
1716
|
+
id name hostname platform architecture version
|
|
1717
|
+
tunnelUrl tunnelStatus apiUrl agentApiKey
|
|
1718
|
+
appId appClientId capabilities configuration
|
|
1719
|
+
isActive lastHeartbeat metadata workspaceId
|
|
1720
|
+
createdAt updatedAt deletedAt
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
`,ka=`
|
|
816
1725
|
query VibecontrolsAgentTunnels {
|
|
817
1726
|
vibecontrolsAgentTunnels {
|
|
818
1727
|
items { id agentId tunnelUrl status provider createdAt metadata }
|
|
819
1728
|
total
|
|
820
1729
|
}
|
|
821
1730
|
}
|
|
822
|
-
`,
|
|
1731
|
+
`,va=`
|
|
823
1732
|
mutation CreateAgentTunnel($input: CreateAgentTunnelInput!) {
|
|
824
1733
|
createAgentTunnel(input: $input) {
|
|
825
1734
|
id agentId tunnelUrl status provider createdAt metadata
|
|
826
1735
|
}
|
|
827
1736
|
}
|
|
828
|
-
`,
|
|
1737
|
+
`,xa=`
|
|
829
1738
|
mutation StopAgentTunnel($agentId: ID!, $tunnelId: ID!) {
|
|
830
1739
|
stopAgentTunnel(agentId: $agentId, tunnelId: $tunnelId)
|
|
831
1740
|
}
|
|
832
|
-
`,
|
|
1741
|
+
`,fa=`
|
|
833
1742
|
mutation DeleteAgentTunnel($agentId: ID!, $tunnelId: ID!) {
|
|
834
1743
|
deleteAgentTunnel(agentId: $agentId, tunnelId: $tunnelId)
|
|
835
1744
|
}
|
|
836
|
-
`;function
|
|
1745
|
+
`;function Pt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(ta,{filter:t,pagination:e})).tunnels},async get(t){return (await n.request(ea,{id:t})).tunnel},async bySlug(t){return (await n.request(na,{slug:t})).tunnelBySlug},async create(t){return (await n.request(ia,{input:t})).createTunnel},async update(t,e){return (await n.request(oa,{id:t,input:e})).updateTunnel},async delete(t){return (await n.request(aa,{id:t})).deleteTunnel},async start(t){return (await n.request(sa,{id:t})).startTunnel},async stop(t){return (await n.request(ra,{id:t})).stopTunnel},async rotateCredentials(t){return (await n.request(ca,{id:t})).rotateTunnelCredentials},async issueSession(t,e){return (await n.request(da,{tunnelId:t,ttlSeconds:e})).issueTunnelSession},async revokeSession(t,e){return (await n.request(ua,{sessionId:t,reason:e})).revokeTunnelSession},async listSessions(t,e){return (await n.request(la,{tunnelId:t,pagination:e})).tunnelSessions},async providers(){return (await n.request(pa)).tunnelProviders},async provider(t){return (await n.request(Sa,{key:t})).tunnelProvider},async shards(t){return (await n.request(ga,{environment:t})).tunnelShards},async usage(t,e,i){return (await n.request(Ia,{tunnelId:t,from:e,to:i})).tunnelUsage},async audit(t,e){return (await n.request(ma,{tunnelId:t,pagination:e})).tunnelAudit},async listDomains(t,e,i){return (await n.request(ba,{tunnelId:t,filter:e,pagination:i})).tunnelDomains},async getDomain(t){return (await n.request(Aa,{id:t})).tunnelDomain},async reserveSubdomain(t){return (await n.request(Ta,{input:t})).reserveTunnelSubdomain},async registerCustomDomain(t){return (await n.request(ya,{input:t})).registerCustomTunnelDomain},async verifyDomain(t){return (await n.request($a,{domainId:t})).verifyTunnelDomain},async attachDomain(t,e,i){return (await n.request(Da,{tunnelId:t,domainId:e,makePrimary:i})).attachTunnelDomain},async detachDomain(t,e){return (await n.request(Ea,{tunnelId:t,domainId:e})).detachTunnelDomain},async deleteDomain(t){return (await n.request(Pa,{domainId:t})).deleteTunnelDomain},async probeAgent(t,e){return (await n.request(Ca,{url:t,agentApiKey:e})).probeAgentTunnel},async addAgentFromTunnel(t){return (await n.request(Va,{input:t})).addVibecontrolsAgentFromTunnel},async listAgentTunnels(){return (await n.request(ka)).vibecontrolsAgentTunnels},async createAgentTunnel(t){return (await n.request(va,{input:t})).createAgentTunnel},async stopAgentTunnel(t,e){return (await n.request(xa,{agentId:t,tunnelId:e})).stopAgentTunnel},async deleteAgentTunnel(t,e){return (await n.request(fa,{agentId:t,tunnelId:e})).deleteAgentTunnel}}}var S=`
|
|
837
1746
|
fragment UISessionFields on UISession {
|
|
838
1747
|
id userId state activeVibeId activeSessionId
|
|
839
1748
|
recentVibes recentSessions workspaceId createdAt updatedAt
|
|
840
1749
|
}
|
|
841
|
-
`,
|
|
842
|
-
${
|
|
1750
|
+
`,Ra=`
|
|
1751
|
+
${S}
|
|
843
1752
|
query UISession { uiSession { ...UISessionFields } }
|
|
844
|
-
`,
|
|
845
|
-
${
|
|
1753
|
+
`,ha=`
|
|
1754
|
+
${S}
|
|
846
1755
|
query UISessionById($id: ID!) { uiSessionById(id: $id) { ...UISessionFields } }
|
|
847
|
-
`,
|
|
848
|
-
${
|
|
1756
|
+
`,_a=`
|
|
1757
|
+
${S}
|
|
849
1758
|
mutation SaveUISession($input: SaveUISessionInput!) {
|
|
850
1759
|
saveUISession(input: $input) { ...UISessionFields }
|
|
851
1760
|
}
|
|
852
|
-
`,
|
|
853
|
-
${
|
|
1761
|
+
`,Na="mutation ClearUISession { clearUISession }",wa=`
|
|
1762
|
+
${S}
|
|
854
1763
|
mutation UpdateActiveVibe($vibeId: ID) {
|
|
855
1764
|
updateActiveVibe(vibeId: $vibeId) { ...UISessionFields }
|
|
856
1765
|
}
|
|
857
|
-
`,
|
|
858
|
-
${
|
|
1766
|
+
`,La=`
|
|
1767
|
+
${S}
|
|
859
1768
|
mutation UpdateActiveSession($sessionId: ID) {
|
|
860
1769
|
updateActiveSession(sessionId: $sessionId) { ...UISessionFields }
|
|
861
1770
|
}
|
|
862
|
-
`,
|
|
863
|
-
${
|
|
1771
|
+
`,Fa=`
|
|
1772
|
+
${S}
|
|
864
1773
|
mutation AddRecentVibe($vibeId: ID!) {
|
|
865
1774
|
addRecentVibe(vibeId: $vibeId) { ...UISessionFields }
|
|
866
1775
|
}
|
|
867
|
-
`,
|
|
868
|
-
${
|
|
1776
|
+
`,qa=`
|
|
1777
|
+
${S}
|
|
869
1778
|
mutation AddRecentSession($sessionId: ID!) {
|
|
870
1779
|
addRecentSession(sessionId: $sessionId) { ...UISessionFields }
|
|
871
1780
|
}
|
|
872
|
-
`;function
|
|
1781
|
+
`;function Ct(o){let{workspace:n}=o.gql;return {async getCurrent(){return (await n.request(Ra)).uiSession},async getById(t){return (await n.request(ha,{id:t})).uiSessionById},async save(t){return (await n.request(_a,{input:t})).saveUISession},async clear(){return (await n.request(Na)).clearUISession},async updateActiveVibe(t){return (await n.request(wa,{vibeId:t??null})).updateActiveVibe},async updateActiveSession(t){return (await n.request(La,{sessionId:t??null})).updateActiveSession},async addRecentVibe(t){return (await n.request(Fa,{vibeId:t})).addRecentVibe},async addRecentSession(t){return (await n.request(qa,{sessionId:t})).addRecentSession}}}var g=`
|
|
873
1782
|
fragment VibeDeckFields on VibeDeck {
|
|
874
1783
|
id name description isDefault workspaceId createdAt updatedAt
|
|
875
1784
|
}
|
|
876
|
-
`,
|
|
1785
|
+
`,C=`
|
|
877
1786
|
fragment VibeDeckButtonFields on VibeDeckButton {
|
|
878
1787
|
id vibeDeckId label icon actionType actionId
|
|
879
1788
|
action { id name actionType }
|
|
@@ -881,8 +1790,8 @@
|
|
|
881
1790
|
confirmationRequired keyboardShortcut style sortOrder
|
|
882
1791
|
createdAt updatedAt
|
|
883
1792
|
}
|
|
884
|
-
`,
|
|
885
|
-
${
|
|
1793
|
+
`,Ua=`
|
|
1794
|
+
${g}
|
|
886
1795
|
query VibeDecks($filter: VibeDeckFilterInput, $pagination: PaginationInput) {
|
|
887
1796
|
vibeDecks(filter: $filter, pagination: $pagination) {
|
|
888
1797
|
items { ...VibeDeckFields }
|
|
@@ -890,14 +1799,14 @@
|
|
|
890
1799
|
hasMore
|
|
891
1800
|
}
|
|
892
1801
|
}
|
|
893
|
-
`,
|
|
894
|
-
${
|
|
1802
|
+
`,Oa=`
|
|
1803
|
+
${g}
|
|
895
1804
|
query VibeDeck($id: ID!) { vibeDeck(id: $id) { ...VibeDeckFields } }
|
|
896
|
-
`,
|
|
897
|
-
${
|
|
1805
|
+
`,Ba=`
|
|
1806
|
+
${g}
|
|
898
1807
|
query DefaultVibeDeck { defaultVibeDeck { ...VibeDeckFields } }
|
|
899
|
-
|
|
900
|
-
${
|
|
1808
|
+
`,Ga=`
|
|
1809
|
+
${C}
|
|
901
1810
|
query VibeDeckButtons($filter: VibeDeckButtonFilterInput, $pagination: PaginationInput) {
|
|
902
1811
|
vibeDeckButtons(filter: $filter, pagination: $pagination) {
|
|
903
1812
|
items { ...VibeDeckButtonFields }
|
|
@@ -905,61 +1814,110 @@
|
|
|
905
1814
|
hasMore
|
|
906
1815
|
}
|
|
907
1816
|
}
|
|
908
|
-
`,
|
|
909
|
-
${
|
|
1817
|
+
`,Ma=`
|
|
1818
|
+
${C}
|
|
910
1819
|
query VibeDeckButton($id: ID!) { vibeDeckButton(id: $id) { ...VibeDeckButtonFields } }
|
|
911
|
-
`,
|
|
912
|
-
${
|
|
1820
|
+
`,Wa=`
|
|
1821
|
+
${g}
|
|
913
1822
|
mutation CreateVibeDeck($input: CreateVibeDeckInput!) {
|
|
914
1823
|
createVibeDeck(input: $input) { ...VibeDeckFields }
|
|
915
1824
|
}
|
|
916
|
-
`,
|
|
917
|
-
${
|
|
1825
|
+
`,Ha=`
|
|
1826
|
+
${g}
|
|
918
1827
|
mutation UpdateVibeDeck($id: ID!, $input: UpdateVibeDeckInput!) {
|
|
919
1828
|
updateVibeDeck(id: $id, input: $input) { ...VibeDeckFields }
|
|
920
1829
|
}
|
|
921
|
-
`,
|
|
922
|
-
${
|
|
1830
|
+
`,Ka="mutation DeleteVibeDeck($id: ID!) { deleteVibeDeck(id: $id) }",Ja=`
|
|
1831
|
+
${g}
|
|
923
1832
|
mutation SetDefaultVibeDeck($id: ID!) {
|
|
924
1833
|
setDefaultVibeDeck(id: $id) { ...VibeDeckFields }
|
|
925
1834
|
}
|
|
926
|
-
`,
|
|
927
|
-
${
|
|
1835
|
+
`,ja=`
|
|
1836
|
+
${g}
|
|
928
1837
|
mutation DuplicateVibeDeck($id: ID!) {
|
|
929
1838
|
duplicateVibeDeck(id: $id) { ...VibeDeckFields }
|
|
930
1839
|
}
|
|
931
|
-
`,
|
|
932
|
-
${
|
|
1840
|
+
`,Xa=`
|
|
1841
|
+
${C}
|
|
933
1842
|
mutation CreateVibeDeckButton($input: CreateVibeDeckButtonInput!) {
|
|
934
1843
|
createVibeDeckButton(input: $input) { ...VibeDeckButtonFields }
|
|
935
1844
|
}
|
|
936
|
-
`,
|
|
937
|
-
${
|
|
1845
|
+
`,Ya=`
|
|
1846
|
+
${C}
|
|
938
1847
|
mutation UpdateVibeDeckButton($id: ID!, $input: UpdateVibeDeckButtonInput!) {
|
|
939
1848
|
updateVibeDeckButton(id: $id, input: $input) { ...VibeDeckButtonFields }
|
|
940
1849
|
}
|
|
941
|
-
`,
|
|
1850
|
+
`,za=`
|
|
942
1851
|
mutation DeleteVibeDeckButton($id: ID!) { deleteVibeDeckButton(id: $id) }
|
|
943
|
-
`,
|
|
944
|
-
${
|
|
1852
|
+
`,Qa=`
|
|
1853
|
+
${C}
|
|
945
1854
|
mutation MoveVibeDeckButton($id: ID!, $input: MoveVibeDeckButtonInput!) {
|
|
946
1855
|
moveVibeDeckButton(id: $id, input: $input) { ...VibeDeckButtonFields }
|
|
947
1856
|
}
|
|
948
|
-
`,
|
|
1857
|
+
`,Za=`
|
|
949
1858
|
mutation ReorderVibeDeckButtons($vibeDeckId: ID!, $positions: [VibeDeckButtonPositionInput!]!) {
|
|
950
1859
|
reorderVibeDeckButtons(vibeDeckId: $vibeDeckId, positions: $positions)
|
|
951
1860
|
}
|
|
952
|
-
`,
|
|
1861
|
+
`,ts=`
|
|
953
1862
|
mutation ExecuteVibeDeckButton($id: ID!) {
|
|
954
1863
|
executeVibeDeckButton(id: $id) { success output error }
|
|
955
1864
|
}
|
|
956
|
-
|
|
1865
|
+
`,_=`
|
|
1866
|
+
fragment VibeDeckShareLinkFields on VibeDeckShareLink {
|
|
1867
|
+
id vibeDeckId token shareUrl name permission status visibility
|
|
1868
|
+
hasPassword allowIframe maxUses useCount expiresAt lastUsedAt
|
|
1869
|
+
createdBy createdAt
|
|
1870
|
+
}
|
|
1871
|
+
`,es=`
|
|
1872
|
+
${_}
|
|
1873
|
+
mutation CreateVibeDeckShareLink($input: CreateVibeDeckShareLinkInput!) {
|
|
1874
|
+
createVibeDeckShareLink(input: $input) { ...VibeDeckShareLinkFields }
|
|
1875
|
+
}
|
|
1876
|
+
`,ns=`
|
|
1877
|
+
${_}
|
|
1878
|
+
mutation UpdateVibeDeckShareLink($id: ID!, $input: UpdateVibeDeckShareLinkInput!) {
|
|
1879
|
+
updateVibeDeckShareLink(id: $id, input: $input) { ...VibeDeckShareLinkFields }
|
|
1880
|
+
}
|
|
1881
|
+
`,is=`
|
|
1882
|
+
${_}
|
|
1883
|
+
mutation RevokeVibeDeckShareLink($id: ID!) {
|
|
1884
|
+
revokeVibeDeckShareLink(id: $id) { ...VibeDeckShareLinkFields }
|
|
1885
|
+
}
|
|
1886
|
+
`,os=`
|
|
1887
|
+
${_}
|
|
1888
|
+
query VibeDeckShareLinks($vibeDeckId: ID!) {
|
|
1889
|
+
vibeDeckShareLinks(vibeDeckId: $vibeDeckId) { ...VibeDeckShareLinkFields }
|
|
1890
|
+
}
|
|
1891
|
+
`,as=`
|
|
1892
|
+
query ValidateVibeDeckShareLink($token: String!) {
|
|
1893
|
+
validateVibeDeckShareLink(token: $token) {
|
|
1894
|
+
isValid error requiresPassword permission allowIframe
|
|
1895
|
+
expiresAt vibeDeckId vibeDeckName ownerName
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
`,ss=`
|
|
1899
|
+
query SharedVibeDeck($token: String!, $password: String) {
|
|
1900
|
+
sharedVibeDeck(token: $token, password: $password) {
|
|
1901
|
+
id name description icon buttonSize colorTheme gridColumns gridRows
|
|
1902
|
+
permission
|
|
1903
|
+
buttons {
|
|
1904
|
+
id label actionType row column rowSpan colSpan icon color category confirmationRequired
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
`,rs=`
|
|
1909
|
+
mutation ExecuteSharedVibeDeckButton($token: String!, $buttonId: ID!, $password: String) {
|
|
1910
|
+
executeSharedVibeDeckButton(token: $token, buttonId: $buttonId, password: $password) {
|
|
1911
|
+
success output error
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
`;function Vt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(Ua,{filter:t,pagination:e})).vibeDecks},async get(t){return (await n.request(Oa,{id:t})).vibeDeck},async getDefault(){return (await n.request(Ba)).defaultVibeDeck},async create(t){return (await n.request(Wa,{input:t})).createVibeDeck},async update(t,e){return (await n.request(Ha,{id:t,input:e})).updateVibeDeck},async delete(t){return (await n.request(Ka,{id:t})).deleteVibeDeck},async setDefault(t){return (await n.request(Ja,{id:t})).setDefaultVibeDeck},async duplicate(t){return (await n.request(ja,{id:t})).duplicateVibeDeck},async listButtons(t,e){return (await n.request(Ga,{filter:t,pagination:e})).vibeDeckButtons},async getButton(t){return (await n.request(Ma,{id:t})).vibeDeckButton},async createButton(t){return (await n.request(Xa,{input:t})).createVibeDeckButton},async updateButton(t,e){return (await n.request(Ya,{id:t,input:e})).updateVibeDeckButton},async deleteButton(t){return (await n.request(za,{id:t})).deleteVibeDeckButton},async moveButton(t,e){return (await n.request(Qa,{id:t,input:e})).moveVibeDeckButton},async reorderButtons(t,e){return (await n.request(Za,{vibeDeckId:t,positions:e})).reorderVibeDeckButtons},async executeButton(t){return (await n.request(ts,{id:t})).executeVibeDeckButton},shareLinks:{async list(t){return (await n.request(os,{vibeDeckId:t})).vibeDeckShareLinks},async create(t){return (await n.request(es,{input:t})).createVibeDeckShareLink},async update(t,e){return (await n.request(ns,{id:t,input:e})).updateVibeDeckShareLink},async revoke(t){return (await n.request(is,{id:t})).revokeVibeDeckShareLink},async validate(t){return (await n.request(as,{token:t})).validateVibeDeckShareLink},async getShared(t,e){return (await n.request(ss,{token:t,password:e})).sharedVibeDeck},async executeSharedButton(t,e,i){return (await n.request(rs,{token:t,buttonId:e,password:i})).executeSharedVibeDeckButton}}}}var r=`
|
|
957
1915
|
fragment VibeFields on Vibe {
|
|
958
1916
|
id name description path type status agentId parentId
|
|
959
1917
|
gitBranch gitRemote gitStatus environmentVariables tags metadata
|
|
960
1918
|
workspaceId archivedAt createdAt updatedAt deletedAt
|
|
961
1919
|
}
|
|
962
|
-
`,
|
|
1920
|
+
`,cs=`
|
|
963
1921
|
${r}
|
|
964
1922
|
query Vibes($filter: VibeFilterInput, $pagination: PaginationInput) {
|
|
965
1923
|
vibes(filter: $filter, pagination: $pagination) {
|
|
@@ -968,64 +1926,64 @@
|
|
|
968
1926
|
hasMore
|
|
969
1927
|
}
|
|
970
1928
|
}
|
|
971
|
-
`,
|
|
1929
|
+
`,ds=`
|
|
972
1930
|
${r}
|
|
973
1931
|
query Vibe($id: ID!) { vibe(id: $id) { ...VibeFields } }
|
|
974
|
-
`,
|
|
1932
|
+
`,us=`
|
|
975
1933
|
${r}
|
|
976
1934
|
mutation CreateVibe($input: CreateVibeInput!) { createVibe(input: $input) { ...VibeFields } }
|
|
977
|
-
`,
|
|
1935
|
+
`,ls=`
|
|
978
1936
|
${r}
|
|
979
1937
|
mutation UpdateVibe($id: ID!, $input: UpdateVibeInput!) {
|
|
980
1938
|
updateVibe(id: $id, input: $input) { ...VibeFields }
|
|
981
1939
|
}
|
|
982
|
-
`,
|
|
1940
|
+
`,ps="mutation DeleteVibe($id: ID!) { deleteVibe(id: $id) }",Ss=`
|
|
983
1941
|
${r}
|
|
984
1942
|
mutation UpdateVibeStatus($id: ID!, $status: VibeStatus!) {
|
|
985
1943
|
updateVibeStatus(id: $id, status: $status) { ...VibeFields }
|
|
986
1944
|
}
|
|
987
|
-
`,
|
|
1945
|
+
`,gs=`
|
|
988
1946
|
${r}
|
|
989
1947
|
mutation ArchiveVibe($id: ID!) { archiveVibe(id: $id) { ...VibeFields } }
|
|
990
|
-
`,
|
|
1948
|
+
`,Is=`
|
|
991
1949
|
${r}
|
|
992
1950
|
mutation RestoreVibe($id: ID!) { restoreVibe(id: $id) { ...VibeFields } }
|
|
993
|
-
`,
|
|
1951
|
+
`,ms=`
|
|
994
1952
|
${r}
|
|
995
1953
|
mutation MoveVibe($id: ID!, $newParentId: ID) {
|
|
996
1954
|
moveVibe(id: $id, newParentId: $newParentId) { ...VibeFields }
|
|
997
1955
|
}
|
|
998
|
-
`,
|
|
1956
|
+
`,bs=`
|
|
999
1957
|
${r}
|
|
1000
1958
|
query VibeHierarchy($rootId: ID) {
|
|
1001
1959
|
vibeHierarchy(rootId: $rootId) { ...VibeFields children { ...VibeFields } }
|
|
1002
1960
|
}
|
|
1003
|
-
`,
|
|
1961
|
+
`,As=`
|
|
1004
1962
|
${r}
|
|
1005
1963
|
query SearchVibes($query: String!, $limit: Int) {
|
|
1006
1964
|
searchVibes(query: $query, limit: $limit) { ...VibeFields }
|
|
1007
1965
|
}
|
|
1008
|
-
`,
|
|
1966
|
+
`,Ts=`
|
|
1009
1967
|
${r}
|
|
1010
1968
|
mutation UpdateVibeGit($id: ID!, $gitBranch: String, $gitRemote: String, $gitStatus: JSON) {
|
|
1011
1969
|
updateVibeGit(id: $id, gitBranch: $gitBranch, gitRemote: $gitRemote, gitStatus: $gitStatus) {
|
|
1012
1970
|
...VibeFields
|
|
1013
1971
|
}
|
|
1014
1972
|
}
|
|
1015
|
-
`;function
|
|
1973
|
+
`;function kt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(cs,{filter:t,pagination:e})).vibes},async get(t){return (await n.request(ds,{id:t})).vibe},async create(t){return (await n.request(us,{input:t})).createVibe},async update(t,e){return (await n.request(ls,{id:t,input:e})).updateVibe},async delete(t){return (await n.request(ps,{id:t})).deleteVibe},async updateStatus(t,e){return (await n.request(Ss,{id:t,status:e})).updateVibeStatus},async archive(t){return (await n.request(gs,{id:t})).archiveVibe},async restore(t){return (await n.request(Is,{id:t})).restoreVibe},async move(t,e){return (await n.request(ms,{id:t,newParentId:e??null})).moveVibe},async hierarchy(t){return (await n.request(bs,{rootId:t})).vibeHierarchy},async search(t,e){return (await n.request(As,{query:t,limit:e})).searchVibes},async updateGit(t,e){return (await n.request(Ts,{id:t,...e})).updateVibeGit}}}var I=`
|
|
1016
1974
|
fragment WebhookFields on Webhook {
|
|
1017
1975
|
id name url events agentIds isActive
|
|
1018
1976
|
signingKey retryPolicy deliveryCount failureCount
|
|
1019
1977
|
lastDelivery lastError
|
|
1020
1978
|
workspaceId createdAt updatedAt deletedAt
|
|
1021
1979
|
}
|
|
1022
|
-
`,
|
|
1980
|
+
`,W=`
|
|
1023
1981
|
fragment WebhookDeliveryFields on WebhookDelivery {
|
|
1024
1982
|
id webhookId event payload statusCode response error
|
|
1025
1983
|
attemptCount deliveredAt createdAt
|
|
1026
1984
|
}
|
|
1027
|
-
`,
|
|
1028
|
-
${
|
|
1985
|
+
`,ys=`
|
|
1986
|
+
${I}
|
|
1029
1987
|
query Webhooks($filter: WebhookFilterInput, $pagination: PaginationInput) {
|
|
1030
1988
|
webhooks(filter: $filter, pagination: $pagination) {
|
|
1031
1989
|
items { ...WebhookFields }
|
|
@@ -1033,19 +1991,19 @@
|
|
|
1033
1991
|
hasMore
|
|
1034
1992
|
}
|
|
1035
1993
|
}
|
|
1036
|
-
|
|
1037
|
-
${
|
|
1994
|
+
`,$s=`
|
|
1995
|
+
${I}
|
|
1038
1996
|
query Webhook($id: ID!) { webhook(id: $id) { ...WebhookFields } }
|
|
1039
|
-
`,
|
|
1040
|
-
${
|
|
1997
|
+
`,Ds=`
|
|
1998
|
+
${I}
|
|
1041
1999
|
query WebhooksByEvent($event: String!) {
|
|
1042
2000
|
webhooksByEvent(event: $event) { ...WebhookFields }
|
|
1043
2001
|
}
|
|
1044
|
-
`,
|
|
1045
|
-
${
|
|
2002
|
+
`,Es=`
|
|
2003
|
+
${I}
|
|
1046
2004
|
query ActiveWebhooks { activeWebhooks { ...WebhookFields } }
|
|
1047
|
-
`,
|
|
1048
|
-
${
|
|
2005
|
+
`,Ps=`
|
|
2006
|
+
${W}
|
|
1049
2007
|
query WebhookDeliveries($webhookId: ID!, $pagination: PaginationInput) {
|
|
1050
2008
|
webhookDeliveries(webhookId: $webhookId, pagination: $pagination) {
|
|
1051
2009
|
items { ...WebhookDeliveryFields }
|
|
@@ -1053,29 +2011,29 @@
|
|
|
1053
2011
|
hasMore
|
|
1054
2012
|
}
|
|
1055
2013
|
}
|
|
1056
|
-
`,
|
|
1057
|
-
${
|
|
2014
|
+
`,Cs=`
|
|
2015
|
+
${I}
|
|
1058
2016
|
mutation CreateWebhook($input: CreateWebhookInput!) {
|
|
1059
2017
|
createWebhook(input: $input) { ...WebhookFields }
|
|
1060
2018
|
}
|
|
1061
|
-
`,
|
|
1062
|
-
${
|
|
2019
|
+
`,Vs=`
|
|
2020
|
+
${I}
|
|
1063
2021
|
mutation UpdateWebhook($id: ID!, $input: UpdateWebhookInput!) {
|
|
1064
2022
|
updateWebhook(id: $id, input: $input) { ...WebhookFields }
|
|
1065
2023
|
}
|
|
1066
|
-
`,
|
|
1067
|
-
${
|
|
2024
|
+
`,ks="mutation DeleteWebhook($id: ID!) { deleteWebhook(id: $id) }",vs=`
|
|
2025
|
+
${W}
|
|
1068
2026
|
mutation TestWebhook($id: ID!) {
|
|
1069
2027
|
testWebhook(id: $id) { ...WebhookDeliveryFields }
|
|
1070
2028
|
}
|
|
1071
|
-
`,
|
|
1072
|
-
${
|
|
2029
|
+
`,xs=`
|
|
2030
|
+
${W}
|
|
1073
2031
|
mutation TriggerWebhook($id: ID!, $payload: JSON!) {
|
|
1074
2032
|
triggerWebhook(id: $id, payload: $payload) { ...WebhookDeliveryFields }
|
|
1075
2033
|
}
|
|
1076
|
-
`,
|
|
1077
|
-
${
|
|
2034
|
+
`,fs=`
|
|
2035
|
+
${I}
|
|
1078
2036
|
mutation ResetWebhookFailures($id: ID!) {
|
|
1079
2037
|
resetWebhookFailures(id: $id) { ...WebhookFields }
|
|
1080
2038
|
}
|
|
1081
|
-
`;function
|
|
2039
|
+
`;function vt(o){let{workspace:n}=o.gql;return {async list(t,e){return (await n.request(ys,{filter:t,pagination:e})).webhooks},async get(t){return (await n.request($s,{id:t})).webhook},async byEvent(t){return (await n.request(Ds,{event:t})).webhooksByEvent},async active(){return (await n.request(Es)).activeWebhooks},async create(t){return (await n.request(Cs,{input:t})).createWebhook},async update(t,e){return (await n.request(Vs,{id:t,input:e})).updateWebhook},async delete(t){return (await n.request(ks,{id:t})).deleteWebhook},async testDelivery(t){return (await n.request(vs,{id:t})).testWebhook},async trigger(t,e){return (await n.request(xs,{id:t,payload:e})).triggerWebhook},async resetFailures(t){return (await n.request(fs,{id:t})).resetWebhookFailures},async listDeliveries(t,e){return (await n.request(Ps,{webhookId:t,pagination:e})).webhookDeliveries}}}var Rs={id:"vibecontrols",version:"1.0.0",displayName:"VibeControls",attach(o){return {vibes:kt(o),sessions:Tt(o),agents:J(o),notes:gt(o),targets:yt(o),tunnels:Pt(o),vibeDecks:Vt(o),actions:K(o),audit:z(o),analytics:X(o),uiSession:Ct(o),configuration:pt(o),sandboxes:It(o),docs:St(o),aiToolEvents:j(o),webhooks:vt(o),catalogs:Q(o),components:Z(o),templates:$t(o),scorecards:bt(o)}}},Yr=Rs;module.exports=Yr;
|