v1.37.0
- Print: Wait for background tasks before exiting — in one-shot
--printmode, the process now waits for running background agents to finish and lets the model process their results, instead of exiting and killing them. The wait is capped atmin(max(active_task.timeout_s or agent_task_timeout_s), print_wait_ceiling_s)(default ceiling 1h); on timeout the tasks are killed and the model gets one more turn via a<system-reminder>to summarise before exit - Shell/Print: On exit the CLI now lists each background task being killed (id + description) on stderr and waits out the configured grace period before reporting any tasks that have not reached terminal state (split into "still terminating" for workers mid-shutdown vs "stop request failed" for genuinely leaking tasks);
keep_alive_on_exit=truestill skips the entire path - Auth: Auto-refresh the managed model list at startup for OAuth-logged-in users — the CLI now fetches the latest models from the provider's
/modelsendpoint as a background task when the shell launches, so newly released models become available without needing to log out and log back in; failures are silent and never block startup, and custom--configsessions keep their previous behavior - Shell: Show the provider-supplied
display_name(e.g.k2.6-code-preview) for managed models across the welcome panel, prompt status bar,/modelpicker, and/modelswitch confirmation messages; when the backend does not return one, the CLI falls back to the internal model ID as before
Fetched June 4, 2026

