@opencode/schema 0.0.0-beta-19500 → 0.0.0-dev-19274

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.
@@ -102,7 +102,6 @@ declare const Model_base: Schema.Class<Model, Schema.Struct<{
102
102
  readonly mode: Schema.Literal<"provider">;
103
103
  readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
104
104
  }>]>>, never, never>;
105
- readonly websocket: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
106
105
  readonly modelID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.ID">>, never, never>;
107
106
  readonly family: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.Family">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.Family">>, never, never>;
108
107
  readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -139,7 +138,6 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
139
138
  readonly mode: Schema.Literal<"provider">;
140
139
  readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
141
140
  }>]>>, never, never>;
142
- readonly websocket: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
143
141
  readonly canonical: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Provider.ID"> & {
144
142
  opencode: string & import("effect/Brand").Brand<"Provider.ID">;
145
143
  anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -38,9 +38,6 @@ class Limit extends Schema.Class("Config.Model.Limit")({
38
38
  }
39
39
  class Model extends Schema.Class("Config.Model")({
40
40
  compaction: Provider.Compaction.pipe(optional),
41
- websocket: Schema.Boolean.pipe(optional).annotate({
42
- description: "Use the provider's WebSocket transport for this model. Defaults to the provider policy.",
43
- }),
44
41
  modelID: ID.pipe(optional),
45
42
  family: Family.pipe(optional),
46
43
  name: Schema.String.pipe(optional),
@@ -59,9 +56,6 @@ class Model extends Schema.Class("Config.Model")({
59
56
  }
60
57
  export class Info extends Schema.Class("Config.Provider")({
61
58
  compaction: Provider.Compaction.pipe(optional),
62
- websocket: Schema.Boolean.pipe(optional).annotate({
63
- description: "Use the provider's WebSocket transport when the route supports it. Defaults to the built-in policy.",
64
- }),
65
59
  canonical: Provider.ID.pipe(optional),
66
60
  name: Schema.String.pipe(optional),
67
61
  env: Schema.String.pipe(Schema.Array, optional),
@@ -2,6 +2,6 @@ export * as ConfigWorktree from "./worktree.js";
2
2
  import { Schema } from "effect";
3
3
  export const Info = Schema.Struct({
4
4
  directory: Schema.Trim.pipe(Schema.check(Schema.isNonEmpty())).annotate({
5
- description: "Parent directory for new worktrees, relative to the project's primary checkout when not absolute",
5
+ description: "Parent directory for new worktrees, relative to the declaring config file when not absolute",
6
6
  }),
7
7
  }).annotate({ identifier: "Config.Worktree" });