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

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 +46 -0
  6. package/dist/event-log.js +44 -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
package/dist/agent.d.ts CHANGED
@@ -98,12 +98,12 @@ export declare const Event: {
98
98
  readonly type: Schema.Literal<"agent.updated">;
99
99
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
100
100
  readonly aggregateID: Schema.String;
101
- readonly seq: Schema.Int;
102
- readonly version: Schema.Int;
101
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
102
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
103
103
  }>>>, Schema.optionalKey<Schema.Struct<{
104
104
  readonly aggregateID: Schema.String;
105
- readonly seq: Schema.Int;
106
- readonly version: Schema.Int;
105
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
106
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
107
107
  }>>, never, never>;
108
108
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
109
109
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -141,12 +141,12 @@ export declare const Event: {
141
141
  readonly type: Schema.Literal<"agent.updated">;
142
142
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
143
143
  readonly aggregateID: Schema.String;
144
- readonly seq: Schema.Int;
145
- readonly version: Schema.Int;
144
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
145
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
146
146
  }>>>, Schema.optionalKey<Schema.Struct<{
147
147
  readonly aggregateID: Schema.String;
148
- readonly seq: Schema.Int;
149
- readonly version: Schema.Int;
148
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
149
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
150
150
  }>>, never, never>;
151
151
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
152
152
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
package/dist/catalog.d.ts CHANGED
@@ -8,12 +8,12 @@ export declare const Event: {
8
8
  readonly type: import("effect/Schema").Literal<"catalog.updated">;
9
9
  readonly durable: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
10
10
  readonly aggregateID: import("effect/Schema").String;
11
- readonly seq: import("effect/Schema").Int;
12
- readonly version: import("effect/Schema").Int;
11
+ readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
12
+ readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
13
13
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
14
14
  readonly aggregateID: import("effect/Schema").String;
15
- readonly seq: import("effect/Schema").Int;
16
- readonly version: import("effect/Schema").Int;
15
+ readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
16
+ readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
17
17
  }>>, never, never>;
18
18
  readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
19
19
  readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
@@ -51,12 +51,12 @@ export declare const Event: {
51
51
  readonly type: import("effect/Schema").Literal<"catalog.updated">;
52
52
  readonly durable: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
53
53
  readonly aggregateID: import("effect/Schema").String;
54
- readonly seq: import("effect/Schema").Int;
55
- readonly version: import("effect/Schema").Int;
54
+ readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
55
+ readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
56
56
  }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
57
57
  readonly aggregateID: import("effect/Schema").String;
58
- readonly seq: import("effect/Schema").Int;
59
- readonly version: import("effect/Schema").Int;
58
+ readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
59
+ readonly version: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">;
60
60
  }>>, never, never>;
61
61
  readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
62
62
  readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
package/dist/command.d.ts CHANGED
@@ -51,12 +51,12 @@ export declare const Event: {
51
51
  readonly type: Schema.Literal<"command.updated">;
52
52
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
53
53
  readonly aggregateID: Schema.String;
54
- readonly seq: Schema.Int;
55
- readonly version: Schema.Int;
54
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
55
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
56
56
  }>>>, Schema.optionalKey<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
  }>>, never, never>;
61
61
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
62
62
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
@@ -94,12 +94,12 @@ export declare const Event: {
94
94
  readonly type: Schema.Literal<"command.updated">;
95
95
  readonly durable: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
96
96
  readonly aggregateID: Schema.String;
97
- readonly seq: Schema.Int;
98
- readonly version: Schema.Int;
97
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
98
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
99
99
  }>>>, Schema.optionalKey<Schema.Struct<{
100
100
  readonly aggregateID: Schema.String;
101
- readonly seq: Schema.Int;
102
- readonly version: Schema.Int;
101
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
102
+ readonly version: Schema.brand<Schema.Int, "Event.Version">;
103
103
  }>>, never, never>;
104
104
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
105
105
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;