@opencode/schema 0.0.0-dev-19743 → 0.0.0-dev-19750
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/event-manifest.d.ts +4 -0
- package/dist/session-event.d.ts +20 -0
- package/dist/session-event.js +2 -0
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -2370,6 +2370,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2370
2370
|
};
|
|
2371
2371
|
};
|
|
2372
2372
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
2373
|
+
readonly started: Schema.Int;
|
|
2373
2374
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2374
2375
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2375
2376
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2412,6 +2413,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
2412
2413
|
};
|
|
2413
2414
|
};
|
|
2414
2415
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
2416
|
+
readonly started: Schema.Int;
|
|
2415
2417
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2416
2418
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2417
2419
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8594,6 +8596,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8594
8596
|
};
|
|
8595
8597
|
};
|
|
8596
8598
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
8599
|
+
readonly started: Schema.Int;
|
|
8597
8600
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8598
8601
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8599
8602
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8636,6 +8639,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
8636
8639
|
};
|
|
8637
8640
|
};
|
|
8638
8641
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
8642
|
+
readonly started: Schema.Int;
|
|
8639
8643
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
8640
8644
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
8641
8645
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/session-event.d.ts
CHANGED
|
@@ -2464,6 +2464,8 @@ export declare namespace Step {
|
|
|
2464
2464
|
};
|
|
2465
2465
|
};
|
|
2466
2466
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
2467
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
2468
|
+
readonly started: Schema.Int;
|
|
2467
2469
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2468
2470
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2469
2471
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2506,6 +2508,8 @@ export declare namespace Step {
|
|
|
2506
2508
|
};
|
|
2507
2509
|
};
|
|
2508
2510
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
2511
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
2512
|
+
readonly started: Schema.Int;
|
|
2509
2513
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2510
2514
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2511
2515
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6604,6 +6608,8 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6604
6608
|
};
|
|
6605
6609
|
};
|
|
6606
6610
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
6611
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
6612
|
+
readonly started: Schema.Int;
|
|
6607
6613
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6608
6614
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6609
6615
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6646,6 +6652,8 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6646
6652
|
};
|
|
6647
6653
|
};
|
|
6648
6654
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
6655
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
6656
|
+
readonly started: Schema.Int;
|
|
6649
6657
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6650
6658
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6651
6659
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10611,6 +10619,8 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
10611
10619
|
};
|
|
10612
10620
|
};
|
|
10613
10621
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
10622
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
10623
|
+
readonly started: Schema.Int;
|
|
10614
10624
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10615
10625
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10616
10626
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -10653,6 +10663,8 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
10653
10663
|
};
|
|
10654
10664
|
};
|
|
10655
10665
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
10666
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
10667
|
+
readonly started: Schema.Int;
|
|
10656
10668
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10657
10669
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10658
10670
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14969,6 +14981,8 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
14969
14981
|
};
|
|
14970
14982
|
};
|
|
14971
14983
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
14984
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
14985
|
+
readonly started: Schema.Int;
|
|
14972
14986
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14973
14987
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14974
14988
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -15011,6 +15025,8 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
15011
15025
|
};
|
|
15012
15026
|
};
|
|
15013
15027
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
15028
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
15029
|
+
readonly started: Schema.Int;
|
|
15014
15030
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
15015
15031
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
15016
15032
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -19001,6 +19017,8 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
19001
19017
|
};
|
|
19002
19018
|
};
|
|
19003
19019
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
19020
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
19021
|
+
readonly started: Schema.Int;
|
|
19004
19022
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
19005
19023
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
19006
19024
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -19043,6 +19061,8 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
19043
19061
|
};
|
|
19044
19062
|
};
|
|
19045
19063
|
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
19064
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
19065
|
+
readonly started: Schema.Int;
|
|
19046
19066
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
19047
19067
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
19048
19068
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/session-event.js
CHANGED
|
@@ -275,6 +275,8 @@ export var Step;
|
|
|
275
275
|
agent: Agent.ID,
|
|
276
276
|
model: Model.Ref,
|
|
277
277
|
snapshot: Snapshot.ID.pipe(optional),
|
|
278
|
+
/** Request dispatch time, before waiting for provider output. */
|
|
279
|
+
started: NonNegativeInt,
|
|
278
280
|
},
|
|
279
281
|
});
|
|
280
282
|
/** Records the provider response-body boundary independently of tool settlement. */
|