feat: complete ops ai workspace bridge
This commit is contained in:
@@ -5,10 +5,14 @@
|
||||
from django.urls import path
|
||||
|
||||
from plane.app.views import (
|
||||
AIWorkspaceExecutorCheckEndpoint,
|
||||
AIWorkspaceExecutorDetailEndpoint,
|
||||
AIWorkspaceExecutorEventsEndpoint,
|
||||
AIWorkspaceExecutorListEndpoint,
|
||||
AIWorkspaceExecutorSelectEndpoint,
|
||||
AIWorkspaceExecutorWindowsAgentEndpoint,
|
||||
AIWorkspaceSettingsEndpoint,
|
||||
AIWorkspaceThreadDispatchEndpoint,
|
||||
AIWorkspaceThreadDetailEndpoint,
|
||||
AIWorkspaceThreadListEndpoint,
|
||||
AIWorkspaceThreadMessagesEndpoint,
|
||||
@@ -16,6 +20,11 @@ from plane.app.views import (
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"workspaces/<str:slug>/ai-workspace/settings/",
|
||||
AIWorkspaceSettingsEndpoint.as_view(),
|
||||
name="ai-workspace-settings",
|
||||
),
|
||||
path(
|
||||
"workspaces/<str:slug>/ai-workspace/executors/",
|
||||
AIWorkspaceExecutorListEndpoint.as_view(),
|
||||
@@ -31,6 +40,16 @@ urlpatterns = [
|
||||
AIWorkspaceExecutorSelectEndpoint.as_view(),
|
||||
name="ai-workspace-executor-select",
|
||||
),
|
||||
path(
|
||||
"workspaces/<str:slug>/ai-workspace/executors/<uuid:executor_id>/check/",
|
||||
AIWorkspaceExecutorCheckEndpoint.as_view(),
|
||||
name="ai-workspace-executor-check",
|
||||
),
|
||||
path(
|
||||
"workspaces/<str:slug>/ai-workspace/executors/<uuid:executor_id>/events/",
|
||||
AIWorkspaceExecutorEventsEndpoint.as_view(),
|
||||
name="ai-workspace-executor-events",
|
||||
),
|
||||
path(
|
||||
"workspaces/<str:slug>/ai-workspace/executors/<uuid:executor_id>/agent/windows.ps1",
|
||||
AIWorkspaceExecutorWindowsAgentEndpoint.as_view(),
|
||||
@@ -51,4 +70,9 @@ urlpatterns = [
|
||||
AIWorkspaceThreadMessagesEndpoint.as_view(),
|
||||
name="ai-workspace-thread-messages",
|
||||
),
|
||||
path(
|
||||
"workspaces/<str:slug>/ai-workspace/threads/<uuid:thread_id>/dispatch/",
|
||||
AIWorkspaceThreadDispatchEndpoint.as_view(),
|
||||
name="ai-workspace-thread-dispatch",
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user