mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-26 22:48:38 +02:00
Add the ability to select from saved workspace agents when configuring agent nodes in the workflow editor. Previously, adding an agent node always created a new inline agent with empty fields. Changes: - Thread workspaceAgents prop through SettingsPanel → WorkflowEditor → WorkflowGraphInspector → AgentNodeInspector - Add Inline/Saved Agent source toggle in the agent node inspector - Add workspace agent picker dropdown with stale-agent detection - Add override-aware fields that show inherited values from the saved agent with per-field reset buttons and visual indicators - Support clean bidirectional switching between inline and linked modes - Show saved workspace agents as directly-addable items in the node palette with link icon, separated from the generic New Agent button - Add handleAddWorkspaceAgentNode to create pre-linked agent nodes The underlying data model (AgentNodeConfig.workspaceAgentId, overrides) and resolution logic (resolveWorkflowAgentNode) already existed but were never exposed in the UI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>