@nyte-ai/schema 0.0.18 → 0.0.21

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 (47) hide show
  1. package/THIRD-PARTY-NOTICES.md +66 -0
  2. package/dist/chunks/{browser-mnejgne0.js → browser-0chm3654.js} +2 -2
  3. package/dist/chunks/{browser-8t9anqfc.js → browser-0sbkxgkx.js} +4 -2
  4. package/dist/chunks/{browser-48g24pes.js → browser-0xr6c36r.js} +1 -1
  5. package/dist/chunks/{browser-s7907azt.js → browser-8ancsy4m.js} +2 -2
  6. package/dist/chunks/{browser-r00v3vwv.js → browser-ay8k1s1m.js} +10 -8
  7. package/dist/chunks/{browser-pdx38ng3.js → browser-g19fcj47.js} +6 -6
  8. package/dist/chunks/{browser-5pvw8svn.js → browser-h5k4hqfq.js} +6 -5
  9. package/dist/chunks/{browser-gchr2880.js → browser-p691tcac.js} +5 -1
  10. package/dist/chunks/{browser-5n1dh580.js → browser-qncc807c.js} +2 -2
  11. package/dist/chunks/{browser-bxz3z1v6.js → browser-rhgxg3wm.js} +22 -18
  12. package/dist/chunks/{browser-e5xgzd28.js → browser-s2xe7c21.js} +2 -2
  13. package/dist/chunks/{browser-vkh2tpmf.js → browser-sgst60b0.js} +14 -4
  14. package/dist/chunks/{browser-ad9yebg7.js → browser-t5xqtqzh.js} +9 -7
  15. package/dist/chunks/{browser-7gjnxy9m.js → browser-xensz05x.js} +2 -2
  16. package/dist/chunks/{browser-fth801bw.js → browser-xk4psyrx.js} +2 -2
  17. package/dist/chunks/{browser-0ebnhqs2.js → browser-y97347bz.js} +4 -4
  18. package/dist/chunks/{browser-vapnjwp3.js → browser-ynj8v9ad.js} +1 -1
  19. package/dist/src/configuration.js +2 -2
  20. package/dist/src/connection.js +6 -6
  21. package/dist/src/events.d.ts +4 -0
  22. package/dist/src/events.js +6 -6
  23. package/dist/src/git.d.ts +9 -0
  24. package/dist/src/git.js +3 -1
  25. package/dist/src/heads.js +3 -3
  26. package/dist/src/hooks.js +3 -3
  27. package/dist/src/index.js +23 -17
  28. package/dist/src/models.d.ts +5 -2
  29. package/dist/src/models.js +3 -1
  30. package/dist/src/parts.d.ts +7 -0
  31. package/dist/src/parts.js +6 -4
  32. package/dist/src/runs.js +3 -3
  33. package/dist/src/sessions.js +4 -4
  34. package/dist/src/store.d.ts +3 -3
  35. package/dist/src/store.js +7 -7
  36. package/dist/src/views.d.ts +371 -3
  37. package/dist/src/views.js +6 -6
  38. package/dist/src/wire/operations/git.js +2 -2
  39. package/dist/src/wire/operations/host.d.ts +20 -0
  40. package/dist/src/wire/operations/host.js +7 -7
  41. package/dist/src/wire/operations/index.d.ts +411 -11
  42. package/dist/src/wire/operations/index.js +14 -14
  43. package/dist/src/wire/operations/session.d.ts +371 -3
  44. package/dist/src/wire/operations/session.js +8 -8
  45. package/dist/src/wire/operations/workspace.d.ts +20 -8
  46. package/dist/src/wire/operations/workspace.js +6 -6
  47. package/package.json +2 -2
@@ -7,17 +7,17 @@ import {
7
7
  DurableEventSchema2,
8
8
  SessionEventSchema2,
9
9
  PatchEventSchema2
10
- } from "../chunks/browser-r00v3vwv.js";
11
- import"../chunks/browser-ad9yebg7.js";
10
+ } from "../chunks/browser-ay8k1s1m.js";
11
+ import"../chunks/browser-t5xqtqzh.js";
12
12
  import"../chunks/browser-h86zs54a.js";
13
- import"../chunks/browser-7gjnxy9m.js";
13
+ import"../chunks/browser-xensz05x.js";
14
14
  import"../chunks/browser-bg1esaw0.js";
15
- import"../chunks/browser-s7907azt.js";
15
+ import"../chunks/browser-8ancsy4m.js";
16
16
  import"../chunks/browser-hq5q56sf.js";
17
17
  import"../chunks/browser-40enyw9r.js";
18
18
  import"../chunks/browser-m0wzr0g8.js";
19
- import"../chunks/browser-vapnjwp3.js";
20
- import"../chunks/browser-8t9anqfc.js";
19
+ import"../chunks/browser-ynj8v9ad.js";
20
+ import"../chunks/browser-0sbkxgkx.js";
21
21
  import"../chunks/browser-sgwxbek9.js";
22
22
  import"../chunks/browser-1sfp0bcx.js";
23
23
  import"../chunks/browser-ebr6k189.js";
package/dist/src/git.d.ts CHANGED
@@ -111,6 +111,15 @@ export declare const GitScopeType: Type.TUnion<[Type.TObject<{
111
111
  base: Type.TString;
112
112
  }>]>;
113
113
  export type GitScope = Decoded<typeof GitScopeType>;
114
+ /** What a workspace diff covers: one run's changes, or a session's since its first run started. */
115
+ export declare const ChangeSourceType: Type.TUnion<[Type.TObject<{
116
+ kind: Type.TLiteral<"run">;
117
+ run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
118
+ }>, Type.TObject<{
119
+ kind: Type.TLiteral<"session">;
120
+ session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
121
+ }>]>;
122
+ export type ChangeSource = Decoded<typeof ChangeSourceType>;
114
123
  export declare const DiffOptionsType: Type.TObject<{
115
124
  ignoreWhitespace: Type.TOptional<Type.TBoolean>;
116
125
  }>;
package/dist/src/git.js CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  GitFileSidesType2,
7
7
  BlameViewType2,
8
8
  GitScopeType2,
9
+ ChangeSourceType2,
9
10
  DiffOptionsType2,
10
11
  LineStatType2,
11
12
  ChangeSetType2,
@@ -27,7 +28,7 @@ import {
27
28
  PatchSetWireSchema2,
28
29
  GitWriteSchema2,
29
30
  GitOutcomeSchema2
30
- } from "../chunks/browser-gchr2880.js";
31
+ } from "../chunks/browser-p691tcac.js";
31
32
  import"../chunks/browser-ebr6k189.js";
32
33
  import"../chunks/browser-4et7qtz3.js";
33
34
  import"../chunks/browser-ypez6s7v.js";
@@ -37,6 +38,7 @@ export {
37
38
  BlameViewType2 as BlameViewType,
38
39
  ChangeSetSchema2 as ChangeSetSchema,
39
40
  ChangeSetType2 as ChangeSetType,
41
+ ChangeSourceType2 as ChangeSourceType,
40
42
  DiffOptionsSchema2 as DiffOptionsSchema,
41
43
  DiffOptionsType2 as DiffOptionsType,
42
44
  GitCommitViewSchema2 as GitCommitViewSchema,
package/dist/src/heads.js CHANGED
@@ -17,10 +17,10 @@ import {
17
17
  MoveOptionsSchema2,
18
18
  SendOptionsSchema2,
19
19
  ConfigureOutcomeSchema2
20
- } from "../chunks/browser-mnejgne0.js";
20
+ } from "../chunks/browser-0chm3654.js";
21
21
  import"../chunks/browser-hq5q56sf.js";
22
- import"../chunks/browser-vapnjwp3.js";
23
- import"../chunks/browser-8t9anqfc.js";
22
+ import"../chunks/browser-ynj8v9ad.js";
23
+ import"../chunks/browser-0sbkxgkx.js";
24
24
  import"../chunks/browser-sgwxbek9.js";
25
25
  import"../chunks/browser-1sfp0bcx.js";
26
26
  import"../chunks/browser-4et7qtz3.js";
package/dist/src/hooks.js CHANGED
@@ -7,11 +7,11 @@ import {
7
7
  ModelRequestSchema2,
8
8
  ToolCallSchema2,
9
9
  SubmitDraftSchema2
10
- } from "../chunks/browser-5n1dh580.js";
10
+ } from "../chunks/browser-qncc807c.js";
11
11
  import"../chunks/browser-h86zs54a.js";
12
12
  import"../chunks/browser-hq5q56sf.js";
13
- import"../chunks/browser-vapnjwp3.js";
14
- import"../chunks/browser-8t9anqfc.js";
13
+ import"../chunks/browser-ynj8v9ad.js";
14
+ import"../chunks/browser-0sbkxgkx.js";
15
15
  import"../chunks/browser-sgwxbek9.js";
16
16
  import"../chunks/browser-4et7qtz3.js";
17
17
  import"../chunks/browser-ypez6s7v.js";
package/dist/src/index.js CHANGED
@@ -68,6 +68,7 @@ import {
68
68
  ProviderUsageType2,
69
69
  ModelCapabilitiesType2,
70
70
  ModelInfoType2,
71
+ ModelListingType2,
71
72
  ModelCatalogViewType2,
72
73
  ModelRefSchema2,
73
74
  ThinkingSchema2,
@@ -78,13 +79,13 @@ import {
78
79
  ProviderUsageSchema2,
79
80
  ModelInfoSchema2,
80
81
  ModelCatalogViewSchema2
81
- } from "../chunks/browser-8t9anqfc.js";
82
+ } from "../chunks/browser-0sbkxgkx.js";
82
83
  import {
83
84
  ConfigurationPatchType2,
84
85
  ConfigurationType2,
85
86
  ConfigurationPatchSchema2,
86
87
  ConfigurationSchema2
87
- } from "../chunks/browser-vapnjwp3.js";
88
+ } from "../chunks/browser-ynj8v9ad.js";
88
89
  import {
89
90
  ValidationIssueType2,
90
91
  FailureClassType2,
@@ -127,7 +128,7 @@ import {
127
128
  MoveOptionsSchema2,
128
129
  SendOptionsSchema2,
129
130
  ConfigureOutcomeSchema2
130
- } from "../chunks/browser-mnejgne0.js";
131
+ } from "../chunks/browser-0chm3654.js";
131
132
  import {
132
133
  AuthorityType2,
133
134
  ExecutionCoverageType2,
@@ -180,7 +181,7 @@ import {
180
181
  ExecutionSchema2,
181
182
  BackgroundItemSchema2,
182
183
  WaitOutcomeSchema2
183
- } from "../chunks/browser-s7907azt.js";
184
+ } from "../chunks/browser-8ancsy4m.js";
184
185
  import {
185
186
  AvailabilityType2,
186
187
  WorkspaceTargetType2,
@@ -228,7 +229,7 @@ import {
228
229
  WorkspaceCommandOutcomeSchema2,
229
230
  UpdateOutcomeSchema2,
230
231
  RemoveSessionOutcomeSchema2
231
- } from "../chunks/browser-7gjnxy9m.js";
232
+ } from "../chunks/browser-xensz05x.js";
232
233
  import {
233
234
  HostViewWireType2,
234
235
  CredentialSourceWireType2,
@@ -238,7 +239,7 @@ import {
238
239
  CredentialSourceWireSchema2,
239
240
  JournalEntrySchema2,
240
241
  SettingOutcomeSchema2
241
- } from "../chunks/browser-e5xgzd28.js";
242
+ } from "../chunks/browser-s2xe7c21.js";
242
243
  import"../chunks/browser-k20f6cvv.js";
243
244
  import {
244
245
  FileStatusType2,
@@ -278,13 +279,14 @@ import {
278
279
  PlacementType2,
279
280
  PartStatusType2,
280
281
  PartViewType2,
282
+ ToolChangesType2,
281
283
  ToolPartStateType2,
282
284
  actOutcomeSchema2,
283
285
  PlacementSchema2,
284
286
  PartStatusSchema2,
285
287
  PartViewSchema2,
286
288
  ToolPartStateSchema2
287
- } from "../chunks/browser-ad9yebg7.js";
289
+ } from "../chunks/browser-t5xqtqzh.js";
288
290
  import {
289
291
  CommitBodyType2,
290
292
  DurableEventType2,
@@ -294,7 +296,7 @@ import {
294
296
  DurableEventSchema2,
295
297
  SessionEventSchema2,
296
298
  PatchEventSchema2
297
- } from "../chunks/browser-r00v3vwv.js";
299
+ } from "../chunks/browser-ay8k1s1m.js";
298
300
  import {
299
301
  GitStatusType2,
300
302
  GitCommitViewType2,
@@ -303,6 +305,7 @@ import {
303
305
  GitFileSidesType2,
304
306
  BlameViewType2,
305
307
  GitScopeType2,
308
+ ChangeSourceType2,
306
309
  DiffOptionsType2,
307
310
  LineStatType2,
308
311
  ChangeSetType2,
@@ -324,7 +327,7 @@ import {
324
327
  PatchSetWireSchema2,
325
328
  GitWriteSchema2,
326
329
  GitOutcomeSchema2
327
- } from "../chunks/browser-gchr2880.js";
330
+ } from "../chunks/browser-p691tcac.js";
328
331
  import {
329
332
  GitHubRepositoryType2,
330
333
  GitHubAccountType2,
@@ -349,7 +352,7 @@ import {
349
352
  ModelRequestSchema2,
350
353
  ToolCallSchema2,
351
354
  SubmitDraftSchema2
352
- } from "../chunks/browser-5n1dh580.js";
355
+ } from "../chunks/browser-qncc807c.js";
353
356
  import {
354
357
  McpExposureType2,
355
358
  McpScopeType2,
@@ -392,7 +395,7 @@ import {
392
395
  RefSchema2,
393
396
  RefUpdateSchema2,
394
397
  SetOutcomeSchema2
395
- } from "../chunks/browser-fth801bw.js";
398
+ } from "../chunks/browser-xk4psyrx.js";
396
399
  import {
397
400
  ViewOptionsType2,
398
401
  UserStatusType2,
@@ -409,18 +412,18 @@ import {
409
412
  SessionViewSchema2,
410
413
  HistoryPageSchema2,
411
414
  ViewFrameSchema2
412
- } from "../chunks/browser-bxz3z1v6.js";
415
+ } from "../chunks/browser-rhgxg3wm.js";
413
416
  import"../chunks/browser-r87w64mz.js";
414
417
  import"../chunks/browser-fd3accdr.js";
415
418
  import"../chunks/browser-pdv675va.js";
416
- import"../chunks/browser-48g24pes.js";
419
+ import"../chunks/browser-0xr6c36r.js";
417
420
  import"../chunks/browser-0g0z3617.js";
418
- import"../chunks/browser-vkh2tpmf.js";
419
- import"../chunks/browser-pdx38ng3.js";
420
- import"../chunks/browser-5pvw8svn.js";
421
+ import"../chunks/browser-sgst60b0.js";
422
+ import"../chunks/browser-g19fcj47.js";
423
+ import"../chunks/browser-h5k4hqfq.js";
421
424
  import {
422
425
  OPERATIONS2
423
- } from "../chunks/browser-0ebnhqs2.js";
426
+ } from "../chunks/browser-y97347bz.js";
424
427
  export {
425
428
  ActivationSchema2 as ActivationSchema,
426
429
  ActivationType2 as ActivationType,
@@ -449,6 +452,7 @@ export {
449
452
  CatalogGenerationSchema2 as CatalogGenerationSchema,
450
453
  ChangeSetSchema2 as ChangeSetSchema,
451
454
  ChangeSetType2 as ChangeSetType,
455
+ ChangeSourceType2 as ChangeSourceType,
452
456
  CommandCompletionType2 as CommandCompletionType,
453
457
  CommandCompletionsSchema2 as CommandCompletionsSchema,
454
458
  CommandInfoSchema2 as CommandInfoSchema,
@@ -601,6 +605,7 @@ export {
601
605
  ModelCatalogViewType2 as ModelCatalogViewType,
602
606
  ModelInfoSchema2 as ModelInfoSchema,
603
607
  ModelInfoType2 as ModelInfoType,
608
+ ModelListingType2 as ModelListingType,
604
609
  ModelRefSchema2 as ModelRefSchema,
605
610
  ModelRefType2 as ModelRefType,
606
611
  ModelRequestSchema2 as ModelRequestSchema,
@@ -710,6 +715,7 @@ export {
710
715
  ThinkingType2 as ThinkingType,
711
716
  ToolCallSchema2 as ToolCallSchema,
712
717
  ToolCallType2 as ToolCallType,
718
+ ToolChangesType2 as ToolChangesType,
713
719
  ToolClassSchema2 as ToolClassSchema,
714
720
  ToolClassType2 as ToolClassType,
715
721
  ToolContentSchema2 as ToolContentSchema,
@@ -111,7 +111,7 @@ export declare const ModelInfoType: Type.TObject<{
111
111
  name: Type.TString;
112
112
  reasoning: Type.TBoolean;
113
113
  thinking: Type.TArray<Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>>;
114
- /** The level a chat on this model thinks at when it names none. */
114
+ /** The level a chat on this model thinks at when it names none: in the catalog, the level last chosen for this model while it still accepts it, else its lowest level above off. */
115
115
  defaultThinking: Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>;
116
116
  fast: Type.TUnion<[Type.TObject<{
117
117
  provider: Type.TString;
@@ -132,6 +132,8 @@ export declare const ModelInfoType: Type.TObject<{
132
132
  }>;
133
133
  }>;
134
134
  export type ModelInfo = Decoded<typeof ModelInfoType>;
135
+ export declare const ModelListingType: Type.TEnum<["shown", "hidden", "favorite"]>;
136
+ export type ModelListing = Decoded<typeof ModelListingType>;
135
137
  export declare const ModelCatalogViewType: Type.TObject<{
136
138
  generation: Type.TUnsafe<import("./ids.ts").Id<"catalog-generation">>;
137
139
  default: Type.TUnion<[Type.TObject<{
@@ -161,7 +163,7 @@ export declare const ModelCatalogViewType: Type.TObject<{
161
163
  name: Type.TString;
162
164
  reasoning: Type.TBoolean;
163
165
  thinking: Type.TArray<Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>>;
164
- /** The level a chat on this model thinks at when it names none. */
166
+ /** The level a chat on this model thinks at when it names none: in the catalog, the level last chosen for this model while it still accepts it, else its lowest level above off. */
165
167
  defaultThinking: Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>;
166
168
  fast: Type.TUnion<[Type.TObject<{
167
169
  provider: Type.TString;
@@ -181,6 +183,7 @@ export declare const ModelCatalogViewType: Type.TObject<{
181
183
  cacheWrite: Type.TNumber;
182
184
  }>;
183
185
  }>>;
186
+ listings: Type.TRecord<"^.*$", Type.TEnum<["hidden", "favorite"]>>;
184
187
  }>>;
185
188
  }>;
186
189
  export type ModelCatalogView = Decoded<typeof ModelCatalogViewType>;
@@ -8,6 +8,7 @@ import {
8
8
  ProviderUsageType2,
9
9
  ModelCapabilitiesType2,
10
10
  ModelInfoType2,
11
+ ModelListingType2,
11
12
  ModelCatalogViewType2,
12
13
  ModelRefSchema2,
13
14
  ThinkingSchema2,
@@ -18,7 +19,7 @@ import {
18
19
  ProviderUsageSchema2,
19
20
  ModelInfoSchema2,
20
21
  ModelCatalogViewSchema2
21
- } from "../chunks/browser-8t9anqfc.js";
22
+ } from "../chunks/browser-0sbkxgkx.js";
22
23
  import"../chunks/browser-4et7qtz3.js";
23
24
  import"../chunks/browser-ypez6s7v.js";
24
25
  import"../chunks/browser-vzc3r2r3.js";
@@ -34,6 +35,7 @@ export {
34
35
  ModelCatalogViewType2 as ModelCatalogViewType,
35
36
  ModelInfoSchema2 as ModelInfoSchema,
36
37
  ModelInfoType2 as ModelInfoType,
38
+ ModelListingType2 as ModelListingType,
37
39
  ModelRefSchema2 as ModelRefSchema,
38
40
  ModelRefType2 as ModelRefType,
39
41
  ProviderUsageSchema2 as ProviderUsageSchema,
@@ -112,6 +112,12 @@ export declare const PartViewType: Type.TObject<{
112
112
  owner: Type.TUnion<[Type.TString, Type.TNull]>;
113
113
  }>;
114
114
  export type PartView = Decoded<typeof PartViewType>;
115
+ export declare const ToolChangesType: Type.TObject<{
116
+ added: Type.TNumber;
117
+ removed: Type.TNumber;
118
+ paths: Type.TArray<Type.TString>;
119
+ unattributed: Type.TOptional<Type.TLiteral<true>>;
120
+ }>;
115
121
  export declare const ToolPartStateType: Type.TUnion<[Type.TObject<{
116
122
  phase: Type.TLiteral<"calling">;
117
123
  call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
@@ -201,6 +207,7 @@ export declare const ToolPartStateType: Type.TUnion<[Type.TObject<{
201
207
  added: Type.TNumber;
202
208
  removed: Type.TNumber;
203
209
  paths: Type.TArray<Type.TString>;
210
+ unattributed: Type.TOptional<Type.TLiteral<true>>;
204
211
  }>, Type.TNull]>;
205
212
  call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
206
213
  name: Type.TString;
package/dist/src/parts.js CHANGED
@@ -3,19 +3,20 @@ import {
3
3
  PlacementType2,
4
4
  PartStatusType2,
5
5
  PartViewType2,
6
+ ToolChangesType2,
6
7
  ToolPartStateType2,
7
8
  actOutcomeSchema2,
8
9
  PlacementSchema2,
9
10
  PartStatusSchema2,
10
11
  PartViewSchema2,
11
12
  ToolPartStateSchema2
12
- } from "../chunks/browser-ad9yebg7.js";
13
+ } from "../chunks/browser-t5xqtqzh.js";
13
14
  import"../chunks/browser-h86zs54a.js";
14
- import"../chunks/browser-s7907azt.js";
15
+ import"../chunks/browser-8ancsy4m.js";
15
16
  import"../chunks/browser-40enyw9r.js";
16
17
  import"../chunks/browser-m0wzr0g8.js";
17
- import"../chunks/browser-vapnjwp3.js";
18
- import"../chunks/browser-8t9anqfc.js";
18
+ import"../chunks/browser-ynj8v9ad.js";
19
+ import"../chunks/browser-0sbkxgkx.js";
19
20
  import"../chunks/browser-sgwxbek9.js";
20
21
  import"../chunks/browser-1sfp0bcx.js";
21
22
  import"../chunks/browser-4et7qtz3.js";
@@ -29,6 +30,7 @@ export {
29
30
  PlacementSchema2 as PlacementSchema,
30
31
  PlacementType2 as PlacementType,
31
32
  SignatureType2 as SignatureType,
33
+ ToolChangesType2 as ToolChangesType,
32
34
  ToolPartStateSchema2 as ToolPartStateSchema,
33
35
  ToolPartStateType2 as ToolPartStateType,
34
36
  actOutcomeSchema2 as actOutcomeSchema
package/dist/src/runs.js CHANGED
@@ -12,11 +12,11 @@ import {
12
12
  ExecutionSchema2,
13
13
  BackgroundItemSchema2,
14
14
  WaitOutcomeSchema2
15
- } from "../chunks/browser-s7907azt.js";
15
+ } from "../chunks/browser-8ancsy4m.js";
16
16
  import"../chunks/browser-40enyw9r.js";
17
17
  import"../chunks/browser-m0wzr0g8.js";
18
- import"../chunks/browser-vapnjwp3.js";
19
- import"../chunks/browser-8t9anqfc.js";
18
+ import"../chunks/browser-ynj8v9ad.js";
19
+ import"../chunks/browser-0sbkxgkx.js";
20
20
  import"../chunks/browser-sgwxbek9.js";
21
21
  import"../chunks/browser-1sfp0bcx.js";
22
22
  import"../chunks/browser-4et7qtz3.js";
@@ -28,14 +28,14 @@ import {
28
28
  WorkspaceCommandOutcomeSchema2,
29
29
  UpdateOutcomeSchema2,
30
30
  RemoveSessionOutcomeSchema2
31
- } from "../chunks/browser-7gjnxy9m.js";
31
+ } from "../chunks/browser-xensz05x.js";
32
32
  import"../chunks/browser-bg1esaw0.js";
33
- import"../chunks/browser-s7907azt.js";
33
+ import"../chunks/browser-8ancsy4m.js";
34
34
  import"../chunks/browser-hq5q56sf.js";
35
35
  import"../chunks/browser-40enyw9r.js";
36
36
  import"../chunks/browser-m0wzr0g8.js";
37
- import"../chunks/browser-vapnjwp3.js";
38
- import"../chunks/browser-8t9anqfc.js";
37
+ import"../chunks/browser-ynj8v9ad.js";
38
+ import"../chunks/browser-0sbkxgkx.js";
39
39
  import"../chunks/browser-sgwxbek9.js";
40
40
  import"../chunks/browser-1sfp0bcx.js";
41
41
  import"../chunks/browser-4et7qtz3.js";
@@ -179,6 +179,7 @@ export declare const RefUpdateType: Type.TObject<{
179
179
  previous: Type.TUnsafe<import("./ids.ts").Id<"message">>;
180
180
  stopped: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
181
181
  }>, Type.TNull]>;
182
+ requires: Type.TOptional<Type.TArray<Type.TString>>;
182
183
  kind: Type.TLiteral<"input">;
183
184
  message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
184
185
  }>, Type.TObject<{
@@ -462,6 +463,7 @@ export declare const RefUpdateType: Type.TObject<{
462
463
  added: Type.TNumber;
463
464
  removed: Type.TNumber;
464
465
  paths: Type.TArray<Type.TString>;
466
+ unattributed: Type.TOptional<Type.TLiteral<true>>;
465
467
  }>, Type.TNull]>;
466
468
  kind: Type.TLiteral<"call">;
467
469
  call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
@@ -807,9 +809,8 @@ export declare const RefUpdateType: Type.TObject<{
807
809
  }>>;
808
810
  }>;
809
811
  }>]>>>;
810
- fence: Type.TOptional<Type.TString>;
812
+ fences: Type.TOptional<Type.TArray<Type.TString>>;
811
813
  }>;
812
- /** One ref a `RefStore.set` writes: its new target (null deletes it), the revision it must be at (`absent`: it must not exist), the events it logs to its session in order, and `fence`, a ref that must exist for the set to land (a run's live ref, which its stop deletes). */
813
814
  export type RefUpdate = Decoded<typeof RefUpdateType>;
814
815
  export declare const SetOutcomeType: Type.TUnion<[Type.TObject<{
815
816
  kind: Type.TLiteral<"set">;
@@ -824,7 +825,6 @@ export declare const SetOutcomeType: Type.TUnion<[Type.TObject<{
824
825
  kind: Type.TLiteral<"fenced">;
825
826
  name: Type.TString;
826
827
  }>]>;
827
- /** What `RefStore.set` did: `set` with the seq each event was logged at, in update order and each update's events in order, the time it logged them at, and each update's new revision; `fenced`, naming the first fence ref an update needed that does not exist, checked before any expectation; or `stale`, naming the first ref whose expectation failed. A set that is not `set` wrote nothing. */
828
828
  export type SetOutcome = Decoded<typeof SetOutcomeType>;
829
829
  export declare const RefSchema: Schema<Ref>;
830
830
  export declare const RefUpdateSchema: Schema<RefUpdate>;
package/dist/src/store.js CHANGED
@@ -5,18 +5,18 @@ import {
5
5
  RefSchema2,
6
6
  RefUpdateSchema2,
7
7
  SetOutcomeSchema2
8
- } from "../chunks/browser-fth801bw.js";
9
- import"../chunks/browser-r00v3vwv.js";
10
- import"../chunks/browser-ad9yebg7.js";
8
+ } from "../chunks/browser-xk4psyrx.js";
9
+ import"../chunks/browser-ay8k1s1m.js";
10
+ import"../chunks/browser-t5xqtqzh.js";
11
11
  import"../chunks/browser-h86zs54a.js";
12
- import"../chunks/browser-7gjnxy9m.js";
12
+ import"../chunks/browser-xensz05x.js";
13
13
  import"../chunks/browser-bg1esaw0.js";
14
- import"../chunks/browser-s7907azt.js";
14
+ import"../chunks/browser-8ancsy4m.js";
15
15
  import"../chunks/browser-hq5q56sf.js";
16
16
  import"../chunks/browser-40enyw9r.js";
17
17
  import"../chunks/browser-m0wzr0g8.js";
18
- import"../chunks/browser-vapnjwp3.js";
19
- import"../chunks/browser-8t9anqfc.js";
18
+ import"../chunks/browser-ynj8v9ad.js";
19
+ import"../chunks/browser-0sbkxgkx.js";
20
20
  import"../chunks/browser-sgwxbek9.js";
21
21
  import"../chunks/browser-1sfp0bcx.js";
22
22
  import"../chunks/browser-ebr6k189.js";