@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 598 B
TypeScript
import type { ExtensionAPI } from "../../types.ts";
import { type WakeSourceStateEvent } from "../monitor-state-event.ts";
type GoalChannelEvents = NonNullable<ExtensionAPI["events"]>;
interface GoalChannelCallbacks {
readonly onWakeSource: (source: string, activeCount: number, event?: WakeSourceStateEvent) => void;
readonly onContinuationHold: (source: string, active: boolean) => void;
}
export declare function subscribeGoalChannelState(events: GoalChannelEvents, callbacks: GoalChannelCallbacks): Array<() => void>;
export {};
//# sourceMappingURL=channel-state-subscriptions.d.ts.map