@opencode-ai/schema 0.0.0-next-14855 → 0.0.0-reserved.0

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 (147) hide show
  1. package/README.md +3 -0
  2. package/index.js +1 -0
  3. package/package.json +3 -26
  4. package/dist/agent.d.ts +0 -159
  5. package/dist/agent.js +0 -43
  6. package/dist/catalog.d.ts +0 -69
  7. package/dist/catalog.js +0 -4
  8. package/dist/command.d.ts +0 -112
  9. package/dist/command.js +0 -18
  10. package/dist/config.d.ts +0 -69
  11. package/dist/config.js +0 -7
  12. package/dist/connection.d.ts +0 -28
  13. package/dist/connection.js +0 -15
  14. package/dist/credential.d.ts +0 -36
  15. package/dist/credential.js +0 -23
  16. package/dist/durable-event-manifest.d.ts +0 -2370
  17. package/dist/durable-event-manifest.js +0 -9
  18. package/dist/event-log.d.ts +0 -45
  19. package/dist/event-log.js +0 -43
  20. package/dist/event-manifest.d.ts +0 -15273
  21. package/dist/event-manifest.js +0 -52
  22. package/dist/event.d.ts +0 -142
  23. package/dist/event.js +0 -102
  24. package/dist/file-diff.d.ts +0 -11
  25. package/dist/file-diff.js +0 -10
  26. package/dist/filesystem-v1.d.ts +0 -1
  27. package/dist/filesystem-v1.js +0 -1
  28. package/dist/filesystem.d.ts +0 -118
  29. package/dist/filesystem.js +0 -35
  30. package/dist/form.d.ts +0 -1279
  31. package/dist/form.js +0 -112
  32. package/dist/ide-event.d.ts +0 -76
  33. package/dist/ide-event.js +0 -10
  34. package/dist/identifier.d.ts +0 -3
  35. package/dist/identifier.js +0 -24
  36. package/dist/index.d.ts +0 -32
  37. package/dist/index.js +0 -32
  38. package/dist/installation-event.d.ts +0 -149
  39. package/dist/installation-event.js +0 -16
  40. package/dist/integration-id.d.ts +0 -5
  41. package/dist/integration-id.js +0 -3
  42. package/dist/integration.d.ts +0 -532
  43. package/dist/integration.js +0 -93
  44. package/dist/legacy-event.d.ts +0 -1
  45. package/dist/legacy-event.js +0 -1
  46. package/dist/llm.d.ts +0 -28
  47. package/dist/llm.js +0 -19
  48. package/dist/location.d.ts +0 -36
  49. package/dist/location.js +0 -21
  50. package/dist/lsp-event.d.ts +0 -67
  51. package/dist/lsp-event.js +0 -4
  52. package/dist/mcp-event.d.ts +0 -188
  53. package/dist/mcp-event.js +0 -25
  54. package/dist/mcp.d.ts +0 -39
  55. package/dist/mcp.js +0 -38
  56. package/dist/model.d.ts +0 -213
  57. package/dist/model.js +0 -86
  58. package/dist/models-dev.d.ts +0 -69
  59. package/dist/models-dev.js +0 -7
  60. package/dist/permission-saved.d.ts +0 -18
  61. package/dist/permission-saved.js +0 -12
  62. package/dist/permission-v1.d.ts +0 -1
  63. package/dist/permission-v1.js +0 -1
  64. package/dist/permission.d.ts +0 -306
  65. package/dist/permission.js +0 -45
  66. package/dist/plugin.d.ts +0 -85
  67. package/dist/plugin.js +0 -12
  68. package/dist/project-copy.d.ts +0 -29
  69. package/dist/project-copy.js +0 -21
  70. package/dist/project-directories.d.ts +0 -85
  71. package/dist/project-directories.js +0 -8
  72. package/dist/project-id.d.ts +0 -5
  73. package/dist/project-id.js +0 -3
  74. package/dist/project.d.ts +0 -258
  75. package/dist/project.js +0 -44
  76. package/dist/prompt-input.d.ts +0 -106
  77. package/dist/prompt-input.js +0 -19
  78. package/dist/prompt.d.ts +0 -177
  79. package/dist/prompt.js +0 -43
  80. package/dist/provider.d.ts +0 -118
  81. package/dist/provider.js +0 -55
  82. package/dist/pty-ticket.d.ts +0 -8
  83. package/dist/pty-ticket.js +0 -7
  84. package/dist/pty.d.ts +0 -462
  85. package/dist/pty.js +0 -43
  86. package/dist/question-v1.d.ts +0 -1
  87. package/dist/question-v1.js +0 -1
  88. package/dist/question.d.ts +0 -456
  89. package/dist/question.js +0 -64
  90. package/dist/reference.d.ts +0 -120
  91. package/dist/reference.js +0 -31
  92. package/dist/revert.d.ts +0 -35
  93. package/dist/revert.js +0 -19
  94. package/dist/schema.d.ts +0 -10
  95. package/dist/schema.js +0 -14
  96. package/dist/server-event.d.ts +0 -132
  97. package/dist/server-event.js +0 -5
  98. package/dist/session-compaction-event.d.ts +0 -87
  99. package/dist/session-compaction-event.js +0 -10
  100. package/dist/session-context-entry.d.ts +0 -15
  101. package/dist/session-context-entry.js +0 -15
  102. package/dist/session-delivery.d.ts +0 -4
  103. package/dist/session-delivery.js +0 -3
  104. package/dist/session-event.d.ts +0 -12728
  105. package/dist/session-event.js +0 -423
  106. package/dist/session-id.d.ts +0 -6
  107. package/dist/session-id.js +0 -10
  108. package/dist/session-input.d.ts +0 -146
  109. package/dist/session-input.js +0 -18
  110. package/dist/session-message.d.ts +0 -1390
  111. package/dist/session-message.js +0 -175
  112. package/dist/session-status-event.d.ts +0 -299
  113. package/dist/session-status-event.js +0 -43
  114. package/dist/session-todo.d.ts +0 -117
  115. package/dist/session-todo.js +0 -21
  116. package/dist/session-v1.d.ts +0 -1
  117. package/dist/session-v1.js +0 -1
  118. package/dist/session.d.ts +0 -142
  119. package/dist/session.js +0 -43
  120. package/dist/shell.d.ts +0 -381
  121. package/dist/shell.js +0 -58
  122. package/dist/skill.d.ts +0 -126
  123. package/dist/skill.js +0 -45
  124. package/dist/tui-event.d.ts +0 -307
  125. package/dist/tui-event.js +0 -53
  126. package/dist/v1/filesystem.d.ts +0 -78
  127. package/dist/v1/filesystem.js +0 -8
  128. package/dist/v1/legacy-event.d.ts +0 -108
  129. package/dist/v1/legacy-event.js +0 -15
  130. package/dist/v1/permission.d.ts +0 -316
  131. package/dist/v1/permission.js +0 -41
  132. package/dist/v1/question.d.ts +0 -444
  133. package/dist/v1/question.js +0 -57
  134. package/dist/v1/session.d.ts +0 -7657
  135. package/dist/v1/session.js +0 -535
  136. package/dist/vcs-event.d.ts +0 -76
  137. package/dist/vcs-event.js +0 -11
  138. package/dist/vcs.d.ts +0 -12
  139. package/dist/vcs.js +0 -10
  140. package/dist/workspace-event.d.ts +0 -247
  141. package/dist/workspace-event.js +0 -25
  142. package/dist/workspace-id.d.ts +0 -6
  143. package/dist/workspace-id.js +0 -16
  144. package/dist/workspace.d.ts +0 -9
  145. package/dist/workspace.js +0 -5
  146. package/dist/worktree-event.d.ts +0 -153
  147. package/dist/worktree-event.js +0 -18
@@ -1,9 +0,0 @@
1
- export * as DurableEventManifest from "./durable-event-manifest.js";
2
- import { Event } from "./event.js";
3
- import { SessionEvent } from "./session-event.js";
4
- import { SessionV1 } from "./session-v1.js";
5
- export const SessionDurable = {
6
- definitions: Event.durableMap(SessionEvent.Definitions),
7
- schema: SessionEvent.Durable,
8
- };
9
- export const Durable = Event.durableMap([...SessionV1.Event.Definitions, ...SessionEvent.Definitions]);
@@ -1,45 +0,0 @@
1
- export * as EventLog from "./event-log.js";
2
- import { Schema } from "effect";
3
- /**
4
- * Replay-to-live boundary marker for a durable log read. The reader now holds
5
- * every event committed at or below this watermark; `seq` is absent when the
6
- * captured watermark is empty. Emitted once for the captured watermark.
7
- */
8
- export declare const Synced: Schema.Struct<{
9
- readonly type: Schema.Literal<"log.synced">;
10
- readonly aggregateID: Schema.String;
11
- readonly seq: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Int, "Event.Seq">>>, Schema.optionalKey<Schema.brand<Schema.Int, "Event.Seq">>, never, never>;
12
- }>;
13
- export interface Synced extends Schema.Schema.Type<typeof Synced> {
14
- }
15
- /**
16
- * A payload-free doorbell: the aggregate's log advanced to at least `seq`.
17
- * Hints are a latency optimization only; no consumer may derive correctness
18
- * from receiving one. Correctness always comes from a durable log read plus
19
- * the consumer's own checkpoint.
20
- */
21
- export declare const Hint: Schema.Struct<{
22
- readonly type: Schema.Literal<"log.hint">;
23
- readonly aggregateID: Schema.String;
24
- readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
25
- }>;
26
- export interface Hint extends Schema.Schema.Type<typeof Hint> {
27
- }
28
- /**
29
- * Hints may have been lost. Treat every aggregate as potentially dirty and
30
- * recover via bounded sweep plus durable log reads. Also emitted first on
31
- * every (re)subscribe, since hints during disconnection were never buffered.
32
- */
33
- export declare const SweepRequired: Schema.Struct<{
34
- readonly type: Schema.Literal<"log.sweep_required">;
35
- }>;
36
- export interface SweepRequired extends Schema.Schema.Type<typeof SweepRequired> {
37
- }
38
- export declare const Change: Schema.Union<readonly [Schema.Struct<{
39
- readonly type: Schema.Literal<"log.hint">;
40
- readonly aggregateID: Schema.String;
41
- readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
42
- }>, Schema.Struct<{
43
- readonly type: Schema.Literal<"log.sweep_required">;
44
- }>]>;
45
- export type Change = typeof Change.Type;
package/dist/event-log.js DELETED
@@ -1,43 +0,0 @@
1
- export * as EventLog from "./event-log.js";
2
- import { Schema } from "effect";
3
- import { Event } from "./event.js";
4
- import { optional } from "./schema.js";
5
- /**
6
- * Replay-to-live boundary marker for a durable log read. The reader now holds
7
- * every event committed at or below this watermark; `seq` is absent when the
8
- * captured watermark is empty. Emitted once for the captured watermark.
9
- */
10
- export const Synced = Schema.Struct({
11
- type: Schema.Literal("log.synced"),
12
- aggregateID: Schema.String,
13
- seq: optional(Event.Seq),
14
- }).annotate({
15
- identifier: "EventLog.Synced",
16
- description: "Marker emitted once when a log read reaches its captured watermark. The reader holds every event committed at or below seq.",
17
- });
18
- /**
19
- * A payload-free doorbell: the aggregate's log advanced to at least `seq`.
20
- * Hints are a latency optimization only; no consumer may derive correctness
21
- * from receiving one. Correctness always comes from a durable log read plus
22
- * the consumer's own checkpoint.
23
- */
24
- export const Hint = Schema.Struct({
25
- type: Schema.Literal("log.hint"),
26
- aggregateID: Schema.String,
27
- seq: Event.Seq,
28
- }).annotate({
29
- identifier: "EventLog.Hint",
30
- description: "Payload-free change hint: the aggregate's durable log advanced to at least seq. Hints coalesce under backpressure (latest per aggregate) and are never a delivery guarantee.",
31
- });
32
- /**
33
- * Hints may have been lost. Treat every aggregate as potentially dirty and
34
- * recover via bounded sweep plus durable log reads. Also emitted first on
35
- * every (re)subscribe, since hints during disconnection were never buffered.
36
- */
37
- export const SweepRequired = Schema.Struct({
38
- type: Schema.Literal("log.sweep_required"),
39
- }).annotate({
40
- identifier: "EventLog.SweepRequired",
41
- description: "Hints may have been lost; treat every aggregate as potentially dirty and recover via bounded sweep plus durable log reads. Emitted first on every (re)subscribe.",
42
- });
43
- export const Change = Schema.Union([Hint, SweepRequired]).annotate({ identifier: "EventLog.Change" });