feat(app): complete playable branch sessions
verify / verify (push) Has been cancelled

This commit is contained in:
Codex
2026-07-28 04:42:40 -04:00
parent 449515fcfe
commit 1f935a3206
26 changed files with 3472 additions and 67 deletions
+18
View File
@@ -120,6 +120,24 @@ export type ForkBranchRequest = { storyId: string, currentBranchId: string, expe
export type ForkBranchResult = { branchId: string, playerView: PlayerView, };
export type BranchSummary = { branchId: string, name: string, headNodeId: string, headLabel: string, sourceNodeId: string | null, isActive: boolean, };
export type BranchList = { storyId: string, activeBranchId: string, branches: Array<BranchSummary>, };
export type SwitchBranchRequest = { storyId: string, branchId: string, expectedActiveBranchId: string, };
export type SwitchBranchResult = { branchId: string, playerView: PlayerView, };
export type RenameBranchRequest = { storyId: string, branchId: string, name: string, };
export type LappModelOption = { providerId: string, providerName: string | null, modelId: string, modelName: string | null, };
export type LappMode = "lapp" | "demo" | "unavailable";
export type LappSettings = { mode: LappMode, selectedProviderId: string | null, selectedModelId: string | null, availableModels: Array<LappModelOption>, statusMessage: string, };
export type UpdateLappSettingsRequest = { providerId: string, modelId: string, };
export type TurnFailureCode = "stale_node" | "invalid_input" | "invalid_model_output" | "provider_unavailable" | "cancelled" | "timed_out" | "internal";
export type TurnFailure = { code: TurnFailureCode, message: string, retryable: boolean, };