[ [ "GET", "^/(links)?$", null, "h_root" ], [ "GET", "^/agent$", "client", "h_agent_get" ], [ "POST", "^/agent/claim$", "agent", "h_claim" ], [ "GET", "^/agent/commands/(\\d+)$", "agent", "h_agent_command" ], [ "POST", "^/agent/commands/(\\d+)/result$", "agent", "h_agent_result" ], [ "POST", "^/agent/files$", "agent", "h_agent_files_post" ], [ "GET", "^/agent/files/([^/]+)$", "agent", "h_agent_file" ], [ "POST", "^/agent/history$", "agent", "h_agent_history" ], [ "GET", "^/agent/known-keys$", "agent", "h_known_keys" ], [ "GET", "^/agent/release$", "agent", "h_agent_release" ], [ "GET", "^/agent/settings$", "agent", "h_agent_settings" ], [ "POST", "^/agent/state$", "agent", "h_agent_state" ], [ "POST", "^/agent/wiki/pages$", "agent", "h_agent_pages" ], [ "GET", "^/agents$", "client", "h_agents_get" ], [ "GET", "^/app(?:/(.*))?$", null, "h_app" ], [ "GET", "^/attachments/(\\d+)$", "client", "h_attachment_get" ], [ "GET", "^/attachments/(\\d+)/content$", "client", "h_attachment_content" ], [ "POST", "^/attachments/(\\d+)/fetch$", "client", "h_attachment_fetch" ], [ "GET", "^/batches$", "client", "h_batches_get" ], [ "POST", "^/batches$", "client", "h_batches_post" ], [ "GET", "^/batches/(\\d+)$", "client", "h_batch_get" ], [ "POST", "^/batches/(\\d+)/cancel$", "client", "h_batch_cancel" ], [ "GET", "^/board$", "client", "h_board" ], [ "GET", "^/changes$", "client", "h_changes" ], [ "POST", "^/commands/(\\d+)/cancel$", "client", "h_command_cancel" ], [ "POST", "^/commands/(\\d+)/retry$", "client", "h_command_retry" ], [ "POST", "^/files$", "client", "h_files_post" ], [ "GET", "^/issues$", "client", "h_issues" ], [ "GET", "^/issues/([^/]+)$", "client", "h_issue" ], [ "PUT", "^/issues/([^/]+)/note$", "client", "h_note_put" ], [ "GET", "^/projects$", "client", "h_projects_get" ], [ "POST", "^/projects$", "client", "h_projects_post" ], [ "PATCH", "^/projects/([^/]+)$", "client", "h_project_patch" ], [ "POST", "^/refresh$", "client", "h_refresh" ], [ "GET", "^/settings$", "client", "h_settings_get" ], [ "PUT", "^/settings$", "client", "h_settings_put" ], [ "GET", "^/sync-runs$", "client", "h_sync_runs" ] ]