Skip to content

Add agent enablement controls - #2972

Merged
AmethystLiang merged 5 commits into
mainfrom
feature-enable-disable-agent-at-the-agents-dashb
May 29, 2026
Merged

AmethystLiang merged 5 commits into
mainfrom
feature-enable-disable-agent-at-the-agents-dashb

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented May 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #2907

Summary

  • Adds the Enable/Disable Agents Dashboard behavior from docs/enable-disable-agents-dashboard.md.
  • Persists per-agent enabled state and propagates it through runtime and client UI agent selection.
  • Updates Settings > Agents rows and launch surfaces so disabled agents are visibly marked and filtered from startup choices.

Validation

Validated in the running Electron build:

  • PASS - Cold path: Settings -> Agents rows expose enabled switches; enabled detected rows had no Disabled badges; Refresh present.
  • PASS - Toggle path: disabled Codex; row showed Disabled; Default/Set default disappeared; Auto became active; persisted after reopening.
  • PASS - Launch filtering path: quick-launch omitted disabled Codex while offering enabled agents.
  • PASS - Re-enable path: re-enabled Codex; Disabled badge disappeared and quick-launch offered Codex again.
  • PASS - Adjacent smoke: command override expansion still opens and Refresh remains present.

Renderer console errors: none. Main logs only existing dev/fallback warnings listed in validation-screenshots/validation-report.md.

Local validation screenshots are intentionally uncommitted under validation-screenshots/ for reviewer reference.

Implements the Enable/Disable Agents Dashboard behavior described in docs/enable-disable-agents-dashboard.md, including persisted agent enablement state, filtered launch surfaces, and settings UI affordances.
- Filter disabled TUI agents from mobile and quick workspace selection
- Avoid implicitly choosing disabled agents for commit/PR AI settings
- Broadcast settings changes to open windows for disabled-agent updates
@AmethystLiang
AmethystLiang force-pushed the feature-enable-disable-agent-at-the-agents-dashb branch from 9381e29 to d1459c0 Compare May 29, 2026 00:27
@AmethystLiang
AmethystLiang merged commit bda658a into main May 29, 2026
2 checks passed
@AmethystLiang
AmethystLiang deleted the feature-enable-disable-agent-at-the-agents-dashb branch May 29, 2026 00:29
nwparker pushed a commit that referenced this pull request May 29, 2026
Serialized toggleEnabled invocations through a module-scoped promise chain so each click reads the post-IPC store snapshot before computing its next disabledTuiAgents replacement.
nwparker pushed a commit that referenced this pull request May 29, 2026
Fix Settings > Agents availability updates so rapid queued writes preserve all requested disabled agents and repeated requests remain idempotent.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Add agent enablement controls

Implements the Enable/Disable Agents Dashboard behavior described in docs/enable-disable-agents-dashboard.md, including persisted agent enablement state, filtered launch surfaces, and settings UI affordances.

* Clarify agent availability controls

* Respect disabled agents across workspace and AI defaults

- Filter disabled TUI agents from mobile and quick workspace selection
- Avoid implicitly choosing disabled agents for commit/PR AI settings
- Broadcast settings changes to open windows for disabled-agent updates

* rm design doc

* fix: complete agent enablement propagation
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Fix Settings > Agents availability updates so rapid queued writes preserve all requested disabled agents and repeated requests remain idempotent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: enable/disable agent at the agents dashboard

1 participant