docs(persona-chat): clarify auto-hook boundary #13
@@ -902,7 +902,7 @@ export async function importFromRemote(code, { owner = null, slug = null, force
|
||||
const detail = AREA_KEYS
|
||||
.map((key) => `${AREAS[key].label}:${results[key]?.ok
|
||||
? `${results[key].written?.length ?? 0} 個檔案`
|
||||
: String(results[key]?.reason || "失敗").slice(0, 80)}`)
|
||||
: String(results[key]?.reason || "失敗").replace(/\s+/g, " ").slice(0, 100)}`)
|
||||
.join(";");
|
||||
throw new Error(
|
||||
`從 ${theOwner}/${code} 拉回來的內容沒有 IDENTITY.md(人格的最低要件),已中止${fresh ? "並清掉半成品" : ""}。${detail}`,
|
||||
|
||||
Reference in New Issue
Block a user