Extract session command service

This commit is contained in:
Federico Jaramillo Martinez
2026-05-07 12:24:40 +02:00
parent 8c825c7384
commit 9be9d410e1
4 changed files with 178 additions and 129 deletions
@@ -0,0 +1,8 @@
import type { AgentSessionRuntime } from "@mariozechner/pi-coding-agent";
export interface ActiveSession {
runtime: AgentSessionRuntime;
unsubscribe: () => void;
}
export type GetActiveSession = (sessionId: string) => Promise<ActiveSession>;