fix(chat): fold natal reports and drop homepage topic cards
Homepage no longer waits on /api/onboarding for six starter questions. Natal answers show the spoken layer first; the Level 2 skeleton sits in a collapsed 完整分析 block. Wide tables scroll sideways on a phone. Form inputs are 16px so iOS does not zoom on focus.
This commit is contained in:
@@ -139,10 +139,6 @@ test("only chart-answering agents bind the method", () => {
|
||||
);
|
||||
const general = mastra.slice(
|
||||
mastra.indexOf("const generalJyotishInstructions"),
|
||||
mastra.indexOf("const onboardingInstructions"),
|
||||
);
|
||||
const onboarding = mastra.slice(
|
||||
mastra.indexOf("const onboardingInstructions"),
|
||||
mastra.indexOf("const dailyStarlanguageInstructions"),
|
||||
);
|
||||
const daily = mastra.slice(
|
||||
@@ -152,7 +148,10 @@ test("only chart-answering agents bind the method", () => {
|
||||
|
||||
assert.match(chart, /\.\.\.jyotishSkillBinding\(\)/);
|
||||
assert.match(chart, /\$\{jyotishSkillMethodBlock\}/);
|
||||
for (const [name, source] of [["general", general], ["onboarding", onboarding], ["daily", daily]] as const) {
|
||||
// 原值: 另切 onboardingInstructions,断言它也不绑方法。
|
||||
// 新值: onboarding agent 已删除;general 与 daily 仍不绑。
|
||||
// 原因: 建议问题生成接口下线。
|
||||
for (const [name, source] of [["general", general], ["daily", daily]] as const) {
|
||||
assert.doesNotMatch(source, /jyotishSkillBinding|jyotishSkillMethodBlock/, name);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user