@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.
- package/THIRD-PARTY-NOTICES.md +66 -0
- package/dist/chunks/{browser-mnejgne0.js → browser-0chm3654.js} +2 -2
- package/dist/chunks/{browser-8t9anqfc.js → browser-0sbkxgkx.js} +4 -2
- package/dist/chunks/{browser-48g24pes.js → browser-0xr6c36r.js} +1 -1
- package/dist/chunks/{browser-r00v3vwv.js → browser-1nqahr9q.js} +7 -6
- package/dist/chunks/{browser-fth801bw.js → browser-3exd93gm.js} +2 -2
- package/dist/chunks/{browser-s7907azt.js → browser-8ancsy4m.js} +2 -2
- package/dist/chunks/{browser-5pvw8svn.js → browser-h5k4hqfq.js} +6 -5
- package/dist/chunks/{browser-bxz3z1v6.js → browser-hp9ze9ga.js} +22 -18
- package/dist/chunks/{browser-ad9yebg7.js → browser-j150etqf.js} +1 -1
- package/dist/chunks/{browser-pdx38ng3.js → browser-jgxe05s4.js} +6 -6
- package/dist/chunks/{browser-gchr2880.js → browser-p691tcac.js} +5 -1
- package/dist/chunks/{browser-0ebnhqs2.js → browser-pvfshqyk.js} +4 -4
- package/dist/chunks/{browser-5n1dh580.js → browser-qncc807c.js} +2 -2
- package/dist/chunks/{browser-e5xgzd28.js → browser-s2xe7c21.js} +2 -2
- package/dist/chunks/{browser-vkh2tpmf.js → browser-sgst60b0.js} +14 -4
- package/dist/chunks/{browser-7gjnxy9m.js → browser-xensz05x.js} +2 -2
- package/dist/chunks/{browser-vapnjwp3.js → browser-ynj8v9ad.js} +1 -1
- package/dist/src/configuration.js +2 -2
- package/dist/src/connection.js +6 -6
- package/dist/src/events.d.ts +2 -0
- package/dist/src/events.js +6 -6
- package/dist/src/git.d.ts +9 -0
- package/dist/src/git.js +3 -1
- package/dist/src/heads.js +3 -3
- package/dist/src/hooks.js +3 -3
- package/dist/src/index.js +21 -17
- package/dist/src/models.d.ts +5 -2
- package/dist/src/models.js +3 -1
- package/dist/src/parts.js +4 -4
- package/dist/src/runs.js +3 -3
- package/dist/src/sessions.js +4 -4
- package/dist/src/store.d.ts +2 -3
- package/dist/src/store.js +7 -7
- package/dist/src/views.d.ts +371 -3
- package/dist/src/views.js +6 -6
- package/dist/src/wire/operations/git.js +2 -2
- package/dist/src/wire/operations/host.d.ts +20 -0
- package/dist/src/wire/operations/host.js +7 -7
- package/dist/src/wire/operations/index.d.ts +411 -11
- package/dist/src/wire/operations/index.js +14 -14
- package/dist/src/wire/operations/session.d.ts +371 -3
- package/dist/src/wire/operations/session.js +8 -8
- package/dist/src/wire/operations/workspace.d.ts +20 -8
- package/dist/src/wire/operations/workspace.js +6 -6
- package/package.json +2 -2
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -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-
|
|
15
|
+
} from "./browser-0sbkxgkx.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigurationPatchType2,
|
|
18
18
|
ConfigurationType2
|
|
19
|
-
} from "./browser-
|
|
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 };
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
UsageType2,
|
|
17
17
|
ContextViewType2
|
|
18
|
-
} from "./browser-
|
|
18
|
+
} from "./browser-0sbkxgkx.js";
|
|
19
19
|
import {
|
|
20
20
|
ConfigurationType2
|
|
21
|
-
} from "./browser-
|
|
21
|
+
} from "./browser-ynj8v9ad.js";
|
|
22
22
|
import {
|
|
23
23
|
FailureType2
|
|
24
24
|
} from "./browser-1sfp0bcx.js";
|
|
@@ -36,21 +36,21 @@ import {
|
|
|
36
36
|
RunEndType2,
|
|
37
37
|
WaitTargetType2,
|
|
38
38
|
BackgroundItemType2
|
|
39
|
-
} from "./browser-
|
|
39
|
+
} from "./browser-8ancsy4m.js";
|
|
40
40
|
import {
|
|
41
41
|
ToolOutcomeType2,
|
|
42
42
|
ToolProgressType2
|
|
43
43
|
} from "./browser-h86zs54a.js";
|
|
44
44
|
import {
|
|
45
45
|
PlacementType2
|
|
46
|
-
} from "./browser-
|
|
46
|
+
} from "./browser-j150etqf.js";
|
|
47
47
|
import {
|
|
48
48
|
ActivationType2
|
|
49
49
|
} from "./browser-bg1esaw0.js";
|
|
50
50
|
import {
|
|
51
51
|
SessionInfoType2,
|
|
52
52
|
SessionCatalogViewType2
|
|
53
|
-
} from "./browser-
|
|
53
|
+
} from "./browser-xensz05x.js";
|
|
54
54
|
|
|
55
55
|
// src/events.ts
|
|
56
56
|
import { Type } from "typebox";
|
|
@@ -115,7 +115,8 @@ function durableEvent(common) {
|
|
|
115
115
|
schedule: ScheduleType2,
|
|
116
116
|
covered: Type.Boolean(),
|
|
117
117
|
configuration: ConfigurationType2,
|
|
118
|
-
replaced: REPLACED
|
|
118
|
+
replaced: REPLACED,
|
|
119
|
+
requires: Type.Optional(Type.Array(Type.String()))
|
|
119
120
|
}),
|
|
120
121
|
Type.Object({
|
|
121
122
|
...common,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./browser-4et7qtz3.js";
|
|
14
14
|
import {
|
|
15
15
|
DurableEventType2
|
|
16
|
-
} from "./browser-
|
|
16
|
+
} from "./browser-1nqahr9q.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
|
-
|
|
30
|
+
fences: Type.Optional(Type.Array(Type.String()))
|
|
31
31
|
});
|
|
32
32
|
var SetOutcomeType2 = Type.Union([
|
|
33
33
|
Type.Object({
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./browser-4et7qtz3.js";
|
|
15
15
|
import {
|
|
16
16
|
UsageType2
|
|
17
|
-
} from "./browser-
|
|
17
|
+
} from "./browser-0sbkxgkx.js";
|
|
18
18
|
import {
|
|
19
19
|
ConfigurationType2
|
|
20
|
-
} from "./browser-
|
|
20
|
+
} from "./browser-ynj8v9ad.js";
|
|
21
21
|
import {
|
|
22
22
|
FailureType2
|
|
23
23
|
} from "./browser-1sfp0bcx.js";
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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,
|
|
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
|
-
|
|
152
|
+
source: ChangeSourceType2,
|
|
152
153
|
paths: Type.Array(Type.String()),
|
|
153
154
|
options: Type.Optional(DiffOptionsType2)
|
|
154
155
|
}),
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
UsageType2,
|
|
16
16
|
ContextViewType2
|
|
17
|
-
} from "./browser-
|
|
17
|
+
} from "./browser-0sbkxgkx.js";
|
|
18
18
|
import {
|
|
19
19
|
ConfigurationType2
|
|
20
|
-
} from "./browser-
|
|
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-
|
|
35
|
+
} from "./browser-8ancsy4m.js";
|
|
36
36
|
import {
|
|
37
37
|
PartStatusType2,
|
|
38
38
|
PartViewType2
|
|
39
|
-
} from "./browser-
|
|
39
|
+
} from "./browser-j150etqf.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-
|
|
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
|
-
|
|
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),
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./browser-4et7qtz3.js";
|
|
11
11
|
import {
|
|
12
12
|
ConfigurationPatchType2
|
|
13
|
-
} from "./browser-
|
|
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-
|
|
30
|
+
} from "./browser-0chm3654.js";
|
|
31
31
|
import {
|
|
32
32
|
RunEndType2,
|
|
33
33
|
stopOutcomeSchema2,
|
|
34
34
|
RunEndSchema2
|
|
35
|
-
} from "./browser-
|
|
35
|
+
} from "./browser-8ancsy4m.js";
|
|
36
36
|
import {
|
|
37
37
|
PlacementType2,
|
|
38
38
|
actOutcomeSchema2
|
|
39
|
-
} from "./browser-
|
|
39
|
+
} from "./browser-j150etqf.js";
|
|
40
40
|
import {
|
|
41
41
|
SessionInfoSchema2,
|
|
42
42
|
CommandOutcomeSchema2,
|
|
43
43
|
CommandCompletionsSchema2,
|
|
44
44
|
UpdateOutcomeSchema2,
|
|
45
45
|
RemoveSessionOutcomeSchema2
|
|
46
|
-
} from "./browser-
|
|
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-
|
|
53
|
+
} from "./browser-hp9ze9ga.js";
|
|
54
54
|
import {
|
|
55
55
|
wireSchema2,
|
|
56
56
|
wireObject2,
|
|
@@ -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 };
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
} from "./browser-pdv675va.js";
|
|
7
7
|
import {
|
|
8
8
|
GIT_OPERATIONS2
|
|
9
|
-
} from "./browser-
|
|
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-
|
|
16
|
+
} from "./browser-sgst60b0.js";
|
|
17
17
|
import {
|
|
18
18
|
SESSION_OPERATIONS2
|
|
19
|
-
} from "./browser-
|
|
19
|
+
} from "./browser-jgxe05s4.js";
|
|
20
20
|
import {
|
|
21
21
|
WORKSPACE_OPERATIONS2
|
|
22
|
-
} from "./browser-
|
|
22
|
+
} from "./browser-h5k4hqfq.js";
|
|
23
23
|
|
|
24
24
|
// src/wire/operations/index.ts
|
|
25
25
|
var OPERATIONS2 = {
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ModelRefType2,
|
|
16
16
|
ThinkingType2
|
|
17
|
-
} from "./browser-
|
|
17
|
+
} from "./browser-0sbkxgkx.js";
|
|
18
18
|
import {
|
|
19
19
|
ConfigurationPatchType2,
|
|
20
20
|
ConfigurationType2
|
|
21
|
-
} from "./browser-
|
|
21
|
+
} from "./browser-ynj8v9ad.js";
|
|
22
22
|
import {
|
|
23
23
|
DeliveryType2,
|
|
24
24
|
UserContentType2,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
} from "./browser-hq5q56sf.js";
|
|
19
19
|
import {
|
|
20
20
|
SendOptionsType2
|
|
21
|
-
} from "./browser-
|
|
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-
|
|
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-
|
|
14
|
+
} from "./browser-0sbkxgkx.js";
|
|
14
15
|
import {
|
|
15
16
|
ConfigurationPatchType2,
|
|
16
17
|
ConfigurationType2
|
|
17
|
-
} from "./browser-
|
|
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-
|
|
37
|
+
} from "./browser-xensz05x.js";
|
|
37
38
|
import {
|
|
38
39
|
HostViewWireSchema2,
|
|
39
40
|
SettingOutcomeSchema2
|
|
40
|
-
} from "./browser-
|
|
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",
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
} from "./browser-4et7qtz3.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelRefType2
|
|
21
|
-
} from "./browser-
|
|
21
|
+
} from "./browser-0sbkxgkx.js";
|
|
22
22
|
import {
|
|
23
23
|
ExecutionType2
|
|
24
|
-
} from "./browser-
|
|
24
|
+
} from "./browser-8ancsy4m.js";
|
|
25
25
|
import {
|
|
26
26
|
ActivationType2
|
|
27
27
|
} from "./browser-bg1esaw0.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
ConfigurationType2,
|
|
4
4
|
ConfigurationPatchSchema2,
|
|
5
5
|
ConfigurationSchema2
|
|
6
|
-
} from "../chunks/browser-
|
|
7
|
-
import"../chunks/browser-
|
|
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";
|
package/dist/src/connection.js
CHANGED
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
CredentialSourceWireSchema2,
|
|
8
8
|
JournalEntrySchema2,
|
|
9
9
|
SettingOutcomeSchema2
|
|
10
|
-
} from "../chunks/browser-
|
|
11
|
-
import"../chunks/browser-
|
|
10
|
+
} from "../chunks/browser-s2xe7c21.js";
|
|
11
|
+
import"../chunks/browser-0chm3654.js";
|
|
12
12
|
import"../chunks/browser-6e1madxa.js";
|
|
13
|
-
import"../chunks/browser-
|
|
13
|
+
import"../chunks/browser-xensz05x.js";
|
|
14
14
|
import"../chunks/browser-bg1esaw0.js";
|
|
15
|
-
import"../chunks/browser-
|
|
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-
|
|
20
|
-
import"../chunks/browser-
|
|
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";
|
package/dist/src/events.d.ts
CHANGED
|
@@ -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<{
|
|
@@ -1043,6 +1044,7 @@ export declare const SessionEventType: Type.TUnion<[Type.TObject<{
|
|
|
1043
1044
|
previous: Type.TUnsafe<import("./ids.ts").Id<"message">>;
|
|
1044
1045
|
stopped: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
|
|
1045
1046
|
}>, Type.TNull]>;
|
|
1047
|
+
requires: Type.TOptional<Type.TArray<Type.TString>>;
|
|
1046
1048
|
kind: Type.TLiteral<"input">;
|
|
1047
1049
|
message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
|
|
1048
1050
|
}>, Type.TObject<{
|
package/dist/src/events.js
CHANGED
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
DurableEventSchema2,
|
|
8
8
|
SessionEventSchema2,
|
|
9
9
|
PatchEventSchema2
|
|
10
|
-
} from "../chunks/browser-
|
|
11
|
-
import"../chunks/browser-
|
|
10
|
+
} from "../chunks/browser-1nqahr9q.js";
|
|
11
|
+
import"../chunks/browser-j150etqf.js";
|
|
12
12
|
import"../chunks/browser-h86zs54a.js";
|
|
13
|
-
import"../chunks/browser-
|
|
13
|
+
import"../chunks/browser-xensz05x.js";
|
|
14
14
|
import"../chunks/browser-bg1esaw0.js";
|
|
15
|
-
import"../chunks/browser-
|
|
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-
|
|
20
|
-
import"../chunks/browser-
|
|
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
|
}>;
|