summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/js/src/v2
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-12 00:58:05 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-12 00:58:05 +0000
commit17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301 (patch)
tree7b0742f502c12bab529bf751dff65d91d532d8aa /packages/sdk/js/src/v2
parent003010bdb63210f9f21485b9abc54b35b38035ce (diff)
downloadopencode-17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301.tar.gz
opencode-17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301.zip
chore: generate
Diffstat (limited to 'packages/sdk/js/src/v2')
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts48
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