@burdenoff/microfe-vibecontrols 2026.1123.2 → 2026.1125.2

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 (105) hide show
  1. package/dist/components/actions/ActionForm.js +160 -159
  2. package/dist/components/actions/ActionSchedulesList.js +1 -1
  3. package/dist/components/agent-manager/AgentManagerCenter.js +3 -0
  4. package/dist/components/agent-manager/AgentManagerInputArea.js +168 -163
  5. package/dist/components/agent-manager/AgentManagerSessionItem.js +51 -46
  6. package/dist/components/agent-manager/AgentManagerSessionList.js +3 -0
  7. package/dist/components/agent-manager/BridleConfigPanel.js +79 -78
  8. package/dist/components/agent-manager/ProfilesPanel.js +61 -53
  9. package/dist/components/agents/AgentList.js +3 -0
  10. package/dist/components/agents/AgentMaintenanceTab.js +229 -229
  11. package/dist/components/agents/PluginUIPanel.js +3 -3
  12. package/dist/components/agents/backup/AgentBackupTab.js +127 -126
  13. package/dist/components/ai/AIContextsTab.js +93 -89
  14. package/dist/components/ai/AIKeysTab.js +3 -0
  15. package/dist/components/ai/AIPlaygroundTab.js +68 -64
  16. package/dist/components/ai/AIPromptsTab.js +78 -74
  17. package/dist/components/ai/AIQueueTab.js +6 -0
  18. package/dist/components/ai/AISessionsTab.js +56 -52
  19. package/dist/components/ai/AITasksTab.js +166 -159
  20. package/dist/components/ai/AITemplatesTab.js +3 -0
  21. package/dist/components/ai/BridleTab.js +3 -0
  22. package/dist/components/ai/InstructionFilesManager.js +101 -100
  23. package/dist/components/analytics/AnalyticsFilterBar.js +15 -14
  24. package/dist/components/catalog/CatalogForm.js +56 -55
  25. package/dist/components/docs/DocsEmptyState.js +3 -0
  26. package/dist/components/docs/DocsSettingsPanel.js +73 -72
  27. package/dist/components/docs/DocsTabPanel.js +71 -64
  28. package/dist/components/gitops/GitOpsProviderPicker.js +11 -10
  29. package/dist/components/gitops/GitOpsSetup.js +57 -56
  30. package/dist/components/graph/MeshRequestPanel.js +97 -96
  31. package/dist/components/idp-components/ComponentForm.js +121 -121
  32. package/dist/components/logs/LogViewer.js +75 -74
  33. package/dist/components/notes/NoteEditor.js +112 -111
  34. package/dist/components/notes/NoteList.js +3 -0
  35. package/dist/components/notes/NotesTabPanel.js +3 -0
  36. package/dist/components/overview/FleetActivityChart.js +44 -40
  37. package/dist/components/overview/FleetHealthCard.js +3 -0
  38. package/dist/components/overview/QuickActionsCard.js +3 -0
  39. package/dist/components/plugins/FleetRolloutDialog.js +3 -0
  40. package/dist/components/scorecard/ScorecardPanel.js +312 -311
  41. package/dist/components/sessions/SessionForm.js +1 -0
  42. package/dist/components/sessions/SessionList.js +3 -0
  43. package/dist/components/sessions/SessionPublicLinkPanel.js +67 -66
  44. package/dist/components/settings/SettingsForm.js +19 -19
  45. package/dist/components/shared/AgentSelector.js +45 -44
  46. package/dist/components/shared/EmptyState.d.ts +19 -1
  47. package/dist/components/shared/EmptyState.js +9 -3
  48. package/dist/components/shared/EntityVibeLinkControl.js +81 -80
  49. package/dist/components/shared/LinkToVibePanel.js +27 -26
  50. package/dist/components/templates/PublishTemplateForm.js +56 -56
  51. package/dist/components/templates/TemplateVariableEditor.js +30 -29
  52. package/dist/components/templates/TemplateWizard.js +132 -132
  53. package/dist/components/tunnels/TunnelCreateWizard.js +58 -58
  54. package/dist/components/tunnels/TunnelMetricTiles.js +3 -0
  55. package/dist/components/tunnels/TunnelPublicAccessPanel.js +46 -45
  56. package/dist/components/vibe/VibeAgentEmptyState.js +3 -0
  57. package/dist/components/vibe/VibeAgentSwitcher.js +78 -76
  58. package/dist/components/vibe/VibeLinkedEntitiesPanel.js +3 -0
  59. package/dist/components/vibe/VibeLlmContextTabPanel.js +186 -182
  60. package/dist/components/vibecalendar/ScheduleTaskModal.js +96 -95
  61. package/dist/components/vibedeck/VibeDeckButtonForm.js +143 -142
  62. package/dist/components/vibedeck/VibeDeckForm.js +55 -54
  63. package/dist/components/vibedeck/VibeDeckPublicLinkPanel.js +67 -66
  64. package/dist/components/vibes/VibeList.js +3 -0
  65. package/dist/hooks/useCachedInitialData.d.ts +2 -2
  66. package/dist/pages/ActionsPage.js +3 -0
  67. package/dist/pages/AgentDetailsPage.js +3 -0
  68. package/dist/pages/AgentGraphPage.js +9 -0
  69. package/dist/pages/AgentsPage.js +3 -0
  70. package/dist/pages/CatalogDetailPage.js +9 -0
  71. package/dist/pages/CatalogPage.js +3 -0
  72. package/dist/pages/ComponentDetailPage.js +7 -2
  73. package/dist/pages/ComponentsPage.js +3 -0
  74. package/dist/pages/EnvTopologyPage.js +55 -52
  75. package/dist/pages/HealthPage.js +9 -0
  76. package/dist/pages/LogsPage.js +3 -0
  77. package/dist/pages/NoteDetailsPage.js +3 -0
  78. package/dist/pages/OverviewPage.js +12 -0
  79. package/dist/pages/PluginDetailPage.js +9 -0
  80. package/dist/pages/PluginsCatalogPage.js +3 -0
  81. package/dist/pages/SessionDetailsPage.js +4 -1
  82. package/dist/pages/SessionsPage.js +501 -494
  83. package/dist/pages/TargetDetailsPage.js +9 -0
  84. package/dist/pages/TargetsPage.js +525 -522
  85. package/dist/pages/TemplateDetailPage.js +4 -2
  86. package/dist/pages/TemplatesPage.js +3 -0
  87. package/dist/pages/VibeAuditPage.js +9 -0
  88. package/dist/pages/VibeDeckPage.js +3 -0
  89. package/dist/pages/VibeDetailsPage.js +431 -416
  90. package/dist/pages/VibesPage.js +128 -125
  91. package/dist/pages/WebhooksPage.js +3 -0
  92. package/dist/pages/ai/AIBuilderPage.js +66 -65
  93. package/dist/pages/ai/AIPage.js +3 -0
  94. package/dist/pages/ai/AISessionDetailPage.js +162 -149
  95. package/dist/pages/ai/AgentManagerPage.js +3 -0
  96. package/dist/pages/tunnels/AuditTab.js +3 -0
  97. package/dist/pages/tunnels/DomainsTab.js +3 -0
  98. package/dist/pages/tunnels/ProvidersTab.js +3 -0
  99. package/dist/pages/tunnels/SessionsTab.js +3 -0
  100. package/dist/pages/tunnels/TunnelsTab.js +6 -0
  101. package/dist/pages/tunnels/UsageTab.js +3 -0
  102. package/dist/pages/tunnels/tabs/TunnelAuditTab.js +3 -0
  103. package/dist/pages/tunnels/tabs/TunnelSessionsTab.js +3 -0
  104. package/dist/pages/tunnels/tabs/TunnelUsageTab.js +3 -0
  105. package/package.json +3 -2
@@ -6,8 +6,9 @@ import { useEffect as i, useRef as a, useState as o } from "react";
6
6
  import { X as s } from "lucide-react";
7
7
  import { AnimatePresence as c, motion as l, useReducedMotion as u } from "framer-motion";
8
8
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
9
+ import { ThemedSelect as p } from "@burdenoff/fe-libs/ui";
9
10
  // src/components/actions/ActionForm.tsx
10
- var p = {
11
+ var m = {
11
12
  name: "",
12
13
  displayName: "",
13
14
  description: "",
@@ -31,38 +32,38 @@ var p = {
31
32
  retryCount: 0,
32
33
  confirmationRequired: !1
33
34
  };
34
- function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLoading: y = !1, extraSection: b }) {
35
- let [x, S] = o({
36
- ...p,
37
- ...h
38
- }), [C, w] = o(h?.tags?.join(", ") ?? ""), T = a(null), E = u(), D = e();
35
+ function h({ title: h, initialData: g, agents: _, onSubmit: v, onCancel: y, isLoading: b = !1, extraSection: x }) {
36
+ let [S, C] = o({
37
+ ...m,
38
+ ...g
39
+ }), [w, T] = o(g?.tags?.join(", ") ?? ""), E = a(null), D = u(), O = e();
39
40
  i(() => {
40
- T.current?.showModal();
41
+ E.current?.showModal();
41
42
  }, []);
42
- let O = (e, t) => S((n) => ({
43
+ let k = (e, t) => C((n) => ({
43
44
  ...n,
44
45
  [e]: t
45
- })), k = (e) => {
46
+ })), A = (e) => {
46
47
  e.preventDefault();
47
- let t = C.split(",").map((e) => e.trim()).filter(Boolean);
48
- _({
49
- ...x,
48
+ let t = w.split(",").map((e) => e.trim()).filter(Boolean);
49
+ v({
50
+ ...S,
50
51
  tags: t
51
52
  });
52
- }, A = "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", j = "block text-sm font-medium text-text-secondary mb-1";
53
+ }, j = "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", M = "block text-sm font-medium text-text-secondary mb-1";
53
54
  return /* @__PURE__ */ d("dialog", {
54
- ref: T,
55
+ ref: E,
55
56
  className: "fixed inset-0 z-50 m-auto p-0 bg-transparent backdrop:bg-transparent",
56
- onClose: v,
57
+ onClose: y,
57
58
  children: /* @__PURE__ */ f(c, { children: [/* @__PURE__ */ d(l.div, {
58
59
  className: "fixed inset-0 bg-bg-overlay",
59
- initial: E ? void 0 : { opacity: 0 },
60
+ initial: D ? void 0 : { opacity: 0 },
60
61
  animate: { opacity: 1 },
61
62
  exit: { opacity: 0 },
62
- onClick: v
63
+ onClick: y
63
64
  }), /* @__PURE__ */ f(l.div, {
64
65
  className: "relative w-full max-w-2xl max-h-[85vh] overflow-y-auto bg-bg-surface rounded-lg shadow-xl",
65
- initial: E ? void 0 : {
66
+ initial: D ? void 0 : {
66
67
  opacity: 0,
67
68
  scale: .95,
68
69
  y: 8
@@ -90,61 +91,61 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
90
91
  className: "flex items-center justify-between p-6 border-b border-border-default sticky top-0 bg-bg-surface z-10",
91
92
  children: [/* @__PURE__ */ d("h2", {
92
93
  className: "text-lg font-semibold text-text-primary",
93
- children: m
94
+ children: h
94
95
  }), /* @__PURE__ */ d("button", {
95
96
  type: "button",
96
- onClick: v,
97
+ onClick: y,
97
98
  className: "p-1 rounded hover:bg-bg-sunken transition-colors",
98
99
  children: /* @__PURE__ */ d(s, { className: "size-5 text-text-secondary" })
99
100
  })]
100
101
  }), /* @__PURE__ */ f("form", {
101
- onSubmit: k,
102
+ onSubmit: A,
102
103
  className: "p-6 space-y-4",
103
104
  children: [
104
105
  /* @__PURE__ */ f("div", {
105
106
  className: "grid grid-cols-2 gap-4",
106
107
  children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
107
- className: j,
108
- children: D("vibecontrols.actions.form.nameSlug", "Name (slug)")
108
+ className: M,
109
+ children: O("vibecontrols.actions.form.nameSlug", "Name (slug)")
109
110
  }), /* @__PURE__ */ d("input", {
110
111
  "aria-label": "my-action",
111
- className: A,
112
- value: x.name,
113
- onChange: (e) => O("name", e.target.value),
112
+ className: j,
113
+ value: S.name,
114
+ onChange: (e) => k("name", e.target.value),
114
115
  placeholder: "my-action",
115
116
  required: !0
116
117
  })] }), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
117
- className: j,
118
- children: D("vibecontrols.actions.form.displayName", "Display Name")
118
+ className: M,
119
+ children: O("vibecontrols.actions.form.displayName", "Display Name")
119
120
  }), /* @__PURE__ */ d("input", {
120
121
  "aria-label": "My Action",
121
- className: A,
122
- value: x.displayName,
123
- onChange: (e) => O("displayName", e.target.value),
122
+ className: j,
123
+ value: S.displayName,
124
+ onChange: (e) => k("displayName", e.target.value),
124
125
  placeholder: "My Action",
125
126
  required: !0
126
127
  })] })]
127
128
  }),
128
129
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
129
- className: j,
130
- children: D("vibecontrols.actions.form.description", "Description")
130
+ className: M,
131
+ children: O("vibecontrols.actions.form.description", "Description")
131
132
  }), /* @__PURE__ */ d("textarea", {
132
133
  "aria-label": "What does this action do?",
133
- className: `${A} resize-none`,
134
+ className: `${j} resize-none`,
134
135
  rows: 2,
135
- value: x.description,
136
- onChange: (e) => O("description", e.target.value),
136
+ value: S.description,
137
+ onChange: (e) => k("description", e.target.value),
137
138
  placeholder: "What does this action do?"
138
139
  })] }),
139
140
  /* @__PURE__ */ f("div", {
140
141
  className: "grid grid-cols-2 gap-4",
141
142
  children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
143
+ className: M,
144
+ children: O("vibecontrols.actions.form.actionType", "Action Type")
145
+ }), /* @__PURE__ */ f(p, {
142
146
  className: j,
143
- children: D("vibecontrols.actions.form.actionType", "Action Type")
144
- }), /* @__PURE__ */ f("select", {
145
- className: A,
146
- value: x.actionType,
147
- onChange: (e) => O("actionType", e.target.value),
147
+ value: S.actionType,
148
+ onChange: (e) => k("actionType", e.target.value),
148
149
  children: [
149
150
  /* @__PURE__ */ d("option", {
150
151
  value: "COMMAND",
@@ -158,18 +159,18 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
158
159
  value: "WEBHOOK",
159
160
  children: "Webhook"
160
161
  }),
161
- x.actionType === "WORKFLOW" && /* @__PURE__ */ d("option", {
162
+ S.actionType === "WORKFLOW" && /* @__PURE__ */ d("option", {
162
163
  value: "WORKFLOW",
163
164
  children: "Workflow (coming soon)"
164
165
  })
165
166
  ]
166
167
  })] }), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
168
+ className: M,
169
+ children: O("vibecontrols.actions.form.triggerType", "Trigger Type")
170
+ }), /* @__PURE__ */ f(p, {
167
171
  className: j,
168
- children: D("vibecontrols.actions.form.triggerType", "Trigger Type")
169
- }), /* @__PURE__ */ f("select", {
170
- className: A,
171
- value: x.triggerType,
172
- onChange: (e) => O("triggerType", e.target.value),
172
+ value: S.triggerType,
173
+ onChange: (e) => k("triggerType", e.target.value),
173
174
  children: [
174
175
  /* @__PURE__ */ d("option", {
175
176
  value: "MANUAL",
@@ -190,129 +191,129 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
190
191
  ]
191
192
  })] })]
192
193
  }),
193
- x.triggerType === "SCHEDULED" && /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
194
- className: j,
195
- children: D("vibecontrols.actions.form.schedule", "Schedule (cron expression)")
194
+ S.triggerType === "SCHEDULED" && /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
195
+ className: M,
196
+ children: O("vibecontrols.actions.form.schedule", "Schedule (cron expression)")
196
197
  }), /* @__PURE__ */ d("input", {
197
198
  "aria-label": "*/5 * * * *",
198
- className: A,
199
- value: x.schedule,
200
- onChange: (e) => O("schedule", e.target.value),
199
+ className: j,
200
+ value: S.schedule,
201
+ onChange: (e) => k("schedule", e.target.value),
201
202
  placeholder: "*/5 * * * *"
202
203
  })] }),
203
204
  /* @__PURE__ */ f("div", {
204
205
  className: "grid grid-cols-2 gap-4",
205
206
  children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
206
- className: j,
207
- children: D("vibecontrols.actions.form.category", "Category")
207
+ className: M,
208
+ children: O("vibecontrols.actions.form.category", "Category")
208
209
  }), /* @__PURE__ */ d("input", {
209
210
  "aria-label": "deployment, testing, etc.",
210
- className: A,
211
- value: x.category,
212
- onChange: (e) => O("category", e.target.value),
211
+ className: j,
212
+ value: S.category,
213
+ onChange: (e) => k("category", e.target.value),
213
214
  placeholder: "deployment, testing, etc."
214
215
  })] }), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
215
- className: j,
216
- children: D("vibecontrols.actions.form.tags", "Tags (comma separated)")
216
+ className: M,
217
+ children: O("vibecontrols.actions.form.tags", "Tags (comma separated)")
217
218
  }), /* @__PURE__ */ d("input", {
218
219
  "aria-label": "ci, deploy, infra",
219
- className: A,
220
- value: C,
221
- onChange: (e) => w(e.target.value),
220
+ className: j,
221
+ value: w,
222
+ onChange: (e) => T(e.target.value),
222
223
  placeholder: "ci, deploy, infra"
223
224
  })] })]
224
225
  }),
225
- x.actionType === "COMMAND" && /* @__PURE__ */ f("div", {
226
+ S.actionType === "COMMAND" && /* @__PURE__ */ f("div", {
226
227
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50 border border-border-default",
227
228
  children: [
228
229
  /* @__PURE__ */ d("h3", {
229
230
  className: "text-sm font-semibold text-text-primary",
230
- children: D("vibecontrols.actions.form.commandSettings", "Command Settings")
231
+ children: O("vibecontrols.actions.form.commandSettings", "Command Settings")
231
232
  }),
232
233
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
233
- className: j,
234
- children: D("vibecontrols.actions.form.command", "Command")
234
+ className: M,
235
+ children: O("vibecontrols.actions.form.command", "Command")
235
236
  }), /* @__PURE__ */ d(n, {
236
237
  "aria-label": "echo 'Hello World'",
237
238
  language: "shell",
238
239
  rows: 3,
239
- value: x.command,
240
- onChange: (e) => O("command", e.target.value),
240
+ value: S.command,
241
+ onChange: (e) => k("command", e.target.value),
241
242
  placeholder: "echo 'Hello World'",
242
243
  required: !0
243
244
  })] }),
244
245
  /* @__PURE__ */ f("div", {
245
246
  className: "grid grid-cols-2 gap-4",
246
247
  children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
247
- className: j,
248
- children: D("vibecontrols.actions.form.workingDirectory", "Working Directory")
248
+ className: M,
249
+ children: O("vibecontrols.actions.form.workingDirectory", "Working Directory")
249
250
  }), /* @__PURE__ */ d("input", {
250
251
  "aria-label": "/home/user/project",
251
- className: A,
252
- value: x.workingDirectory,
253
- onChange: (e) => O("workingDirectory", e.target.value),
252
+ className: j,
253
+ value: S.workingDirectory,
254
+ onChange: (e) => k("workingDirectory", e.target.value),
254
255
  placeholder: "/home/user/project"
255
256
  })] }), /* @__PURE__ */ f("div", { children: [
256
257
  /* @__PURE__ */ d("label", {
257
- className: j,
258
- children: D("vibecontrols.actions.form.targetAgent", "Target Agent")
258
+ className: M,
259
+ children: O("vibecontrols.actions.form.targetAgent", "Target Agent")
259
260
  }),
260
- /* @__PURE__ */ f("select", {
261
- className: A,
262
- value: x.targetAgentId,
263
- onChange: (e) => O("targetAgentId", e.target.value),
261
+ /* @__PURE__ */ f(p, {
262
+ className: j,
263
+ value: S.targetAgentId,
264
+ onChange: (e) => k("targetAgentId", e.target.value),
264
265
  children: [/* @__PURE__ */ d("option", {
265
266
  value: "",
266
- children: D("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
267
- }), g.map((e) => /* @__PURE__ */ f("option", {
267
+ children: O("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
268
+ }), _.map((e) => /* @__PURE__ */ f("option", {
268
269
  value: e.id,
269
270
  disabled: !e.isActive,
270
271
  children: [
271
272
  e.name,
272
273
  " ",
273
- e.isActive ? "" : D("vibecontrols.actions.form.offline", "(offline)")
274
+ e.isActive ? "" : O("vibecontrols.actions.form.offline", "(offline)")
274
275
  ]
275
276
  }, e.id))]
276
277
  }),
277
- x.targetAgentId ? /* @__PURE__ */ d(t, {
278
- agentId: x.targetAgentId,
279
- agentName: g.find((e) => e.id === x.targetAgentId)?.name
278
+ S.targetAgentId ? /* @__PURE__ */ d(t, {
279
+ agentId: S.targetAgentId,
280
+ agentName: _.find((e) => e.id === S.targetAgentId)?.name
280
281
  }) : /* @__PURE__ */ d("p", {
281
282
  className: "mt-1 text-xs text-text-tertiary",
282
- children: D("vibecontrols.actions.form.anyAgentHint", "A healthy agent is picked automatically when this action runs.")
283
+ children: O("vibecontrols.actions.form.anyAgentHint", "A healthy agent is picked automatically when this action runs.")
283
284
  })
284
285
  ] })]
285
286
  })
286
287
  ]
287
288
  }),
288
- x.actionType === "SCRIPT" && /* @__PURE__ */ f("div", {
289
+ S.actionType === "SCRIPT" && /* @__PURE__ */ f("div", {
289
290
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50 border border-border-default",
290
291
  children: [
291
292
  /* @__PURE__ */ d("h3", {
292
293
  className: "text-sm font-semibold text-text-primary",
293
- children: D("vibecontrols.actions.form.scriptSettings", "Script Settings")
294
+ children: O("vibecontrols.actions.form.scriptSettings", "Script Settings")
294
295
  }),
295
296
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
296
- className: j,
297
- children: D("vibecontrols.actions.form.script", "Script")
297
+ className: M,
298
+ children: O("vibecontrols.actions.form.script", "Script")
298
299
  }), /* @__PURE__ */ d(n, {
299
300
  "aria-label": "#!/bin/bash\necho 'Hello'",
300
- language: r(x.scriptInterpreter),
301
+ language: r(S.scriptInterpreter),
301
302
  rows: 6,
302
- value: x.script,
303
- onChange: (e) => O("script", e.target.value),
303
+ value: S.script,
304
+ onChange: (e) => k("script", e.target.value),
304
305
  placeholder: "#!/bin/bash\necho 'Hello'",
305
306
  required: !0
306
307
  })] }),
307
308
  /* @__PURE__ */ f("div", {
308
309
  className: "grid grid-cols-2 gap-4",
309
310
  children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
311
+ className: M,
312
+ children: O("vibecontrols.actions.form.interpreter", "Interpreter")
313
+ }), /* @__PURE__ */ f(p, {
310
314
  className: j,
311
- children: D("vibecontrols.actions.form.interpreter", "Interpreter")
312
- }), /* @__PURE__ */ f("select", {
313
- className: A,
314
- value: x.scriptInterpreter,
315
- onChange: (e) => O("scriptInterpreter", e.target.value),
315
+ value: S.scriptInterpreter,
316
+ onChange: (e) => k("scriptInterpreter", e.target.value),
316
317
  children: [
317
318
  /* @__PURE__ */ d("option", {
318
319
  value: "bash",
@@ -329,73 +330,73 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
329
330
  ]
330
331
  })] }), /* @__PURE__ */ f("div", { children: [
331
332
  /* @__PURE__ */ d("label", {
332
- className: j,
333
- children: D("vibecontrols.actions.form.targetAgent", "Target Agent")
333
+ className: M,
334
+ children: O("vibecontrols.actions.form.targetAgent", "Target Agent")
334
335
  }),
335
- /* @__PURE__ */ f("select", {
336
- className: A,
337
- value: x.targetAgentId,
338
- onChange: (e) => O("targetAgentId", e.target.value),
336
+ /* @__PURE__ */ f(p, {
337
+ className: j,
338
+ value: S.targetAgentId,
339
+ onChange: (e) => k("targetAgentId", e.target.value),
339
340
  children: [/* @__PURE__ */ d("option", {
340
341
  value: "",
341
- children: D("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
342
- }), g.map((e) => /* @__PURE__ */ f("option", {
342
+ children: O("vibecontrols.actions.form.anyAvailableAgent", "Any available agent")
343
+ }), _.map((e) => /* @__PURE__ */ f("option", {
343
344
  value: e.id,
344
345
  disabled: !e.isActive,
345
346
  children: [
346
347
  e.name,
347
348
  " ",
348
- e.isActive ? "" : D("vibecontrols.actions.form.offline", "(offline)")
349
+ e.isActive ? "" : O("vibecontrols.actions.form.offline", "(offline)")
349
350
  ]
350
351
  }, e.id))]
351
352
  }),
352
- x.targetAgentId ? /* @__PURE__ */ d(t, {
353
- agentId: x.targetAgentId,
354
- agentName: g.find((e) => e.id === x.targetAgentId)?.name
353
+ S.targetAgentId ? /* @__PURE__ */ d(t, {
354
+ agentId: S.targetAgentId,
355
+ agentName: _.find((e) => e.id === S.targetAgentId)?.name
355
356
  }) : /* @__PURE__ */ d("p", {
356
357
  className: "mt-1 text-xs text-text-tertiary",
357
- children: D("vibecontrols.actions.form.anyAgentHint", "A healthy agent is picked automatically when this action runs.")
358
+ children: O("vibecontrols.actions.form.anyAgentHint", "A healthy agent is picked automatically when this action runs.")
358
359
  })
359
360
  ] })]
360
361
  }),
361
362
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
362
- className: j,
363
- children: D("vibecontrols.actions.form.workingDirectory", "Working Directory")
363
+ className: M,
364
+ children: O("vibecontrols.actions.form.workingDirectory", "Working Directory")
364
365
  }), /* @__PURE__ */ d("input", {
365
366
  "aria-label": "/home/user/project",
366
- className: A,
367
- value: x.workingDirectory,
368
- onChange: (e) => O("workingDirectory", e.target.value),
367
+ className: j,
368
+ value: S.workingDirectory,
369
+ onChange: (e) => k("workingDirectory", e.target.value),
369
370
  placeholder: "/home/user/project"
370
371
  })] })
371
372
  ]
372
373
  }),
373
- x.actionType === "WEBHOOK" && /* @__PURE__ */ f("div", {
374
+ S.actionType === "WEBHOOK" && /* @__PURE__ */ f("div", {
374
375
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50 border border-border-default",
375
376
  children: [
376
377
  /* @__PURE__ */ d("h3", {
377
378
  className: "text-sm font-semibold text-text-primary",
378
- children: D("vibecontrols.actions.form.webhookSettings", "Webhook Settings")
379
+ children: O("vibecontrols.actions.form.webhookSettings", "Webhook Settings")
379
380
  }),
380
381
  /* @__PURE__ */ f("div", {
381
382
  className: "grid grid-cols-[1fr_auto] gap-4",
382
383
  children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
383
- className: j,
384
- children: D("vibecontrols.actions.form.url", "URL")
384
+ className: M,
385
+ children: O("vibecontrols.actions.form.url", "URL")
385
386
  }), /* @__PURE__ */ d("input", {
386
387
  "aria-label": "https://api.example.com/hook",
387
- className: A,
388
- value: x.webhookUrl,
389
- onChange: (e) => O("webhookUrl", e.target.value),
388
+ className: j,
389
+ value: S.webhookUrl,
390
+ onChange: (e) => k("webhookUrl", e.target.value),
390
391
  placeholder: "https://api.example.com/hook",
391
392
  required: !0
392
393
  })] }), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
394
+ className: M,
395
+ children: O("vibecontrols.actions.form.method", "Method")
396
+ }), /* @__PURE__ */ f(p, {
393
397
  className: j,
394
- children: D("vibecontrols.actions.form.method", "Method")
395
- }), /* @__PURE__ */ f("select", {
396
- className: A,
397
- value: x.webhookMethod,
398
- onChange: (e) => O("webhookMethod", e.target.value),
398
+ value: S.webhookMethod,
399
+ onChange: (e) => k("webhookMethod", e.target.value),
399
400
  children: [
400
401
  /* @__PURE__ */ d("option", {
401
402
  value: "GET",
@@ -421,23 +422,23 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
421
422
  })] })]
422
423
  }),
423
424
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
424
- className: j,
425
- children: D("vibecontrols.actions.form.bodyJson", "Body (JSON)")
425
+ className: M,
426
+ children: O("vibecontrols.actions.form.bodyJson", "Body (JSON)")
426
427
  }), /* @__PURE__ */ d(n, {
427
428
  "aria-label": "control",
428
429
  language: "json",
429
430
  rows: 4,
430
- value: x.webhookBody,
431
- onChange: (e) => O("webhookBody", e.target.value),
431
+ value: S.webhookBody,
432
+ onChange: (e) => k("webhookBody", e.target.value),
432
433
  placeholder: "{\"key\": \"value\"}"
433
434
  })] }),
434
435
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
436
+ className: M,
437
+ children: O("vibecontrols.actions.form.authType", "Auth Type")
438
+ }), /* @__PURE__ */ f(p, {
435
439
  className: j,
436
- children: D("vibecontrols.actions.form.authType", "Auth Type")
437
- }), /* @__PURE__ */ f("select", {
438
- className: A,
439
- value: x.webhookAuthType,
440
- onChange: (e) => O("webhookAuthType", e.target.value),
440
+ value: S.webhookAuthType,
441
+ onChange: (e) => k("webhookAuthType", e.target.value),
441
442
  children: [
442
443
  /* @__PURE__ */ d("option", {
443
444
  value: "",
@@ -463,28 +464,28 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
463
464
  className: "grid grid-cols-3 gap-4",
464
465
  children: [
465
466
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
466
- className: j,
467
- children: D("vibecontrols.actions.form.timeout", "Timeout (ms)")
467
+ className: M,
468
+ children: O("vibecontrols.actions.form.timeout", "Timeout (ms)")
468
469
  }), /* @__PURE__ */ d("input", {
469
470
  "aria-label": "control",
470
- className: A,
471
+ className: j,
471
472
  type: "number",
472
473
  min: 1e3,
473
474
  max: 3e5,
474
- value: x.timeoutMs,
475
- onChange: (e) => O("timeoutMs", parseInt(e.target.value) || 3e4)
475
+ value: S.timeoutMs,
476
+ onChange: (e) => k("timeoutMs", parseInt(e.target.value) || 3e4)
476
477
  })] }),
477
478
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("label", {
478
- className: j,
479
- children: D("vibecontrols.actions.form.retryCount", "Retry Count")
479
+ className: M,
480
+ children: O("vibecontrols.actions.form.retryCount", "Retry Count")
480
481
  }), /* @__PURE__ */ d("input", {
481
482
  "aria-label": "control",
482
- className: A,
483
+ className: j,
483
484
  type: "number",
484
485
  min: 0,
485
486
  max: 10,
486
- value: x.retryCount,
487
- onChange: (e) => O("retryCount", parseInt(e.target.value) || 0)
487
+ value: S.retryCount,
488
+ onChange: (e) => k("retryCount", parseInt(e.target.value) || 0)
488
489
  })] }),
489
490
  /* @__PURE__ */ d("div", {
490
491
  className: "flex items-end pb-2",
@@ -493,31 +494,31 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
493
494
  children: [/* @__PURE__ */ d("input", {
494
495
  "aria-label": "control",
495
496
  type: "checkbox",
496
- checked: x.confirmationRequired,
497
- onChange: (e) => O("confirmationRequired", e.target.checked),
497
+ checked: S.confirmationRequired,
498
+ onChange: (e) => k("confirmationRequired", e.target.checked),
498
499
  className: "rounded border-border-default"
499
- }), D("vibecontrols.actions.form.requireConfirmation", "Require confirmation")]
500
+ }), O("vibecontrols.actions.form.requireConfirmation", "Require confirmation")]
500
501
  })
501
502
  })
502
503
  ]
503
504
  }),
504
- b && /* @__PURE__ */ d("div", {
505
+ x && /* @__PURE__ */ d("div", {
505
506
  className: "pt-4 border-t border-border-default",
506
- children: b
507
+ children: x
507
508
  }),
508
509
  /* @__PURE__ */ f("div", {
509
510
  className: "flex items-center justify-end gap-3 pt-4 border-t border-border-default",
510
511
  children: [/* @__PURE__ */ d("button", {
511
512
  type: "button",
512
- onClick: v,
513
- disabled: y,
513
+ onClick: y,
514
+ disabled: b,
514
515
  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",
515
- children: D("vibecontrols.actions.form.cancel", "Cancel")
516
+ children: O("vibecontrols.actions.form.cancel", "Cancel")
516
517
  }), /* @__PURE__ */ d("button", {
517
518
  type: "submit",
518
- disabled: y,
519
+ disabled: b,
519
520
  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",
520
- children: y ? D("vibecontrols.actions.form.saving", "Saving...") : h ? D("vibecontrols.actions.form.updateAction", "Update Action") : D("vibecontrols.actions.form.createAction", "Create Action")
521
+ children: b ? O("vibecontrols.actions.form.saving", "Saving...") : g ? O("vibecontrols.actions.form.updateAction", "Update Action") : O("vibecontrols.actions.form.createAction", "Create Action")
521
522
  })]
522
523
  })
523
524
  ]
@@ -525,4 +526,4 @@ function m({ title: m, initialData: h, agents: g, onSubmit: _, onCancel: v, isLo
525
526
  })] })
526
527
  });
527
528
  }
528
- export { m as ActionForm };
529
+ export { h as ActionForm };
@@ -101,7 +101,7 @@ function g({ actionId: p, workspaceId: g, actionName: _, onClose: v }) {
101
101
  })]
102
102
  }),
103
103
  k && /* @__PURE__ */ l("div", {
104
- className: "px-4 py-2 text-xs text-status-warning-text bg-status-warning-surface/40 border-b border-border-default",
104
+ className: "px-4 py-2 text-xs text-status-warning-text bg-status-warning-bg/40 border-b border-border-default",
105
105
  children: y("vibecontrols.actions.schedules.truncated", "Showing the first 100 schedules across this workspace; some schedules for this action may not appear here.")
106
106
  }),
107
107
  T && A.length === 0 ? /* @__PURE__ */ l("div", {
@@ -95,6 +95,9 @@ var g = [
95
95
  }, y) : /* @__PURE__ */ m("div", {
96
96
  className: "flex-1 flex items-center justify-center h-full",
97
97
  children: /* @__PURE__ */ m(t, {
98
+ kind: "first-use",
99
+ glassIllustration: "messages",
100
+ size: "page",
98
101
  icon: /* @__PURE__ */ m(f, { className: "size-8 text-text-secondary" }),
99
102
  title: S("vibecontrols.agentManager.center.noActiveSession", "No active session"),
100
103
  description: S("vibecontrols.agentManager.center.createSessionDesc", "Create a new session to start interacting with the AI agent."),