summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-27 18:34:44 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-27 18:34:44 +0000
commitccb76697364a2b710b27064b1dd64ccae0ed1ad2 (patch)
tree5f79fe25224910f8319dda357e48f21a6492479b /packages/sdk
parentf25f1485d5d75d17330a35bff2c07c24c4dd5bb2 (diff)
downloadopencode-ccb76697364a2b710b27064b1dd64ccae0ed1ad2.tar.gz
opencode-ccb76697364a2b710b27064b1dd64ccae0ed1ad2.zip
chore: generate
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts36
-rw-r--r--packages/sdk/openapi.json100
2 files changed, 68 insertions, 68 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index a723b3083..b034777f2 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -84,20 +84,6 @@ export type EventLspUpdated = {
}
}
-export type EventInstallationUpdated = {
- type: "installation.updated"
- properties: {
- version: string
- }
-}
-
-export type EventInstallationUpdateAvailable = {
- type: "installation.update-available"
- properties: {
- version: string
- }
-}
-
export type EventMessagePartDelta = {
type: "message.part.delta"
properties: {
@@ -230,6 +216,20 @@ export type EventSessionError = {
}
}
+export type EventInstallationUpdated = {
+ type: "installation.updated"
+ properties: {
+ version: string
+ }
+}
+
+export type EventInstallationUpdateAvailable = {
+ type: "installation.update-available"
+ properties: {
+ version: string
+ }
+}
+
export type QuestionOption = {
/**
* Display text (1-5 words, concise)
@@ -1117,13 +1117,13 @@ export type GlobalEvent = {
| EventFileWatcherUpdated
| EventLspClientDiagnostics
| EventLspUpdated
- | EventInstallationUpdated
- | EventInstallationUpdateAvailable
| EventMessagePartDelta
| EventPermissionAsked
| EventPermissionReplied
| EventSessionDiff
| EventSessionError
+ | EventInstallationUpdated
+ | EventInstallationUpdateAvailable
| EventQuestionAsked
| EventQuestionReplied
| EventQuestionRejected
@@ -2060,13 +2060,13 @@ export type Event =
| EventFileWatcherUpdated
| EventLspClientDiagnostics
| EventLspUpdated
- | EventInstallationUpdated
- | EventInstallationUpdateAvailable
| EventMessagePartDelta
| EventPermissionAsked
| EventPermissionReplied
| EventSessionDiff
| EventSessionError
+ | EventInstallationUpdated
+ | EventInstallationUpdateAvailable
| EventQuestionAsked
| EventQuestionReplied
| EventQuestionRejected
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index 118329858..e9e493bda 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -7738,44 +7738,6 @@
},
"required": ["type", "properties"]
},
- "Event.installation.updated": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "installation.updated"
- },
- "properties": {
- "type": "object",
- "properties": {
- "version": {
- "type": "string"
- }
- },
- "required": ["version"]
- }
- },
- "required": ["type", "properties"]
- },
- "Event.installation.update-available": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "installation.update-available"
- },
- "properties": {
- "type": "object",
- "properties": {
- "version": {
- "type": "string"
- }
- },
- "required": ["version"]
- }
- },
- "required": ["type", "properties"]
- },
"Event.message.part.delta": {
"type": "object",
"properties": {
@@ -8156,6 +8118,44 @@
},
"required": ["type", "properties"]
},
+ "Event.installation.updated": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "installation.updated"
+ },
+ "properties": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": ["version"]
+ }
+ },
+ "required": ["type", "properties"]
+ },
+ "Event.installation.update-available": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "installation.update-available"
+ },
+ "properties": {
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": ["version"]
+ }
+ },
+ "required": ["type", "properties"]
+ },
"QuestionOption": {
"type": "object",
"properties": {
@@ -10800,12 +10800,6 @@
"$ref": "#/components/schemas/Event.lsp.updated"
},
{
- "$ref": "#/components/schemas/Event.installation.updated"
- },
- {
- "$ref": "#/components/schemas/Event.installation.update-available"
- },
- {
"$ref": "#/components/schemas/Event.message.part.delta"
},
{
@@ -10821,6 +10815,12 @@
"$ref": "#/components/schemas/Event.session.error"
},
{
+ "$ref": "#/components/schemas/Event.installation.updated"
+ },
+ {
+ "$ref": "#/components/schemas/Event.installation.update-available"
+ },
+ {
"$ref": "#/components/schemas/Event.question.asked"
},
{
@@ -13059,12 +13059,6 @@
"$ref": "#/components/schemas/Event.lsp.updated"
},
{
- "$ref": "#/components/schemas/Event.installation.updated"
- },
- {
- "$ref": "#/components/schemas/Event.installation.update-available"
- },
- {
"$ref": "#/components/schemas/Event.message.part.delta"
},
{
@@ -13080,6 +13074,12 @@
"$ref": "#/components/schemas/Event.session.error"
},
{
+ "$ref": "#/components/schemas/Event.installation.updated"
+ },
+ {
+ "$ref": "#/components/schemas/Event.installation.update-available"
+ },
+ {
"$ref": "#/components/schemas/Event.question.asked"
},
{