Apply agent account selection to CLI subprocesses (#14233)

* Apply agent account selection to CLI subprocesses

* Fix account dispatch edge cases and remove redundant shell wrappers

* Use the current account when launching a new agent session
This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2026-10-04 09:01:06 -04:00
1 parent 5657a91f8d
commit f9646299bf
15 files changed
+351 -67

No files matched your search

@@ -0,0 +1,13 @@
# Resolve the active subscription at execution time, including in subprocesses.
# User and project mise config can override these system defaults.
[wrappers.claude]
command = "omarchy-agent-account-exec"
args = ["claude"]
[wrappers.codex]
command = "omarchy-agent-account-exec"
args = ["codex"]
[wrappers.grok]
command = "omarchy-agent-account-exec"
args = ["grok"]