feat: enable workflows to be embedded in websites as a script tag (#47)

* feat: add deployment configuration options

* Simplify EmbedDialog

* Add options for inline vs floating embedding of agent
This commit is contained in:
Abhishek 2025-11-15 17:32:37 +05:30 committed by GitHub
parent 5e4aef346d
commit 99a768f291
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 3551 additions and 645 deletions

View file

@ -80,8 +80,6 @@ export function UserConfigProvider({ children }: { children: ReactNode }) {
if (!auth.loading) {
fetchPermissions();
}
// We intentionally depend only on specific auth properties to avoid infinite loops
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [auth.loading, auth.provider, auth.getSelectedTeam, auth.listPermissions]);
@ -152,8 +150,6 @@ export function UserConfigProvider({ children }: { children: ReactNode }) {
} finally {
setLoading(false);
}
// We intentionally depend only on specific auth properties to avoid infinite loops
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [auth.loading, auth.isAuthenticated, auth.getAccessToken]);
useEffect(() => {