@nyte-ai/schema 0.0.18 → 0.0.19

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 +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-r00v3vwv.js → browser-1nqahr9q.js} +7 -6
  6. package/dist/chunks/{browser-fth801bw.js → browser-3exd93gm.js} +2 -2
  7. package/dist/chunks/{browser-s7907azt.js → browser-8ancsy4m.js} +2 -2
  8. package/dist/chunks/{browser-5pvw8svn.js → browser-h5k4hqfq.js} +6 -5
  9. package/dist/chunks/{browser-bxz3z1v6.js → browser-hp9ze9ga.js} +22 -18
  10. package/dist/chunks/{browser-ad9yebg7.js → browser-j150etqf.js} +1 -1
  11. package/dist/chunks/{browser-pdx38ng3.js → browser-jgxe05s4.js} +6 -6
  12. package/dist/chunks/{browser-gchr2880.js → browser-p691tcac.js} +5 -1
  13. package/dist/chunks/{browser-0ebnhqs2.js → browser-pvfshqyk.js} +4 -4
  14. package/dist/chunks/{browser-5n1dh580.js → browser-qncc807c.js} +2 -2
  15. package/dist/chunks/{browser-e5xgzd28.js → browser-s2xe7c21.js} +2 -2
  16. package/dist/chunks/{browser-vkh2tpmf.js → browser-sgst60b0.js} +14 -4
  17. package/dist/chunks/{browser-7gjnxy9m.js → browser-xensz05x.js} +2 -2
  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 +2 -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 +21 -17
  28. package/dist/src/models.d.ts +5 -2
  29. package/dist/src/models.js +3 -1
  30. package/dist/src/parts.js +4 -4
  31. package/dist/src/runs.js +3 -3
  32. package/dist/src/sessions.js +4 -4
  33. package/dist/src/store.d.ts +2 -3
  34. package/dist/src/store.js +7 -7
  35. package/dist/src/views.d.ts +371 -3
  36. package/dist/src/views.js +6 -6
  37. package/dist/src/wire/operations/git.js +2 -2
  38. package/dist/src/wire/operations/host.d.ts +20 -0
  39. package/dist/src/wire/operations/host.js +7 -7
  40. package/dist/src/wire/operations/index.d.ts +411 -11
  41. package/dist/src/wire/operations/index.js +14 -14
  42. package/dist/src/wire/operations/session.d.ts +371 -3
  43. package/dist/src/wire/operations/session.js +8 -8
  44. package/dist/src/wire/operations/workspace.d.ts +20 -8
  45. package/dist/src/wire/operations/workspace.js +6 -6
  46. package/package.json +2 -2
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,
@@ -284,7 +285,7 @@ import {
284
285
  PartStatusSchema2,
285
286
  PartViewSchema2,
286
287
  ToolPartStateSchema2
287
- } from "../chunks/browser-ad9yebg7.js";
288
+ } from "../chunks/browser-j150etqf.js";
288
289
  import {
289
290
  CommitBodyType2,
290
291
  DurableEventType2,
@@ -294,7 +295,7 @@ import {
294
295
  DurableEventSchema2,
295
296
  SessionEventSchema2,
296
297
  PatchEventSchema2
297
- } from "../chunks/browser-r00v3vwv.js";
298
+ } from "../chunks/browser-1nqahr9q.js";
298
299
  import {
299
300
  GitStatusType2,
300
301
  GitCommitViewType2,
@@ -303,6 +304,7 @@ import {
303
304
  GitFileSidesType2,
304
305
  BlameViewType2,
305
306
  GitScopeType2,
307
+ ChangeSourceType2,
306
308
  DiffOptionsType2,
307
309
  LineStatType2,
308
310
  ChangeSetType2,
@@ -324,7 +326,7 @@ import {
324
326
  PatchSetWireSchema2,
325
327
  GitWriteSchema2,
326
328
  GitOutcomeSchema2
327
- } from "../chunks/browser-gchr2880.js";
329
+ } from "../chunks/browser-p691tcac.js";
328
330
  import {
329
331
  GitHubRepositoryType2,
330
332
  GitHubAccountType2,
@@ -349,7 +351,7 @@ import {
349
351
  ModelRequestSchema2,
350
352
  ToolCallSchema2,
351
353
  SubmitDraftSchema2
352
- } from "../chunks/browser-5n1dh580.js";
354
+ } from "../chunks/browser-qncc807c.js";
353
355
  import {
354
356
  McpExposureType2,
355
357
  McpScopeType2,
@@ -392,7 +394,7 @@ import {
392
394
  RefSchema2,
393
395
  RefUpdateSchema2,
394
396
  SetOutcomeSchema2
395
- } from "../chunks/browser-fth801bw.js";
397
+ } from "../chunks/browser-3exd93gm.js";
396
398
  import {
397
399
  ViewOptionsType2,
398
400
  UserStatusType2,
@@ -409,18 +411,18 @@ import {
409
411
  SessionViewSchema2,
410
412
  HistoryPageSchema2,
411
413
  ViewFrameSchema2
412
- } from "../chunks/browser-bxz3z1v6.js";
414
+ } from "../chunks/browser-hp9ze9ga.js";
413
415
  import"../chunks/browser-r87w64mz.js";
414
416
  import"../chunks/browser-fd3accdr.js";
415
417
  import"../chunks/browser-pdv675va.js";
416
- import"../chunks/browser-48g24pes.js";
418
+ import"../chunks/browser-0xr6c36r.js";
417
419
  import"../chunks/browser-0g0z3617.js";
418
- import"../chunks/browser-vkh2tpmf.js";
419
- import"../chunks/browser-pdx38ng3.js";
420
- import"../chunks/browser-5pvw8svn.js";
420
+ import"../chunks/browser-sgst60b0.js";
421
+ import"../chunks/browser-jgxe05s4.js";
422
+ import"../chunks/browser-h5k4hqfq.js";
421
423
  import {
422
424
  OPERATIONS2
423
- } from "../chunks/browser-0ebnhqs2.js";
425
+ } from "../chunks/browser-pvfshqyk.js";
424
426
  export {
425
427
  ActivationSchema2 as ActivationSchema,
426
428
  ActivationType2 as ActivationType,
@@ -449,6 +451,7 @@ export {
449
451
  CatalogGenerationSchema2 as CatalogGenerationSchema,
450
452
  ChangeSetSchema2 as ChangeSetSchema,
451
453
  ChangeSetType2 as ChangeSetType,
454
+ ChangeSourceType2 as ChangeSourceType,
452
455
  CommandCompletionType2 as CommandCompletionType,
453
456
  CommandCompletionsSchema2 as CommandCompletionsSchema,
454
457
  CommandInfoSchema2 as CommandInfoSchema,
@@ -601,6 +604,7 @@ export {
601
604
  ModelCatalogViewType2 as ModelCatalogViewType,
602
605
  ModelInfoSchema2 as ModelInfoSchema,
603
606
  ModelInfoType2 as ModelInfoType,
607
+ ModelListingType2 as ModelListingType,
604
608
  ModelRefSchema2 as ModelRefSchema,
605
609
  ModelRefType2 as ModelRefType,
606
610
  ModelRequestSchema2 as ModelRequestSchema,
@@ -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,
package/dist/src/parts.js CHANGED
@@ -9,13 +9,13 @@ import {
9
9
  PartStatusSchema2,
10
10
  PartViewSchema2,
11
11
  ToolPartStateSchema2
12
- } from "../chunks/browser-ad9yebg7.js";
12
+ } from "../chunks/browser-j150etqf.js";
13
13
  import"../chunks/browser-h86zs54a.js";
14
- import"../chunks/browser-s7907azt.js";
14
+ import"../chunks/browser-8ancsy4m.js";
15
15
  import"../chunks/browser-40enyw9r.js";
16
16
  import"../chunks/browser-m0wzr0g8.js";
17
- import"../chunks/browser-vapnjwp3.js";
18
- import"../chunks/browser-8t9anqfc.js";
17
+ import"../chunks/browser-ynj8v9ad.js";
18
+ import"../chunks/browser-0sbkxgkx.js";
19
19
  import"../chunks/browser-sgwxbek9.js";
20
20
  import"../chunks/browser-1sfp0bcx.js";
21
21
  import"../chunks/browser-4et7qtz3.js";
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<{
@@ -807,9 +808,8 @@ export declare const RefUpdateType: Type.TObject<{
807
808
  }>>;
808
809
  }>;
809
810
  }>]>>>;
810
- fence: Type.TOptional<Type.TString>;
811
+ fences: Type.TOptional<Type.TArray<Type.TString>>;
811
812
  }>;
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
813
  export type RefUpdate = Decoded<typeof RefUpdateType>;
814
814
  export declare const SetOutcomeType: Type.TUnion<[Type.TObject<{
815
815
  kind: Type.TLiteral<"set">;
@@ -824,7 +824,6 @@ export declare const SetOutcomeType: Type.TUnion<[Type.TObject<{
824
824
  kind: Type.TLiteral<"fenced">;
825
825
  name: Type.TString;
826
826
  }>]>;
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
827
  export type SetOutcome = Decoded<typeof SetOutcomeType>;
829
828
  export declare const RefSchema: Schema<Ref>;
830
829
  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-3exd93gm.js";
9
+ import"../chunks/browser-1nqahr9q.js";
10
+ import"../chunks/browser-j150etqf.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";