/ src / routeTree.gen.ts
routeTree.gen.ts
  1  /* eslint-disable */
  2  
  3  // @ts-nocheck
  4  
  5  // noinspection JSUnusedGlobalSymbols
  6  
  7  // This file was automatically generated by TanStack Router.
  8  // You should NOT make any changes in this file as it will be overwritten.
  9  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
 10  
 11  import { Route as rootRouteImport } from './routes/__root'
 12  import { Route as IndexRouteImport } from './routes/index'
 13  import { Route as ApiUploadsRouteImport } from './routes/api/uploads'
 14  import { Route as ApiTranscribeRouteImport } from './routes/api/transcribe'
 15  import { Route as ApiToolExecutionsRouteImport } from './routes/api/tool-executions'
 16  import { Route as ApiTasksRouteImport } from './routes/api/tasks'
 17  import { Route as ApiSettingsRouteImport } from './routes/api/settings'
 18  import { Route as ApiSessionRouteImport } from './routes/api/session'
 19  import { Route as ApiMessagesRouteImport } from './routes/api/messages'
 20  import { Route as ApiCostsRouteImport } from './routes/api/costs'
 21  import { Route as ApiChatStreamRouteImport } from './routes/api/chat-stream'
 22  import { Route as ApiChatRetryRouteImport } from './routes/api/chat-retry'
 23  import { Route as ApiChatDeleteRouteImport } from './routes/api/chat-delete'
 24  import { Route as ApiChatRouteImport } from './routes/api/chat'
 25  import { Route as ApiAgentHealthRouteImport } from './routes/api/agent-health'
 26  import { Route as ApiWorkflowsRespondRouteImport } from './routes/api/workflows/respond'
 27  import { Route as ApiProvidersTestModelRouteImport } from './routes/api/providers/test-model'
 28  import { Route as ApiProvidersProbeRouteImport } from './routes/api/providers/probe'
 29  import { Route as ApiAgentsAuthRouteImport } from './routes/api/agents/auth'
 30  import { Route as ApiTasksTaskIdEventsRouteImport } from './routes/api/tasks/$taskId/events'
 31  import { Route as ApiTasksTaskIdCancelRouteImport } from './routes/api/tasks/$taskId/cancel'
 32  
 33  const IndexRoute = IndexRouteImport.update({
 34    id: '/',
 35    path: '/',
 36    getParentRoute: () => rootRouteImport,
 37  } as any)
 38  const ApiUploadsRoute = ApiUploadsRouteImport.update({
 39    id: '/api/uploads',
 40    path: '/api/uploads',
 41    getParentRoute: () => rootRouteImport,
 42  } as any)
 43  const ApiTranscribeRoute = ApiTranscribeRouteImport.update({
 44    id: '/api/transcribe',
 45    path: '/api/transcribe',
 46    getParentRoute: () => rootRouteImport,
 47  } as any)
 48  const ApiToolExecutionsRoute = ApiToolExecutionsRouteImport.update({
 49    id: '/api/tool-executions',
 50    path: '/api/tool-executions',
 51    getParentRoute: () => rootRouteImport,
 52  } as any)
 53  const ApiTasksRoute = ApiTasksRouteImport.update({
 54    id: '/api/tasks',
 55    path: '/api/tasks',
 56    getParentRoute: () => rootRouteImport,
 57  } as any)
 58  const ApiSettingsRoute = ApiSettingsRouteImport.update({
 59    id: '/api/settings',
 60    path: '/api/settings',
 61    getParentRoute: () => rootRouteImport,
 62  } as any)
 63  const ApiSessionRoute = ApiSessionRouteImport.update({
 64    id: '/api/session',
 65    path: '/api/session',
 66    getParentRoute: () => rootRouteImport,
 67  } as any)
 68  const ApiMessagesRoute = ApiMessagesRouteImport.update({
 69    id: '/api/messages',
 70    path: '/api/messages',
 71    getParentRoute: () => rootRouteImport,
 72  } as any)
 73  const ApiCostsRoute = ApiCostsRouteImport.update({
 74    id: '/api/costs',
 75    path: '/api/costs',
 76    getParentRoute: () => rootRouteImport,
 77  } as any)
 78  const ApiChatStreamRoute = ApiChatStreamRouteImport.update({
 79    id: '/api/chat-stream',
 80    path: '/api/chat-stream',
 81    getParentRoute: () => rootRouteImport,
 82  } as any)
 83  const ApiChatRetryRoute = ApiChatRetryRouteImport.update({
 84    id: '/api/chat-retry',
 85    path: '/api/chat-retry',
 86    getParentRoute: () => rootRouteImport,
 87  } as any)
 88  const ApiChatDeleteRoute = ApiChatDeleteRouteImport.update({
 89    id: '/api/chat-delete',
 90    path: '/api/chat-delete',
 91    getParentRoute: () => rootRouteImport,
 92  } as any)
 93  const ApiChatRoute = ApiChatRouteImport.update({
 94    id: '/api/chat',
 95    path: '/api/chat',
 96    getParentRoute: () => rootRouteImport,
 97  } as any)
 98  const ApiAgentHealthRoute = ApiAgentHealthRouteImport.update({
 99    id: '/api/agent-health',
100    path: '/api/agent-health',
101    getParentRoute: () => rootRouteImport,
102  } as any)
103  const ApiWorkflowsRespondRoute = ApiWorkflowsRespondRouteImport.update({
104    id: '/api/workflows/respond',
105    path: '/api/workflows/respond',
106    getParentRoute: () => rootRouteImport,
107  } as any)
108  const ApiProvidersTestModelRoute = ApiProvidersTestModelRouteImport.update({
109    id: '/api/providers/test-model',
110    path: '/api/providers/test-model',
111    getParentRoute: () => rootRouteImport,
112  } as any)
113  const ApiProvidersProbeRoute = ApiProvidersProbeRouteImport.update({
114    id: '/api/providers/probe',
115    path: '/api/providers/probe',
116    getParentRoute: () => rootRouteImport,
117  } as any)
118  const ApiAgentsAuthRoute = ApiAgentsAuthRouteImport.update({
119    id: '/api/agents/auth',
120    path: '/api/agents/auth',
121    getParentRoute: () => rootRouteImport,
122  } as any)
123  const ApiTasksTaskIdEventsRoute = ApiTasksTaskIdEventsRouteImport.update({
124    id: '/$taskId/events',
125    path: '/$taskId/events',
126    getParentRoute: () => ApiTasksRoute,
127  } as any)
128  const ApiTasksTaskIdCancelRoute = ApiTasksTaskIdCancelRouteImport.update({
129    id: '/$taskId/cancel',
130    path: '/$taskId/cancel',
131    getParentRoute: () => ApiTasksRoute,
132  } as any)
133  
134  export interface FileRoutesByFullPath {
135    '/': typeof IndexRoute
136    '/api/agent-health': typeof ApiAgentHealthRoute
137    '/api/chat': typeof ApiChatRoute
138    '/api/chat-delete': typeof ApiChatDeleteRoute
139    '/api/chat-retry': typeof ApiChatRetryRoute
140    '/api/chat-stream': typeof ApiChatStreamRoute
141    '/api/costs': typeof ApiCostsRoute
142    '/api/messages': typeof ApiMessagesRoute
143    '/api/session': typeof ApiSessionRoute
144    '/api/settings': typeof ApiSettingsRoute
145    '/api/tasks': typeof ApiTasksRouteWithChildren
146    '/api/tool-executions': typeof ApiToolExecutionsRoute
147    '/api/transcribe': typeof ApiTranscribeRoute
148    '/api/uploads': typeof ApiUploadsRoute
149    '/api/agents/auth': typeof ApiAgentsAuthRoute
150    '/api/providers/probe': typeof ApiProvidersProbeRoute
151    '/api/providers/test-model': typeof ApiProvidersTestModelRoute
152    '/api/workflows/respond': typeof ApiWorkflowsRespondRoute
153    '/api/tasks/$taskId/cancel': typeof ApiTasksTaskIdCancelRoute
154    '/api/tasks/$taskId/events': typeof ApiTasksTaskIdEventsRoute
155  }
156  export interface FileRoutesByTo {
157    '/': typeof IndexRoute
158    '/api/agent-health': typeof ApiAgentHealthRoute
159    '/api/chat': typeof ApiChatRoute
160    '/api/chat-delete': typeof ApiChatDeleteRoute
161    '/api/chat-retry': typeof ApiChatRetryRoute
162    '/api/chat-stream': typeof ApiChatStreamRoute
163    '/api/costs': typeof ApiCostsRoute
164    '/api/messages': typeof ApiMessagesRoute
165    '/api/session': typeof ApiSessionRoute
166    '/api/settings': typeof ApiSettingsRoute
167    '/api/tasks': typeof ApiTasksRouteWithChildren
168    '/api/tool-executions': typeof ApiToolExecutionsRoute
169    '/api/transcribe': typeof ApiTranscribeRoute
170    '/api/uploads': typeof ApiUploadsRoute
171    '/api/agents/auth': typeof ApiAgentsAuthRoute
172    '/api/providers/probe': typeof ApiProvidersProbeRoute
173    '/api/providers/test-model': typeof ApiProvidersTestModelRoute
174    '/api/workflows/respond': typeof ApiWorkflowsRespondRoute
175    '/api/tasks/$taskId/cancel': typeof ApiTasksTaskIdCancelRoute
176    '/api/tasks/$taskId/events': typeof ApiTasksTaskIdEventsRoute
177  }
178  export interface FileRoutesById {
179    __root__: typeof rootRouteImport
180    '/': typeof IndexRoute
181    '/api/agent-health': typeof ApiAgentHealthRoute
182    '/api/chat': typeof ApiChatRoute
183    '/api/chat-delete': typeof ApiChatDeleteRoute
184    '/api/chat-retry': typeof ApiChatRetryRoute
185    '/api/chat-stream': typeof ApiChatStreamRoute
186    '/api/costs': typeof ApiCostsRoute
187    '/api/messages': typeof ApiMessagesRoute
188    '/api/session': typeof ApiSessionRoute
189    '/api/settings': typeof ApiSettingsRoute
190    '/api/tasks': typeof ApiTasksRouteWithChildren
191    '/api/tool-executions': typeof ApiToolExecutionsRoute
192    '/api/transcribe': typeof ApiTranscribeRoute
193    '/api/uploads': typeof ApiUploadsRoute
194    '/api/agents/auth': typeof ApiAgentsAuthRoute
195    '/api/providers/probe': typeof ApiProvidersProbeRoute
196    '/api/providers/test-model': typeof ApiProvidersTestModelRoute
197    '/api/workflows/respond': typeof ApiWorkflowsRespondRoute
198    '/api/tasks/$taskId/cancel': typeof ApiTasksTaskIdCancelRoute
199    '/api/tasks/$taskId/events': typeof ApiTasksTaskIdEventsRoute
200  }
201  export interface FileRouteTypes {
202    fileRoutesByFullPath: FileRoutesByFullPath
203    fullPaths:
204      | '/'
205      | '/api/agent-health'
206      | '/api/chat'
207      | '/api/chat-delete'
208      | '/api/chat-retry'
209      | '/api/chat-stream'
210      | '/api/costs'
211      | '/api/messages'
212      | '/api/session'
213      | '/api/settings'
214      | '/api/tasks'
215      | '/api/tool-executions'
216      | '/api/transcribe'
217      | '/api/uploads'
218      | '/api/agents/auth'
219      | '/api/providers/probe'
220      | '/api/providers/test-model'
221      | '/api/workflows/respond'
222      | '/api/tasks/$taskId/cancel'
223      | '/api/tasks/$taskId/events'
224    fileRoutesByTo: FileRoutesByTo
225    to:
226      | '/'
227      | '/api/agent-health'
228      | '/api/chat'
229      | '/api/chat-delete'
230      | '/api/chat-retry'
231      | '/api/chat-stream'
232      | '/api/costs'
233      | '/api/messages'
234      | '/api/session'
235      | '/api/settings'
236      | '/api/tasks'
237      | '/api/tool-executions'
238      | '/api/transcribe'
239      | '/api/uploads'
240      | '/api/agents/auth'
241      | '/api/providers/probe'
242      | '/api/providers/test-model'
243      | '/api/workflows/respond'
244      | '/api/tasks/$taskId/cancel'
245      | '/api/tasks/$taskId/events'
246    id:
247      | '__root__'
248      | '/'
249      | '/api/agent-health'
250      | '/api/chat'
251      | '/api/chat-delete'
252      | '/api/chat-retry'
253      | '/api/chat-stream'
254      | '/api/costs'
255      | '/api/messages'
256      | '/api/session'
257      | '/api/settings'
258      | '/api/tasks'
259      | '/api/tool-executions'
260      | '/api/transcribe'
261      | '/api/uploads'
262      | '/api/agents/auth'
263      | '/api/providers/probe'
264      | '/api/providers/test-model'
265      | '/api/workflows/respond'
266      | '/api/tasks/$taskId/cancel'
267      | '/api/tasks/$taskId/events'
268    fileRoutesById: FileRoutesById
269  }
270  export interface RootRouteChildren {
271    IndexRoute: typeof IndexRoute
272    ApiAgentHealthRoute: typeof ApiAgentHealthRoute
273    ApiChatRoute: typeof ApiChatRoute
274    ApiChatDeleteRoute: typeof ApiChatDeleteRoute
275    ApiChatRetryRoute: typeof ApiChatRetryRoute
276    ApiChatStreamRoute: typeof ApiChatStreamRoute
277    ApiCostsRoute: typeof ApiCostsRoute
278    ApiMessagesRoute: typeof ApiMessagesRoute
279    ApiSessionRoute: typeof ApiSessionRoute
280    ApiSettingsRoute: typeof ApiSettingsRoute
281    ApiTasksRoute: typeof ApiTasksRouteWithChildren
282    ApiToolExecutionsRoute: typeof ApiToolExecutionsRoute
283    ApiTranscribeRoute: typeof ApiTranscribeRoute
284    ApiUploadsRoute: typeof ApiUploadsRoute
285    ApiAgentsAuthRoute: typeof ApiAgentsAuthRoute
286    ApiProvidersProbeRoute: typeof ApiProvidersProbeRoute
287    ApiProvidersTestModelRoute: typeof ApiProvidersTestModelRoute
288    ApiWorkflowsRespondRoute: typeof ApiWorkflowsRespondRoute
289  }
290  
291  declare module '@tanstack/react-router' {
292    interface FileRoutesByPath {
293      '/': {
294        id: '/'
295        path: '/'
296        fullPath: '/'
297        preLoaderRoute: typeof IndexRouteImport
298        parentRoute: typeof rootRouteImport
299      }
300      '/api/uploads': {
301        id: '/api/uploads'
302        path: '/api/uploads'
303        fullPath: '/api/uploads'
304        preLoaderRoute: typeof ApiUploadsRouteImport
305        parentRoute: typeof rootRouteImport
306      }
307      '/api/transcribe': {
308        id: '/api/transcribe'
309        path: '/api/transcribe'
310        fullPath: '/api/transcribe'
311        preLoaderRoute: typeof ApiTranscribeRouteImport
312        parentRoute: typeof rootRouteImport
313      }
314      '/api/tool-executions': {
315        id: '/api/tool-executions'
316        path: '/api/tool-executions'
317        fullPath: '/api/tool-executions'
318        preLoaderRoute: typeof ApiToolExecutionsRouteImport
319        parentRoute: typeof rootRouteImport
320      }
321      '/api/tasks': {
322        id: '/api/tasks'
323        path: '/api/tasks'
324        fullPath: '/api/tasks'
325        preLoaderRoute: typeof ApiTasksRouteImport
326        parentRoute: typeof rootRouteImport
327      }
328      '/api/settings': {
329        id: '/api/settings'
330        path: '/api/settings'
331        fullPath: '/api/settings'
332        preLoaderRoute: typeof ApiSettingsRouteImport
333        parentRoute: typeof rootRouteImport
334      }
335      '/api/session': {
336        id: '/api/session'
337        path: '/api/session'
338        fullPath: '/api/session'
339        preLoaderRoute: typeof ApiSessionRouteImport
340        parentRoute: typeof rootRouteImport
341      }
342      '/api/messages': {
343        id: '/api/messages'
344        path: '/api/messages'
345        fullPath: '/api/messages'
346        preLoaderRoute: typeof ApiMessagesRouteImport
347        parentRoute: typeof rootRouteImport
348      }
349      '/api/costs': {
350        id: '/api/costs'
351        path: '/api/costs'
352        fullPath: '/api/costs'
353        preLoaderRoute: typeof ApiCostsRouteImport
354        parentRoute: typeof rootRouteImport
355      }
356      '/api/chat-stream': {
357        id: '/api/chat-stream'
358        path: '/api/chat-stream'
359        fullPath: '/api/chat-stream'
360        preLoaderRoute: typeof ApiChatStreamRouteImport
361        parentRoute: typeof rootRouteImport
362      }
363      '/api/chat-retry': {
364        id: '/api/chat-retry'
365        path: '/api/chat-retry'
366        fullPath: '/api/chat-retry'
367        preLoaderRoute: typeof ApiChatRetryRouteImport
368        parentRoute: typeof rootRouteImport
369      }
370      '/api/chat-delete': {
371        id: '/api/chat-delete'
372        path: '/api/chat-delete'
373        fullPath: '/api/chat-delete'
374        preLoaderRoute: typeof ApiChatDeleteRouteImport
375        parentRoute: typeof rootRouteImport
376      }
377      '/api/chat': {
378        id: '/api/chat'
379        path: '/api/chat'
380        fullPath: '/api/chat'
381        preLoaderRoute: typeof ApiChatRouteImport
382        parentRoute: typeof rootRouteImport
383      }
384      '/api/agent-health': {
385        id: '/api/agent-health'
386        path: '/api/agent-health'
387        fullPath: '/api/agent-health'
388        preLoaderRoute: typeof ApiAgentHealthRouteImport
389        parentRoute: typeof rootRouteImport
390      }
391      '/api/workflows/respond': {
392        id: '/api/workflows/respond'
393        path: '/api/workflows/respond'
394        fullPath: '/api/workflows/respond'
395        preLoaderRoute: typeof ApiWorkflowsRespondRouteImport
396        parentRoute: typeof rootRouteImport
397      }
398      '/api/providers/test-model': {
399        id: '/api/providers/test-model'
400        path: '/api/providers/test-model'
401        fullPath: '/api/providers/test-model'
402        preLoaderRoute: typeof ApiProvidersTestModelRouteImport
403        parentRoute: typeof rootRouteImport
404      }
405      '/api/providers/probe': {
406        id: '/api/providers/probe'
407        path: '/api/providers/probe'
408        fullPath: '/api/providers/probe'
409        preLoaderRoute: typeof ApiProvidersProbeRouteImport
410        parentRoute: typeof rootRouteImport
411      }
412      '/api/agents/auth': {
413        id: '/api/agents/auth'
414        path: '/api/agents/auth'
415        fullPath: '/api/agents/auth'
416        preLoaderRoute: typeof ApiAgentsAuthRouteImport
417        parentRoute: typeof rootRouteImport
418      }
419      '/api/tasks/$taskId/events': {
420        id: '/api/tasks/$taskId/events'
421        path: '/$taskId/events'
422        fullPath: '/api/tasks/$taskId/events'
423        preLoaderRoute: typeof ApiTasksTaskIdEventsRouteImport
424        parentRoute: typeof ApiTasksRoute
425      }
426      '/api/tasks/$taskId/cancel': {
427        id: '/api/tasks/$taskId/cancel'
428        path: '/$taskId/cancel'
429        fullPath: '/api/tasks/$taskId/cancel'
430        preLoaderRoute: typeof ApiTasksTaskIdCancelRouteImport
431        parentRoute: typeof ApiTasksRoute
432      }
433    }
434  }
435  
436  interface ApiTasksRouteChildren {
437    ApiTasksTaskIdCancelRoute: typeof ApiTasksTaskIdCancelRoute
438    ApiTasksTaskIdEventsRoute: typeof ApiTasksTaskIdEventsRoute
439  }
440  
441  const ApiTasksRouteChildren: ApiTasksRouteChildren = {
442    ApiTasksTaskIdCancelRoute: ApiTasksTaskIdCancelRoute,
443    ApiTasksTaskIdEventsRoute: ApiTasksTaskIdEventsRoute,
444  }
445  
446  const ApiTasksRouteWithChildren = ApiTasksRoute._addFileChildren(
447    ApiTasksRouteChildren,
448  )
449  
450  const rootRouteChildren: RootRouteChildren = {
451    IndexRoute: IndexRoute,
452    ApiAgentHealthRoute: ApiAgentHealthRoute,
453    ApiChatRoute: ApiChatRoute,
454    ApiChatDeleteRoute: ApiChatDeleteRoute,
455    ApiChatRetryRoute: ApiChatRetryRoute,
456    ApiChatStreamRoute: ApiChatStreamRoute,
457    ApiCostsRoute: ApiCostsRoute,
458    ApiMessagesRoute: ApiMessagesRoute,
459    ApiSessionRoute: ApiSessionRoute,
460    ApiSettingsRoute: ApiSettingsRoute,
461    ApiTasksRoute: ApiTasksRouteWithChildren,
462    ApiToolExecutionsRoute: ApiToolExecutionsRoute,
463    ApiTranscribeRoute: ApiTranscribeRoute,
464    ApiUploadsRoute: ApiUploadsRoute,
465    ApiAgentsAuthRoute: ApiAgentsAuthRoute,
466    ApiProvidersProbeRoute: ApiProvidersProbeRoute,
467    ApiProvidersTestModelRoute: ApiProvidersTestModelRoute,
468    ApiWorkflowsRespondRoute: ApiWorkflowsRespondRoute,
469  }
470  export const routeTree = rootRouteImport
471    ._addFileChildren(rootRouteChildren)
472    ._addFileTypes<FileRouteTypes>()
473  
474  import type { getRouter } from './router.tsx'
475  import type { createStart } from '@tanstack/react-start'
476  declare module '@tanstack/react-start' {
477    interface Register {
478      ssr: true
479      router: Awaited<ReturnType<typeof getRouter>>
480    }
481  }