UNPKG

@code-yeongyu/senpi

Version:

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

14 lines • 723 B
/** * The test/QA-only `SENPI_EXECUTION_PIPELINE`. Since S36 the loop has one pipeline, the prepared one: unset, empty or * `default` runs it, and `prepared` names it. The removed `legacy` scheduler and unknown values are refused rather than * silently running the default under their name. */ export function resolveExecutionPipeline(env = process.env) { const value = env.SENPI_EXECUTION_PIPELINE; if (value === undefined || value === "" || value === "default") return { named: false }; if (value === "prepared") return { named: true }; throw new Error(`SENPI_EXECUTION_PIPELINE must be prepared or default, got ${JSON.stringify(value)}`); } //# sourceMappingURL=pipeline-config.js.map