@opencode-ai/protocol 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/groups/event.d.ts +40 -40
- package/dist/groups/integration.d.ts +180 -2
- package/dist/groups/reference.d.ts +18 -2
- package/dist/groups/session.d.ts +12 -12
- package/dist/groups/shell.d.ts +12 -12
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -389,11 +389,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
389
389
|
readonly shell: Schema.String;
|
|
390
390
|
readonly file: Schema.String;
|
|
391
391
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
392
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
392
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
393
393
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
394
394
|
readonly time: Schema.Struct<{
|
|
395
|
-
readonly started: Schema.
|
|
396
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
395
|
+
readonly started: Schema.Finite;
|
|
396
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
397
397
|
}>;
|
|
398
398
|
}>;
|
|
399
399
|
}>;
|
|
@@ -413,11 +413,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
413
413
|
readonly shell: Schema.String;
|
|
414
414
|
readonly file: Schema.String;
|
|
415
415
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
416
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
416
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
417
417
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
418
418
|
readonly time: Schema.Struct<{
|
|
419
|
-
readonly started: Schema.
|
|
420
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
419
|
+
readonly started: Schema.Finite;
|
|
420
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
421
421
|
}>;
|
|
422
422
|
}>;
|
|
423
423
|
}>;
|
|
@@ -452,7 +452,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
452
452
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
453
453
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
454
454
|
};
|
|
455
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
455
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
456
456
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
457
457
|
}>;
|
|
458
458
|
}> & {
|
|
@@ -464,7 +464,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
464
464
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
465
465
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
466
466
|
};
|
|
467
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
467
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
468
468
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
469
469
|
}>;
|
|
470
470
|
}) | (Schema.Struct<{
|
|
@@ -1736,11 +1736,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1736
1736
|
readonly shell: Schema.String;
|
|
1737
1737
|
readonly file: Schema.String;
|
|
1738
1738
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1739
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1739
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1740
1740
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1741
1741
|
readonly time: Schema.Struct<{
|
|
1742
|
-
readonly started: Schema.
|
|
1743
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1742
|
+
readonly started: Schema.Finite;
|
|
1743
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1744
1744
|
}>;
|
|
1745
1745
|
}>;
|
|
1746
1746
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1767,11 +1767,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1767
1767
|
readonly shell: Schema.String;
|
|
1768
1768
|
readonly file: Schema.String;
|
|
1769
1769
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1770
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1770
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1771
1771
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1772
1772
|
readonly time: Schema.Struct<{
|
|
1773
|
-
readonly started: Schema.
|
|
1774
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1773
|
+
readonly started: Schema.Finite;
|
|
1774
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1775
1775
|
}>;
|
|
1776
1776
|
}>;
|
|
1777
1777
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -1822,11 +1822,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1822
1822
|
readonly shell: Schema.String;
|
|
1823
1823
|
readonly file: Schema.String;
|
|
1824
1824
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1825
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1825
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1826
1826
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1827
1827
|
readonly time: Schema.Struct<{
|
|
1828
|
-
readonly started: Schema.
|
|
1829
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1828
|
+
readonly started: Schema.Finite;
|
|
1829
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1830
1830
|
}>;
|
|
1831
1831
|
}>;
|
|
1832
1832
|
readonly output: Schema.Struct<{
|
|
@@ -1859,11 +1859,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
1859
1859
|
readonly shell: Schema.String;
|
|
1860
1860
|
readonly file: Schema.String;
|
|
1861
1861
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
1862
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1862
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1863
1863
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
1864
1864
|
readonly time: Schema.Struct<{
|
|
1865
|
-
readonly started: Schema.
|
|
1866
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
1865
|
+
readonly started: Schema.Finite;
|
|
1866
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
1867
1867
|
}>;
|
|
1868
1868
|
}>;
|
|
1869
1869
|
readonly output: Schema.Struct<{
|
|
@@ -10951,11 +10951,11 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
10951
10951
|
readonly shell: Schema.String;
|
|
10952
10952
|
readonly file: Schema.String;
|
|
10953
10953
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10954
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10954
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10955
10955
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10956
10956
|
readonly time: Schema.Struct<{
|
|
10957
|
-
readonly started: Schema.
|
|
10958
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10957
|
+
readonly started: Schema.Finite;
|
|
10958
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10959
10959
|
}>;
|
|
10960
10960
|
}>;
|
|
10961
10961
|
}>;
|
|
@@ -10975,11 +10975,11 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
10975
10975
|
readonly shell: Schema.String;
|
|
10976
10976
|
readonly file: Schema.String;
|
|
10977
10977
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10978
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10978
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10979
10979
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
10980
10980
|
readonly time: Schema.Struct<{
|
|
10981
|
-
readonly started: Schema.
|
|
10982
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
10981
|
+
readonly started: Schema.Finite;
|
|
10982
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
10983
10983
|
}>;
|
|
10984
10984
|
}>;
|
|
10985
10985
|
}>;
|
|
@@ -11014,7 +11014,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11014
11014
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
11015
11015
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
11016
11016
|
};
|
|
11017
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
11017
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
11018
11018
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
11019
11019
|
}>;
|
|
11020
11020
|
}> & {
|
|
@@ -11026,7 +11026,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11026
11026
|
create: () => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
11027
11027
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
11028
11028
|
};
|
|
11029
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
11029
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
11030
11030
|
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
|
|
11031
11031
|
}>;
|
|
11032
11032
|
}) | (Schema.Struct<{
|
|
@@ -12298,11 +12298,11 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12298
12298
|
readonly shell: Schema.String;
|
|
12299
12299
|
readonly file: Schema.String;
|
|
12300
12300
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12301
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12301
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12302
12302
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12303
12303
|
readonly time: Schema.Struct<{
|
|
12304
|
-
readonly started: Schema.
|
|
12305
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12304
|
+
readonly started: Schema.Finite;
|
|
12305
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12306
12306
|
}>;
|
|
12307
12307
|
}>;
|
|
12308
12308
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -12329,11 +12329,11 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12329
12329
|
readonly shell: Schema.String;
|
|
12330
12330
|
readonly file: Schema.String;
|
|
12331
12331
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12332
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12332
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12333
12333
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12334
12334
|
readonly time: Schema.Struct<{
|
|
12335
|
-
readonly started: Schema.
|
|
12336
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12335
|
+
readonly started: Schema.Finite;
|
|
12336
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12337
12337
|
}>;
|
|
12338
12338
|
}>;
|
|
12339
12339
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -12384,11 +12384,11 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12384
12384
|
readonly shell: Schema.String;
|
|
12385
12385
|
readonly file: Schema.String;
|
|
12386
12386
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12387
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12387
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12388
12388
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12389
12389
|
readonly time: Schema.Struct<{
|
|
12390
|
-
readonly started: Schema.
|
|
12391
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12390
|
+
readonly started: Schema.Finite;
|
|
12391
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12392
12392
|
}>;
|
|
12393
12393
|
}>;
|
|
12394
12394
|
readonly output: Schema.Struct<{
|
|
@@ -12421,11 +12421,11 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
12421
12421
|
readonly shell: Schema.String;
|
|
12422
12422
|
readonly file: Schema.String;
|
|
12423
12423
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
12424
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12424
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12425
12425
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
12426
12426
|
readonly time: Schema.Struct<{
|
|
12427
|
-
readonly started: Schema.
|
|
12428
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
12427
|
+
readonly started: Schema.Finite;
|
|
12428
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
12429
12429
|
}>;
|
|
12430
12430
|
}>;
|
|
12431
12431
|
readonly output: Schema.Struct<{
|
|
@@ -10,7 +10,96 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
|
|
|
10
10
|
}>>;
|
|
11
11
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
12
12
|
readonly location: typeof Location.Info;
|
|
13
|
-
readonly data: Schema.$Array<
|
|
13
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
14
|
+
readonly id: Schema.brand<Schema.String, "Integration.ID">;
|
|
15
|
+
readonly name: Schema.String;
|
|
16
|
+
readonly methods: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
17
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
18
|
+
readonly type: Schema.Literal<"oauth">;
|
|
19
|
+
readonly label: Schema.String;
|
|
20
|
+
readonly prompts: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
21
|
+
readonly type: Schema.Literal<"text">;
|
|
22
|
+
readonly key: Schema.String;
|
|
23
|
+
readonly message: Schema.String;
|
|
24
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
25
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
26
|
+
readonly key: Schema.String;
|
|
27
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
28
|
+
readonly value: Schema.String;
|
|
29
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
30
|
+
readonly key: Schema.String;
|
|
31
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
32
|
+
readonly value: Schema.String;
|
|
33
|
+
}>>, never, never>;
|
|
34
|
+
}>, Schema.Struct<{
|
|
35
|
+
readonly type: Schema.Literal<"select">;
|
|
36
|
+
readonly key: Schema.String;
|
|
37
|
+
readonly message: Schema.String;
|
|
38
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
39
|
+
readonly label: Schema.String;
|
|
40
|
+
readonly value: Schema.String;
|
|
41
|
+
readonly hint: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
42
|
+
}>>;
|
|
43
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
44
|
+
readonly key: Schema.String;
|
|
45
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
46
|
+
readonly value: Schema.String;
|
|
47
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
48
|
+
readonly key: Schema.String;
|
|
49
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
50
|
+
readonly value: Schema.String;
|
|
51
|
+
}>>, never, never>;
|
|
52
|
+
}>]>>>>, Schema.optionalKey<Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
53
|
+
readonly type: Schema.Literal<"text">;
|
|
54
|
+
readonly key: Schema.String;
|
|
55
|
+
readonly message: Schema.String;
|
|
56
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
57
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
58
|
+
readonly key: Schema.String;
|
|
59
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
60
|
+
readonly value: Schema.String;
|
|
61
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
62
|
+
readonly key: Schema.String;
|
|
63
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
64
|
+
readonly value: Schema.String;
|
|
65
|
+
}>>, never, never>;
|
|
66
|
+
}>, Schema.Struct<{
|
|
67
|
+
readonly type: Schema.Literal<"select">;
|
|
68
|
+
readonly key: Schema.String;
|
|
69
|
+
readonly message: Schema.String;
|
|
70
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
71
|
+
readonly label: Schema.String;
|
|
72
|
+
readonly value: Schema.String;
|
|
73
|
+
readonly hint: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
74
|
+
}>>;
|
|
75
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
76
|
+
readonly key: Schema.String;
|
|
77
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
78
|
+
readonly value: Schema.String;
|
|
79
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
80
|
+
readonly key: Schema.String;
|
|
81
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
82
|
+
readonly value: Schema.String;
|
|
83
|
+
}>>, never, never>;
|
|
84
|
+
}>]>>>, never, never>;
|
|
85
|
+
}>, Schema.Struct<{
|
|
86
|
+
readonly type: Schema.Literal<"key">;
|
|
87
|
+
readonly label: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
88
|
+
}>, Schema.Struct<{
|
|
89
|
+
readonly type: Schema.Literal<"env">;
|
|
90
|
+
readonly names: Schema.$Array<Schema.String>;
|
|
91
|
+
}>]>>;
|
|
92
|
+
readonly connections: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
93
|
+
readonly type: Schema.Literal<"credential">;
|
|
94
|
+
readonly id: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
95
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
96
|
+
};
|
|
97
|
+
readonly label: Schema.String;
|
|
98
|
+
}>, Schema.Struct<{
|
|
99
|
+
readonly type: Schema.Literal<"env">;
|
|
100
|
+
readonly name: Schema.String;
|
|
101
|
+
}>]>>;
|
|
102
|
+
}>>;
|
|
14
103
|
}>>, HttpApiEndpoint.Json<never>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"integration.get", "GET", "/api/integration/:integrationID", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
15
104
|
integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
16
105
|
}>>, HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
@@ -20,7 +109,96 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
|
|
|
20
109
|
}>>;
|
|
21
110
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
22
111
|
readonly location: typeof Location.Info;
|
|
23
|
-
readonly data: Schema.UndefinedOr<
|
|
112
|
+
readonly data: Schema.UndefinedOr<Schema.Struct<{
|
|
113
|
+
readonly id: Schema.brand<Schema.String, "Integration.ID">;
|
|
114
|
+
readonly name: Schema.String;
|
|
115
|
+
readonly methods: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
116
|
+
readonly id: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
117
|
+
readonly type: Schema.Literal<"oauth">;
|
|
118
|
+
readonly label: Schema.String;
|
|
119
|
+
readonly prompts: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
120
|
+
readonly type: Schema.Literal<"text">;
|
|
121
|
+
readonly key: Schema.String;
|
|
122
|
+
readonly message: Schema.String;
|
|
123
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
124
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
125
|
+
readonly key: Schema.String;
|
|
126
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
127
|
+
readonly value: Schema.String;
|
|
128
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
129
|
+
readonly key: Schema.String;
|
|
130
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
131
|
+
readonly value: Schema.String;
|
|
132
|
+
}>>, never, never>;
|
|
133
|
+
}>, Schema.Struct<{
|
|
134
|
+
readonly type: Schema.Literal<"select">;
|
|
135
|
+
readonly key: Schema.String;
|
|
136
|
+
readonly message: Schema.String;
|
|
137
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
138
|
+
readonly label: Schema.String;
|
|
139
|
+
readonly value: Schema.String;
|
|
140
|
+
readonly hint: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
141
|
+
}>>;
|
|
142
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
143
|
+
readonly key: Schema.String;
|
|
144
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
145
|
+
readonly value: Schema.String;
|
|
146
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
147
|
+
readonly key: Schema.String;
|
|
148
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
149
|
+
readonly value: Schema.String;
|
|
150
|
+
}>>, never, never>;
|
|
151
|
+
}>]>>>>, Schema.optionalKey<Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
152
|
+
readonly type: Schema.Literal<"text">;
|
|
153
|
+
readonly key: Schema.String;
|
|
154
|
+
readonly message: Schema.String;
|
|
155
|
+
readonly placeholder: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
156
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
157
|
+
readonly key: Schema.String;
|
|
158
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
159
|
+
readonly value: Schema.String;
|
|
160
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
161
|
+
readonly key: Schema.String;
|
|
162
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
163
|
+
readonly value: Schema.String;
|
|
164
|
+
}>>, never, never>;
|
|
165
|
+
}>, Schema.Struct<{
|
|
166
|
+
readonly type: Schema.Literal<"select">;
|
|
167
|
+
readonly key: Schema.String;
|
|
168
|
+
readonly message: Schema.String;
|
|
169
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly label: Schema.String;
|
|
171
|
+
readonly value: Schema.String;
|
|
172
|
+
readonly hint: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
173
|
+
}>>;
|
|
174
|
+
readonly when: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
175
|
+
readonly key: Schema.String;
|
|
176
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
177
|
+
readonly value: Schema.String;
|
|
178
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
179
|
+
readonly key: Schema.String;
|
|
180
|
+
readonly op: Schema.Literals<readonly ["eq", "neq"]>;
|
|
181
|
+
readonly value: Schema.String;
|
|
182
|
+
}>>, never, never>;
|
|
183
|
+
}>]>>>, never, never>;
|
|
184
|
+
}>, Schema.Struct<{
|
|
185
|
+
readonly type: Schema.Literal<"key">;
|
|
186
|
+
readonly label: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
187
|
+
}>, Schema.Struct<{
|
|
188
|
+
readonly type: Schema.Literal<"env">;
|
|
189
|
+
readonly names: Schema.$Array<Schema.String>;
|
|
190
|
+
}>]>>;
|
|
191
|
+
readonly connections: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
192
|
+
readonly type: Schema.Literal<"credential">;
|
|
193
|
+
readonly id: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
194
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
195
|
+
};
|
|
196
|
+
readonly label: Schema.String;
|
|
197
|
+
}>, Schema.Struct<{
|
|
198
|
+
readonly type: Schema.Literal<"env">;
|
|
199
|
+
readonly name: Schema.String;
|
|
200
|
+
}>]>>;
|
|
201
|
+
}>>;
|
|
24
202
|
}>>, HttpApiEndpoint.Json<never>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"integration.connect.key", "POST", "/api/integration/:integrationID/connect/key", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
25
203
|
integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
26
204
|
}>>, HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Location } from "@opencode-ai/schema/location";
|
|
2
|
-
import { Reference } from "@opencode-ai/schema/reference";
|
|
3
2
|
import { Schema } from "effect";
|
|
4
3
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
|
|
5
4
|
export declare const ReferenceGroup: HttpApiGroup.HttpApiGroup<"server.reference", HttpApiEndpoint.HttpApiEndpoint<"reference.list", "GET", "/api/reference", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
@@ -9,5 +8,22 @@ export declare const ReferenceGroup: HttpApiGroup.HttpApiGroup<"server.reference
|
|
|
9
8
|
}>>;
|
|
10
9
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
11
10
|
readonly location: typeof Location.Info;
|
|
12
|
-
readonly data: Schema.$Array<
|
|
11
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
12
|
+
readonly name: Schema.String;
|
|
13
|
+
readonly path: Schema.brand<Schema.String, "AbsolutePath">;
|
|
14
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
16
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
17
|
+
readonly type: Schema.Literal<"local">;
|
|
18
|
+
readonly path: Schema.brand<Schema.String, "AbsolutePath">;
|
|
19
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
20
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
21
|
+
}>, Schema.Struct<{
|
|
22
|
+
readonly type: Schema.Literal<"git">;
|
|
23
|
+
readonly repository: Schema.String;
|
|
24
|
+
readonly branch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
25
|
+
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
26
|
+
readonly hidden: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
27
|
+
}>]>;
|
|
28
|
+
}>>;
|
|
13
29
|
}>>, HttpApiEndpoint.Json<never>, never, never>, false>;
|
package/dist/groups/session.d.ts
CHANGED
|
@@ -3361,11 +3361,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3361
3361
|
readonly shell: Schema.String;
|
|
3362
3362
|
readonly file: Schema.String;
|
|
3363
3363
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3364
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3364
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3365
3365
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3366
3366
|
readonly time: Schema.Struct<{
|
|
3367
|
-
readonly started: Schema.
|
|
3368
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3367
|
+
readonly started: Schema.Finite;
|
|
3368
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3369
3369
|
}>;
|
|
3370
3370
|
}>;
|
|
3371
3371
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -3392,11 +3392,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3392
3392
|
readonly shell: Schema.String;
|
|
3393
3393
|
readonly file: Schema.String;
|
|
3394
3394
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3395
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3395
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3396
3396
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3397
3397
|
readonly time: Schema.Struct<{
|
|
3398
|
-
readonly started: Schema.
|
|
3399
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3398
|
+
readonly started: Schema.Finite;
|
|
3399
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3400
3400
|
}>;
|
|
3401
3401
|
}>;
|
|
3402
3402
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
@@ -3447,11 +3447,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3447
3447
|
readonly shell: Schema.String;
|
|
3448
3448
|
readonly file: Schema.String;
|
|
3449
3449
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3450
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3450
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3451
3451
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3452
3452
|
readonly time: Schema.Struct<{
|
|
3453
|
-
readonly started: Schema.
|
|
3454
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3453
|
+
readonly started: Schema.Finite;
|
|
3454
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3455
3455
|
}>;
|
|
3456
3456
|
}>;
|
|
3457
3457
|
readonly output: Schema.Struct<{
|
|
@@ -3484,11 +3484,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3484
3484
|
readonly shell: Schema.String;
|
|
3485
3485
|
readonly file: Schema.String;
|
|
3486
3486
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
3487
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3487
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3488
3488
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3489
3489
|
readonly time: Schema.Struct<{
|
|
3490
|
-
readonly started: Schema.
|
|
3491
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
3490
|
+
readonly started: Schema.Finite;
|
|
3491
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
3492
3492
|
}>;
|
|
3493
3493
|
}>;
|
|
3494
3494
|
readonly output: Schema.Struct<{
|
package/dist/groups/shell.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
|
|
|
20
20
|
readonly shell: Schema.String;
|
|
21
21
|
readonly file: Schema.String;
|
|
22
22
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
23
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
23
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
24
24
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
25
25
|
readonly time: Schema.Struct<{
|
|
26
|
-
readonly started: Schema.
|
|
27
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
26
|
+
readonly started: Schema.Finite;
|
|
27
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
28
28
|
}>;
|
|
29
29
|
}>>;
|
|
30
30
|
}>>, HttpApiEndpoint.Json<never>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"shell.create", "POST", "/api/shell", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
@@ -50,11 +50,11 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
|
|
|
50
50
|
readonly shell: Schema.String;
|
|
51
51
|
readonly file: Schema.String;
|
|
52
52
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
53
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
53
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
54
54
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
55
55
|
readonly time: Schema.Struct<{
|
|
56
|
-
readonly started: Schema.
|
|
57
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
56
|
+
readonly started: Schema.Finite;
|
|
57
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
58
58
|
}>;
|
|
59
59
|
}>;
|
|
60
60
|
}>>, HttpApiEndpoint.Json<never>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"shell.get", "GET", "/api/shell/:id", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
@@ -80,11 +80,11 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
|
|
|
80
80
|
readonly shell: Schema.String;
|
|
81
81
|
readonly file: Schema.String;
|
|
82
82
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
83
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
83
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
84
84
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
85
85
|
readonly time: Schema.Struct<{
|
|
86
|
-
readonly started: Schema.
|
|
87
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
86
|
+
readonly started: Schema.Finite;
|
|
87
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
88
88
|
}>;
|
|
89
89
|
}>;
|
|
90
90
|
}>>, HttpApiEndpoint.Json<typeof ShellNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"shell.timeout", "PATCH", "/api/shell/:id/timeout", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
@@ -112,11 +112,11 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
|
|
|
112
112
|
readonly shell: Schema.String;
|
|
113
113
|
readonly file: Schema.String;
|
|
114
114
|
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
115
|
-
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
115
|
+
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
116
116
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
117
117
|
readonly time: Schema.Struct<{
|
|
118
|
-
readonly started: Schema.
|
|
119
|
-
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
118
|
+
readonly started: Schema.Finite;
|
|
119
|
+
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
|
|
120
120
|
}>;
|
|
121
121
|
}>;
|
|
122
122
|
}>>, HttpApiEndpoint.Json<typeof ShellNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"shell.output", "GET", "/api/shell/:id/output", HttpApiEndpoint.StringTree<Schema.Struct<{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/protocol",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-15346",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsgo --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
29
|
+
"@opencode-ai/schema": "0.0.0-next-15346",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|