@nyte-ai/schema 0.0.27 → 0.0.28-nightly.20261107.65
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/dist/chunks/{browser-103r6swq.js → browser-0kdqhcf2.js} +5 -5
- package/dist/chunks/{browser-hmjz4pq1.js → browser-1wzzaf00.js} +10 -10
- package/dist/chunks/{browser-k9aksshj.js → browser-2s03yysq.js} +1 -1
- package/dist/chunks/{browser-8aeqa34r.js → browser-3myqvnft.js} +46 -5
- package/dist/chunks/{browser-xd8gxrhc.js → browser-3yt1bbj9.js} +1 -1
- package/dist/chunks/browser-4dzhehen.js +69 -0
- package/dist/chunks/{browser-nfx3qey6.js → browser-4hcfba2a.js} +1 -1
- package/dist/chunks/{browser-m0mvb774.js → browser-5bcnn8va.js} +1 -1
- package/dist/chunks/{browser-hj9h95j8.js → browser-7dsfv5qz.js} +1 -1
- package/dist/chunks/{browser-b65vf90n.js → browser-7q33bf79.js} +11 -11
- package/dist/chunks/{browser-y54qh224.js → browser-7tpdsfb8.js} +4 -4
- package/dist/chunks/{browser-4vkqb1ak.js → browser-98xj4559.js} +3 -3
- package/dist/chunks/{browser-e9zs4tr5.js → browser-cdx0ke6f.js} +3 -3
- package/dist/chunks/{browser-sj6zjph8.js → browser-cehps7q8.js} +1 -1
- package/dist/chunks/{browser-vmx34zex.js → browser-dxr8phth.js} +1 -1
- package/dist/chunks/{browser-9exss9bd.js → browser-e59h6690.js} +25 -2
- package/dist/chunks/{browser-he3c157t.js → browser-fgg4722d.js} +2 -2
- package/dist/chunks/{browser-1d594pfy.js → browser-gj15ckh8.js} +10 -6
- package/dist/chunks/{browser-40hrvphv.js → browser-jngemyw8.js} +1 -1
- package/dist/chunks/{browser-va00q82t.js → browser-jxgpp9j2.js} +9 -9
- package/dist/chunks/{browser-1fkzxxj0.js → browser-k183a54j.js} +4 -4
- package/dist/chunks/{browser-n0nykn4c.js → browser-ktqnh7fk.js} +2 -2
- package/dist/chunks/{browser-snb9f77r.js → browser-mf4wp575.js} +1 -1
- package/dist/chunks/{browser-9jds4zd3.js → browser-ngw873cp.js} +9 -9
- package/dist/chunks/{browser-ggsck4tk.js → browser-nkkjj9yk.js} +4 -4
- package/dist/chunks/{browser-peqre1gb.js → browser-nmbcrr48.js} +11 -11
- package/dist/chunks/{browser-6kfxrya6.js → browser-r1x6tezc.js} +2 -2
- package/dist/chunks/{browser-kj15rn0m.js → browser-sja511xm.js} +1 -1
- package/dist/chunks/{browser-nyax6822.js → browser-ta49wp4e.js} +4 -4
- package/dist/chunks/{browser-zpmvm43p.js → browser-trecsz5j.js} +1 -1
- package/dist/chunks/{browser-kevgsmcz.js → browser-tst3fw3r.js} +2 -1
- package/dist/chunks/{browser-73zgb7zt.js → browser-tzs8b7pg.js} +1 -1
- package/dist/chunks/{browser-8892y5ht.js → browser-wgt94trx.js} +4 -4
- package/dist/chunks/{browser-zzv5wce6.js → browser-xwx6qdvp.js} +15 -8
- package/dist/chunks/{browser-2de97wy9.js → browser-z6hjtqk0.js} +30 -10
- package/dist/src/browser.js +2 -2
- package/dist/src/configuration.js +3 -3
- package/dist/src/connection.d.ts +23 -2
- package/dist/src/connection.js +13 -12
- package/dist/src/errors.d.ts +0 -1
- package/dist/src/errors.js +2 -2
- package/dist/src/events.d.ts +2 -0
- package/dist/src/events.js +15 -14
- package/dist/src/files.d.ts +44 -0
- package/dist/src/files.js +14 -2
- package/dist/src/git.d.ts +0 -2
- package/dist/src/git.js +3 -3
- package/dist/src/github.d.ts +0 -6
- package/dist/src/heads.js +6 -6
- package/dist/src/hooks.js +5 -5
- package/dist/src/host.d.ts +0 -3
- package/dist/src/host.js +3 -3
- package/dist/src/ids.d.ts +3 -0
- package/dist/src/ids.js +3 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +66 -34
- package/dist/src/jobs.d.ts +0 -1
- package/dist/src/jobs.js +2 -2
- package/dist/src/json.d.ts +0 -1
- package/dist/src/mcp.d.ts +0 -2
- package/dist/src/mcp.js +3 -3
- package/dist/src/messages.js +2 -2
- package/dist/src/models.js +2 -2
- package/dist/src/parts.js +7 -7
- package/dist/src/patch.d.ts +0 -1
- package/dist/src/primitives.d.ts +0 -1
- package/dist/src/primitives.js +2 -2
- package/dist/src/projects.d.ts +107 -0
- package/dist/src/projects.js +24 -0
- package/dist/src/runs.js +5 -5
- package/dist/src/schema.d.ts +0 -1
- package/dist/src/serial.d.ts +0 -2
- package/dist/src/sessions.d.ts +17 -3
- package/dist/src/sessions.js +10 -9
- package/dist/src/socket.js +4 -4
- package/dist/src/store.d.ts +1 -0
- package/dist/src/store.js +16 -15
- package/dist/src/tools.js +2 -2
- package/dist/src/views.js +15 -14
- package/dist/src/wire/operations/browser.js +4 -4
- package/dist/src/wire/operations/events.js +6 -6
- package/dist/src/wire/operations/fields.d.ts +0 -1
- package/dist/src/wire/operations/fields.js +2 -2
- package/dist/src/wire/operations/files.d.ts +121 -1
- package/dist/src/wire/operations/files.js +4 -4
- package/dist/src/wire/operations/git.js +6 -6
- package/dist/src/wire/operations/github.js +3 -3
- package/dist/src/wire/operations/host.d.ts +122 -0
- package/dist/src/wire/operations/host.js +16 -15
- package/dist/src/wire/operations/index.d.ts +259 -4
- package/dist/src/wire/operations/index.js +32 -31
- package/dist/src/wire/operations/session.d.ts +1 -0
- package/dist/src/wire/operations/session.js +18 -17
- package/dist/src/wire/operations/workspace.d.ts +13 -0
- package/dist/src/wire/operations/workspace.js +16 -15
- package/dist/src/workspaces.d.ts +0 -1
- package/dist/src/workspaces.js +2 -2
- package/package.json +1 -1
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
} from "./browser-1syehtzx.js";
|
|
7
7
|
import {
|
|
8
8
|
idSchema2
|
|
9
|
-
} from "./browser-
|
|
9
|
+
} from "./browser-tst3fw3r.js";
|
|
10
10
|
import {
|
|
11
11
|
nullable2
|
|
12
12
|
} from "./browser-4et7qtz3.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelRefType2
|
|
15
|
-
} from "./browser-
|
|
15
|
+
} from "./browser-sja511xm.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigurationType2
|
|
18
|
-
} from "./browser-
|
|
18
|
+
} from "./browser-7dsfv5qz.js";
|
|
19
19
|
import {
|
|
20
20
|
ValidationIssueType2
|
|
21
|
-
} from "./browser-
|
|
21
|
+
} from "./browser-cehps7q8.js";
|
|
22
22
|
import {
|
|
23
23
|
DeliveryType2,
|
|
24
24
|
UserContentType2,
|
|
25
25
|
PositionType2,
|
|
26
26
|
MessageSourceType2
|
|
27
|
-
} from "./browser-
|
|
27
|
+
} from "./browser-3yt1bbj9.js";
|
|
28
28
|
|
|
29
29
|
// src/heads.ts
|
|
30
30
|
import { Type } from "typebox";
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./browser-1syehtzx.js";
|
|
5
5
|
import {
|
|
6
6
|
idSchema2
|
|
7
|
-
} from "./browser-
|
|
7
|
+
} from "./browser-tst3fw3r.js";
|
|
8
8
|
import {
|
|
9
9
|
nullable2
|
|
10
10
|
} from "./browser-4et7qtz3.js";
|
|
11
11
|
import {
|
|
12
12
|
ConfigurationPatchType2
|
|
13
|
-
} from "./browser-
|
|
13
|
+
} from "./browser-7dsfv5qz.js";
|
|
14
14
|
import {
|
|
15
15
|
ValidationIssueType2
|
|
16
|
-
} from "./browser-
|
|
16
|
+
} from "./browser-cehps7q8.js";
|
|
17
17
|
import {
|
|
18
18
|
UserContentType2,
|
|
19
19
|
PositionType2
|
|
20
|
-
} from "./browser-
|
|
20
|
+
} from "./browser-3yt1bbj9.js";
|
|
21
21
|
import {
|
|
22
22
|
MoveOutcomeType2,
|
|
23
23
|
HoldLeaseType2,
|
|
@@ -30,16 +30,16 @@ import {
|
|
|
30
30
|
MergeOutcomeSchema2,
|
|
31
31
|
RemoveHeadOutcomeSchema2,
|
|
32
32
|
ConfigureOutcomeSchema2
|
|
33
|
-
} from "./browser-
|
|
33
|
+
} from "./browser-0kdqhcf2.js";
|
|
34
34
|
import {
|
|
35
35
|
RunEndType2,
|
|
36
36
|
stopOutcomeSchema2,
|
|
37
37
|
RunEndSchema2
|
|
38
|
-
} from "./browser-
|
|
38
|
+
} from "./browser-nkkjj9yk.js";
|
|
39
39
|
import {
|
|
40
40
|
PlacementType2,
|
|
41
41
|
actOutcomeSchema2
|
|
42
|
-
} from "./browser-
|
|
42
|
+
} from "./browser-ta49wp4e.js";
|
|
43
43
|
import {
|
|
44
44
|
SessionInfoSchema2,
|
|
45
45
|
CommandOutcomeSchema2,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
UpdateOutcomeSchema2,
|
|
48
48
|
RemoveSessionOutcomeSchema2,
|
|
49
49
|
ForkOutcomeSchema2
|
|
50
|
-
} from "./browser-
|
|
50
|
+
} from "./browser-xwx6qdvp.js";
|
|
51
51
|
import {
|
|
52
52
|
ViewOptionsType2,
|
|
53
53
|
UserStatusType2,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
ResumeType2,
|
|
57
57
|
HeadWindowType2,
|
|
58
58
|
SessionViewSchema2
|
|
59
|
-
} from "./browser-
|
|
59
|
+
} from "./browser-jxgpp9j2.js";
|
|
60
60
|
import {
|
|
61
61
|
wireSchema2,
|
|
62
62
|
wireObject2,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
NOTHING2,
|
|
65
65
|
ON_SESSION2,
|
|
66
66
|
RECEIPT_ID2
|
|
67
|
-
} from "./browser-
|
|
67
|
+
} from "./browser-tzs8b7pg.js";
|
|
68
68
|
|
|
69
69
|
// src/wire/operations/session.ts
|
|
70
70
|
import { Type } from "typebox";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
idSchema2,
|
|
3
3
|
BlobIdSchema2
|
|
4
|
-
} from "./browser-
|
|
4
|
+
} from "./browser-tst3fw3r.js";
|
|
5
5
|
import {
|
|
6
6
|
nullable2
|
|
7
7
|
} from "./browser-4et7qtz3.js";
|
|
@@ -13,8 +13,11 @@ import {
|
|
|
13
13
|
SearchFrameSchema2,
|
|
14
14
|
FormatOutcomeSchema2,
|
|
15
15
|
WriteOutcomeSchema2,
|
|
16
|
+
TransferOutcomeSchema2,
|
|
17
|
+
TrashOutcomeSchema2,
|
|
18
|
+
RestoreOutcomeSchema2,
|
|
16
19
|
FileDocumentSchema2
|
|
17
|
-
} from "./browser-
|
|
20
|
+
} from "./browser-e59h6690.js";
|
|
18
21
|
import {
|
|
19
22
|
wireSchema2,
|
|
20
23
|
wireObject2,
|
|
@@ -24,7 +27,7 @@ import {
|
|
|
24
27
|
ON_WORKSPACE2,
|
|
25
28
|
ON_PATH2,
|
|
26
29
|
RECEIPT_ID2
|
|
27
|
-
} from "./browser-
|
|
30
|
+
} from "./browser-tzs8b7pg.js";
|
|
28
31
|
|
|
29
32
|
// src/wire/operations/files.ts
|
|
30
33
|
import { Type } from "typebox";
|
|
@@ -89,9 +92,44 @@ var FILE_OPERATIONS2 = {
|
|
|
89
92
|
}),
|
|
90
93
|
output: WriteOutcomeSchema2
|
|
91
94
|
},
|
|
95
|
+
"files.move": {
|
|
96
|
+
...FILES,
|
|
97
|
+
summary: "Moves or renames a file or folder in one step, refusing to replace anything.",
|
|
98
|
+
kind: "command",
|
|
99
|
+
input: wireObject2({ ...WORKSPACE2, from: Type.String(), to: Type.String() }),
|
|
100
|
+
output: TransferOutcomeSchema2
|
|
101
|
+
},
|
|
102
|
+
"files.copy": {
|
|
103
|
+
...FILES,
|
|
104
|
+
summary: "Copies a file or folder with its links and modes, refusing to replace anything.",
|
|
105
|
+
kind: "command",
|
|
106
|
+
input: wireObject2({ ...WORKSPACE2, from: Type.String(), to: Type.String() }),
|
|
107
|
+
output: TransferOutcomeSchema2
|
|
108
|
+
},
|
|
109
|
+
"files.mkdir": {
|
|
110
|
+
...FILES,
|
|
111
|
+
summary: "Creates a folder and any missing parents.",
|
|
112
|
+
kind: "command",
|
|
113
|
+
input: ON_PATH2,
|
|
114
|
+
output: TransferOutcomeSchema2
|
|
115
|
+
},
|
|
116
|
+
"files.trash": {
|
|
117
|
+
...FILES,
|
|
118
|
+
summary: "Deletes a file or folder into a hold that a restore undoes until the host restarts.",
|
|
119
|
+
kind: "command",
|
|
120
|
+
input: ON_PATH2,
|
|
121
|
+
output: TrashOutcomeSchema2
|
|
122
|
+
},
|
|
123
|
+
"files.restore": {
|
|
124
|
+
...FILES,
|
|
125
|
+
summary: "Puts a trashed file or folder back where it was.",
|
|
126
|
+
kind: "command",
|
|
127
|
+
input: wireObject2({ ...WORKSPACE2, token: idSchema2() }),
|
|
128
|
+
output: RestoreOutcomeSchema2
|
|
129
|
+
},
|
|
92
130
|
"files.batch": {
|
|
93
131
|
...FILES,
|
|
94
|
-
summary: "Writes and
|
|
132
|
+
summary: "Writes, removes, moves and copies files and folders together under one receipt.",
|
|
95
133
|
kind: "receipt",
|
|
96
134
|
recovery: "replay",
|
|
97
135
|
input: wireObject2({
|
|
@@ -108,7 +146,10 @@ var FILE_OPERATIONS2 = {
|
|
|
108
146
|
kind: Type.Literal("remove"),
|
|
109
147
|
path: Type.String(),
|
|
110
148
|
expect: Type.Optional(idSchema2())
|
|
111
|
-
})
|
|
149
|
+
}),
|
|
150
|
+
Type.Object({ kind: Type.Literal("move"), path: Type.String(), to: Type.String() }),
|
|
151
|
+
Type.Object({ kind: Type.Literal("copy"), path: Type.String(), to: Type.String() }),
|
|
152
|
+
Type.Object({ kind: Type.Literal("mkdir"), path: Type.String() })
|
|
112
153
|
]))
|
|
113
154
|
}),
|
|
114
155
|
output: RECEIPT_ID2
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
standard2
|
|
3
|
+
} from "./browser-8k7kh9y4.js";
|
|
4
|
+
import {
|
|
5
|
+
idSchema2
|
|
6
|
+
} from "./browser-tst3fw3r.js";
|
|
7
|
+
import {
|
|
8
|
+
nullable2
|
|
9
|
+
} from "./browser-4et7qtz3.js";
|
|
10
|
+
import {
|
|
11
|
+
ModelRefType2
|
|
12
|
+
} from "./browser-sja511xm.js";
|
|
13
|
+
|
|
14
|
+
// src/projects.ts
|
|
15
|
+
import { Type } from "typebox";
|
|
16
|
+
var ProjectModelsType2 = Type.Object({
|
|
17
|
+
coordinator: nullable2(ModelRefType2),
|
|
18
|
+
agents: nullable2(ModelRefType2)
|
|
19
|
+
});
|
|
20
|
+
var ProjectInfoType2 = Type.Object({
|
|
21
|
+
id: idSchema2(),
|
|
22
|
+
name: Type.String({ minLength: 1, maxLength: 80 }),
|
|
23
|
+
workspace: idSchema2(),
|
|
24
|
+
coordinator: nullable2(idSchema2()),
|
|
25
|
+
models: ProjectModelsType2,
|
|
26
|
+
instructions: Type.String(),
|
|
27
|
+
skills: Type.Array(Type.String()),
|
|
28
|
+
disabledMcp: Type.Array(Type.String()),
|
|
29
|
+
disabledDocs: Type.Array(Type.String()),
|
|
30
|
+
archived: Type.Boolean(),
|
|
31
|
+
createdAt: Type.Number()
|
|
32
|
+
});
|
|
33
|
+
var PROJECT_EDITABLE2 = [
|
|
34
|
+
"name",
|
|
35
|
+
"models",
|
|
36
|
+
"instructions",
|
|
37
|
+
"skills",
|
|
38
|
+
"disabledMcp",
|
|
39
|
+
"disabledDocs",
|
|
40
|
+
"archived"
|
|
41
|
+
];
|
|
42
|
+
var ProjectPatchType2 = Type.Partial(Type.Pick(ProjectInfoType2, PROJECT_EDITABLE2), {
|
|
43
|
+
additionalProperties: false
|
|
44
|
+
});
|
|
45
|
+
var ProjectInputType2 = Type.Pick(ProjectInfoType2, [
|
|
46
|
+
"name",
|
|
47
|
+
"workspace",
|
|
48
|
+
"models",
|
|
49
|
+
"instructions",
|
|
50
|
+
"skills",
|
|
51
|
+
"disabledMcp",
|
|
52
|
+
"disabledDocs"
|
|
53
|
+
]);
|
|
54
|
+
var ProjectInfoSchema2 = standard2(ProjectInfoType2);
|
|
55
|
+
var SharedDocType2 = Type.Object({
|
|
56
|
+
id: Type.String(),
|
|
57
|
+
name: Type.String(),
|
|
58
|
+
scope: Type.Enum(["user", "project"]),
|
|
59
|
+
location: Type.String(),
|
|
60
|
+
description: Type.String()
|
|
61
|
+
});
|
|
62
|
+
var ContextFileType2 = Type.Object({
|
|
63
|
+
id: Type.String(),
|
|
64
|
+
name: Type.String(),
|
|
65
|
+
scope: Type.Enum(["user", "ancestor", "project"]),
|
|
66
|
+
location: Type.String()
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export { ProjectModelsType2, ProjectInfoType2, PROJECT_EDITABLE2, ProjectPatchType2, ProjectInputType2, ProjectInfoSchema2, SharedDocType2, ContextFileType2 };
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
idSchema2,
|
|
10
10
|
SeqType2
|
|
11
|
-
} from "./browser-
|
|
11
|
+
} from "./browser-tst3fw3r.js";
|
|
12
12
|
import {
|
|
13
13
|
nullable2
|
|
14
14
|
} from "./browser-4et7qtz3.js";
|
|
@@ -16,42 +16,42 @@ import {
|
|
|
16
16
|
ModelRefType2,
|
|
17
17
|
UsageType2,
|
|
18
18
|
ContextViewType2
|
|
19
|
-
} from "./browser-
|
|
19
|
+
} from "./browser-sja511xm.js";
|
|
20
20
|
import {
|
|
21
21
|
ConfigurationType2
|
|
22
|
-
} from "./browser-
|
|
22
|
+
} from "./browser-7dsfv5qz.js";
|
|
23
23
|
import {
|
|
24
24
|
FailureType2
|
|
25
|
-
} from "./browser-
|
|
25
|
+
} from "./browser-cehps7q8.js";
|
|
26
26
|
import {
|
|
27
27
|
FileChangeType2
|
|
28
|
-
} from "./browser-
|
|
28
|
+
} from "./browser-e59h6690.js";
|
|
29
29
|
import {
|
|
30
30
|
DeliveryType2,
|
|
31
31
|
UserContentType2,
|
|
32
32
|
MessageSourceType2,
|
|
33
33
|
ScheduleType2
|
|
34
|
-
} from "./browser-
|
|
34
|
+
} from "./browser-3yt1bbj9.js";
|
|
35
35
|
import {
|
|
36
36
|
RunViewType2,
|
|
37
37
|
RunEndType2,
|
|
38
38
|
WaitTargetType2,
|
|
39
39
|
BackgroundItemType2
|
|
40
|
-
} from "./browser-
|
|
40
|
+
} from "./browser-nkkjj9yk.js";
|
|
41
41
|
import {
|
|
42
42
|
ToolOutcomeType2,
|
|
43
43
|
ToolProgressType2
|
|
44
|
-
} from "./browser-
|
|
44
|
+
} from "./browser-jngemyw8.js";
|
|
45
45
|
import {
|
|
46
46
|
PlacementType2,
|
|
47
47
|
ToolChangesType2
|
|
48
|
-
} from "./browser-
|
|
48
|
+
} from "./browser-ta49wp4e.js";
|
|
49
49
|
import {
|
|
50
50
|
ActivationType2
|
|
51
|
-
} from "./browser-
|
|
51
|
+
} from "./browser-trecsz5j.js";
|
|
52
52
|
import {
|
|
53
53
|
SessionInfoType2
|
|
54
|
-
} from "./browser-
|
|
54
|
+
} from "./browser-xwx6qdvp.js";
|
|
55
55
|
|
|
56
56
|
// src/events.ts
|
|
57
57
|
import { Type } from "typebox";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
idSchema2
|
|
3
|
-
} from "./browser-
|
|
3
|
+
} from "./browser-tst3fw3r.js";
|
|
4
4
|
import {
|
|
5
5
|
SdkErrorWireType2
|
|
6
|
-
} from "./browser-
|
|
6
|
+
} from "./browser-cehps7q8.js";
|
|
7
7
|
import {
|
|
8
8
|
JsonType2
|
|
9
9
|
} from "./browser-1syehtzx.js";
|
|
10
10
|
import {
|
|
11
11
|
ClientRowType2
|
|
12
|
-
} from "./browser-
|
|
12
|
+
} from "./browser-cdx0ke6f.js";
|
|
13
13
|
import {
|
|
14
14
|
wireSchema2,
|
|
15
15
|
wireObject2,
|
|
16
16
|
NOTHING2
|
|
17
|
-
} from "./browser-
|
|
17
|
+
} from "./browser-tzs8b7pg.js";
|
|
18
18
|
|
|
19
19
|
// src/wire/operations/events.ts
|
|
20
20
|
import { Type } from "typebox";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
idSchema2
|
|
3
|
-
} from "./browser-
|
|
3
|
+
} from "./browser-tst3fw3r.js";
|
|
4
4
|
import {
|
|
5
5
|
PageInfoType2,
|
|
6
6
|
ConsoleEntryType2,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PageViewSchema2,
|
|
9
9
|
PageSnapshotSchema2,
|
|
10
10
|
PageOutcomeSchema2
|
|
11
|
-
} from "./browser-
|
|
11
|
+
} from "./browser-4hcfba2a.js";
|
|
12
12
|
import {
|
|
13
13
|
JsonType2
|
|
14
14
|
} from "./browser-1syehtzx.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
NOTHING2,
|
|
20
20
|
BYTES2,
|
|
21
21
|
ON_WORKSPACE2
|
|
22
|
-
} from "./browser-
|
|
22
|
+
} from "./browser-tzs8b7pg.js";
|
|
23
23
|
|
|
24
24
|
// src/wire/operations/browser.ts
|
|
25
25
|
import { Type } from "typebox";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
idSchema2
|
|
3
|
-
} from "./browser-
|
|
3
|
+
} from "./browser-tst3fw3r.js";
|
|
4
4
|
import {
|
|
5
5
|
SdkErrorWireType2
|
|
6
|
-
} from "./browser-
|
|
6
|
+
} from "./browser-cehps7q8.js";
|
|
7
7
|
import {
|
|
8
8
|
JsonType2
|
|
9
9
|
} from "./browser-1syehtzx.js";
|
|
10
10
|
import {
|
|
11
11
|
ToolProgressType2
|
|
12
|
-
} from "./browser-
|
|
12
|
+
} from "./browser-jngemyw8.js";
|
|
13
13
|
|
|
14
14
|
// src/socket.ts
|
|
15
15
|
import { Type } from "typebox";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./browser-8k7kh9y4.js";
|
|
4
4
|
import {
|
|
5
5
|
idSchema2
|
|
6
|
-
} from "./browser-
|
|
6
|
+
} from "./browser-tst3fw3r.js";
|
|
7
7
|
import {
|
|
8
8
|
nullable2
|
|
9
9
|
} from "./browser-4et7qtz3.js";
|
|
@@ -76,6 +76,26 @@ var WriteOutcomeType2 = Type.Union([
|
|
|
76
76
|
Type.Object({ kind: Type.Literal("stale"), current: nullable2(idSchema2()) }),
|
|
77
77
|
Type.Object({ kind: Type.Literal("missing-parent") })
|
|
78
78
|
]);
|
|
79
|
+
var TransferOutcomeType2 = Type.Union([
|
|
80
|
+
Type.Object({ kind: Type.Literal("done") }),
|
|
81
|
+
Type.Object({ kind: Type.Literal("stale"), reason: Type.Enum(["missing", "exists"]) }),
|
|
82
|
+
Type.Object({
|
|
83
|
+
kind: Type.Literal("invalid"),
|
|
84
|
+
reason: Type.Enum(["root", "outside", "into-itself", "cross-device", "not-a-folder"])
|
|
85
|
+
}),
|
|
86
|
+
Type.Object({ kind: Type.Literal("busy") })
|
|
87
|
+
]);
|
|
88
|
+
var TrashOutcomeType2 = Type.Union([
|
|
89
|
+
Type.Object({ kind: Type.Literal("trashed"), token: idSchema2() }),
|
|
90
|
+
Type.Object({ kind: Type.Literal("stale") }),
|
|
91
|
+
Type.Object({ kind: Type.Literal("invalid"), reason: Type.Enum(["root", "outside"]) }),
|
|
92
|
+
Type.Object({ kind: Type.Literal("unavailable") }),
|
|
93
|
+
Type.Object({ kind: Type.Literal("busy") })
|
|
94
|
+
]);
|
|
95
|
+
var RestoreOutcomeType2 = Type.Union([
|
|
96
|
+
Type.Object({ kind: Type.Literal("restored") }),
|
|
97
|
+
Type.Object({ kind: Type.Literal("stale"), reason: Type.Enum(["exists", "expired"]) })
|
|
98
|
+
]);
|
|
79
99
|
var BatchOutcomeType2 = Type.Union([
|
|
80
100
|
Type.Object({
|
|
81
101
|
kind: Type.Literal("applied"),
|
|
@@ -120,6 +140,9 @@ var SearchFrameSchema2 = standard2(SearchFrameType2);
|
|
|
120
140
|
var FormatOutcomeSchema2 = standard2(FormatOutcomeType2);
|
|
121
141
|
var WriteOutcomeSchema2 = standard2(WriteOutcomeType2);
|
|
122
142
|
var BatchOutcomeSchema2 = standard2(BatchOutcomeType2);
|
|
143
|
+
var TransferOutcomeSchema2 = standard2(TransferOutcomeType2);
|
|
144
|
+
var TrashOutcomeSchema2 = standard2(TrashOutcomeType2);
|
|
145
|
+
var RestoreOutcomeSchema2 = standard2(RestoreOutcomeType2);
|
|
123
146
|
var FileDocumentSchema2 = standard2(FileDocumentType2);
|
|
124
147
|
|
|
125
|
-
export { FileStatusType2, FileChangeType2, FileEntryViewType2, FileEventType2, ScanFrameType2, SearchInputType2, SearchFrameType2, FormatOutcomeType2, WriteOutcomeType2, BatchOutcomeType2, FileDocumentType2, FileStatusSchema2, FileChangeSchema2, FileEntryViewSchema2, FileEventSchema2, ScanFrameSchema2, SearchFrameSchema2, FormatOutcomeSchema2, WriteOutcomeSchema2, BatchOutcomeSchema2, FileDocumentSchema2 };
|
|
148
|
+
export { FileStatusType2, FileChangeType2, FileEntryViewType2, FileEventType2, ScanFrameType2, SearchInputType2, SearchFrameType2, FormatOutcomeType2, WriteOutcomeType2, TransferOutcomeType2, TrashOutcomeType2, RestoreOutcomeType2, BatchOutcomeType2, FileDocumentType2, FileStatusSchema2, FileChangeSchema2, FileEntryViewSchema2, FileEventSchema2, ScanFrameSchema2, SearchFrameSchema2, FormatOutcomeSchema2, WriteOutcomeSchema2, BatchOutcomeSchema2, TransferOutcomeSchema2, TrashOutcomeSchema2, RestoreOutcomeSchema2, FileDocumentSchema2 };
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./browser-8k7kh9y4.js";
|
|
4
4
|
import {
|
|
5
5
|
idSchema2
|
|
6
|
-
} from "./browser-
|
|
6
|
+
} from "./browser-tst3fw3r.js";
|
|
7
7
|
import {
|
|
8
8
|
nullable2
|
|
9
9
|
} from "./browser-4et7qtz3.js";
|
|
10
10
|
import {
|
|
11
11
|
FileStatusType2,
|
|
12
12
|
FileChangeType2
|
|
13
|
-
} from "./browser-
|
|
13
|
+
} from "./browser-e59h6690.js";
|
|
14
14
|
|
|
15
15
|
// src/git.ts
|
|
16
16
|
import { Type } from "typebox";
|
|
@@ -3,29 +3,32 @@ import {
|
|
|
3
3
|
} from "./browser-8k7kh9y4.js";
|
|
4
4
|
import {
|
|
5
5
|
idSchema2
|
|
6
|
-
} from "./browser-
|
|
6
|
+
} from "./browser-tst3fw3r.js";
|
|
7
7
|
import {
|
|
8
8
|
nullable2
|
|
9
9
|
} from "./browser-4et7qtz3.js";
|
|
10
10
|
import {
|
|
11
11
|
ValidationIssueType2
|
|
12
|
-
} from "./browser-
|
|
12
|
+
} from "./browser-cehps7q8.js";
|
|
13
13
|
import {
|
|
14
14
|
withJson2
|
|
15
15
|
} from "./browser-1syehtzx.js";
|
|
16
16
|
import {
|
|
17
17
|
UserContentType2
|
|
18
|
-
} from "./browser-
|
|
18
|
+
} from "./browser-3yt1bbj9.js";
|
|
19
19
|
import {
|
|
20
20
|
SendOptionsType2
|
|
21
|
-
} from "./browser-
|
|
21
|
+
} from "./browser-0kdqhcf2.js";
|
|
22
22
|
import {
|
|
23
23
|
AuthorityType2,
|
|
24
24
|
TailnetStatusType2
|
|
25
|
-
} from "./browser-
|
|
25
|
+
} from "./browser-r1x6tezc.js";
|
|
26
|
+
import {
|
|
27
|
+
ProjectInfoType2
|
|
28
|
+
} from "./browser-4dzhehen.js";
|
|
26
29
|
import {
|
|
27
30
|
SettingInfoType2
|
|
28
|
-
} from "./browser-
|
|
31
|
+
} from "./browser-xwx6qdvp.js";
|
|
29
32
|
|
|
30
33
|
// src/connection.ts
|
|
31
34
|
import { Type } from "typebox";
|
|
@@ -61,6 +64,7 @@ var HostViewWireType2 = Type.Object({
|
|
|
61
64
|
blob: idSchema2()
|
|
62
65
|
})),
|
|
63
66
|
defaultWorkspace: nullable2(idSchema2()),
|
|
67
|
+
projects: Type.Array(ProjectInfoType2),
|
|
64
68
|
authority: Type.Array(AuthorityType2),
|
|
65
69
|
principal: idSchema2(),
|
|
66
70
|
tailnet: Type.Optional(TailnetStatusType2)
|
|
@@ -7,43 +7,43 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
idSchema2,
|
|
9
9
|
SeqType2
|
|
10
|
-
} from "./browser-
|
|
10
|
+
} from "./browser-tst3fw3r.js";
|
|
11
11
|
import {
|
|
12
12
|
nullable2
|
|
13
13
|
} from "./browser-4et7qtz3.js";
|
|
14
14
|
import {
|
|
15
15
|
UsageType2,
|
|
16
16
|
ContextViewType2
|
|
17
|
-
} from "./browser-
|
|
17
|
+
} from "./browser-sja511xm.js";
|
|
18
18
|
import {
|
|
19
19
|
ConfigurationType2
|
|
20
|
-
} from "./browser-
|
|
20
|
+
} from "./browser-7dsfv5qz.js";
|
|
21
21
|
import {
|
|
22
22
|
FileChangeType2
|
|
23
|
-
} from "./browser-
|
|
23
|
+
} from "./browser-e59h6690.js";
|
|
24
24
|
import {
|
|
25
25
|
DeliveryType2,
|
|
26
26
|
UserContentType2,
|
|
27
27
|
MessageSourceType2,
|
|
28
28
|
ScheduleType2,
|
|
29
29
|
WaitingScheduleType2
|
|
30
|
-
} from "./browser-
|
|
30
|
+
} from "./browser-3yt1bbj9.js";
|
|
31
31
|
import {
|
|
32
32
|
RunEndType2,
|
|
33
33
|
WaitTargetType2,
|
|
34
34
|
ExecutionType2,
|
|
35
35
|
BackgroundItemType2
|
|
36
|
-
} from "./browser-
|
|
36
|
+
} from "./browser-nkkjj9yk.js";
|
|
37
37
|
import {
|
|
38
38
|
PartStatusType2,
|
|
39
39
|
PartViewType2
|
|
40
|
-
} from "./browser-
|
|
40
|
+
} from "./browser-ta49wp4e.js";
|
|
41
41
|
import {
|
|
42
42
|
ActivationType2
|
|
43
|
-
} from "./browser-
|
|
43
|
+
} from "./browser-trecsz5j.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionCatalogViewType2
|
|
46
|
-
} from "./browser-
|
|
46
|
+
} from "./browser-xwx6qdvp.js";
|
|
47
47
|
|
|
48
48
|
// src/views.ts
|
|
49
49
|
import { Type } from "typebox";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
idSchema2
|
|
3
|
-
} from "./browser-
|
|
3
|
+
} from "./browser-tst3fw3r.js";
|
|
4
4
|
import {
|
|
5
5
|
GitCommitViewType2,
|
|
6
6
|
GitScopeType2,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
ChangeSetSchema2,
|
|
14
14
|
PatchSetWireSchema2,
|
|
15
15
|
GitOutcomeSchema2
|
|
16
|
-
} from "./browser-
|
|
16
|
+
} from "./browser-fgg4722d.js";
|
|
17
17
|
import {
|
|
18
18
|
pagedSchema2
|
|
19
|
-
} from "./browser-
|
|
19
|
+
} from "./browser-dxr8phth.js";
|
|
20
20
|
import {
|
|
21
21
|
wireObject2,
|
|
22
22
|
WORKSPACE2,
|
|
23
23
|
PATH2,
|
|
24
24
|
ON_WORKSPACE2,
|
|
25
25
|
ON_PATH2
|
|
26
|
-
} from "./browser-
|
|
26
|
+
} from "./browser-tzs8b7pg.js";
|
|
27
27
|
|
|
28
28
|
// src/wire/operations/git.ts
|
|
29
29
|
import { Type } from "typebox";
|