mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
* feat: repo-scoped dynamic sandbox snapshots Let admins build a per-repo sandbox image from a custom Dockerfile so runs targeting that repo boot from a snapshot with its deps pre-baked. Snapshot selection is purely additive: repos without a `ready` repo-scoped snapshot always fall back to the configured DEFAULT_SANDBOX_SNAPSHOT_ID. Backend adds a repo_snapshots store module (Dockerfile + build status keyed by owner/name), threads the resolved repo through the LangSmith sandbox creation path, runs builds via SandboxClient.create_snapshot_from_dockerfile in a throwaway builder sandbox, and exposes admin-only CRUD + build endpoints. The UI adds an admin-only Agents-tab page (repo picker + Monaco Dockerfile editor + build status/logs). Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: harden repo snapshot builds Require REPO_SNAPSHOT_BASE_IMAGE for generated Dockerfile templates so admins cannot accidentally build a repo snapshot from a bare Python image that lacks Open SWE's sandbox tools. Allow stale building records to be retried by tracking build_started_at and treating old or missing timestamps as stale. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: document repo snapshot base image config Document REPO_SNAPSHOT_BASE_IMAGE alongside sandbox snapshot setup and convert missing base-image configuration into a handled dashboard API error so admins see a clear configuration message instead of an unhandled template-generation error. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
543 lines
18 KiB
TypeScript
543 lines
18 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
import { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as UsageRouteImport } from './routes/usage'
|
|
import { Route as ReviewRouteImport } from './routes/review'
|
|
import { Route as MySettingsRouteImport } from './routes/my-settings'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as IntegrationsRouteImport } from './routes/integrations'
|
|
import { Route as CloudAgentsRouteImport } from './routes/cloud-agents'
|
|
import { Route as AgentsRouteImport } from './routes/agents'
|
|
import { Route as AdminRouteImport } from './routes/admin'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as AgentsIndexRouteImport } from './routes/agents/index'
|
|
import { Route as ReviewStylesRouteImport } from './routes/review_.styles'
|
|
import { Route as AgentsSnapshotsRouteImport } from './routes/agents_.snapshots'
|
|
import { Route as AgentsInstructionsRouteImport } from './routes/agents_.instructions'
|
|
import { Route as AgentsThreadsRouteImport } from './routes/agents/threads'
|
|
import { Route as AgentsThreadIdRouteImport } from './routes/agents/$threadId'
|
|
import { Route as AdminEvalsRouteImport } from './routes/admin_.evals'
|
|
import { Route as AgentsReviewsIndexRouteImport } from './routes/agents/reviews/index'
|
|
import { Route as AgentsAutomationsIndexRouteImport } from './routes/agents/automations/index'
|
|
import { Route as ReviewRepositoriesOwnerRouteImport } from './routes/review_.repositories.$owner'
|
|
import { Route as AgentsAutomationsNewRouteImport } from './routes/agents/automations/new'
|
|
import { Route as AgentsAutomationsScheduleIdRouteImport } from './routes/agents/automations/$scheduleId'
|
|
import { Route as AgentsThreadIdPlanRouteImport } from './routes/agents/$threadId_.plan'
|
|
import { Route as AgentsReviewsOwnerRepoNumberRouteImport } from './routes/agents/reviews/$owner.$repo.$number'
|
|
|
|
const UsageRoute = UsageRouteImport.update({
|
|
id: '/usage',
|
|
path: '/usage',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ReviewRoute = ReviewRouteImport.update({
|
|
id: '/review',
|
|
path: '/review',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const MySettingsRoute = MySettingsRouteImport.update({
|
|
id: '/my-settings',
|
|
path: '/my-settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IntegrationsRoute = IntegrationsRouteImport.update({
|
|
id: '/integrations',
|
|
path: '/integrations',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const CloudAgentsRoute = CloudAgentsRouteImport.update({
|
|
id: '/cloud-agents',
|
|
path: '/cloud-agents',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsRoute = AgentsRouteImport.update({
|
|
id: '/agents',
|
|
path: '/agents',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AdminRoute = AdminRouteImport.update({
|
|
id: '/admin',
|
|
path: '/admin',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsIndexRoute = AgentsIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const ReviewStylesRoute = ReviewStylesRouteImport.update({
|
|
id: '/review_/styles',
|
|
path: '/review/styles',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsSnapshotsRoute = AgentsSnapshotsRouteImport.update({
|
|
id: '/agents_/snapshots',
|
|
path: '/agents/snapshots',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsInstructionsRoute = AgentsInstructionsRouteImport.update({
|
|
id: '/agents_/instructions',
|
|
path: '/agents/instructions',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsThreadsRoute = AgentsThreadsRouteImport.update({
|
|
id: '/threads',
|
|
path: '/threads',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const AgentsThreadIdRoute = AgentsThreadIdRouteImport.update({
|
|
id: '/$threadId',
|
|
path: '/$threadId',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const AdminEvalsRoute = AdminEvalsRouteImport.update({
|
|
id: '/admin_/evals',
|
|
path: '/admin/evals',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsReviewsIndexRoute = AgentsReviewsIndexRouteImport.update({
|
|
id: '/reviews/',
|
|
path: '/reviews/',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const AgentsAutomationsIndexRoute = AgentsAutomationsIndexRouteImport.update({
|
|
id: '/automations/',
|
|
path: '/automations/',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const ReviewRepositoriesOwnerRoute = ReviewRepositoriesOwnerRouteImport.update({
|
|
id: '/review_/repositories/$owner',
|
|
path: '/review/repositories/$owner',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AgentsAutomationsNewRoute = AgentsAutomationsNewRouteImport.update({
|
|
id: '/automations/new',
|
|
path: '/automations/new',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const AgentsAutomationsScheduleIdRoute =
|
|
AgentsAutomationsScheduleIdRouteImport.update({
|
|
id: '/automations/$scheduleId',
|
|
path: '/automations/$scheduleId',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const AgentsThreadIdPlanRoute = AgentsThreadIdPlanRouteImport.update({
|
|
id: '/$threadId_/plan',
|
|
path: '/$threadId/plan',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
const AgentsReviewsOwnerRepoNumberRoute =
|
|
AgentsReviewsOwnerRepoNumberRouteImport.update({
|
|
id: '/reviews/$owner/$repo/$number',
|
|
path: '/reviews/$owner/$repo/$number',
|
|
getParentRoute: () => AgentsRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/admin': typeof AdminRoute
|
|
'/agents': typeof AgentsRouteWithChildren
|
|
'/cloud-agents': typeof CloudAgentsRoute
|
|
'/integrations': typeof IntegrationsRoute
|
|
'/login': typeof LoginRoute
|
|
'/my-settings': typeof MySettingsRoute
|
|
'/review': typeof ReviewRoute
|
|
'/usage': typeof UsageRoute
|
|
'/admin/evals': typeof AdminEvalsRoute
|
|
'/agents/$threadId': typeof AgentsThreadIdRoute
|
|
'/agents/threads': typeof AgentsThreadsRoute
|
|
'/agents/instructions': typeof AgentsInstructionsRoute
|
|
'/agents/snapshots': typeof AgentsSnapshotsRoute
|
|
'/review/styles': typeof ReviewStylesRoute
|
|
'/agents/': typeof AgentsIndexRoute
|
|
'/agents/$threadId/plan': typeof AgentsThreadIdPlanRoute
|
|
'/agents/automations/$scheduleId': typeof AgentsAutomationsScheduleIdRoute
|
|
'/agents/automations/new': typeof AgentsAutomationsNewRoute
|
|
'/review/repositories/$owner': typeof ReviewRepositoriesOwnerRoute
|
|
'/agents/automations/': typeof AgentsAutomationsIndexRoute
|
|
'/agents/reviews/': typeof AgentsReviewsIndexRoute
|
|
'/agents/reviews/$owner/$repo/$number': typeof AgentsReviewsOwnerRepoNumberRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/admin': typeof AdminRoute
|
|
'/cloud-agents': typeof CloudAgentsRoute
|
|
'/integrations': typeof IntegrationsRoute
|
|
'/login': typeof LoginRoute
|
|
'/my-settings': typeof MySettingsRoute
|
|
'/review': typeof ReviewRoute
|
|
'/usage': typeof UsageRoute
|
|
'/admin/evals': typeof AdminEvalsRoute
|
|
'/agents/$threadId': typeof AgentsThreadIdRoute
|
|
'/agents/threads': typeof AgentsThreadsRoute
|
|
'/agents/instructions': typeof AgentsInstructionsRoute
|
|
'/agents/snapshots': typeof AgentsSnapshotsRoute
|
|
'/review/styles': typeof ReviewStylesRoute
|
|
'/agents': typeof AgentsIndexRoute
|
|
'/agents/$threadId/plan': typeof AgentsThreadIdPlanRoute
|
|
'/agents/automations/$scheduleId': typeof AgentsAutomationsScheduleIdRoute
|
|
'/agents/automations/new': typeof AgentsAutomationsNewRoute
|
|
'/review/repositories/$owner': typeof ReviewRepositoriesOwnerRoute
|
|
'/agents/automations': typeof AgentsAutomationsIndexRoute
|
|
'/agents/reviews': typeof AgentsReviewsIndexRoute
|
|
'/agents/reviews/$owner/$repo/$number': typeof AgentsReviewsOwnerRepoNumberRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/admin': typeof AdminRoute
|
|
'/agents': typeof AgentsRouteWithChildren
|
|
'/cloud-agents': typeof CloudAgentsRoute
|
|
'/integrations': typeof IntegrationsRoute
|
|
'/login': typeof LoginRoute
|
|
'/my-settings': typeof MySettingsRoute
|
|
'/review': typeof ReviewRoute
|
|
'/usage': typeof UsageRoute
|
|
'/admin_/evals': typeof AdminEvalsRoute
|
|
'/agents/$threadId': typeof AgentsThreadIdRoute
|
|
'/agents/threads': typeof AgentsThreadsRoute
|
|
'/agents_/instructions': typeof AgentsInstructionsRoute
|
|
'/agents_/snapshots': typeof AgentsSnapshotsRoute
|
|
'/review_/styles': typeof ReviewStylesRoute
|
|
'/agents/': typeof AgentsIndexRoute
|
|
'/agents/$threadId_/plan': typeof AgentsThreadIdPlanRoute
|
|
'/agents/automations/$scheduleId': typeof AgentsAutomationsScheduleIdRoute
|
|
'/agents/automations/new': typeof AgentsAutomationsNewRoute
|
|
'/review_/repositories/$owner': typeof ReviewRepositoriesOwnerRoute
|
|
'/agents/automations/': typeof AgentsAutomationsIndexRoute
|
|
'/agents/reviews/': typeof AgentsReviewsIndexRoute
|
|
'/agents/reviews/$owner/$repo/$number': typeof AgentsReviewsOwnerRepoNumberRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/admin'
|
|
| '/agents'
|
|
| '/cloud-agents'
|
|
| '/integrations'
|
|
| '/login'
|
|
| '/my-settings'
|
|
| '/review'
|
|
| '/usage'
|
|
| '/admin/evals'
|
|
| '/agents/$threadId'
|
|
| '/agents/threads'
|
|
| '/agents/instructions'
|
|
| '/agents/snapshots'
|
|
| '/review/styles'
|
|
| '/agents/'
|
|
| '/agents/$threadId/plan'
|
|
| '/agents/automations/$scheduleId'
|
|
| '/agents/automations/new'
|
|
| '/review/repositories/$owner'
|
|
| '/agents/automations/'
|
|
| '/agents/reviews/'
|
|
| '/agents/reviews/$owner/$repo/$number'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/admin'
|
|
| '/cloud-agents'
|
|
| '/integrations'
|
|
| '/login'
|
|
| '/my-settings'
|
|
| '/review'
|
|
| '/usage'
|
|
| '/admin/evals'
|
|
| '/agents/$threadId'
|
|
| '/agents/threads'
|
|
| '/agents/instructions'
|
|
| '/agents/snapshots'
|
|
| '/review/styles'
|
|
| '/agents'
|
|
| '/agents/$threadId/plan'
|
|
| '/agents/automations/$scheduleId'
|
|
| '/agents/automations/new'
|
|
| '/review/repositories/$owner'
|
|
| '/agents/automations'
|
|
| '/agents/reviews'
|
|
| '/agents/reviews/$owner/$repo/$number'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/admin'
|
|
| '/agents'
|
|
| '/cloud-agents'
|
|
| '/integrations'
|
|
| '/login'
|
|
| '/my-settings'
|
|
| '/review'
|
|
| '/usage'
|
|
| '/admin_/evals'
|
|
| '/agents/$threadId'
|
|
| '/agents/threads'
|
|
| '/agents_/instructions'
|
|
| '/agents_/snapshots'
|
|
| '/review_/styles'
|
|
| '/agents/'
|
|
| '/agents/$threadId_/plan'
|
|
| '/agents/automations/$scheduleId'
|
|
| '/agents/automations/new'
|
|
| '/review_/repositories/$owner'
|
|
| '/agents/automations/'
|
|
| '/agents/reviews/'
|
|
| '/agents/reviews/$owner/$repo/$number'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
AdminRoute: typeof AdminRoute
|
|
AgentsRoute: typeof AgentsRouteWithChildren
|
|
CloudAgentsRoute: typeof CloudAgentsRoute
|
|
IntegrationsRoute: typeof IntegrationsRoute
|
|
LoginRoute: typeof LoginRoute
|
|
MySettingsRoute: typeof MySettingsRoute
|
|
ReviewRoute: typeof ReviewRoute
|
|
UsageRoute: typeof UsageRoute
|
|
AdminEvalsRoute: typeof AdminEvalsRoute
|
|
AgentsInstructionsRoute: typeof AgentsInstructionsRoute
|
|
AgentsSnapshotsRoute: typeof AgentsSnapshotsRoute
|
|
ReviewStylesRoute: typeof ReviewStylesRoute
|
|
ReviewRepositoriesOwnerRoute: typeof ReviewRepositoriesOwnerRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/usage': {
|
|
id: '/usage'
|
|
path: '/usage'
|
|
fullPath: '/usage'
|
|
preLoaderRoute: typeof UsageRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/review': {
|
|
id: '/review'
|
|
path: '/review'
|
|
fullPath: '/review'
|
|
preLoaderRoute: typeof ReviewRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/my-settings': {
|
|
id: '/my-settings'
|
|
path: '/my-settings'
|
|
fullPath: '/my-settings'
|
|
preLoaderRoute: typeof MySettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/integrations': {
|
|
id: '/integrations'
|
|
path: '/integrations'
|
|
fullPath: '/integrations'
|
|
preLoaderRoute: typeof IntegrationsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/cloud-agents': {
|
|
id: '/cloud-agents'
|
|
path: '/cloud-agents'
|
|
fullPath: '/cloud-agents'
|
|
preLoaderRoute: typeof CloudAgentsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents': {
|
|
id: '/agents'
|
|
path: '/agents'
|
|
fullPath: '/agents'
|
|
preLoaderRoute: typeof AgentsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/admin': {
|
|
id: '/admin'
|
|
path: '/admin'
|
|
fullPath: '/admin'
|
|
preLoaderRoute: typeof AdminRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents/': {
|
|
id: '/agents/'
|
|
path: '/'
|
|
fullPath: '/agents/'
|
|
preLoaderRoute: typeof AgentsIndexRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/review_/styles': {
|
|
id: '/review_/styles'
|
|
path: '/review/styles'
|
|
fullPath: '/review/styles'
|
|
preLoaderRoute: typeof ReviewStylesRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents_/snapshots': {
|
|
id: '/agents_/snapshots'
|
|
path: '/agents/snapshots'
|
|
fullPath: '/agents/snapshots'
|
|
preLoaderRoute: typeof AgentsSnapshotsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents_/instructions': {
|
|
id: '/agents_/instructions'
|
|
path: '/agents/instructions'
|
|
fullPath: '/agents/instructions'
|
|
preLoaderRoute: typeof AgentsInstructionsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents/threads': {
|
|
id: '/agents/threads'
|
|
path: '/threads'
|
|
fullPath: '/agents/threads'
|
|
preLoaderRoute: typeof AgentsThreadsRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/agents/$threadId': {
|
|
id: '/agents/$threadId'
|
|
path: '/$threadId'
|
|
fullPath: '/agents/$threadId'
|
|
preLoaderRoute: typeof AgentsThreadIdRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/admin_/evals': {
|
|
id: '/admin_/evals'
|
|
path: '/admin/evals'
|
|
fullPath: '/admin/evals'
|
|
preLoaderRoute: typeof AdminEvalsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents/reviews/': {
|
|
id: '/agents/reviews/'
|
|
path: '/reviews'
|
|
fullPath: '/agents/reviews/'
|
|
preLoaderRoute: typeof AgentsReviewsIndexRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/agents/automations/': {
|
|
id: '/agents/automations/'
|
|
path: '/automations'
|
|
fullPath: '/agents/automations/'
|
|
preLoaderRoute: typeof AgentsAutomationsIndexRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/review_/repositories/$owner': {
|
|
id: '/review_/repositories/$owner'
|
|
path: '/review/repositories/$owner'
|
|
fullPath: '/review/repositories/$owner'
|
|
preLoaderRoute: typeof ReviewRepositoriesOwnerRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/agents/automations/new': {
|
|
id: '/agents/automations/new'
|
|
path: '/automations/new'
|
|
fullPath: '/agents/automations/new'
|
|
preLoaderRoute: typeof AgentsAutomationsNewRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/agents/automations/$scheduleId': {
|
|
id: '/agents/automations/$scheduleId'
|
|
path: '/automations/$scheduleId'
|
|
fullPath: '/agents/automations/$scheduleId'
|
|
preLoaderRoute: typeof AgentsAutomationsScheduleIdRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/agents/$threadId_/plan': {
|
|
id: '/agents/$threadId_/plan'
|
|
path: '/$threadId/plan'
|
|
fullPath: '/agents/$threadId/plan'
|
|
preLoaderRoute: typeof AgentsThreadIdPlanRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
'/agents/reviews/$owner/$repo/$number': {
|
|
id: '/agents/reviews/$owner/$repo/$number'
|
|
path: '/reviews/$owner/$repo/$number'
|
|
fullPath: '/agents/reviews/$owner/$repo/$number'
|
|
preLoaderRoute: typeof AgentsReviewsOwnerRepoNumberRouteImport
|
|
parentRoute: typeof AgentsRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface AgentsRouteChildren {
|
|
AgentsThreadIdRoute: typeof AgentsThreadIdRoute
|
|
AgentsThreadsRoute: typeof AgentsThreadsRoute
|
|
AgentsIndexRoute: typeof AgentsIndexRoute
|
|
AgentsThreadIdPlanRoute: typeof AgentsThreadIdPlanRoute
|
|
AgentsAutomationsScheduleIdRoute: typeof AgentsAutomationsScheduleIdRoute
|
|
AgentsAutomationsNewRoute: typeof AgentsAutomationsNewRoute
|
|
AgentsAutomationsIndexRoute: typeof AgentsAutomationsIndexRoute
|
|
AgentsReviewsIndexRoute: typeof AgentsReviewsIndexRoute
|
|
AgentsReviewsOwnerRepoNumberRoute: typeof AgentsReviewsOwnerRepoNumberRoute
|
|
}
|
|
|
|
const AgentsRouteChildren: AgentsRouteChildren = {
|
|
AgentsThreadIdRoute: AgentsThreadIdRoute,
|
|
AgentsThreadsRoute: AgentsThreadsRoute,
|
|
AgentsIndexRoute: AgentsIndexRoute,
|
|
AgentsThreadIdPlanRoute: AgentsThreadIdPlanRoute,
|
|
AgentsAutomationsScheduleIdRoute: AgentsAutomationsScheduleIdRoute,
|
|
AgentsAutomationsNewRoute: AgentsAutomationsNewRoute,
|
|
AgentsAutomationsIndexRoute: AgentsAutomationsIndexRoute,
|
|
AgentsReviewsIndexRoute: AgentsReviewsIndexRoute,
|
|
AgentsReviewsOwnerRepoNumberRoute: AgentsReviewsOwnerRepoNumberRoute,
|
|
}
|
|
|
|
const AgentsRouteWithChildren =
|
|
AgentsRoute._addFileChildren(AgentsRouteChildren)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
AdminRoute: AdminRoute,
|
|
AgentsRoute: AgentsRouteWithChildren,
|
|
CloudAgentsRoute: CloudAgentsRoute,
|
|
IntegrationsRoute: IntegrationsRoute,
|
|
LoginRoute: LoginRoute,
|
|
MySettingsRoute: MySettingsRoute,
|
|
ReviewRoute: ReviewRoute,
|
|
UsageRoute: UsageRoute,
|
|
AdminEvalsRoute: AdminEvalsRoute,
|
|
AgentsInstructionsRoute: AgentsInstructionsRoute,
|
|
AgentsSnapshotsRoute: AgentsSnapshotsRoute,
|
|
ReviewStylesRoute: ReviewStylesRoute,
|
|
ReviewRepositoriesOwnerRoute: ReviewRepositoriesOwnerRoute,
|
|
}
|
|
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>>
|
|
}
|
|
}
|