技能 2026-10-12 11:27 UTC
pi-amplikelatest
版本【latest】由提交人 pasky 提交,主要更新类型为:功能特性新增与扩展。提交说明:handoff: send the prompt from withSession; always carry the parent model over。为项目引入了新的能力与模块支持。
Commit提交信息原文
handoff: send the prompt from withSession; always carry the parent model over Review follow-ups: - Send the handoff prompt from newSession()'s withSession callback, which runs once the replacement session has fully started, instead of racing the rest of session_start initialization. - Always restore the parent's model/thinking before applying -mode/-model, so a thinking-only mode or an unknown model doesn't fall back to the default. - Track the deferred resume dispatch; if the instance went stale or the session is shut down first, drop the pending handoff and release the advisor flag. - Treat ui.custom() returning undefined (no custom UI, e.g. RPC) as failure instead of handing off a literal 'undefined' prompt.