@opencode-ai/schema 0.0.0-next-14723 → 0.0.0-next-14742

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.
Files changed (46) hide show
  1. package/dist/agent.d.ts +8 -8
  2. package/dist/catalog.d.ts +8 -8
  3. package/dist/command.d.ts +8 -8
  4. package/dist/durable-event-manifest.d.ts +412 -412
  5. package/dist/event-log.d.ts +45 -0
  6. package/dist/event-log.js +43 -0
  7. package/dist/event-manifest.d.ts +1224 -852
  8. package/dist/event-manifest.js +2 -2
  9. package/dist/event.d.ts +16 -6
  10. package/dist/event.js +9 -1
  11. package/dist/filesystem-watcher.d.ts +8 -8
  12. package/dist/filesystem.d.ts +8 -8
  13. package/dist/form.d.ts +1339 -0
  14. package/dist/form.js +105 -0
  15. package/dist/ide-event.d.ts +8 -8
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/installation-event.d.ts +16 -16
  19. package/dist/integration.d.ts +16 -16
  20. package/dist/lsp-event.d.ts +8 -8
  21. package/dist/mcp-event.d.ts +24 -24
  22. package/dist/models-dev.d.ts +8 -8
  23. package/dist/permission.d.ts +16 -16
  24. package/dist/plugin.d.ts +8 -8
  25. package/dist/project-directories.d.ts +8 -8
  26. package/dist/project.d.ts +8 -8
  27. package/dist/pty.d.ts +32 -32
  28. package/dist/reference.d.ts +8 -8
  29. package/dist/server-event.d.ts +16 -16
  30. package/dist/session-compaction-event.d.ts +8 -8
  31. package/dist/session-event.d.ts +680 -680
  32. package/dist/session-status-event.d.ts +16 -16
  33. package/dist/session-todo.d.ts +8 -8
  34. package/dist/shell.d.ts +24 -24
  35. package/dist/skill.d.ts +8 -8
  36. package/dist/tui-event.d.ts +32 -32
  37. package/dist/v1/legacy-event.d.ts +8 -8
  38. package/dist/v1/permission.d.ts +16 -16
  39. package/dist/v1/question.d.ts +24 -24
  40. package/dist/v1/session.d.ts +92 -92
  41. package/dist/vcs-event.d.ts +8 -8
  42. package/dist/workspace-event.d.ts +24 -24
  43. package/dist/worktree-event.d.ts +16 -16
  44. package/package.json +1 -1
  45. package/dist/question.d.ts +0 -516
  46. package/dist/question.js +0 -64
@@ -2255,12 +2255,12 @@ export declare const PartDelta: Schema.Struct<{
2255
2255
  readonly type: Schema.Literal<"message.part.delta">;
2256
2256
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2257
2257
  readonly aggregateID: Schema.String;
2258
- readonly seq: Schema.Int;
2259
- readonly version: Schema.Int;
2258
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2259
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2260
2260
  }>>>, Schema.optionalKey<Schema.Struct<{
2261
2261
  readonly aggregateID: Schema.String;
2262
- readonly seq: Schema.Int;
2263
- readonly version: Schema.Int;
2262
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2263
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2264
2264
  }>>, never, never>;
2265
2265
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2266
2266
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -2324,12 +2324,12 @@ export declare const Diff: Schema.Struct<{
2324
2324
  readonly type: Schema.Literal<"session.diff">;
2325
2325
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2326
2326
  readonly aggregateID: Schema.String;
2327
- readonly seq: Schema.Int;
2328
- readonly version: Schema.Int;
2327
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2328
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2329
2329
  }>>>, Schema.optionalKey<Schema.Struct<{
2330
2330
  readonly aggregateID: Schema.String;
2331
- readonly seq: Schema.Int;
2332
- readonly version: Schema.Int;
2331
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2332
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2333
2333
  }>>, never, never>;
2334
2334
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2335
2335
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -2391,12 +2391,12 @@ export declare const Error: Schema.Struct<{
2391
2391
  readonly type: Schema.Literal<"session.error">;
2392
2392
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2393
2393
  readonly aggregateID: Schema.String;
2394
- readonly seq: Schema.Int;
2395
- readonly version: Schema.Int;
2394
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2395
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2396
2396
  }>>>, Schema.optionalKey<Schema.Struct<{
2397
2397
  readonly aggregateID: Schema.String;
2398
- readonly seq: Schema.Int;
2399
- readonly version: Schema.Int;
2398
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2399
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2400
2400
  }>>, never, never>;
2401
2401
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2402
2402
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -2541,12 +2541,12 @@ export declare const Event: {
2541
2541
  readonly type: Schema.Literal<"message.part.delta">;
2542
2542
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2543
2543
  readonly aggregateID: Schema.String;
2544
- readonly seq: Schema.Int;
2545
- readonly version: Schema.Int;
2544
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2545
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2546
2546
  }>>>, Schema.optionalKey<Schema.Struct<{
2547
2547
  readonly aggregateID: Schema.String;
2548
- readonly seq: Schema.Int;
2549
- readonly version: Schema.Int;
2548
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2549
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2550
2550
  }>>, never, never>;
2551
2551
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2552
2552
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -2610,12 +2610,12 @@ export declare const Event: {
2610
2610
  readonly type: Schema.Literal<"session.diff">;
2611
2611
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2612
2612
  readonly aggregateID: Schema.String;
2613
- readonly seq: Schema.Int;
2614
- readonly version: Schema.Int;
2613
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2614
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2615
2615
  }>>>, Schema.optionalKey<Schema.Struct<{
2616
2616
  readonly aggregateID: Schema.String;
2617
- readonly seq: Schema.Int;
2618
- readonly version: Schema.Int;
2617
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2618
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2619
2619
  }>>, never, never>;
2620
2620
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2621
2621
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -2677,12 +2677,12 @@ export declare const Event: {
2677
2677
  readonly type: Schema.Literal<"session.error">;
2678
2678
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2679
2679
  readonly aggregateID: Schema.String;
2680
- readonly seq: Schema.Int;
2681
- readonly version: Schema.Int;
2680
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2681
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2682
2682
  }>>>, Schema.optionalKey<Schema.Struct<{
2683
2683
  readonly aggregateID: Schema.String;
2684
- readonly seq: Schema.Int;
2685
- readonly version: Schema.Int;
2684
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2685
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2686
2686
  }>>, never, never>;
2687
2687
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2688
2688
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -2826,12 +2826,12 @@ export declare const Event: {
2826
2826
  readonly type: Schema.Literal<"session.created">;
2827
2827
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2828
2828
  readonly aggregateID: Schema.String;
2829
- readonly seq: Schema.Int;
2830
- readonly version: Schema.Int;
2829
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2830
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2831
2831
  }>>>, Schema.optionalKey<Schema.Struct<{
2832
2832
  readonly aggregateID: Schema.String;
2833
- readonly seq: Schema.Int;
2834
- readonly version: Schema.Int;
2833
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2834
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
2835
2835
  }>>, never, never>;
2836
2836
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2837
2837
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -3196,12 +3196,12 @@ export declare const Event: {
3196
3196
  readonly type: Schema.Literal<"session.updated">;
3197
3197
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3198
3198
  readonly aggregateID: Schema.String;
3199
- readonly seq: Schema.Int;
3200
- readonly version: Schema.Int;
3199
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
3200
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
3201
3201
  }>>>, Schema.optionalKey<Schema.Struct<{
3202
3202
  readonly aggregateID: Schema.String;
3203
- readonly seq: Schema.Int;
3204
- readonly version: Schema.Int;
3203
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
3204
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
3205
3205
  }>>, never, never>;
3206
3206
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3207
3207
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -3566,12 +3566,12 @@ export declare const Event: {
3566
3566
  readonly type: Schema.Literal<"session.deleted">;
3567
3567
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3568
3568
  readonly aggregateID: Schema.String;
3569
- readonly seq: Schema.Int;
3570
- readonly version: Schema.Int;
3569
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
3570
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
3571
3571
  }>>>, Schema.optionalKey<Schema.Struct<{
3572
3572
  readonly aggregateID: Schema.String;
3573
- readonly seq: Schema.Int;
3574
- readonly version: Schema.Int;
3573
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
3574
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
3575
3575
  }>>, never, never>;
3576
3576
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3577
3577
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -3936,12 +3936,12 @@ export declare const Event: {
3936
3936
  readonly type: Schema.Literal<"message.updated">;
3937
3937
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3938
3938
  readonly aggregateID: Schema.String;
3939
- readonly seq: Schema.Int;
3940
- readonly version: Schema.Int;
3939
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
3940
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
3941
3941
  }>>>, Schema.optionalKey<Schema.Struct<{
3942
3942
  readonly aggregateID: Schema.String;
3943
- readonly seq: Schema.Int;
3944
- readonly version: Schema.Int;
3943
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
3944
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
3945
3945
  }>>, never, never>;
3946
3946
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3947
3947
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -4276,12 +4276,12 @@ export declare const Event: {
4276
4276
  readonly type: Schema.Literal<"message.removed">;
4277
4277
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4278
4278
  readonly aggregateID: Schema.String;
4279
- readonly seq: Schema.Int;
4280
- readonly version: Schema.Int;
4279
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
4280
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
4281
4281
  }>>>, Schema.optionalKey<Schema.Struct<{
4282
4282
  readonly aggregateID: Schema.String;
4283
- readonly seq: Schema.Int;
4284
- readonly version: Schema.Int;
4283
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
4284
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
4285
4285
  }>>, never, never>;
4286
4286
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4287
4287
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -4334,12 +4334,12 @@ export declare const Event: {
4334
4334
  readonly type: Schema.Literal<"message.part.updated">;
4335
4335
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4336
4336
  readonly aggregateID: Schema.String;
4337
- readonly seq: Schema.Int;
4338
- readonly version: Schema.Int;
4337
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
4338
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
4339
4339
  }>>>, Schema.optionalKey<Schema.Struct<{
4340
4340
  readonly aggregateID: Schema.String;
4341
- readonly seq: Schema.Int;
4342
- readonly version: Schema.Int;
4341
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
4342
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
4343
4343
  }>>, never, never>;
4344
4344
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4345
4345
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -5094,12 +5094,12 @@ export declare const Event: {
5094
5094
  readonly type: Schema.Literal<"message.part.removed">;
5095
5095
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5096
5096
  readonly aggregateID: Schema.String;
5097
- readonly seq: Schema.Int;
5098
- readonly version: Schema.Int;
5097
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5098
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5099
5099
  }>>>, Schema.optionalKey<Schema.Struct<{
5100
5100
  readonly aggregateID: Schema.String;
5101
- readonly seq: Schema.Int;
5102
- readonly version: Schema.Int;
5101
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5102
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5103
5103
  }>>, never, never>;
5104
5104
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5105
5105
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -5158,12 +5158,12 @@ export declare const Event: {
5158
5158
  readonly type: Schema.Literal<"message.part.delta">;
5159
5159
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5160
5160
  readonly aggregateID: Schema.String;
5161
- readonly seq: Schema.Int;
5162
- readonly version: Schema.Int;
5161
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5162
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5163
5163
  }>>>, Schema.optionalKey<Schema.Struct<{
5164
5164
  readonly aggregateID: Schema.String;
5165
- readonly seq: Schema.Int;
5166
- readonly version: Schema.Int;
5165
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5166
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5167
5167
  }>>, never, never>;
5168
5168
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5169
5169
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -5226,12 +5226,12 @@ export declare const Event: {
5226
5226
  readonly type: Schema.Literal<"session.diff">;
5227
5227
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5228
5228
  readonly aggregateID: Schema.String;
5229
- readonly seq: Schema.Int;
5230
- readonly version: Schema.Int;
5229
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5230
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5231
5231
  }>>>, Schema.optionalKey<Schema.Struct<{
5232
5232
  readonly aggregateID: Schema.String;
5233
- readonly seq: Schema.Int;
5234
- readonly version: Schema.Int;
5233
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5234
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5235
5235
  }>>, never, never>;
5236
5236
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5237
5237
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -5292,12 +5292,12 @@ export declare const Event: {
5292
5292
  readonly type: Schema.Literal<"session.error">;
5293
5293
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5294
5294
  readonly aggregateID: Schema.String;
5295
- readonly seq: Schema.Int;
5296
- readonly version: Schema.Int;
5295
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5296
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5297
5297
  }>>>, Schema.optionalKey<Schema.Struct<{
5298
5298
  readonly aggregateID: Schema.String;
5299
- readonly seq: Schema.Int;
5300
- readonly version: Schema.Int;
5299
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5300
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5301
5301
  }>>, never, never>;
5302
5302
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5303
5303
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -5441,12 +5441,12 @@ export declare const Event: {
5441
5441
  readonly type: Schema.Literal<"session.created">;
5442
5442
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5443
5443
  readonly aggregateID: Schema.String;
5444
- readonly seq: Schema.Int;
5445
- readonly version: Schema.Int;
5444
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5445
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5446
5446
  }>>>, Schema.optionalKey<Schema.Struct<{
5447
5447
  readonly aggregateID: Schema.String;
5448
- readonly seq: Schema.Int;
5449
- readonly version: Schema.Int;
5448
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5449
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5450
5450
  }>>, never, never>;
5451
5451
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5452
5452
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -5812,12 +5812,12 @@ export declare const Event: {
5812
5812
  readonly type: Schema.Literal<"session.updated">;
5813
5813
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5814
5814
  readonly aggregateID: Schema.String;
5815
- readonly seq: Schema.Int;
5816
- readonly version: Schema.Int;
5815
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5816
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5817
5817
  }>>>, Schema.optionalKey<Schema.Struct<{
5818
5818
  readonly aggregateID: Schema.String;
5819
- readonly seq: Schema.Int;
5820
- readonly version: Schema.Int;
5819
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5820
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
5821
5821
  }>>, never, never>;
5822
5822
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5823
5823
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -6183,12 +6183,12 @@ export declare const Event: {
6183
6183
  readonly type: Schema.Literal<"session.deleted">;
6184
6184
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6185
6185
  readonly aggregateID: Schema.String;
6186
- readonly seq: Schema.Int;
6187
- readonly version: Schema.Int;
6186
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6187
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6188
6188
  }>>>, Schema.optionalKey<Schema.Struct<{
6189
6189
  readonly aggregateID: Schema.String;
6190
- readonly seq: Schema.Int;
6191
- readonly version: Schema.Int;
6190
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6191
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6192
6192
  }>>, never, never>;
6193
6193
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6194
6194
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -6554,12 +6554,12 @@ export declare const Event: {
6554
6554
  readonly type: Schema.Literal<"message.updated">;
6555
6555
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6556
6556
  readonly aggregateID: Schema.String;
6557
- readonly seq: Schema.Int;
6558
- readonly version: Schema.Int;
6557
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6558
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6559
6559
  }>>>, Schema.optionalKey<Schema.Struct<{
6560
6560
  readonly aggregateID: Schema.String;
6561
- readonly seq: Schema.Int;
6562
- readonly version: Schema.Int;
6561
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6562
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6563
6563
  }>>, never, never>;
6564
6564
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6565
6565
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -6895,12 +6895,12 @@ export declare const Event: {
6895
6895
  readonly type: Schema.Literal<"message.removed">;
6896
6896
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6897
6897
  readonly aggregateID: Schema.String;
6898
- readonly seq: Schema.Int;
6899
- readonly version: Schema.Int;
6898
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6899
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6900
6900
  }>>>, Schema.optionalKey<Schema.Struct<{
6901
6901
  readonly aggregateID: Schema.String;
6902
- readonly seq: Schema.Int;
6903
- readonly version: Schema.Int;
6902
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6903
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6904
6904
  }>>, never, never>;
6905
6905
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6906
6906
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -6954,12 +6954,12 @@ export declare const Event: {
6954
6954
  readonly type: Schema.Literal<"message.part.updated">;
6955
6955
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6956
6956
  readonly aggregateID: Schema.String;
6957
- readonly seq: Schema.Int;
6958
- readonly version: Schema.Int;
6957
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6958
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6959
6959
  }>>>, Schema.optionalKey<Schema.Struct<{
6960
6960
  readonly aggregateID: Schema.String;
6961
- readonly seq: Schema.Int;
6962
- readonly version: Schema.Int;
6961
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
6962
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
6963
6963
  }>>, never, never>;
6964
6964
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6965
6965
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -7715,12 +7715,12 @@ export declare const Event: {
7715
7715
  readonly type: Schema.Literal<"message.part.removed">;
7716
7716
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
7717
7717
  readonly aggregateID: Schema.String;
7718
- readonly seq: Schema.Int;
7719
- readonly version: Schema.Int;
7718
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
7719
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
7720
7720
  }>>>, Schema.optionalKey<Schema.Struct<{
7721
7721
  readonly aggregateID: Schema.String;
7722
- readonly seq: Schema.Int;
7723
- readonly version: Schema.Int;
7722
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
7723
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
7724
7724
  }>>, never, never>;
7725
7725
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
7726
7726
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -8,12 +8,12 @@ export declare const BranchUpdated: Schema.Struct<{
8
8
  readonly type: Schema.Literal<"vcs.branch.updated">;
9
9
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10
10
  readonly aggregateID: Schema.String;
11
- readonly seq: Schema.Int;
12
- readonly version: Schema.Int;
11
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
12
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
13
13
  }>>>, Schema.optionalKey<Schema.Struct<{
14
14
  readonly aggregateID: Schema.String;
15
- readonly seq: Schema.Int;
16
- readonly version: Schema.Int;
15
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
16
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
17
17
  }>>, never, never>;
18
18
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
19
19
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -55,12 +55,12 @@ export declare const Definitions: readonly [Schema.Struct<{
55
55
  readonly type: Schema.Literal<"vcs.branch.updated">;
56
56
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
57
57
  readonly aggregateID: Schema.String;
58
- readonly seq: Schema.Int;
59
- readonly version: Schema.Int;
58
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
59
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
60
60
  }>>>, Schema.optionalKey<Schema.Struct<{
61
61
  readonly aggregateID: Schema.String;
62
- readonly seq: Schema.Int;
63
- readonly version: Schema.Int;
62
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
63
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
64
64
  }>>, never, never>;
65
65
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
66
66
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -17,12 +17,12 @@ export declare const Ready: Schema.Struct<{
17
17
  readonly type: Schema.Literal<"workspace.ready">;
18
18
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
19
19
  readonly aggregateID: Schema.String;
20
- readonly seq: Schema.Int;
21
- readonly version: Schema.Int;
20
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
21
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
22
22
  }>>>, Schema.optionalKey<Schema.Struct<{
23
23
  readonly aggregateID: Schema.String;
24
- readonly seq: Schema.Int;
25
- readonly version: Schema.Int;
24
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
25
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
26
26
  }>>, never, never>;
27
27
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
28
28
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -64,12 +64,12 @@ export declare const Failed: Schema.Struct<{
64
64
  readonly type: Schema.Literal<"workspace.failed">;
65
65
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
66
66
  readonly aggregateID: Schema.String;
67
- readonly seq: Schema.Int;
68
- readonly version: Schema.Int;
67
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
68
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
69
69
  }>>>, Schema.optionalKey<Schema.Struct<{
70
70
  readonly aggregateID: Schema.String;
71
- readonly seq: Schema.Int;
72
- readonly version: Schema.Int;
71
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
72
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
73
73
  }>>, never, never>;
74
74
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
75
75
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -111,12 +111,12 @@ export declare const Status: Schema.Struct<{
111
111
  readonly type: Schema.Literal<"workspace.status">;
112
112
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
113
113
  readonly aggregateID: Schema.String;
114
- readonly seq: Schema.Int;
115
- readonly version: Schema.Int;
114
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
115
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
116
116
  }>>>, Schema.optionalKey<Schema.Struct<{
117
117
  readonly aggregateID: Schema.String;
118
- readonly seq: Schema.Int;
119
- readonly version: Schema.Int;
118
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
119
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
120
120
  }>>, never, never>;
121
121
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
122
122
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -166,12 +166,12 @@ export declare const Definitions: readonly [Schema.Struct<{
166
166
  readonly type: Schema.Literal<"workspace.ready">;
167
167
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
168
168
  readonly aggregateID: Schema.String;
169
- readonly seq: Schema.Int;
170
- readonly version: Schema.Int;
169
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
170
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
171
171
  }>>>, Schema.optionalKey<Schema.Struct<{
172
172
  readonly aggregateID: Schema.String;
173
- readonly seq: Schema.Int;
174
- readonly version: Schema.Int;
173
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
174
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
175
175
  }>>, never, never>;
176
176
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
177
177
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -212,12 +212,12 @@ export declare const Definitions: readonly [Schema.Struct<{
212
212
  readonly type: Schema.Literal<"workspace.failed">;
213
213
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
214
214
  readonly aggregateID: Schema.String;
215
- readonly seq: Schema.Int;
216
- readonly version: Schema.Int;
215
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
216
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
217
217
  }>>>, Schema.optionalKey<Schema.Struct<{
218
218
  readonly aggregateID: Schema.String;
219
- readonly seq: Schema.Int;
220
- readonly version: Schema.Int;
219
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
220
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
221
221
  }>>, never, never>;
222
222
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
223
223
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -258,12 +258,12 @@ export declare const Definitions: readonly [Schema.Struct<{
258
258
  readonly type: Schema.Literal<"workspace.status">;
259
259
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
260
260
  readonly aggregateID: Schema.String;
261
- readonly seq: Schema.Int;
262
- readonly version: Schema.Int;
261
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
262
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
263
263
  }>>>, Schema.optionalKey<Schema.Struct<{
264
264
  readonly aggregateID: Schema.String;
265
- readonly seq: Schema.Int;
266
- readonly version: Schema.Int;
265
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
266
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
267
267
  }>>, never, never>;
268
268
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
269
269
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -8,12 +8,12 @@ export declare const Ready: Schema.Struct<{
8
8
  readonly type: Schema.Literal<"worktree.ready">;
9
9
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10
10
  readonly aggregateID: Schema.String;
11
- readonly seq: Schema.Int;
12
- readonly version: Schema.Int;
11
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
12
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
13
13
  }>>>, Schema.optionalKey<Schema.Struct<{
14
14
  readonly aggregateID: Schema.String;
15
- readonly seq: Schema.Int;
16
- readonly version: Schema.Int;
15
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
16
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
17
17
  }>>, never, never>;
18
18
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
19
19
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -57,12 +57,12 @@ export declare const Failed: Schema.Struct<{
57
57
  readonly type: Schema.Literal<"worktree.failed">;
58
58
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
59
59
  readonly aggregateID: Schema.String;
60
- readonly seq: Schema.Int;
61
- readonly version: Schema.Int;
60
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
61
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
62
62
  }>>>, Schema.optionalKey<Schema.Struct<{
63
63
  readonly aggregateID: Schema.String;
64
- readonly seq: Schema.Int;
65
- readonly version: Schema.Int;
64
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
65
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
66
66
  }>>, never, never>;
67
67
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
68
68
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -104,12 +104,12 @@ export declare const Definitions: readonly [Schema.Struct<{
104
104
  readonly type: Schema.Literal<"worktree.ready">;
105
105
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
106
106
  readonly aggregateID: Schema.String;
107
- readonly seq: Schema.Int;
108
- readonly version: Schema.Int;
107
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
108
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
109
109
  }>>>, Schema.optionalKey<Schema.Struct<{
110
110
  readonly aggregateID: Schema.String;
111
- readonly seq: Schema.Int;
112
- readonly version: Schema.Int;
111
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
112
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
113
113
  }>>, never, never>;
114
114
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
115
115
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -152,12 +152,12 @@ export declare const Definitions: readonly [Schema.Struct<{
152
152
  readonly type: Schema.Literal<"worktree.failed">;
153
153
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
154
154
  readonly aggregateID: Schema.String;
155
- readonly seq: Schema.Int;
156
- readonly version: Schema.Int;
155
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
156
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
157
157
  }>>>, Schema.optionalKey<Schema.Struct<{
158
158
  readonly aggregateID: Schema.String;
159
- readonly seq: Schema.Int;
160
- readonly version: Schema.Int;
159
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
160
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
161
161
  }>>, never, never>;
162
162
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
163
163
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
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-14723",
4
+ "version": "0.0.0-next-14742",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {