diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 0bb5aca..0fe84b5 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -670,12 +670,3 @@ const rootRouteChildren: RootRouteChildren = { export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() - -import type { getRouter } from './router.tsx' -import type { createStart } from '@tanstack/react-start' -declare module '@tanstack/react-start' { - interface Register { - ssr: true - router: Awaited> - } -} diff --git a/supabase/functions/provision-agent/index.ts b/supabase/functions/provision-agent/index.ts index 58b5687..1159bb2 100644 --- a/supabase/functions/provision-agent/index.ts +++ b/supabase/functions/provision-agent/index.ts @@ -6,6 +6,7 @@ import { createClient } from "https://esm.sh/@supabase/supabase-js@2.45.4"; import { corsHeaders } from "../_shared/cors.ts"; import { + HERMES_START_COMMAND, createRailwayService, configureRailwayService, deployRailwayService, @@ -280,6 +281,7 @@ Deno.serve(async (req) => { projectId: pool.railway_project_id, image: "ghcr.io/domfelipe/hermes-agent-custom:latest", variables: envVars, + startCommand: HERMES_START_COMMAND, }); console.log(`[provision-agent] serviço configurado com ${Object.keys(envVars).length} env vars`);