@opencode/schema 0.0.0-beta-19507 → 0.0.0-dev-19276
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/provider.d.ts +0 -2
- package/dist/config/provider.js +0 -6
- package/dist/config/worktree.js +1 -1
- package/dist/event-manifest.d.ts +416 -332
- package/dist/instruction-entry.js +1 -1
- package/dist/model.d.ts +0 -2
- package/dist/model.js +0 -2
- package/dist/provider.d.ts +0 -2
- package/dist/provider.js +0 -2
- package/dist/session-event.d.ts +754 -1378
- package/dist/session-event.js +3 -20
- package/dist/session-message.d.ts +0 -132
- package/dist/session-message.js +0 -7
- package/dist/session-transfer.d.ts +0 -53
- package/dist/session.d.ts +0 -10
- package/dist/session.js +0 -3
- package/package.json +1 -1
|
@@ -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 =
|
|
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),
|
package/dist/provider.d.ts
CHANGED
|
@@ -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" })
|