Session-scoped Main and Worker models
ACP clients can now choose the Main model, the Worker model and both efforts per session, without one session changing another.
session/new,session/loadandsession/resumeaccept_meta.modelId,reasoningEffort,reasoningEffortAuto,workerModelIdandworkerEffort, applied to that session only before its first turn. An explicit level wins over auto.- New
x.ai/session/worker_model/set({sessionId, modelId, effort}) sets the Worker for a running session:""turns the Worker off,nullreturns to[models] workerfrom config. It answers with the effective Worker and whether it comes from the session or the config. session/set_modelandsession/set_config_optionno longer change the process-wide model, effort or auto mode, so later sessions without_metastart from config. The TUI keeps its own defaults.- The
session/set_modelresponse now also returnscanonicalModelId,reasoningEffortandreasoningEffortAuto. initializeadvertisessessionMainModelandsessionWorkerModelunderx.ai/capabilities.
PR: #24