From 483b515d490c74d02834c5fd9f8cda8a4f32d4c4 Mon Sep 17 00:00:00 2001 From: klopez4212 Date: Mon, 6 Jul 2026 16:32:30 +0100 Subject: [PATCH 01/20] refactor(desktop): unify EditAgentDialog styling with PersonaDialog Restyle the built-in agent edit dialog to match the simplified persona edit panel: - Use ChooserDialogContent shell with the same grid layout (avatar preview left, fields right) - Replace raw onInheritHarnessChange(event.target.checked)} + type="checkbox" + /> + Inherit runtime from persona + +

+ {inheritHarness + ? `Uses the ${linkedPersona.displayName} persona's runtime${ + linkedPersona.runtime ? ` (${linkedPersona.runtime})` : "" + }. Editing the persona and respawning propagates the new runtime.` + : "Pins this agent to a specific runtime command, overriding the persona's runtime."} +

+ + ) : null} + + {/* Custom agent command (when custom runtime) */} + {selectedRuntimeId === "custom" && !inheritHarness ? ( +
+ +
+ onAgentCommandChange(event.target.value)} + placeholder="Full path or shell command" + value={agentCommand} + /> +
+
+ ) : null} + + {/* Agent runtime args */} +
+ +
+ onAgentArgsChange(event.target.value)} + placeholder="Comma-separated" + value={agentArgs} + /> +
+
+ + {/* MCP command */} +
+ +
+ onMcpCommandChange(event.target.value)} + placeholder="Optional MCP server command" + value={mcpCommand} + /> +
+
+ + {/* MCP toolsets */} +
+ +
+ onMcpToolsetsChange(event.target.value)} + placeholder="default,canvas,forums,dms,media" + value={mcpToolsets} + /> +
+

+ Comma-separated list of toolsets to expose via BUZZ_TOOLSETS. +

+
+ + {/* Turn timeout + Parallelism side by side */} +
+
+ +
+ onTurnTimeoutChange(event.target.value)} + placeholder="300" + value={turnTimeoutSeconds} + /> +
+
+ +
+ +
+ onParallelismChange(event.target.value)} + placeholder="1" + value={parallelism} + /> +
+
+
+ + {/* Relay URL */} +
+ +
+ onRelayUrlChange(event.target.value)} + placeholder="Leave blank to use the workspace relay" + value={relayUrl} + /> +
+
+ + {/* ACP command */} +
+ +
+ onAcpCommandChange(event.target.value)} + value={acpCommand} + /> +
+
+ + {/* System prompt override */} +
+ +
+