Artifex/artifex/urls.py

80 lines
4.2 KiB
Python
Raw Permalink Normal View History

2026-08-15 13:50:24 +07:00
from __future__ import annotations
from django.contrib import admin
from django.urls import path
from control_plane.authoring import views as authoring_views
2026-08-17 01:04:02 +07:00
from control_plane.model_studio import views as model_studio_views
from control_plane.projects import views
2026-08-17 13:48:50 +07:00
from control_plane.trading_studio import views as trading_studio_views
2026-08-15 13:50:24 +07:00
urlpatterns = [
path("", views.dashboard, name="dashboard"),
path("projects/", views.projects, name="projects"),
path("projects/<uuid:project_id>/", views.project_workspace, name="project_workspace"),
path("projects/<uuid:project_id>/brain/", views.project_brain, name="project_brain"),
path("projects/<uuid:project_id>/archaeologist/", views.project_archaeologist, name="project_archaeologist"),
path("projects/<uuid:project_id>/dag.json", views.project_dag_json, name="project_dag_json"),
path("projects/<uuid:project_id>/explore/run/", views.run_explore, name="run_explore"),
path("projects/<uuid:project_id>/explore/", views.explore, name="project_explore"),
path("projects/<uuid:project_id>/roadmap/", views.roadmap, name="project_roadmap"),
path("projects/<uuid:project_id>/scenarios/", views.scenarios, name="project_scenarios"),
path("projects/<uuid:project_id>/steward/", views.project_steward, name="project_steward"),
path("tasks/<uuid:task_id>/", views.task_detail, name="task_detail"),
path("graph-runs/<int:graph_run_id>/", views.graph_run_detail, name="graph_run_detail"),
path("graph-runs/<int:graph_run_id>/status.json", views.graph_run_json, name="graph_run_json"),
path("steward/", views.steward, name="steward"),
path("explore/", views.explore, name="explore"),
path("opportunities/<uuid:opportunity_id>/action/", views.opportunity_action, name="opportunity_action"),
path("roadmap/", views.roadmap, name="roadmap"),
path("roadmap/<uuid:item_id>/action/", views.roadmap_action, name="roadmap_action"),
path("scenario-lab/", views.scenarios, name="scenarios"),
path("scenario-findings/<uuid:finding_id>/action/", views.scenario_finding_action, name="scenario_finding_action"),
path("progeny/", views.progeny, name="progeny"),
path("agents/", views.agent_control_room, name="agent_control_room"),
path("agents/<uuid:version_id>/", views.agent_detail, name="agent_detail"),
path("agents/<uuid:version_id>/performance.json", views.agent_performance_json, name="agent_performance_json"),
path("resources/", views.resources, name="resources"),
2026-08-17 01:04:02 +07:00
path("model-studio/", model_studio_views.model_studio, name="model_studio"),
path("model-studio/<uuid:project_id>/", model_studio_views.model_studio_project, name="model_studio_project"),
2026-08-17 13:48:50 +07:00
path("trading-studio/", trading_studio_views.trading_studio, name="trading_studio"),
path("trading-studio/<uuid:project_id>/", trading_studio_views.trading_studio_project, name="trading_studio_project"),
path("approvals/", views.approvals, name="approvals"),
path("approvals/<int:approval_id>/action/", views.approval_action, name="approval_action"),
path("api/authoring/book-states/", authoring_views.book_states, name="book_states"),
path(
"api/authoring/book-states/<uuid:state_id>/",
authoring_views.book_state_detail,
name="book_state_detail",
),
path(
"api/authoring/book-states/<uuid:state_id>/actions/",
authoring_views.book_state_action,
name="book_state_action",
),
path("api/authoring/ideas/", authoring_views.scene_ideas, name="scene_ideas"),
path(
"api/authoring/ideas/<uuid:idea_id>/",
authoring_views.scene_idea_detail,
name="scene_idea_detail",
),
path(
"api/authoring/ideas/<uuid:idea_id>/actions/",
authoring_views.scene_idea_action,
name="scene_idea_action",
),
path("api/authoring/scenes/", authoring_views.standalone_scenes, name="standalone_scenes"),
path(
"api/authoring/scenes/<uuid:scene_id>/",
authoring_views.standalone_scene_detail,
name="standalone_scene_detail",
),
path(
"api/authoring/scenes/<uuid:scene_id>/actions/",
authoring_views.standalone_scene_action,
name="standalone_scene_action",
),
path("activity/", views.activity, name="activity"),
2026-08-15 13:50:24 +07:00
path("admin/", admin.site.urls),
]