diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-07 23:49:25 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-07 23:49:25 +0000 |
| commit | 0788a535e2dc8c7aee8c681505b07105cb962578 (patch) | |
| tree | 5fabd5b59205084779925bd4ec1ea89038f071bb /packages | |
| parent | b7fab49b64275b83bcec8200d7492fc5d15ffe06 (diff) | |
| download | opencode-0788a535e2dc8c7aee8c681505b07105cb962578.tar.gz opencode-0788a535e2dc8c7aee8c681505b07105cb962578.zip | |
chore: generate
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/sdk/openapi.json | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 5007e78e8..207b400a7 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -3071,7 +3071,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/SnapshotFileDiff" } } } @@ -7032,7 +7032,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/VcsFileDiff" } } } @@ -8146,16 +8146,13 @@ }, "required": ["type", "properties"] }, - "FileDiff": { + "SnapshotFileDiff": { "type": "object", "properties": { "file": { "type": "string" }, - "before": { - "type": "string" - }, - "after": { + "patch": { "type": "string" }, "additions": { @@ -8169,7 +8166,7 @@ "enum": ["added", "deleted", "modified"] } }, - "required": ["file", "before", "after", "additions", "deletions"] + "required": ["file", "patch", "additions", "deletions"] }, "Event.session.diff": { "type": "object", @@ -8188,7 +8185,7 @@ "diff": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/SnapshotFileDiff" } } }, @@ -8700,7 +8697,7 @@ "diffs": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/SnapshotFileDiff" } } }, @@ -9842,7 +9839,7 @@ "diffs": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/SnapshotFileDiff" } } }, @@ -10372,7 +10369,7 @@ "diffs": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/SnapshotFileDiff" } } }, @@ -12122,7 +12119,7 @@ "diffs": { "type": "array", "items": { - "$ref": "#/components/schemas/FileDiff" + "$ref": "#/components/schemas/SnapshotFileDiff" } } }, @@ -12760,6 +12757,28 @@ } } }, + "VcsFileDiff": { + "type": "object", + "properties": { + "file": { + "type": "string" + }, + "patch": { + "type": "string" + }, + "additions": { + "type": "number" + }, + "deletions": { + "type": "number" + }, + "status": { + "type": "string", + "enum": ["added", "deleted", "modified"] + } + }, + "required": ["file", "patch", "additions", "deletions"] + }, "Command": { "type": "object", "properties": { |
