File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Project configuration is optional. You can place an `opencode.json` file in the
5151
5252``` json title="opencode.json"
5353{
54- "$schema" : " https ://opencode.ai/schemas/opencode .json"
54+ "$schema" : " http ://opencode.ai/config .json"
5555}
5656```
5757
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://opencode.ai/config.json"
3+ }
Original file line number Diff line number Diff line change 11{
22 "type" : " object" ,
33 "properties" : {
4+ "$schema" : {
5+ "type" : " string"
6+ },
47 "provider" : {
58 "type" : " object" ,
69 "additionalProperties" : {
6972 "type" : " number"
7073 }
7174 },
72- "required" : [" context" , " output" ],
75+ "required" : [
76+ " context" ,
77+ " output"
78+ ],
7379 "additionalProperties" : false
7480 },
7581 "id" : {
8490 "additionalProperties" : {}
8591 }
8692 },
87- "required" : [" models" ],
93+ "required" : [
94+ " models"
95+ ],
8896 "additionalProperties" : false
8997 }
9098 },
112120 }
113121 }
114122 },
115- "required" : [" type" , " command" ],
123+ "required" : [
124+ " type" ,
125+ " command"
126+ ],
116127 "additionalProperties" : false
117128 },
118129 {
126137 "type" : " string"
127138 }
128139 },
129- "required" : [" type" , " url" ],
140+ "required" : [
141+ " type" ,
142+ " url"
143+ ],
130144 "additionalProperties" : false
131145 }
132146 ]
135149 },
136150 "additionalProperties" : false ,
137151 "$schema" : " http://json-schema.org/draft-07/schema#"
138- }
139-
152+ }
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ if (!snapshot) {
111111 ! lower . includes ( "chore:" ) &&
112112 ! lower . includes ( "ci:" ) &&
113113 ! lower . includes ( "docs:" ) &&
114- ! lower . includes ( "doc:" ) &&
114+ ! lower . includes ( "doc:" )
115115 )
116116 } )
117117 . join ( "\n" )
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export namespace Config {
5050
5151 export const Info = z
5252 . object ( {
53+ $schema : z . string ( ) . optional ( ) ,
5354 provider : z
5455 . record (
5556 ModelsDev . Provider . partial ( ) . extend ( {
You can’t perform that action at this time.
0 commit comments