Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-05-22 20:26:51 +00:00
parent 26980f813a
commit 054890d3c7
2 changed files with 2 additions and 9 deletions

View file

@ -670,12 +670,3 @@ const rootRouteChildren: RootRouteChildren = {
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
import type { getRouter } from './router.tsx'
import type { createStart } from '@tanstack/react-start'
declare module '@tanstack/react-start' {
interface Register {
ssr: true
router: Awaited<ReturnType<typeof getRouter>>
}
}

View file

@ -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`);