@opencode-ai/schema 0.0.0-dev-19105 → 0.0.0-dev-19107

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/config.d.ts CHANGED
@@ -36,7 +36,7 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
36
36
  readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
37
37
  }>]>, never, never>>, never, never>;
38
38
  readonly default_agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
39
- readonly update: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["disable", "notify"]>>>, Schema.optionalKey<Schema.Literals<readonly ["disable", "notify"]>>, never, never>;
39
+ readonly update: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["disable", "notify", "auto"]>>>, Schema.optionalKey<Schema.Literals<readonly ["disable", "notify", "auto"]>>, never, never>;
40
40
  readonly share: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["manual", "auto", "disabled"]>>>, Schema.optionalKey<Schema.Literals<readonly ["manual", "auto", "disabled"]>>, never, never>;
41
41
  readonly enterprise: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
42
42
  readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
package/dist/config.js CHANGED
@@ -32,8 +32,8 @@ export class Info extends Schema.Class("Config.Info")({
32
32
  default_agent: Schema.String.pipe(optional).annotate({
33
33
  description: "Default primary agent to use when no session agent is selected",
34
34
  }),
35
- update: Schema.Literals(["disable", "notify"]).pipe(optional).annotate({
36
- description: "Disable updates or notify when one is available",
35
+ update: Schema.Literals(["disable", "notify", "auto"]).pipe(optional).annotate({
36
+ description: "Disable updates, notify when one is available, or install updates automatically",
37
37
  }),
38
38
  share: Schema.Literals(["manual", "auto", "disabled"]).pipe(optional).annotate({
39
39
  description: "Control whether sessions may be shared manually, automatically, or not at all",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-dev-19105",
4
+ "version": "0.0.0-dev-19107",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {