@nyte-ai/schema 0.0.23 → 0.0.25-beta.1

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/THIRD-PARTY-NOTICES.md +2 -38
  2. package/dist/chunks/{browser-xk4psyrx.js → browser-40skw1kj.js} +1 -1
  3. package/dist/chunks/{browser-fnanbp6m.js → browser-5w8ywd56.js} +5 -4
  4. package/dist/chunks/{browser-0chm3654.js → browser-82qzgxz4.js} +13 -2
  5. package/dist/chunks/{browser-qncc807c.js → browser-b1pzvhs6.js} +1 -1
  6. package/dist/chunks/{browser-h5k4hqfq.js → browser-b1zjf2es.js} +1 -1
  7. package/dist/chunks/{browser-ay8k1s1m.js → browser-fw8cf4fc.js} +2 -2
  8. package/dist/chunks/{browser-fe66aj8v.js → browser-kmkhr82d.js} +27 -9
  9. package/dist/chunks/{browser-s2xe7c21.js → browser-pk5dmvrr.js} +3 -3
  10. package/dist/chunks/{browser-etfrcxhb.js → browser-pvrs6rs5.js} +3 -3
  11. package/dist/chunks/{browser-xensz05x.js → browser-t7t9fc1r.js} +1 -1
  12. package/dist/chunks/{browser-gzn951k8.js → browser-ts4gc07c.js} +39 -4
  13. package/dist/chunks/{browser-hq5q56sf.js → browser-wqkhghw2.js} +15 -7
  14. package/dist/src/connection.js +4 -4
  15. package/dist/src/events.d.ts +108 -108
  16. package/dist/src/events.js +3 -3
  17. package/dist/src/heads.d.ts +20 -0
  18. package/dist/src/heads.js +8 -2
  19. package/dist/src/hooks.js +2 -2
  20. package/dist/src/ids.d.ts +1 -2
  21. package/dist/src/index.js +20 -12
  22. package/dist/src/mcp.d.ts +8 -8
  23. package/dist/src/messages.d.ts +8 -0
  24. package/dist/src/messages.js +4 -2
  25. package/dist/src/parts.d.ts +40 -40
  26. package/dist/src/runs.d.ts +12 -12
  27. package/dist/src/sessions.d.ts +8 -8
  28. package/dist/src/sessions.js +2 -2
  29. package/dist/src/store.d.ts +52 -52
  30. package/dist/src/store.js +4 -4
  31. package/dist/src/views.d.ts +502 -170
  32. package/dist/src/views.js +3 -3
  33. package/dist/src/wire/operations/browser.d.ts +119 -119
  34. package/dist/src/wire/operations/fields.d.ts +6 -6
  35. package/dist/src/wire/operations/files.d.ts +52 -52
  36. package/dist/src/wire/operations/git.d.ts +121 -121
  37. package/dist/src/wire/operations/github.d.ts +34 -34
  38. package/dist/src/wire/operations/host.d.ts +299 -298
  39. package/dist/src/wire/operations/host.js +6 -6
  40. package/dist/src/wire/operations/index.d.ts +4771 -4362
  41. package/dist/src/wire/operations/index.js +9 -9
  42. package/dist/src/wire/operations/session.d.ts +2511 -2103
  43. package/dist/src/wire/operations/session.js +5 -5
  44. package/dist/src/wire/operations/workspace.d.ts +244 -244
  45. package/dist/src/wire/operations/workspace.js +3 -3
  46. package/package.json +2 -3
@@ -45,39 +45,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
45
  SOFTWARE.
46
46
  ```
47
47
 
48
- ## pi-claude-code (`earendil-works/pi-claude-code`)
49
-
50
- - Repository: https://github.com/earendil-works/pi-claude-code
51
- - What: the Claude Code CLI provider, single-turn relay, transcript replay,
52
- process reuse, and billing guards in `packages/plugin/examples/claude-code`
53
- are adapted from commit `70abb65186592ca788b29b3db22c3160d629c41f`.
54
-
55
- License: MIT, with the following notice:
56
-
57
- ```text
58
- MIT License
59
-
60
- Copyright (c) 2026 Armin Ronacher
61
-
62
- Permission is hereby granted, free of charge, to any person obtaining a copy
63
- of this software and associated documentation files (the "Software"), to deal
64
- in the Software without restriction, including without limitation the rights
65
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
66
- copies of the Software, and to permit persons to whom the Software is
67
- furnished to do so, subject to the following conditions:
68
-
69
- The above copyright notice and this permission notice shall be included in all
70
- copies or substantial portions of the Software.
71
-
72
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
75
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
76
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
77
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78
- SOFTWARE.
79
- ```
80
-
81
48
  ## pi (`earendil-works/pi`)
82
49
 
83
50
  - Repository: https://github.com/earendil-works/pi
@@ -345,8 +312,8 @@ Copyright 2025 OpenAI
345
312
  front of the queue (`packages/tui/src/model/interactions.ts`) is its
346
313
  `onEmptySubmit`. The rename
347
314
  plugin's context construction, prompt, model fallback, and output cleanup
348
- (`packages/plugin/examples/rename.ts`) port OpenCode v2. The web-search
349
- plugin set (`packages/plugin/examples/web-search/`) ports its Exa, Firecrawl,
315
+ (`packages/plugin/src/rename.ts`) port OpenCode v2. The web-search
316
+ plugin set (`packages/plugin/src/web-search.ts`) ports its Exa, Firecrawl,
350
317
  Parallel, and Tavily adapters, its stateless MCP `tools/call` transport and
351
318
  response bounds, its result and error vocabulary, and its arrangement of one
352
319
  plugin per provider from OpenCode v2.
@@ -429,9 +396,6 @@ SOFTWARE.
429
396
  bypass, and connection tuning in `packages/host/src/sqlite*.ts` are adapted
430
397
  from `bf8ffe81a63c82d3de5fbaa9991fd5f30034a452`.
431
398
  - Homepage: https://t3.codes
432
- - What: the demo desktop app (`packages/demo/desktop`) follows T3 Code's
433
- control-surface shape — agents in a sidebar, a conversation workspace, a
434
- shared composer, and settings behind a dialog.
435
399
 
436
400
  License: MIT, with the following notice:
437
401
 
@@ -13,7 +13,7 @@ import {
13
13
  } from "./browser-4et7qtz3.js";
14
14
  import {
15
15
  DurableEventType2
16
- } from "./browser-ay8k1s1m.js";
16
+ } from "./browser-fw8cf4fc.js";
17
17
 
18
18
  // src/store.ts
19
19
  import { Type } from "typebox";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./browser-ynj8v9ad.js";
19
19
  import {
20
20
  UserContentType2
21
- } from "./browser-hq5q56sf.js";
21
+ } from "./browser-wqkhghw2.js";
22
22
  import {
23
23
  AuthorityType2,
24
24
  PrincipalViewWireType2,
@@ -34,11 +34,11 @@ import {
34
34
  } from "./browser-bg1esaw0.js";
35
35
  import {
36
36
  SessionInfoType2
37
- } from "./browser-xensz05x.js";
37
+ } from "./browser-t7t9fc1r.js";
38
38
  import {
39
39
  HostViewWireSchema2,
40
40
  SettingOutcomeSchema2
41
- } from "./browser-s2xe7c21.js";
41
+ } from "./browser-pk5dmvrr.js";
42
42
  import {
43
43
  PromptOverrideType2
44
44
  } from "./browser-j629a6wa.js";
@@ -48,7 +48,7 @@ import {
48
48
  } from "./browser-0byq2fja.js";
49
49
  import {
50
50
  SessionsFrameType2
51
- } from "./browser-fe66aj8v.js";
51
+ } from "./browser-kmkhr82d.js";
52
52
  import {
53
53
  wireSchema2,
54
54
  wireObject2,
@@ -232,6 +232,7 @@ var HOST_OPERATIONS2 = {
232
232
  configuration: Type.Optional(Type.Union([ConfigurationType2, ConfigurationPatchType2])),
233
233
  prompt: Type.Optional(PromptOverrideType2),
234
234
  isolation: Type.Optional(Type.Literal("worktree")),
235
+ contextFiles: Type.Optional(Type.Literal(false)),
235
236
  content: UserContentType2
236
237
  }),
237
238
  output: wireObject2({
@@ -25,7 +25,7 @@ import {
25
25
  UserContentType2,
26
26
  PositionType2,
27
27
  MessageSourceType2
28
- } from "./browser-hq5q56sf.js";
28
+ } from "./browser-wqkhghw2.js";
29
29
 
30
30
  // src/heads.ts
31
31
  import { Type } from "typebox";
@@ -83,6 +83,17 @@ var MoveOutcomeType2 = Type.Union([
83
83
  Type.Object({ kind: Type.Literal("missing-target") }),
84
84
  Type.Object({ kind: Type.Literal("summary-failed"), reason: Type.String() })
85
85
  ]);
86
+ var HoldLeaseType2 = Type.Union([
87
+ Type.Object({ kind: Type.Literal("held") }),
88
+ Type.Object({ kind: Type.Literal("sent") }),
89
+ Type.Object({ kind: Type.Literal("missing") })
90
+ ]);
91
+ var ReviseOptionsType2 = Type.Object({ delivery: Type.Optional(DeliveryType2) });
92
+ var ReviseOutcomeType2 = Type.Union([
93
+ Type.Object({ kind: Type.Literal("revised") }),
94
+ Type.Object({ kind: Type.Literal("sent") }),
95
+ Type.Object({ kind: Type.Literal("missing") })
96
+ ]);
86
97
  var MoveOptionsType2 = Type.Object({
87
98
  running: Type.Optional(Type.Enum(["refuse", "stop"])),
88
99
  abandoned: Type.Optional(ABANDONED),
@@ -122,4 +133,4 @@ var MoveOptionsSchema2 = standard2(MoveOptionsType2);
122
133
  var SendOptionsSchema2 = standard2(withJson2(SendOptionsType2));
123
134
  var ConfigureOutcomeSchema2 = standard2(withJson2(ConfigureOutcomeType2));
124
135
 
125
- export { TreeNodeType2, TreeViewType2, CreateHeadOutcomeType2, MergeOutcomeType2, RemoveHeadOutcomeType2, MoveOutcomeType2, MoveOptionsType2, SendOptionsType2, ConfigureOutcomeType2, TreeNodeSchema2, TreeViewSchema2, CreateHeadOutcomeSchema2, MergeOutcomeSchema2, RemoveHeadOutcomeSchema2, MoveOutcomeSchema2, MoveOptionsSchema2, SendOptionsSchema2, ConfigureOutcomeSchema2 };
136
+ export { TreeNodeType2, TreeViewType2, CreateHeadOutcomeType2, MergeOutcomeType2, RemoveHeadOutcomeType2, MoveOutcomeType2, HoldLeaseType2, ReviseOptionsType2, ReviseOutcomeType2, MoveOptionsType2, SendOptionsType2, ConfigureOutcomeType2, TreeNodeSchema2, TreeViewSchema2, CreateHeadOutcomeSchema2, MergeOutcomeSchema2, RemoveHeadOutcomeSchema2, MoveOutcomeSchema2, MoveOptionsSchema2, SendOptionsSchema2, ConfigureOutcomeSchema2 };
@@ -23,7 +23,7 @@ import {
23
23
  DeliveryType2,
24
24
  UserContentType2,
25
25
  MessageSourceType2
26
- } from "./browser-hq5q56sf.js";
26
+ } from "./browser-wqkhghw2.js";
27
27
  import {
28
28
  ToolClassType2
29
29
  } from "./browser-h86zs54a.js";
@@ -35,7 +35,7 @@ import {
35
35
  WorkspaceCatalogViewType2,
36
36
  CommandCompletionsSchema2,
37
37
  WorkspaceCommandOutcomeSchema2
38
- } from "./browser-xensz05x.js";
38
+ } from "./browser-t7t9fc1r.js";
39
39
  import {
40
40
  wireSchema2,
41
41
  wireObject2,
@@ -30,7 +30,7 @@ import {
30
30
  UserContentType2,
31
31
  MessageSourceType2,
32
32
  ScheduleType2
33
- } from "./browser-hq5q56sf.js";
33
+ } from "./browser-wqkhghw2.js";
34
34
  import {
35
35
  RunViewType2,
36
36
  RunEndType2,
@@ -51,7 +51,7 @@ import {
51
51
  import {
52
52
  SessionInfoType2,
53
53
  SessionCatalogViewType2
54
- } from "./browser-xensz05x.js";
54
+ } from "./browser-t7t9fc1r.js";
55
55
 
56
56
  // src/events.ts
57
57
  import { Type } from "typebox";
@@ -25,8 +25,9 @@ import {
25
25
  DeliveryType2,
26
26
  UserContentType2,
27
27
  MessageSourceType2,
28
- ScheduleType2
29
- } from "./browser-hq5q56sf.js";
28
+ ScheduleType2,
29
+ WaitingScheduleType2
30
+ } from "./browser-wqkhghw2.js";
30
31
  import {
31
32
  RunEndType2,
32
33
  WaitTargetType2,
@@ -44,20 +45,26 @@ import {
44
45
  HeadInfoType2,
45
46
  SessionInfoType2,
46
47
  SessionCatalogViewType2
47
- } from "./browser-xensz05x.js";
48
+ } from "./browser-t7t9fc1r.js";
48
49
 
49
50
  // src/views.ts
50
51
  import { Type } from "typebox";
51
52
  var CLASS_SUMMARY = Type.Object({ count: Type.Number(), paths: Type.Array(Type.String()) });
52
53
  var MESSAGE = { id: idSchema2(), turn: idSchema2(), at: Type.Number() };
53
54
  var ViewOptionsType2 = Type.Object({ tail: Type.Optional(Type.Number()) });
55
+ var UnsentStatusType = Type.Object({
56
+ kind: Type.Literal("unsent"),
57
+ attempts: Type.Number(),
58
+ retrying: nullable2(Type.Object({ at: Type.Number(), reason: Type.String() }))
59
+ });
60
+ var PendingStatusType = Type.Object({
61
+ kind: Type.Literal("pending"),
62
+ schedule: ScheduleType2,
63
+ covered: Type.Boolean()
64
+ });
54
65
  var UserStatusType2 = Type.Union([
55
- Type.Object({
56
- kind: Type.Literal("unsent"),
57
- attempts: Type.Number(),
58
- retrying: nullable2(Type.Object({ at: Type.Number(), reason: Type.String() }))
59
- }),
60
- Type.Object({ kind: Type.Literal("pending"), schedule: ScheduleType2, covered: Type.Boolean() }),
66
+ UnsentStatusType,
67
+ PendingStatusType,
61
68
  Type.Object({
62
69
  kind: Type.Literal("landed"),
63
70
  commit: idSchema2(),
@@ -78,6 +85,13 @@ var UserMessageType = Type.Object({
78
85
  ids: Type.Array(idSchema2())
79
86
  })
80
87
  });
88
+ var QueuedMessageType = Type.Object({
89
+ ...UserMessageType.properties,
90
+ status: Type.Union([
91
+ UnsentStatusType,
92
+ Type.Object({ ...PendingStatusType.properties, schedule: WaitingScheduleType2 })
93
+ ])
94
+ });
81
95
  var MessageType2 = Type.Union([
82
96
  UserMessageType,
83
97
  Type.Object({
@@ -124,11 +138,13 @@ var SessionViewType2 = Type.Object({
124
138
  seq: SeqType2,
125
139
  activation: ActivationType2,
126
140
  messages: Type.Array(MessageType2),
141
+ queue: Type.Array(QueuedMessageType),
127
142
  leadingPrompt: nullable2(UserMessageType),
128
143
  parts: Type.Array(PartViewType2),
129
144
  turns: Type.Array(TurnInfoType2),
130
145
  usage: UsageType2,
131
146
  execution: ExecutionType2,
147
+ reportsHeld: Type.Boolean(),
132
148
  background: Type.Array(BackgroundItemType2),
133
149
  configuration: Type.Object({
134
150
  selected: nullable2(ConfigurationType2),
@@ -161,12 +177,14 @@ var ViewFrameType2 = Type.Union([
161
177
  revision: Type.Optional(VIEW.revision),
162
178
  activation: Type.Optional(VIEW.activation),
163
179
  messages: Type.Optional(viewSplice(MessageType2)),
180
+ queue: Type.Optional(viewSplice(QueuedMessageType)),
164
181
  appends: Type.Optional(Type.Array(ViewAppendType2)),
165
182
  leadingPrompt: Type.Optional(VIEW.leadingPrompt),
166
183
  parts: Type.Optional(viewSplice(PartViewType2)),
167
184
  turns: Type.Optional(viewSplice(TurnInfoType2)),
168
185
  usage: Type.Optional(VIEW.usage),
169
186
  execution: Type.Optional(VIEW.execution),
187
+ reportsHeld: Type.Optional(VIEW.reportsHeld),
170
188
  background: Type.Optional(viewSplice(BackgroundItemType2)),
171
189
  configuration: Type.Optional(VIEW.configuration),
172
190
  context: Type.Optional(VIEW.context),
@@ -15,16 +15,16 @@ import {
15
15
  } from "./browser-sgwxbek9.js";
16
16
  import {
17
17
  UserContentType2
18
- } from "./browser-hq5q56sf.js";
18
+ } from "./browser-wqkhghw2.js";
19
19
  import {
20
20
  SendOptionsType2
21
- } from "./browser-0chm3654.js";
21
+ } from "./browser-82qzgxz4.js";
22
22
  import {
23
23
  AuthorityType2
24
24
  } from "./browser-6e1madxa.js";
25
25
  import {
26
26
  SettingInfoType2
27
- } from "./browser-xensz05x.js";
27
+ } from "./browser-t7t9fc1r.js";
28
28
 
29
29
  // src/connection.ts
30
30
  import { Type } from "typebox";
@@ -13,13 +13,13 @@ import {
13
13
  import {
14
14
  HOST_OPERATIONS2,
15
15
  MAINTENANCE_OPERATIONS2
16
- } from "./browser-fnanbp6m.js";
16
+ } from "./browser-5w8ywd56.js";
17
17
  import {
18
18
  SESSION_OPERATIONS2
19
- } from "./browser-gzn951k8.js";
19
+ } from "./browser-ts4gc07c.js";
20
20
  import {
21
21
  WORKSPACE_OPERATIONS2
22
- } from "./browser-h5k4hqfq.js";
22
+ } from "./browser-b1zjf2es.js";
23
23
 
24
24
  // src/wire/operations/index.ts
25
25
  var OPERATIONS2 = {
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  UserContentType2,
14
14
  PositionType2
15
- } from "./browser-hq5q56sf.js";
15
+ } from "./browser-wqkhghw2.js";
16
16
  import {
17
17
  nullable2
18
18
  } from "./browser-4et7qtz3.js";
@@ -17,9 +17,12 @@ import {
17
17
  import {
18
18
  UserContentType2,
19
19
  PositionType2
20
- } from "./browser-hq5q56sf.js";
20
+ } from "./browser-wqkhghw2.js";
21
21
  import {
22
22
  MoveOutcomeType2,
23
+ HoldLeaseType2,
24
+ ReviseOptionsType2,
25
+ ReviseOutcomeType2,
23
26
  MoveOptionsType2,
24
27
  SendOptionsType2,
25
28
  TreeViewSchema2,
@@ -27,7 +30,7 @@ import {
27
30
  MergeOutcomeSchema2,
28
31
  RemoveHeadOutcomeSchema2,
29
32
  ConfigureOutcomeSchema2
30
- } from "./browser-0chm3654.js";
33
+ } from "./browser-82qzgxz4.js";
31
34
  import {
32
35
  RunEndType2,
33
36
  stopOutcomeSchema2,
@@ -35,6 +38,7 @@ import {
35
38
  } from "./browser-8ancsy4m.js";
36
39
  import {
37
40
  PlacementType2,
41
+ PartViewType2,
38
42
  actOutcomeSchema2
39
43
  } from "./browser-t5xqtqzh.js";
40
44
  import {
@@ -43,14 +47,14 @@ import {
43
47
  CommandCompletionsSchema2,
44
48
  UpdateOutcomeSchema2,
45
49
  RemoveSessionOutcomeSchema2
46
- } from "./browser-xensz05x.js";
50
+ } from "./browser-t7t9fc1r.js";
47
51
  import {
48
52
  ViewOptionsType2,
49
53
  UserStatusType2,
50
54
  HistoryPageType2,
51
55
  SessionViewSchema2,
52
56
  ViewFrameSchema2
53
- } from "./browser-fe66aj8v.js";
57
+ } from "./browser-kmkhr82d.js";
54
58
  import {
55
59
  wireSchema2,
56
60
  wireObject2,
@@ -68,6 +72,7 @@ var [, ...MOVE_FAILURES] = MoveOutcomeType2.anyOf;
68
72
  var HEAD = { ...SESSION2, head: idSchema2() };
69
73
  var PART = { ...SESSION2, part: idSchema2() };
70
74
  var NAMED_HEAD = { ...SESSION2, name: idSchema2() };
75
+ var ON_MESSAGE = wireObject2({ ...HEAD, message: idSchema2() });
71
76
  var ON_RUN = wireObject2({ ...SESSION2, run: idSchema2() });
72
77
  var ON_RECEIPT = wireObject2({
73
78
  session: nullable2(idSchema2()),
@@ -157,6 +162,12 @@ var SESSION_OPERATIONS2 = {
157
162
  input: wireObject2({ ...HEAD, options: Type.Optional(ViewOptionsType2) }),
158
163
  output: ViewFrameSchema2
159
164
  },
165
+ "head.see": {
166
+ ...PARTICIPANT,
167
+ kind: "command",
168
+ input: wireObject2({ ...HEAD, commit: idSchema2() }),
169
+ output: NOTHING2
170
+ },
160
171
  "head.history": {
161
172
  ...PARTICIPANT,
162
173
  kind: "query",
@@ -193,6 +204,24 @@ var SESSION_OPERATIONS2 = {
193
204
  Type.Object({ kind: Type.Literal("nothing-to-compact") })
194
205
  ]))
195
206
  },
207
+ "head.revise": {
208
+ ...PARTICIPANT,
209
+ kind: "command",
210
+ input: wireObject2({
211
+ ...HEAD,
212
+ message: idSchema2(),
213
+ content: UserContentType2,
214
+ options: Type.Optional(ReviseOptionsType2)
215
+ }),
216
+ output: wireSchema2(ReviseOutcomeType2)
217
+ },
218
+ "head.hold": {
219
+ ...PARTICIPANT,
220
+ kind: "command",
221
+ input: ON_MESSAGE,
222
+ output: wireSchema2(HoldLeaseType2)
223
+ },
224
+ "head.release": { ...PARTICIPANT, kind: "command", input: ON_MESSAGE, output: NOTHING2 },
196
225
  "heads.create": {
197
226
  ...PARTICIPANT,
198
227
  kind: "command",
@@ -295,6 +324,12 @@ var SESSION_OPERATIONS2 = {
295
324
  input: ON_PART,
296
325
  output: wireSchema2(nullable2(Type.Object({ action: Type.String(), input: JsonType2 })))
297
326
  },
327
+ "part.watch": {
328
+ ...PARTICIPANT,
329
+ kind: "watch",
330
+ input: ON_PART,
331
+ output: wireSchema2(nullable2(PartViewType2))
332
+ },
298
333
  "part.close": { ...PARTICIPANT, kind: "command", input: ON_PART, output: NOTHING2 }
299
334
  };
300
335
 
@@ -61,14 +61,22 @@ var MessageSourceType2 = Type.Union([
61
61
  command: Type.Optional(Type.String())
62
62
  })
63
63
  ]);
64
+ var NextTurnScheduleType = Type.Object({
65
+ kind: Type.Literal("next-turn"),
66
+ reason: Type.Enum(["requested", "idle", "run-ended", "configuration"])
67
+ });
68
+ var AttachedScheduleType = Type.Object({ kind: Type.Literal("attached") });
69
+ var DecidingScheduleType = Type.Object({ kind: Type.Literal("deciding") });
64
70
  var ScheduleType2 = Type.Union([
65
71
  Type.Object({ kind: Type.Literal("joined"), run: idSchema2() }),
66
- Type.Object({
67
- kind: Type.Literal("next-turn"),
68
- reason: Type.Enum(["requested", "idle", "run-ended", "configuration"])
69
- }),
70
- Type.Object({ kind: Type.Literal("attached") }),
71
- Type.Object({ kind: Type.Literal("deciding") })
72
+ NextTurnScheduleType,
73
+ AttachedScheduleType,
74
+ DecidingScheduleType
75
+ ]);
76
+ var WaitingScheduleType2 = Type.Union([
77
+ NextTurnScheduleType,
78
+ AttachedScheduleType,
79
+ DecidingScheduleType
72
80
  ]);
73
81
  var DeliverySchema2 = standard2(DeliveryType2);
74
82
  var UserContentSchema2 = standard2(UserContentType2);
@@ -76,4 +84,4 @@ var PositionSchema2 = standard2(PositionType2);
76
84
  var MessageSourceSchema2 = standard2(MessageSourceType2);
77
85
  var ScheduleSchema2 = standard2(ScheduleType2);
78
86
 
79
- export { DeliveryType2, ExcerptSourceType2, UserContentType2, PositionType2, MessageSourceType2, ScheduleType2, DeliverySchema2, UserContentSchema2, PositionSchema2, MessageSourceSchema2, ScheduleSchema2 };
87
+ export { DeliveryType2, ExcerptSourceType2, UserContentType2, PositionType2, MessageSourceType2, ScheduleType2, WaitingScheduleType2, DeliverySchema2, UserContentSchema2, PositionSchema2, MessageSourceSchema2, ScheduleSchema2 };
@@ -7,13 +7,13 @@ import {
7
7
  CredentialSourceWireSchema2,
8
8
  JournalEntrySchema2,
9
9
  SettingOutcomeSchema2
10
- } from "../chunks/browser-s2xe7c21.js";
11
- import"../chunks/browser-0chm3654.js";
10
+ } from "../chunks/browser-pk5dmvrr.js";
11
+ import"../chunks/browser-82qzgxz4.js";
12
12
  import"../chunks/browser-6e1madxa.js";
13
- import"../chunks/browser-xensz05x.js";
13
+ import"../chunks/browser-t7t9fc1r.js";
14
14
  import"../chunks/browser-bg1esaw0.js";
15
15
  import"../chunks/browser-8ancsy4m.js";
16
- import"../chunks/browser-hq5q56sf.js";
16
+ import"../chunks/browser-wqkhghw2.js";
17
17
  import"../chunks/browser-40enyw9r.js";
18
18
  import"../chunks/browser-m0wzr0g8.js";
19
19
  import"../chunks/browser-ynj8v9ad.js";