Skip to content

[Feature] oclite agent switching (/agents command) #60

@randomm

Description

@randomm

Summary

oclite has no way to switch agents. It uses the default agent (likely Build). Need an /agents command similar to the full opencode TUI to allow agent selection.

Requirements

/agents command ✅ (implemented)

  • List available agents
  • Interactive selection (arrow keys + Enter in raw terminal mode)
  • Switch the active agent for the current session

Agent visibility in prompt

  • Show current agent name in the prompt prefix, e.g. Project Manager ❯ or build ❯
  • User should always know which agent is active

Shift+Tab cycling

  • Shift+Tab cycles through available agents (same as full opencode TUI)
  • Quick way to switch without opening /agents dialogue

Selection UI ✅ (implemented)

  • Arrow up/down to navigate
  • Enter to select
  • Escape to cancel
  • Highlight current selection

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions