chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
/**
* Boulder State Constants
*/
export declare const BOULDER_DIR = ".sisyphus";
export declare const BOULDER_FILE = "boulder.json";
export declare const BOULDER_STATE_PATH = ".sisyphus/boulder.json";
export declare const NOTEPAD_DIR = "notepads";
export declare const NOTEPAD_BASE_PATH = ".sisyphus/notepads";
/** Prometheus plan directory pattern */
export declare const PROMETHEUS_PLANS_DIR = ".sisyphus/plans";
+3
View File
@@ -0,0 +1,3 @@
export * from "./types";
export * from "./constants";
export * from "./storage";
+28
View File
@@ -0,0 +1,28 @@
/**
* Boulder State Storage
*
* Handles reading/writing boulder.json for active plan tracking.
*/
import type { BoulderState, PlanProgress } from "./types";
export declare function getBoulderFilePath(directory: string): string;
export declare function readBoulderState(directory: string): BoulderState | null;
export declare function writeBoulderState(directory: string, state: BoulderState): boolean;
export declare function appendSessionId(directory: string, sessionId: string): BoulderState | null;
export declare function clearBoulderState(directory: string): boolean;
/**
* Find Prometheus plan files for this project.
* Prometheus stores plans at: {project}/.sisyphus/plans/{name}.md
*/
export declare function findPrometheusPlans(directory: string): string[];
/**
* Parse a plan file and count checkbox progress.
*/
export declare function getPlanProgress(planPath: string): PlanProgress;
/**
* Extract plan name from file path.
*/
export declare function getPlanName(planPath: string): string;
/**
* Create a new boulder state for a plan.
*/
export declare function createBoulderState(planPath: string, sessionId: string, agent?: string, worktreePath?: string): BoulderState;
+28
View File
@@ -0,0 +1,28 @@
/**
* Boulder State Types
*
* Manages the active work plan state for Sisyphus orchestrator.
* Named after Sisyphus's boulder - the eternal task that must be rolled.
*/
export interface BoulderState {
/** Absolute path to the active plan file */
active_plan: string;
/** ISO timestamp when work started */
started_at: string;
/** Session IDs that have worked on this plan */
session_ids: string[];
/** Plan name derived from filename */
plan_name: string;
/** Agent type to use when resuming (e.g., 'atlas') */
agent?: string;
/** Absolute path to the git worktree root where work happens */
worktree_path?: string;
}
export interface PlanProgress {
/** Total number of checkboxes */
total: number;
/** Number of completed checkboxes */
completed: number;
/** Whether all tasks are done */
isComplete: boolean;
}