an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
Merge branch 'feature/memory-graph' into integration/roadmap
Chaitanya Girif68056c785da
diff --cc src/renderer/src/components/CommandCenterPanel.tsxindex 1544314b,71f447b8..4b57e9e2--- a/src/renderer/src/components/CommandCenterPanel.tsx+++ b/src/renderer/src/components/CommandCenterPanel.tsx@@@ -5,9 -5,9 +5,10 @@@ import { PixelButton } from './PixelButimport { SpritePortrait } from './SpritePortrait';import { PtyTerminalView } from './PtyTerminalView';import { MessageQueueComposer } from './MessageQueueComposer';+import { TasksKanban } from './TasksKanban';import { disposeTerminal } from './terminalPool';import { Icon } from './Icon';+ import { MemoryGraphPanel } from './MemoryGraphPanel';import { useStore, type Agent } from '@/store/store';import { usePtyParser } from '@/hooks/usePtyParser';import { buildSpawnCommand, AGENT_MODELS } from '@/store/config';@@@ -17,42 -17,21 +18,45 @@@* per-agent model + dispatch + assistant access), a memory view, and a live* activity feed / board / usage meter. */- type CCTab = 'terminal' | 'floor' | 'tasks' | 'memory' | 'activity' | 'handbook';-type CCTab = 'terminal' | 'floor' | 'memory' | 'graph' | 'activity' | 'handbook';++type CCTab = 'terminal' | 'floor' | 'tasks' | 'memory' | 'graph' | 'activity' | 'handbook';++/** A recurring auto-dispatched mission (mirrors the main-process config type). */+interface ScheduledMission {+ id: string;+ label: string;+ intervalMs: number;+ to: string;+ body: string;+ enabled: boolean;+ lastFiredAt?: number;+}++/** Interval presets offered in the SCHEDULES form / shown as badges. */+const INTERVAL_OPTS: { ms: number; label: string }[] = [+ { ms: 3600000, label: '1h' },+ { ms: 21600000, label: '6h' },+ { ms: 86400000, label: '24h' },+ { ms: 604800000, label: 'weekly' }+];const TABS: { key: CCTab; label: string; icon: Parameters<typeof Icon>[0]['name'] }[] = [{ key: 'terminal', label: 'terminal', icon: 'terminal' },{ key: 'floor', label: 'floor', icon: 'mcp' },+ { key: 'tasks', label: 'tasks', icon: 'check' },{ key: 'memory', label: 'memory', icon: 'sparkle' },+ { key: 'graph', label: 'graph', icon: 'web' },{ key: 'activity', label: 'activity', icon: 'bell' },{ key: 'handbook', label: 'commands', icon: 'code' }];export function CommandCenterPanel({ agent }: { agent: Agent }) {const [tab, setTab] = useState<CCTab>('terminal');+ // A task-card "assign" pre-fills the Floor dispatch box and jumps to it. The+ // counter bumps so re-assigning the same card re-seeds the textarea (the seed+ // string alone wouldn't change). { seq } makes every assign distinct.+ const [dispatchSeed, setDispatchSeed] = useState<{ text: string; seq: number }>({ text: '', seq: 0 });+ // Lifted so the memory-graph tab can jump to a specific agent's memory file.+ const [selectedMemoryAgent, setSelectedMemoryAgent] = useState<string | null>(null);const updateAgent = useStore((s) => s.updateAgent);const setFullscreen = useStore((s) => s.setFullscreen);const fullscreenAgentId = useStore((s) => s.fullscreenAgentId);@@@ -138,16 -117,16 +142,24 @@@<Centered>Michael has no live terminal.</Centered>))}- {tab === 'floor' && <FloorTab />}+ {tab === 'floor' && <FloorTab seed={dispatchSeed} />}+ {tab === 'tasks' && (+ <TasksKanban+ onAssign={(prefill) => {+ setDispatchSeed((s) => ({ text: prefill, seq: s.seq + 1 }));+ setTab('floor');+ }}+ />+ )}- {tab === 'memory' && <MemoryTab godId={agent.id} />}+ {tab === 'memory' && (+ <MemoryTab godId={agent.id} who={selectedMemoryAgent ?? undefined} onWho={setSelectedMemoryAgent} />+ )}+ {tab === 'graph' && (+ <MemoryGraphPanel+ godId={agent.id}+ onJumpToMemory={(id) => { setSelectedMemoryAgent(id); setTab('memory'); }}+ />+ )}{tab === 'activity' && <ActivityTab />}{tab === 'handbook' && <HandbookTab />}</div>