[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / runtimeTaskChatCancelResponseSchema

# Variable: runtimeTaskChatCancelResponseSchema

> `const` **runtimeTaskChatCancelResponseSchema**: `ZodObject`\<\{ `error`: `ZodOptional`\<`ZodString`\>; `ok`: `ZodBoolean`; `summary`: `ZodNullable`\<`ZodObject`\<\{ `agentId`: `ZodNullable`\<`ZodEnum`\<\{ `claude`: `"claude"`; `cline`: `"cline"`; `codex`: `"codex"`; `droid`: `"droid"`; `gemini`: `"gemini"`; `kiro`: `"kiro"`; `opencode`: `"opencode"`; \}\>\>; `exitCode`: `ZodNullable`\<`ZodNumber`\>; `lastHookAt`: `ZodDefault`\<`ZodNullable`\<`ZodNumber`\>\>; `lastOutputAt`: `ZodNullable`\<`ZodNumber`\>; `latestHookActivity`: `ZodDefault`\<`ZodNullable`\<`ZodObject`\<\{ `activityText`: `ZodDefault`\<`ZodNullable`\<...\>\>; `finalMessage`: `ZodDefault`\<`ZodNullable`\<...\>\>; `hookEventName`: `ZodDefault`\<`ZodNullable`\<...\>\>; `notificationType`: `ZodDefault`\<`ZodNullable`\<...\>\>; `source`: `ZodDefault`\<`ZodNullable`\<...\>\>; `toolInputSummary`: `ZodDefault`\<`ZodNullable`\<...\>\>; `toolName`: `ZodDefault`\<`ZodNullable`\<...\>\>; \}, `$strip`\>\>\>; `latestPromptSentAt`: `ZodOptional`\<`ZodNullable`\<`ZodNumber`\>\>; `latestPromptTokenUsageBaseline`: `ZodOptional`\<`ZodNullable`\<`ZodObject`\<\{ `cacheReadTokens`: `ZodNumber`; `cacheWriteTokens`: `ZodNumber`; `inputTokens`: `ZodNumber`; `outputTokens`: `ZodNumber`; `totalCost`: `ZodOptional`\<`ZodNullable`\<...\>\>; `updatedAt`: `ZodNumber`; \}, `$strip`\>\>\>; `latestTurnCheckpoint`: `ZodOptional`\<`ZodNullable`\<`ZodObject`\<\{ `commit`: `ZodString`; `createdAt`: `ZodNumber`; `ref`: `ZodString`; `turn`: `ZodNumber`; \}, `$strip`\>\>\>; `mode`: `ZodOptional`\<`ZodNullable`\<`ZodEnum`\<\{ `act`: `"act"`; `plan`: `"plan"`; \}\>\>\>; `pid`: `ZodNullable`\<`ZodNumber`\>; `previousTurnCheckpoint`: `ZodOptional`\<`ZodNullable`\<`ZodObject`\<\{ `commit`: `ZodString`; `createdAt`: `ZodNumber`; `ref`: `ZodString`; `turn`: `ZodNumber`; \}, `$strip`\>\>\>; `reviewReason`: `ZodNullable`\<`ZodEnum`\<\{ `attention`: `"attention"`; `error`: `"error"`; `exit`: `"exit"`; `hook`: `"hook"`; `interrupted`: `"interrupted"`; \}\>\>; `startedAt`: `ZodNullable`\<`ZodNumber`\>; `state`: `ZodEnum`\<\{ `awaiting_review`: `"awaiting_review"`; `failed`: `"failed"`; `idle`: `"idle"`; `interrupted`: `"interrupted"`; `running`: `"running"`; \}\>; `taskId`: `ZodString`; `tokenUsage`: `ZodOptional`\<`ZodNullable`\<`ZodObject`\<\{ `cacheReadTokens`: `ZodNumber`; `cacheWriteTokens`: `ZodNumber`; `inputTokens`: `ZodNumber`; `outputTokens`: `ZodNumber`; `totalCost`: `ZodOptional`\<`ZodNullable`\<...\>\>; `updatedAt`: `ZodNumber`; \}, `$strip`\>\>\>; `updatedAt`: `ZodNumber`; `warningMessage`: `ZodOptional`\<`ZodNullable`\<`ZodString`\>\>; `workspacePath`: `ZodNullable`\<`ZodString`\>; \}, `$strip`\>\>; \}, `$strip`\>

Defined in: [flow/contracts/src/api-contract.ts:1436](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/contracts/src/api-contract.ts#L1436)
