From d84007061501cf5ffa70f0f6a67a0c1b0c98cc22 Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 22 Jul 2026 15:34:37 +0000 Subject: [PATCH] fix(connections): restore relay route assembly after rebase Co-Authored-By: Paperclip --- server/src/routes/tool-access.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/routes/tool-access.ts b/server/src/routes/tool-access.ts index 34e728f71af..5c3099b9da7 100644 --- a/server/src/routes/tool-access.ts +++ b/server/src/routes/tool-access.ts @@ -10,6 +10,7 @@ import { type DeploymentMode, type PermissionKey, connectToolAppSchema, + createConnectionTriggerSchema, createToolStdioCommandTemplateSchema, createToolApplicationSchema, createToolConnectionSchema, @@ -36,6 +37,7 @@ import { unbindToolProfileBindingSchema, updateToolApplicationSchema, updateToolConnectionSchema, + updateConnectionTriggerSchema, updateToolPolicySchema, updateToolProfileEntrySchema, updateToolProfileWithEntriesSchema, @@ -44,6 +46,7 @@ import { validate } from "../middleware/validate.js"; import { getActorInfo, assertBoard, assertCompanyAccess, hasCompanyAccess } from "./authz.js"; import { badRequest, forbidden, notFound, unprocessable } from "../errors.js"; import { accessService, googleSheetsRobotEmailFromEnv, logActivity, toolAccessPolicyService, toolAccessService } from "../services/index.js"; +import { connectionTriggerService } from "../services/connection-relay.js"; import { ToolGatewayHttpError, type ToolGatewayService } from "../services/tool-gateway.js"; /** Allowlist (e.g. Google Sheets allowed spreadsheet ids) lives in connection config. */ @@ -90,6 +93,7 @@ export function toolAccessRoutes( const router = Router(); const svc = toolAccessService(db, options); const policySvc = toolAccessPolicyService(db); + const triggerSvc = connectionTriggerService(db); function configuredPublicBaseUrl() { const raw = (