@burdenoff/microfe-vibecontrols 2026.601.12 → 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 (286) 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/wspace-operations.js +1896 -1649
  28. package/dist/generated/wspace-operations.js.map +1 -1
  29. package/dist/generated/wspace-types.js +14 -12
  30. package/dist/generated/wspace-types.js.map +1 -1
  31. package/dist/index.js +10 -10
  32. package/dist/node_modules/dagre/index.js +24 -0
  33. package/dist/node_modules/dagre/index.js.map +1 -0
  34. package/dist/node_modules/dagre/lib/acyclic.js +47 -0
  35. package/dist/node_modules/dagre/lib/acyclic.js.map +1 -0
  36. package/dist/node_modules/dagre/lib/add-border-segments.js +32 -0
  37. package/dist/node_modules/dagre/lib/add-border-segments.js.map +1 -0
  38. package/dist/node_modules/dagre/lib/coordinate-system.js +57 -0
  39. package/dist/node_modules/dagre/lib/coordinate-system.js.map +1 -0
  40. package/dist/node_modules/dagre/lib/data/list.js +30 -0
  41. package/dist/node_modules/dagre/lib/data/list.js.map +1 -0
  42. package/dist/node_modules/dagre/lib/debug.js +31 -0
  43. package/dist/node_modules/dagre/lib/debug.js.map +1 -0
  44. package/dist/node_modules/dagre/lib/graphlib.js +15 -0
  45. package/dist/node_modules/dagre/lib/graphlib.js.map +1 -0
  46. package/dist/node_modules/dagre/lib/greedy-fas.js +74 -0
  47. package/dist/node_modules/dagre/lib/greedy-fas.js.map +1 -0
  48. package/dist/node_modules/dagre/lib/layout.js +305 -0
  49. package/dist/node_modules/dagre/lib/layout.js.map +1 -0
  50. package/dist/node_modules/dagre/lib/lodash.js +67 -0
  51. package/dist/node_modules/dagre/lib/lodash.js.map +1 -0
  52. package/dist/node_modules/dagre/lib/nesting-graph.js +76 -0
  53. package/dist/node_modules/dagre/lib/nesting-graph.js.map +1 -0
  54. package/dist/node_modules/dagre/lib/normalize.js +45 -0
  55. package/dist/node_modules/dagre/lib/normalize.js.map +1 -0
  56. package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js +24 -0
  57. package/dist/node_modules/dagre/lib/order/add-subgraph-constraints.js.map +1 -0
  58. package/dist/node_modules/dagre/lib/order/barycenter.js +34 -0
  59. package/dist/node_modules/dagre/lib/order/barycenter.js.map +1 -0
  60. package/dist/node_modules/dagre/lib/order/build-layer-graph.js +32 -0
  61. package/dist/node_modules/dagre/lib/order/build-layer-graph.js.map +1 -0
  62. package/dist/node_modules/dagre/lib/order/cross-count.js +39 -0
  63. package/dist/node_modules/dagre/lib/order/cross-count.js.map +1 -0
  64. package/dist/node_modules/dagre/lib/order/index.js +50 -0
  65. package/dist/node_modules/dagre/lib/order/index.js.map +1 -0
  66. package/dist/node_modules/dagre/lib/order/init-order.js +28 -0
  67. package/dist/node_modules/dagre/lib/order/init-order.js.map +1 -0
  68. package/dist/node_modules/dagre/lib/order/resolve-conflicts.js +61 -0
  69. package/dist/node_modules/dagre/lib/order/resolve-conflicts.js.map +1 -0
  70. package/dist/node_modules/dagre/lib/order/sort-subgraph.js +50 -0
  71. package/dist/node_modules/dagre/lib/order/sort-subgraph.js.map +1 -0
  72. package/dist/node_modules/dagre/lib/order/sort.js +34 -0
  73. package/dist/node_modules/dagre/lib/order/sort.js.map +1 -0
  74. package/dist/node_modules/dagre/lib/parent-dummy-chains.js +50 -0
  75. package/dist/node_modules/dagre/lib/parent-dummy-chains.js.map +1 -0
  76. package/dist/node_modules/dagre/lib/position/bk.js +212 -0
  77. package/dist/node_modules/dagre/lib/position/bk.js.map +1 -0
  78. package/dist/node_modules/dagre/lib/position/index.js +30 -0
  79. package/dist/node_modules/dagre/lib/position/index.js.map +1 -0
  80. package/dist/node_modules/dagre/lib/rank/feasible-tree.js +39 -0
  81. package/dist/node_modules/dagre/lib/rank/feasible-tree.js.map +1 -0
  82. package/dist/node_modules/dagre/lib/rank/index.js +35 -0
  83. package/dist/node_modules/dagre/lib/rank/index.js.map +1 -0
  84. package/dist/node_modules/dagre/lib/rank/network-simplex.js +90 -0
  85. package/dist/node_modules/dagre/lib/rank/network-simplex.js.map +1 -0
  86. package/dist/node_modules/dagre/lib/rank/util.js +31 -0
  87. package/dist/node_modules/dagre/lib/rank/util.js.map +1 -0
  88. package/dist/node_modules/dagre/lib/util.js +151 -0
  89. package/dist/node_modules/dagre/lib/util.js.map +1 -0
  90. package/dist/node_modules/dagre/lib/version.js +10 -0
  91. package/dist/node_modules/dagre/lib/version.js.map +1 -0
  92. package/dist/node_modules/graphlib/index.js +19 -0
  93. package/dist/node_modules/graphlib/index.js.map +1 -0
  94. package/dist/node_modules/graphlib/lib/alg/components.js +21 -0
  95. package/dist/node_modules/graphlib/lib/alg/components.js.map +1 -0
  96. package/dist/node_modules/graphlib/lib/alg/dfs.js +25 -0
  97. package/dist/node_modules/graphlib/lib/alg/dfs.js.map +1 -0
  98. package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js +18 -0
  99. package/dist/node_modules/graphlib/lib/alg/dijkstra-all.js.map +1 -0
  100. package/dist/node_modules/graphlib/lib/alg/dijkstra.js +31 -0
  101. package/dist/node_modules/graphlib/lib/alg/dijkstra.js.map +1 -0
  102. package/dist/node_modules/graphlib/lib/alg/find-cycles.js +18 -0
  103. package/dist/node_modules/graphlib/lib/alg/find-cycles.js.map +1 -0
  104. package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js +41 -0
  105. package/dist/node_modules/graphlib/lib/alg/floyd-warshall.js.map +1 -0
  106. package/dist/node_modules/graphlib/lib/alg/index.js +33 -0
  107. package/dist/node_modules/graphlib/lib/alg/index.js.map +1 -0
  108. package/dist/node_modules/graphlib/lib/alg/is-acyclic.js +21 -0
  109. package/dist/node_modules/graphlib/lib/alg/is-acyclic.js.map +1 -0
  110. package/dist/node_modules/graphlib/lib/alg/postorder.js +15 -0
  111. package/dist/node_modules/graphlib/lib/alg/postorder.js.map +1 -0
  112. package/dist/node_modules/graphlib/lib/alg/preorder.js +15 -0
  113. package/dist/node_modules/graphlib/lib/alg/preorder.js.map +1 -0
  114. package/dist/node_modules/graphlib/lib/alg/prim.js +35 -0
  115. package/dist/node_modules/graphlib/lib/alg/prim.js.map +1 -0
  116. package/dist/node_modules/graphlib/lib/alg/tarjan.js +34 -0
  117. package/dist/node_modules/graphlib/lib/alg/tarjan.js.map +1 -0
  118. package/dist/node_modules/graphlib/lib/alg/topsort.js +23 -0
  119. package/dist/node_modules/graphlib/lib/alg/topsort.js.map +1 -0
  120. package/dist/node_modules/graphlib/lib/data/priority-queue.js +56 -0
  121. package/dist/node_modules/graphlib/lib/data/priority-queue.js.map +1 -0
  122. package/dist/node_modules/graphlib/lib/graph.js +196 -0
  123. package/dist/node_modules/graphlib/lib/graph.js.map +1 -0
  124. package/dist/node_modules/graphlib/lib/index.js +15 -0
  125. package/dist/node_modules/graphlib/lib/index.js.map +1 -0
  126. package/dist/node_modules/graphlib/lib/json.js +55 -0
  127. package/dist/node_modules/graphlib/lib/json.js.map +1 -0
  128. package/dist/node_modules/graphlib/lib/lodash.js +47 -0
  129. package/dist/node_modules/graphlib/lib/lodash.js.map +1 -0
  130. package/dist/node_modules/graphlib/lib/version.js +10 -0
  131. package/dist/node_modules/graphlib/lib/version.js.map +1 -0
  132. package/dist/node_modules/lodash/_arrayEach.js +14 -0
  133. package/dist/node_modules/lodash/_arrayEach.js.map +1 -0
  134. package/dist/node_modules/lodash/_arrayReduce.js +15 -0
  135. package/dist/node_modules/lodash/_arrayReduce.js.map +1 -0
  136. package/dist/node_modules/lodash/_asciiSize.js +11 -0
  137. package/dist/node_modules/lodash/_asciiSize.js.map +1 -0
  138. package/dist/node_modules/lodash/_assignMergeValue.js +16 -0
  139. package/dist/node_modules/lodash/_assignMergeValue.js.map +1 -0
  140. package/dist/node_modules/lodash/_assignValue.js +17 -0
  141. package/dist/node_modules/lodash/_assignValue.js.map +1 -0
  142. package/dist/node_modules/lodash/_baseAssign.js +16 -0
  143. package/dist/node_modules/lodash/_baseAssign.js.map +1 -0
  144. package/dist/node_modules/lodash/_baseAssignIn.js +16 -0
  145. package/dist/node_modules/lodash/_baseAssignIn.js.map +1 -0
  146. package/dist/node_modules/lodash/_baseClone.js +64 -0
  147. package/dist/node_modules/lodash/_baseClone.js.map +1 -0
  148. package/dist/node_modules/lodash/_baseCreate.js +21 -0
  149. package/dist/node_modules/lodash/_baseCreate.js.map +1 -0
  150. package/dist/node_modules/lodash/_baseFilter.js +18 -0
  151. package/dist/node_modules/lodash/_baseFilter.js.map +1 -0
  152. package/dist/node_modules/lodash/_baseHas.js +14 -0
  153. package/dist/node_modules/lodash/_baseHas.js.map +1 -0
  154. package/dist/node_modules/lodash/_baseIsMap.js +16 -0
  155. package/dist/node_modules/lodash/_baseIsMap.js.map +1 -0
  156. package/dist/node_modules/lodash/_baseIsSet.js +16 -0
  157. package/dist/node_modules/lodash/_baseIsSet.js.map +1 -0
  158. package/dist/node_modules/lodash/_baseKeysIn.js +20 -0
  159. package/dist/node_modules/lodash/_baseKeysIn.js.map +1 -0
  160. package/dist/node_modules/lodash/_baseMerge.js +27 -0
  161. package/dist/node_modules/lodash/_baseMerge.js.map +1 -0
  162. package/dist/node_modules/lodash/_baseMergeDeep.js +39 -0
  163. package/dist/node_modules/lodash/_baseMergeDeep.js.map +1 -0
  164. package/dist/node_modules/lodash/_basePick.js +18 -0
  165. package/dist/node_modules/lodash/_basePick.js.map +1 -0
  166. package/dist/node_modules/lodash/_basePickBy.js +21 -0
  167. package/dist/node_modules/lodash/_basePickBy.js.map +1 -0
  168. package/dist/node_modules/lodash/_baseReduce.js +15 -0
  169. package/dist/node_modules/lodash/_baseReduce.js.map +1 -0
  170. package/dist/node_modules/lodash/_baseSet.js +30 -0
  171. package/dist/node_modules/lodash/_baseSet.js.map +1 -0
  172. package/dist/node_modules/lodash/_baseValues.js +17 -0
  173. package/dist/node_modules/lodash/_baseValues.js.map +1 -0
  174. package/dist/node_modules/lodash/_baseZipObject.js +17 -0
  175. package/dist/node_modules/lodash/_baseZipObject.js.map +1 -0
  176. package/dist/node_modules/lodash/_castFunction.js +15 -0
  177. package/dist/node_modules/lodash/_castFunction.js.map +1 -0
  178. package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  179. package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +1 -0
  180. package/dist/node_modules/lodash/_cloneBuffer.js +17 -0
  181. package/dist/node_modules/lodash/_cloneBuffer.js.map +1 -0
  182. package/dist/node_modules/lodash/_cloneDataView.js +16 -0
  183. package/dist/node_modules/lodash/_cloneDataView.js.map +1 -0
  184. package/dist/node_modules/lodash/_cloneRegExp.js +15 -0
  185. package/dist/node_modules/lodash/_cloneRegExp.js.map +1 -0
  186. package/dist/node_modules/lodash/_cloneSymbol.js +15 -0
  187. package/dist/node_modules/lodash/_cloneSymbol.js.map +1 -0
  188. package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
  189. package/dist/node_modules/lodash/_cloneTypedArray.js.map +1 -0
  190. package/dist/node_modules/lodash/_copyArray.js +15 -0
  191. package/dist/node_modules/lodash/_copyArray.js.map +1 -0
  192. package/dist/node_modules/lodash/_copyObject.js +22 -0
  193. package/dist/node_modules/lodash/_copyObject.js.map +1 -0
  194. package/dist/node_modules/lodash/_copySymbols.js +16 -0
  195. package/dist/node_modules/lodash/_copySymbols.js.map +1 -0
  196. package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
  197. package/dist/node_modules/lodash/_copySymbolsIn.js.map +1 -0
  198. package/dist/node_modules/lodash/_createAssigner.js +23 -0
  199. package/dist/node_modules/lodash/_createAssigner.js.map +1 -0
  200. package/dist/node_modules/lodash/_flatRest.js +17 -0
  201. package/dist/node_modules/lodash/_flatRest.js.map +1 -0
  202. package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
  203. package/dist/node_modules/lodash/_getAllKeysIn.js.map +1 -0
  204. package/dist/node_modules/lodash/_getSymbolsIn.js +18 -0
  205. package/dist/node_modules/lodash/_getSymbolsIn.js.map +1 -0
  206. package/dist/node_modules/lodash/_initCloneArray.js +15 -0
  207. package/dist/node_modules/lodash/_initCloneArray.js.map +1 -0
  208. package/dist/node_modules/lodash/_initCloneByTag.js +40 -0
  209. package/dist/node_modules/lodash/_initCloneByTag.js.map +1 -0
  210. package/dist/node_modules/lodash/_initCloneObject.js +17 -0
  211. package/dist/node_modules/lodash/_initCloneObject.js.map +1 -0
  212. package/dist/node_modules/lodash/_nativeKeysIn.js +15 -0
  213. package/dist/node_modules/lodash/_nativeKeysIn.js.map +1 -0
  214. package/dist/node_modules/lodash/_safeGet.js +13 -0
  215. package/dist/node_modules/lodash/_safeGet.js.map +1 -0
  216. package/dist/node_modules/lodash/_stringSize.js +17 -0
  217. package/dist/node_modules/lodash/_stringSize.js.map +1 -0
  218. package/dist/node_modules/lodash/_unicodeSize.js +25 -0
  219. package/dist/node_modules/lodash/_unicodeSize.js.map +1 -0
  220. package/dist/node_modules/lodash/clone.js +15 -0
  221. package/dist/node_modules/lodash/clone.js.map +1 -0
  222. package/dist/node_modules/lodash/cloneDeep.js +15 -0
  223. package/dist/node_modules/lodash/cloneDeep.js.map +1 -0
  224. package/dist/node_modules/lodash/defaults.js +23 -0
  225. package/dist/node_modules/lodash/defaults.js.map +1 -0
  226. package/dist/node_modules/lodash/each.js +11 -0
  227. package/dist/node_modules/lodash/each.js.map +1 -0
  228. package/dist/node_modules/lodash/filter.js +18 -0
  229. package/dist/node_modules/lodash/filter.js.map +1 -0
  230. package/dist/node_modules/lodash/flatten.js +15 -0
  231. package/dist/node_modules/lodash/flatten.js.map +1 -0
  232. package/dist/node_modules/lodash/forEach.js +18 -0
  233. package/dist/node_modules/lodash/forEach.js.map +1 -0
  234. package/dist/node_modules/lodash/forIn.js +17 -0
  235. package/dist/node_modules/lodash/forIn.js.map +1 -0
  236. package/dist/node_modules/lodash/has.js +16 -0
  237. package/dist/node_modules/lodash/has.js.map +1 -0
  238. package/dist/node_modules/lodash/isArrayLikeObject.js +16 -0
  239. package/dist/node_modules/lodash/isArrayLikeObject.js.map +1 -0
  240. package/dist/node_modules/lodash/isEmpty.js +28 -0
  241. package/dist/node_modules/lodash/isEmpty.js.map +1 -0
  242. package/dist/node_modules/lodash/isMap.js +14 -0
  243. package/dist/node_modules/lodash/isMap.js.map +1 -0
  244. package/dist/node_modules/lodash/isSet.js +14 -0
  245. package/dist/node_modules/lodash/isSet.js.map +1 -0
  246. package/dist/node_modules/lodash/isUndefined.js +13 -0
  247. package/dist/node_modules/lodash/isUndefined.js.map +1 -0
  248. package/dist/node_modules/lodash/keysIn.js +17 -0
  249. package/dist/node_modules/lodash/keysIn.js.map +1 -0
  250. package/dist/node_modules/lodash/merge.js +15 -0
  251. package/dist/node_modules/lodash/merge.js.map +1 -0
  252. package/dist/node_modules/lodash/pick.js +15 -0
  253. package/dist/node_modules/lodash/pick.js.map +1 -0
  254. package/dist/node_modules/lodash/reduce.js +20 -0
  255. package/dist/node_modules/lodash/reduce.js.map +1 -0
  256. package/dist/node_modules/lodash/size.js +22 -0
  257. package/dist/node_modules/lodash/size.js.map +1 -0
  258. package/dist/node_modules/lodash/toPlainObject.js +16 -0
  259. package/dist/node_modules/lodash/toPlainObject.js.map +1 -0
  260. package/dist/node_modules/lodash/transform.js +31 -0
  261. package/dist/node_modules/lodash/transform.js.map +1 -0
  262. package/dist/node_modules/lodash/union.js +17 -0
  263. package/dist/node_modules/lodash/union.js.map +1 -0
  264. package/dist/node_modules/lodash/uniqueId.js +16 -0
  265. package/dist/node_modules/lodash/uniqueId.js.map +1 -0
  266. package/dist/node_modules/lodash/values.js +16 -0
  267. package/dist/node_modules/lodash/values.js.map +1 -0
  268. package/dist/node_modules/lodash/zipObject.js +16 -0
  269. package/dist/node_modules/lodash/zipObject.js.map +1 -0
  270. package/dist/pages/ActionsPage.js +269 -230
  271. package/dist/pages/ActionsPage.js.map +1 -1
  272. package/dist/pages/AgentDetailsPage.js +442 -436
  273. package/dist/pages/AgentDetailsPage.js.map +1 -1
  274. package/dist/pages/AgentGraphPage.js +251 -118
  275. package/dist/pages/AgentGraphPage.js.map +1 -1
  276. package/dist/pages/VibeDeckPage.js +268 -224
  277. package/dist/pages/VibeDeckPage.js.map +1 -1
  278. package/dist/services/agentRemoteTaskGates.js +29 -0
  279. package/dist/services/agentRemoteTaskGates.js.map +1 -0
  280. package/package.json +3 -1
  281. package/dist/components/graph/AgentGraphView.js +0 -237
  282. package/dist/components/graph/AgentGraphView.js.map +0 -1
  283. package/dist/components/graph/AgentNode.js +0 -54
  284. package/dist/components/graph/AgentNode.js.map +0 -1
  285. package/dist/components/graph/TargetNode.js +0 -76
  286. package/dist/components/graph/TargetNode.js.map +0 -1
@@ -1,10 +1,11 @@
1
1
  import { useTr as e } from "../../shared/hooks/useTr.js";
2
- import { useEffect as t, useRef as n, useState as r } from "react";
3
- import { X as i } from "lucide-react";
4
- import { AnimatePresence as a, motion as o, useReducedMotion as s } from "framer-motion";
5
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
2
+ import { RemoteExecutionEnableNotice as t } from "./RemoteExecutionEnableNotice.js";
3
+ import { useEffect as n, useRef as r, useState as i } from "react";
4
+ import { X as a } from "lucide-react";
5
+ import { AnimatePresence as o, motion as s, useReducedMotion as c } from "framer-motion";
6
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
7
  //#region src/components/actions/ActionForm.tsx
7
- var u = {
8
+ var d = {
8
9
  name: "",
9
10
  displayName: "",
10
11
  description: "",
@@ -28,38 +29,38 @@ var u = {
28
29
  retryCount: 0,
29
30
  confirmationRequired: !1
30
31
  };
31
- function d({ title: d, initialData: f, agents: p, onSubmit: m, onCancel: h, isLoading: g = !1, extraSection: _ }) {
32
- let [v, y] = r({
33
- ...u,
34
- ...f
35
- }), [b, x] = r(f?.tags?.join(", ") ?? ""), S = n(null), C = s(), w = e();
36
- t(() => {
37
- S.current?.showModal();
32
+ function f({ title: f, initialData: p, agents: m, onSubmit: h, onCancel: g, isLoading: _ = !1, extraSection: v }) {
33
+ let [y, b] = i({
34
+ ...d,
35
+ ...p
36
+ }), [x, S] = i(p?.tags?.join(", ") ?? ""), C = r(null), w = c(), T = e();
37
+ n(() => {
38
+ C.current?.showModal();
38
39
  }, []);
39
- let T = (e, t) => y((n) => ({
40
+ let E = (e, t) => b((n) => ({
40
41
  ...n,
41
42
  [e]: t
42
- })), E = (e) => {
43
+ })), D = (e) => {
43
44
  e.preventDefault();
44
- let t = b.split(",").map((e) => e.trim()).filter(Boolean);
45
- m({
46
- ...v,
45
+ let t = x.split(",").map((e) => e.trim()).filter(Boolean);
46
+ h({
47
+ ...y,
47
48
  tags: t
48
49
  });
49
- }, D = "w-full px-3 py-2 text-sm bg-bg-sunken border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-action-primary-bg focus:border-transparent transition-all", O = "block text-sm font-medium text-text-secondary mb-1";
50
- return /* @__PURE__ */ c("dialog", {
51
- ref: S,
50
+ }, O = "w-full px-3 py-2 text-sm bg-bg-sunken border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-action-primary-bg focus:border-transparent transition-all", k = "block text-sm font-medium text-text-secondary mb-1";
51
+ return /* @__PURE__ */ l("dialog", {
52
+ ref: C,
52
53
  className: "fixed inset-0 z-50 m-auto p-0 bg-transparent backdrop:bg-transparent",
53
- onClose: h,
54
- children: /* @__PURE__ */ l(a, { children: [/* @__PURE__ */ c(o.div, {
54
+ onClose: g,
55
+ children: /* @__PURE__ */ u(o, { children: [/* @__PURE__ */ l(s.div, {
55
56
  className: "fixed inset-0 bg-bg-overlay",
56
- initial: C ? void 0 : { opacity: 0 },
57
+ initial: w ? void 0 : { opacity: 0 },
57
58
  animate: { opacity: 1 },
58
59
  exit: { opacity: 0 },
59
- onClick: h
60
- }), /* @__PURE__ */ l(o.div, {
60
+ onClick: g
61
+ }), /* @__PURE__ */ u(s.div, {
61
62
  className: "relative w-full max-w-2xl max-h-[85vh] overflow-y-auto bg-bg-surface rounded-lg shadow-xl",
62
- initial: C ? void 0 : {
63
+ initial: w ? void 0 : {
63
64
  opacity: 0,
64
65
  scale: .95,
65
66
  y: 8
@@ -83,352 +84,366 @@ function d({ title: d, initialData: f, agents: p, onSubmit: m, onCancel: h, isLo
83
84
  1
84
85
  ]
85
86
  },
86
- children: [/* @__PURE__ */ l("div", {
87
+ children: [/* @__PURE__ */ u("div", {
87
88
  className: "flex items-center justify-between p-6 border-b border-border-default sticky top-0 bg-bg-surface z-10",
88
- children: [/* @__PURE__ */ c("h2", {
89
+ children: [/* @__PURE__ */ l("h2", {
89
90
  className: "text-lg font-semibold text-text-primary",
90
- children: d
91
- }), /* @__PURE__ */ c("button", {
91
+ children: f
92
+ }), /* @__PURE__ */ l("button", {
92
93
  type: "button",
93
- onClick: h,
94
+ onClick: g,
94
95
  className: "p-1 rounded hover:bg-bg-sunken transition-colors",
95
- children: /* @__PURE__ */ c(i, { className: "size-5 text-text-secondary" })
96
+ children: /* @__PURE__ */ l(a, { className: "size-5 text-text-secondary" })
96
97
  })]
97
- }), /* @__PURE__ */ l("form", {
98
- onSubmit: E,
98
+ }), /* @__PURE__ */ u("form", {
99
+ onSubmit: D,
99
100
  className: "p-6 space-y-4",
100
101
  children: [
101
- /* @__PURE__ */ l("div", {
102
+ /* @__PURE__ */ u("div", {
102
103
  className: "grid grid-cols-2 gap-4",
103
- children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
104
- className: O,
105
- children: w("vibecontrols.actions.form.nameSlug", "Name (slug)")
106
- }), /* @__PURE__ */ c("input", {
104
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
105
+ className: k,
106
+ children: T("vibecontrols.actions.form.nameSlug", "Name (slug)")
107
+ }), /* @__PURE__ */ l("input", {
107
108
  "aria-label": "my-action",
108
- className: D,
109
- value: v.name,
110
- onChange: (e) => T("name", e.target.value),
109
+ className: O,
110
+ value: y.name,
111
+ onChange: (e) => E("name", e.target.value),
111
112
  placeholder: "my-action",
112
113
  required: !0
113
- })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
114
- className: O,
115
- children: w("vibecontrols.actions.form.displayName", "Display Name")
116
- }), /* @__PURE__ */ c("input", {
114
+ })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
115
+ className: k,
116
+ children: T("vibecontrols.actions.form.displayName", "Display Name")
117
+ }), /* @__PURE__ */ l("input", {
117
118
  "aria-label": "My Action",
118
- className: D,
119
- value: v.displayName,
120
- onChange: (e) => T("displayName", e.target.value),
119
+ className: O,
120
+ value: y.displayName,
121
+ onChange: (e) => E("displayName", e.target.value),
121
122
  placeholder: "My Action",
122
123
  required: !0
123
124
  })] })]
124
125
  }),
125
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
126
- className: O,
127
- children: w("vibecontrols.actions.form.description", "Description")
128
- }), /* @__PURE__ */ c("textarea", {
126
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
127
+ className: k,
128
+ children: T("vibecontrols.actions.form.description", "Description")
129
+ }), /* @__PURE__ */ l("textarea", {
129
130
  "aria-label": "What does this action do?",
130
- className: `${D} resize-none`,
131
+ className: `${O} resize-none`,
131
132
  rows: 2,
132
- value: v.description,
133
- onChange: (e) => T("description", e.target.value),
133
+ value: y.description,
134
+ onChange: (e) => E("description", e.target.value),
134
135
  placeholder: "What does this action do?"
135
136
  })] }),
136
- /* @__PURE__ */ l("div", {
137
+ /* @__PURE__ */ u("div", {
137
138
  className: "grid grid-cols-2 gap-4",
138
- children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
139
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
140
+ className: k,
141
+ children: T("vibecontrols.actions.form.actionType", "Action Type")
142
+ }), /* @__PURE__ */ u("select", {
139
143
  className: O,
140
- children: w("vibecontrols.actions.form.actionType", "Action Type")
141
- }), /* @__PURE__ */ l("select", {
142
- className: D,
143
- value: v.actionType,
144
- onChange: (e) => T("actionType", e.target.value),
144
+ value: y.actionType,
145
+ onChange: (e) => E("actionType", e.target.value),
145
146
  children: [
146
- /* @__PURE__ */ c("option", {
147
+ /* @__PURE__ */ l("option", {
147
148
  value: "COMMAND",
148
149
  children: "Command"
149
150
  }),
150
- /* @__PURE__ */ c("option", {
151
+ /* @__PURE__ */ l("option", {
151
152
  value: "SCRIPT",
152
153
  children: "Script"
153
154
  }),
154
- /* @__PURE__ */ c("option", {
155
+ /* @__PURE__ */ l("option", {
155
156
  value: "WEBHOOK",
156
157
  children: "Webhook"
157
158
  }),
158
- /* @__PURE__ */ c("option", {
159
+ /* @__PURE__ */ l("option", {
159
160
  value: "WORKFLOW",
160
161
  children: "Workflow"
161
162
  })
162
163
  ]
163
- })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
164
+ })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
165
+ className: k,
166
+ children: T("vibecontrols.actions.form.triggerType", "Trigger Type")
167
+ }), /* @__PURE__ */ u("select", {
164
168
  className: O,
165
- children: w("vibecontrols.actions.form.triggerType", "Trigger Type")
166
- }), /* @__PURE__ */ l("select", {
167
- className: D,
168
- value: v.triggerType,
169
- onChange: (e) => T("triggerType", e.target.value),
169
+ value: y.triggerType,
170
+ onChange: (e) => E("triggerType", e.target.value),
170
171
  children: [
171
- /* @__PURE__ */ c("option", {
172
+ /* @__PURE__ */ l("option", {
172
173
  value: "MANUAL",
173
174
  children: "Manual"
174
175
  }),
175
- /* @__PURE__ */ c("option", {
176
+ /* @__PURE__ */ l("option", {
176
177
  value: "SCHEDULED",
177
178
  children: "Scheduled"
178
179
  }),
179
- /* @__PURE__ */ c("option", {
180
+ /* @__PURE__ */ l("option", {
180
181
  value: "EVENT",
181
182
  children: "Event"
182
183
  }),
183
- /* @__PURE__ */ c("option", {
184
+ /* @__PURE__ */ l("option", {
184
185
  value: "ON_DEMAND",
185
186
  children: "On Demand"
186
187
  })
187
188
  ]
188
189
  })] })]
189
190
  }),
190
- v.triggerType === "SCHEDULED" && /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
191
- className: O,
192
- children: w("vibecontrols.actions.form.schedule", "Schedule (cron expression)")
193
- }), /* @__PURE__ */ c("input", {
191
+ y.triggerType === "SCHEDULED" && /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
192
+ className: k,
193
+ children: T("vibecontrols.actions.form.schedule", "Schedule (cron expression)")
194
+ }), /* @__PURE__ */ l("input", {
194
195
  "aria-label": "*/5 * * * *",
195
- className: D,
196
- value: v.schedule,
197
- onChange: (e) => T("schedule", e.target.value),
196
+ className: O,
197
+ value: y.schedule,
198
+ onChange: (e) => E("schedule", e.target.value),
198
199
  placeholder: "*/5 * * * *"
199
200
  })] }),
200
- /* @__PURE__ */ l("div", {
201
+ /* @__PURE__ */ u("div", {
201
202
  className: "grid grid-cols-2 gap-4",
202
- children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
203
- className: O,
204
- children: w("vibecontrols.actions.form.category", "Category")
205
- }), /* @__PURE__ */ c("input", {
203
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
204
+ className: k,
205
+ children: T("vibecontrols.actions.form.category", "Category")
206
+ }), /* @__PURE__ */ l("input", {
206
207
  "aria-label": "deployment, testing, etc.",
207
- className: D,
208
- value: v.category,
209
- onChange: (e) => T("category", e.target.value),
210
- placeholder: "deployment, testing, etc."
211
- })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
212
208
  className: O,
213
- children: w("vibecontrols.actions.form.tags", "Tags (comma separated)")
214
- }), /* @__PURE__ */ c("input", {
209
+ value: y.category,
210
+ onChange: (e) => E("category", e.target.value),
211
+ placeholder: "deployment, testing, etc."
212
+ })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
213
+ className: k,
214
+ children: T("vibecontrols.actions.form.tags", "Tags (comma separated)")
215
+ }), /* @__PURE__ */ l("input", {
215
216
  "aria-label": "ci, deploy, infra",
216
- className: D,
217
- value: b,
218
- onChange: (e) => x(e.target.value),
217
+ className: O,
218
+ value: x,
219
+ onChange: (e) => S(e.target.value),
219
220
  placeholder: "ci, deploy, infra"
220
221
  })] })]
221
222
  }),
222
- v.actionType === "COMMAND" && /* @__PURE__ */ l("div", {
223
+ y.actionType === "COMMAND" && /* @__PURE__ */ u("div", {
223
224
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50 border border-border-default",
224
225
  children: [
225
- /* @__PURE__ */ c("h3", {
226
+ /* @__PURE__ */ l("h3", {
226
227
  className: "text-sm font-semibold text-text-primary",
227
- children: w("vibecontrols.actions.form.commandSettings", "Command Settings")
228
+ children: T("vibecontrols.actions.form.commandSettings", "Command Settings")
228
229
  }),
229
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
230
- className: O,
231
- children: w("vibecontrols.actions.form.command", "Command")
232
- }), /* @__PURE__ */ c("textarea", {
230
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
231
+ className: k,
232
+ children: T("vibecontrols.actions.form.command", "Command")
233
+ }), /* @__PURE__ */ l("textarea", {
233
234
  "aria-label": "echo 'Hello World'",
234
- className: `${D} font-mono resize-none`,
235
+ className: `${O} font-mono resize-none`,
235
236
  rows: 3,
236
- value: v.command,
237
- onChange: (e) => T("command", e.target.value),
237
+ value: y.command,
238
+ onChange: (e) => E("command", e.target.value),
238
239
  placeholder: "echo 'Hello World'",
239
240
  required: !0
240
241
  })] }),
241
- /* @__PURE__ */ l("div", {
242
+ /* @__PURE__ */ u("div", {
242
243
  className: "grid grid-cols-2 gap-4",
243
- children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
244
- className: O,
245
- children: w("vibecontrols.actions.form.workingDirectory", "Working Directory")
246
- }), /* @__PURE__ */ c("input", {
244
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
245
+ className: k,
246
+ children: T("vibecontrols.actions.form.workingDirectory", "Working Directory")
247
+ }), /* @__PURE__ */ l("input", {
247
248
  "aria-label": "/home/user/project",
248
- className: D,
249
- value: v.workingDirectory,
250
- onChange: (e) => T("workingDirectory", e.target.value),
251
- placeholder: "/home/user/project"
252
- })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
253
249
  className: O,
254
- children: w("vibecontrols.actions.form.targetAgent", "Target Agent")
255
- }), /* @__PURE__ */ l("select", {
256
- className: D,
257
- value: v.targetAgentId,
258
- onChange: (e) => T("targetAgentId", e.target.value),
259
- children: [/* @__PURE__ */ c("option", {
260
- value: "",
261
- children: w("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
262
- }), p.map((e) => /* @__PURE__ */ l("option", {
263
- value: e.id,
264
- disabled: !e.isActive,
265
- children: [
266
- e.name,
267
- " ",
268
- e.isActive ? "" : w("vibecontrols.actions.form.offline", "(offline)")
269
- ]
270
- }, e.id))]
271
- })] })]
250
+ value: y.workingDirectory,
251
+ onChange: (e) => E("workingDirectory", e.target.value),
252
+ placeholder: "/home/user/project"
253
+ })] }), /* @__PURE__ */ u("div", { children: [
254
+ /* @__PURE__ */ l("label", {
255
+ className: k,
256
+ children: T("vibecontrols.actions.form.targetAgent", "Target Agent")
257
+ }),
258
+ /* @__PURE__ */ u("select", {
259
+ className: O,
260
+ value: y.targetAgentId,
261
+ onChange: (e) => E("targetAgentId", e.target.value),
262
+ children: [/* @__PURE__ */ l("option", {
263
+ value: "",
264
+ children: T("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
265
+ }), m.map((e) => /* @__PURE__ */ u("option", {
266
+ value: e.id,
267
+ disabled: !e.isActive,
268
+ children: [
269
+ e.name,
270
+ " ",
271
+ e.isActive ? "" : T("vibecontrols.actions.form.offline", "(offline)")
272
+ ]
273
+ }, e.id))]
274
+ }),
275
+ y.targetAgentId ? /* @__PURE__ */ l(t, {
276
+ agentId: y.targetAgentId,
277
+ agentName: m.find((e) => e.id === y.targetAgentId)?.name
278
+ }) : null
279
+ ] })]
272
280
  })
273
281
  ]
274
282
  }),
275
- v.actionType === "SCRIPT" && /* @__PURE__ */ l("div", {
283
+ y.actionType === "SCRIPT" && /* @__PURE__ */ u("div", {
276
284
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50 border border-border-default",
277
285
  children: [
278
- /* @__PURE__ */ c("h3", {
286
+ /* @__PURE__ */ l("h3", {
279
287
  className: "text-sm font-semibold text-text-primary",
280
- children: w("vibecontrols.actions.form.scriptSettings", "Script Settings")
288
+ children: T("vibecontrols.actions.form.scriptSettings", "Script Settings")
281
289
  }),
282
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
283
- className: O,
284
- children: w("vibecontrols.actions.form.script", "Script")
285
- }), /* @__PURE__ */ c("textarea", {
290
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
291
+ className: k,
292
+ children: T("vibecontrols.actions.form.script", "Script")
293
+ }), /* @__PURE__ */ l("textarea", {
286
294
  "aria-label": "#!/bin/bash\necho 'Hello'",
287
- className: `${D} font-mono resize-none`,
295
+ className: `${O} font-mono resize-none`,
288
296
  rows: 6,
289
- value: v.script,
290
- onChange: (e) => T("script", e.target.value),
297
+ value: y.script,
298
+ onChange: (e) => E("script", e.target.value),
291
299
  placeholder: "#!/bin/bash\necho 'Hello'",
292
300
  required: !0
293
301
  })] }),
294
- /* @__PURE__ */ l("div", {
302
+ /* @__PURE__ */ u("div", {
295
303
  className: "grid grid-cols-2 gap-4",
296
- children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
304
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
305
+ className: k,
306
+ children: T("vibecontrols.actions.form.interpreter", "Interpreter")
307
+ }), /* @__PURE__ */ u("select", {
297
308
  className: O,
298
- children: w("vibecontrols.actions.form.interpreter", "Interpreter")
299
- }), /* @__PURE__ */ l("select", {
300
- className: D,
301
- value: v.scriptInterpreter,
302
- onChange: (e) => T("scriptInterpreter", e.target.value),
309
+ value: y.scriptInterpreter,
310
+ onChange: (e) => E("scriptInterpreter", e.target.value),
303
311
  children: [
304
- /* @__PURE__ */ c("option", {
312
+ /* @__PURE__ */ l("option", {
305
313
  value: "bash",
306
314
  children: "Bash"
307
315
  }),
308
- /* @__PURE__ */ c("option", {
316
+ /* @__PURE__ */ l("option", {
309
317
  value: "python",
310
318
  children: "Python"
311
319
  }),
312
- /* @__PURE__ */ c("option", {
320
+ /* @__PURE__ */ l("option", {
313
321
  value: "node",
314
322
  children: "Node.js"
315
323
  })
316
324
  ]
317
- })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
318
- className: O,
319
- children: w("vibecontrols.actions.form.targetAgent", "Target Agent")
320
- }), /* @__PURE__ */ l("select", {
321
- className: D,
322
- value: v.targetAgentId,
323
- onChange: (e) => T("targetAgentId", e.target.value),
324
- children: [/* @__PURE__ */ c("option", {
325
- value: "",
326
- children: w("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
327
- }), p.map((e) => /* @__PURE__ */ l("option", {
328
- value: e.id,
329
- disabled: !e.isActive,
330
- children: [
331
- e.name,
332
- " ",
333
- e.isActive ? "" : w("vibecontrols.actions.form.offline", "(offline)")
334
- ]
335
- }, e.id))]
336
- })] })]
325
+ })] }), /* @__PURE__ */ u("div", { children: [
326
+ /* @__PURE__ */ l("label", {
327
+ className: k,
328
+ children: T("vibecontrols.actions.form.targetAgent", "Target Agent")
329
+ }),
330
+ /* @__PURE__ */ u("select", {
331
+ className: O,
332
+ value: y.targetAgentId,
333
+ onChange: (e) => E("targetAgentId", e.target.value),
334
+ children: [/* @__PURE__ */ l("option", {
335
+ value: "",
336
+ children: T("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
337
+ }), m.map((e) => /* @__PURE__ */ u("option", {
338
+ value: e.id,
339
+ disabled: !e.isActive,
340
+ children: [
341
+ e.name,
342
+ " ",
343
+ e.isActive ? "" : T("vibecontrols.actions.form.offline", "(offline)")
344
+ ]
345
+ }, e.id))]
346
+ }),
347
+ y.targetAgentId ? /* @__PURE__ */ l(t, {
348
+ agentId: y.targetAgentId,
349
+ agentName: m.find((e) => e.id === y.targetAgentId)?.name
350
+ }) : null
351
+ ] })]
337
352
  }),
338
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
339
- className: O,
340
- children: w("vibecontrols.actions.form.workingDirectory", "Working Directory")
341
- }), /* @__PURE__ */ c("input", {
353
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
354
+ className: k,
355
+ children: T("vibecontrols.actions.form.workingDirectory", "Working Directory")
356
+ }), /* @__PURE__ */ l("input", {
342
357
  "aria-label": "/home/user/project",
343
- className: D,
344
- value: v.workingDirectory,
345
- onChange: (e) => T("workingDirectory", e.target.value),
358
+ className: O,
359
+ value: y.workingDirectory,
360
+ onChange: (e) => E("workingDirectory", e.target.value),
346
361
  placeholder: "/home/user/project"
347
362
  })] })
348
363
  ]
349
364
  }),
350
- v.actionType === "WEBHOOK" && /* @__PURE__ */ l("div", {
365
+ y.actionType === "WEBHOOK" && /* @__PURE__ */ u("div", {
351
366
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50 border border-border-default",
352
367
  children: [
353
- /* @__PURE__ */ c("h3", {
368
+ /* @__PURE__ */ l("h3", {
354
369
  className: "text-sm font-semibold text-text-primary",
355
- children: w("vibecontrols.actions.form.webhookSettings", "Webhook Settings")
370
+ children: T("vibecontrols.actions.form.webhookSettings", "Webhook Settings")
356
371
  }),
357
- /* @__PURE__ */ l("div", {
372
+ /* @__PURE__ */ u("div", {
358
373
  className: "grid grid-cols-[1fr_auto] gap-4",
359
- children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
360
- className: O,
361
- children: w("vibecontrols.actions.form.url", "URL")
362
- }), /* @__PURE__ */ c("input", {
374
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
375
+ className: k,
376
+ children: T("vibecontrols.actions.form.url", "URL")
377
+ }), /* @__PURE__ */ l("input", {
363
378
  "aria-label": "https://api.example.com/hook",
364
- className: D,
365
- value: v.webhookUrl,
366
- onChange: (e) => T("webhookUrl", e.target.value),
379
+ className: O,
380
+ value: y.webhookUrl,
381
+ onChange: (e) => E("webhookUrl", e.target.value),
367
382
  placeholder: "https://api.example.com/hook",
368
383
  required: !0
369
- })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
384
+ })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
385
+ className: k,
386
+ children: T("vibecontrols.actions.form.method", "Method")
387
+ }), /* @__PURE__ */ u("select", {
370
388
  className: O,
371
- children: w("vibecontrols.actions.form.method", "Method")
372
- }), /* @__PURE__ */ l("select", {
373
- className: D,
374
- value: v.webhookMethod,
375
- onChange: (e) => T("webhookMethod", e.target.value),
389
+ value: y.webhookMethod,
390
+ onChange: (e) => E("webhookMethod", e.target.value),
376
391
  children: [
377
- /* @__PURE__ */ c("option", {
392
+ /* @__PURE__ */ l("option", {
378
393
  value: "GET",
379
394
  children: "GET"
380
395
  }),
381
- /* @__PURE__ */ c("option", {
396
+ /* @__PURE__ */ l("option", {
382
397
  value: "POST",
383
398
  children: "POST"
384
399
  }),
385
- /* @__PURE__ */ c("option", {
400
+ /* @__PURE__ */ l("option", {
386
401
  value: "PUT",
387
402
  children: "PUT"
388
403
  }),
389
- /* @__PURE__ */ c("option", {
404
+ /* @__PURE__ */ l("option", {
390
405
  value: "PATCH",
391
406
  children: "PATCH"
392
407
  }),
393
- /* @__PURE__ */ c("option", {
408
+ /* @__PURE__ */ l("option", {
394
409
  value: "DELETE",
395
410
  children: "DELETE"
396
411
  })
397
412
  ]
398
413
  })] })]
399
414
  }),
400
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
401
- className: O,
402
- children: w("vibecontrols.actions.form.bodyJson", "Body (JSON)")
403
- }), /* @__PURE__ */ c("textarea", {
415
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
416
+ className: k,
417
+ children: T("vibecontrols.actions.form.bodyJson", "Body (JSON)")
418
+ }), /* @__PURE__ */ l("textarea", {
404
419
  "aria-label": "control",
405
- className: `${D} font-mono resize-none`,
420
+ className: `${O} font-mono resize-none`,
406
421
  rows: 4,
407
- value: v.webhookBody,
408
- onChange: (e) => T("webhookBody", e.target.value),
422
+ value: y.webhookBody,
423
+ onChange: (e) => E("webhookBody", e.target.value),
409
424
  placeholder: "{\"key\": \"value\"}"
410
425
  })] }),
411
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
426
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
427
+ className: k,
428
+ children: T("vibecontrols.actions.form.authType", "Auth Type")
429
+ }), /* @__PURE__ */ u("select", {
412
430
  className: O,
413
- children: w("vibecontrols.actions.form.authType", "Auth Type")
414
- }), /* @__PURE__ */ l("select", {
415
- className: D,
416
- value: v.webhookAuthType,
417
- onChange: (e) => T("webhookAuthType", e.target.value),
431
+ value: y.webhookAuthType,
432
+ onChange: (e) => E("webhookAuthType", e.target.value),
418
433
  children: [
419
- /* @__PURE__ */ c("option", {
434
+ /* @__PURE__ */ l("option", {
420
435
  value: "",
421
436
  children: "None"
422
437
  }),
423
- /* @__PURE__ */ c("option", {
438
+ /* @__PURE__ */ l("option", {
424
439
  value: "BEARER",
425
440
  children: "Bearer Token"
426
441
  }),
427
- /* @__PURE__ */ c("option", {
442
+ /* @__PURE__ */ l("option", {
428
443
  value: "BASIC",
429
444
  children: "Basic Auth"
430
445
  }),
431
- /* @__PURE__ */ c("option", {
446
+ /* @__PURE__ */ l("option", {
432
447
  value: "API_KEY",
433
448
  children: "API Key"
434
449
  })
@@ -436,65 +451,65 @@ function d({ title: d, initialData: f, agents: p, onSubmit: m, onCancel: h, isLo
436
451
  })] })
437
452
  ]
438
453
  }),
439
- /* @__PURE__ */ l("div", {
454
+ /* @__PURE__ */ u("div", {
440
455
  className: "grid grid-cols-3 gap-4",
441
456
  children: [
442
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
443
- className: O,
444
- children: w("vibecontrols.actions.form.timeout", "Timeout (ms)")
445
- }), /* @__PURE__ */ c("input", {
457
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
458
+ className: k,
459
+ children: T("vibecontrols.actions.form.timeout", "Timeout (ms)")
460
+ }), /* @__PURE__ */ l("input", {
446
461
  "aria-label": "control",
447
- className: D,
462
+ className: O,
448
463
  type: "number",
449
464
  min: 1e3,
450
465
  max: 3e5,
451
- value: v.timeoutMs,
452
- onChange: (e) => T("timeoutMs", parseInt(e.target.value) || 3e4)
466
+ value: y.timeoutMs,
467
+ onChange: (e) => E("timeoutMs", parseInt(e.target.value) || 3e4)
453
468
  })] }),
454
- /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
455
- className: O,
456
- children: w("vibecontrols.actions.form.retryCount", "Retry Count")
457
- }), /* @__PURE__ */ c("input", {
469
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("label", {
470
+ className: k,
471
+ children: T("vibecontrols.actions.form.retryCount", "Retry Count")
472
+ }), /* @__PURE__ */ l("input", {
458
473
  "aria-label": "control",
459
- className: D,
474
+ className: O,
460
475
  type: "number",
461
476
  min: 0,
462
477
  max: 10,
463
- value: v.retryCount,
464
- onChange: (e) => T("retryCount", parseInt(e.target.value) || 0)
478
+ value: y.retryCount,
479
+ onChange: (e) => E("retryCount", parseInt(e.target.value) || 0)
465
480
  })] }),
466
- /* @__PURE__ */ c("div", {
481
+ /* @__PURE__ */ l("div", {
467
482
  className: "flex items-end pb-2",
468
- children: /* @__PURE__ */ l("label", {
483
+ children: /* @__PURE__ */ u("label", {
469
484
  className: "flex items-center gap-2 text-sm text-text-secondary cursor-pointer",
470
- children: [/* @__PURE__ */ c("input", {
485
+ children: [/* @__PURE__ */ l("input", {
471
486
  "aria-label": "control",
472
487
  type: "checkbox",
473
- checked: v.confirmationRequired,
474
- onChange: (e) => T("confirmationRequired", e.target.checked),
488
+ checked: y.confirmationRequired,
489
+ onChange: (e) => E("confirmationRequired", e.target.checked),
475
490
  className: "rounded border-border-default"
476
- }), w("vibecontrols.actions.form.requireConfirmation", "Require confirmation")]
491
+ }), T("vibecontrols.actions.form.requireConfirmation", "Require confirmation")]
477
492
  })
478
493
  })
479
494
  ]
480
495
  }),
481
- _ && /* @__PURE__ */ c("div", {
496
+ v && /* @__PURE__ */ l("div", {
482
497
  className: "pt-4 border-t border-border-default",
483
- children: _
498
+ children: v
484
499
  }),
485
- /* @__PURE__ */ l("div", {
500
+ /* @__PURE__ */ u("div", {
486
501
  className: "flex items-center justify-end gap-3 pt-4 border-t border-border-default",
487
- children: [/* @__PURE__ */ c("button", {
502
+ children: [/* @__PURE__ */ l("button", {
488
503
  type: "button",
489
- onClick: h,
490
- disabled: g,
504
+ onClick: g,
505
+ disabled: _,
491
506
  className: "px-4 py-2 text-sm font-medium text-text-primary bg-bg-surface border border-border-default rounded-md hover:bg-bg-elevated transition-colors disabled:opacity-50",
492
- children: w("vibecontrols.actions.form.cancel", "Cancel")
493
- }), /* @__PURE__ */ c("button", {
507
+ children: T("vibecontrols.actions.form.cancel", "Cancel")
508
+ }), /* @__PURE__ */ l("button", {
494
509
  type: "submit",
495
- disabled: g,
510
+ disabled: _,
496
511
  className: "px-4 py-2 text-sm font-medium rounded-md bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg-hover transition-colors disabled:opacity-50",
497
- children: g ? w("vibecontrols.actions.form.saving", "Saving...") : f ? w("vibecontrols.actions.form.updateAction", "Update Action") : w("vibecontrols.actions.form.createAction", "Create Action")
512
+ children: _ ? T("vibecontrols.actions.form.saving", "Saving...") : p ? T("vibecontrols.actions.form.updateAction", "Update Action") : T("vibecontrols.actions.form.createAction", "Create Action")
498
513
  })]
499
514
  })
500
515
  ]
@@ -503,6 +518,6 @@ function d({ title: d, initialData: f, agents: p, onSubmit: m, onCancel: h, isLo
503
518
  });
504
519
  }
505
520
  //#endregion
506
- export { d as ActionForm };
521
+ export { f as ActionForm };
507
522
 
508
523
  //# sourceMappingURL=ActionForm.js.map