UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

18 lines • 823 B
/** The `session_opened` record: the first lifecycle record of every session a host creates. */ import type { SessionKind } from "../../core/extensions/types.ts"; import type { PublishedSessionContext } from "./session-status.ts"; export interface SessionOpenedRecord { readonly type: "session_opened"; readonly sessionId: string; readonly durableSessionId?: string; readonly sessionPath?: string; readonly kind: SessionKind; readonly cwd: string; readonly context?: PublishedSessionContext; } /** The two wire forms: `plain` for every recipient, `withContext` for subscribers that asked for context. */ export declare function sessionOpenedLines(record: SessionOpenedRecord): { readonly plain: string; readonly withContext: string; }; //# sourceMappingURL=session-status-opened.d.ts.map