/** Public wire types exposed by the publishable plane-dsh-plugin bundle. */ export type LifecycleState = "captured" | "planned" | "in_progress" | "done" | "dropped"; export type RecordKind = "task" | "bug" | "decision" | "idea" | "risk" | "milestone"; export type EventType = "task" | "bug" | "decision" | "idea" | "risk" | "milestone" | "progress" | "completed" | "plan"; export type ProjectionStatus = "pending" | "failed" | "completed"; export interface ProjectContext { id: string; cwd: string; canonicalCwd: string; planeBaseUrl: string; workspaceSlug: string; planeProjectId: string; planeProjectName?: string; autoCaptureEnabled: boolean; createdAt: string; updatedAt: string; } export interface PanelProject { projectContextId: string; name: string; workspaceSlug: string; localContext: string; planeProjectId: string; } export interface PlaneItem { id: string; identifier: string; title: string; description?: string; parentId?: string; stateId?: string; stateName?: string; status?: LifecycleState; kind?: RecordKind; dueDate?: string | null; projectId?: string; url?: string; isSystemCreated?: boolean; updatedAt?: string; archived?: boolean; } export interface SourceReference { id: number; batchId: string; eventId: string; remoteSourceId: string; planeItemId: string | null; sessionId: string; turnId: string; eventType: EventType; summary: string; sourceExcerpt: string; observedAt: string; createdAt: string; projectionStatus: ProjectionStatus; projectionAttempts: number; projectionError: string | null; projectedAt: string | null; } export type { FailedBatch, PanelSummary } from "./remote.js";