AI tools to create a demo workspace (#18236)

This PR adds the necessary tool to create a demo workspace with :
relevant custom objects and fields, mock data and a real dashboard with
graph widgets.

It is still a bit under-optimized and slow but it works.

This PR also adds an AI tool that allows to see what happens in real
time, it navigates the app and waits when necessary.

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Lucas Bordeau
2026-03-05 11:39:31 +01:00
committed by GitHub
parent a2f80d882b
commit 2a82df7073
84 changed files with 2449 additions and 315 deletions
@@ -0,0 +1,9 @@
import { type ExtendedUIMessage } from 'twenty-shared/ai';
export const isUIToolCallMessage = (message: ExtendedUIMessage) => {
return message.parts.some(
(part) =>
part.type === 'tool-execute_tool' &&
(part.input as any)?.toolName === 'navigate_app',
);
};