esBuild serverless (#14886)

Use [esbuild](https://esbuild.github.io/) to Build serverless entire
folder instead of just the src/index.ts file. Application serverless
folders can contain code organized in folders

## Small example

This now works:

<img width="1330" height="686" alt="image"
src="https://github.com/user-attachments/assets/e0639517-492d-4b64-8722-18bbe94dacb0"
/>
This commit is contained in:
martmull
2025-10-06 10:47:42 +02:00
committed by GitHub
parent 1a9bc6d3dd
commit 31b73c3580
14 changed files with 403 additions and 347 deletions
@@ -55,11 +55,9 @@ export class ApiService {
async validateAuth(): Promise<boolean> {
try {
const query = `
query FindManyAgents {
findManyAgents {
id
name
}
query CurrentWorkspace {
currentWorkspace {
id
}
`;