Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
227 changes: 203 additions & 24 deletions bun.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"@radix-ui/react-tooltip": "^1.2.8",
"@shipsec/backend-client": "workspace:*",
"@shipsec/shared": "workspace:*",
"@types/react-syntax-highlighter": "^15.5.13",
"@uiw/react-markdown-preview": "^5.1.5",
"ai": "^5.0.76",
"ansi_up": "^6.0.6",
Expand All @@ -78,12 +79,14 @@
"markdown-it-html5-embed": "^1.0.0",
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-task-lists": "^2.1.1",
"mermaid": "^11.12.2",
"monaco-editor": "^0.55.1",
"postcss": "^8.5.6",
"posthog-js": "^1.288.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.9.3",
"react-syntax-highlighter": "^16.1.0",
"reactflow": "^11.11.4",
"tailwind-merge": "^3.3.1",
"xterm": "^5.3.0",
Expand Down
85 changes: 37 additions & 48 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { WebhookEditorPage } from '@/pages/WebhookEditorPage';
import { SchedulesPage } from '@/pages/SchedulesPage';
import { ActionCenterPage } from '@/pages/ActionCenterPage';
import { RunRedirect } from '@/pages/RunRedirect';
import { AgentPage } from '@/pages/AgentPage';
import { ToastProvider } from '@/components/ui/toast-provider';
import { AppLayout } from '@/components/layout/AppLayout';
import { AuthProvider } from '@/auth/auth-context';
Expand Down Expand Up @@ -46,54 +47,42 @@ function App() {
{/* Analytics wiring */}
<AnalyticsRouterListener />
<PostHogClerkBridge />
<AppLayout>
<ProtectedRoute>
<Routes>
<Route path="/" element={<WorkflowList />} />
<Route
path="/workflows/:id"
element={
<ProtectedRoute>
<WorkflowBuilder />
</ProtectedRoute>
}
/>
<Route
path="/workflows/:id/runs"
element={
<ProtectedRoute>
<WorkflowBuilder />
</ProtectedRoute>
}
/>
<Route
path="/workflows/:id/runs/:runId"
element={
<ProtectedRoute>
<WorkflowBuilder />
</ProtectedRoute>
}
/>
<Route path="/secrets" element={<SecretsManager />} />
<Route path="/api-keys" element={<ApiKeysManager />} />
<Route path="/integrations" element={<IntegrationsManager />} />
<Route path="/webhooks" element={<WebhooksPage />} />
<Route path="/webhooks/new" element={<WebhookEditorPage />} />
<Route path="/webhooks/:id" element={<WebhookEditorPage />} />
<Route path="/webhooks/:id/deliveries" element={<WebhookEditorPage />} />
<Route path="/webhooks/:id/settings" element={<WebhookEditorPage />} />
<Route path="/schedules" element={<SchedulesPage />} />
<Route path="/action-center" element={<ActionCenterPage />} />
<Route path="/artifacts" element={<ArtifactLibrary />} />
<Route path="/runs/:runId" element={<RunRedirect />} />
<Route
path="/integrations/callback/:provider"
element={<IntegrationCallback />}
/>
<Route path="*" element={<NotFound />} />
</Routes>
</ProtectedRoute>
</AppLayout>
<Routes>
<Route
path="/*"
element={
<AppLayout>
<ProtectedRoute>
<Routes>
<Route path="/" element={<AgentPage />} />
<Route path="/c/:conversationId" element={<AgentPage />} />
<Route path="/workflows" element={<WorkflowList />} />
<Route path="/workflows/:id" element={<WorkflowBuilder />} />
<Route path="/workflows/:id/runs" element={<WorkflowBuilder />} />
<Route path="/workflows/:id/runs/:runId" element={<WorkflowBuilder />} />
<Route path="/secrets" element={<SecretsManager />} />
<Route path="/api-keys" element={<ApiKeysManager />} />
<Route path="/integrations" element={<IntegrationsManager />} />
<Route path="/webhooks" element={<WebhooksPage />} />
<Route path="/webhooks/new" element={<WebhookEditorPage />} />
<Route path="/webhooks/:id" element={<WebhookEditorPage />} />
<Route path="/webhooks/:id/deliveries" element={<WebhookEditorPage />} />
<Route path="/webhooks/:id/settings" element={<WebhookEditorPage />} />
<Route path="/schedules" element={<SchedulesPage />} />
<Route path="/action-center" element={<ActionCenterPage />} />
<Route path="/artifacts" element={<ArtifactLibrary />} />
<Route path="/runs/:runId" element={<RunRedirect />} />
<Route
path="/integrations/callback/:provider"
element={<IntegrationCallback />}
/>
<Route path="*" element={<NotFound />} />
</Routes>
</ProtectedRoute>
</AppLayout>
}
/>
</Routes>
</CommandPaletteProvider>
</BrowserRouter>
</ToastProvider>
Expand Down
Loading