feat: add assistant board styling tools

This commit is contained in:
ajnart committed 2026-08-14 11:32:10 +02:00
1 parent 07547a462c
commit 6dc9a565b0
20 files changed
+1045 -157

No files matched your search

@@ -9,6 +9,7 @@ export type AssistantPendingAction = {
const humanToolKinds = {
ask_user: "question",
configure_app: "form",
configure_board_settings: "form",
} as const;
const getStringArg = (args: unknown, key: string) => {
@@ -37,7 +38,10 @@ export const getPendingAssistantAction = (message: ThreadMessage | undefined): A
return {
kind,
toolName: part.toolName,
detail: getStringArg(part.args, kind === "question" ? "question" : "name"),
detail: getStringArg(
part.args,
kind === "question" ? "question" : part.toolName === "configure_board_settings" ? "boardName" : "name",
),
};
}