Add hybrid research copilot workspace
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user