The open source coding agent.
TypeScript
chore: generate
opencode-agent[bot]57f939767729
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.tsindex c1a77bfe884..7ca6ea05c85 100644--- a/packages/sdk/js/src/v2/gen/types.gen.ts+++ b/packages/sdk/js/src/v2/gen/types.gen.ts@@ -469,6 +469,21 @@ export type EventTodoUpdated = {}}+export type EventWorktreeReady = {+ type: "worktree.ready"+ properties: {+ name: string+ branch: string+ }+}++export type EventWorktreeFailed = {+ type: "worktree.failed"+ properties: {+ message: string+ }+}+export type Pty = {id: stringtitle: string@@ -508,21 +523,6 @@ export type EventPtyDeleted = {}}-export type EventWorktreeReady = {- type: "worktree.ready"- properties: {- name: string- branch: string- }-}--export type EventWorktreeFailed = {- type: "worktree.failed"- properties: {- message: string- }-}-export type OutputFormatText = {type: "text"}@@ -1005,12 +1005,12 @@ export type Event =| EventSessionIdle| EventSessionCompacted| EventTodoUpdated+ | EventWorktreeReady+ | EventWorktreeFailed| EventPtyCreated| EventPtyUpdated| EventPtyExited| EventPtyDeleted- | EventWorktreeReady- | EventWorktreeFailed| EventMessageUpdated| EventMessageRemoved| EventMessagePartUpdateddiff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.jsonindex deece485e01..7bc6392b948 100644--- a/packages/sdk/openapi.json+++ b/packages/sdk/openapi.json@@ -8351,6 +8351,47 @@},"required": ["type", "properties"]},+ "Event.worktree.ready": {+ "type": "object",+ "properties": {+ "type": {+ "type": "string",+ "const": "worktree.ready"+ },+ "properties": {+ "type": "object",+ "properties": {+ "name": {+ "type": "string"+ },+ "branch": {+ "type": "string"+ }+ },+ "required": ["name", "branch"]+ }+ },+ "required": ["type", "properties"]+ },+ "Event.worktree.failed": {+ "type": "object",+ "properties": {+ "type": {+ "type": "string",+ "const": "worktree.failed"+ },+ "properties": {+ "type": "object",+ "properties": {+ "message": {+ "type": "string"+ }+ },+ "required": ["message"]+ }+ },+ "required": ["type", "properties"]+ },"Pty": {"type": "object","properties": {@@ -8464,47 +8505,6 @@},"required": ["type", "properties"]},- "Event.worktree.ready": {- "type": "object",- "properties": {- "type": {- "type": "string",- "const": "worktree.ready"- },- "properties": {- "type": "object",- "properties": {- "name": {- "type": "string"- },- "branch": {- "type": "string"- }- },- "required": ["name", "branch"]- }- },- "required": ["type", "properties"]- },- "Event.worktree.failed": {- "type": "object",- "properties": {- "type": {- "type": "string",- "const": "worktree.failed"- },- "properties": {- "type": "object",- "properties": {- "message": {- "type": "string"- }- },- "required": ["message"]- }- },- "required": ["type", "properties"]- },"OutputFormatText": {"type": "object","properties": {@@ -9968,22 +9968,22 @@"$ref": "#/components/schemas/Event.todo.updated"},{- "$ref": "#/components/schemas/Event.pty.created"+ "$ref": "#/components/schemas/Event.worktree.ready"},{- "$ref": "#/components/schemas/Event.pty.updated"+ "$ref": "#/components/schemas/Event.worktree.failed"},{- "$ref": "#/components/schemas/Event.pty.exited"+ "$ref": "#/components/schemas/Event.pty.created"},{- "$ref": "#/components/schemas/Event.pty.deleted"+ "$ref": "#/components/schemas/Event.pty.updated"},{- "$ref": "#/components/schemas/Event.worktree.ready"+ "$ref": "#/components/schemas/Event.pty.exited"},{- "$ref": "#/components/schemas/Event.worktree.failed"+ "$ref": "#/components/schemas/Event.pty.deleted"},{"$ref": "#/components/schemas/Event.message.updated"