aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/dupre.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-13 23:45:37 -0500
committerCraig Jennings <c@cjennings.net>2026-07-13 23:45:37 -0500
commit03a1f26b2879f678a48c036a9e6f4b9ace864c3b (patch)
tree3b0cf5c6337ea9b83cfc5f23235c19eb95f0f700 /scripts/theme-studio/dupre.json
parent42cb6c172ebd8fa61de39244a049bb23e3d0a69a (diff)
downloaddotemacs-03a1f26b2879f678a48c036a9e6f4b9ace864c3b.tar.gz
dotemacs-03a1f26b2879f678a48c036a9e6f4b9ace864c3b.zip
feat(ai-term): pick the agent runtime at session launch
A fresh agent session now asks which runtime to run: claude, codex, or any local ollama model via codex --oss. RET keeps claude, so the common launch stays Enter-Enter. Reattaches and redisplays never ask. The picker fires only when neither a live agent buffer nor a surviving tmux session exists. I mirrored the runtime names and launch strings from the bin/ai launcher so the two stay one mental model, and the choice list itself comes from "ai --print-runtimes" when that launcher is installed, reusing its live ollama scan and dead-server timeout. A static claude-first list stands in without it. The explicit --local-provider=ollama flag is deliberate: configuring the provider through config.toml silently does nothing. The chosen command threads through show-or-create into the tmux launch line. On reattach, tmux new-session -A ignores it, so no reattach path changes behavior. cj/ai-term-agent-command keeps its meaning as the claude runtime's full line. Thirteen tests cover the runtime-to-command map, the print-runtimes parsing, the launcher fallback, and the launch-command override.
Diffstat (limited to 'scripts/theme-studio/dupre.json')
0 files changed, 0 insertions, 0 deletions