@opencode-ai/sdk 1.1.35 → 1.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1569,7 +1569,14 @@ export class Control extends HeyApiClient {
1569
1569
  * Submit a response to the TUI request queue to complete a pending request.
1570
1570
  */
1571
1571
  response(parameters, options) {
1572
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }]);
1572
+ const params = buildClientParams([parameters], [
1573
+ {
1574
+ args: [
1575
+ { in: "query", key: "directory" },
1576
+ { key: "body", map: "body" },
1577
+ ],
1578
+ },
1579
+ ]);
1573
1580
  return (options?.client ?? this.client).post({
1574
1581
  url: "/tui/control/response",
1575
1582
  ...options,
@@ -1745,7 +1752,14 @@ export class Tui extends HeyApiClient {
1745
1752
  * Publish a TUI event
1746
1753
  */
1747
1754
  publish(parameters, options) {
1748
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "body" }] }]);
1755
+ const params = buildClientParams([parameters], [
1756
+ {
1757
+ args: [
1758
+ { in: "query", key: "directory" },
1759
+ { key: "body", map: "body" },
1760
+ ],
1761
+ },
1762
+ ]);
1749
1763
  return (options?.client ?? this.client).post({
1750
1764
  url: "/tui/publish",
1751
1765
  ...options,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "1.1.35",
4
+ "version": "1.1.36",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -38,7 +38,7 @@
38
38
  "dist"
39
39
  ],
40
40
  "devDependencies": {
41
- "@hey-api/openapi-ts": "0.90.4",
41
+ "@hey-api/openapi-ts": "0.90.10",
42
42
  "@tsconfig/node22": "22.0.2",
43
43
  "@types/node": "22.13.9",
44
44
  "typescript": "5.8.2",