Skip to content

Configurable agent manager keybinding#58

Open
DivineDominion wants to merge 3 commits intonicobailon:mainfrom
DivineDominion:ctm/configurable-agent-manager-keybinding
Open

Configurable agent manager keybinding#58
DivineDominion wants to merge 3 commits intonicobailon:mainfrom
DivineDominion:ctm/configurable-agent-manager-keybinding

Conversation

@DivineDominion
Copy link

@DivineDominion DivineDominion commented Mar 19, 2026

Closes #57

  • Added support for reading pi-subagents config from:
    • .pi/settings.json
    • ~/.pi/agent/settings.json
    • with legacy fallback to ~/.pi/agent/extensions/subagent/config.json
  • Made the Agents Manager “new agent” shortcut configurable via:
    • "pi-subagents".keybindings.agentManagerNew
  • Default behavior now matches docs:
    • ctrl+n primary
    • alt+n retained as fallback

asyncByDefault?: boolean;
defaultSessionDir?: string;
keybindings?: {
agentManagerNew?: string[];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This opens up the potential to make any or all keybindings configurable in the future (then the infra changes would pay off)

}

export const DEFAULT_LIST_KEYBINDINGS: ListKeybindings = {
agentManagerNew: ["ctrl+n", "alt+n"],
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left alt+n for muscle memory; we could also only use that, not ctrl+n, and update the README accordingly

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.

'new agent' shortcut hardcoded to [alt+n] doesn't match README

1 participant