A temporary clone made by session_create keeps no vm settings of its own, so vm_unlock on a clone always failed with "secret setting is empty" even though the source VM had a saved login password and AI access enabled. The SSH user was empty for the same reason: the clone has no settings and no copied .reims-go-ssh-user file, while access is granted through the owns-clone path. Record the source VM key in the temporary VM ownership marker and fall back to it when a clone has no value of its own. The fallback reads the single stored secret instead of copying it, so the password never multiplies across clones, nothing is left behind when a clone is disposed, and revoking AI access on the source removes the fallback immediately. Surface a clear localized error when no VM has a saved password. model: deepseek/deepseek-v4.1-flash agent: lead (DeepSeek Harness)
8 lines
1.1 KiB
JSON
8 lines
1.1 KiB
JSON
{
|
|
"group": "fixes",
|
|
"order": 0,
|
|
"authors": ["Nwflower"],
|
|
"zh": "修复 MCP 临时克隆无法自动输入登录密码、SSH 用户名常为空的问题。克隆不保存自己的虚拟机设置,现在它读取 `login_password` 和 `username` 时会回退到来源虚拟机,且仅在来源虚拟机仍开启「允许 AI 访问」时生效;撤销来源的授权后克隆立即失去回退。密码不会复制进克隆,克隆销毁后不留存副本。虚拟机未保存登录密码时,解锁会提示去 MCP 服务设置里填写,而不是返回内部错误。",
|
|
"en": "Fix MCP temporary clones failing to type the login password and often reporting an empty SSH username. A clone keeps no VM settings of its own, so reads of `login_password` and `username` now fall back to the source VM, and only while the source still allows AI access; revoking access on the source removes the fallback immediately. The password is never copied into the clone, so disposing it leaves no copy behind. When a VM has no saved login password, unlock now asks you to set it in the MCP Service settings instead of returning an internal error."
|
|
}
|