@burdenoff/microfe-vibecontrols 2026.601.11 → 2026.601.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +5 -2
  2. package/dist/components/actions/ActionForm.js +270 -255
  3. package/dist/components/actions/ActionForm.js.map +1 -1
  4. package/dist/components/actions/RemoteExecutionEnableNotice.js +85 -0
  5. package/dist/components/actions/RemoteExecutionEnableNotice.js.map +1 -0
  6. package/dist/components/agents/AgentConnectionRecovery.js +123 -0
  7. package/dist/components/agents/AgentConnectionRecovery.js.map +1 -0
  8. package/dist/components/agents/RemoteTaskPermissionsCard.js +37 -36
  9. package/dist/components/agents/RemoteTaskPermissionsCard.js.map +1 -1
  10. package/dist/components/graph/MeshAgentNode.js +74 -0
  11. package/dist/components/graph/MeshAgentNode.js.map +1 -0
  12. package/dist/components/graph/MeshDeployWizard.js +393 -0
  13. package/dist/components/graph/MeshDeployWizard.js.map +1 -0
  14. package/dist/components/graph/MeshGraphView.js +190 -0
  15. package/dist/components/graph/MeshGraphView.js.map +1 -0
  16. package/dist/components/graph/MeshNodeActions.js +70 -0
  17. package/dist/components/graph/MeshNodeActions.js.map +1 -0
  18. package/dist/components/graph/MeshRequestPanel.js +240 -0
  19. package/dist/components/graph/MeshRequestPanel.js.map +1 -0
  20. package/dist/components/graph/meshTypes.js +11 -0
  21. package/dist/components/graph/meshTypes.js.map +1 -0
  22. package/dist/components/graph/nodeIcons.js +31 -0
  23. package/dist/components/graph/nodeIcons.js.map +1 -0
  24. package/dist/components/shared/EnableRemoteTaskDialog.js +48 -0
  25. package/dist/components/shared/EnableRemoteTaskDialog.js.map +1 -0
  26. package/dist/components/shared/index.js +1 -0
  27. package/dist/generated/global-operations.js +7 -12
  28. package/dist/generated/global-operations.js.map +1 -1
  29. package/dist/generated/wspace-operations.js +1896 -1649
  30. package/dist/generated/wspace-operations.js.map +1 -1
  31. package/dist/generated/wspace-types.js +14 -12
  32. package/dist/generated/wspace-types.js.map +1 -1
  33. package/dist/hooks/useAiCreditsQuota.js +27 -20
  34. package/dist/hooks/useAiCreditsQuota.js.map +1 -1
  35. package/dist/index.js +10 -10
  36. package/dist/node_modules/dagre/index.js +24 -0
  37. package/dist/node_modules/dagre/index.js.map +1 -0
  38. package/dist/node_modules/dagre/lib/acyclic.js +47 -0
  39. package/dist/node_modules/dagre/lib/acyclic.js.map +1 -0
  40. package/dist/node_modules/dagre/lib/add-border-segments.js +32 -0
  41. package/dist/node_modules/dagre/lib/add-border-segments.js.map +1 -0
  42. package/dist/node_modules/dagre/lib/coordinate-system.js +57 -0
  43. package/dist/node_modules/dagre/lib/coordinate-system.js.map +1 -0
  44. package/dist/node_modules/dagre/lib/data/list.js +30 -0
  45. package/dist/node_modules/dagre/lib/data/list.js.map +1 -0
  46. package/dist/node_modules/dagre/lib/debug.js +31 -0
  47. package/dist/node_modules/dagre/lib/debug.js.map +1 -0
  48. package/dist/node_modules/dagre/lib/graphlib.js +15 -0
  49. package/dist/node_modules/dagre/lib/graphlib.js.map +1 -0
  50. package/dist/node_modules/dagre/lib/greedy-fas.js +74 -0
  51. package/dist/node_modules/dagre/lib/greedy-fas.js.map +1 -0
  52. package/dist/node_modules/dagre/lib/layout.js +305 -0
  53. package/dist/node_modules/dagre/lib/layout.js.map +1 -0
  54. package/dist/node_modules/dagre/lib/lodash.js +67 -0
  55. package/dist/node_modules/dagre/lib/lodash.js.map +1 -0
  56. package/dist/node_modules/dagre/lib/nesting-graph.js +76 -0
  57. package/dist/node_modules/dagre/lib/nesting-graph.js.map +1 -0
  58. package/dist/node_modules/dagre/lib/normalize.js +45 -0
  59. package/dist/node_modules/dagre/lib/normalize.js.map +1 -0
  60. package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js +24 -0
  61. package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js.map +1 -0
  62. package/dist/node_modules/dagre/lib/order/barycenter.js +34 -0
  63. package/dist/node_modules/dagre/lib/order/barycenter.js.map +1 -0
  64. package/dist/node_modules/dagre/lib/order/build-layer-graph.js +32 -0
  65. package/dist/node_modules/dagre/lib/order/build-layer-graph.js.map +1 -0
  66. package/dist/node_modules/dagre/lib/order/cross-count.js +39 -0
  67. package/dist/node_modules/dagre/lib/order/cross-count.js.map +1 -0
  68. package/dist/node_modules/dagre/lib/order/index.js +50 -0
  69. package/dist/node_modules/dagre/lib/order/index.js.map +1 -0
  70. package/dist/node_modules/dagre/lib/order/init-order.js +28 -0
  71. package/dist/node_modules/dagre/lib/order/init-order.js.map +1 -0
  72. package/dist/node_modules/dagre/lib/order/resolve-conflicts.js +61 -0
  73. package/dist/node_modules/dagre/lib/order/resolve-conflicts.js.map +1 -0
  74. package/dist/node_modules/dagre/lib/order/sort-subgraph.js +50 -0
  75. package/dist/node_modules/dagre/lib/order/sort-subgraph.js.map +1 -0
  76. package/dist/node_modules/dagre/lib/order/sort.js +34 -0
  77. package/dist/node_modules/dagre/lib/order/sort.js.map +1 -0
  78. package/dist/node_modules/dagre/lib/parent-dummy-chains.js +50 -0
  79. package/dist/node_modules/dagre/lib/parent-dummy-chains.js.map +1 -0
  80. package/dist/node_modules/dagre/lib/position/bk.js +212 -0
  81. package/dist/node_modules/dagre/lib/position/bk.js.map +1 -0
  82. package/dist/node_modules/dagre/lib/position/index.js +30 -0
  83. package/dist/node_modules/dagre/lib/position/index.js.map +1 -0
  84. package/dist/node_modules/dagre/lib/rank/feasible-tree.js +39 -0
  85. package/dist/node_modules/dagre/lib/rank/feasible-tree.js.map +1 -0
  86. package/dist/node_modules/dagre/lib/rank/index.js +35 -0
  87. package/dist/node_modules/dagre/lib/rank/index.js.map +1 -0
  88. package/dist/node_modules/dagre/lib/rank/network-simplex.js +90 -0
  89. package/dist/node_modules/dagre/lib/rank/network-simplex.js.map +1 -0
  90. package/dist/node_modules/dagre/lib/rank/util.js +31 -0
  91. package/dist/node_modules/dagre/lib/rank/util.js.map +1 -0
  92. package/dist/node_modules/dagre/lib/util.js +151 -0
  93. package/dist/node_modules/dagre/lib/util.js.map +1 -0
  94. package/dist/node_modules/dagre/lib/version.js +10 -0
  95. package/dist/node_modules/dagre/lib/version.js.map +1 -0
  96. package/dist/node_modules/graphlib/index.js +19 -0
  97. package/dist/node_modules/graphlib/index.js.map +1 -0
  98. package/dist/node_modules/graphlib/lib/alg/components.js +21 -0
  99. package/dist/node_modules/graphlib/lib/alg/components.js.map +1 -0
  100. package/dist/node_modules/graphlib/lib/alg/dfs.js +25 -0
  101. package/dist/node_modules/graphlib/lib/alg/dfs.js.map +1 -0
  102. package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js +18 -0
  103. package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js.map +1 -0
  104. package/dist/node_modules/graphlib/lib/alg/dijkstra.js +31 -0
  105. package/dist/node_modules/graphlib/lib/alg/dijkstra.js.map +1 -0
  106. package/dist/node_modules/graphlib/lib/alg/find-cycles.js +18 -0
  107. package/dist/node_modules/graphlib/lib/alg/find-cycles.js.map +1 -0
  108. package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js +41 -0
  109. package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js.map +1 -0
  110. package/dist/node_modules/graphlib/lib/alg/index.js +33 -0
  111. package/dist/node_modules/graphlib/lib/alg/index.js.map +1 -0
  112. package/dist/node_modules/graphlib/lib/alg/is-acyclic.js +21 -0
  113. package/dist/node_modules/graphlib/lib/alg/is-acyclic.js.map +1 -0
  114. package/dist/node_modules/graphlib/lib/alg/postorder.js +15 -0
  115. package/dist/node_modules/graphlib/lib/alg/postorder.js.map +1 -0
  116. package/dist/node_modules/graphlib/lib/alg/preorder.js +15 -0
  117. package/dist/node_modules/graphlib/lib/alg/preorder.js.map +1 -0
  118. package/dist/node_modules/graphlib/lib/alg/prim.js +35 -0
  119. package/dist/node_modules/graphlib/lib/alg/prim.js.map +1 -0
  120. package/dist/node_modules/graphlib/lib/alg/tarjan.js +34 -0
  121. package/dist/node_modules/graphlib/lib/alg/tarjan.js.map +1 -0
  122. package/dist/node_modules/graphlib/lib/alg/topsort.js +23 -0
  123. package/dist/node_modules/graphlib/lib/alg/topsort.js.map +1 -0
  124. package/dist/node_modules/graphlib/lib/data/priority-queue.js +56 -0
  125. package/dist/node_modules/graphlib/lib/data/priority-queue.js.map +1 -0
  126. package/dist/node_modules/graphlib/lib/graph.js +196 -0
  127. package/dist/node_modules/graphlib/lib/graph.js.map +1 -0
  128. package/dist/node_modules/graphlib/lib/index.js +15 -0
  129. package/dist/node_modules/graphlib/lib/index.js.map +1 -0
  130. package/dist/node_modules/graphlib/lib/json.js +55 -0
  131. package/dist/node_modules/graphlib/lib/json.js.map +1 -0
  132. package/dist/node_modules/graphlib/lib/lodash.js +47 -0
  133. package/dist/node_modules/graphlib/lib/lodash.js.map +1 -0
  134. package/dist/node_modules/graphlib/lib/version.js +10 -0
  135. package/dist/node_modules/graphlib/lib/version.js.map +1 -0
  136. package/dist/node_modules/lodash/_arrayEach.js +14 -0
  137. package/dist/node_modules/lodash/_arrayEach.js.map +1 -0
  138. package/dist/node_modules/lodash/_arrayReduce.js +15 -0
  139. package/dist/node_modules/lodash/_arrayReduce.js.map +1 -0
  140. package/dist/node_modules/lodash/_asciiSize.js +11 -0
  141. package/dist/node_modules/lodash/_asciiSize.js.map +1 -0
  142. package/dist/node_modules/lodash/_assignMergeValue.js +16 -0
  143. package/dist/node_modules/lodash/_assignMergeValue.js.map +1 -0
  144. package/dist/node_modules/lodash/_assignValue.js +17 -0
  145. package/dist/node_modules/lodash/_assignValue.js.map +1 -0
  146. package/dist/node_modules/lodash/_baseAssign.js +16 -0
  147. package/dist/node_modules/lodash/_baseAssign.js.map +1 -0
  148. package/dist/node_modules/lodash/_baseAssignIn.js +16 -0
  149. package/dist/node_modules/lodash/_baseAssignIn.js.map +1 -0
  150. package/dist/node_modules/lodash/_baseClone.js +64 -0
  151. package/dist/node_modules/lodash/_baseClone.js.map +1 -0
  152. package/dist/node_modules/lodash/_baseCreate.js +21 -0
  153. package/dist/node_modules/lodash/_baseCreate.js.map +1 -0
  154. package/dist/node_modules/lodash/_baseFilter.js +18 -0
  155. package/dist/node_modules/lodash/_baseFilter.js.map +1 -0
  156. package/dist/node_modules/lodash/_baseHas.js +14 -0
  157. package/dist/node_modules/lodash/_baseHas.js.map +1 -0
  158. package/dist/node_modules/lodash/_baseIsMap.js +16 -0
  159. package/dist/node_modules/lodash/_baseIsMap.js.map +1 -0
  160. package/dist/node_modules/lodash/_baseIsSet.js +16 -0
  161. package/dist/node_modules/lodash/_baseIsSet.js.map +1 -0
  162. package/dist/node_modules/lodash/_baseKeysIn.js +20 -0
  163. package/dist/node_modules/lodash/_baseKeysIn.js.map +1 -0
  164. package/dist/node_modules/lodash/_baseMerge.js +27 -0
  165. package/dist/node_modules/lodash/_baseMerge.js.map +1 -0
  166. package/dist/node_modules/lodash/_baseMergeDeep.js +39 -0
  167. package/dist/node_modules/lodash/_baseMergeDeep.js.map +1 -0
  168. package/dist/node_modules/lodash/_basePick.js +18 -0
  169. package/dist/node_modules/lodash/_basePick.js.map +1 -0
  170. package/dist/node_modules/lodash/_basePickBy.js +21 -0
  171. package/dist/node_modules/lodash/_basePickBy.js.map +1 -0
  172. package/dist/node_modules/lodash/_baseReduce.js +15 -0
  173. package/dist/node_modules/lodash/_baseReduce.js.map +1 -0
  174. package/dist/node_modules/lodash/_baseSet.js +30 -0
  175. package/dist/node_modules/lodash/_baseSet.js.map +1 -0
  176. package/dist/node_modules/lodash/_baseValues.js +17 -0
  177. package/dist/node_modules/lodash/_baseValues.js.map +1 -0
  178. package/dist/node_modules/lodash/_baseZipObject.js +17 -0
  179. package/dist/node_modules/lodash/_baseZipObject.js.map +1 -0
  180. package/dist/node_modules/lodash/_castFunction.js +15 -0
  181. package/dist/node_modules/lodash/_castFunction.js.map +1 -0
  182. package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  183. package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +1 -0
  184. package/dist/node_modules/lodash/_cloneBuffer.js +17 -0
  185. package/dist/node_modules/lodash/_cloneBuffer.js.map +1 -0
  186. package/dist/node_modules/lodash/_cloneDataView.js +16 -0
  187. package/dist/node_modules/lodash/_cloneDataView.js.map +1 -0
  188. package/dist/node_modules/lodash/_cloneRegExp.js +15 -0
  189. package/dist/node_modules/lodash/_cloneRegExp.js.map +1 -0
  190. package/dist/node_modules/lodash/_cloneSymbol.js +15 -0
  191. package/dist/node_modules/lodash/_cloneSymbol.js.map +1 -0
  192. package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
  193. package/dist/node_modules/lodash/_cloneTypedArray.js.map +1 -0
  194. package/dist/node_modules/lodash/_copyArray.js +15 -0
  195. package/dist/node_modules/lodash/_copyArray.js.map +1 -0
  196. package/dist/node_modules/lodash/_copyObject.js +22 -0
  197. package/dist/node_modules/lodash/_copyObject.js.map +1 -0
  198. package/dist/node_modules/lodash/_copySymbols.js +16 -0
  199. package/dist/node_modules/lodash/_copySymbols.js.map +1 -0
  200. package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
  201. package/dist/node_modules/lodash/_copySymbolsIn.js.map +1 -0
  202. package/dist/node_modules/lodash/_createAssigner.js +23 -0
  203. package/dist/node_modules/lodash/_createAssigner.js.map +1 -0
  204. package/dist/node_modules/lodash/_flatRest.js +17 -0
  205. package/dist/node_modules/lodash/_flatRest.js.map +1 -0
  206. package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
  207. package/dist/node_modules/lodash/_getAllKeysIn.js.map +1 -0
  208. package/dist/node_modules/lodash/_getSymbolsIn.js +18 -0
  209. package/dist/node_modules/lodash/_getSymbolsIn.js.map +1 -0
  210. package/dist/node_modules/lodash/_initCloneArray.js +15 -0
  211. package/dist/node_modules/lodash/_initCloneArray.js.map +1 -0
  212. package/dist/node_modules/lodash/_initCloneByTag.js +40 -0
  213. package/dist/node_modules/lodash/_initCloneByTag.js.map +1 -0
  214. package/dist/node_modules/lodash/_initCloneObject.js +17 -0
  215. package/dist/node_modules/lodash/_initCloneObject.js.map +1 -0
  216. package/dist/node_modules/lodash/_nativeKeysIn.js +15 -0
  217. package/dist/node_modules/lodash/_nativeKeysIn.js.map +1 -0
  218. package/dist/node_modules/lodash/_safeGet.js +13 -0
  219. package/dist/node_modules/lodash/_safeGet.js.map +1 -0
  220. package/dist/node_modules/lodash/_stringSize.js +17 -0
  221. package/dist/node_modules/lodash/_stringSize.js.map +1 -0
  222. package/dist/node_modules/lodash/_unicodeSize.js +25 -0
  223. package/dist/node_modules/lodash/_unicodeSize.js.map +1 -0
  224. package/dist/node_modules/lodash/clone.js +15 -0
  225. package/dist/node_modules/lodash/clone.js.map +1 -0
  226. package/dist/node_modules/lodash/cloneDeep.js +15 -0
  227. package/dist/node_modules/lodash/cloneDeep.js.map +1 -0
  228. package/dist/node_modules/lodash/defaults.js +23 -0
  229. package/dist/node_modules/lodash/defaults.js.map +1 -0
  230. package/dist/node_modules/lodash/each.js +11 -0
  231. package/dist/node_modules/lodash/each.js.map +1 -0
  232. package/dist/node_modules/lodash/filter.js +18 -0
  233. package/dist/node_modules/lodash/filter.js.map +1 -0
  234. package/dist/node_modules/lodash/flatten.js +15 -0
  235. package/dist/node_modules/lodash/flatten.js.map +1 -0
  236. package/dist/node_modules/lodash/forEach.js +18 -0
  237. package/dist/node_modules/lodash/forEach.js.map +1 -0
  238. package/dist/node_modules/lodash/forIn.js +17 -0
  239. package/dist/node_modules/lodash/forIn.js.map +1 -0
  240. package/dist/node_modules/lodash/has.js +16 -0
  241. package/dist/node_modules/lodash/has.js.map +1 -0
  242. package/dist/node_modules/lodash/isArrayLikeObject.js +16 -0
  243. package/dist/node_modules/lodash/isArrayLikeObject.js.map +1 -0
  244. package/dist/node_modules/lodash/isEmpty.js +28 -0
  245. package/dist/node_modules/lodash/isEmpty.js.map +1 -0
  246. package/dist/node_modules/lodash/isMap.js +14 -0
  247. package/dist/node_modules/lodash/isMap.js.map +1 -0
  248. package/dist/node_modules/lodash/isSet.js +14 -0
  249. package/dist/node_modules/lodash/isSet.js.map +1 -0
  250. package/dist/node_modules/lodash/isUndefined.js +13 -0
  251. package/dist/node_modules/lodash/isUndefined.js.map +1 -0
  252. package/dist/node_modules/lodash/keysIn.js +17 -0
  253. package/dist/node_modules/lodash/keysIn.js.map +1 -0
  254. package/dist/node_modules/lodash/merge.js +15 -0
  255. package/dist/node_modules/lodash/merge.js.map +1 -0
  256. package/dist/node_modules/lodash/pick.js +15 -0
  257. package/dist/node_modules/lodash/pick.js.map +1 -0
  258. package/dist/node_modules/lodash/reduce.js +20 -0
  259. package/dist/node_modules/lodash/reduce.js.map +1 -0
  260. package/dist/node_modules/lodash/size.js +22 -0
  261. package/dist/node_modules/lodash/size.js.map +1 -0
  262. package/dist/node_modules/lodash/toPlainObject.js +16 -0
  263. package/dist/node_modules/lodash/toPlainObject.js.map +1 -0
  264. package/dist/node_modules/lodash/transform.js +31 -0
  265. package/dist/node_modules/lodash/transform.js.map +1 -0
  266. package/dist/node_modules/lodash/union.js +17 -0
  267. package/dist/node_modules/lodash/union.js.map +1 -0
  268. package/dist/node_modules/lodash/uniqueId.js +16 -0
  269. package/dist/node_modules/lodash/uniqueId.js.map +1 -0
  270. package/dist/node_modules/lodash/values.js +16 -0
  271. package/dist/node_modules/lodash/values.js.map +1 -0
  272. package/dist/node_modules/lodash/zipObject.js +16 -0
  273. package/dist/node_modules/lodash/zipObject.js.map +1 -0
  274. package/dist/pages/ActionsPage.js +269 -230
  275. package/dist/pages/ActionsPage.js.map +1 -1
  276. package/dist/pages/AgentDetailsPage.js +442 -436
  277. package/dist/pages/AgentDetailsPage.js.map +1 -1
  278. package/dist/pages/AgentGraphPage.js +251 -118
  279. package/dist/pages/AgentGraphPage.js.map +1 -1
  280. package/dist/pages/VibeDeckPage.js +268 -224
  281. package/dist/pages/VibeDeckPage.js.map +1 -1
  282. package/dist/services/agentRemoteTaskGates.js +29 -0
  283. package/dist/services/agentRemoteTaskGates.js.map +1 -0
  284. package/package.json +3 -1
  285. package/dist/components/graph/AgentGraphView.js +0 -237
  286. package/dist/components/graph/AgentGraphView.js.map +0 -1
  287. package/dist/components/graph/AgentNode.js +0 -54
  288. package/dist/components/graph/AgentNode.js.map +0 -1
  289. package/dist/components/graph/TargetNode.js +0 -76
  290. package/dist/components/graph/TargetNode.js.map +0 -1
@@ -0,0 +1,48 @@
1
+ import { useTr as e } from "../../shared/hooks/useTr.js";
2
+ import { ConfirmDialog as t } from "./ConfirmDialog.js";
3
+ import { useEffect as n, useState as r } from "react";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ import { Checkbox as o } from "@burdenoff/fe-libs/ui";
6
+ //#region src/components/shared/EnableRemoteTaskDialog.tsx
7
+ function s({ isOpen: s, agentName: c, isLoading: l = !1, onClose: u, onConfirm: d }) {
8
+ let f = e(), [p, m] = r(!1);
9
+ return n(() => {
10
+ s && m(!1);
11
+ }, [s]), /* @__PURE__ */ i(t, {
12
+ isOpen: s,
13
+ onClose: u,
14
+ onConfirm: () => d({
15
+ shell: !0,
16
+ file: p
17
+ }),
18
+ title: f("vibecontrols.enableRemoteTask.title", "Enable remote task execution?"),
19
+ message: c ? f("vibecontrols.enableRemoteTask.messageNamed", `This action runs a command or script on “${c}”. The agent blocks remote execution by default — enable it for this agent to run the action from decks, schedules, and the Actions page.`) : f("vibecontrols.enableRemoteTask.message", "This action runs a command or script on the agent. The agent blocks remote execution by default — enable it to run the action from decks, schedules, and the Actions page."),
20
+ variant: "warning",
21
+ isLoading: l,
22
+ confirmLabel: f("vibecontrols.enableRemoteTask.confirm", "Enable & run"),
23
+ cancelLabel: f("vibecontrols.enableRemoteTask.cancel", "Cancel"),
24
+ children: /* @__PURE__ */ a("div", {
25
+ className: "space-y-3",
26
+ children: [/* @__PURE__ */ i("p", {
27
+ className: "text-xs text-status-warning-text",
28
+ children: f("vibecontrols.enableRemoteTask.warning", "Anyone with workspace access will be able to run commands on this host. You can review or revoke this any time from the agent’s Security settings.")
29
+ }), /* @__PURE__ */ a("label", {
30
+ className: "flex items-start gap-2 text-sm text-text-primary cursor-pointer",
31
+ children: [/* @__PURE__ */ i(o, {
32
+ checked: p,
33
+ onCheckedChange: (e) => m(e === !0),
34
+ disabled: l,
35
+ "aria-label": f("vibecontrols.enableRemoteTask.fileOptIn", "Also allow remote file writes + deletes"),
36
+ className: "mt-0.5"
37
+ }), /* @__PURE__ */ a("span", { children: [f("vibecontrols.enableRemoteTask.fileOptIn", "Also allow remote file writes + deletes"), /* @__PURE__ */ i("span", {
38
+ className: "block text-xs text-text-secondary",
39
+ children: f("vibecontrols.enableRemoteTask.fileOptInHint", "Only needed for actions that modify files. Reads are always allowed.")
40
+ })] })]
41
+ })]
42
+ })
43
+ });
44
+ }
45
+ //#endregion
46
+ export { s as EnableRemoteTaskDialog };
47
+
48
+ //# sourceMappingURL=EnableRemoteTaskDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnableRemoteTaskDialog.js","names":[],"sources":["../../../src/components/shared/EnableRemoteTaskDialog.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { Checkbox } from '@burdenoff/fe-libs/ui';\n\nimport { ConfirmDialog } from './ConfirmDialog';\nimport { useTr } from '../../shared/hooks/useTr';\n\ninterface EnableRemoteTaskDialogProps {\n isOpen: boolean;\n /** Display name of the agent being enabled (for the message). */\n agentName?: string | null;\n isLoading?: boolean;\n onClose: () => void;\n /** Called with the chosen gates. `shell` is always true; `file` is opt-in. */\n onConfirm: (options: { shell: boolean; file: boolean }) => void;\n}\n\n/**\n * In-context prompt to enable an agent's remote task-execution gate (the same\n * gate as the Security tab's RemoteTaskPermissionsCard), so users don't have to\n * jump screens to run a mapped command/script action from a deck or the Actions\n * page. Shell/script execution is the default; file write/delete is an explicit\n * opt-in. Carries the same high-blast-radius warning as the Security card.\n */\nexport function EnableRemoteTaskDialog({\n isOpen,\n agentName,\n isLoading = false,\n onClose,\n onConfirm,\n}: EnableRemoteTaskDialogProps) {\n const tr = useTr();\n const [enableFile, setEnableFile] = useState(false);\n\n // Reset the opt-in each time the dialog opens so a prior choice doesn't leak.\n useEffect(() => {\n if (isOpen) setEnableFile(false);\n }, [isOpen]);\n\n const title = tr('vibecontrols.enableRemoteTask.title', 'Enable remote task execution?');\n const message = agentName\n ? tr(\n 'vibecontrols.enableRemoteTask.messageNamed',\n `This action runs a command or script on “${agentName}”. The agent blocks remote execution by default — enable it for this agent to run the action from decks, schedules, and the Actions page.`\n )\n : tr(\n 'vibecontrols.enableRemoteTask.message',\n 'This action runs a command or script on the agent. The agent blocks remote execution by default — enable it to run the action from decks, schedules, and the Actions page.'\n );\n\n return (\n <ConfirmDialog\n isOpen={isOpen}\n onClose={onClose}\n onConfirm={() => onConfirm({ shell: true, file: enableFile })}\n title={title}\n message={message}\n variant=\"warning\"\n isLoading={isLoading}\n confirmLabel={tr('vibecontrols.enableRemoteTask.confirm', 'Enable & run')}\n cancelLabel={tr('vibecontrols.enableRemoteTask.cancel', 'Cancel')}\n >\n <div className=\"space-y-3\">\n <p className=\"text-xs text-status-warning-text\">\n {tr(\n 'vibecontrols.enableRemoteTask.warning',\n 'Anyone with workspace access will be able to run commands on this host. You can review or revoke this any time from the agent’s Security settings.'\n )}\n </p>\n <label className=\"flex items-start gap-2 text-sm text-text-primary cursor-pointer\">\n <Checkbox\n checked={enableFile}\n onCheckedChange={(checked) => setEnableFile(checked === true)}\n disabled={isLoading}\n aria-label={tr(\n 'vibecontrols.enableRemoteTask.fileOptIn',\n 'Also allow remote file writes + deletes'\n )}\n className=\"mt-0.5\"\n />\n <span>\n {tr(\n 'vibecontrols.enableRemoteTask.fileOptIn',\n 'Also allow remote file writes + deletes'\n )}\n <span className=\"block text-xs text-text-secondary\">\n {tr(\n 'vibecontrols.enableRemoteTask.fileOptInHint',\n 'Only needed for actions that modify files. Reads are always allowed.'\n )}\n </span>\n </span>\n </label>\n </div>\n </ConfirmDialog>\n );\n}\n"],"mappings":";;;;;;AAuBA,SAAgB,EAAuB,EACrC,WACA,cACA,eAAY,IACZ,YACA,gBAC8B;CAC9B,IAAM,IAAK,GAAO,EACZ,CAAC,GAAY,KAAiB,EAAS,GAAM;AAkBnD,QAfA,QAAgB;AACd,EAAI,KAAQ,EAAc,GAAM;IAC/B,CAAC,EAAO,CAAC,EAcV,kBAAC,GAAD;EACU;EACC;EACT,iBAAiB,EAAU;GAAE,OAAO;GAAM,MAAM;GAAY,CAAC;EACtD,OAhBG,EAAG,uCAAuC,gCAAgC;EAiB3E,SAhBG,IACZ,EACE,8CACA,4CAA4C,EAAU,2IACvD,GACD,EACE,yCACA,6KACD;EASD,SAAQ;EACG;EACX,cAAc,EAAG,yCAAyC,eAAe;EACzE,aAAa,EAAG,wCAAwC,SAAS;YAEjE,kBAAC,OAAD;GAAK,WAAU;aAAf,CACE,kBAAC,KAAD;IAAG,WAAU;cACV,EACC,yCACA,qJACD;IACC,CAAA,EACJ,kBAAC,SAAD;IAAO,WAAU;cAAjB,CACE,kBAAC,GAAD;KACE,SAAS;KACT,kBAAkB,MAAY,EAAc,MAAY,GAAK;KAC7D,UAAU;KACV,cAAY,EACV,2CACA,0CACD;KACD,WAAU;KACV,CAAA,EACF,kBAAC,QAAD,EAAA,UAAA,CACG,EACC,2CACA,0CACD,EACD,kBAAC,QAAD;KAAM,WAAU;eACb,EACC,+CACA,uEACD;KACI,CAAA,CACF,EAAA,CAAA,CACD;MACJ;;EACQ,CAAA"}
@@ -9,6 +9,7 @@ import "./EntityTagPicker.js";
9
9
  import "./EmptyState.js";
10
10
  import "./SearchInput.js";
11
11
  import "./FilterDropdown.js";
12
+ import "./EnableRemoteTaskDialog.js";
12
13
  import "./StatusBadge.js";
13
14
  import "./Card.js";
14
15
  import "./StatCard.js";
@@ -9,24 +9,19 @@ var t = e`
9
9
  }
10
10
  }
11
11
  `, n = e`
12
- query GetAiCreditsQuotaSummary($billingAccountId: ID!) {
13
- getBillingAccountQuotasSummary(
12
+ query GetAiCreditsBalance($billingAccountId: ID!) {
13
+ getQuotaUsageAndLimit(
14
14
  billingAccountId: $billingAccountId
15
+ quotaName: "vibecontrols.ai.credits"
15
16
  productId: "vibecontrols"
16
17
  ) {
17
- billingAccountId
18
- subscriptionQuotas {
19
- name
20
- limit
21
- limitLeft
22
- used
23
- noLimit
24
- usagePercentage
25
- }
18
+ limit
19
+ limitLeft
20
+ noLimit
26
21
  }
27
22
  }
28
23
  `;
29
24
  //#endregion
30
- export { n as GetAiCreditsQuotaSummaryDocument, t as GetMyBillingAccountsDocument };
25
+ export { n as GetAiCreditsBalanceDocument, t as GetMyBillingAccountsDocument };
31
26
 
32
27
  //# sourceMappingURL=global-operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"global-operations.js","names":[],"sources":["../../src/generated/global-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './global-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type GetMyBillingAccountsQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type GetMyBillingAccountsQuery = { __typename?: 'Query', getBillingAccountsByOrg: Array<{ __typename?: 'BillingAccount', id?: string | null, isDefault?: boolean | null }> };\n\nexport type GetAiCreditsQuotaSummaryQueryVariables = Types.Exact<{\n billingAccountId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetAiCreditsQuotaSummaryQuery = { __typename?: 'Query', getBillingAccountQuotasSummary: { __typename?: 'BillingAccountQuotasSummary', billingAccountId: string, subscriptionQuotas: Array<{ __typename?: 'QuotaAssignmentUsageSummary', name: string, limit: number, limitLeft: number, used: number, noLimit: boolean, usagePercentage: number }> } };\n\n\nexport const GetMyBillingAccountsDocument = gql`\n query GetMyBillingAccounts {\n getBillingAccountsByOrg {\n id\n isDefault\n }\n}\n `;\n\n/**\n * __useGetMyBillingAccountsQuery__\n *\n * To run a query within a React component, call `useGetMyBillingAccountsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMyBillingAccountsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMyBillingAccountsQuery({\n * variables: {\n * },\n * });\n */\nexport function useGetMyBillingAccountsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>(GetMyBillingAccountsDocument, options);\n }\nexport function useGetMyBillingAccountsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>(GetMyBillingAccountsDocument, options);\n }\n// @ts-ignore\nexport function useGetMyBillingAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>;\nexport function useGetMyBillingAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyBillingAccountsQuery | undefined, Types.GetMyBillingAccountsQueryVariables>;\nexport function useGetMyBillingAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>(GetMyBillingAccountsDocument, options);\n }\nexport type GetMyBillingAccountsQueryHookResult = ReturnType<typeof useGetMyBillingAccountsQuery>;\nexport type GetMyBillingAccountsLazyQueryHookResult = ReturnType<typeof useGetMyBillingAccountsLazyQuery>;\nexport type GetMyBillingAccountsSuspenseQueryHookResult = ReturnType<typeof useGetMyBillingAccountsSuspenseQuery>;\nexport type GetMyBillingAccountsQueryResult = Apollo.QueryResult<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>;\nexport const GetAiCreditsQuotaSummaryDocument = gql`\n query GetAiCreditsQuotaSummary($billingAccountId: ID!) {\n getBillingAccountQuotasSummary(\n billingAccountId: $billingAccountId\n productId: \"vibecontrols\"\n ) {\n billingAccountId\n subscriptionQuotas {\n name\n limit\n limitLeft\n used\n noLimit\n usagePercentage\n }\n }\n}\n `;\n\n/**\n * __useGetAiCreditsQuotaSummaryQuery__\n *\n * To run a query within a React component, call `useGetAiCreditsQuotaSummaryQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetAiCreditsQuotaSummaryQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetAiCreditsQuotaSummaryQuery({\n * variables: {\n * billingAccountId: // value for 'billingAccountId'\n * },\n * });\n */\nexport function useGetAiCreditsQuotaSummaryQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables> & ({ variables: Types.GetAiCreditsQuotaSummaryQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>(GetAiCreditsQuotaSummaryDocument, options);\n }\nexport function useGetAiCreditsQuotaSummaryLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>(GetAiCreditsQuotaSummaryDocument, options);\n }\n// @ts-ignore\nexport function useGetAiCreditsQuotaSummarySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>;\nexport function useGetAiCreditsQuotaSummarySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAiCreditsQuotaSummaryQuery | undefined, Types.GetAiCreditsQuotaSummaryQueryVariables>;\nexport function useGetAiCreditsQuotaSummarySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>(GetAiCreditsQuotaSummaryDocument, options);\n }\nexport type GetAiCreditsQuotaSummaryQueryHookResult = ReturnType<typeof useGetAiCreditsQuotaSummaryQuery>;\nexport type GetAiCreditsQuotaSummaryLazyQueryHookResult = ReturnType<typeof useGetAiCreditsQuotaSummaryLazyQuery>;\nexport type GetAiCreditsQuotaSummarySuspenseQueryHookResult = ReturnType<typeof useGetAiCreditsQuotaSummarySuspenseQuery>;\nexport type GetAiCreditsQuotaSummaryQueryResult = Apollo.QueryResult<Types.GetAiCreditsQuotaSummaryQuery, Types.GetAiCreditsQuotaSummaryQueryVariables>;"],"mappings":";;;AAoBA,IAAa,IAA+B,CAAG;;;;;;;OA2ClC,IAAmC,CAAG"}
1
+ {"version":3,"file":"global-operations.js","names":[],"sources":["../../src/generated/global-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './global-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type GetMyBillingAccountsQueryVariables = Types.Exact<{ [key: string]: never; }>;\n\n\nexport type GetMyBillingAccountsQuery = { __typename?: 'Query', getBillingAccountsByOrg: Array<{ __typename?: 'BillingAccount', id?: string | null, isDefault?: boolean | null }> };\n\nexport type GetAiCreditsBalanceQueryVariables = Types.Exact<{\n billingAccountId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetAiCreditsBalanceQuery = { __typename?: 'Query', getQuotaUsageAndLimit: { __typename?: 'QuotaUsageAndLimit', limit: number, limitLeft: number, noLimit: boolean } };\n\n\nexport const GetMyBillingAccountsDocument = gql`\n query GetMyBillingAccounts {\n getBillingAccountsByOrg {\n id\n isDefault\n }\n}\n `;\n\n/**\n * __useGetMyBillingAccountsQuery__\n *\n * To run a query within a React component, call `useGetMyBillingAccountsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMyBillingAccountsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMyBillingAccountsQuery({\n * variables: {\n * },\n * });\n */\nexport function useGetMyBillingAccountsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>(GetMyBillingAccountsDocument, options);\n }\nexport function useGetMyBillingAccountsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>(GetMyBillingAccountsDocument, options);\n }\n// @ts-ignore\nexport function useGetMyBillingAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>;\nexport function useGetMyBillingAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetMyBillingAccountsQuery | undefined, Types.GetMyBillingAccountsQueryVariables>;\nexport function useGetMyBillingAccountsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>(GetMyBillingAccountsDocument, options);\n }\nexport type GetMyBillingAccountsQueryHookResult = ReturnType<typeof useGetMyBillingAccountsQuery>;\nexport type GetMyBillingAccountsLazyQueryHookResult = ReturnType<typeof useGetMyBillingAccountsLazyQuery>;\nexport type GetMyBillingAccountsSuspenseQueryHookResult = ReturnType<typeof useGetMyBillingAccountsSuspenseQuery>;\nexport type GetMyBillingAccountsQueryResult = Apollo.QueryResult<Types.GetMyBillingAccountsQuery, Types.GetMyBillingAccountsQueryVariables>;\nexport const GetAiCreditsBalanceDocument = gql`\n query GetAiCreditsBalance($billingAccountId: ID!) {\n getQuotaUsageAndLimit(\n billingAccountId: $billingAccountId\n quotaName: \"vibecontrols.ai.credits\"\n productId: \"vibecontrols\"\n ) {\n limit\n limitLeft\n noLimit\n }\n}\n `;\n\n/**\n * __useGetAiCreditsBalanceQuery__\n *\n * To run a query within a React component, call `useGetAiCreditsBalanceQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetAiCreditsBalanceQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetAiCreditsBalanceQuery({\n * variables: {\n * billingAccountId: // value for 'billingAccountId'\n * },\n * });\n */\nexport function useGetAiCreditsBalanceQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables> & ({ variables: Types.GetAiCreditsBalanceQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>(GetAiCreditsBalanceDocument, options);\n }\nexport function useGetAiCreditsBalanceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>(GetAiCreditsBalanceDocument, options);\n }\n// @ts-ignore\nexport function useGetAiCreditsBalanceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>;\nexport function useGetAiCreditsBalanceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetAiCreditsBalanceQuery | undefined, Types.GetAiCreditsBalanceQueryVariables>;\nexport function useGetAiCreditsBalanceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>(GetAiCreditsBalanceDocument, options);\n }\nexport type GetAiCreditsBalanceQueryHookResult = ReturnType<typeof useGetAiCreditsBalanceQuery>;\nexport type GetAiCreditsBalanceLazyQueryHookResult = ReturnType<typeof useGetAiCreditsBalanceLazyQuery>;\nexport type GetAiCreditsBalanceSuspenseQueryHookResult = ReturnType<typeof useGetAiCreditsBalanceSuspenseQuery>;\nexport type GetAiCreditsBalanceQueryResult = Apollo.QueryResult<Types.GetAiCreditsBalanceQuery, Types.GetAiCreditsBalanceQueryVariables>;"],"mappings":";;;AAoBA,IAAa,IAA+B,CAAG;;;;;;;OA2ClC,IAA8B,CAAG"}