@opencode-ai/client 0.0.0-next-16052 → 0.0.0-next-16067

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.
@@ -3970,15 +3970,15 @@ export declare const make: (options?: {
3970
3970
  }>>, never, never>;
3971
3971
  readonly package: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3972
3972
  }> & {
3973
- empty: (providerID: import("@opencode-ai/schema/provider").ID, id: import("@opencode-ai/schema/model").ID) => {
3973
+ default: (providerID: import("@opencode-ai/schema/provider").ID, id: import("@opencode-ai/schema/model").ID) => {
3974
3974
  id: string & import("effect/Brand").Brand<"Model.ID">;
3975
3975
  modelID: string & import("effect/Brand").Brand<"Model.ID">;
3976
3976
  providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
3977
3977
  name: string & import("effect/Brand").Brand<"Model.ID">;
3978
3978
  capabilities: {
3979
- tools: false;
3980
- input: never[];
3981
- output: never[];
3979
+ tools: true;
3980
+ input: string[];
3981
+ output: string[];
3982
3982
  };
3983
3983
  variants: never[];
3984
3984
  time: {
@@ -4068,15 +4068,15 @@ export declare const make: (options?: {
4068
4068
  }>>, never, never>;
4069
4069
  readonly package: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4070
4070
  }> & {
4071
- empty: (providerID: import("@opencode-ai/schema/provider").ID, id: import("@opencode-ai/schema/model").ID) => {
4071
+ default: (providerID: import("@opencode-ai/schema/provider").ID, id: import("@opencode-ai/schema/model").ID) => {
4072
4072
  id: string & import("effect/Brand").Brand<"Model.ID">;
4073
4073
  modelID: string & import("effect/Brand").Brand<"Model.ID">;
4074
4074
  providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
4075
4075
  name: string & import("effect/Brand").Brand<"Model.ID">;
4076
4076
  capabilities: {
4077
- tools: false;
4078
- input: never[];
4079
- output: never[];
4077
+ tools: true;
4078
+ input: string[];
4079
+ output: string[];
4080
4080
  };
4081
4081
  variants: never[];
4082
4082
  time: {
@@ -4672,12 +4672,12 @@ export declare const make: (options?: {
4672
4672
  readonly value: string;
4673
4673
  readonly description?: string | undefined;
4674
4674
  }[] | undefined;
4675
+ readonly default?: string | undefined;
4675
4676
  readonly title?: string | undefined;
4676
4677
  readonly format?: "uri" | "email" | "date" | "date-time" | undefined;
4677
4678
  readonly minLength?: number | undefined;
4678
4679
  readonly maxLength?: number | undefined;
4679
4680
  readonly pattern?: string | undefined;
4680
- readonly default?: string | undefined;
4681
4681
  readonly custom?: boolean | undefined;
4682
4682
  } | {
4683
4683
  readonly type: "number";
@@ -4689,8 +4689,8 @@ export declare const make: (options?: {
4689
4689
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4690
4690
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4691
4691
  }, "Type">[] | undefined;
4692
- readonly title?: string | undefined;
4693
4692
  readonly default?: number | undefined;
4693
+ readonly title?: string | undefined;
4694
4694
  readonly minimum?: number | undefined;
4695
4695
  readonly maximum?: number | undefined;
4696
4696
  } | {
@@ -4703,8 +4703,8 @@ export declare const make: (options?: {
4703
4703
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4704
4704
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4705
4705
  }, "Type">[] | undefined;
4706
- readonly title?: string | undefined;
4707
4706
  readonly default?: number | undefined;
4707
+ readonly title?: string | undefined;
4708
4708
  readonly minimum?: number | undefined;
4709
4709
  readonly maximum?: number | undefined;
4710
4710
  } | {
@@ -4717,8 +4717,8 @@ export declare const make: (options?: {
4717
4717
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4718
4718
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4719
4719
  }, "Type">[] | undefined;
4720
- readonly title?: string | undefined;
4721
4720
  readonly default?: boolean | undefined;
4721
+ readonly title?: string | undefined;
4722
4722
  } | {
4723
4723
  readonly type: "multiselect";
4724
4724
  readonly key: string;
@@ -4734,8 +4734,8 @@ export declare const make: (options?: {
4734
4734
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4735
4735
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4736
4736
  }, "Type">[] | undefined;
4737
- readonly title?: string | undefined;
4738
4737
  readonly default?: readonly string[] | undefined;
4738
+ readonly title?: string | undefined;
4739
4739
  readonly custom?: boolean | undefined;
4740
4740
  readonly minItems?: number | undefined;
4741
4741
  readonly maxItems?: number | undefined;
@@ -4761,12 +4761,12 @@ export declare const make: (options?: {
4761
4761
  readonly value: string;
4762
4762
  readonly description?: string | undefined;
4763
4763
  }[] | undefined;
4764
+ readonly default?: string | undefined;
4764
4765
  readonly title?: string | undefined;
4765
4766
  readonly format?: "uri" | "email" | "date" | "date-time" | undefined;
4766
4767
  readonly minLength?: number | undefined;
4767
4768
  readonly maxLength?: number | undefined;
4768
4769
  readonly pattern?: string | undefined;
4769
- readonly default?: string | undefined;
4770
4770
  readonly custom?: boolean | undefined;
4771
4771
  } | {
4772
4772
  readonly type: "number";
@@ -4778,8 +4778,8 @@ export declare const make: (options?: {
4778
4778
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4779
4779
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4780
4780
  }, "Type">[] | undefined;
4781
- readonly title?: string | undefined;
4782
4781
  readonly default?: number | undefined;
4782
+ readonly title?: string | undefined;
4783
4783
  readonly minimum?: number | undefined;
4784
4784
  readonly maximum?: number | undefined;
4785
4785
  } | {
@@ -4792,8 +4792,8 @@ export declare const make: (options?: {
4792
4792
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4793
4793
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4794
4794
  }, "Type">[] | undefined;
4795
- readonly title?: string | undefined;
4796
4795
  readonly default?: number | undefined;
4796
+ readonly title?: string | undefined;
4797
4797
  readonly minimum?: number | undefined;
4798
4798
  readonly maximum?: number | undefined;
4799
4799
  } | {
@@ -4806,8 +4806,8 @@ export declare const make: (options?: {
4806
4806
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4807
4807
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4808
4808
  }, "Type">[] | undefined;
4809
- readonly title?: string | undefined;
4810
4809
  readonly default?: boolean | undefined;
4810
+ readonly title?: string | undefined;
4811
4811
  } | {
4812
4812
  readonly type: "multiselect";
4813
4813
  readonly key: string;
@@ -4823,8 +4823,8 @@ export declare const make: (options?: {
4823
4823
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4824
4824
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4825
4825
  }, "Type">[] | undefined;
4826
- readonly title?: string | undefined;
4827
4826
  readonly default?: readonly string[] | undefined;
4827
+ readonly title?: string | undefined;
4828
4828
  readonly custom?: boolean | undefined;
4829
4829
  readonly minItems?: number | undefined;
4830
4830
  readonly maxItems?: number | undefined;
@@ -4859,12 +4859,12 @@ export declare const make: (options?: {
4859
4859
  readonly value: string;
4860
4860
  readonly description?: string | undefined;
4861
4861
  }[] | undefined;
4862
+ readonly default?: string | undefined;
4862
4863
  readonly title?: string | undefined;
4863
4864
  readonly format?: "uri" | "email" | "date" | "date-time" | undefined;
4864
4865
  readonly minLength?: number | undefined;
4865
4866
  readonly maxLength?: number | undefined;
4866
4867
  readonly pattern?: string | undefined;
4867
- readonly default?: string | undefined;
4868
4868
  readonly custom?: boolean | undefined;
4869
4869
  } | {
4870
4870
  readonly type: "number";
@@ -4876,8 +4876,8 @@ export declare const make: (options?: {
4876
4876
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4877
4877
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4878
4878
  }, "Type">[] | undefined;
4879
- readonly title?: string | undefined;
4880
4879
  readonly default?: number | undefined;
4880
+ readonly title?: string | undefined;
4881
4881
  readonly minimum?: number | undefined;
4882
4882
  readonly maximum?: number | undefined;
4883
4883
  } | {
@@ -4890,8 +4890,8 @@ export declare const make: (options?: {
4890
4890
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4891
4891
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4892
4892
  }, "Type">[] | undefined;
4893
- readonly title?: string | undefined;
4894
4893
  readonly default?: number | undefined;
4894
+ readonly title?: string | undefined;
4895
4895
  readonly minimum?: number | undefined;
4896
4896
  readonly maximum?: number | undefined;
4897
4897
  } | {
@@ -4904,8 +4904,8 @@ export declare const make: (options?: {
4904
4904
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4905
4905
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4906
4906
  }, "Type">[] | undefined;
4907
- readonly title?: string | undefined;
4908
4907
  readonly default?: boolean | undefined;
4908
+ readonly title?: string | undefined;
4909
4909
  } | {
4910
4910
  readonly type: "multiselect";
4911
4911
  readonly key: string;
@@ -4921,8 +4921,8 @@ export declare const make: (options?: {
4921
4921
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4922
4922
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4923
4923
  }, "Type">[] | undefined;
4924
- readonly title?: string | undefined;
4925
4924
  readonly default?: readonly string[] | undefined;
4925
+ readonly title?: string | undefined;
4926
4926
  readonly custom?: boolean | undefined;
4927
4927
  readonly minItems?: number | undefined;
4928
4928
  readonly maxItems?: number | undefined;
@@ -4948,12 +4948,12 @@ export declare const make: (options?: {
4948
4948
  readonly value: string;
4949
4949
  readonly description?: string | undefined;
4950
4950
  }[] | undefined;
4951
+ readonly default?: string | undefined;
4951
4952
  readonly title?: string | undefined;
4952
4953
  readonly format?: "uri" | "email" | "date" | "date-time" | undefined;
4953
4954
  readonly minLength?: number | undefined;
4954
4955
  readonly maxLength?: number | undefined;
4955
4956
  readonly pattern?: string | undefined;
4956
- readonly default?: string | undefined;
4957
4957
  readonly custom?: boolean | undefined;
4958
4958
  } | {
4959
4959
  readonly type: "number";
@@ -4965,8 +4965,8 @@ export declare const make: (options?: {
4965
4965
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4966
4966
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4967
4967
  }, "Type">[] | undefined;
4968
- readonly title?: string | undefined;
4969
4968
  readonly default?: number | undefined;
4969
+ readonly title?: string | undefined;
4970
4970
  readonly minimum?: number | undefined;
4971
4971
  readonly maximum?: number | undefined;
4972
4972
  } | {
@@ -4979,8 +4979,8 @@ export declare const make: (options?: {
4979
4979
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4980
4980
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4981
4981
  }, "Type">[] | undefined;
4982
- readonly title?: string | undefined;
4983
4982
  readonly default?: number | undefined;
4983
+ readonly title?: string | undefined;
4984
4984
  readonly minimum?: number | undefined;
4985
4985
  readonly maximum?: number | undefined;
4986
4986
  } | {
@@ -4993,8 +4993,8 @@ export declare const make: (options?: {
4993
4993
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
4994
4994
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
4995
4995
  }, "Type">[] | undefined;
4996
- readonly title?: string | undefined;
4997
4996
  readonly default?: boolean | undefined;
4997
+ readonly title?: string | undefined;
4998
4998
  } | {
4999
4999
  readonly type: "multiselect";
5000
5000
  readonly key: string;
@@ -5010,8 +5010,8 @@ export declare const make: (options?: {
5010
5010
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5011
5011
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5012
5012
  }, "Type">[] | undefined;
5013
- readonly title?: string | undefined;
5014
5013
  readonly default?: readonly string[] | undefined;
5014
+ readonly title?: string | undefined;
5015
5015
  readonly custom?: boolean | undefined;
5016
5016
  readonly minItems?: number | undefined;
5017
5017
  readonly maxItems?: number | undefined;
@@ -5046,12 +5046,12 @@ export declare const make: (options?: {
5046
5046
  readonly value: string;
5047
5047
  readonly description?: string | undefined;
5048
5048
  }[] | undefined;
5049
+ readonly default?: string | undefined;
5049
5050
  readonly title?: string | undefined;
5050
5051
  readonly format?: "uri" | "email" | "date" | "date-time" | undefined;
5051
5052
  readonly minLength?: number | undefined;
5052
5053
  readonly maxLength?: number | undefined;
5053
5054
  readonly pattern?: string | undefined;
5054
- readonly default?: string | undefined;
5055
5055
  readonly custom?: boolean | undefined;
5056
5056
  } | {
5057
5057
  readonly type: "number";
@@ -5063,8 +5063,8 @@ export declare const make: (options?: {
5063
5063
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5064
5064
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5065
5065
  }, "Type">[] | undefined;
5066
- readonly title?: string | undefined;
5067
5066
  readonly default?: number | undefined;
5067
+ readonly title?: string | undefined;
5068
5068
  readonly minimum?: number | undefined;
5069
5069
  readonly maximum?: number | undefined;
5070
5070
  } | {
@@ -5077,8 +5077,8 @@ export declare const make: (options?: {
5077
5077
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5078
5078
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5079
5079
  }, "Type">[] | undefined;
5080
- readonly title?: string | undefined;
5081
5080
  readonly default?: number | undefined;
5081
+ readonly title?: string | undefined;
5082
5082
  readonly minimum?: number | undefined;
5083
5083
  readonly maximum?: number | undefined;
5084
5084
  } | {
@@ -5091,8 +5091,8 @@ export declare const make: (options?: {
5091
5091
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5092
5092
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5093
5093
  }, "Type">[] | undefined;
5094
- readonly title?: string | undefined;
5095
5094
  readonly default?: boolean | undefined;
5095
+ readonly title?: string | undefined;
5096
5096
  } | {
5097
5097
  readonly type: "multiselect";
5098
5098
  readonly key: string;
@@ -5108,8 +5108,8 @@ export declare const make: (options?: {
5108
5108
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5109
5109
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5110
5110
  }, "Type">[] | undefined;
5111
- readonly title?: string | undefined;
5112
5111
  readonly default?: readonly string[] | undefined;
5112
+ readonly title?: string | undefined;
5113
5113
  readonly custom?: boolean | undefined;
5114
5114
  readonly minItems?: number | undefined;
5115
5115
  readonly maxItems?: number | undefined;
@@ -5135,12 +5135,12 @@ export declare const make: (options?: {
5135
5135
  readonly value: string;
5136
5136
  readonly description?: string | undefined;
5137
5137
  }[] | undefined;
5138
+ readonly default?: string | undefined;
5138
5139
  readonly title?: string | undefined;
5139
5140
  readonly format?: "uri" | "email" | "date" | "date-time" | undefined;
5140
5141
  readonly minLength?: number | undefined;
5141
5142
  readonly maxLength?: number | undefined;
5142
5143
  readonly pattern?: string | undefined;
5143
- readonly default?: string | undefined;
5144
5144
  readonly custom?: boolean | undefined;
5145
5145
  } | {
5146
5146
  readonly type: "number";
@@ -5152,8 +5152,8 @@ export declare const make: (options?: {
5152
5152
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5153
5153
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5154
5154
  }, "Type">[] | undefined;
5155
- readonly title?: string | undefined;
5156
5155
  readonly default?: number | undefined;
5156
+ readonly title?: string | undefined;
5157
5157
  readonly minimum?: number | undefined;
5158
5158
  readonly maximum?: number | undefined;
5159
5159
  } | {
@@ -5166,8 +5166,8 @@ export declare const make: (options?: {
5166
5166
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5167
5167
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5168
5168
  }, "Type">[] | undefined;
5169
- readonly title?: string | undefined;
5170
5169
  readonly default?: number | undefined;
5170
+ readonly title?: string | undefined;
5171
5171
  readonly minimum?: number | undefined;
5172
5172
  readonly maximum?: number | undefined;
5173
5173
  } | {
@@ -5180,8 +5180,8 @@ export declare const make: (options?: {
5180
5180
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5181
5181
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5182
5182
  }, "Type">[] | undefined;
5183
- readonly title?: string | undefined;
5184
5183
  readonly default?: boolean | undefined;
5184
+ readonly title?: string | undefined;
5185
5185
  } | {
5186
5186
  readonly type: "multiselect";
5187
5187
  readonly key: string;
@@ -5197,8 +5197,8 @@ export declare const make: (options?: {
5197
5197
  readonly op: Schema.Literals<readonly ["eq", "neq"]>;
5198
5198
  readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Boolean]>;
5199
5199
  }, "Type">[] | undefined;
5200
- readonly title?: string | undefined;
5201
5200
  readonly default?: readonly string[] | undefined;
5201
+ readonly title?: string | undefined;
5202
5202
  readonly custom?: boolean | undefined;
5203
5203
  readonly minItems?: number | undefined;
5204
5204
  readonly maxItems?: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/client",
4
- "version": "0.0.0-next-16052",
4
+ "version": "0.0.0-next-16067",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "typecheck": "tsgo --noEmit"
54
54
  },
55
55
  "dependencies": {
56
- "@opencode-ai/schema": "0.0.0-next-16052",
57
- "@opencode-ai/protocol": "0.0.0-next-16052"
56
+ "@opencode-ai/schema": "0.0.0-next-16067",
57
+ "@opencode-ai/protocol": "0.0.0-next-16067"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "effect": "4.0.0-beta.98"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@effect/platform-node": "4.0.0-beta.98",
69
- "@opencode-ai/httpapi-codegen": "0.0.0-next-16052",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-16067",
70
70
  "@tsconfig/bun": "1.0.9",
71
71
  "@types/bun": "1.3.13",
72
72
  "@typescript/native-preview": "7.0.0-dev.20251207.1",