@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
@@ -91,6 +91,9 @@ SOFTWARE.
91
91
  - Transcript reconciliation, checkpoint instruction snapshots, provider system
92
92
  updates, and cache warming are ported from the 1.0.0 release commit
93
93
  `a13d35a742c6ef8462812a28fbe1d8c8b7431c32`.
94
+ - Fitting images to model limits (`packages/core/src/agent/images.ts` and
95
+ `packages/host/src/images`) is ported from `@earendil-works/pi-durable`'s
96
+ images at commit `73f8de80bc87021375f8b525292ac07492253002`.
94
97
 
95
98
  License: MIT, with the following notice:
96
99
 
@@ -148,6 +151,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
148
151
  THE SOFTWARE.
149
152
  ```
150
153
 
154
+ ## Photon (`silvia-odwyer/photon`)
155
+
156
+ - Repository: https://github.com/silvia-odwyer/photon
157
+ - Package: `@silvia-odwyer/photon` 0.3.3
158
+ - What: the host decodes, orients, scales and re-encodes images for the model
159
+ with Photon's WebAssembly build.
160
+
161
+ License: Apache License 2.0, reproduced in the appendix below. Copyright 2023
162
+ Silvia O'Dwyer.
163
+
151
164
  ## Pierre
152
165
 
153
166
  - Repository: https://github.com/pierrecomputer/pierre
@@ -561,6 +574,59 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
561
574
  SOFTWARE.
562
575
  ```
563
576
 
577
+ ## snapcn (`snapcndev/snapcn`)
578
+
579
+ - Repository: https://github.com/snapcndev/snapcn
580
+ - What: the launch film's Logo Flicker and Check Cycle scenes
581
+ (`packages/lab/video/src/snap-cn/`) are adapted from snapcn's registry
582
+ components at commit `47ee435f17d85f74abf48b095b40d64fc9616fb0`.
583
+
584
+ License: MIT, with the following notice:
585
+
586
+ ```text
587
+ MIT License
588
+
589
+ Copyright (c) 2026 Sri Nath (snap-cn)
590
+
591
+ Permission is hereby granted, free of charge, to any person obtaining a copy
592
+ of this software and associated documentation files (the "Software"), to deal
593
+ in the Software without restriction, including without limitation the rights
594
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
595
+ copies of the Software, and to permit persons to whom the Software is
596
+ furnished to do so, subject to the following conditions:
597
+
598
+ The above copyright notice and this permission notice shall be included in all
599
+ copies or substantial portions of the Software.
600
+
601
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
602
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
603
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
604
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
605
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
606
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
607
+ SOFTWARE.
608
+ ```
609
+
610
+ ## Naybr, "Copyright Free Gameplay (No Commentary) - Minecraft Survival"
611
+
612
+ - Source: https://www.youtube.com/watch?v=GPsGyv5zTlM, by Naybr (youtube.com/@Naybr)
613
+ - What: the launch film opens on four shots from 0:30 to 2:30 of this video
614
+ (`clip` in `packages/lab/video/src/film/media.ts`). The footage is not in
615
+ the repository; `packages/lab/video/README.md` says how to fetch it.
616
+
617
+ License: Creative Commons Attribution, as published on YouTube. The author
618
+ allows use, modification, redistribution and monetisation, with this credit
619
+ wherever the gameplay is used: "Gameplay – youtube.com/@Naybr".
620
+
621
+ ## Photographs in the launch film
622
+
623
+ - Source: Wikimedia Commons; each file's author and source page are listed in
624
+ `photos` in `packages/lab/video/src/film/media.ts`.
625
+ - What: eleven photographs the launch film cuts between. They are not in the
626
+ repository.
627
+
628
+ License: every one is public domain or CC0. None requires attribution.
629
+
564
630
  ## Design references
565
631
 
566
632
  These credits record design sources. They do not grant a license to the
@@ -12,11 +12,11 @@ import {
12
12
  } from "./browser-4et7qtz3.js";
13
13
  import {
14
14
  ModelRefType2
15
- } from "./browser-8t9anqfc.js";
15
+ } from "./browser-0sbkxgkx.js";
16
16
  import {
17
17
  ConfigurationPatchType2,
18
18
  ConfigurationType2
19
- } from "./browser-vapnjwp3.js";
19
+ } from "./browser-ynj8v9ad.js";
20
20
  import {
21
21
  ValidationIssueType2
22
22
  } from "./browser-1sfp0bcx.js";
@@ -88,6 +88,7 @@ var ModelInfoType2 = Type.Object({
88
88
  cacheWrite: Type.Number()
89
89
  })
90
90
  });
91
+ var ModelListingType2 = Type.Enum(["shown", "hidden", "favorite"]);
91
92
  var ModelCatalogViewType2 = Type.Object({
92
93
  generation: idSchema2(),
93
94
  default: nullable2(ModelRefType2),
@@ -97,7 +98,8 @@ var ModelCatalogViewType2 = Type.Object({
97
98
  credential: Type.Enum(["unknown", "missing", "configured", "verified", "failed"]),
98
99
  methods: Type.Array(LoginMethodType2),
99
100
  limits: PROVIDER_LIMITS,
100
- models: Type.Array(ModelInfoType2)
101
+ models: Type.Array(ModelInfoType2),
102
+ listings: Type.Record(Type.String(), Type.Enum(["hidden", "favorite"]))
101
103
  }))
102
104
  });
103
105
  var ModelRefSchema2 = standard2(ModelRefType2);
@@ -110,4 +112,4 @@ var ProviderUsageSchema2 = standard2(ProviderUsageType2);
110
112
  var ModelInfoSchema2 = standard2(ModelInfoType2);
111
113
  var ModelCatalogViewSchema2 = standard2(ModelCatalogViewType2);
112
114
 
113
- export { ModelRefType2, ThinkingType2, UsageType2, ContextViewType2, LoginMethodType2, ModelAccountType2, ProviderUsageType2, ModelCapabilitiesType2, ModelInfoType2, ModelCatalogViewType2, ModelRefSchema2, ThinkingSchema2, UsageSchema2, ContextViewSchema2, LoginMethodSchema2, ModelAccountSchema2, ProviderUsageSchema2, ModelInfoSchema2, ModelCatalogViewSchema2 };
115
+ export { ModelRefType2, ThinkingType2, UsageType2, ContextViewType2, LoginMethodType2, ModelAccountType2, ProviderUsageType2, ModelCapabilitiesType2, ModelInfoType2, ModelListingType2, ModelCatalogViewType2, ModelRefSchema2, ThinkingSchema2, UsageSchema2, ContextViewSchema2, LoginMethodSchema2, ModelAccountSchema2, ProviderUsageSchema2, ModelInfoSchema2, ModelCatalogViewSchema2 };
@@ -13,7 +13,7 @@ import {
13
13
  ChangeSetSchema2,
14
14
  PatchSetWireSchema2,
15
15
  GitOutcomeSchema2
16
- } from "./browser-gchr2880.js";
16
+ } from "./browser-p691tcac.js";
17
17
  import {
18
18
  pagedSchema2
19
19
  } from "./browser-0byq2fja.js";
@@ -14,10 +14,10 @@ import {
14
14
  } from "./browser-4et7qtz3.js";
15
15
  import {
16
16
  UsageType2
17
- } from "./browser-8t9anqfc.js";
17
+ } from "./browser-0sbkxgkx.js";
18
18
  import {
19
19
  ConfigurationType2
20
- } from "./browser-vapnjwp3.js";
20
+ } from "./browser-ynj8v9ad.js";
21
21
  import {
22
22
  FailureType2
23
23
  } from "./browser-1sfp0bcx.js";
@@ -15,10 +15,10 @@ import {
15
15
  import {
16
16
  UsageType2,
17
17
  ContextViewType2
18
- } from "./browser-8t9anqfc.js";
18
+ } from "./browser-0sbkxgkx.js";
19
19
  import {
20
20
  ConfigurationType2
21
- } from "./browser-vapnjwp3.js";
21
+ } from "./browser-ynj8v9ad.js";
22
22
  import {
23
23
  FailureType2
24
24
  } from "./browser-1sfp0bcx.js";
@@ -36,25 +36,26 @@ import {
36
36
  RunEndType2,
37
37
  WaitTargetType2,
38
38
  BackgroundItemType2
39
- } from "./browser-s7907azt.js";
39
+ } from "./browser-8ancsy4m.js";
40
40
  import {
41
41
  ToolOutcomeType2,
42
42
  ToolProgressType2
43
43
  } from "./browser-h86zs54a.js";
44
44
  import {
45
- PlacementType2
46
- } from "./browser-ad9yebg7.js";
45
+ PlacementType2,
46
+ ToolChangesType2
47
+ } from "./browser-t5xqtqzh.js";
47
48
  import {
48
49
  ActivationType2
49
50
  } from "./browser-bg1esaw0.js";
50
51
  import {
51
52
  SessionInfoType2,
52
53
  SessionCatalogViewType2
53
- } from "./browser-7gjnxy9m.js";
54
+ } from "./browser-xensz05x.js";
54
55
 
55
56
  // src/events.ts
56
57
  import { Type } from "typebox";
57
- var CHANGES = nullable2(Type.Object({ added: Type.Number(), removed: Type.Number(), paths: Type.Array(Type.String()) }));
58
+ var CHANGES = nullable2(ToolChangesType2);
58
59
  var REPLACED = nullable2(Type.Object({ previous: idSchema2(), stopped: nullable2(idSchema2()) }));
59
60
  var CommitBodyType2 = Type.Union([
60
61
  Type.Object({
@@ -115,7 +116,8 @@ function durableEvent(common) {
115
116
  schedule: ScheduleType2,
116
117
  covered: Type.Boolean(),
117
118
  configuration: ConfigurationType2,
118
- replaced: REPLACED
119
+ replaced: REPLACED,
120
+ requires: Type.Optional(Type.Array(Type.String()))
119
121
  }),
120
122
  Type.Object({
121
123
  ...common,
@@ -10,7 +10,7 @@ import {
10
10
  } from "./browser-4et7qtz3.js";
11
11
  import {
12
12
  ConfigurationPatchType2
13
- } from "./browser-vapnjwp3.js";
13
+ } from "./browser-ynj8v9ad.js";
14
14
  import {
15
15
  ValidationIssueType2
16
16
  } from "./browser-1sfp0bcx.js";
@@ -27,30 +27,30 @@ import {
27
27
  MergeOutcomeSchema2,
28
28
  RemoveHeadOutcomeSchema2,
29
29
  ConfigureOutcomeSchema2
30
- } from "./browser-mnejgne0.js";
30
+ } from "./browser-0chm3654.js";
31
31
  import {
32
32
  RunEndType2,
33
33
  stopOutcomeSchema2,
34
34
  RunEndSchema2
35
- } from "./browser-s7907azt.js";
35
+ } from "./browser-8ancsy4m.js";
36
36
  import {
37
37
  PlacementType2,
38
38
  actOutcomeSchema2
39
- } from "./browser-ad9yebg7.js";
39
+ } from "./browser-t5xqtqzh.js";
40
40
  import {
41
41
  SessionInfoSchema2,
42
42
  CommandOutcomeSchema2,
43
43
  CommandCompletionsSchema2,
44
44
  UpdateOutcomeSchema2,
45
45
  RemoveSessionOutcomeSchema2
46
- } from "./browser-7gjnxy9m.js";
46
+ } from "./browser-xensz05x.js";
47
47
  import {
48
48
  ViewOptionsType2,
49
49
  UserStatusType2,
50
50
  HistoryPageType2,
51
51
  SessionViewSchema2,
52
52
  ViewFrameSchema2
53
- } from "./browser-bxz3z1v6.js";
53
+ } from "./browser-rhgxg3wm.js";
54
54
  import {
55
55
  wireSchema2,
56
56
  wireObject2,
@@ -5,10 +5,11 @@ import {
5
5
  nullable2
6
6
  } from "./browser-4et7qtz3.js";
7
7
  import {
8
+ ChangeSourceType2,
8
9
  DiffOptionsType2,
9
10
  ChangeSetSchema2,
10
11
  PatchSetWireSchema2
11
- } from "./browser-gchr2880.js";
12
+ } from "./browser-p691tcac.js";
12
13
  import {
13
14
  JobEndType2,
14
15
  JobViewType2,
@@ -26,7 +27,7 @@ import {
26
27
  } from "./browser-0byq2fja.js";
27
28
  import {
28
29
  stopOutcomeSchema2
29
- } from "./browser-s7907azt.js";
30
+ } from "./browser-8ancsy4m.js";
30
31
  import {
31
32
  WorkspaceInfoSchema2
32
33
  } from "./browser-bg1esaw0.js";
@@ -34,7 +35,7 @@ import {
34
35
  WorkspaceCatalogViewType2,
35
36
  CommandCompletionsSchema2,
36
37
  WorkspaceCommandOutcomeSchema2
37
- } from "./browser-7gjnxy9m.js";
38
+ } from "./browser-xensz05x.js";
38
39
  import {
39
40
  wireSchema2,
40
41
  wireObject2,
@@ -140,7 +141,7 @@ var WORKSPACE_OPERATIONS2 = {
140
141
  "workspace.changes": {
141
142
  ...PARTICIPANT,
142
143
  kind: "query",
143
- input: wireObject2({ ...WORKSPACE2, run: idSchema2() }),
144
+ input: wireObject2({ ...WORKSPACE2, source: ChangeSourceType2 }),
144
145
  output: ChangeSetSchema2
145
146
  },
146
147
  "workspace.patches": {
@@ -148,7 +149,7 @@ var WORKSPACE_OPERATIONS2 = {
148
149
  kind: "stream",
149
150
  input: wireObject2({
150
151
  ...WORKSPACE2,
151
- run: idSchema2(),
152
+ source: ChangeSourceType2,
152
153
  paths: Type.Array(Type.String()),
153
154
  options: Type.Optional(DiffOptionsType2)
154
155
  }),
@@ -73,6 +73,10 @@ var GitScopeType2 = Type.Union([
73
73
  Type.Object({ kind: Type.Literal("commit"), commit: idSchema2() }),
74
74
  Type.Object({ kind: Type.Literal("branch"), base: Type.String() })
75
75
  ]);
76
+ var ChangeSourceType2 = Type.Union([
77
+ Type.Object({ kind: Type.Literal("run"), run: idSchema2() }),
78
+ Type.Object({ kind: Type.Literal("session"), session: idSchema2() })
79
+ ]);
76
80
  var DiffOptionsType2 = Type.Object({ ignoreWhitespace: Type.Optional(Type.Boolean()) });
77
81
  var LineStatType2 = Type.Union([
78
82
  Type.Object({ kind: Type.Literal("text"), added: Type.Number(), removed: Type.Number() }),
@@ -132,4 +136,4 @@ var PatchSetWireSchema2 = standard2(PatchSetWireType2);
132
136
  var GitWriteSchema2 = standard2(GitWriteType2);
133
137
  var GitOutcomeSchema2 = standard2(GitOutcomeType2);
134
138
 
135
- export { GitStatusType2, GitCommitViewType2, GitRefsViewType2, GitFileSideType2, GitFileSidesType2, BlameViewType2, GitScopeType2, DiffOptionsType2, LineStatType2, ChangeSetType2, PatchEntryType2, PatchSetWireType2, GitWriteType2, GitOutcomeType2, GitStatusSchema2, GitCommitViewSchema2, GitRefsViewSchema2, GitFileSideSchema2, GitFileSidesSchema2, BlameViewSchema2, GitScopeSchema2, DiffOptionsSchema2, LineStatSchema2, ChangeSetSchema2, PatchEntrySchema2, PatchSetWireSchema2, GitWriteSchema2, GitOutcomeSchema2 };
139
+ export { GitStatusType2, GitCommitViewType2, GitRefsViewType2, GitFileSideType2, GitFileSidesType2, BlameViewType2, GitScopeType2, ChangeSourceType2, DiffOptionsType2, LineStatType2, ChangeSetType2, PatchEntryType2, PatchSetWireType2, GitWriteType2, GitOutcomeType2, GitStatusSchema2, GitCommitViewSchema2, GitRefsViewSchema2, GitFileSideSchema2, GitFileSidesSchema2, BlameViewSchema2, GitScopeSchema2, DiffOptionsSchema2, LineStatSchema2, ChangeSetSchema2, PatchEntrySchema2, PatchSetWireSchema2, GitWriteSchema2, GitOutcomeSchema2 };
@@ -14,11 +14,11 @@ import {
14
14
  import {
15
15
  ModelRefType2,
16
16
  ThinkingType2
17
- } from "./browser-8t9anqfc.js";
17
+ } from "./browser-0sbkxgkx.js";
18
18
  import {
19
19
  ConfigurationPatchType2,
20
20
  ConfigurationType2
21
- } from "./browser-vapnjwp3.js";
21
+ } from "./browser-ynj8v9ad.js";
22
22
  import {
23
23
  DeliveryType2,
24
24
  UserContentType2,
@@ -14,10 +14,10 @@ import {
14
14
  import {
15
15
  UsageType2,
16
16
  ContextViewType2
17
- } from "./browser-8t9anqfc.js";
17
+ } from "./browser-0sbkxgkx.js";
18
18
  import {
19
19
  ConfigurationType2
20
- } from "./browser-vapnjwp3.js";
20
+ } from "./browser-ynj8v9ad.js";
21
21
  import {
22
22
  FileChangeType2
23
23
  } from "./browser-ebr6k189.js";
@@ -32,18 +32,18 @@ import {
32
32
  WaitTargetType2,
33
33
  ExecutionType2,
34
34
  BackgroundItemType2
35
- } from "./browser-s7907azt.js";
35
+ } from "./browser-8ancsy4m.js";
36
36
  import {
37
37
  PartStatusType2,
38
38
  PartViewType2
39
- } from "./browser-ad9yebg7.js";
39
+ } from "./browser-t5xqtqzh.js";
40
40
  import {
41
41
  ActivationType2
42
42
  } from "./browser-bg1esaw0.js";
43
43
  import {
44
44
  HeadInfoType2,
45
45
  SessionCatalogViewType2
46
- } from "./browser-7gjnxy9m.js";
46
+ } from "./browser-xensz05x.js";
47
47
 
48
48
  // src/views.ts
49
49
  import { Type } from "typebox";
@@ -64,20 +64,21 @@ var UserStatusType2 = Type.Union([
64
64
  replaced: nullable2(Type.Object({ previous: idSchema2(), stopped: nullable2(idSchema2()) }))
65
65
  })
66
66
  ]);
67
+ var UserMessageType = Type.Object({
68
+ ...MESSAGE,
69
+ kind: Type.Literal("user"),
70
+ content: UserContentType2,
71
+ source: MessageSourceType2,
72
+ delivery: DeliveryType2,
73
+ status: UserStatusType2,
74
+ siblings: Type.Object({
75
+ index: Type.Number(),
76
+ count: Type.Number(),
77
+ ids: Type.Array(idSchema2())
78
+ })
79
+ });
67
80
  var MessageType2 = Type.Union([
68
- Type.Object({
69
- ...MESSAGE,
70
- kind: Type.Literal("user"),
71
- content: UserContentType2,
72
- source: MessageSourceType2,
73
- delivery: DeliveryType2,
74
- status: UserStatusType2,
75
- siblings: Type.Object({
76
- index: Type.Number(),
77
- count: Type.Number(),
78
- ids: Type.Array(idSchema2())
79
- })
80
- }),
81
+ UserMessageType,
81
82
  Type.Object({
82
83
  ...MESSAGE,
83
84
  kind: Type.Literal("part"),
@@ -122,6 +123,7 @@ var SessionViewType2 = Type.Object({
122
123
  seq: SeqType2,
123
124
  activation: ActivationType2,
124
125
  messages: Type.Array(MessageType2),
126
+ leadingPrompt: nullable2(UserMessageType),
125
127
  parts: Type.Array(PartViewType2),
126
128
  turns: Type.Array(TurnInfoType2),
127
129
  usage: UsageType2,
@@ -138,6 +140,7 @@ var SessionViewType2 = Type.Object({
138
140
  });
139
141
  var HistoryPageType2 = Type.Object({
140
142
  messages: Type.Array(MessageType2),
143
+ leadingPrompt: nullable2(UserMessageType),
141
144
  turns: Type.Array(TurnInfoType2)
142
145
  });
143
146
  var VIEW = SessionViewType2.properties;
@@ -158,6 +161,7 @@ var ViewFrameType2 = Type.Union([
158
161
  activation: Type.Optional(VIEW.activation),
159
162
  messages: Type.Optional(viewSplice(MessageType2)),
160
163
  appends: Type.Optional(Type.Array(ViewAppendType2)),
164
+ leadingPrompt: Type.Optional(VIEW.leadingPrompt),
161
165
  parts: Type.Optional(viewSplice(PartViewType2)),
162
166
  turns: Type.Optional(viewSplice(TurnInfoType2)),
163
167
  usage: Type.Optional(VIEW.usage),
@@ -18,13 +18,13 @@ import {
18
18
  } from "./browser-hq5q56sf.js";
19
19
  import {
20
20
  SendOptionsType2
21
- } from "./browser-mnejgne0.js";
21
+ } from "./browser-0chm3654.js";
22
22
  import {
23
23
  AuthorityType2
24
24
  } from "./browser-6e1madxa.js";
25
25
  import {
26
26
  SettingInfoType2
27
- } from "./browser-7gjnxy9m.js";
27
+ } from "./browser-xensz05x.js";
28
28
 
29
29
  // src/connection.ts
30
30
  import { Type } from "typebox";
@@ -9,12 +9,13 @@ import {
9
9
  LoginMethodType2,
10
10
  ModelAccountType2,
11
11
  ProviderUsageType2,
12
+ ModelListingType2,
12
13
  ModelCatalogViewSchema2
13
- } from "./browser-8t9anqfc.js";
14
+ } from "./browser-0sbkxgkx.js";
14
15
  import {
15
16
  ConfigurationPatchType2,
16
17
  ConfigurationType2
17
- } from "./browser-vapnjwp3.js";
18
+ } from "./browser-ynj8v9ad.js";
18
19
  import {
19
20
  UserContentType2
20
21
  } from "./browser-hq5q56sf.js";
@@ -33,11 +34,11 @@ import {
33
34
  } from "./browser-bg1esaw0.js";
34
35
  import {
35
36
  SessionInfoType2
36
- } from "./browser-7gjnxy9m.js";
37
+ } from "./browser-xensz05x.js";
37
38
  import {
38
39
  HostViewWireSchema2,
39
40
  SettingOutcomeSchema2
40
- } from "./browser-e5xgzd28.js";
41
+ } from "./browser-s2xe7c21.js";
41
42
  import {
42
43
  PromptOverrideType2
43
44
  } from "./browser-j629a6wa.js";
@@ -109,6 +110,15 @@ var HOST_OPERATIONS2 = {
109
110
  Type.Object({ kind: Type.Literal("unknown-model") })
110
111
  ]))
111
112
  },
113
+ "models.setListing": {
114
+ ...OWNER,
115
+ kind: "command",
116
+ input: wireObject2({ refs: Type.Array(ModelRefType2), listing: ModelListingType2 }),
117
+ output: wireSchema2(Type.Union([
118
+ Type.Object({ kind: Type.Literal("set") }),
119
+ Type.Object({ kind: Type.Literal("unknown-model") })
120
+ ]))
121
+ },
112
122
  "models.verify": {
113
123
  ...OWNER,
114
124
  kind: "command",
@@ -16,7 +16,7 @@ import {
16
16
  } from "./browser-sgwxbek9.js";
17
17
  import {
18
18
  WaitTargetType2
19
- } from "./browser-s7907azt.js";
19
+ } from "./browser-8ancsy4m.js";
20
20
  import {
21
21
  ToolClassType2,
22
22
  ToolOutcomeType2,
@@ -59,6 +59,12 @@ var PartViewType2 = Type.Object({
59
59
  status: PartStatusType2,
60
60
  owner: nullable2(Type.String())
61
61
  });
62
+ var ToolChangesType2 = Type.Object({
63
+ added: Type.Number(),
64
+ removed: Type.Number(),
65
+ paths: Type.Array(Type.String()),
66
+ unattributed: Type.Optional(Type.Literal(true))
67
+ });
62
68
  var TOOL_CALL = {
63
69
  call: idSchema2(),
64
70
  name: Type.String(),
@@ -76,11 +82,7 @@ var ToolPartStateType2 = Type.Union([
76
82
  ...TOOL_CALL,
77
83
  phase: Type.Literal("settled"),
78
84
  outcome: ToolOutcomeType2,
79
- changes: nullable2(Type.Object({
80
- added: Type.Number(),
81
- removed: Type.Number(),
82
- paths: Type.Array(Type.String())
83
- }))
85
+ changes: nullable2(ToolChangesType2)
84
86
  })
85
87
  ]);
86
88
  function actOutcomeSchema2(output) {
@@ -98,4 +100,4 @@ var PartStatusSchema2 = standard2(withJson2(PartStatusType2));
98
100
  var PartViewSchema2 = standard2(withJson2(PartViewType2));
99
101
  var ToolPartStateSchema2 = standard2(withJson2(ToolPartStateType2));
100
102
 
101
- export { SignatureType2, PlacementType2, PartStatusType2, PartViewType2, ToolPartStateType2, actOutcomeSchema2, PlacementSchema2, PartStatusSchema2, PartViewSchema2, ToolPartStateSchema2 };
103
+ export { SignatureType2, PlacementType2, PartStatusType2, PartViewType2, ToolChangesType2, ToolPartStateType2, actOutcomeSchema2, PlacementSchema2, PartStatusSchema2, PartViewSchema2, ToolPartStateSchema2 };
@@ -18,10 +18,10 @@ import {
18
18
  } from "./browser-4et7qtz3.js";
19
19
  import {
20
20
  ModelRefType2
21
- } from "./browser-8t9anqfc.js";
21
+ } from "./browser-0sbkxgkx.js";
22
22
  import {
23
23
  ExecutionType2
24
- } from "./browser-s7907azt.js";
24
+ } from "./browser-8ancsy4m.js";
25
25
  import {
26
26
  ActivationType2
27
27
  } from "./browser-bg1esaw0.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./browser-4et7qtz3.js";
14
14
  import {
15
15
  DurableEventType2
16
- } from "./browser-r00v3vwv.js";
16
+ } from "./browser-ay8k1s1m.js";
17
17
 
18
18
  // src/store.ts
19
19
  import { Type } from "typebox";
@@ -27,7 +27,7 @@ var RefUpdateType2 = Type.Object({
27
27
  target: nullable2(idSchema2()),
28
28
  expect: Type.Optional(Type.Union([Type.Literal("absent"), idSchema2()])),
29
29
  events: Type.Optional(Type.Array(DurableEventType2)),
30
- fence: Type.Optional(Type.String())
30
+ fences: Type.Optional(Type.Array(Type.String()))
31
31
  });
32
32
  var SetOutcomeType2 = Type.Union([
33
33
  Type.Object({
@@ -6,20 +6,20 @@ import {
6
6
  } from "./browser-pdv675va.js";
7
7
  import {
8
8
  GIT_OPERATIONS2
9
- } from "./browser-48g24pes.js";
9
+ } from "./browser-0xr6c36r.js";
10
10
  import {
11
11
  GITHUB_OPERATIONS2
12
12
  } from "./browser-0g0z3617.js";
13
13
  import {
14
14
  HOST_OPERATIONS2,
15
15
  MAINTENANCE_OPERATIONS2
16
- } from "./browser-vkh2tpmf.js";
16
+ } from "./browser-sgst60b0.js";
17
17
  import {
18
18
  SESSION_OPERATIONS2
19
- } from "./browser-pdx38ng3.js";
19
+ } from "./browser-g19fcj47.js";
20
20
  import {
21
21
  WORKSPACE_OPERATIONS2
22
- } from "./browser-5pvw8svn.js";
22
+ } from "./browser-h5k4hqfq.js";
23
23
 
24
24
  // src/wire/operations/index.ts
25
25
  var OPERATIONS2 = {
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  ModelRefType2,
13
13
  ThinkingType2
14
- } from "./browser-8t9anqfc.js";
14
+ } from "./browser-0sbkxgkx.js";
15
15
 
16
16
  // src/configuration.ts
17
17
  import { Type } from "typebox";
@@ -3,8 +3,8 @@ import {
3
3
  ConfigurationType2,
4
4
  ConfigurationPatchSchema2,
5
5
  ConfigurationSchema2
6
- } from "../chunks/browser-vapnjwp3.js";
7
- import"../chunks/browser-8t9anqfc.js";
6
+ } from "../chunks/browser-ynj8v9ad.js";
7
+ import"../chunks/browser-0sbkxgkx.js";
8
8
  import"../chunks/browser-sgwxbek9.js";
9
9
  import"../chunks/browser-4et7qtz3.js";
10
10
  import"../chunks/browser-ypez6s7v.js";
@@ -7,17 +7,17 @@ import {
7
7
  CredentialSourceWireSchema2,
8
8
  JournalEntrySchema2,
9
9
  SettingOutcomeSchema2
10
- } from "../chunks/browser-e5xgzd28.js";
11
- import"../chunks/browser-mnejgne0.js";
10
+ } from "../chunks/browser-s2xe7c21.js";
11
+ import"../chunks/browser-0chm3654.js";
12
12
  import"../chunks/browser-6e1madxa.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-4et7qtz3.js";
@@ -237,6 +237,7 @@ export declare const DurableEventType: Type.TUnion<[Type.TObject<{
237
237
  previous: Type.TUnsafe<import("./ids.ts").Id<"message">>;
238
238
  stopped: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
239
239
  }>, Type.TNull]>;
240
+ requires: Type.TOptional<Type.TArray<Type.TString>>;
240
241
  kind: Type.TLiteral<"input">;
241
242
  message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
242
243
  }>, Type.TObject<{
@@ -520,6 +521,7 @@ export declare const DurableEventType: Type.TUnion<[Type.TObject<{
520
521
  added: Type.TNumber;
521
522
  removed: Type.TNumber;
522
523
  paths: Type.TArray<Type.TString>;
524
+ unattributed: Type.TOptional<Type.TLiteral<true>>;
523
525
  }>, Type.TNull]>;
524
526
  kind: Type.TLiteral<"call">;
525
527
  call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
@@ -1043,6 +1045,7 @@ export declare const SessionEventType: Type.TUnion<[Type.TObject<{
1043
1045
  previous: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1044
1046
  stopped: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1045
1047
  }>, Type.TNull]>;
1048
+ requires: Type.TOptional<Type.TArray<Type.TString>>;
1046
1049
  kind: Type.TLiteral<"input">;
1047
1050
  message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1048
1051
  }>, Type.TObject<{
@@ -1366,6 +1369,7 @@ export declare const SessionEventType: Type.TUnion<[Type.TObject<{
1366
1369
  added: Type.TNumber;
1367
1370
  removed: Type.TNumber;
1368
1371
  paths: Type.TArray<Type.TString>;
1372
+ unattributed: Type.TOptional<Type.TLiteral<true>>;
1369
1373
  }>, Type.TNull]>;
1370
1374
  kind: Type.TLiteral<"call">;
1371
1375
  call: Type.TUnsafe<import("./ids.ts").Id<"call">>;