@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.
@@ -17,7 +17,7 @@ export const Snapshot = Schema.Array(Schema.Struct({
17
17
  ...Info.fields,
18
18
  removed: Schema.Boolean,
19
19
  })).annotate({ identifier: "InstructionEntry.Snapshot" });
20
- export const MaxValueBytes = 256 * 1024;
20
+ export const MaxValueBytes = 8 * 1024;
21
21
  export class ValueTooLargeError extends Schema.TaggedError()("InstructionEntryValueTooLargeError", {
22
22
  actualBytes: Schema.Int,
23
23
  maxBytes: Schema.Int,
package/dist/model.d.ts CHANGED
@@ -219,8 +219,6 @@ export declare const Info: Schema.Struct<{
219
219
  readonly mode: Schema.Literal<"provider">;
220
220
  readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
221
221
  }>]>>, never, never>;
222
- /** Session WebSocket policy; omitted inherits the provider policy, then defaults to disabled. */
223
- readonly websocket: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
224
222
  }> & {
225
223
  default: (providerID: Provider.ID, id: ID) => {
226
224
  id: string & import("effect/Brand").Brand<"Model.ID">;
package/dist/model.js CHANGED
@@ -81,8 +81,6 @@ export const Info = Schema.Struct({
81
81
  compatibility: Compatibility.pipe(optional),
82
82
  package: Provider.Package.pipe(optional),
83
83
  compaction: Provider.Compaction.pipe(optional),
84
- /** Session WebSocket policy; omitted inherits the provider policy, then defaults to disabled. */
85
- websocket: Schema.Boolean.pipe(optional),
86
84
  ...Provider.Overlays,
87
85
  capabilities: Capabilities,
88
86
  variants: Schema.Array(Variant),
@@ -98,8 +98,6 @@ export declare const Info: Schema.Struct<{
98
98
  readonly mode: Schema.Literal<"provider">;
99
99
  readonly threshold: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
100
100
  }>]>>, never, never>;
101
- /** Session WebSocket policy for routes that support it; omitted means disabled. */
102
- readonly websocket: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
103
101
  }> & {
104
102
  empty: (id: ID) => Info;
105
103
  };
package/dist/provider.js CHANGED
@@ -40,8 +40,6 @@ export const Info = Schema.Struct({
40
40
  activation: Activation,
41
41
  package: Package,
42
42
  compaction: Compaction.pipe(optional),
43
- /** Session WebSocket policy for routes that support it; omitted means disabled. */
44
- websocket: Schema.Boolean.pipe(optional),
45
43
  ...Overlays,
46
44
  })
47
45
  .annotate({ identifier: "Provider.Info" })