Files
headquarter/openspec/changes/archive/2026-05-22-tool-config-ui-rework/proposal.md
T
Fusion 063a839790 feat: implement repository clone mode with SSH key support
- Add clone_mode and branch fields to tool_instances
- Add ssh_key_id to git_repositories for per-repo SSH key assignment
- Implement host-side git cloning with branch selection (default: main)
- Mount SSH keys into containers for git operations in clone mode
- Add dirty state check on clone-mode instance deletion with confirmation
- Update SessionsPage with mount/clone selector, branch input, SSH key display
- Add SSH key selector to repository creation form
- Add dirty delete confirmation modal with changed files list
- Update API schemas and endpoints for new fields
- Sync delta specs to main specs (git-repo, tool-instances, repo-clone-mode)
- Archive completed OpenSpec change: repo-clone-mode-with-ssh
- Document git requirement for custom tool types

Quality gates: Frontend typecheck and build passed
OpenSpec: repo-clone-mode-with-ssh archived with all tasks complete
2026-05-22 22:56:35 +02:00

28 lines
1.4 KiB
Markdown

## Why
The current tool configuration page (`/tool-configs`) presents all configs in a flat list with a basic form. As the number of tool types and configuration options grows, this becomes unwieldy. Users need a more organized way to browse, edit, and manage configurations per tool type.
## What Changes
- **Rework the tool config UI** from a flat list to a **split-pane layout**: list of tool configs on the left, detail/edit panel on the right
- **Add new config fields**: `start_command`, `port`, `working_directory`, `environment_variables` (JSON), `volumes` (JSON)
- **Update backend model** to support these new fields
- **Create database migration** for the new columns
- **Update API endpoints** to handle new fields
- **Update frontend types and API client**
- **Redesign the page** with proper navigation and editing experience
## Capabilities
### New Capabilities
- `tool-config-management`: Enhanced tool configuration management with extended fields and split-pane UI
### Modified Capabilities
- `tool-types`: Tool type display will show associated configs in the new UI (presentation layer change only, no API changes)
## Impact
- **Backend**: `tool_configs` model, API endpoints, database migration
- **Frontend**: Complete rework of `ToolConfigsPage` component, new types, updated API client
- **Database**: New columns on `tool_configs` table
- **User Experience**: Significantly improved configuration management workflow