diff --git a/Launch-Dashboard.bat b/Launch-Dashboard.bat new file mode 100644 index 0000000..adc52e1 --- /dev/null +++ b/Launch-Dashboard.bat @@ -0,0 +1,4 @@ +@echo off +cd /d "%~dp0" +powershell -NoLogo -ExecutionPolicy Bypass -File "%~dp0start.ps1" +pause diff --git a/dashboard/api.js b/dashboard/api.js index bdb2284..b2bf437 100644 --- a/dashboard/api.js +++ b/dashboard/api.js @@ -52,6 +52,9 @@ const api = { discoverStandards: () => api.post('/api/standards/discover'), chat: (agent, message, controller) => api.post('/api/chat', { agent, message }, controller), getChatHistory: () => api.get('/api/chat/history'), + // Terminal + getTerminalSession: () => api.get('/api/terminal/session'), + runTerminalCommand: (command) => api.post('/api/terminal/run', { command }), // Kanban getKanbanBoard: (status) => api.get(status ? `/api/kanban/board?status=${encodeURIComponent(status)}` : '/api/kanban/board'), getKanbanTask: (id) => api.get(`/api/kanban/tasks/${encodeURIComponent(id)}`), @@ -64,6 +67,7 @@ const api = { linkKanbanTasks: (parentId, childId) => api.post('/api/kanban/links', { parent_id: parentId, child_id: childId }), unlinkKanbanTasks: (parentId, childId) => api.del(`/api/kanban/links?parent_id=${encodeURIComponent(parentId)}&child_id=${encodeURIComponent(childId)}`), dispatchKanban: () => api.post('/api/kanban/dispatch', {}), + dispatchKanbanTask: (id) => api.post(`/api/kanban/tasks/${encodeURIComponent(id)}/dispatch`, {}), specifyKanbanTask: (id) => api.post(`/api/kanban/tasks/${encodeURIComponent(id)}/specify`, {}), decomposeKanbanTask: (id) => api.post(`/api/kanban/tasks/${encodeURIComponent(id)}/decompose`, {}), // Goals diff --git a/dashboard/index.html b/dashboard/index.html index 4f7899e..6a600ba 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -33,6 +33,7 @@
Run shell commands directly on this machine
+