Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat(cos): navigate to agents page after triggering slash-do actions from app overview

Adam Eivye3fd277e40bf
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 16df996ebd..f442ef7501 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -8,6 +8,8 @@
## Changed
+- Triggering agent operations (do:push, do:review, etc.) from the app overview page now navigates to the CoS agents page so the user can watch the agent run
+
## Fixed
- Agent error handling in AgentsTab — API failures no longer trigger success toasts or state refreshes
diff --git a/client/src/components/apps/SlashDoPanel.jsx b/client/src/components/apps/SlashDoPanel.jsx
index 9bd977555f..95f5dc41d1 100644
--- a/client/src/components/apps/SlashDoPanel.jsx
+++ b/client/src/components/apps/SlashDoPanel.jsx
@@ -1,4 +1,5 @@
import { useState } from 'react';
+import { useNavigate } from 'react-router-dom';
import { Terminal, Loader2 } from 'lucide-react';
import toast from '../ui/Toast';
import { NON_PM2_TYPES } from './constants';
@@ -14,6 +15,7 @@ const SLASHDO_COMMANDS = [
export default function SlashDoPanel({ appId, appType }) {
const [loading, setLoading] = useState(null);
+ const navigate = useNavigate();
const isXcodeApp = NON_PM2_TYPES.has(appType);
const commands = SLASHDO_COMMANDS.filter(cmd => {
@@ -31,6 +33,7 @@ export default function SlashDoPanel({ appId, appType }) {
setLoading(null);
if (result) {
toast.success(`Queued ${command.label} agent task`);
+ navigate('/cos/agents');
}
};