Skip to content

Commit bd72e52

Browse files
Add all routes to wrapper, handle background execution
1 parent 9a4b99f commit bd72e52

File tree

592 files changed

+14687
-18670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

592 files changed

+14687
-18670
lines changed

apps/sim/app/api/a2a/agents/[agentId]/route.ts

Lines changed: 262 additions & 276 deletions
Large diffs are not rendered by default.

apps/sim/app/api/a2a/agents/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { captureServerEvent } from '@/lib/posthog/server'
1818
import { loadWorkflowFromNormalizedTables } from '@/lib/workflows/persistence/utils'
1919
import { hasValidStartBlockInState } from '@/lib/workflows/triggers/trigger-utils'
2020
import { checkWorkspaceAccess } from '@/lib/workspaces/permissions/utils'
21+
import { withRouteHandler } from '@/lib/core/utils/with-route-handler'
2122

2223
const logger = createLogger('A2AAgentsAPI')
2324

0 commit comments

Comments
 (0)