@opencode/schema 0.0.0-beta-19500 → 0.0.0-dev-19274

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.
@@ -24,7 +24,6 @@ import { TokenUsage } from "./token-usage.js";
24
24
  import { SessionInbox } from "./session-inbox.js";
25
25
  import { Project } from "./project.js";
26
26
  import { SessionFork } from "./session-fork.js";
27
- import { Permission } from "./permission.js";
28
27
  export { FileAttachment };
29
28
  export const Source = Schema.Struct({
30
29
  start: NonNegativeInt,
@@ -57,7 +56,6 @@ export const Created = Event.durable({
57
56
  model: Model.Ref.pipe(optional),
58
57
  /** Host-supplied annotations resolved at creation, including any inherited from a parent. */
59
58
  metadata: SessionMetadata.pipe(optional),
60
- permissions: Permission.Ruleset.pipe(optional),
61
59
  version: Schema.String,
62
60
  },
63
61
  });
@@ -95,14 +93,6 @@ export const Renamed = Event.durable({
95
93
  title: Schema.String,
96
94
  },
97
95
  });
98
- export const PermissionsUpdated = Event.durable({
99
- type: "session.permissions.updated",
100
- ...options,
101
- schema: {
102
- ...Base,
103
- permissions: Permission.Ruleset,
104
- },
105
- });
106
96
  export const Viewed = Event.durable({
107
97
  type: "session.viewed",
108
98
  ...options,
@@ -112,7 +102,6 @@ export const Viewed = Event.durable({
112
102
  idle: Schema.Finite,
113
103
  },
114
104
  });
115
- // Replay-only: older releases allowed replacing completed assistant content.
116
105
  export const MessageContentUpdated = Event.durable({
117
106
  type: "session.message.content.updated",
118
107
  ...options,
@@ -514,10 +503,6 @@ export var Compaction;
514
503
  providerContext: SessionMessage.CompactionCompleted.fields.providerContext,
515
504
  text: Schema.String,
516
505
  recent: Schema.String,
517
- // Repeats the internal `session.usage.recorded` figures: that event never reaches clients, and it
518
- // stays the accounting source for session totals and stats.
519
- cost: SessionMessage.CompactionCompleted.fields.cost,
520
- tokens: SessionMessage.CompactionCompleted.fields.tokens,
521
506
  },
522
507
  });
523
508
  Compaction.Failed = Event.durable({
@@ -528,8 +513,6 @@ export var Compaction;
528
513
  reason: Compaction.Started.data.fields.reason,
529
514
  error: SessionError.Error,
530
515
  inputID: SessionMessage.ID.pipe(optional),
531
- cost: SessionMessage.CompactionFailed.fields.cost,
532
- tokens: SessionMessage.CompactionFailed.fields.tokens,
533
516
  },
534
517
  });
535
518
  })(Compaction || (Compaction = {}));
@@ -547,9 +530,9 @@ export var RevertEvent;
547
530
  schema: { ...Base, to: SessionMessage.ID },
548
531
  });
549
532
  })(RevertEvent || (RevertEvent = {}));
550
- export const Definitions = Event.inventory(Created, AgentSelected, ModelSelected, Moved, Renamed, PermissionsUpdated, Viewed, UsageUpdated, Deleted, Forked, InboxDelivered, InboxEnqueued, InboxCancelled, InboxDeliveryChanged, Execution.Started, Execution.Succeeded, Execution.Failed, Execution.Interrupted, InstructionsUpdated, Synthetic, Skill.Activated, Shell.Started, Shell.Ended, Step.Started, Step.Streamed, Step.Ended, Step.Failed, Text.Started, Text.Delta, Text.Ended, Reasoning.Started, Reasoning.Delta, Reasoning.Ended, Tool.Input.Started, Tool.Input.Delta, Tool.Input.Ended, Tool.Called, Tool.Progress, Tool.Success, Tool.Failed, RetryScheduled, Compaction.Started, Compaction.Delta, Compaction.Ended, Compaction.Failed, RevertEvent.Staged, RevertEvent.Cleared, RevertEvent.Committed);
551
- // Internal and replay-only events are excluded from the public manifest.
552
- export const DurableDefinitions = Event.inventory(...Definitions.filter((definition) => definition.durability === "durable"), UsageRecorded, MessageContentUpdated);
533
+ export const Definitions = Event.inventory(Created, AgentSelected, ModelSelected, Moved, Renamed, Viewed, UsageUpdated, Deleted, Forked, InboxDelivered, InboxEnqueued, InboxCancelled, InboxDeliveryChanged, Execution.Started, Execution.Succeeded, Execution.Failed, Execution.Interrupted, InstructionsUpdated, Synthetic, Skill.Activated, Shell.Started, Shell.Ended, Step.Started, Step.Streamed, Step.Ended, Step.Failed, Text.Started, Text.Delta, Text.Ended, Reasoning.Started, Reasoning.Delta, Reasoning.Ended, Tool.Input.Started, Tool.Input.Delta, Tool.Input.Ended, Tool.Called, Tool.Progress, Tool.Success, Tool.Failed, RetryScheduled, Compaction.Started, Compaction.Delta, Compaction.Ended, Compaction.Failed, RevertEvent.Staged, RevertEvent.Cleared, RevertEvent.Committed, MessageContentUpdated);
534
+ // UsageRecorded is durable but internal: excluded from Definitions so it never reaches the public manifest.
535
+ export const DurableDefinitions = Event.inventory(...Definitions.filter((definition) => definition.durability === "durable"), UsageRecorded);
553
536
  export const EphemeralDefinitions = Event.inventory(...Definitions.filter((definition) => definition.durability === "ephemeral"));
554
537
  export const Durable = Schema.Union(DurableDefinitions, { mode: "oneOf" })
555
538
  .pipe(Schema.toTaggedUnion("type"))
@@ -936,28 +936,6 @@ export declare const CompactionRunning: Schema.Struct<{
936
936
  export interface CompactionCompleted extends Schema.Schema.Type<typeof CompactionCompleted> {
937
937
  }
938
938
  export declare const CompactionCompleted: Schema.Struct<{
939
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
940
- zero: number & import("effect/Brand").Brand<"Money.USD">;
941
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
942
- zero: number & import("effect/Brand").Brand<"Money.USD">;
943
- }>, never, never>;
944
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
945
- readonly input: Schema.Finite;
946
- readonly output: Schema.Finite;
947
- readonly reasoning: Schema.Finite;
948
- readonly cache: Schema.Struct<{
949
- readonly read: Schema.Finite;
950
- readonly write: Schema.Finite;
951
- }>;
952
- }>>>, Schema.optionalKey<Schema.Struct<{
953
- readonly input: Schema.Finite;
954
- readonly output: Schema.Finite;
955
- readonly reasoning: Schema.Finite;
956
- readonly cache: Schema.Struct<{
957
- readonly read: Schema.Finite;
958
- readonly write: Schema.Finite;
959
- }>;
960
- }>>, never, never>;
961
939
  readonly status: Schema.tag<"completed">;
962
940
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
963
941
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -1068,28 +1046,6 @@ export declare const CompactionCompleted: Schema.Struct<{
1068
1046
  export interface CompactionFailed extends Schema.Schema.Type<typeof CompactionFailed> {
1069
1047
  }
1070
1048
  export declare const CompactionFailed: Schema.Struct<{
1071
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
1072
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1073
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
1074
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1075
- }>, never, never>;
1076
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1077
- readonly input: Schema.Finite;
1078
- readonly output: Schema.Finite;
1079
- readonly reasoning: Schema.Finite;
1080
- readonly cache: Schema.Struct<{
1081
- readonly read: Schema.Finite;
1082
- readonly write: Schema.Finite;
1083
- }>;
1084
- }>>>, Schema.optionalKey<Schema.Struct<{
1085
- readonly input: Schema.Finite;
1086
- readonly output: Schema.Finite;
1087
- readonly reasoning: Schema.Finite;
1088
- readonly cache: Schema.Struct<{
1089
- readonly read: Schema.Finite;
1090
- readonly write: Schema.Finite;
1091
- }>;
1092
- }>>, never, never>;
1093
1049
  readonly status: Schema.tag<"failed">;
1094
1050
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
1095
1051
  readonly error: Schema.Struct<{
@@ -1122,28 +1078,6 @@ export declare const Compaction: Schema.Union<readonly [Schema.Struct<{
1122
1078
  }>;
1123
1079
  readonly type: Schema.tag<"compaction">;
1124
1080
  }>, Schema.Struct<{
1125
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
1126
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1127
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
1128
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1129
- }>, never, never>;
1130
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1131
- readonly input: Schema.Finite;
1132
- readonly output: Schema.Finite;
1133
- readonly reasoning: Schema.Finite;
1134
- readonly cache: Schema.Struct<{
1135
- readonly read: Schema.Finite;
1136
- readonly write: Schema.Finite;
1137
- }>;
1138
- }>>>, Schema.optionalKey<Schema.Struct<{
1139
- readonly input: Schema.Finite;
1140
- readonly output: Schema.Finite;
1141
- readonly reasoning: Schema.Finite;
1142
- readonly cache: Schema.Struct<{
1143
- readonly read: Schema.Finite;
1144
- readonly write: Schema.Finite;
1145
- }>;
1146
- }>>, never, never>;
1147
1081
  readonly status: Schema.tag<"completed">;
1148
1082
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
1149
1083
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -1251,28 +1185,6 @@ export declare const Compaction: Schema.Union<readonly [Schema.Struct<{
1251
1185
  }>;
1252
1186
  readonly type: Schema.tag<"compaction">;
1253
1187
  }>, Schema.Struct<{
1254
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
1255
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1256
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
1257
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1258
- }>, never, never>;
1259
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1260
- readonly input: Schema.Finite;
1261
- readonly output: Schema.Finite;
1262
- readonly reasoning: Schema.Finite;
1263
- readonly cache: Schema.Struct<{
1264
- readonly read: Schema.Finite;
1265
- readonly write: Schema.Finite;
1266
- }>;
1267
- }>>>, Schema.optionalKey<Schema.Struct<{
1268
- readonly input: Schema.Finite;
1269
- readonly output: Schema.Finite;
1270
- readonly reasoning: Schema.Finite;
1271
- readonly cache: Schema.Struct<{
1272
- readonly read: Schema.Finite;
1273
- readonly write: Schema.Finite;
1274
- }>;
1275
- }>>, never, never>;
1276
1188
  readonly status: Schema.tag<"failed">;
1277
1189
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
1278
1190
  readonly error: Schema.Struct<{
@@ -1835,28 +1747,6 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1835
1747
  }>;
1836
1748
  readonly type: Schema.tag<"compaction">;
1837
1749
  }>, Schema.Struct<{
1838
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
1839
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1840
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
1841
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1842
- }>, never, never>;
1843
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1844
- readonly input: Schema.Finite;
1845
- readonly output: Schema.Finite;
1846
- readonly reasoning: Schema.Finite;
1847
- readonly cache: Schema.Struct<{
1848
- readonly read: Schema.Finite;
1849
- readonly write: Schema.Finite;
1850
- }>;
1851
- }>>>, Schema.optionalKey<Schema.Struct<{
1852
- readonly input: Schema.Finite;
1853
- readonly output: Schema.Finite;
1854
- readonly reasoning: Schema.Finite;
1855
- readonly cache: Schema.Struct<{
1856
- readonly read: Schema.Finite;
1857
- readonly write: Schema.Finite;
1858
- }>;
1859
- }>>, never, never>;
1860
1750
  readonly status: Schema.tag<"completed">;
1861
1751
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
1862
1752
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -1964,28 +1854,6 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
1964
1854
  }>;
1965
1855
  readonly type: Schema.tag<"compaction">;
1966
1856
  }>, Schema.Struct<{
1967
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
1968
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1969
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
1970
- zero: number & import("effect/Brand").Brand<"Money.USD">;
1971
- }>, never, never>;
1972
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1973
- readonly input: Schema.Finite;
1974
- readonly output: Schema.Finite;
1975
- readonly reasoning: Schema.Finite;
1976
- readonly cache: Schema.Struct<{
1977
- readonly read: Schema.Finite;
1978
- readonly write: Schema.Finite;
1979
- }>;
1980
- }>>>, Schema.optionalKey<Schema.Struct<{
1981
- readonly input: Schema.Finite;
1982
- readonly output: Schema.Finite;
1983
- readonly reasoning: Schema.Finite;
1984
- readonly cache: Schema.Struct<{
1985
- readonly read: Schema.Finite;
1986
- readonly write: Schema.Finite;
1987
- }>;
1988
- }>>, never, never>;
1989
1857
  readonly status: Schema.tag<"failed">;
1990
1858
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
1991
1859
  readonly error: Schema.Struct<{
@@ -182,11 +182,6 @@ export const Assistant = Schema.Struct({
182
182
  }),
183
183
  }).annotate({ identifier: "Session.Message.Assistant" });
184
184
  const CompactionBase = { type: Schema.tag("compaction"), ...Base };
185
- /** Usage of the compaction request itself, not the size of the resulting context. */
186
- const CompactionUsage = {
187
- cost: Money.USD.pipe(optional),
188
- tokens: TokenUsage.Info.pipe(optional),
189
- };
190
185
  export const CompactionRunning = Schema.Struct({
191
186
  ...CompactionBase,
192
187
  status: Schema.tag("running"),
@@ -203,14 +198,12 @@ export const CompactionCompleted = Schema.Struct({
203
198
  summary: Schema.String,
204
199
  recent: Schema.String,
205
200
  providerContext: SessionProviderContext.Info.pipe(optional),
206
- ...CompactionUsage,
207
201
  }).annotate({ identifier: "Session.Message.Compaction.Completed" });
208
202
  export const CompactionFailed = Schema.Struct({
209
203
  ...CompactionBase,
210
204
  status: Schema.tag("failed"),
211
205
  reason: Schema.Literals(["auto", "manual"]),
212
206
  error: SessionError.Error,
213
- ...CompactionUsage,
214
207
  }).annotate({ identifier: "Session.Message.Compaction.Failed" });
215
208
  export const Compaction = Schema.Union([CompactionRunning, CompactionCompleted, CompactionFailed]).pipe(Schema.toTaggedUnion("status"), Schema.annotate({ identifier: "Session.Message.Compaction" }));
216
209
  export const Info = Schema.Union([
@@ -134,15 +134,6 @@ export declare const Data: Schema.Struct<{
134
134
  }>;
135
135
  readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
136
136
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
137
- readonly permissions: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
138
- readonly action: Schema.String;
139
- readonly resource: Schema.String;
140
- readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
141
- }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
142
- readonly action: Schema.String;
143
- readonly resource: Schema.String;
144
- readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
145
- }>>>, never, never>;
146
137
  readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
147
138
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
148
139
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -726,28 +717,6 @@ export declare const Data: Schema.Struct<{
726
717
  }>;
727
718
  readonly type: Schema.tag<"compaction">;
728
719
  }>, Schema.Struct<{
729
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
730
- zero: number & import("effect/Brand").Brand<"Money.USD">;
731
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
732
- zero: number & import("effect/Brand").Brand<"Money.USD">;
733
- }>, never, never>;
734
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
735
- readonly input: Schema.Finite;
736
- readonly output: Schema.Finite;
737
- readonly reasoning: Schema.Finite;
738
- readonly cache: Schema.Struct<{
739
- readonly read: Schema.Finite;
740
- readonly write: Schema.Finite;
741
- }>;
742
- }>>>, Schema.optionalKey<Schema.Struct<{
743
- readonly input: Schema.Finite;
744
- readonly output: Schema.Finite;
745
- readonly reasoning: Schema.Finite;
746
- readonly cache: Schema.Struct<{
747
- readonly read: Schema.Finite;
748
- readonly write: Schema.Finite;
749
- }>;
750
- }>>, never, never>;
751
720
  readonly status: Schema.tag<"completed">;
752
721
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
753
722
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -855,28 +824,6 @@ export declare const Data: Schema.Struct<{
855
824
  }>;
856
825
  readonly type: Schema.tag<"compaction">;
857
826
  }>, Schema.Struct<{
858
- readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {
859
- zero: number & import("effect/Brand").Brand<"Money.USD">;
860
- }>>, Schema.optionalKey<Schema.brand<Schema.Finite, "Money.USD"> & {
861
- zero: number & import("effect/Brand").Brand<"Money.USD">;
862
- }>, never, never>;
863
- readonly tokens: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
864
- readonly input: Schema.Finite;
865
- readonly output: Schema.Finite;
866
- readonly reasoning: Schema.Finite;
867
- readonly cache: Schema.Struct<{
868
- readonly read: Schema.Finite;
869
- readonly write: Schema.Finite;
870
- }>;
871
- }>>>, Schema.optionalKey<Schema.Struct<{
872
- readonly input: Schema.Finite;
873
- readonly output: Schema.Finite;
874
- readonly reasoning: Schema.Finite;
875
- readonly cache: Schema.Struct<{
876
- readonly read: Schema.Finite;
877
- readonly write: Schema.Finite;
878
- }>;
879
- }>>, never, never>;
880
827
  readonly status: Schema.tag<"failed">;
881
828
  readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
882
829
  readonly error: Schema.Struct<{
package/dist/session.d.ts CHANGED
@@ -172,16 +172,6 @@ export declare const Info: Schema.Struct<{
172
172
  }>;
173
173
  readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
174
174
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
175
- /** Evaluated after the agent's rules; the last matching rule wins. */
176
- readonly permissions: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
177
- readonly action: Schema.String;
178
- readonly resource: Schema.String;
179
- readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
180
- }>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
181
- readonly action: Schema.String;
182
- readonly resource: Schema.String;
183
- readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
184
- }>>>, never, never>;
185
175
  readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
186
176
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
187
177
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
package/dist/session.js CHANGED
@@ -9,7 +9,6 @@ import { SessionEvent } from "./session-event.js";
9
9
  import { SessionID } from "./session-id.js";
10
10
  import { SessionMetadata } from "./session-metadata.js";
11
11
  import { Money } from "./money.js";
12
- import { Permission } from "./permission.js";
13
12
  import { TokenUsage } from "./token-usage.js";
14
13
  import { Revert } from "./session-revert.js";
15
14
  import { SessionFork } from "./session-fork.js";
@@ -44,8 +43,6 @@ export const Info = Schema.Struct({
44
43
  location: Location.Ref,
45
44
  subpath: RelativePath.pipe(optional),
46
45
  metadata: Metadata.pipe(optional),
47
- /** Evaluated after the agent's rules; the last matching rule wins. */
48
- permissions: Permission.Ruleset.pipe(optional),
49
46
  revert: Revert.pipe(optional),
50
47
  }).annotate({ identifier: "Session.Info" });
51
48
  export const ListAnchor = 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/schema",
4
- "version": "0.0.0-beta-19500",
4
+ "version": "0.0.0-dev-19274",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {