fix(consult): complete natal chart tool on homepage topic cards (BUG-630)

Thinking models were spending the first natal step on skill_read or a Level 2 draft, so home chips such as 家庭 never satisfied the calculation contract.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-09 22:46:46 +08:00
co-authored by Cursor
parent 4067aff86c
commit c53decdb85
12 changed files with 204 additions and 20 deletions
+7 -2
View File
@@ -1,6 +1,7 @@
"use client";
import { ArrowUpRight } from "lucide-react";
import type { ConsultationEntrypoint } from "@/lib/consultation-entrypoint";
import type { DailyStarlanguageState, Theme } from "@/lib/home-types";
import type { RectificationEntrySummary } from "@/lib/rectification-entry";
@@ -35,7 +36,11 @@ export type StarterHomeProps = {
readonly rectificationErrorMessage: string;
readonly starterThemes: readonly StarterHomeTheme[];
readonly starterSuggestions: readonly StarterHomeSuggestion[];
readonly startSuggestedConsultation: (text: string, theme: Theme) => void;
readonly startSuggestedConsultation: (
text: string,
theme: Theme,
entrypoint?: ConsultationEntrypoint | null,
) => void;
readonly onboardingError: string;
};
@@ -141,7 +146,7 @@ export function StarterHome({
type="button"
aria-label={`${theme?.label || "开始"}${item.text}`}
disabled={productEntrypointsDisabled}
onClick={() => void startSuggestedConsultation(item.text, item.theme)}
onClick={() => void startSuggestedConsultation(item.text, item.theme, "guided_topic")}
>
<span className="starter-content">
<b>{theme?.label || "开始"}</b>