@opencode-ai/schema 0.0.0-next-15152 → 0.0.0-next-15154
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/event-manifest.d.ts +8 -8
- package/dist/form.d.ts +12 -12
- package/dist/form.js +1 -1
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -6723,7 +6723,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6723
6723
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
6724
6724
|
};
|
|
6725
6725
|
readonly sessionID: Schema.String;
|
|
6726
|
-
readonly title: Schema.
|
|
6726
|
+
readonly title: Schema.String;
|
|
6727
6727
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6728
6728
|
}>, Schema.Struct<{
|
|
6729
6729
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -6732,7 +6732,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6732
6732
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
6733
6733
|
};
|
|
6734
6734
|
readonly sessionID: Schema.String;
|
|
6735
|
-
readonly title: Schema.
|
|
6735
|
+
readonly title: Schema.String;
|
|
6736
6736
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6737
6737
|
}>]>;
|
|
6738
6738
|
}>;
|
|
@@ -6855,7 +6855,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6855
6855
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
6856
6856
|
};
|
|
6857
6857
|
readonly sessionID: Schema.String;
|
|
6858
|
-
readonly title: Schema.
|
|
6858
|
+
readonly title: Schema.String;
|
|
6859
6859
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6860
6860
|
}>, Schema.Struct<{
|
|
6861
6861
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -6864,7 +6864,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6864
6864
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
6865
6865
|
};
|
|
6866
6866
|
readonly sessionID: Schema.String;
|
|
6867
|
-
readonly title: Schema.
|
|
6867
|
+
readonly title: Schema.String;
|
|
6868
6868
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6869
6869
|
}>]>;
|
|
6870
6870
|
}>;
|
|
@@ -14949,7 +14949,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
14949
14949
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
14950
14950
|
};
|
|
14951
14951
|
readonly sessionID: Schema.String;
|
|
14952
|
-
readonly title: Schema.
|
|
14952
|
+
readonly title: Schema.String;
|
|
14953
14953
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
14954
14954
|
}>, Schema.Struct<{
|
|
14955
14955
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -14958,7 +14958,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
14958
14958
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
14959
14959
|
};
|
|
14960
14960
|
readonly sessionID: Schema.String;
|
|
14961
|
-
readonly title: Schema.
|
|
14961
|
+
readonly title: Schema.String;
|
|
14962
14962
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
14963
14963
|
}>]>;
|
|
14964
14964
|
}>;
|
|
@@ -15081,7 +15081,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
15081
15081
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
15082
15082
|
};
|
|
15083
15083
|
readonly sessionID: Schema.String;
|
|
15084
|
-
readonly title: Schema.
|
|
15084
|
+
readonly title: Schema.String;
|
|
15085
15085
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15086
15086
|
}>, Schema.Struct<{
|
|
15087
15087
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -15090,7 +15090,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
15090
15090
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
15091
15091
|
};
|
|
15092
15092
|
readonly sessionID: Schema.String;
|
|
15093
|
-
readonly title: Schema.
|
|
15093
|
+
readonly title: Schema.String;
|
|
15094
15094
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
15095
15095
|
}>]>;
|
|
15096
15096
|
}>;
|
package/dist/form.d.ts
CHANGED
|
@@ -365,7 +365,7 @@ export declare const FormInfo: Schema.Struct<{
|
|
|
365
365
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
366
366
|
};
|
|
367
367
|
readonly sessionID: Schema.String;
|
|
368
|
-
readonly title: Schema.
|
|
368
|
+
readonly title: Schema.String;
|
|
369
369
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
370
370
|
}>;
|
|
371
371
|
export interface FormInfo extends Schema.Schema.Type<typeof FormInfo> {
|
|
@@ -377,7 +377,7 @@ export declare const UrlInfo: Schema.Struct<{
|
|
|
377
377
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
378
378
|
};
|
|
379
379
|
readonly sessionID: Schema.String;
|
|
380
|
-
readonly title: Schema.
|
|
380
|
+
readonly title: Schema.String;
|
|
381
381
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
382
382
|
}>;
|
|
383
383
|
export interface UrlInfo extends Schema.Schema.Type<typeof UrlInfo> {
|
|
@@ -496,7 +496,7 @@ export declare const Info: Schema.toTaggedUnion<"mode", readonly [Schema.Struct<
|
|
|
496
496
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
497
497
|
};
|
|
498
498
|
readonly sessionID: Schema.String;
|
|
499
|
-
readonly title: Schema.
|
|
499
|
+
readonly title: Schema.String;
|
|
500
500
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
501
501
|
}>, Schema.Struct<{
|
|
502
502
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -505,7 +505,7 @@ export declare const Info: Schema.toTaggedUnion<"mode", readonly [Schema.Struct<
|
|
|
505
505
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
506
506
|
};
|
|
507
507
|
readonly sessionID: Schema.String;
|
|
508
|
-
readonly title: Schema.
|
|
508
|
+
readonly title: Schema.String;
|
|
509
509
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
510
510
|
}>]>;
|
|
511
511
|
export type Info = FormInfo | UrlInfo;
|
|
@@ -669,7 +669,7 @@ export declare const Event: {
|
|
|
669
669
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
670
670
|
};
|
|
671
671
|
readonly sessionID: Schema.String;
|
|
672
|
-
readonly title: Schema.
|
|
672
|
+
readonly title: Schema.String;
|
|
673
673
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
674
674
|
}>, Schema.Struct<{
|
|
675
675
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -678,7 +678,7 @@ export declare const Event: {
|
|
|
678
678
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
679
679
|
};
|
|
680
680
|
readonly sessionID: Schema.String;
|
|
681
|
-
readonly title: Schema.
|
|
681
|
+
readonly title: Schema.String;
|
|
682
682
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
683
683
|
}>]>;
|
|
684
684
|
}>;
|
|
@@ -801,7 +801,7 @@ export declare const Event: {
|
|
|
801
801
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
802
802
|
};
|
|
803
803
|
readonly sessionID: Schema.String;
|
|
804
|
-
readonly title: Schema.
|
|
804
|
+
readonly title: Schema.String;
|
|
805
805
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
806
806
|
}>, Schema.Struct<{
|
|
807
807
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -810,7 +810,7 @@ export declare const Event: {
|
|
|
810
810
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
811
811
|
};
|
|
812
812
|
readonly sessionID: Schema.String;
|
|
813
|
-
readonly title: Schema.
|
|
813
|
+
readonly title: Schema.String;
|
|
814
814
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
815
815
|
}>]>;
|
|
816
816
|
}>;
|
|
@@ -1044,7 +1044,7 @@ export declare const Event: {
|
|
|
1044
1044
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1045
1045
|
};
|
|
1046
1046
|
readonly sessionID: Schema.String;
|
|
1047
|
-
readonly title: Schema.
|
|
1047
|
+
readonly title: Schema.String;
|
|
1048
1048
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1049
1049
|
}>, Schema.Struct<{
|
|
1050
1050
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -1053,7 +1053,7 @@ export declare const Event: {
|
|
|
1053
1053
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1054
1054
|
};
|
|
1055
1055
|
readonly sessionID: Schema.String;
|
|
1056
|
-
readonly title: Schema.
|
|
1056
|
+
readonly title: Schema.String;
|
|
1057
1057
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1058
1058
|
}>]>;
|
|
1059
1059
|
}>;
|
|
@@ -1176,7 +1176,7 @@ export declare const Event: {
|
|
|
1176
1176
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1177
1177
|
};
|
|
1178
1178
|
readonly sessionID: Schema.String;
|
|
1179
|
-
readonly title: Schema.
|
|
1179
|
+
readonly title: Schema.String;
|
|
1180
1180
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1181
1181
|
}>, Schema.Struct<{
|
|
1182
1182
|
readonly mode: Schema.Literal<"url">;
|
|
@@ -1185,7 +1185,7 @@ export declare const Event: {
|
|
|
1185
1185
|
create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
|
|
1186
1186
|
};
|
|
1187
1187
|
readonly sessionID: Schema.String;
|
|
1188
|
-
readonly title: Schema.
|
|
1188
|
+
readonly title: Schema.String;
|
|
1189
1189
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
1190
1190
|
}>]>;
|
|
1191
1191
|
}>;
|
package/dist/form.js
CHANGED
|
@@ -78,7 +78,7 @@ const InfoBase = {
|
|
|
78
78
|
// elicitations can be attributed to real sessions, revert this to SessionID. Do not rely
|
|
79
79
|
// on non-session owners anywhere else.
|
|
80
80
|
sessionID: Schema.String,
|
|
81
|
-
title: Schema.String
|
|
81
|
+
title: Schema.String,
|
|
82
82
|
metadata: Metadata.pipe(optional),
|
|
83
83
|
};
|
|
84
84
|
export const FormInfo = Schema.Struct({
|