@opencode-ai/schema 0.0.0-dev-19191 → 0.0.0-dev-19194
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 +4 -4
- package/dist/session-event.d.ts +10 -10
- package/dist/session-event.js +1 -1
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -1797,7 +1797,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1797
1797
|
}>, never, never>;
|
|
1798
1798
|
}>>, never, never>;
|
|
1799
1799
|
readonly data: Schema.Struct<{
|
|
1800
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
1800
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
1801
1801
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1802
1802
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1803
1803
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1811,7 +1811,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1811
1811
|
readonly aggregate: string;
|
|
1812
1812
|
};
|
|
1813
1813
|
data: Schema.Struct<{
|
|
1814
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
1814
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
1815
1815
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1816
1816
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1817
1817
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7897,7 +7897,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7897
7897
|
}>, never, never>;
|
|
7898
7898
|
}>>, never, never>;
|
|
7899
7899
|
readonly data: Schema.Struct<{
|
|
7900
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
7900
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
7901
7901
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7902
7902
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7903
7903
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7911,7 +7911,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7911
7911
|
readonly aggregate: string;
|
|
7912
7912
|
};
|
|
7913
7913
|
data: Schema.Struct<{
|
|
7914
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
7914
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
7915
7915
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7916
7916
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7917
7917
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/session-event.d.ts
CHANGED
|
@@ -1927,7 +1927,7 @@ export declare namespace Execution {
|
|
|
1927
1927
|
}>, never, never>;
|
|
1928
1928
|
}>>, never, never>;
|
|
1929
1929
|
readonly data: Schema.Struct<{
|
|
1930
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
1930
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
1931
1931
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1932
1932
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1933
1933
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1941,7 +1941,7 @@ export declare namespace Execution {
|
|
|
1941
1941
|
readonly aggregate: string;
|
|
1942
1942
|
};
|
|
1943
1943
|
data: Schema.Struct<{
|
|
1944
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
1944
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
1945
1945
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
1946
1946
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
1947
1947
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5825,7 +5825,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5825
5825
|
}>, never, never>;
|
|
5826
5826
|
}>>, never, never>;
|
|
5827
5827
|
readonly data: Schema.Struct<{
|
|
5828
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
5828
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
5829
5829
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5830
5830
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5831
5831
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5839,7 +5839,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5839
5839
|
readonly aggregate: string;
|
|
5840
5840
|
};
|
|
5841
5841
|
data: Schema.Struct<{
|
|
5842
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
5842
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
5843
5843
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5844
5844
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5845
5845
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -9988,7 +9988,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9988
9988
|
}>, never, never>;
|
|
9989
9989
|
}>>, never, never>;
|
|
9990
9990
|
readonly data: Schema.Struct<{
|
|
9991
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
9991
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
9992
9992
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
9993
9993
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9994
9994
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10002,7 +10002,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
10002
10002
|
readonly aggregate: string;
|
|
10003
10003
|
};
|
|
10004
10004
|
data: Schema.Struct<{
|
|
10005
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
10005
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
10006
10006
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10007
10007
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10008
10008
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14086,7 +14086,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
14086
14086
|
}>, never, never>;
|
|
14087
14087
|
}>>, never, never>;
|
|
14088
14088
|
readonly data: Schema.Struct<{
|
|
14089
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
14089
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
14090
14090
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14091
14091
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14092
14092
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14100,7 +14100,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
14100
14100
|
readonly aggregate: string;
|
|
14101
14101
|
};
|
|
14102
14102
|
data: Schema.Struct<{
|
|
14103
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
14103
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
14104
14104
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14105
14105
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14106
14106
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -17858,7 +17858,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
17858
17858
|
}>, never, never>;
|
|
17859
17859
|
}>>, never, never>;
|
|
17860
17860
|
readonly data: Schema.Struct<{
|
|
17861
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
17861
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
17862
17862
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
17863
17863
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
17864
17864
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -17872,7 +17872,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
17872
17872
|
readonly aggregate: string;
|
|
17873
17873
|
};
|
|
17874
17874
|
data: Schema.Struct<{
|
|
17875
|
-
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded"]>;
|
|
17875
|
+
readonly reason: Schema.Literals<readonly ["user", "shutdown", "superseded", "inactivity"]>;
|
|
17876
17876
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
17877
17877
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
17878
17878
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/session-event.js
CHANGED
|
@@ -191,7 +191,7 @@ export var Execution;
|
|
|
191
191
|
Execution.Interrupted = Event.durable({
|
|
192
192
|
type: "session.execution.interrupted",
|
|
193
193
|
...options,
|
|
194
|
-
schema: { ...Base, reason: Schema.Literals(["user", "shutdown", "superseded"]) },
|
|
194
|
+
schema: { ...Base, reason: Schema.Literals(["user", "shutdown", "superseded", "inactivity"]) },
|
|
195
195
|
});
|
|
196
196
|
})(Execution || (Execution = {}));
|
|
197
197
|
export const InstructionsUpdated = Event.durable({
|