fix(chat): choose the chart person before the first message

This commit is contained in:
jesse-ux
2026-09-22 12:57:04 +08:00
parent 6d06fca0d8
commit 2a3013f224
22 changed files with 973 additions and 27 deletions
@@ -295,6 +295,9 @@ test("session API owns create and update while answer UI keeps sync failures out
assert.match(contract, /\): z\.ZodType<Output> \{/);
assert.match(page, /chartSnapshotForSession/);
assert.match(page, /chart_profile_name: session\.chartProfileName/);
assert.match(page, /emptySessionBindingWrite/);
const bind = page.slice(page.indexOf("async function bindEmptyChatSubject("), page.indexOf("async function openChatBoundToProfile("));
assert.doesNotMatch(bind, /chart_profile_name/);
// 原值 `分析对象:{...}` 副标题 / 新值 `.chat-header-chart` 静默 chip
// / 原因:顶栏从 68px 收到 46px 单行;「分析对象」是内部术语,标签去掉只留盘名。
// 会话与星盘资料的绑定关系本身没变,下面两条仍然锁住它。