@nyte-ai/schema 0.0.24 → 0.0.25-beta.1
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-xk4psyrx.js → browser-40skw1kj.js} +1 -1
- package/dist/chunks/{browser-fnanbp6m.js → browser-5w8ywd56.js} +5 -4
- package/dist/chunks/{browser-0chm3654.js → browser-82qzgxz4.js} +13 -2
- package/dist/chunks/{browser-qncc807c.js → browser-b1pzvhs6.js} +1 -1
- package/dist/chunks/{browser-h5k4hqfq.js → browser-b1zjf2es.js} +1 -1
- package/dist/chunks/{browser-ay8k1s1m.js → browser-fw8cf4fc.js} +2 -2
- package/dist/chunks/{browser-fe66aj8v.js → browser-kmkhr82d.js} +27 -9
- package/dist/chunks/{browser-s2xe7c21.js → browser-pk5dmvrr.js} +3 -3
- package/dist/chunks/{browser-etfrcxhb.js → browser-pvrs6rs5.js} +3 -3
- package/dist/chunks/{browser-xensz05x.js → browser-t7t9fc1r.js} +1 -1
- package/dist/chunks/{browser-gzn951k8.js → browser-ts4gc07c.js} +39 -4
- package/dist/chunks/{browser-hq5q56sf.js → browser-wqkhghw2.js} +15 -7
- package/dist/src/connection.js +4 -4
- package/dist/src/events.d.ts +108 -108
- package/dist/src/events.js +3 -3
- package/dist/src/heads.d.ts +20 -0
- package/dist/src/heads.js +8 -2
- package/dist/src/hooks.js +2 -2
- package/dist/src/ids.d.ts +1 -2
- package/dist/src/index.js +20 -12
- package/dist/src/mcp.d.ts +8 -8
- package/dist/src/messages.d.ts +8 -0
- package/dist/src/messages.js +4 -2
- package/dist/src/parts.d.ts +40 -40
- package/dist/src/runs.d.ts +12 -12
- package/dist/src/sessions.d.ts +8 -8
- package/dist/src/sessions.js +2 -2
- package/dist/src/store.d.ts +52 -52
- package/dist/src/store.js +4 -4
- package/dist/src/views.d.ts +502 -170
- package/dist/src/views.js +3 -3
- package/dist/src/wire/operations/browser.d.ts +119 -119
- package/dist/src/wire/operations/fields.d.ts +6 -6
- package/dist/src/wire/operations/files.d.ts +52 -52
- package/dist/src/wire/operations/git.d.ts +121 -121
- package/dist/src/wire/operations/github.d.ts +34 -34
- package/dist/src/wire/operations/host.d.ts +299 -298
- package/dist/src/wire/operations/host.js +6 -6
- package/dist/src/wire/operations/index.d.ts +4771 -4362
- package/dist/src/wire/operations/index.js +9 -9
- package/dist/src/wire/operations/session.d.ts +2511 -2103
- package/dist/src/wire/operations/session.js +5 -5
- package/dist/src/wire/operations/workspace.d.ts +244 -244
- package/dist/src/wire/operations/workspace.js +3 -3
- package/package.json +2 -3
package/dist/src/events.js
CHANGED
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
DurableEventSchema2,
|
|
8
8
|
SessionEventSchema2,
|
|
9
9
|
PatchEventSchema2
|
|
10
|
-
} from "../chunks/browser-
|
|
10
|
+
} from "../chunks/browser-fw8cf4fc.js";
|
|
11
11
|
import"../chunks/browser-t5xqtqzh.js";
|
|
12
12
|
import"../chunks/browser-h86zs54a.js";
|
|
13
|
-
import"../chunks/browser-
|
|
13
|
+
import"../chunks/browser-t7t9fc1r.js";
|
|
14
14
|
import"../chunks/browser-bg1esaw0.js";
|
|
15
15
|
import"../chunks/browser-8ancsy4m.js";
|
|
16
|
-
import"../chunks/browser-
|
|
16
|
+
import"../chunks/browser-wqkhghw2.js";
|
|
17
17
|
import"../chunks/browser-40enyw9r.js";
|
|
18
18
|
import"../chunks/browser-m0wzr0g8.js";
|
|
19
19
|
import"../chunks/browser-ynj8v9ad.js";
|
package/dist/src/heads.d.ts
CHANGED
|
@@ -143,6 +143,26 @@ export declare const MoveOutcomeType: Type.TUnion<[Type.TObject<{
|
|
|
143
143
|
reason: Type.TString;
|
|
144
144
|
}>]>;
|
|
145
145
|
export type MoveOutcome = Decoded<typeof MoveOutcomeType>;
|
|
146
|
+
export declare const HoldLeaseType: Type.TUnion<[Type.TObject<{
|
|
147
|
+
kind: Type.TLiteral<"held">;
|
|
148
|
+
}>, Type.TObject<{
|
|
149
|
+
kind: Type.TLiteral<"sent">;
|
|
150
|
+
}>, Type.TObject<{
|
|
151
|
+
kind: Type.TLiteral<"missing">;
|
|
152
|
+
}>]>;
|
|
153
|
+
export type HoldLease = Decoded<typeof HoldLeaseType>;
|
|
154
|
+
export declare const ReviseOptionsType: Type.TObject<{
|
|
155
|
+
delivery: Type.TOptional<Type.TEnum<["steer", "queue", "attach"]>>;
|
|
156
|
+
}>;
|
|
157
|
+
export type ReviseOptions = Decoded<typeof ReviseOptionsType>;
|
|
158
|
+
export declare const ReviseOutcomeType: Type.TUnion<[Type.TObject<{
|
|
159
|
+
kind: Type.TLiteral<"revised">;
|
|
160
|
+
}>, Type.TObject<{
|
|
161
|
+
kind: Type.TLiteral<"sent">;
|
|
162
|
+
}>, Type.TObject<{
|
|
163
|
+
kind: Type.TLiteral<"missing">;
|
|
164
|
+
}>]>;
|
|
165
|
+
export type ReviseOutcome = Decoded<typeof ReviseOutcomeType>;
|
|
146
166
|
export declare const MoveOptionsType: Type.TObject<{
|
|
147
167
|
running: Type.TOptional<Type.TEnum<["refuse", "stop"]>>;
|
|
148
168
|
abandoned: Type.TOptional<Type.TUnion<[Type.TLiteral<"keep">, Type.TObject<{
|
package/dist/src/heads.js
CHANGED
|
@@ -5,6 +5,9 @@ import {
|
|
|
5
5
|
MergeOutcomeType2,
|
|
6
6
|
RemoveHeadOutcomeType2,
|
|
7
7
|
MoveOutcomeType2,
|
|
8
|
+
HoldLeaseType2,
|
|
9
|
+
ReviseOptionsType2,
|
|
10
|
+
ReviseOutcomeType2,
|
|
8
11
|
MoveOptionsType2,
|
|
9
12
|
SendOptionsType2,
|
|
10
13
|
ConfigureOutcomeType2,
|
|
@@ -17,8 +20,8 @@ import {
|
|
|
17
20
|
MoveOptionsSchema2,
|
|
18
21
|
SendOptionsSchema2,
|
|
19
22
|
ConfigureOutcomeSchema2
|
|
20
|
-
} from "../chunks/browser-
|
|
21
|
-
import"../chunks/browser-
|
|
23
|
+
} from "../chunks/browser-82qzgxz4.js";
|
|
24
|
+
import"../chunks/browser-wqkhghw2.js";
|
|
22
25
|
import"../chunks/browser-ynj8v9ad.js";
|
|
23
26
|
import"../chunks/browser-0sbkxgkx.js";
|
|
24
27
|
import"../chunks/browser-sgwxbek9.js";
|
|
@@ -31,6 +34,7 @@ export {
|
|
|
31
34
|
ConfigureOutcomeType2 as ConfigureOutcomeType,
|
|
32
35
|
CreateHeadOutcomeSchema2 as CreateHeadOutcomeSchema,
|
|
33
36
|
CreateHeadOutcomeType2 as CreateHeadOutcomeType,
|
|
37
|
+
HoldLeaseType2 as HoldLeaseType,
|
|
34
38
|
MergeOutcomeSchema2 as MergeOutcomeSchema,
|
|
35
39
|
MergeOutcomeType2 as MergeOutcomeType,
|
|
36
40
|
MoveOptionsSchema2 as MoveOptionsSchema,
|
|
@@ -39,6 +43,8 @@ export {
|
|
|
39
43
|
MoveOutcomeType2 as MoveOutcomeType,
|
|
40
44
|
RemoveHeadOutcomeSchema2 as RemoveHeadOutcomeSchema,
|
|
41
45
|
RemoveHeadOutcomeType2 as RemoveHeadOutcomeType,
|
|
46
|
+
ReviseOptionsType2 as ReviseOptionsType,
|
|
47
|
+
ReviseOutcomeType2 as ReviseOutcomeType,
|
|
42
48
|
SendOptionsSchema2 as SendOptionsSchema,
|
|
43
49
|
SendOptionsType2 as SendOptionsType,
|
|
44
50
|
TreeNodeSchema2 as TreeNodeSchema,
|
package/dist/src/hooks.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
ModelRequestSchema2,
|
|
8
8
|
ToolCallSchema2,
|
|
9
9
|
SubmitDraftSchema2
|
|
10
|
-
} from "../chunks/browser-
|
|
10
|
+
} from "../chunks/browser-b1pzvhs6.js";
|
|
11
11
|
import"../chunks/browser-h86zs54a.js";
|
|
12
|
-
import"../chunks/browser-
|
|
12
|
+
import"../chunks/browser-wqkhghw2.js";
|
|
13
13
|
import"../chunks/browser-ynj8v9ad.js";
|
|
14
14
|
import"../chunks/browser-0sbkxgkx.js";
|
|
15
15
|
import"../chunks/browser-sgwxbek9.js";
|
package/dist/src/ids.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Type } from "typebox";
|
|
2
1
|
import type { TUnsafe } from "typebox";
|
|
3
2
|
import type { Schema } from "./schema.ts";
|
|
4
3
|
export type Id<Name extends string> = string & {
|
|
@@ -36,7 +35,7 @@ export type EnvironmentIdentity = Id<"environment-identity">;
|
|
|
36
35
|
export declare function asId<Name extends string>(value: string): Id<Name>;
|
|
37
36
|
export declare function asSeq(value: number): Seq;
|
|
38
37
|
export declare function idSchema<Name extends string>(): TUnsafe<Id<Name>>;
|
|
39
|
-
export declare const SeqType:
|
|
38
|
+
export declare const SeqType: TUnsafe<Seq>;
|
|
40
39
|
export declare const SessionIdSchema: Schema<SessionId>;
|
|
41
40
|
export declare const HeadNameSchema: Schema<HeadName>;
|
|
42
41
|
export declare const RunIdSchema: Schema<RunId>;
|
package/dist/src/index.js
CHANGED
|
@@ -103,12 +103,13 @@ import {
|
|
|
103
103
|
PositionType2,
|
|
104
104
|
MessageSourceType2,
|
|
105
105
|
ScheduleType2,
|
|
106
|
+
WaitingScheduleType2,
|
|
106
107
|
DeliverySchema2,
|
|
107
108
|
UserContentSchema2,
|
|
108
109
|
PositionSchema2,
|
|
109
110
|
MessageSourceSchema2,
|
|
110
111
|
ScheduleSchema2
|
|
111
|
-
} from "../chunks/browser-
|
|
112
|
+
} from "../chunks/browser-wqkhghw2.js";
|
|
112
113
|
import {
|
|
113
114
|
TreeNodeType2,
|
|
114
115
|
TreeViewType2,
|
|
@@ -116,6 +117,9 @@ import {
|
|
|
116
117
|
MergeOutcomeType2,
|
|
117
118
|
RemoveHeadOutcomeType2,
|
|
118
119
|
MoveOutcomeType2,
|
|
120
|
+
HoldLeaseType2,
|
|
121
|
+
ReviseOptionsType2,
|
|
122
|
+
ReviseOutcomeType2,
|
|
119
123
|
MoveOptionsType2,
|
|
120
124
|
SendOptionsType2,
|
|
121
125
|
ConfigureOutcomeType2,
|
|
@@ -128,7 +132,7 @@ import {
|
|
|
128
132
|
MoveOptionsSchema2,
|
|
129
133
|
SendOptionsSchema2,
|
|
130
134
|
ConfigureOutcomeSchema2
|
|
131
|
-
} from "../chunks/browser-
|
|
135
|
+
} from "../chunks/browser-82qzgxz4.js";
|
|
132
136
|
import {
|
|
133
137
|
AuthorityType2,
|
|
134
138
|
ExecutionCoverageType2,
|
|
@@ -229,7 +233,7 @@ import {
|
|
|
229
233
|
WorkspaceCommandOutcomeSchema2,
|
|
230
234
|
UpdateOutcomeSchema2,
|
|
231
235
|
RemoveSessionOutcomeSchema2
|
|
232
|
-
} from "../chunks/browser-
|
|
236
|
+
} from "../chunks/browser-t7t9fc1r.js";
|
|
233
237
|
import {
|
|
234
238
|
HostViewWireType2,
|
|
235
239
|
CredentialSourceWireType2,
|
|
@@ -239,7 +243,7 @@ import {
|
|
|
239
243
|
CredentialSourceWireSchema2,
|
|
240
244
|
JournalEntrySchema2,
|
|
241
245
|
SettingOutcomeSchema2
|
|
242
|
-
} from "../chunks/browser-
|
|
246
|
+
} from "../chunks/browser-pk5dmvrr.js";
|
|
243
247
|
import"../chunks/browser-k20f6cvv.js";
|
|
244
248
|
import {
|
|
245
249
|
FileStatusType2,
|
|
@@ -296,7 +300,7 @@ import {
|
|
|
296
300
|
DurableEventSchema2,
|
|
297
301
|
SessionEventSchema2,
|
|
298
302
|
PatchEventSchema2
|
|
299
|
-
} from "../chunks/browser-
|
|
303
|
+
} from "../chunks/browser-fw8cf4fc.js";
|
|
300
304
|
import {
|
|
301
305
|
GitStatusType2,
|
|
302
306
|
GitCommitViewType2,
|
|
@@ -352,7 +356,7 @@ import {
|
|
|
352
356
|
ModelRequestSchema2,
|
|
353
357
|
ToolCallSchema2,
|
|
354
358
|
SubmitDraftSchema2
|
|
355
|
-
} from "../chunks/browser-
|
|
359
|
+
} from "../chunks/browser-b1pzvhs6.js";
|
|
356
360
|
import {
|
|
357
361
|
McpExposureType2,
|
|
358
362
|
McpScopeType2,
|
|
@@ -395,7 +399,7 @@ import {
|
|
|
395
399
|
RefSchema2,
|
|
396
400
|
RefUpdateSchema2,
|
|
397
401
|
SetOutcomeSchema2
|
|
398
|
-
} from "../chunks/browser-
|
|
402
|
+
} from "../chunks/browser-40skw1kj.js";
|
|
399
403
|
import {
|
|
400
404
|
ViewOptionsType2,
|
|
401
405
|
UserStatusType2,
|
|
@@ -413,18 +417,18 @@ import {
|
|
|
413
417
|
SessionViewSchema2,
|
|
414
418
|
HistoryPageSchema2,
|
|
415
419
|
ViewFrameSchema2
|
|
416
|
-
} from "../chunks/browser-
|
|
420
|
+
} from "../chunks/browser-kmkhr82d.js";
|
|
417
421
|
import"../chunks/browser-r87w64mz.js";
|
|
418
422
|
import"../chunks/browser-fd3accdr.js";
|
|
419
423
|
import"../chunks/browser-pdv675va.js";
|
|
420
424
|
import"../chunks/browser-0xr6c36r.js";
|
|
421
425
|
import"../chunks/browser-0g0z3617.js";
|
|
422
|
-
import"../chunks/browser-
|
|
423
|
-
import"../chunks/browser-
|
|
424
|
-
import"../chunks/browser-
|
|
426
|
+
import"../chunks/browser-5w8ywd56.js";
|
|
427
|
+
import"../chunks/browser-ts4gc07c.js";
|
|
428
|
+
import"../chunks/browser-b1zjf2es.js";
|
|
425
429
|
import {
|
|
426
430
|
OPERATIONS2
|
|
427
|
-
} from "../chunks/browser-
|
|
431
|
+
} from "../chunks/browser-pvrs6rs5.js";
|
|
428
432
|
export {
|
|
429
433
|
ActivationSchema2 as ActivationSchema,
|
|
430
434
|
ActivationType2 as ActivationType,
|
|
@@ -549,6 +553,7 @@ export {
|
|
|
549
553
|
HeadNameSchema2 as HeadNameSchema,
|
|
550
554
|
HistoryPageSchema2 as HistoryPageSchema,
|
|
551
555
|
HistoryPageType2 as HistoryPageType,
|
|
556
|
+
HoldLeaseType2 as HoldLeaseType,
|
|
552
557
|
HostDescriptionSchema2 as HostDescriptionSchema,
|
|
553
558
|
HostDescriptionType2 as HostDescriptionType,
|
|
554
559
|
HostIdSchema2 as HostIdSchema,
|
|
@@ -669,6 +674,8 @@ export {
|
|
|
669
674
|
RemoveSessionOutcomeType2 as RemoveSessionOutcomeType,
|
|
670
675
|
RepairPageSchema2 as RepairPageSchema,
|
|
671
676
|
RepairPageType2 as RepairPageType,
|
|
677
|
+
ReviseOptionsType2 as ReviseOptionsType,
|
|
678
|
+
ReviseOutcomeType2 as ReviseOutcomeType,
|
|
672
679
|
RevisionSchema2 as RevisionSchema,
|
|
673
680
|
RunEndSchema2 as RunEndSchema,
|
|
674
681
|
RunEndType2 as RunEndType,
|
|
@@ -756,6 +763,7 @@ export {
|
|
|
756
763
|
WaitOutcomeType2 as WaitOutcomeType,
|
|
757
764
|
WaitTargetSchema2 as WaitTargetSchema,
|
|
758
765
|
WaitTargetType2 as WaitTargetType,
|
|
766
|
+
WaitingScheduleType2 as WaitingScheduleType,
|
|
759
767
|
WorkspaceCatalogViewType2 as WorkspaceCatalogViewType,
|
|
760
768
|
WorkspaceCommandOutcomeSchema2 as WorkspaceCommandOutcomeSchema,
|
|
761
769
|
WorkspaceCommandOutcomeType2 as WorkspaceCommandOutcomeType,
|
package/dist/src/mcp.d.ts
CHANGED
|
@@ -158,11 +158,19 @@ export declare const McpOAuthConfigType: Type.TObject<{
|
|
|
158
158
|
*/
|
|
159
159
|
export type McpOAuthConfig = Decoded<typeof McpOAuthConfigType>;
|
|
160
160
|
export declare const McpServerConfigType: Type.TUnion<[Type.TObject<{
|
|
161
|
+
enabled: Type.TOptional<Type.TBoolean>;
|
|
162
|
+
/** Seconds each request may take; progress notifications restart it. Default 60. */
|
|
163
|
+
timeout: Type.TOptional<Type.TNumber>;
|
|
164
|
+
description: Type.TOptional<Type.TString>;
|
|
165
|
+
exposure: Type.TOptional<Type.TEnum<["direct", "deferred", "codemode", "codemode-deferred", "hidden"]>>;
|
|
166
|
+
/** Exposure per tool name; `*` matches any characters, exact names win, then the first matching pattern. */
|
|
167
|
+
toolExposure: Type.TOptional<Type.TRecord<"^.*$", Type.TEnum<["direct", "deferred", "codemode", "codemode-deferred", "hidden"]>>>;
|
|
161
168
|
type: Type.TOptional<Type.TLiteral<"stdio">>;
|
|
162
169
|
command: Type.TString;
|
|
163
170
|
args: Type.TOptional<Type.TArray<Type.TString>>;
|
|
164
171
|
env: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
|
|
165
172
|
cwd: Type.TOptional<Type.TString>;
|
|
173
|
+
}>, Type.TObject<{
|
|
166
174
|
enabled: Type.TOptional<Type.TBoolean>;
|
|
167
175
|
/** Seconds each request may take; progress notifications restart it. Default 60. */
|
|
168
176
|
timeout: Type.TOptional<Type.TNumber>;
|
|
@@ -170,7 +178,6 @@ export declare const McpServerConfigType: Type.TUnion<[Type.TObject<{
|
|
|
170
178
|
exposure: Type.TOptional<Type.TEnum<["direct", "deferred", "codemode", "codemode-deferred", "hidden"]>>;
|
|
171
179
|
/** Exposure per tool name; `*` matches any characters, exact names win, then the first matching pattern. */
|
|
172
180
|
toolExposure: Type.TOptional<Type.TRecord<"^.*$", Type.TEnum<["direct", "deferred", "codemode", "codemode-deferred", "hidden"]>>>;
|
|
173
|
-
}>, Type.TObject<{
|
|
174
181
|
type: Type.TOptional<Type.TEnum<["http", "streamable-http"]>>;
|
|
175
182
|
url: Type.TString;
|
|
176
183
|
headers: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
|
|
@@ -183,13 +190,6 @@ export declare const McpServerConfigType: Type.TUnion<[Type.TObject<{
|
|
|
183
190
|
scope: Type.TOptional<Type.TString>;
|
|
184
191
|
authServerMetadataUrl: Type.TOptional<Type.TString>;
|
|
185
192
|
}>>;
|
|
186
|
-
enabled: Type.TOptional<Type.TBoolean>;
|
|
187
|
-
/** Seconds each request may take; progress notifications restart it. Default 60. */
|
|
188
|
-
timeout: Type.TOptional<Type.TNumber>;
|
|
189
|
-
description: Type.TOptional<Type.TString>;
|
|
190
|
-
exposure: Type.TOptional<Type.TEnum<["direct", "deferred", "codemode", "codemode-deferred", "hidden"]>>;
|
|
191
|
-
/** Exposure per tool name; `*` matches any characters, exact names win, then the first matching pattern. */
|
|
192
|
-
toolExposure: Type.TOptional<Type.TRecord<"^.*$", Type.TEnum<["direct", "deferred", "codemode", "codemode-deferred", "hidden"]>>>;
|
|
193
193
|
}>]>;
|
|
194
194
|
/**
|
|
195
195
|
* One `mcpServers` entry of `mcp.json`, the format other MCP clients use: a
|
package/dist/src/messages.d.ts
CHANGED
|
@@ -105,6 +105,14 @@ export declare const ScheduleType: Type.TUnion<[Type.TObject<{
|
|
|
105
105
|
}>, Type.TObject<{
|
|
106
106
|
kind: Type.TLiteral<"deciding">;
|
|
107
107
|
}>]>;
|
|
108
|
+
export declare const WaitingScheduleType: Type.TUnion<[Type.TObject<{
|
|
109
|
+
kind: Type.TLiteral<"next-turn">;
|
|
110
|
+
reason: Type.TEnum<["requested", "idle", "run-ended", "configuration"]>;
|
|
111
|
+
}>, Type.TObject<{
|
|
112
|
+
kind: Type.TLiteral<"attached">;
|
|
113
|
+
}>, Type.TObject<{
|
|
114
|
+
kind: Type.TLiteral<"deciding">;
|
|
115
|
+
}>]>;
|
|
108
116
|
/** When an admitted input runs. `deciding` is a chat's first message, admitted with the chat while its before_send hooks decide it; nothing on its head runs until they do. */
|
|
109
117
|
export type Schedule = Decoded<typeof ScheduleType>;
|
|
110
118
|
export declare const DeliverySchema: Schema<Delivery>;
|
package/dist/src/messages.js
CHANGED
|
@@ -5,12 +5,13 @@ import {
|
|
|
5
5
|
PositionType2,
|
|
6
6
|
MessageSourceType2,
|
|
7
7
|
ScheduleType2,
|
|
8
|
+
WaitingScheduleType2,
|
|
8
9
|
DeliverySchema2,
|
|
9
10
|
UserContentSchema2,
|
|
10
11
|
PositionSchema2,
|
|
11
12
|
MessageSourceSchema2,
|
|
12
13
|
ScheduleSchema2
|
|
13
|
-
} from "../chunks/browser-
|
|
14
|
+
} from "../chunks/browser-wqkhghw2.js";
|
|
14
15
|
import"../chunks/browser-ypez6s7v.js";
|
|
15
16
|
import"../chunks/browser-vzc3r2r3.js";
|
|
16
17
|
export {
|
|
@@ -24,5 +25,6 @@ export {
|
|
|
24
25
|
ScheduleSchema2 as ScheduleSchema,
|
|
25
26
|
ScheduleType2 as ScheduleType,
|
|
26
27
|
UserContentSchema2 as UserContentSchema,
|
|
27
|
-
UserContentType2 as UserContentType
|
|
28
|
+
UserContentType2 as UserContentType,
|
|
29
|
+
WaitingScheduleType2 as WaitingScheduleType
|
|
28
30
|
};
|
package/dist/src/parts.d.ts
CHANGED
|
@@ -23,22 +23,22 @@ export declare const PartStatusType: Type.TUnion<[Type.TObject<{
|
|
|
23
23
|
kind: Type.TLiteral<"waiting">;
|
|
24
24
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
25
25
|
on: Type.TUnion<[Type.TObject<{
|
|
26
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
26
27
|
kind: Type.TLiteral<"run">;
|
|
27
28
|
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
28
29
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
29
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
30
30
|
}>, Type.TObject<{
|
|
31
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
31
32
|
kind: Type.TLiteral<"job">;
|
|
32
33
|
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
33
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
34
34
|
}>, Type.TObject<{
|
|
35
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
35
36
|
kind: Type.TLiteral<"part">;
|
|
36
37
|
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
37
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
38
38
|
}>, Type.TObject<{
|
|
39
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
39
40
|
kind: Type.TLiteral<"timer">;
|
|
40
41
|
until: Type.TNumber;
|
|
41
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
42
42
|
}>]>;
|
|
43
43
|
}>, Type.TObject<{
|
|
44
44
|
kind: Type.TLiteral<"settled">;
|
|
@@ -79,22 +79,22 @@ export declare const PartViewType: Type.TObject<{
|
|
|
79
79
|
kind: Type.TLiteral<"waiting">;
|
|
80
80
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
81
81
|
on: Type.TUnion<[Type.TObject<{
|
|
82
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
82
83
|
kind: Type.TLiteral<"run">;
|
|
83
84
|
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
84
85
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
85
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
86
86
|
}>, Type.TObject<{
|
|
87
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
87
88
|
kind: Type.TLiteral<"job">;
|
|
88
89
|
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
89
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
90
90
|
}>, Type.TObject<{
|
|
91
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
91
92
|
kind: Type.TLiteral<"part">;
|
|
92
93
|
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
93
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
94
94
|
}>, Type.TObject<{
|
|
95
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
95
96
|
kind: Type.TLiteral<"timer">;
|
|
96
97
|
until: Type.TNumber;
|
|
97
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
98
98
|
}>]>;
|
|
99
99
|
}>, Type.TObject<{
|
|
100
100
|
kind: Type.TLiteral<"settled">;
|
|
@@ -119,7 +119,6 @@ export declare const ToolChangesType: Type.TObject<{
|
|
|
119
119
|
unattributed: Type.TOptional<Type.TLiteral<true>>;
|
|
120
120
|
}>;
|
|
121
121
|
export declare const ToolPartStateType: Type.TUnion<[Type.TObject<{
|
|
122
|
-
phase: Type.TLiteral<"calling">;
|
|
123
122
|
call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
|
|
124
123
|
name: Type.TString;
|
|
125
124
|
args: Type.TUnsafe<import("./json.ts").Json>;
|
|
@@ -145,13 +144,40 @@ export declare const ToolPartStateType: Type.TUnion<[Type.TObject<{
|
|
|
145
144
|
kind: Type.TLiteral<"custom">;
|
|
146
145
|
label: Type.TString;
|
|
147
146
|
}>]>;
|
|
147
|
+
phase: Type.TLiteral<"calling">;
|
|
148
148
|
}>, Type.TObject<{
|
|
149
|
+
call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
|
|
150
|
+
name: Type.TString;
|
|
151
|
+
args: Type.TUnsafe<import("./json.ts").Json>;
|
|
152
|
+
class: Type.TUnion<[Type.TObject<{
|
|
153
|
+
kind: Type.TLiteral<"read">;
|
|
154
|
+
path: Type.TString;
|
|
155
|
+
}>, Type.TObject<{
|
|
156
|
+
kind: Type.TLiteral<"list">;
|
|
157
|
+
path: Type.TString;
|
|
158
|
+
}>, Type.TObject<{
|
|
159
|
+
kind: Type.TLiteral<"edit">;
|
|
160
|
+
path: Type.TString;
|
|
161
|
+
}>, Type.TObject<{
|
|
162
|
+
kind: Type.TLiteral<"shell">;
|
|
163
|
+
command: Type.TString;
|
|
164
|
+
description: Type.TOptional<Type.TString>;
|
|
165
|
+
}>, Type.TObject<{
|
|
166
|
+
kind: Type.TLiteral<"delegate">;
|
|
167
|
+
child: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"session">>, Type.TNull]>;
|
|
168
|
+
role: Type.TEnum<["task", "create", "send", "await", "read", "stop"]>;
|
|
169
|
+
title: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
170
|
+
}>, Type.TObject<{
|
|
171
|
+
kind: Type.TLiteral<"custom">;
|
|
172
|
+
label: Type.TString;
|
|
173
|
+
}>]>;
|
|
149
174
|
phase: Type.TLiteral<"running">;
|
|
150
175
|
progress: Type.TUnion<[Type.TObject<{
|
|
151
176
|
text: Type.TOptional<Type.TString>;
|
|
152
177
|
fraction: Type.TOptional<Type.TNumber>;
|
|
153
178
|
detail: Type.TOptional<Type.TUnsafe<import("./json.ts").Json>>;
|
|
154
179
|
}>, Type.TNull]>;
|
|
180
|
+
}>, Type.TObject<{
|
|
155
181
|
call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
|
|
156
182
|
name: Type.TString;
|
|
157
183
|
args: Type.TUnsafe<import("./json.ts").Json>;
|
|
@@ -177,7 +203,6 @@ export declare const ToolPartStateType: Type.TUnion<[Type.TObject<{
|
|
|
177
203
|
kind: Type.TLiteral<"custom">;
|
|
178
204
|
label: Type.TString;
|
|
179
205
|
}>]>;
|
|
180
|
-
}>, Type.TObject<{
|
|
181
206
|
phase: Type.TLiteral<"settled">;
|
|
182
207
|
outcome: Type.TUnion<[Type.TObject<{
|
|
183
208
|
kind: Type.TLiteral<"ok">;
|
|
@@ -209,31 +234,6 @@ export declare const ToolPartStateType: Type.TUnion<[Type.TObject<{
|
|
|
209
234
|
paths: Type.TArray<Type.TString>;
|
|
210
235
|
unattributed: Type.TOptional<Type.TLiteral<true>>;
|
|
211
236
|
}>, Type.TNull]>;
|
|
212
|
-
call: Type.TUnsafe<import("./ids.ts").Id<"call">>;
|
|
213
|
-
name: Type.TString;
|
|
214
|
-
args: Type.TUnsafe<import("./json.ts").Json>;
|
|
215
|
-
class: Type.TUnion<[Type.TObject<{
|
|
216
|
-
kind: Type.TLiteral<"read">;
|
|
217
|
-
path: Type.TString;
|
|
218
|
-
}>, Type.TObject<{
|
|
219
|
-
kind: Type.TLiteral<"list">;
|
|
220
|
-
path: Type.TString;
|
|
221
|
-
}>, Type.TObject<{
|
|
222
|
-
kind: Type.TLiteral<"edit">;
|
|
223
|
-
path: Type.TString;
|
|
224
|
-
}>, Type.TObject<{
|
|
225
|
-
kind: Type.TLiteral<"shell">;
|
|
226
|
-
command: Type.TString;
|
|
227
|
-
description: Type.TOptional<Type.TString>;
|
|
228
|
-
}>, Type.TObject<{
|
|
229
|
-
kind: Type.TLiteral<"delegate">;
|
|
230
|
-
child: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"session">>, Type.TNull]>;
|
|
231
|
-
role: Type.TEnum<["task", "create", "send", "await", "read", "stop"]>;
|
|
232
|
-
title: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
233
|
-
}>, Type.TObject<{
|
|
234
|
-
kind: Type.TLiteral<"custom">;
|
|
235
|
-
label: Type.TString;
|
|
236
|
-
}>]>;
|
|
237
237
|
}>]>;
|
|
238
238
|
export type ToolPartState = Decoded<typeof ToolPartStateType>;
|
|
239
239
|
export declare function actOutcomeSchema<T extends TSchema>(output: T): Schema<((Readonly<Partial<Pick<{
|
|
@@ -261,7 +261,7 @@ export declare function actOutcomeSchema<T extends TSchema>(output: T): Schema<(
|
|
|
261
261
|
kind: Type.TLiteral<"ok">;
|
|
262
262
|
output: T;
|
|
263
263
|
}, T>;
|
|
264
|
-
}, T extends Type.TReadonly<
|
|
264
|
+
}, T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? "output" : never : never>>> & Readonly<Pick<{
|
|
265
265
|
kind: "ok";
|
|
266
266
|
output: import("typebox").StaticType<["Root"], "Decode", {
|
|
267
267
|
Json: Type.TUnion<[Type.TNull, Type.TBoolean, Type.TNumber, Type.TString, Type.TArray<Type.TRef<"Json">>, Type.TRecord<"^.*$", Type.TRef<"Json">>]>;
|
|
@@ -286,7 +286,7 @@ export declare function actOutcomeSchema<T extends TSchema>(output: T): Schema<(
|
|
|
286
286
|
kind: Type.TLiteral<"ok">;
|
|
287
287
|
output: T;
|
|
288
288
|
}, T>;
|
|
289
|
-
}, T extends Type.TReadonly<
|
|
289
|
+
}, T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? never : "output" : never>> & Partial<Pick<{
|
|
290
290
|
kind: "ok";
|
|
291
291
|
output: import("typebox").StaticType<["Root"], "Decode", {
|
|
292
292
|
Json: Type.TUnion<[Type.TNull, Type.TBoolean, Type.TNumber, Type.TString, Type.TArray<Type.TRef<"Json">>, Type.TRecord<"^.*$", Type.TRef<"Json">>]>;
|
|
@@ -311,7 +311,7 @@ export declare function actOutcomeSchema<T extends TSchema>(output: T): Schema<(
|
|
|
311
311
|
kind: Type.TLiteral<"ok">;
|
|
312
312
|
output: T;
|
|
313
313
|
}, T>;
|
|
314
|
-
}, T extends Type.TOptional<
|
|
314
|
+
}, T extends Type.TOptional<TSchema> ? T extends Type.TReadonly<T> ? never : "output" : never>> & Required<Pick<{
|
|
315
315
|
kind: "ok";
|
|
316
316
|
output: import("typebox").StaticType<["Root"], "Decode", {
|
|
317
317
|
Json: Type.TUnion<[Type.TNull, Type.TBoolean, Type.TNumber, Type.TString, Type.TArray<Type.TRef<"Json">>, Type.TRecord<"^.*$", Type.TRef<"Json">>]>;
|
|
@@ -336,7 +336,7 @@ export declare function actOutcomeSchema<T extends TSchema>(output: T): Schema<(
|
|
|
336
336
|
kind: Type.TLiteral<"ok">;
|
|
337
337
|
output: T;
|
|
338
338
|
}, T>;
|
|
339
|
-
}, Exclude<"
|
|
339
|
+
}, Exclude<"kind", (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? "output" : never : never) | (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? never : "output" : never) | (T extends Type.TOptional<TSchema> ? T extends Type.TReadonly<T> ? never : "output" : never)> | Exclude<"output", (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? "output" : never : never) | (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? never : "output" : never) | (T extends Type.TOptional<TSchema> ? T extends Type.TReadonly<T> ? never : "output" : never)>>> extends infer T_2 ? { [K in keyof T_2]: T_2[K]; } : never) extends infer T_1 extends Record<PropertyKey, unknown> ? { [Key in keyof T_1]: T_1[Key]; } : never) | {
|
|
340
340
|
kind: "rejected";
|
|
341
341
|
reason: string;
|
|
342
342
|
} | {
|
|
@@ -346,8 +346,8 @@ export declare function actOutcomeSchema<T extends TSchema>(output: T): Schema<(
|
|
|
346
346
|
} | {
|
|
347
347
|
kind: "no-owner";
|
|
348
348
|
} | {
|
|
349
|
-
message: string;
|
|
350
349
|
kind: "failed";
|
|
350
|
+
message: string;
|
|
351
351
|
}>;
|
|
352
352
|
export declare const PlacementSchema: Schema<Placement>;
|
|
353
353
|
export declare const PartStatusSchema: Schema<PartStatus>;
|
package/dist/src/runs.d.ts
CHANGED
|
@@ -55,22 +55,22 @@ export declare const RunEndType: Type.TUnion<[Type.TObject<{
|
|
|
55
55
|
}>]>;
|
|
56
56
|
export type RunEnd = Decoded<typeof RunEndType>;
|
|
57
57
|
export declare const WaitTargetType: Type.TUnion<[Type.TObject<{
|
|
58
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
58
59
|
kind: Type.TLiteral<"run">;
|
|
59
60
|
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
60
61
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
61
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
62
62
|
}>, Type.TObject<{
|
|
63
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
63
64
|
kind: Type.TLiteral<"job">;
|
|
64
65
|
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
65
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
66
66
|
}>, Type.TObject<{
|
|
67
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
67
68
|
kind: Type.TLiteral<"part">;
|
|
68
69
|
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
69
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
70
70
|
}>, Type.TObject<{
|
|
71
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
71
72
|
kind: Type.TLiteral<"timer">;
|
|
72
73
|
until: Type.TNumber;
|
|
73
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
74
74
|
}>]>;
|
|
75
75
|
export type WaitTarget = Decoded<typeof WaitTargetType>;
|
|
76
76
|
export declare const ExecutionType: Type.TUnion<[Type.TObject<{
|
|
@@ -161,22 +161,22 @@ export declare const ExecutionType: Type.TUnion<[Type.TObject<{
|
|
|
161
161
|
}>]>;
|
|
162
162
|
}>;
|
|
163
163
|
on: Type.TUnion<[Type.TObject<{
|
|
164
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
164
165
|
kind: Type.TLiteral<"run">;
|
|
165
166
|
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
166
167
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
167
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
168
168
|
}>, Type.TObject<{
|
|
169
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
169
170
|
kind: Type.TLiteral<"job">;
|
|
170
171
|
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
171
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
172
172
|
}>, Type.TObject<{
|
|
173
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
173
174
|
kind: Type.TLiteral<"part">;
|
|
174
175
|
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
175
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
176
176
|
}>, Type.TObject<{
|
|
177
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
177
178
|
kind: Type.TLiteral<"timer">;
|
|
178
179
|
until: Type.TNumber;
|
|
179
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
180
180
|
}>]>;
|
|
181
181
|
}>, Type.TObject<{
|
|
182
182
|
kind: Type.TLiteral<"retrying">;
|
|
@@ -362,7 +362,7 @@ export declare function stopOutcomeSchema<T extends TSchema>(outcome: T): Schema
|
|
|
362
362
|
kind: Type.TLiteral<"settled">;
|
|
363
363
|
outcome: T;
|
|
364
364
|
}, T>;
|
|
365
|
-
}, T extends Type.TReadonly<
|
|
365
|
+
}, T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? "outcome" : never : never>>> & Readonly<Pick<{
|
|
366
366
|
kind: "settled";
|
|
367
367
|
outcome: import("typebox").StaticType<["Root"], "Decode", {
|
|
368
368
|
Json: Type.TUnion<[Type.TNull, Type.TBoolean, Type.TNumber, Type.TString, Type.TArray<Type.TRef<"Json">>, Type.TRecord<"^.*$", Type.TRef<"Json">>]>;
|
|
@@ -379,7 +379,7 @@ export declare function stopOutcomeSchema<T extends TSchema>(outcome: T): Schema
|
|
|
379
379
|
kind: Type.TLiteral<"settled">;
|
|
380
380
|
outcome: T;
|
|
381
381
|
}, T>;
|
|
382
|
-
}, T extends Type.TReadonly<
|
|
382
|
+
}, T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? never : "outcome" : never>> & Partial<Pick<{
|
|
383
383
|
kind: "settled";
|
|
384
384
|
outcome: import("typebox").StaticType<["Root"], "Decode", {
|
|
385
385
|
Json: Type.TUnion<[Type.TNull, Type.TBoolean, Type.TNumber, Type.TString, Type.TArray<Type.TRef<"Json">>, Type.TRecord<"^.*$", Type.TRef<"Json">>]>;
|
|
@@ -396,7 +396,7 @@ export declare function stopOutcomeSchema<T extends TSchema>(outcome: T): Schema
|
|
|
396
396
|
kind: Type.TLiteral<"settled">;
|
|
397
397
|
outcome: T;
|
|
398
398
|
}, T>;
|
|
399
|
-
}, T extends Type.TOptional<
|
|
399
|
+
}, T extends Type.TOptional<TSchema> ? T extends Type.TReadonly<T> ? never : "outcome" : never>> & Required<Pick<{
|
|
400
400
|
kind: "settled";
|
|
401
401
|
outcome: import("typebox").StaticType<["Root"], "Decode", {
|
|
402
402
|
Json: Type.TUnion<[Type.TNull, Type.TBoolean, Type.TNumber, Type.TString, Type.TArray<Type.TRef<"Json">>, Type.TRecord<"^.*$", Type.TRef<"Json">>]>;
|
|
@@ -413,7 +413,7 @@ export declare function stopOutcomeSchema<T extends TSchema>(outcome: T): Schema
|
|
|
413
413
|
kind: Type.TLiteral<"settled">;
|
|
414
414
|
outcome: T;
|
|
415
415
|
}, T>;
|
|
416
|
-
}, Exclude<"kind", (T extends Type.TReadonly<
|
|
416
|
+
}, Exclude<"kind", (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? "outcome" : never : never) | (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? never : "outcome" : never) | (T extends Type.TOptional<TSchema> ? T extends Type.TReadonly<T> ? never : "outcome" : never)> | Exclude<"outcome", (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? "outcome" : never : never) | (T extends Type.TReadonly<TSchema> ? T extends Type.TOptional<T> ? never : "outcome" : never) | (T extends Type.TOptional<TSchema> ? T extends Type.TReadonly<T> ? never : "outcome" : never)>>> extends infer T_2 ? { [K in keyof T_2]: T_2[K]; } : never) extends infer T_1 extends Record<PropertyKey, unknown> ? { [Key in keyof T_1]: T_1[Key]; } : never) | {
|
|
417
417
|
kind: "missing";
|
|
418
418
|
}>;
|
|
419
419
|
export declare const RunViewSchema: Schema<RunView>;
|
package/dist/src/sessions.d.ts
CHANGED
|
@@ -106,22 +106,22 @@ export declare const HeadInfoType: Type.TObject<{
|
|
|
106
106
|
}>]>;
|
|
107
107
|
}>;
|
|
108
108
|
on: Type.TUnion<[Type.TObject<{
|
|
109
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
109
110
|
kind: Type.TLiteral<"run">;
|
|
110
111
|
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
111
112
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
112
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
113
113
|
}>, Type.TObject<{
|
|
114
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
114
115
|
kind: Type.TLiteral<"job">;
|
|
115
116
|
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
116
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
117
117
|
}>, Type.TObject<{
|
|
118
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
118
119
|
kind: Type.TLiteral<"part">;
|
|
119
120
|
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
120
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
121
121
|
}>, Type.TObject<{
|
|
122
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
122
123
|
kind: Type.TLiteral<"timer">;
|
|
123
124
|
until: Type.TNumber;
|
|
124
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
125
125
|
}>]>;
|
|
126
126
|
}>, Type.TObject<{
|
|
127
127
|
kind: Type.TLiteral<"retrying">;
|
|
@@ -281,22 +281,22 @@ export declare const SessionInfoType: Type.TObject<{
|
|
|
281
281
|
}>]>;
|
|
282
282
|
}>;
|
|
283
283
|
on: Type.TUnion<[Type.TObject<{
|
|
284
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
284
285
|
kind: Type.TLiteral<"run">;
|
|
285
286
|
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
286
287
|
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
287
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
288
288
|
}>, Type.TObject<{
|
|
289
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
289
290
|
kind: Type.TLiteral<"job">;
|
|
290
291
|
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
291
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
292
292
|
}>, Type.TObject<{
|
|
293
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
293
294
|
kind: Type.TLiteral<"part">;
|
|
294
295
|
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
295
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
296
296
|
}>, Type.TObject<{
|
|
297
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
297
298
|
kind: Type.TLiteral<"timer">;
|
|
298
299
|
until: Type.TNumber;
|
|
299
|
-
deadline: Type.TOptional<Type.TNumber>;
|
|
300
300
|
}>]>;
|
|
301
301
|
}>, Type.TObject<{
|
|
302
302
|
kind: Type.TLiteral<"retrying">;
|