Add hybrid research copilot workspace

This commit is contained in:
2026-03-14 19:32:00 -04:00
parent 7a42d73a48
commit 2ee9a549a3
27 changed files with 2864 additions and 323 deletions

View File

@@ -117,6 +117,13 @@ function buildStats(task: TaskCore): TaskNotificationStat[] {
);
break;
}
case 'research_brief':
stats.push(
makeStat('Ticker', asString(result?.ticker) ?? task.stage_context?.subject?.ticker ?? null),
makeStat('Artifact', asNumber(result?.artifactId) ?? null),
makeStat('Model', asString(result?.model) ?? null)
);
break;
}
if (stats.every((stat) => stat === null)) {
@@ -194,6 +201,14 @@ function buildActions(task: TaskCore): TaskNotificationAction[] {
primary: true
});
break;
case 'research_brief':
actions.push({
id: 'open_research',
label: 'Open research',
href: ticker ? `/research?ticker=${encodeURIComponent(ticker)}` : '/research',
primary: true
});
break;
}
actions.push({