From 054890d3c7e132f47b784c253a69ba4bb0702ced Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 20:26:51 +0000 Subject: [PATCH] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/routeTree.gen.ts | 9 --------- supabase/functions/provision-agent/index.ts | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) 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`);