feat: persist feature research and versioned alpha assessments

This commit is contained in:
yuxuanhui
2026-09-08 21:52:46 +08:00
parent f89ae211d2
commit eb4850a003
32 changed files with 2003 additions and 20 deletions
+5 -2
View File
@@ -8,13 +8,16 @@ export function ResearchToolCard({ call, onAction }: ToolCardProps) {
{typeof result.name === "string" ? result.name : "研究资料"}
{typeof result.version === "number" ? ` · v${result.version}` : ""}
</p>
{typeof result.id === "string" && (
{typeof result.id === "string" && !result.report && (
<Button
onClick={() =>
onAction(
result.content
? {
type: "open_template",
type:
result.kind === "feature"
? "open_feature"
: "open_template",
asset_id: result.id as string,
version: result.version as number,
nonce: Date.now(),