diff options
| author | soryu <soryu@soryu.co> | 2026-01-26 20:32:25 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-26 20:32:25 +0000 |
| commit | c5807eda364980645b21727dab4236d16d119a56 (patch) | |
| tree | 0e69566aae61b6c54a41c8b58914747aa8f24f3a /makima/frontend/src/lib/api.ts | |
| parent | bbbaab80baca6b152ce2edf68a971f29f189cd97 (diff) | |
| download | soryu-makima/local-only-mode-pr.tar.gz soryu-makima/local-only-mode-pr.zip | |
Add local-only mode toggle to contract creationmakima/local-only-mode-pr
Diffstat (limited to 'makima/frontend/src/lib/api.ts')
| -rw-r--r-- | makima/frontend/src/lib/api.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/makima/frontend/src/lib/api.ts b/makima/frontend/src/lib/api.ts index f15eec0..7c9fcd6 100644 --- a/makima/frontend/src/lib/api.ts +++ b/makima/frontend/src/lib/api.ts @@ -1673,6 +1673,8 @@ export interface ContractSummary { status: ContractStatus; /** Supervisor task ID for contract orchestration */ supervisorTaskId: string | null; + /** When true, tasks won't auto-push or create PRs - use patch files instead */ + localOnly: boolean; fileCount: number; taskCount: number; repositoryCount: number; @@ -1695,6 +1697,8 @@ export interface Contract { autonomousLoop: boolean; /** Whether to wait for user confirmation before progressing to the next phase */ phaseGuard: boolean; + /** When true, tasks won't auto-push or create PRs - use patch files instead */ + localOnly: boolean; version: number; createdAt: string; updatedAt: string; @@ -1728,6 +1732,8 @@ export interface CreateContractRequest { contractType?: ContractType; /** Initial phase to start in (defaults based on contract type) */ initialPhase?: ContractPhase; + /** When true, tasks won't auto-push or create PRs - use patch files instead */ + localOnly?: boolean; } export interface UpdateContractRequest { |
