/** * CLI Commands: pickup, note * * specweave pickup [id | increment | title words] [--json] * specweave pickup --all [--json] * specweave pickup --list [--json] (same as `specweave handoff list`) * specweave note "" [incrementId] * * `pickup` is the one read a fresh session needs, in any tool on any account. * When several handoffs are pending (several sessions handed off in one * project), it takes the one named, or the newest, and lists the others. * `note` leaves a message on an increment for whoever works on it next (another * thread, another tool); `pickup` shows the latest notes. * * @module cli/commands/pickup */ import { type PickupApplyResult } from '../../core/session/handoff-remote.js'; export interface PickupCommandOptions { /** What to pick up: a pending handoff's id, an increment, or words from its title. */ incrementId?: string; json?: boolean; /** `--no-apply`: only show the handoff, leave the checkout as it is. */ apply?: boolean; /** `--all`: print the newest handoff index, actionable rows first. Read-only. */ all?: boolean; /** `--list`: print the pending handoffs and take none. */ list?: boolean; cwd?: string; agent?: string; /** Home directory holding `.specweave/checkpoints` (tests). */ home?: string; } export declare function pickupCommand(opts?: PickupCommandOptions): Promise; export interface HandoffListCommandOptions { cwd?: string; json?: boolean; home?: string; } /** `specweave handoff list` (and `pickup --list`): pending handoffs, newest first. Changes nothing. */ export declare function handoffListCommand(opts?: HandoffListCommandOptions): Promise; /** * Ledger evidence that the work changed hands: a `pickup` event and the new * session, once per handoff. Recorded whenever the increment's last handoff * has no pickup after it, whether the edits came over git or the handoff was * made in this same checkout (another tool or account on the same machine). */ export declare function recordPickup(root: string, id: string | undefined, applied: PickupApplyResult, agent: string): boolean; export interface NoteCommandOptions { incrementId?: string; cwd?: string; agent?: string; } export declare function noteCommand(text: string, opts?: NoteCommandOptions): Promise; export interface ReportCommandOptions { incrementId?: string; out?: string; cwd?: string; } /** `specweave report [increment]`: the HTML timeline of who did what, from the ledger. */ export declare function reportCommand(opts?: ReportCommandOptions): Promise; //# sourceMappingURL=pickup.d.ts.map