@opencode-ai/schema 0.0.0-next-15810 → 0.0.0-next-15811

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.
@@ -1573,6 +1573,8 @@ export declare const SessionDurable: {
1573
1573
  readonly write: import("effect/Schema").Finite;
1574
1574
  }>;
1575
1575
  }>>, never, never>;
1576
+ readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
1577
+ readonly files: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>, never, never>;
1576
1578
  readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
1577
1579
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1578
1580
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -1616,6 +1618,8 @@ export declare const SessionDurable: {
1616
1618
  readonly write: import("effect/Schema").Finite;
1617
1619
  }>;
1618
1620
  }>>, never, never>;
1621
+ readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
1622
+ readonly files: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>, never, never>;
1619
1623
  readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
1620
1624
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1621
1625
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -4122,6 +4122,8 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
4122
4122
  readonly write: Schema.Finite;
4123
4123
  }>;
4124
4124
  }>>, never, never>;
4125
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
4126
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
4125
4127
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4126
4128
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4127
4129
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -4165,6 +4167,8 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
4165
4167
  readonly write: Schema.Finite;
4166
4168
  }>;
4167
4169
  }>>, never, never>;
4170
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
4171
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
4168
4172
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4169
4173
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4170
4174
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -9592,6 +9596,8 @@ export declare const Definitions: readonly [Schema.Struct<{
9592
9596
  readonly write: Schema.Finite;
9593
9597
  }>;
9594
9598
  }>>, never, never>;
9599
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
9600
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
9595
9601
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
9596
9602
  create: () => string & import("effect/Brand").Brand<"SessionID">;
9597
9603
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -9635,6 +9641,8 @@ export declare const Definitions: readonly [Schema.Struct<{
9635
9641
  readonly write: Schema.Finite;
9636
9642
  }>;
9637
9643
  }>>, never, never>;
9644
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
9645
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
9638
9646
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
9639
9647
  create: () => string & import("effect/Brand").Brand<"SessionID">;
9640
9648
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -1771,6 +1771,8 @@ export declare namespace Step {
1771
1771
  readonly write: Schema.Finite;
1772
1772
  }>;
1773
1773
  }>>, never, never>;
1774
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
1775
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
1774
1776
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
1775
1777
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1776
1778
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -1814,6 +1816,8 @@ export declare namespace Step {
1814
1816
  readonly write: Schema.Finite;
1815
1817
  }>;
1816
1818
  }>>, never, never>;
1819
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
1820
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
1817
1821
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
1818
1822
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1819
1823
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -4925,6 +4929,8 @@ export declare const Definitions: readonly [Schema.Struct<{
4925
4929
  readonly write: Schema.Finite;
4926
4930
  }>;
4927
4931
  }>>, never, never>;
4932
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
4933
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
4928
4934
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4929
4935
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4930
4936
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -4968,6 +4974,8 @@ export declare const Definitions: readonly [Schema.Struct<{
4968
4974
  readonly write: Schema.Finite;
4969
4975
  }>;
4970
4976
  }>>, never, never>;
4977
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
4978
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
4971
4979
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4972
4980
  create: () => string & import("effect/Brand").Brand<"SessionID">;
4973
4981
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -7954,6 +7962,8 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
7954
7962
  readonly write: Schema.Finite;
7955
7963
  }>;
7956
7964
  }>>, never, never>;
7965
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
7966
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
7957
7967
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
7958
7968
  create: () => string & import("effect/Brand").Brand<"SessionID">;
7959
7969
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -7997,6 +8007,8 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
7997
8007
  readonly write: Schema.Finite;
7998
8008
  }>;
7999
8009
  }>>, never, never>;
8010
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
8011
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
8000
8012
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
8001
8013
  create: () => string & import("effect/Brand").Brand<"SessionID">;
8002
8014
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -10853,6 +10865,8 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
10853
10865
  readonly write: Schema.Finite;
10854
10866
  }>;
10855
10867
  }>>, never, never>;
10868
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
10869
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
10856
10870
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10857
10871
  create: () => string & import("effect/Brand").Brand<"SessionID">;
10858
10872
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -10896,6 +10910,8 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
10896
10910
  readonly write: Schema.Finite;
10897
10911
  }>;
10898
10912
  }>>, never, never>;
10913
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
10914
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
10899
10915
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10900
10916
  create: () => string & import("effect/Brand").Brand<"SessionID">;
10901
10917
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -13819,6 +13835,8 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
13819
13835
  readonly write: Schema.Finite;
13820
13836
  }>;
13821
13837
  }>>, never, never>;
13838
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
13839
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
13822
13840
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
13823
13841
  create: () => string & import("effect/Brand").Brand<"SessionID">;
13824
13842
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -13862,6 +13880,8 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
13862
13880
  readonly write: Schema.Finite;
13863
13881
  }>;
13864
13882
  }>>, never, never>;
13883
+ readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
13884
+ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
13865
13885
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
13866
13886
  create: () => string & import("effect/Brand").Brand<"SessionID">;
13867
13887
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -232,6 +232,8 @@ export var Step;
232
232
  error: SessionError.Error,
233
233
  cost: Money.USD.pipe(optional),
234
234
  tokens: TokenUsage.Info.pipe(optional),
235
+ snapshot: Snapshot.ID.pipe(optional),
236
+ files: Schema.Array(RelativePath).pipe(optional),
235
237
  },
236
238
  });
237
239
  })(Step || (Step = {}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-next-15810",
4
+ "version": "0.0.0-next-15811",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {