@opencode-ai/schema 0.0.0-next-15342 → 0.0.0-next-15346
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/durable-event-manifest.d.ts +12 -12
- package/dist/event-manifest.d.ts +40 -40
- package/dist/integration.d.ts +3 -3
- package/dist/integration.js +2 -3
- package/dist/reference.d.ts +3 -3
- package/dist/reference.js +2 -3
- package/dist/session-event.d.ts +60 -60
- package/dist/shell.d.ts +21 -21
- package/dist/shell.js +5 -5
- package/package.json +1 -1
|
@@ -1164,11 +1164,11 @@ export declare const SessionDurable: {
|
|
|
1164
1164
|
readonly shell: import("effect/Schema").String;
|
|
1165
1165
|
readonly file: import("effect/Schema").String;
|
|
1166
1166
|
readonly pid: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
1167
|
-
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1167
|
+
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1168
1168
|
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
1169
1169
|
readonly time: import("effect/Schema").Struct<{
|
|
1170
|
-
readonly started: import("effect/Schema").
|
|
1171
|
-
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1170
|
+
readonly started: import("effect/Schema").Finite;
|
|
1171
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1172
1172
|
}>;
|
|
1173
1173
|
}>;
|
|
1174
1174
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
@@ -1195,11 +1195,11 @@ export declare const SessionDurable: {
|
|
|
1195
1195
|
readonly shell: import("effect/Schema").String;
|
|
1196
1196
|
readonly file: import("effect/Schema").String;
|
|
1197
1197
|
readonly pid: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
1198
|
-
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1198
|
+
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1199
1199
|
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
1200
1200
|
readonly time: import("effect/Schema").Struct<{
|
|
1201
|
-
readonly started: import("effect/Schema").
|
|
1202
|
-
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1201
|
+
readonly started: import("effect/Schema").Finite;
|
|
1202
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1203
1203
|
}>;
|
|
1204
1204
|
}>;
|
|
1205
1205
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
@@ -1250,11 +1250,11 @@ export declare const SessionDurable: {
|
|
|
1250
1250
|
readonly shell: import("effect/Schema").String;
|
|
1251
1251
|
readonly file: import("effect/Schema").String;
|
|
1252
1252
|
readonly pid: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
1253
|
-
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1253
|
+
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1254
1254
|
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
1255
1255
|
readonly time: import("effect/Schema").Struct<{
|
|
1256
|
-
readonly started: import("effect/Schema").
|
|
1257
|
-
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1256
|
+
readonly started: import("effect/Schema").Finite;
|
|
1257
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1258
1258
|
}>;
|
|
1259
1259
|
}>;
|
|
1260
1260
|
readonly output: import("effect/Schema").Struct<{
|
|
@@ -1287,11 +1287,11 @@ export declare const SessionDurable: {
|
|
|
1287
1287
|
readonly shell: import("effect/Schema").String;
|
|
1288
1288
|
readonly file: import("effect/Schema").String;
|
|
1289
1289
|
readonly pid: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Int>>, import("effect/Schema").optionalKey<import("effect/Schema").Int>, never, never>;
|
|
1290
|
-
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1290
|
+
readonly exit: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1291
1291
|
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
1292
1292
|
readonly time: import("effect/Schema").Struct<{
|
|
1293
|
-
readonly started: import("effect/Schema").
|
|
1294
|
-
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").
|
|
1293
|
+
readonly started: import("effect/Schema").Finite;
|
|
1294
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
1295
1295
|
}>;
|
|
1296
1296
|
}>;
|
|
1297
1297
|
readonly output: import("effect/Schema").Struct<{
|
package/dist/event-manifest.d.ts
CHANGED
|
@@ -3713,11 +3713,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3713
3713
|
readonly shell: Schema.String;
|
|
3714
3714
|
readonly file: Schema.String;
|
|
3715
3715
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3716
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3716
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3717
3717
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3718
3718
|
readonly time: Schema.Struct<{
|
|
3719
|
-
readonly started: Schema.
|
|
3720
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3719
|
+
readonly started: Schema.Finite;
|
|
3720
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3721
3721
|
}>;
|
|
3722
3722
|
}>;
|
|
3723
3723
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -3744,11 +3744,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3744
3744
|
readonly shell: Schema.String;
|
|
3745
3745
|
readonly file: Schema.String;
|
|
3746
3746
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3747
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3747
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3748
3748
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3749
3749
|
readonly time: Schema.Struct<{
|
|
3750
|
-
readonly started: Schema.
|
|
3751
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3750
|
+
readonly started: Schema.Finite;
|
|
3751
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3752
3752
|
}>;
|
|
3753
3753
|
}>;
|
|
3754
3754
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -3799,11 +3799,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3799
3799
|
readonly shell: Schema.String;
|
|
3800
3800
|
readonly file: Schema.String;
|
|
3801
3801
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3802
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3802
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3803
3803
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3804
3804
|
readonly time: Schema.Struct<{
|
|
3805
|
-
readonly started: Schema.
|
|
3806
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3805
|
+
readonly started: Schema.Finite;
|
|
3806
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3807
3807
|
}>;
|
|
3808
3808
|
}>;
|
|
3809
3809
|
readonly output: Schema.Struct<{
|
|
@@ -3836,11 +3836,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
3836
3836
|
readonly shell: Schema.String;
|
|
3837
3837
|
readonly file: Schema.String;
|
|
3838
3838
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3839
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3839
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3840
3840
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3841
3841
|
readonly time: Schema.Struct<{
|
|
3842
|
-
readonly started: Schema.
|
|
3843
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3842
|
+
readonly started: Schema.Finite;
|
|
3843
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3844
3844
|
}>;
|
|
3845
3845
|
}>;
|
|
3846
3846
|
readonly output: Schema.Struct<{
|
|
@@ -6212,11 +6212,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6212
6212
|
readonly shell: Schema.String;
|
|
6213
6213
|
readonly file: Schema.String;
|
|
6214
6214
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6215
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
6215
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
6216
6216
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
6217
6217
|
readonly time: Schema.Struct<{
|
|
6218
|
-
readonly started: Schema.
|
|
6219
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
6218
|
+
readonly started: Schema.Finite;
|
|
6219
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
6220
6220
|
}>;
|
|
6221
6221
|
}>;
|
|
6222
6222
|
}>;
|
|
@@ -6236,11 +6236,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6236
6236
|
readonly shell: Schema.String;
|
|
6237
6237
|
readonly file: Schema.String;
|
|
6238
6238
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
6239
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
6239
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
6240
6240
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
6241
6241
|
readonly time: Schema.Struct<{
|
|
6242
|
-
readonly started: Schema.
|
|
6243
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
6242
|
+
readonly started: Schema.Finite;
|
|
6243
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
6244
6244
|
}>;
|
|
6245
6245
|
}>;
|
|
6246
6246
|
}>;
|
|
@@ -6275,7 +6275,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6275
6275
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6276
6276
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6277
6277
|
};
|
|
6278
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
6278
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
6279
6279
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
6280
6280
|
}>;
|
|
6281
6281
|
}> & {
|
|
@@ -6287,7 +6287,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
6287
6287
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6288
6288
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
6289
6289
|
};
|
|
6290
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
6290
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
6291
6291
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
6292
6292
|
}>;
|
|
6293
6293
|
}, Schema.Struct<{
|
|
@@ -9173,11 +9173,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9173
9173
|
readonly shell: Schema.String;
|
|
9174
9174
|
readonly file: Schema.String;
|
|
9175
9175
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9176
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9176
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9177
9177
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
9178
9178
|
readonly time: Schema.Struct<{
|
|
9179
|
-
readonly started: Schema.
|
|
9180
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9179
|
+
readonly started: Schema.Finite;
|
|
9180
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9181
9181
|
}>;
|
|
9182
9182
|
}>;
|
|
9183
9183
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -9204,11 +9204,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9204
9204
|
readonly shell: Schema.String;
|
|
9205
9205
|
readonly file: Schema.String;
|
|
9206
9206
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9207
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9207
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9208
9208
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
9209
9209
|
readonly time: Schema.Struct<{
|
|
9210
|
-
readonly started: Schema.
|
|
9211
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9210
|
+
readonly started: Schema.Finite;
|
|
9211
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9212
9212
|
}>;
|
|
9213
9213
|
}>;
|
|
9214
9214
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -9259,11 +9259,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9259
9259
|
readonly shell: Schema.String;
|
|
9260
9260
|
readonly file: Schema.String;
|
|
9261
9261
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9262
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9262
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9263
9263
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
9264
9264
|
readonly time: Schema.Struct<{
|
|
9265
|
-
readonly started: Schema.
|
|
9266
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9265
|
+
readonly started: Schema.Finite;
|
|
9266
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9267
9267
|
}>;
|
|
9268
9268
|
}>;
|
|
9269
9269
|
readonly output: Schema.Struct<{
|
|
@@ -9296,11 +9296,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9296
9296
|
readonly shell: Schema.String;
|
|
9297
9297
|
readonly file: Schema.String;
|
|
9298
9298
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9299
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9299
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9300
9300
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
9301
9301
|
readonly time: Schema.Struct<{
|
|
9302
|
-
readonly started: Schema.
|
|
9303
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
9302
|
+
readonly started: Schema.Finite;
|
|
9303
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
9304
9304
|
}>;
|
|
9305
9305
|
}>;
|
|
9306
9306
|
readonly output: Schema.Struct<{
|
|
@@ -14314,11 +14314,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
14314
14314
|
readonly shell: Schema.String;
|
|
14315
14315
|
readonly file: Schema.String;
|
|
14316
14316
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14317
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
14317
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
14318
14318
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
14319
14319
|
readonly time: Schema.Struct<{
|
|
14320
|
-
readonly started: Schema.
|
|
14321
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
14320
|
+
readonly started: Schema.Finite;
|
|
14321
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
14322
14322
|
}>;
|
|
14323
14323
|
}>;
|
|
14324
14324
|
}>;
|
|
@@ -14338,11 +14338,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
14338
14338
|
readonly shell: Schema.String;
|
|
14339
14339
|
readonly file: Schema.String;
|
|
14340
14340
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
14341
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
14341
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
14342
14342
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
14343
14343
|
readonly time: Schema.Struct<{
|
|
14344
|
-
readonly started: Schema.
|
|
14345
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
14344
|
+
readonly started: Schema.Finite;
|
|
14345
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
14346
14346
|
}>;
|
|
14347
14347
|
}>;
|
|
14348
14348
|
}>;
|
|
@@ -14377,7 +14377,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
14377
14377
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
14378
14378
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
14379
14379
|
};
|
|
14380
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
14380
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
14381
14381
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
14382
14382
|
}>;
|
|
14383
14383
|
}> & {
|
|
@@ -14389,7 +14389,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
14389
14389
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
14390
14390
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
14391
14391
|
};
|
|
14392
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
14392
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
14393
14393
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
14394
14394
|
}>;
|
|
14395
14395
|
}, Schema.Struct<{
|
package/dist/integration.d.ts
CHANGED
|
@@ -393,7 +393,7 @@ export declare const Ref: Schema.Struct<{
|
|
|
393
393
|
readonly id: Schema.brand<Schema.String, "Integration.ID">;
|
|
394
394
|
readonly name: Schema.String;
|
|
395
395
|
}>;
|
|
396
|
-
declare const
|
|
396
|
+
export declare const Info: Schema.Struct<{
|
|
397
397
|
readonly id: Schema.brand<Schema.String, "Integration.ID">;
|
|
398
398
|
readonly name: Schema.String;
|
|
399
399
|
readonly methods: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -482,8 +482,8 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
482
482
|
readonly type: Schema.Literal<"env">;
|
|
483
483
|
readonly name: Schema.String;
|
|
484
484
|
}>]>>;
|
|
485
|
-
}
|
|
486
|
-
export
|
|
485
|
+
}>;
|
|
486
|
+
export interface Info extends Schema.Schema.Type<typeof Info> {
|
|
487
487
|
}
|
|
488
488
|
export declare const AttemptID: Schema.brand<Schema.String, "Integration.AttemptID"> & {
|
|
489
489
|
create: () => string & import("effect/Brand").Brand<"Integration.AttemptID">;
|
package/dist/integration.js
CHANGED
|
@@ -63,13 +63,12 @@ export const Ref = Schema.Struct({
|
|
|
63
63
|
id: ID,
|
|
64
64
|
name: Schema.String,
|
|
65
65
|
}).annotate({ identifier: "Integration.Ref" });
|
|
66
|
-
export
|
|
66
|
+
export const Info = Schema.Struct({
|
|
67
67
|
id: ID,
|
|
68
68
|
name: Schema.String,
|
|
69
69
|
methods: Schema.Array(Method),
|
|
70
70
|
connections: Schema.Array(Connection.Info),
|
|
71
|
-
})
|
|
72
|
-
}
|
|
71
|
+
}).annotate({ identifier: "Integration.Info" });
|
|
73
72
|
export const AttemptID = Schema.String.pipe(Schema.brand("Integration.AttemptID"), statics((schema) => ({ create: () => schema.make("con_" + ascending()) })));
|
|
74
73
|
const AttemptTime = Schema.Struct({
|
|
75
74
|
created: Schema.Number,
|
package/dist/reference.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export declare const Source: Schema.Union<readonly [Schema.Struct<{
|
|
|
98
98
|
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
99
99
|
}>]>;
|
|
100
100
|
export type Source = typeof Source.Type;
|
|
101
|
-
declare const
|
|
101
|
+
export declare const Info: Schema.Struct<{
|
|
102
102
|
readonly name: Schema.String;
|
|
103
103
|
readonly path: Schema.brand<Schema.String, "AbsolutePath">;
|
|
104
104
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -115,6 +115,6 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
115
115
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
116
116
|
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
117
117
|
}>]>;
|
|
118
|
-
}
|
|
119
|
-
export
|
|
118
|
+
}>;
|
|
119
|
+
export interface Info extends Schema.Schema.Type<typeof Info> {
|
|
120
120
|
}
|
package/dist/reference.js
CHANGED
|
@@ -21,11 +21,10 @@ export const GitSource = Schema.Struct({
|
|
|
21
21
|
export const Source = Schema.Union([LocalSource, GitSource])
|
|
22
22
|
.pipe(Schema.toTaggedUnion("type"))
|
|
23
23
|
.annotate({ identifier: "Reference.Source" });
|
|
24
|
-
export
|
|
24
|
+
export const Info = Schema.Struct({
|
|
25
25
|
name: Schema.String,
|
|
26
26
|
path: AbsolutePath,
|
|
27
27
|
description: Schema.String.pipe(optional),
|
|
28
28
|
hidden: Schema.Boolean.pipe(optional),
|
|
29
29
|
source: Source,
|
|
30
|
-
})
|
|
31
|
-
}
|
|
30
|
+
}).annotate({ identifier: "Reference.Info" });
|
package/dist/session-event.d.ts
CHANGED
|
@@ -1274,11 +1274,11 @@ export declare namespace Shell {
|
|
|
1274
1274
|
readonly shell: Schema.String;
|
|
1275
1275
|
readonly file: Schema.String;
|
|
1276
1276
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1277
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1277
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1278
1278
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1279
1279
|
readonly time: Schema.Struct<{
|
|
1280
|
-
readonly started: Schema.
|
|
1281
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1280
|
+
readonly started: Schema.Finite;
|
|
1281
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1282
1282
|
}>;
|
|
1283
1283
|
}>;
|
|
1284
1284
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1305,11 +1305,11 @@ export declare namespace Shell {
|
|
|
1305
1305
|
readonly shell: Schema.String;
|
|
1306
1306
|
readonly file: Schema.String;
|
|
1307
1307
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1308
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1308
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1309
1309
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1310
1310
|
readonly time: Schema.Struct<{
|
|
1311
|
-
readonly started: Schema.
|
|
1312
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1311
|
+
readonly started: Schema.Finite;
|
|
1312
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1313
1313
|
}>;
|
|
1314
1314
|
}>;
|
|
1315
1315
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1362,11 +1362,11 @@ export declare namespace Shell {
|
|
|
1362
1362
|
readonly shell: Schema.String;
|
|
1363
1363
|
readonly file: Schema.String;
|
|
1364
1364
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1365
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1365
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1366
1366
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1367
1367
|
readonly time: Schema.Struct<{
|
|
1368
|
-
readonly started: Schema.
|
|
1369
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1368
|
+
readonly started: Schema.Finite;
|
|
1369
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1370
1370
|
}>;
|
|
1371
1371
|
}>;
|
|
1372
1372
|
readonly output: Schema.Struct<{
|
|
@@ -1399,11 +1399,11 @@ export declare namespace Shell {
|
|
|
1399
1399
|
readonly shell: Schema.String;
|
|
1400
1400
|
readonly file: Schema.String;
|
|
1401
1401
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1402
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1402
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1403
1403
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1404
1404
|
readonly time: Schema.Struct<{
|
|
1405
|
-
readonly started: Schema.
|
|
1406
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1405
|
+
readonly started: Schema.Finite;
|
|
1406
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1407
1407
|
}>;
|
|
1408
1408
|
}>;
|
|
1409
1409
|
readonly output: Schema.Struct<{
|
|
@@ -4428,11 +4428,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4428
4428
|
readonly shell: Schema.String;
|
|
4429
4429
|
readonly file: Schema.String;
|
|
4430
4430
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4431
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4431
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4432
4432
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
4433
4433
|
readonly time: Schema.Struct<{
|
|
4434
|
-
readonly started: Schema.
|
|
4435
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4434
|
+
readonly started: Schema.Finite;
|
|
4435
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4436
4436
|
}>;
|
|
4437
4437
|
}>;
|
|
4438
4438
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -4459,11 +4459,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4459
4459
|
readonly shell: Schema.String;
|
|
4460
4460
|
readonly file: Schema.String;
|
|
4461
4461
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4462
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4462
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4463
4463
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
4464
4464
|
readonly time: Schema.Struct<{
|
|
4465
|
-
readonly started: Schema.
|
|
4466
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4465
|
+
readonly started: Schema.Finite;
|
|
4466
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4467
4467
|
}>;
|
|
4468
4468
|
}>;
|
|
4469
4469
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -4514,11 +4514,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4514
4514
|
readonly shell: Schema.String;
|
|
4515
4515
|
readonly file: Schema.String;
|
|
4516
4516
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4517
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4517
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4518
4518
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
4519
4519
|
readonly time: Schema.Struct<{
|
|
4520
|
-
readonly started: Schema.
|
|
4521
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4520
|
+
readonly started: Schema.Finite;
|
|
4521
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4522
4522
|
}>;
|
|
4523
4523
|
}>;
|
|
4524
4524
|
readonly output: Schema.Struct<{
|
|
@@ -4551,11 +4551,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4551
4551
|
readonly shell: Schema.String;
|
|
4552
4552
|
readonly file: Schema.String;
|
|
4553
4553
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4554
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4554
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4555
4555
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
4556
4556
|
readonly time: Schema.Struct<{
|
|
4557
|
-
readonly started: Schema.
|
|
4558
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
4557
|
+
readonly started: Schema.Finite;
|
|
4558
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
4559
4559
|
}>;
|
|
4560
4560
|
}>;
|
|
4561
4561
|
readonly output: Schema.Struct<{
|
|
@@ -7447,11 +7447,11 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7447
7447
|
readonly shell: Schema.String;
|
|
7448
7448
|
readonly file: Schema.String;
|
|
7449
7449
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7450
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7450
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7451
7451
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
7452
7452
|
readonly time: Schema.Struct<{
|
|
7453
|
-
readonly started: Schema.
|
|
7454
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7453
|
+
readonly started: Schema.Finite;
|
|
7454
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7455
7455
|
}>;
|
|
7456
7456
|
}>;
|
|
7457
7457
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -7478,11 +7478,11 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7478
7478
|
readonly shell: Schema.String;
|
|
7479
7479
|
readonly file: Schema.String;
|
|
7480
7480
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7481
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7481
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7482
7482
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
7483
7483
|
readonly time: Schema.Struct<{
|
|
7484
|
-
readonly started: Schema.
|
|
7485
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7484
|
+
readonly started: Schema.Finite;
|
|
7485
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7486
7486
|
}>;
|
|
7487
7487
|
}>;
|
|
7488
7488
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -7533,11 +7533,11 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7533
7533
|
readonly shell: Schema.String;
|
|
7534
7534
|
readonly file: Schema.String;
|
|
7535
7535
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7536
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7536
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7537
7537
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
7538
7538
|
readonly time: Schema.Struct<{
|
|
7539
|
-
readonly started: Schema.
|
|
7540
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7539
|
+
readonly started: Schema.Finite;
|
|
7540
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7541
7541
|
}>;
|
|
7542
7542
|
}>;
|
|
7543
7543
|
readonly output: Schema.Struct<{
|
|
@@ -7570,11 +7570,11 @@ export declare const DurableDefinitions: readonly ((Schema.Struct<{
|
|
|
7570
7570
|
readonly shell: Schema.String;
|
|
7571
7571
|
readonly file: Schema.String;
|
|
7572
7572
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7573
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7573
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7574
7574
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
7575
7575
|
readonly time: Schema.Struct<{
|
|
7576
|
-
readonly started: Schema.
|
|
7577
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
7576
|
+
readonly started: Schema.Finite;
|
|
7577
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
7578
7578
|
}>;
|
|
7579
7579
|
}>;
|
|
7580
7580
|
readonly output: Schema.Struct<{
|
|
@@ -10260,11 +10260,11 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
10260
10260
|
readonly shell: Schema.String;
|
|
10261
10261
|
readonly file: Schema.String;
|
|
10262
10262
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10263
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10263
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10264
10264
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10265
10265
|
readonly time: Schema.Struct<{
|
|
10266
|
-
readonly started: Schema.
|
|
10267
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10266
|
+
readonly started: Schema.Finite;
|
|
10267
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10268
10268
|
}>;
|
|
10269
10269
|
}>;
|
|
10270
10270
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -10291,11 +10291,11 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
10291
10291
|
readonly shell: Schema.String;
|
|
10292
10292
|
readonly file: Schema.String;
|
|
10293
10293
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10294
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10294
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10295
10295
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10296
10296
|
readonly time: Schema.Struct<{
|
|
10297
|
-
readonly started: Schema.
|
|
10298
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10297
|
+
readonly started: Schema.Finite;
|
|
10298
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10299
10299
|
}>;
|
|
10300
10300
|
}>;
|
|
10301
10301
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -10346,11 +10346,11 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
10346
10346
|
readonly shell: Schema.String;
|
|
10347
10347
|
readonly file: Schema.String;
|
|
10348
10348
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10349
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10349
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10350
10350
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10351
10351
|
readonly time: Schema.Struct<{
|
|
10352
|
-
readonly started: Schema.
|
|
10353
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10352
|
+
readonly started: Schema.Finite;
|
|
10353
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10354
10354
|
}>;
|
|
10355
10355
|
}>;
|
|
10356
10356
|
readonly output: Schema.Struct<{
|
|
@@ -10383,11 +10383,11 @@ export declare const Durable: Schema.Union<readonly ((Schema.Struct<{
|
|
|
10383
10383
|
readonly shell: Schema.String;
|
|
10384
10384
|
readonly file: Schema.String;
|
|
10385
10385
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10386
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10386
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10387
10387
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10388
10388
|
readonly time: Schema.Struct<{
|
|
10389
|
-
readonly started: Schema.
|
|
10390
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10389
|
+
readonly started: Schema.Finite;
|
|
10390
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10391
10391
|
}>;
|
|
10392
10392
|
}>;
|
|
10393
10393
|
readonly output: Schema.Struct<{
|
|
@@ -13140,11 +13140,11 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13140
13140
|
readonly shell: Schema.String;
|
|
13141
13141
|
readonly file: Schema.String;
|
|
13142
13142
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13143
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13143
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13144
13144
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
13145
13145
|
readonly time: Schema.Struct<{
|
|
13146
|
-
readonly started: Schema.
|
|
13147
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13146
|
+
readonly started: Schema.Finite;
|
|
13147
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13148
13148
|
}>;
|
|
13149
13149
|
}>;
|
|
13150
13150
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -13171,11 +13171,11 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13171
13171
|
readonly shell: Schema.String;
|
|
13172
13172
|
readonly file: Schema.String;
|
|
13173
13173
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13174
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13174
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13175
13175
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
13176
13176
|
readonly time: Schema.Struct<{
|
|
13177
|
-
readonly started: Schema.
|
|
13178
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13177
|
+
readonly started: Schema.Finite;
|
|
13178
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13179
13179
|
}>;
|
|
13180
13180
|
}>;
|
|
13181
13181
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -13226,11 +13226,11 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13226
13226
|
readonly shell: Schema.String;
|
|
13227
13227
|
readonly file: Schema.String;
|
|
13228
13228
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13229
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13229
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13230
13230
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
13231
13231
|
readonly time: Schema.Struct<{
|
|
13232
|
-
readonly started: Schema.
|
|
13233
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13232
|
+
readonly started: Schema.Finite;
|
|
13233
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13234
13234
|
}>;
|
|
13235
13235
|
}>;
|
|
13236
13236
|
readonly output: Schema.Struct<{
|
|
@@ -13263,11 +13263,11 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
|
13263
13263
|
readonly shell: Schema.String;
|
|
13264
13264
|
readonly file: Schema.String;
|
|
13265
13265
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
13266
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13266
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13267
13267
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
13268
13268
|
readonly time: Schema.Struct<{
|
|
13269
|
-
readonly started: Schema.
|
|
13270
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
13269
|
+
readonly started: Schema.Finite;
|
|
13270
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13271
13271
|
}>;
|
|
13272
13272
|
}>;
|
|
13273
13273
|
readonly output: Schema.Struct<{
|
package/dist/shell.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export type ID = typeof ID.Type;
|
|
|
8
8
|
export declare const Status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
9
9
|
export type Status = typeof Status.Type;
|
|
10
10
|
export declare const Time: Schema.Struct<{
|
|
11
|
-
readonly started: Schema.
|
|
12
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
11
|
+
readonly started: Schema.Finite;
|
|
12
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
13
13
|
}>;
|
|
14
14
|
export interface Time extends Schema.Schema.Type<typeof Time> {
|
|
15
15
|
}
|
|
@@ -26,11 +26,11 @@ export declare const Info: Schema.Struct<{
|
|
|
26
26
|
readonly shell: Schema.String;
|
|
27
27
|
readonly file: Schema.String;
|
|
28
28
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
29
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
29
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
30
30
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
31
31
|
readonly time: Schema.Struct<{
|
|
32
|
-
readonly started: Schema.
|
|
33
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
32
|
+
readonly started: Schema.Finite;
|
|
33
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
34
34
|
}>;
|
|
35
35
|
}>;
|
|
36
36
|
export interface Info extends Schema.Schema.Type<typeof Info> {
|
|
@@ -74,11 +74,11 @@ export declare const Event: {
|
|
|
74
74
|
readonly shell: Schema.String;
|
|
75
75
|
readonly file: Schema.String;
|
|
76
76
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
77
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
77
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
78
78
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
79
79
|
readonly time: Schema.Struct<{
|
|
80
|
-
readonly started: Schema.
|
|
81
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
80
|
+
readonly started: Schema.Finite;
|
|
81
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
82
82
|
}>;
|
|
83
83
|
}>;
|
|
84
84
|
}>;
|
|
@@ -98,11 +98,11 @@ export declare const Event: {
|
|
|
98
98
|
readonly shell: Schema.String;
|
|
99
99
|
readonly file: Schema.String;
|
|
100
100
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
101
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
101
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
102
102
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
103
103
|
readonly time: Schema.Struct<{
|
|
104
|
-
readonly started: Schema.
|
|
105
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
104
|
+
readonly started: Schema.Finite;
|
|
105
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
106
106
|
}>;
|
|
107
107
|
}>;
|
|
108
108
|
}>;
|
|
@@ -138,7 +138,7 @@ export declare const Event: {
|
|
|
138
138
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
139
139
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
140
140
|
};
|
|
141
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
141
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
142
142
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
143
143
|
}>;
|
|
144
144
|
}> & {
|
|
@@ -150,7 +150,7 @@ export declare const Event: {
|
|
|
150
150
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
151
151
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
152
152
|
};
|
|
153
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
153
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
154
154
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
155
155
|
}>;
|
|
156
156
|
};
|
|
@@ -235,11 +235,11 @@ export declare const Event: {
|
|
|
235
235
|
readonly shell: Schema.String;
|
|
236
236
|
readonly file: Schema.String;
|
|
237
237
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
238
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
238
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
239
239
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
240
240
|
readonly time: Schema.Struct<{
|
|
241
|
-
readonly started: Schema.
|
|
242
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
241
|
+
readonly started: Schema.Finite;
|
|
242
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
243
243
|
}>;
|
|
244
244
|
}>;
|
|
245
245
|
}>;
|
|
@@ -259,11 +259,11 @@ export declare const Event: {
|
|
|
259
259
|
readonly shell: Schema.String;
|
|
260
260
|
readonly file: Schema.String;
|
|
261
261
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
262
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
262
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
263
263
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
264
264
|
readonly time: Schema.Struct<{
|
|
265
|
-
readonly started: Schema.
|
|
266
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
265
|
+
readonly started: Schema.Finite;
|
|
266
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
267
267
|
}>;
|
|
268
268
|
}>;
|
|
269
269
|
}>;
|
|
@@ -298,7 +298,7 @@ export declare const Event: {
|
|
|
298
298
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
299
299
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
300
300
|
};
|
|
301
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
301
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
302
302
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
303
303
|
}>;
|
|
304
304
|
}> & {
|
|
@@ -310,7 +310,7 @@ export declare const Event: {
|
|
|
310
310
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
311
311
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
312
312
|
};
|
|
313
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
313
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
314
314
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
315
315
|
}>;
|
|
316
316
|
}, Schema.Struct<{
|
package/dist/shell.js
CHANGED
|
@@ -14,8 +14,8 @@ export const ID = IDSchema.pipe(statics((schema) => {
|
|
|
14
14
|
}));
|
|
15
15
|
export const Status = Schema.Literals(["running", "exited", "timeout", "killed"]);
|
|
16
16
|
export const Time = Schema.Struct({
|
|
17
|
-
started: Schema.
|
|
18
|
-
completed: optional(Schema.
|
|
17
|
+
started: Schema.Finite,
|
|
18
|
+
completed: optional(Schema.Finite),
|
|
19
19
|
});
|
|
20
20
|
// Opaque caller-supplied tags echoed back on Info and events. The Shell service never interprets
|
|
21
21
|
// these; callers (e.g. ShellTool stores the originating session ID) use them to filter or correlate.
|
|
@@ -29,13 +29,13 @@ export const Info = Schema.Struct({
|
|
|
29
29
|
// Absolute path of the file capturing combined stdout/stderr. Page through it via `output`.
|
|
30
30
|
file: Schema.String,
|
|
31
31
|
pid: optional(NonNegativeInt),
|
|
32
|
-
exit: optional(Schema.
|
|
32
|
+
exit: optional(Schema.Finite),
|
|
33
33
|
// Always present; defaults to an empty object when the creator supplies no metadata.
|
|
34
34
|
metadata: Metadata,
|
|
35
35
|
time: Time,
|
|
36
|
-
}).annotate({ identifier: "Shell" });
|
|
36
|
+
}).annotate({ identifier: "Shell.Info" });
|
|
37
37
|
const Created = ephemeral({ type: "shell.created", schema: { info: Info } });
|
|
38
|
-
const Exited = ephemeral({ type: "shell.exited", schema: { id: ID, exit: optional(Schema.
|
|
38
|
+
const Exited = ephemeral({ type: "shell.exited", schema: { id: ID, exit: optional(Schema.Finite), status: Status } });
|
|
39
39
|
const Deleted = ephemeral({ type: "shell.deleted", schema: { id: ID } });
|
|
40
40
|
export const Event = { Created, Exited, Deleted, Definitions: inventory(Created, Exited, Deleted) };
|
|
41
41
|
export const CreateInput = Schema.Struct({
|