local_files

Local files browser route handlers

File Browser Router Initialization

Add/Remove External Source Handlers

Router


init_local_files_router


def init_local_files_router(
    state_store:SQLiteWorkflowStateStore, # The workflow state store
    workflow_id:str, # The workflow identifier
    source_service:SourceService, # The source service for external db ops
    prefix:str, # Route prefix (e.g., "/workflow/selection/local_files")
    urls:SelectionUrls, # URL bundle for rendering
    manager_label:Optional=None, # Human-readable label for the local file browser's ZoneManager — surfaces in the hints modal section header when LocalFilesResult.kb_manager is passed as a child_managers entry
)->LocalFilesResult: # Router result with routers, routes, render, restore, and reset

Initialize local files browser routes with new file browser API.