@opencode/schema 0.0.0-dev-646 → 0.0.0-dev-665

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.
package/dist/mcp.d.ts CHANGED
@@ -18,6 +18,7 @@ declare const LocalConfig_base: Schema.Class<LocalConfig, Schema.Struct<{
18
18
  readonly codemode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
19
19
  readonly timeout: Schema.decodeTo<Schema.optional<Schema.toType<typeof TimeoutConfig>>, Schema.optionalKey<typeof TimeoutConfig>, never, never>;
20
20
  readonly protocol: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["legacy", "auto", "2026-07-28"]>>>, Schema.optionalKey<Schema.Literals<readonly ["legacy", "auto", "2026-07-28"]>>, never, never>;
21
+ readonly pool: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
21
22
  }>, {}>;
22
23
  export declare class LocalConfig extends LocalConfig_base {
23
24
  }
@@ -40,6 +41,7 @@ declare const RemoteConfig_base: Schema.Class<RemoteConfig, Schema.Struct<{
40
41
  readonly codemode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
41
42
  readonly timeout: Schema.decodeTo<Schema.optional<Schema.toType<typeof TimeoutConfig>>, Schema.optionalKey<typeof TimeoutConfig>, never, never>;
42
43
  readonly protocol: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["legacy", "auto", "2026-07-28"]>>>, Schema.optionalKey<Schema.Literals<readonly ["legacy", "auto", "2026-07-28"]>>, never, never>;
44
+ readonly pool: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
43
45
  }>, {}>;
44
46
  export declare class RemoteConfig extends RemoteConfig_base {
45
47
  }
package/dist/mcp.js CHANGED
@@ -31,6 +31,9 @@ export class LocalConfig extends Schema.Class("Mcp.LocalConfig")({
31
31
  }),
32
32
  timeout: TimeoutConfig.pipe(optional),
33
33
  protocol: Protocol.pipe(optional),
34
+ pool: Schema.Boolean.pipe(optional).annotate({
35
+ description: 'Share one connection to this server across every directory that configures it identically, instead of one per directory. Only connections that negotiate the 2026-07-28 revision are shared; an unset "protocol" becomes "auto", and "legacy" never shares. Defaults to false.',
36
+ }),
34
37
  }) {
35
38
  }
36
39
  export class OAuthConfig extends Schema.Class("Mcp.OAuthConfig")({
@@ -55,6 +58,9 @@ export class RemoteConfig extends Schema.Class("Mcp.RemoteConfig")({
55
58
  }),
56
59
  timeout: TimeoutConfig.pipe(optional),
57
60
  protocol: Protocol.pipe(optional),
61
+ pool: Schema.Boolean.pipe(optional).annotate({
62
+ description: 'Share one connection to this server across every directory that configures it identically, instead of one per directory. Only connections that negotiate the 2026-07-28 revision are shared; an unset "protocol" becomes "auto", and "legacy" never shares. Defaults to false.',
63
+ }),
58
64
  }) {
59
65
  }
60
66
  export const ServerConfig = Schema.Union([LocalConfig, RemoteConfig]).pipe(Schema.toTaggedUnion("type"));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-646",
4
+ "version": "0.0.0-dev-665",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {