diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-12 00:58:05 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-12 00:58:05 +0000 |
| commit | 17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301 (patch) | |
| tree | 7b0742f502c12bab529bf751dff65d91d532d8aa /packages/sdk/js | |
| parent | 003010bdb63210f9f21485b9abc54b35b38035ce (diff) | |
| download | opencode-17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301.tar.gz opencode-17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301.zip | |
chore: generate
Diffstat (limited to 'packages/sdk/js')
| -rw-r--r-- | packages/sdk/js/src/v2/gen/types.gen.ts | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index f2b32a159..4aab9f439 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -387,6 +387,29 @@ export type EventQuestionRejected = { } } +export type Todo = { + /** + * Brief description of the task + */ + content: string + /** + * Current status of the task: pending, in_progress, completed, cancelled + */ + status: string + /** + * Priority level of the task: high, medium, low + */ + priority: string +} + +export type EventTodoUpdated = { + type: "todo.updated" + properties: { + sessionID: string + todos: Array<Todo> + } +} + export type SessionStatus = | { type: "idle" @@ -423,29 +446,6 @@ export type EventSessionCompacted = { } } -export type Todo = { - /** - * Brief description of the task - */ - content: string - /** - * Current status of the task: pending, in_progress, completed, cancelled - */ - status: string - /** - * Priority level of the task: high, medium, low - */ - priority: string -} - -export type EventTodoUpdated = { - type: "todo.updated" - properties: { - sessionID: string - todos: Array<Todo> - } -} - export type EventWorktreeReady = { type: "worktree.ready" properties: { @@ -998,10 +998,10 @@ export type Event = | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected + | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted - | EventTodoUpdated | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated |
