@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.
- package/dist/components/actions/ActionForm.js +160 -159
- package/dist/components/actions/ActionSchedulesList.js +1 -1
- package/dist/components/agent-manager/AgentManagerCenter.js +3 -0
- package/dist/components/agent-manager/AgentManagerInputArea.js +168 -163
- package/dist/components/agent-manager/AgentManagerSessionItem.js +51 -46
- package/dist/components/agent-manager/AgentManagerSessionList.js +3 -0
- package/dist/components/agent-manager/BridleConfigPanel.js +79 -78
- package/dist/components/agent-manager/ProfilesPanel.js +61 -53
- package/dist/components/agents/AgentList.js +3 -0
- package/dist/components/agents/AgentMaintenanceTab.js +229 -229
- package/dist/components/agents/PluginUIPanel.js +3 -3
- package/dist/components/agents/backup/AgentBackupTab.js +127 -126
- package/dist/components/ai/AIContextsTab.js +93 -89
- package/dist/components/ai/AIKeysTab.js +3 -0
- package/dist/components/ai/AIPlaygroundTab.js +68 -64
- package/dist/components/ai/AIPromptsTab.js +78 -74
- package/dist/components/ai/AIQueueTab.js +6 -0
- package/dist/components/ai/AISessionsTab.js +56 -52
- package/dist/components/ai/AITasksTab.js +166 -159
- package/dist/components/ai/AITemplatesTab.js +3 -0
- package/dist/components/ai/BridleTab.js +3 -0
- package/dist/components/ai/InstructionFilesManager.js +101 -100
- package/dist/components/analytics/AnalyticsFilterBar.js +15 -14
- package/dist/components/catalog/CatalogForm.js +56 -55
- package/dist/components/docs/DocsEmptyState.js +3 -0
- package/dist/components/docs/DocsSettingsPanel.js +73 -72
- package/dist/components/docs/DocsTabPanel.js +71 -64
- package/dist/components/gitops/GitOpsProviderPicker.js +11 -10
- package/dist/components/gitops/GitOpsSetup.js +57 -56
- package/dist/components/graph/MeshRequestPanel.js +97 -96
- package/dist/components/idp-components/ComponentForm.js +121 -121
- package/dist/components/logs/LogViewer.js +75 -74
- package/dist/components/notes/NoteEditor.js +112 -111
- package/dist/components/notes/NoteList.js +3 -0
- package/dist/components/notes/NotesTabPanel.js +3 -0
- package/dist/components/overview/FleetActivityChart.js +44 -40
- package/dist/components/overview/FleetHealthCard.js +3 -0
- package/dist/components/overview/QuickActionsCard.js +3 -0
- package/dist/components/plugins/FleetRolloutDialog.js +3 -0
- package/dist/components/scorecard/ScorecardPanel.js +312 -311
- package/dist/components/sessions/SessionForm.js +1 -0
- package/dist/components/sessions/SessionList.js +3 -0
- package/dist/components/sessions/SessionPublicLinkPanel.js +67 -66
- package/dist/components/settings/SettingsForm.js +19 -19
- package/dist/components/shared/AgentSelector.js +45 -44
- package/dist/components/shared/EmptyState.d.ts +19 -1
- package/dist/components/shared/EmptyState.js +9 -3
- package/dist/components/shared/EntityVibeLinkControl.js +81 -80
- package/dist/components/shared/LinkToVibePanel.js +27 -26
- package/dist/components/templates/PublishTemplateForm.js +56 -56
- package/dist/components/templates/TemplateVariableEditor.js +30 -29
- package/dist/components/templates/TemplateWizard.js +132 -132
- package/dist/components/tunnels/TunnelCreateWizard.js +58 -58
- package/dist/components/tunnels/TunnelMetricTiles.js +3 -0
- package/dist/components/tunnels/TunnelPublicAccessPanel.js +46 -45
- package/dist/components/vibe/VibeAgentEmptyState.js +3 -0
- package/dist/components/vibe/VibeAgentSwitcher.js +78 -76
- package/dist/components/vibe/VibeLinkedEntitiesPanel.js +3 -0
- package/dist/components/vibe/VibeLlmContextTabPanel.js +186 -182
- package/dist/components/vibecalendar/ScheduleTaskModal.js +96 -95
- package/dist/components/vibedeck/VibeDeckButtonForm.js +143 -142
- package/dist/components/vibedeck/VibeDeckForm.js +55 -54
- package/dist/components/vibedeck/VibeDeckPublicLinkPanel.js +67 -66
- package/dist/components/vibes/VibeList.js +3 -0
- package/dist/hooks/useCachedInitialData.d.ts +2 -2
- package/dist/pages/ActionsPage.js +3 -0
- package/dist/pages/AgentDetailsPage.js +3 -0
- package/dist/pages/AgentGraphPage.js +9 -0
- package/dist/pages/AgentsPage.js +3 -0
- package/dist/pages/CatalogDetailPage.js +9 -0
- package/dist/pages/CatalogPage.js +3 -0
- package/dist/pages/ComponentDetailPage.js +7 -2
- package/dist/pages/ComponentsPage.js +3 -0
- package/dist/pages/EnvTopologyPage.js +55 -52
- package/dist/pages/HealthPage.js +9 -0
- package/dist/pages/LogsPage.js +3 -0
- package/dist/pages/NoteDetailsPage.js +3 -0
- package/dist/pages/OverviewPage.js +12 -0
- package/dist/pages/PluginDetailPage.js +9 -0
- package/dist/pages/PluginsCatalogPage.js +3 -0
- package/dist/pages/SessionDetailsPage.js +4 -1
- package/dist/pages/SessionsPage.js +501 -494
- package/dist/pages/TargetDetailsPage.js +9 -0
- package/dist/pages/TargetsPage.js +525 -522
- package/dist/pages/TemplateDetailPage.js +4 -2
- package/dist/pages/TemplatesPage.js +3 -0
- package/dist/pages/VibeAuditPage.js +9 -0
- package/dist/pages/VibeDeckPage.js +3 -0
- package/dist/pages/VibeDetailsPage.js +431 -416
- package/dist/pages/VibesPage.js +128 -125
- package/dist/pages/WebhooksPage.js +3 -0
- package/dist/pages/ai/AIBuilderPage.js +66 -65
- package/dist/pages/ai/AIPage.js +3 -0
- package/dist/pages/ai/AISessionDetailPage.js +162 -149
- package/dist/pages/ai/AgentManagerPage.js +3 -0
- package/dist/pages/tunnels/AuditTab.js +3 -0
- package/dist/pages/tunnels/DomainsTab.js +3 -0
- package/dist/pages/tunnels/ProvidersTab.js +3 -0
- package/dist/pages/tunnels/SessionsTab.js +3 -0
- package/dist/pages/tunnels/TunnelsTab.js +6 -0
- package/dist/pages/tunnels/UsageTab.js +3 -0
- package/dist/pages/tunnels/tabs/TunnelAuditTab.js +3 -0
- package/dist/pages/tunnels/tabs/TunnelSessionsTab.js +3 -0
- package/dist/pages/tunnels/tabs/TunnelUsageTab.js +3 -0
- package/package.json +3 -2
|
@@ -6,8 +6,9 @@ import { CheckCircle2 as a, Loader2 as o, Plus as s, Star as c, Trash2 as l, X a
|
|
|
6
6
|
import { gql as d } from "@apollo/client";
|
|
7
7
|
import { useMutation as f } from "@apollo/client/react";
|
|
8
8
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
9
|
+
import { useConfirm as h } from "@burdenoff/fe-libs/ui";
|
|
9
10
|
// src/components/agent-manager/ProfilesPanel.tsx
|
|
10
|
-
var
|
|
11
|
+
var g = d`
|
|
11
12
|
mutation CreateVibecontrolsAgentProfile($input: CreateVibecontrolsAgentProfileInput!) {
|
|
12
13
|
createVibecontrolsAgentProfile(input: $input) {
|
|
13
14
|
id
|
|
@@ -16,11 +17,11 @@ var h = d`
|
|
|
16
17
|
status
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
|
-
`,
|
|
20
|
+
`, _ = d`
|
|
20
21
|
mutation DeleteVibecontrolsAgentProfile($id: ID!) {
|
|
21
22
|
deleteVibecontrolsAgentProfile(id: $id)
|
|
22
23
|
}
|
|
23
|
-
`,
|
|
24
|
+
`, v = d`
|
|
24
25
|
mutation SetDefaultVibecontrolsAgentProfile($id: ID!) {
|
|
25
26
|
setDefaultVibecontrolsAgentProfile(id: $id) {
|
|
26
27
|
id
|
|
@@ -28,59 +29,66 @@ var h = d`
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
`;
|
|
31
|
-
function
|
|
32
|
+
function y(e) {
|
|
32
33
|
let t = (e ?? "").toLowerCase();
|
|
33
34
|
return t === "running" || t === "active" || t === "healthy" ? "bg-status-success-text" : t === "stopped" || t === "inactive" ? "bg-text-placeholder" : t === "error" || t === "failed" ? "bg-status-error-text" : "bg-status-warning-text";
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
-
let { profiles:
|
|
37
|
-
|
|
38
|
-
let e =
|
|
36
|
+
function b({ agentId: d }) {
|
|
37
|
+
let b = h(), { profiles: x, active: S, setActive: C, loading: w, refetch: T } = n(d), [E, D] = i(!1), [O, k] = i("default"), [A, j] = i(""), [M, N] = i(null), [P, { loading: F }] = f(g), [I, { loading: L }] = f(_), [R, { loading: z }] = f(v), B = r(async () => {
|
|
38
|
+
N(null);
|
|
39
|
+
let e = O.trim();
|
|
39
40
|
if (!e) {
|
|
40
|
-
|
|
41
|
+
N("Profile name is required");
|
|
41
42
|
return;
|
|
42
43
|
}
|
|
43
|
-
let t =
|
|
44
|
-
if (
|
|
44
|
+
let t = A.trim() ? Number(A.trim()) : null;
|
|
45
|
+
if (A.trim() && (Number.isNaN(t) || t === null || t <= 0)) N("Port must be a positive number");
|
|
45
46
|
else {
|
|
46
47
|
try {
|
|
47
|
-
await
|
|
48
|
+
await P({ variables: { input: {
|
|
48
49
|
agentId: d,
|
|
49
50
|
name: e,
|
|
50
51
|
port: t
|
|
51
52
|
} } });
|
|
52
53
|
} catch (e) {
|
|
53
|
-
|
|
54
|
+
N(e instanceof Error ? e.message : "Failed to create profile");
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
+
D(!1), k("default"), j(""), await T();
|
|
57
58
|
}
|
|
58
59
|
}, [
|
|
59
60
|
d,
|
|
60
|
-
|
|
61
|
-
E,
|
|
61
|
+
P,
|
|
62
62
|
O,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
A,
|
|
64
|
+
T
|
|
65
|
+
]), V = r(async (e) => {
|
|
66
|
+
if (N(null), await b({
|
|
67
|
+
title: `Delete profile "${e.name}"? This cannot be undone.`,
|
|
68
|
+
tone: "danger"
|
|
69
|
+
})) {
|
|
66
70
|
try {
|
|
67
|
-
await
|
|
71
|
+
await I({ variables: { id: e.id } });
|
|
68
72
|
} catch (e) {
|
|
69
|
-
|
|
73
|
+
N(e instanceof Error ? e.message : "Failed to delete profile");
|
|
70
74
|
return;
|
|
71
75
|
}
|
|
72
|
-
await
|
|
76
|
+
await T();
|
|
73
77
|
}
|
|
74
|
-
}, [
|
|
75
|
-
|
|
78
|
+
}, [
|
|
79
|
+
b,
|
|
80
|
+
I,
|
|
81
|
+
T
|
|
82
|
+
]), H = r(async (e) => {
|
|
83
|
+
N(null);
|
|
76
84
|
try {
|
|
77
|
-
await
|
|
85
|
+
await R({ variables: { id: e.id } });
|
|
78
86
|
} catch (e) {
|
|
79
|
-
|
|
87
|
+
N(e instanceof Error ? e.message : "Failed to set default profile");
|
|
80
88
|
return;
|
|
81
89
|
}
|
|
82
|
-
await
|
|
83
|
-
}, [
|
|
90
|
+
await T();
|
|
91
|
+
}, [R, T]), U = F || L || z;
|
|
84
92
|
return /* @__PURE__ */ m(e, { children: [
|
|
85
93
|
/* @__PURE__ */ m("div", {
|
|
86
94
|
className: "p-4 border-b border-border-default flex items-center justify-between",
|
|
@@ -94,29 +102,29 @@ function y({ agentId: d }) {
|
|
|
94
102
|
" ",
|
|
95
103
|
/* @__PURE__ */ p("code", {
|
|
96
104
|
className: "font-mono text-text-primary",
|
|
97
|
-
children:
|
|
105
|
+
children: S
|
|
98
106
|
})
|
|
99
107
|
]
|
|
100
108
|
})] }), /* @__PURE__ */ m("div", {
|
|
101
109
|
className: "flex items-center gap-2",
|
|
102
110
|
children: [/* @__PURE__ */ p("button", {
|
|
103
111
|
type: "button",
|
|
104
|
-
onClick: () => void
|
|
112
|
+
onClick: () => void T(),
|
|
105
113
|
className: "px-2 py-1 text-xs text-text-secondary hover:text-text-primary",
|
|
106
114
|
children: "Refresh"
|
|
107
115
|
}), /* @__PURE__ */ m("button", {
|
|
108
116
|
type: "button",
|
|
109
|
-
onClick: () =>
|
|
117
|
+
onClick: () => D((e) => !e),
|
|
110
118
|
className: "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm bg-action-primary-bg text-action-primary-text rounded-md hover:opacity-90",
|
|
111
119
|
children: [/* @__PURE__ */ p(s, { className: "size-4" }), "New profile"]
|
|
112
120
|
})]
|
|
113
121
|
})]
|
|
114
122
|
}),
|
|
115
|
-
|
|
123
|
+
M && /* @__PURE__ */ p("div", {
|
|
116
124
|
className: "px-4 py-2 bg-status-error-bg-subtle border-b border-status-error-border text-sm text-status-error-text",
|
|
117
|
-
children:
|
|
125
|
+
children: M
|
|
118
126
|
}),
|
|
119
|
-
|
|
127
|
+
E && /* @__PURE__ */ m("div", {
|
|
120
128
|
className: "p-4 border-b border-border-default bg-bg-sunken/40 space-y-3",
|
|
121
129
|
children: [/* @__PURE__ */ m("div", {
|
|
122
130
|
className: "grid grid-cols-2 gap-3",
|
|
@@ -128,8 +136,8 @@ function y({ agentId: d }) {
|
|
|
128
136
|
id: "profilespanel-2",
|
|
129
137
|
"aria-label": "default",
|
|
130
138
|
type: "text",
|
|
131
|
-
value:
|
|
132
|
-
onChange: (e) =>
|
|
139
|
+
value: O,
|
|
140
|
+
onChange: (e) => k(e.target.value),
|
|
133
141
|
placeholder: "default",
|
|
134
142
|
className: "w-full px-3 py-1.5 text-sm bg-bg-surface border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-action-primary-bg font-mono"
|
|
135
143
|
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
@@ -140,8 +148,8 @@ function y({ agentId: d }) {
|
|
|
140
148
|
id: "profilespanel-1",
|
|
141
149
|
"aria-label": "auto",
|
|
142
150
|
type: "number",
|
|
143
|
-
value:
|
|
144
|
-
onChange: (e) =>
|
|
151
|
+
value: A,
|
|
152
|
+
onChange: (e) => j(e.target.value),
|
|
145
153
|
placeholder: "auto",
|
|
146
154
|
className: "w-full px-3 py-1.5 text-sm bg-bg-surface border border-border-default rounded-md text-text-primary placeholder:text-text-placeholder focus:outline-none focus:ring-2 focus:ring-action-primary-bg font-mono"
|
|
147
155
|
})] })]
|
|
@@ -149,24 +157,24 @@ function y({ agentId: d }) {
|
|
|
149
157
|
className: "flex items-center gap-2",
|
|
150
158
|
children: [/* @__PURE__ */ m("button", {
|
|
151
159
|
type: "button",
|
|
152
|
-
disabled:
|
|
153
|
-
onClick: () => void
|
|
160
|
+
disabled: F,
|
|
161
|
+
onClick: () => void B(),
|
|
154
162
|
className: "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm bg-action-primary-bg text-action-primary-text rounded-md hover:opacity-90 disabled:opacity-50",
|
|
155
|
-
children: [
|
|
163
|
+
children: [F ? /* @__PURE__ */ p(o, { className: "size-3.5 animate-spin" }) : /* @__PURE__ */ p(a, { className: "size-3.5" }), "Create"]
|
|
156
164
|
}), /* @__PURE__ */ m("button", {
|
|
157
165
|
type: "button",
|
|
158
166
|
onClick: () => {
|
|
159
|
-
|
|
167
|
+
D(!1), N(null);
|
|
160
168
|
},
|
|
161
169
|
className: "inline-flex items-center gap-1 px-3 py-1.5 text-sm text-text-secondary hover:text-text-primary",
|
|
162
170
|
children: [/* @__PURE__ */ p(u, { className: "size-3.5" }), "Cancel"]
|
|
163
171
|
})]
|
|
164
172
|
})]
|
|
165
173
|
}),
|
|
166
|
-
|
|
174
|
+
w && x.length === 0 ? /* @__PURE__ */ m("div", {
|
|
167
175
|
className: "p-6 text-center text-text-secondary",
|
|
168
176
|
children: [/* @__PURE__ */ p(o, { className: "size-5 mx-auto mb-2 animate-spin" }), "Loading profiles…"]
|
|
169
|
-
}) :
|
|
177
|
+
}) : x.length === 0 ? /* @__PURE__ */ m("div", {
|
|
170
178
|
className: "p-6 text-center text-text-secondary",
|
|
171
179
|
children: [/* @__PURE__ */ p("p", { children: "No profiles configured yet." }), /* @__PURE__ */ m("p", {
|
|
172
180
|
className: "text-xs mt-1",
|
|
@@ -182,14 +190,14 @@ function y({ agentId: d }) {
|
|
|
182
190
|
})]
|
|
183
191
|
}) : /* @__PURE__ */ p("div", {
|
|
184
192
|
className: "divide-y divide-border-default",
|
|
185
|
-
children:
|
|
186
|
-
let n = e.name ===
|
|
193
|
+
children: x.map((e) => {
|
|
194
|
+
let n = e.name === S, r = t(e);
|
|
187
195
|
return /* @__PURE__ */ m("div", {
|
|
188
196
|
className: `p-4 flex items-center justify-between gap-4 ${n ? "bg-[var(--color-accent-soft)]" : ""}`,
|
|
189
197
|
children: [/* @__PURE__ */ m("div", {
|
|
190
198
|
className: "flex items-center gap-3 min-w-0",
|
|
191
199
|
children: [/* @__PURE__ */ p("span", {
|
|
192
|
-
className: `size-2 rounded-full flex-shrink-0 ${
|
|
200
|
+
className: `size-2 rounded-full flex-shrink-0 ${y(e.status)}`,
|
|
193
201
|
"aria-hidden": !0
|
|
194
202
|
}), /* @__PURE__ */ m("div", {
|
|
195
203
|
className: "min-w-0",
|
|
@@ -225,22 +233,22 @@ function y({ agentId: d }) {
|
|
|
225
233
|
type: "button",
|
|
226
234
|
disabled: !r,
|
|
227
235
|
title: r ? "Make this the active profile" : "This profile hasn't been started yet (awaiting config), so it can't be the active profile.",
|
|
228
|
-
onClick: () =>
|
|
236
|
+
onClick: () => C(e.name),
|
|
229
237
|
className: "px-2 py-1 text-xs text-text-secondary hover:text-text-primary border border-border-default rounded disabled:opacity-50 disabled:cursor-not-allowed",
|
|
230
238
|
children: "Use"
|
|
231
239
|
}),
|
|
232
240
|
!e.isDefault && /* @__PURE__ */ m("button", {
|
|
233
241
|
type: "button",
|
|
234
|
-
disabled:
|
|
235
|
-
onClick: () => void
|
|
242
|
+
disabled: U,
|
|
243
|
+
onClick: () => void H(e),
|
|
236
244
|
className: "inline-flex items-center gap-1 px-2 py-1 text-xs text-text-secondary hover:text-text-primary border border-border-default rounded disabled:opacity-50",
|
|
237
245
|
children: [/* @__PURE__ */ p(c, { className: "size-3" }), "Set default"]
|
|
238
246
|
}),
|
|
239
247
|
/* @__PURE__ */ m("button", {
|
|
240
248
|
type: "button",
|
|
241
|
-
disabled:
|
|
249
|
+
disabled: U || e.isDefault,
|
|
242
250
|
title: e.isDefault ? "Cannot delete the default profile" : "Delete",
|
|
243
|
-
onClick: () => void
|
|
251
|
+
onClick: () => void V(e),
|
|
244
252
|
className: "inline-flex items-center gap-1 px-2 py-1 text-xs text-status-error-text hover:bg-status-error-bg-subtle border border-status-error-border rounded disabled:opacity-50",
|
|
245
253
|
children: [/* @__PURE__ */ p(l, { className: "size-3" }), "Delete"]
|
|
246
254
|
})
|
|
@@ -251,4 +259,4 @@ function y({ agentId: d }) {
|
|
|
251
259
|
})
|
|
252
260
|
] });
|
|
253
261
|
}
|
|
254
|
-
export {
|
|
262
|
+
export { b as ProfilesPanel };
|
|
@@ -447,6 +447,9 @@ function C(e) {
|
|
|
447
447
|
}), n[5] = ee, n[6] = y, n[7] = a) : a = n[7];
|
|
448
448
|
let o;
|
|
449
449
|
return n[8] !== r || n[9] !== i || n[10] !== a ? (o = /* @__PURE__ */ m(t, {
|
|
450
|
+
kind: "first-use",
|
|
451
|
+
glassIllustration: "servers",
|
|
452
|
+
size: "page",
|
|
450
453
|
icon: e,
|
|
451
454
|
title: r,
|
|
452
455
|
description: i,
|