@opencode/client 0.0.0-dev-19587 → 0.0.0-dev-19588

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.
@@ -674,6 +674,7 @@ export type WebSearchResult = {
674
674
  published?: number;
675
675
  };
676
676
  };
677
+ export type McpProtocol = "legacy" | "auto" | "2026-07-28";
677
678
  export type ConfigWorktree = {
678
679
  directory: string;
679
680
  };
@@ -2850,6 +2851,7 @@ export type ConfigEntry = {
2850
2851
  catalog?: number;
2851
2852
  execution?: number;
2852
2853
  };
2854
+ protocol?: McpProtocol;
2853
2855
  } | {
2854
2856
  type: "remote";
2855
2857
  url: string;
@@ -2870,6 +2872,7 @@ export type ConfigEntry = {
2870
2872
  catalog?: number;
2871
2873
  execution?: number;
2872
2874
  };
2875
+ protocol?: McpProtocol;
2873
2876
  };
2874
2877
  };
2875
2878
  };
@@ -6399,6 +6402,7 @@ export type McpAddInput = {
6399
6402
  readonly catalog?: number;
6400
6403
  readonly execution?: number;
6401
6404
  };
6405
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
6402
6406
  } | {
6403
6407
  readonly type: "remote";
6404
6408
  readonly url: string;
@@ -6419,6 +6423,7 @@ export type McpAddInput = {
6419
6423
  readonly catalog?: number;
6420
6424
  readonly execution?: number;
6421
6425
  };
6426
+ readonly protocol?: "legacy" | "auto" | "2026-07-28";
6422
6427
  };
6423
6428
  }["config"];
6424
6429
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/client",
4
- "version": "0.0.0-dev-19587",
4
+ "version": "0.0.0-dev-19588",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode/schema": "0.0.0-dev-19587",
61
- "@opencode/protocol": "0.0.0-dev-19587"
60
+ "@opencode/schema": "0.0.0-dev-19588",
61
+ "@opencode/protocol": "0.0.0-dev-19588"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.0-rc.112",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.0-rc.112",
77
- "@opencode/httpapi-codegen": "0.0.0-dev-19587",
77
+ "@opencode/httpapi-codegen": "0.0.0-dev-19588",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.4.0",
80
80
  "@typescript/native-preview": "7.0.0-dev.20251207.1",