* feat(kimi): thinking level selection for remote sessions
Kimi Code's ACP session advertises the active model's thinking levels as
a thought_level config option (`thinking`: off/on or off plus declared
efforts). Expose it like Grok's effort: a session RPC + hub route for the
options, the composer effort picker, and per-turn
session/set_config_option in the remote launcher. The runner forwards
--effort so resumed sessions keep the selection.
* fix(kimi): keep thinking options in step with model switches
Kimi Code answers session/set_model with no config options and pushes
the new model's thought_level via config_option_update; capture it
(opt-in in the ACP backend, same hunk as #2348), re-baseline the
launcher's level after a switch, report 'switch pending' until the next
turn applies it, and have the web poll until discovery succeeds.
* fix(kimi): gate thinking discovery on the model the backend applied
Compare the model the next queued turn carries with the backend's model
instead of session state, so an older queued batch or a failed switch
keeps discovery pending; forward the saved effort on terminal resume.
* feat(acp): re-enable change_title for ACP launchers with manual title precedence
opencode/cursor/kimi disabled the hapi change_title MCP tool (#1028),
relying solely on native ACP session-title sync. When the agent never
generates a native title there was no way to set one short of hub API
calls.
Re-enable change_title on those launchers. The shared title-sync
controller marks manual titles, so later native sessionInfoUpdate
titles no longer overwrite them.
* fix(acp): include copilot in change_title re-enable and harden tests
Copilot has the same ACP title-sync shape as opencode/cursor/kimi, so it
gets the same shared controller wiring. Add a cursor regression test
asserting one controller instance is shared across backend (re)creation
paths and cover the onChangeTitle failure path.
* fix(acp): persist manual title precedence in session metadata
The manual flag lived only in one controller closure, so a recreated
remote launcher or a resumed session started fresh and let the next
native ACP sessionInfoUpdate overwrite a change_title rename. Store
acpManualTitle in session metadata and initialize new controllers from
it.
* fix(agent): preserve acpManualTitle through existing-session bootstrap
bootstrapExistingSession rebuilds metadata through an allowlist, so the
manual-title marker was dropped on process resume and native ACP title
sync could overwrite a change_title rename.
* fix(cursor): preserve manual title precedence across live relaunch
Cursor ACP (and other remotes) flagged the glued-on SKILL_LOOKUP_INSTRUCTION
as prompt injection. Keep discovery on the skill_lookup MCP tool description
and on system prompts (OpenCode/Grok); do not taint user messages.
Fixes#1095
Co-authored-by: Debian <heavygee@oos-linux.in.lockhouse>
Co-authored-by: Cursor <cursoragent@cursor.com>