@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
|
@@ -9,29 +9,34 @@ import { useState as o } from "react";
|
|
|
9
9
|
import { Pin as s, Tag as c, Trash2 as l } from "lucide-react";
|
|
10
10
|
import { motion as u } from "framer-motion";
|
|
11
11
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
12
|
+
import { usePrompt as p } from "@burdenoff/fe-libs/ui";
|
|
12
13
|
// src/components/agent-manager/AgentManagerSessionItem.tsx
|
|
13
|
-
var
|
|
14
|
+
var m = {
|
|
14
15
|
active: "bg-status-success-bg",
|
|
15
16
|
idle: "bg-status-warning-bg",
|
|
16
17
|
error: "bg-status-error-bg",
|
|
17
18
|
terminated: "bg-border-default",
|
|
18
19
|
processing: "bg-status-info-bg"
|
|
19
20
|
};
|
|
20
|
-
function
|
|
21
|
-
let [
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
e.stopPropagation(),
|
|
25
|
-
},
|
|
26
|
-
e.stopPropagation(),
|
|
27
|
-
},
|
|
21
|
+
function h({ session: h, agent: g, isActive: _, isSelected: v, onDelete: y }) {
|
|
22
|
+
let b = p(), [x, S] = o(!1), C = i(), w = a(), T = t((e) => e.openSession), E = t((e) => e.hydrateSessionConfig), D = t((e) => e.pinTab), O = t((e) => e.toggleSessionSelection), k = t((e) => e.tabs).find((e) => e.sessionId === h.id)?.pinned ?? !1, A = m[h.status] ?? "bg-border-default", j = h.config?.tags || [], M = () => {
|
|
23
|
+
E(h.id, h), T(h.id, h.name), w(`/ai/sessions/${h.id}`);
|
|
24
|
+
}, N = (e) => {
|
|
25
|
+
e.stopPropagation(), E(h.id, h), T(h.id, h.name), D(h.id);
|
|
26
|
+
}, P = (e) => {
|
|
27
|
+
e.stopPropagation(), y(h.id);
|
|
28
|
+
}, F = async (t) => {
|
|
28
29
|
t.stopPropagation();
|
|
29
|
-
let n =
|
|
30
|
+
let n = j.join(", "), r = await b({
|
|
31
|
+
title: "Enter tags (comma-separated):",
|
|
32
|
+
defaultValue: n,
|
|
33
|
+
required: !1
|
|
34
|
+
});
|
|
30
35
|
if (r === null) return;
|
|
31
36
|
let i = r.split(",").map((e) => e.trim()).filter(Boolean);
|
|
32
|
-
e(
|
|
33
|
-
},
|
|
34
|
-
e.stopPropagation(),
|
|
37
|
+
e(g, h.id, { tags: i });
|
|
38
|
+
}, I = (e) => {
|
|
39
|
+
e.stopPropagation(), O(h.id);
|
|
35
40
|
};
|
|
36
41
|
return /* @__PURE__ */ f(u.div, {
|
|
37
42
|
layout: !0,
|
|
@@ -48,33 +53,33 @@ function m({ session: m, agent: h, isActive: g, isSelected: _, onDelete: v }) {
|
|
|
48
53
|
y: -4
|
|
49
54
|
},
|
|
50
55
|
transition: { duration: .15 },
|
|
51
|
-
onMouseEnter: () =>
|
|
52
|
-
onMouseLeave: () =>
|
|
53
|
-
onClick:
|
|
54
|
-
className: `group flex items-center gap-2 px-3 py-2 cursor-pointer transition-colors ${
|
|
56
|
+
onMouseEnter: () => S(!0),
|
|
57
|
+
onMouseLeave: () => S(!1),
|
|
58
|
+
onClick: M,
|
|
59
|
+
className: `group flex items-center gap-2 px-3 py-2 cursor-pointer transition-colors ${_ ? "bg-bg-elevated border-l-2 border-action-primary-bg" : "hover:bg-bg-sunken border-l-2 border-transparent"}`,
|
|
55
60
|
role: "button",
|
|
56
61
|
tabIndex: 0,
|
|
57
62
|
onKeyDown: (e) => {
|
|
58
|
-
(e.key === "Enter" || e.key === " ") &&
|
|
63
|
+
(e.key === "Enter" || e.key === " ") && M();
|
|
59
64
|
},
|
|
60
65
|
children: [
|
|
61
66
|
/* @__PURE__ */ d("div", {
|
|
62
67
|
role: "button",
|
|
63
68
|
tabIndex: 0,
|
|
64
69
|
onKeyDown: (e) => {
|
|
65
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(),
|
|
70
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), I());
|
|
66
71
|
},
|
|
67
|
-
className: `flex-shrink-0 transition-opacity ${
|
|
68
|
-
onClick:
|
|
72
|
+
className: `flex-shrink-0 transition-opacity ${x || v ? "opacity-100" : "opacity-0"}`,
|
|
73
|
+
onClick: I,
|
|
69
74
|
children: /* @__PURE__ */ d(n, {
|
|
70
|
-
checked:
|
|
71
|
-
onChange: () =>
|
|
72
|
-
ariaLabel: `Select session ${
|
|
75
|
+
checked: v,
|
|
76
|
+
onChange: () => O(h.id),
|
|
77
|
+
ariaLabel: `Select session ${h.name}`
|
|
73
78
|
})
|
|
74
79
|
}),
|
|
75
80
|
/* @__PURE__ */ d("span", {
|
|
76
|
-
className: `flex-shrink-0 size-2 rounded-full ${
|
|
77
|
-
title:
|
|
81
|
+
className: `flex-shrink-0 size-2 rounded-full ${A}`,
|
|
82
|
+
title: h.status
|
|
78
83
|
}),
|
|
79
84
|
/* @__PURE__ */ f("div", {
|
|
80
85
|
className: "flex-1 min-w-0",
|
|
@@ -83,60 +88,60 @@ function m({ session: m, agent: h, isActive: g, isSelected: _, onDelete: v }) {
|
|
|
83
88
|
className: "flex items-center gap-1.5",
|
|
84
89
|
children: [/* @__PURE__ */ d("span", {
|
|
85
90
|
className: "text-sm text-text-primary truncate font-medium",
|
|
86
|
-
children:
|
|
87
|
-
}),
|
|
91
|
+
children: h.name
|
|
92
|
+
}), k && /* @__PURE__ */ d(s, { className: "size-3 text-text-secondary flex-shrink-0" })]
|
|
88
93
|
}),
|
|
89
94
|
/* @__PURE__ */ f("div", {
|
|
90
95
|
className: "flex items-center gap-1.5 mt-0.5",
|
|
91
96
|
children: [
|
|
92
97
|
/* @__PURE__ */ d("span", {
|
|
93
98
|
className: "text-xs px-1.5 py-0.5 rounded bg-bg-sunken text-text-secondary font-mono",
|
|
94
|
-
children:
|
|
99
|
+
children: h.agentType
|
|
95
100
|
}),
|
|
96
|
-
typeof
|
|
101
|
+
typeof h.config?.mode == "string" && /* @__PURE__ */ d("span", {
|
|
97
102
|
className: "text-[10px] px-1 py-0.5 rounded bg-bg-elevated text-text-muted uppercase font-mono",
|
|
98
|
-
children:
|
|
103
|
+
children: h.config.mode
|
|
99
104
|
}),
|
|
100
|
-
|
|
105
|
+
h.createdAt && /* @__PURE__ */ d("span", {
|
|
101
106
|
className: "text-xs text-text-tertiary truncate",
|
|
102
|
-
children: r(
|
|
107
|
+
children: r(h.createdAt)
|
|
103
108
|
})
|
|
104
109
|
]
|
|
105
110
|
}),
|
|
106
|
-
|
|
111
|
+
j.length > 0 && /* @__PURE__ */ f("div", {
|
|
107
112
|
className: "flex gap-0.5 mt-0.5 flex-wrap",
|
|
108
|
-
children: [
|
|
113
|
+
children: [j.slice(0, 3).map((e) => /* @__PURE__ */ d("span", {
|
|
109
114
|
className: "px-1 py-0.5 text-[10px] bg-bg-elevated text-text-tertiary rounded",
|
|
110
115
|
children: e
|
|
111
|
-
}, e)),
|
|
116
|
+
}, e)), j.length > 3 && /* @__PURE__ */ f("span", {
|
|
112
117
|
className: "text-[10px] text-text-muted",
|
|
113
|
-
children: ["+",
|
|
118
|
+
children: ["+", j.length - 3]
|
|
114
119
|
})]
|
|
115
120
|
})
|
|
116
121
|
]
|
|
117
122
|
}),
|
|
118
|
-
|
|
123
|
+
x && /* @__PURE__ */ f("div", {
|
|
119
124
|
className: "flex items-center gap-0.5 flex-shrink-0",
|
|
120
125
|
children: [
|
|
121
126
|
/* @__PURE__ */ d("button", {
|
|
122
127
|
type: "button",
|
|
123
|
-
onClick:
|
|
124
|
-
className: `p-1 rounded transition-colors ${
|
|
125
|
-
title:
|
|
128
|
+
onClick: N,
|
|
129
|
+
className: `p-1 rounded transition-colors ${k ? "text-action-primary-bg hover:bg-bg-elevated" : "text-text-secondary hover:text-text-primary hover:bg-bg-elevated"}`,
|
|
130
|
+
title: k ? C("vibecontrols.agentManager.sessionItem.unpin", "Unpin") : C("vibecontrols.agentManager.sessionItem.pin", "Pin"),
|
|
126
131
|
children: /* @__PURE__ */ d(s, { className: "size-3.5" })
|
|
127
132
|
}),
|
|
128
133
|
/* @__PURE__ */ d("button", {
|
|
129
134
|
type: "button",
|
|
130
|
-
onClick:
|
|
135
|
+
onClick: F,
|
|
131
136
|
className: "p-1 rounded text-text-secondary hover:text-text-primary hover:bg-bg-elevated transition-colors",
|
|
132
|
-
title:
|
|
137
|
+
title: C("vibecontrols.agentManager.sessionItem.editTags", "Edit tags"),
|
|
133
138
|
children: /* @__PURE__ */ d(c, { className: "size-3.5" })
|
|
134
139
|
}),
|
|
135
140
|
/* @__PURE__ */ d("button", {
|
|
136
141
|
type: "button",
|
|
137
|
-
onClick:
|
|
142
|
+
onClick: P,
|
|
138
143
|
className: "p-1 rounded text-text-secondary hover:text-status-error-text hover:bg-bg-elevated transition-colors",
|
|
139
|
-
title:
|
|
144
|
+
title: C("vibecontrols.agentManager.sessionItem.deleteSession", "Delete session"),
|
|
140
145
|
children: /* @__PURE__ */ d(l, { className: "size-3.5" })
|
|
141
146
|
})
|
|
142
147
|
]
|
|
@@ -144,4 +149,4 @@ function m({ session: m, agent: h, isActive: g, isSelected: _, onDelete: v }) {
|
|
|
144
149
|
]
|
|
145
150
|
});
|
|
146
151
|
}
|
|
147
|
-
export {
|
|
152
|
+
export { h as AgentManagerSessionItem };
|
|
@@ -162,6 +162,9 @@ function b({ agent: b, onDeleteSession: x, filterTags: S, dateFrom: C, dateTo: w
|
|
|
162
162
|
return Q.length === 0 ? /* @__PURE__ */ g("div", {
|
|
163
163
|
className: "p-4",
|
|
164
164
|
children: /* @__PURE__ */ g(t, {
|
|
165
|
+
kind: W ? "no-results" : "first-use",
|
|
166
|
+
glassIllustration: "messages",
|
|
167
|
+
size: "panel",
|
|
165
168
|
title: W ? K("vibecontrols.agentManager.sessionList.noMatchingSessions", "No matching sessions") : K("vibecontrols.agentManager.sessionList.noSessionsYet", "No sessions yet"),
|
|
166
169
|
description: W ? K("vibecontrols.agentManager.sessionList.tryDifferentSearch", "Try a different search query") : K("vibecontrols.agentManager.sessionList.createToGetStarted", "Create a new session to get started")
|
|
167
170
|
})
|
|
@@ -2,8 +2,9 @@ import { useTr as e } from "../../shared/hooks/useTr.js";
|
|
|
2
2
|
import { useCallback as t, useState as n } from "react";
|
|
3
3
|
import { ArrowLeftRight as r, Check as i, Copy as a, Download as o, Plus as s, RefreshCw as c, Settings as l, Terminal as u, Trash2 as d } from "lucide-react";
|
|
4
4
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
5
|
+
import { ThemedSelect as h } from "@burdenoff/fe-libs/ui";
|
|
5
6
|
// src/components/agent-manager/BridleConfigPanel.tsx
|
|
6
|
-
var
|
|
7
|
+
var g = [
|
|
7
8
|
{
|
|
8
9
|
name: "Claude Code",
|
|
9
10
|
id: "claude",
|
|
@@ -41,12 +42,12 @@ var h = [
|
|
|
41
42
|
color: "bg-status-error-bg-subtle text-status-error-text"
|
|
42
43
|
}
|
|
43
44
|
];
|
|
44
|
-
function
|
|
45
|
-
let
|
|
46
|
-
navigator.clipboard.writeText(e),
|
|
47
|
-
}, []),
|
|
48
|
-
|
|
49
|
-
},
|
|
45
|
+
function _({ agent: _ }) {
|
|
46
|
+
let v = e(), [y, b] = n("overview"), [x, S] = n("claude"), [C, w] = n(""), [T, E] = n(""), [D, O] = n(""), [k, A] = n(""), [j, M] = n(""), [N, P] = n(null), F = t((e) => {
|
|
47
|
+
navigator.clipboard.writeText(e), P(e), setTimeout(() => P(null), 2e3);
|
|
48
|
+
}, []), I = (e) => {
|
|
49
|
+
M(`$ ${e}\n\nRun this command in your terminal to execute.`), F(e);
|
|
50
|
+
}, L = [
|
|
50
51
|
{
|
|
51
52
|
key: "overview",
|
|
52
53
|
label: "Overview",
|
|
@@ -75,35 +76,35 @@ function g({ agent: g }) {
|
|
|
75
76
|
className: "flex items-center justify-between px-4 py-3 border-b border-border-default flex-shrink-0",
|
|
76
77
|
children: /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("h3", {
|
|
77
78
|
className: "text-sm font-semibold text-text-primary flex items-center gap-2",
|
|
78
|
-
children: [/* @__PURE__ */ p(u, { className: "size-4" }),
|
|
79
|
+
children: [/* @__PURE__ */ p(u, { className: "size-4" }), v("vibecontrols.agentManager.bridle.title", "Bridle — Cross-Harness Config Manager")]
|
|
79
80
|
}), /* @__PURE__ */ p("p", {
|
|
80
81
|
className: "text-[11px] text-text-secondary mt-0.5",
|
|
81
|
-
children:
|
|
82
|
+
children: v("vibecontrols.agentManager.bridle.description", "Manage profiles, skills, and configurations across all AI coding assistants")
|
|
82
83
|
})] })
|
|
83
84
|
}),
|
|
84
85
|
/* @__PURE__ */ p("div", {
|
|
85
86
|
className: "flex gap-1 px-4 py-2 border-b border-border-default flex-shrink-0",
|
|
86
|
-
children:
|
|
87
|
+
children: L.map(({ key: e, label: t, icon: n }) => /* @__PURE__ */ m("button", {
|
|
87
88
|
type: "button",
|
|
88
|
-
onClick: () =>
|
|
89
|
-
className: `flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded transition-colors ${
|
|
89
|
+
onClick: () => b(e),
|
|
90
|
+
className: `flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded transition-colors ${y === e ? "bg-[var(--color-accent-soft)] text-text-primary" : "text-text-secondary hover:text-text-primary hover:bg-bg-elevated"}`,
|
|
90
91
|
children: [/* @__PURE__ */ p(n, { className: "size-3.5" }), t]
|
|
91
92
|
}, e))
|
|
92
93
|
}),
|
|
93
94
|
/* @__PURE__ */ m("div", {
|
|
94
95
|
className: "flex-1 overflow-y-auto p-4",
|
|
95
96
|
children: [
|
|
96
|
-
|
|
97
|
+
y === "overview" && /* @__PURE__ */ m("div", {
|
|
97
98
|
className: "space-y-4",
|
|
98
99
|
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
99
100
|
className: "text-xs font-semibold text-text-secondary uppercase tracking-wider mb-2",
|
|
100
|
-
children:
|
|
101
|
+
children: v("vibecontrols.agentManager.bridle.supportedHarnesses", "Supported Harnesses")
|
|
101
102
|
}), /* @__PURE__ */ p("div", {
|
|
102
103
|
className: "grid grid-cols-2 sm:grid-cols-3 gap-2",
|
|
103
|
-
children:
|
|
104
|
+
children: g.map((e) => /* @__PURE__ */ m("button", {
|
|
104
105
|
type: "button",
|
|
105
106
|
onClick: () => {
|
|
106
|
-
|
|
107
|
+
S(e.id), b("profiles");
|
|
107
108
|
},
|
|
108
109
|
className: "px-3 py-2.5 rounded-md border border-border-default bg-bg-surface hover:bg-bg-elevated transition-colors text-left",
|
|
109
110
|
children: [/* @__PURE__ */ p("span", {
|
|
@@ -116,43 +117,43 @@ function g({ agent: g }) {
|
|
|
116
117
|
}, e.id))
|
|
117
118
|
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
118
119
|
className: "text-xs font-semibold text-text-secondary uppercase tracking-wider mb-2",
|
|
119
|
-
children:
|
|
120
|
+
children: v("vibecontrols.agentManager.bridle.quickActions", "Quick Actions")
|
|
120
121
|
}), /* @__PURE__ */ m("div", {
|
|
121
122
|
className: "flex flex-wrap gap-2",
|
|
122
123
|
children: [/* @__PURE__ */ m("button", {
|
|
123
124
|
type: "button",
|
|
124
|
-
onClick: () =>
|
|
125
|
+
onClick: () => I("bridle status"),
|
|
125
126
|
className: "px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated transition-colors flex items-center gap-1.5",
|
|
126
127
|
children: [
|
|
127
128
|
/* @__PURE__ */ p(c, { className: "size-3" }),
|
|
128
129
|
" ",
|
|
129
|
-
|
|
130
|
+
v("vibecontrols.agentManager.bridle.showStatus", "Show Status")
|
|
130
131
|
]
|
|
131
132
|
}), /* @__PURE__ */ m("button", {
|
|
132
133
|
type: "button",
|
|
133
|
-
onClick: () =>
|
|
134
|
+
onClick: () => I("bridle init"),
|
|
134
135
|
className: "px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated transition-colors flex items-center gap-1.5",
|
|
135
136
|
children: [
|
|
136
137
|
/* @__PURE__ */ p(s, { className: "size-3" }),
|
|
137
138
|
" ",
|
|
138
|
-
|
|
139
|
+
v("vibecontrols.agentManager.bridle.initialize", "Initialize")
|
|
139
140
|
]
|
|
140
141
|
})]
|
|
141
142
|
})] })]
|
|
142
143
|
}),
|
|
143
|
-
|
|
144
|
+
y === "profiles" && /* @__PURE__ */ m("div", {
|
|
144
145
|
className: "space-y-4",
|
|
145
146
|
children: [
|
|
146
147
|
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
147
148
|
htmlFor: "bridleconfigpanel-5",
|
|
148
149
|
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
149
150
|
children: "Harness"
|
|
150
|
-
}), /* @__PURE__ */ p(
|
|
151
|
+
}), /* @__PURE__ */ p(h, {
|
|
151
152
|
id: "bridleconfigpanel-5",
|
|
152
|
-
value:
|
|
153
|
-
onChange: (e) =>
|
|
153
|
+
value: x,
|
|
154
|
+
onChange: (e) => S(e.target.value),
|
|
154
155
|
className: "w-full px-3 py-2 text-sm rounded border border-border-default bg-bg-surface text-text-primary",
|
|
155
|
-
children:
|
|
156
|
+
children: g.map((e) => /* @__PURE__ */ p("option", {
|
|
156
157
|
value: e.id,
|
|
157
158
|
children: e.name
|
|
158
159
|
}, e.id))
|
|
@@ -161,29 +162,29 @@ function g({ agent: g }) {
|
|
|
161
162
|
className: "grid grid-cols-2 gap-2",
|
|
162
163
|
children: [/* @__PURE__ */ p("button", {
|
|
163
164
|
type: "button",
|
|
164
|
-
onClick: () =>
|
|
165
|
+
onClick: () => I(`bridle profile list ${x}`),
|
|
165
166
|
className: "px-3 py-2 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated transition-colors text-left",
|
|
166
|
-
children:
|
|
167
|
+
children: v("vibecontrols.agentManager.bridle.listProfiles", "List Profiles")
|
|
167
168
|
}), /* @__PURE__ */ p("button", {
|
|
168
169
|
type: "button",
|
|
169
|
-
onClick: () =>
|
|
170
|
+
onClick: () => I(`bridle profile show ${x} ${C || "<name>"}`),
|
|
170
171
|
className: "px-3 py-2 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated transition-colors text-left",
|
|
171
|
-
children:
|
|
172
|
+
children: v("vibecontrols.agentManager.bridle.showProfile", "Show Profile")
|
|
172
173
|
})]
|
|
173
174
|
}),
|
|
174
175
|
/* @__PURE__ */ m("div", { children: [
|
|
175
176
|
/* @__PURE__ */ p("label", {
|
|
176
177
|
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
177
|
-
children:
|
|
178
|
+
children: v("vibecontrols.agentManager.bridle.profileName", "Profile Name")
|
|
178
179
|
}),
|
|
179
180
|
/* @__PURE__ */ p("div", {
|
|
180
181
|
className: "flex gap-2",
|
|
181
182
|
children: /* @__PURE__ */ p("input", {
|
|
182
|
-
"aria-label":
|
|
183
|
+
"aria-label": v("vibecontrols.agentManager.bridle.profileNameAriaLabel", "Profile name"),
|
|
183
184
|
type: "text",
|
|
184
|
-
value:
|
|
185
|
-
onChange: (e) =>
|
|
186
|
-
placeholder:
|
|
185
|
+
value: C,
|
|
186
|
+
onChange: (e) => w(e.target.value),
|
|
187
|
+
placeholder: v("vibecontrols.agentManager.bridle.profileNamePlaceholder", "e.g., work, personal, minimal"),
|
|
187
188
|
className: "flex-1 px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface text-text-primary placeholder:text-text-tertiary focus:outline-none focus:border-border-strong"
|
|
188
189
|
})
|
|
189
190
|
}),
|
|
@@ -192,29 +193,29 @@ function g({ agent: g }) {
|
|
|
192
193
|
children: [
|
|
193
194
|
/* @__PURE__ */ m("button", {
|
|
194
195
|
type: "button",
|
|
195
|
-
onClick: () =>
|
|
196
|
-
disabled: !
|
|
196
|
+
onClick: () => I(`bridle profile create ${x} ${C}`),
|
|
197
|
+
disabled: !C,
|
|
197
198
|
className: "px-3 py-1.5 text-xs rounded bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg-hover disabled:opacity-50 flex items-center gap-1",
|
|
198
199
|
children: [/* @__PURE__ */ p(s, { className: "size-3" }), " Create"]
|
|
199
200
|
}),
|
|
200
201
|
/* @__PURE__ */ m("button", {
|
|
201
202
|
type: "button",
|
|
202
|
-
onClick: () =>
|
|
203
|
-
disabled: !
|
|
203
|
+
onClick: () => I(`bridle profile create ${x} ${C} --from-current`),
|
|
204
|
+
disabled: !C,
|
|
204
205
|
className: "px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated disabled:opacity-50 flex items-center gap-1",
|
|
205
206
|
children: [/* @__PURE__ */ p(a, { className: "size-3" }), " From Current"]
|
|
206
207
|
}),
|
|
207
208
|
/* @__PURE__ */ m("button", {
|
|
208
209
|
type: "button",
|
|
209
|
-
onClick: () =>
|
|
210
|
-
disabled: !
|
|
210
|
+
onClick: () => I(`bridle profile switch ${x} ${C}`),
|
|
211
|
+
disabled: !C,
|
|
211
212
|
className: "px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated disabled:opacity-50 flex items-center gap-1",
|
|
212
213
|
children: [/* @__PURE__ */ p(r, { className: "size-3" }), " Switch"]
|
|
213
214
|
}),
|
|
214
215
|
/* @__PURE__ */ m("button", {
|
|
215
216
|
type: "button",
|
|
216
|
-
onClick: () =>
|
|
217
|
-
disabled: !
|
|
217
|
+
onClick: () => I(`bridle profile delete ${x} ${C}`),
|
|
218
|
+
disabled: !C,
|
|
218
219
|
className: "px-3 py-1.5 text-xs rounded-button border border-status-error-border text-status-error-text hover:bg-status-error-bg-subtle disabled:opacity-50 flex items-center gap-1",
|
|
219
220
|
children: [/* @__PURE__ */ p(d, { className: "size-3" }), " Delete"]
|
|
220
221
|
})
|
|
@@ -223,30 +224,30 @@ function g({ agent: g }) {
|
|
|
223
224
|
] })
|
|
224
225
|
]
|
|
225
226
|
}),
|
|
226
|
-
|
|
227
|
+
y === "install" && /* @__PURE__ */ p("div", {
|
|
227
228
|
className: "space-y-4",
|
|
228
229
|
children: /* @__PURE__ */ m("div", { children: [
|
|
229
230
|
/* @__PURE__ */ p("h4", {
|
|
230
231
|
className: "text-xs font-semibold text-text-secondary uppercase tracking-wider mb-2",
|
|
231
|
-
children:
|
|
232
|
+
children: v("vibecontrols.agentManager.bridle.installFromGithub", "Install from GitHub")
|
|
232
233
|
}),
|
|
233
234
|
/* @__PURE__ */ p("p", {
|
|
234
235
|
className: "text-xs text-text-secondary mb-3",
|
|
235
|
-
children:
|
|
236
|
+
children: v("vibecontrols.agentManager.bridle.installDescription", "Install skills, agents, commands, or MCPs from GitHub repositories.")
|
|
236
237
|
}),
|
|
237
238
|
/* @__PURE__ */ m("div", {
|
|
238
239
|
className: "flex gap-2",
|
|
239
240
|
children: [/* @__PURE__ */ p("input", {
|
|
240
|
-
"aria-label":
|
|
241
|
+
"aria-label": v("vibecontrols.agentManager.bridle.installSourceAriaLabel", "GitHub repository or full URL"),
|
|
241
242
|
type: "text",
|
|
242
|
-
value:
|
|
243
|
-
onChange: (e) =>
|
|
244
|
-
placeholder:
|
|
243
|
+
value: T,
|
|
244
|
+
onChange: (e) => E(e.target.value),
|
|
245
|
+
placeholder: v("vibecontrols.agentManager.bridle.installSourcePlaceholder", "owner/repo or full GitHub URL"),
|
|
245
246
|
className: "flex-1 px-3 py-2 text-sm rounded border border-border-default bg-bg-surface text-text-primary placeholder:text-text-tertiary focus:outline-none focus:border-border-strong"
|
|
246
247
|
}), /* @__PURE__ */ m("button", {
|
|
247
248
|
type: "button",
|
|
248
|
-
onClick: () =>
|
|
249
|
-
disabled: !
|
|
249
|
+
onClick: () => I(`bridle install ${T}`),
|
|
250
|
+
disabled: !T,
|
|
250
251
|
className: "px-4 py-2 text-sm rounded bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg-hover disabled:opacity-50 flex items-center gap-1.5",
|
|
251
252
|
children: [/* @__PURE__ */ p(o, { className: "size-4" }), " Install"]
|
|
252
253
|
})]
|
|
@@ -264,52 +265,52 @@ function g({ agent: g }) {
|
|
|
264
265
|
})
|
|
265
266
|
] })
|
|
266
267
|
}),
|
|
267
|
-
|
|
268
|
+
y === "settings" && /* @__PURE__ */ m("div", {
|
|
268
269
|
className: "space-y-4",
|
|
269
270
|
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
270
271
|
className: "text-xs font-semibold text-text-secondary uppercase tracking-wider mb-2",
|
|
271
|
-
children:
|
|
272
|
+
children: v("vibecontrols.agentManager.bridle.configuration", "Configuration")
|
|
272
273
|
}), /* @__PURE__ */ m("div", {
|
|
273
274
|
className: "space-y-3",
|
|
274
275
|
children: [
|
|
275
276
|
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
276
277
|
htmlFor: "bridleconfigpanel-4",
|
|
277
278
|
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
278
|
-
children:
|
|
279
|
+
children: v("vibecontrols.agentManager.bridle.configKeyLabel", "Key")
|
|
279
280
|
}), /* @__PURE__ */ p("input", {
|
|
280
281
|
id: "bridleconfigpanel-4",
|
|
281
|
-
"aria-label":
|
|
282
|
+
"aria-label": v("vibecontrols.agentManager.bridle.configKeyAriaLabel", "Configuration key"),
|
|
282
283
|
type: "text",
|
|
283
|
-
value:
|
|
284
|
-
onChange: (e) =>
|
|
285
|
-
placeholder:
|
|
284
|
+
value: D,
|
|
285
|
+
onChange: (e) => O(e.target.value),
|
|
286
|
+
placeholder: v("vibecontrols.agentManager.bridle.configKeyPlaceholder", "e.g., editor, default_harness, profile_marker"),
|
|
286
287
|
className: "w-full px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface text-text-primary placeholder:text-text-tertiary focus:outline-none focus:border-border-strong"
|
|
287
288
|
})] }),
|
|
288
289
|
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
289
290
|
htmlFor: "bridleconfigpanel-3",
|
|
290
291
|
className: "block text-xs font-medium text-text-secondary mb-1",
|
|
291
|
-
children:
|
|
292
|
+
children: v("vibecontrols.agentManager.bridle.configValueLabel", "Value")
|
|
292
293
|
}), /* @__PURE__ */ p("input", {
|
|
293
294
|
id: "bridleconfigpanel-3",
|
|
294
|
-
"aria-label":
|
|
295
|
+
"aria-label": v("vibecontrols.agentManager.bridle.configValueAriaLabel", "Configuration value"),
|
|
295
296
|
type: "text",
|
|
296
|
-
value:
|
|
297
|
-
onChange: (e) =>
|
|
298
|
-
placeholder:
|
|
297
|
+
value: k,
|
|
298
|
+
onChange: (e) => A(e.target.value),
|
|
299
|
+
placeholder: v("vibecontrols.agentManager.bridle.configValuePlaceholder", "value"),
|
|
299
300
|
className: "w-full px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface text-text-primary placeholder:text-text-tertiary focus:outline-none focus:border-border-strong"
|
|
300
301
|
})] }),
|
|
301
302
|
/* @__PURE__ */ m("div", {
|
|
302
303
|
className: "flex gap-2",
|
|
303
304
|
children: [/* @__PURE__ */ p("button", {
|
|
304
305
|
type: "button",
|
|
305
|
-
onClick: () =>
|
|
306
|
-
disabled: !
|
|
306
|
+
onClick: () => I(`bridle config get ${D}`),
|
|
307
|
+
disabled: !D,
|
|
307
308
|
className: "px-3 py-1.5 text-xs rounded border border-border-default bg-bg-surface hover:bg-bg-elevated disabled:opacity-50",
|
|
308
309
|
children: "Get"
|
|
309
310
|
}), /* @__PURE__ */ p("button", {
|
|
310
311
|
type: "button",
|
|
311
|
-
onClick: () =>
|
|
312
|
-
disabled: !
|
|
312
|
+
onClick: () => I(`bridle config set ${D} ${k}`),
|
|
313
|
+
disabled: !D || !k,
|
|
313
314
|
className: "px-3 py-1.5 text-xs rounded bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg-hover disabled:opacity-50",
|
|
314
315
|
children: "Set"
|
|
315
316
|
})]
|
|
@@ -317,7 +318,7 @@ function g({ agent: g }) {
|
|
|
317
318
|
]
|
|
318
319
|
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("h4", {
|
|
319
320
|
className: "text-xs font-semibold text-text-secondary uppercase tracking-wider mb-2",
|
|
320
|
-
children:
|
|
321
|
+
children: v("vibecontrols.agentManager.bridle.availableConfigKeys", "Available Config Keys")
|
|
321
322
|
}), /* @__PURE__ */ m("div", {
|
|
322
323
|
className: "space-y-1 text-xs text-text-secondary",
|
|
323
324
|
children: [
|
|
@@ -340,32 +341,32 @@ function g({ agent: g }) {
|
|
|
340
341
|
]
|
|
341
342
|
})] })]
|
|
342
343
|
}),
|
|
343
|
-
|
|
344
|
+
j && /* @__PURE__ */ m("div", {
|
|
344
345
|
className: "mt-4 border-t border-border-default pt-3",
|
|
345
346
|
children: [
|
|
346
347
|
/* @__PURE__ */ m("div", {
|
|
347
348
|
className: "flex items-center justify-between mb-2",
|
|
348
349
|
children: [/* @__PURE__ */ p("h4", {
|
|
349
350
|
className: "text-xs font-semibold text-text-secondary uppercase tracking-wider",
|
|
350
|
-
children:
|
|
351
|
+
children: v("vibecontrols.agentManager.bridle.command", "Command")
|
|
351
352
|
}), /* @__PURE__ */ p("button", {
|
|
352
353
|
type: "button",
|
|
353
|
-
onClick: () =>
|
|
354
|
+
onClick: () => M(""),
|
|
354
355
|
className: "text-[10px] text-text-tertiary hover:text-text-secondary",
|
|
355
|
-
children:
|
|
356
|
+
children: v("vibecontrols.agentManager.bridle.clear", "Clear")
|
|
356
357
|
})]
|
|
357
358
|
}),
|
|
358
359
|
/* @__PURE__ */ p("pre", {
|
|
359
360
|
className: "p-3 rounded-md bg-bg-sunken text-text-primary text-xs font-mono whitespace-pre-wrap border border-border-default",
|
|
360
|
-
children:
|
|
361
|
+
children: j
|
|
361
362
|
}),
|
|
362
363
|
/* @__PURE__ */ p("p", {
|
|
363
364
|
className: "text-[10px] text-text-tertiary mt-1 flex items-center gap-1",
|
|
364
|
-
children:
|
|
365
|
+
children: N ? /* @__PURE__ */ m(f, { children: [
|
|
365
366
|
/* @__PURE__ */ p(i, { className: "size-3 text-status-success-text" }),
|
|
366
367
|
" ",
|
|
367
|
-
|
|
368
|
-
] }) :
|
|
368
|
+
v("vibecontrols.agentManager.bridle.copiedToClipboard", "Copied to clipboard")
|
|
369
|
+
] }) : v("vibecontrols.agentManager.bridle.commandCopied", "Command copied to clipboard")
|
|
369
370
|
})
|
|
370
371
|
]
|
|
371
372
|
})
|
|
@@ -374,4 +375,4 @@ function g({ agent: g }) {
|
|
|
374
375
|
]
|
|
375
376
|
});
|
|
376
377
|
}
|
|
377
|
-
export {
|
|
378
|
+
export { _ as BridleConfigPanel };
|