You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add agentFilter config to limit visible agents in selection UIs
Add a new config option `agentFilter` under `plugins.workspace` that
allows users to specify which AI agents appear in agent selection UIs.
When configured with an array of agent IDs (e.g., ["claude", "codex", "copilot"]),
only those agents plus "None (attach only)" will be shown. If the config
is empty or not set, all agents are shown (backward compatible).
The filter applies to:
- Create Worktree modal
- Create Shell modal (type selector)
- Agent Config modal (start/restart agent)
- Conversations Resume modal
Example config:
```json
{
"plugins": {
"workspace": {
"agentFilter": ["claude", "codex", "copilot"]
}
}
}
```
Changes:
- Add AgentFilter field to WorkspacePluginConfig
- Add filteredAgentOrder() and filteredShellAgentOrder() helpers
- Update all agent selection UIs to use filtered lists
- Add comprehensive tests for filter functionality
- Document the new config option in README
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|`agentFilter`| string[]|`[]` (all agents) | Limits which agents appear in selection UIs. If empty or omitted, all agents are shown. "None (attach only)" is always available. |
273
+
|`dirPrefix`| bool |`true`| Prefix workspace directories with repo name |
274
+
|`agentStart`| object |`{}`| Map of agent type to custom startup command (e.g., `{"claude": "claude --profile fast"}`) |
275
+
264
276
## Contributing
265
277
266
278
-**Bug reports**: [Open an issue](https://github.com/marcus/sidecar/issues)
0 commit comments