UNPKG

@code-yeongyu/senpi

Version:

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

17 lines • 1.07 kB
import type { WakeSourceStateItem } from "./extensions/builtin/monitor-state-event.ts"; import type { LifecycleWaitItem } from "./session-lifecycle-types.ts"; export interface WaitSourceItems { readonly items?: readonly WakeSourceStateItem[]; readonly omittedItems?: number; } /** Optional producer detail never determines custody. Lists are snapshots, bounded independently of activeCount. */ export declare function normalizeWaitItems(value: unknown, omitted?: unknown): WaitSourceItems; /** The one rule for a wake_source_state producer's item list: `items` when set, else the legacy `monitors`. */ export declare function wakeSourceItems(data: object): unknown; export declare function waitItemSignature(detail: WaitSourceItems): string; export declare function projectWaitItems(detail: WaitSourceItems): { readonly items?: readonly LifecycleWaitItem[]; readonly omittedItems?: number; }; export declare function readWaitItems(value: unknown, omitted?: unknown): ReturnType<typeof projectWaitItems>; //# sourceMappingURL=lifecycle-wait-items.d.ts.map