@opencode-ai/sdk 1.18.20 → 1.18.22

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.
@@ -315,7 +315,7 @@ export declare class Global extends HeyApiClient {
315
315
  /**
316
316
  * Upgrade opencode
317
317
  *
318
- * Upgrade opencode to the specified version or latest if not specified.
318
+ * Upgrade opencode to the specified version.
319
319
  */
320
320
  upgrade<ThrowOnError extends boolean = false>(parameters?: {
321
321
  target?: string;
@@ -615,7 +615,7 @@ export class Global extends HeyApiClient {
615
615
  /**
616
616
  * Upgrade opencode
617
617
  *
618
- * Upgrade opencode to the specified version or latest if not specified.
618
+ * Upgrade opencode to the specified version.
619
619
  */
620
620
  upgrade(parameters, options) {
621
621
  const params = buildClientParams([parameters], [{ args: [{ in: "body", key: "target" }] }]);
@@ -6305,7 +6305,7 @@ export type GlobalDisposeResponses = {
6305
6305
  export type GlobalDisposeResponse = GlobalDisposeResponses[keyof GlobalDisposeResponses];
6306
6306
  export type GlobalUpgradeData = {
6307
6307
  body?: {
6308
- target?: string;
6308
+ target: string;
6309
6309
  };
6310
6310
  path?: never;
6311
6311
  query?: never;
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.18.20",
4
+ "version": "1.18.22",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {