@nyte-ai/schema 0.0.21 → 0.0.23
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-y97347bz.js → browser-etfrcxhb.js} +2 -2
- package/dist/chunks/{browser-rhgxg3wm.js → browser-fe66aj8v.js} +7 -1
- package/dist/chunks/{browser-sgst60b0.js → browser-fnanbp6m.js} +4 -1
- package/dist/chunks/{browser-g19fcj47.js → browser-gzn951k8.js} +1 -1
- package/dist/src/index.js +6 -4
- package/dist/src/views.d.ts +186 -0
- package/dist/src/views.js +3 -1
- package/dist/src/wire/operations/host.d.ts +157 -150
- package/dist/src/wire/operations/host.js +5 -1
- package/dist/src/wire/operations/index.d.ts +157 -150
- package/dist/src/wire/operations/index.js +4 -4
- package/dist/src/wire/operations/session.js +2 -2
- package/package.json +4 -4
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
HOST_OPERATIONS2,
|
|
15
15
|
MAINTENANCE_OPERATIONS2
|
|
16
|
-
} from "./browser-
|
|
16
|
+
} from "./browser-fnanbp6m.js";
|
|
17
17
|
import {
|
|
18
18
|
SESSION_OPERATIONS2
|
|
19
|
-
} from "./browser-
|
|
19
|
+
} from "./browser-gzn951k8.js";
|
|
20
20
|
import {
|
|
21
21
|
WORKSPACE_OPERATIONS2
|
|
22
22
|
} from "./browser-h5k4hqfq.js";
|
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
} from "./browser-bg1esaw0.js";
|
|
43
43
|
import {
|
|
44
44
|
HeadInfoType2,
|
|
45
|
+
SessionInfoType2,
|
|
45
46
|
SessionCatalogViewType2
|
|
46
47
|
} from "./browser-xensz05x.js";
|
|
47
48
|
|
|
@@ -174,6 +175,11 @@ var ViewFrameType2 = Type.Union([
|
|
|
174
175
|
catalog: Type.Optional(VIEW.catalog)
|
|
175
176
|
})
|
|
176
177
|
]);
|
|
178
|
+
var SessionsFrameType2 = Type.Object({
|
|
179
|
+
kind: Type.Enum(["list", "delta"]),
|
|
180
|
+
order: viewSplice(idSchema2()),
|
|
181
|
+
items: Type.Array(SessionInfoType2)
|
|
182
|
+
});
|
|
177
183
|
var ViewOptionsSchema2 = standard2(ViewOptionsType2);
|
|
178
184
|
var UserStatusSchema2 = standard2(UserStatusType2);
|
|
179
185
|
var MessageSchema2 = standard2(MessageType2);
|
|
@@ -182,4 +188,4 @@ var SessionViewSchema2 = standard2(withJson2(SessionViewType2));
|
|
|
182
188
|
var HistoryPageSchema2 = standard2(withJson2(HistoryPageType2));
|
|
183
189
|
var ViewFrameSchema2 = standard2(withJson2(ViewFrameType2));
|
|
184
190
|
|
|
185
|
-
export { ViewOptionsType2, UserStatusType2, MessageType2, TurnInfoType2, SessionViewType2, HistoryPageType2, ViewAppendType2, ViewFrameType2, ViewOptionsSchema2, UserStatusSchema2, MessageSchema2, TurnInfoSchema2, SessionViewSchema2, HistoryPageSchema2, ViewFrameSchema2 };
|
|
191
|
+
export { ViewOptionsType2, UserStatusType2, MessageType2, TurnInfoType2, SessionViewType2, HistoryPageType2, ViewAppendType2, ViewFrameType2, SessionsFrameType2, ViewOptionsSchema2, UserStatusSchema2, MessageSchema2, TurnInfoSchema2, SessionViewSchema2, HistoryPageSchema2, ViewFrameSchema2 };
|
|
@@ -46,6 +46,9 @@ import {
|
|
|
46
46
|
pagedSchema2,
|
|
47
47
|
ParentFilterType2
|
|
48
48
|
} from "./browser-0byq2fja.js";
|
|
49
|
+
import {
|
|
50
|
+
SessionsFrameType2
|
|
51
|
+
} from "./browser-fe66aj8v.js";
|
|
49
52
|
import {
|
|
50
53
|
wireSchema2,
|
|
51
54
|
wireObject2,
|
|
@@ -215,7 +218,7 @@ var HOST_OPERATIONS2 = {
|
|
|
215
218
|
parents: Type.Optional(ParentFilterType2),
|
|
216
219
|
limit: Type.Optional(Type.Number())
|
|
217
220
|
}),
|
|
218
|
-
output: wireSchema2(
|
|
221
|
+
output: wireSchema2(SessionsFrameType2)
|
|
219
222
|
},
|
|
220
223
|
"sessions.start": {
|
|
221
224
|
...PARTICIPANT,
|
package/dist/src/index.js
CHANGED
|
@@ -405,6 +405,7 @@ import {
|
|
|
405
405
|
HistoryPageType2,
|
|
406
406
|
ViewAppendType2,
|
|
407
407
|
ViewFrameType2,
|
|
408
|
+
SessionsFrameType2,
|
|
408
409
|
ViewOptionsSchema2,
|
|
409
410
|
UserStatusSchema2,
|
|
410
411
|
MessageSchema2,
|
|
@@ -412,18 +413,18 @@ import {
|
|
|
412
413
|
SessionViewSchema2,
|
|
413
414
|
HistoryPageSchema2,
|
|
414
415
|
ViewFrameSchema2
|
|
415
|
-
} from "../chunks/browser-
|
|
416
|
+
} from "../chunks/browser-fe66aj8v.js";
|
|
416
417
|
import"../chunks/browser-r87w64mz.js";
|
|
417
418
|
import"../chunks/browser-fd3accdr.js";
|
|
418
419
|
import"../chunks/browser-pdv675va.js";
|
|
419
420
|
import"../chunks/browser-0xr6c36r.js";
|
|
420
421
|
import"../chunks/browser-0g0z3617.js";
|
|
421
|
-
import"../chunks/browser-
|
|
422
|
-
import"../chunks/browser-
|
|
422
|
+
import"../chunks/browser-fnanbp6m.js";
|
|
423
|
+
import"../chunks/browser-gzn951k8.js";
|
|
423
424
|
import"../chunks/browser-h5k4hqfq.js";
|
|
424
425
|
import {
|
|
425
426
|
OPERATIONS2
|
|
426
|
-
} from "../chunks/browser-
|
|
427
|
+
} from "../chunks/browser-etfrcxhb.js";
|
|
427
428
|
export {
|
|
428
429
|
ActivationSchema2 as ActivationSchema,
|
|
429
430
|
ActivationType2 as ActivationType,
|
|
@@ -697,6 +698,7 @@ export {
|
|
|
697
698
|
SessionInfoType2 as SessionInfoType,
|
|
698
699
|
SessionViewSchema2 as SessionViewSchema,
|
|
699
700
|
SessionViewType2 as SessionViewType,
|
|
701
|
+
SessionsFrameType2 as SessionsFrameType,
|
|
700
702
|
SetOutcomeSchema2 as SetOutcomeSchema,
|
|
701
703
|
SetOutcomeType2 as SetOutcomeType,
|
|
702
704
|
SettingInfoSchema2 as SettingInfoSchema,
|
package/dist/src/views.d.ts
CHANGED
|
@@ -3091,6 +3091,192 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
|
|
|
3091
3091
|
}>]>;
|
|
3092
3092
|
/** One frame of a head's watch on the wire: the whole view first, then each later view as what changed since the frame before it, an absent field unchanged; a null `leadingPrompt` clears it. */
|
|
3093
3093
|
export type ViewFrame = Decoded<typeof ViewFrameType>;
|
|
3094
|
+
export declare const SessionsFrameType: Type.TObject<{
|
|
3095
|
+
kind: Type.TEnum<["list", "delta"]>;
|
|
3096
|
+
order: Type.TObject<{
|
|
3097
|
+
runs: Type.TArray<Type.TNumber>;
|
|
3098
|
+
items: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"session">>>;
|
|
3099
|
+
}>;
|
|
3100
|
+
items: Type.TArray<Type.TObject<{
|
|
3101
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
3102
|
+
name: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3103
|
+
parent: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"session">>, Type.TNull]>;
|
|
3104
|
+
call: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"call">>, Type.TNull]>;
|
|
3105
|
+
workspace: Type.TUnsafe<import("./ids.ts").Id<"workspace">>;
|
|
3106
|
+
pinned: Type.TBoolean;
|
|
3107
|
+
archived: Type.TBoolean;
|
|
3108
|
+
activation: Type.TUnion<[Type.TObject<{
|
|
3109
|
+
kind: Type.TLiteral<"active">;
|
|
3110
|
+
}>, Type.TObject<{
|
|
3111
|
+
kind: Type.TLiteral<"inactive">;
|
|
3112
|
+
}>, Type.TObject<{
|
|
3113
|
+
kind: Type.TLiteral<"unavailable">;
|
|
3114
|
+
reason: Type.TEnum<["unsupported", "unreachable"]>;
|
|
3115
|
+
workspace: Type.TUnsafe<import("./ids.ts").Id<"workspace">>;
|
|
3116
|
+
}>, Type.TObject<{
|
|
3117
|
+
kind: Type.TLiteral<"failed">;
|
|
3118
|
+
message: Type.TString;
|
|
3119
|
+
}>]>;
|
|
3120
|
+
heads: Type.TArray<Type.TObject<{
|
|
3121
|
+
name: Type.TUnsafe<import("./ids.ts").Id<"head">>;
|
|
3122
|
+
tip: Type.TUnion<[Type.TObject<{
|
|
3123
|
+
kind: Type.TLiteral<"start">;
|
|
3124
|
+
}>, Type.TObject<{
|
|
3125
|
+
kind: Type.TLiteral<"commit">;
|
|
3126
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"commit">>;
|
|
3127
|
+
}>]>;
|
|
3128
|
+
stack: Type.TUnion<[Type.TObject<{
|
|
3129
|
+
parent: Type.TUnsafe<import("./ids.ts").Id<"head">>;
|
|
3130
|
+
base: Type.TUnion<[Type.TObject<{
|
|
3131
|
+
kind: Type.TLiteral<"start">;
|
|
3132
|
+
}>, Type.TObject<{
|
|
3133
|
+
kind: Type.TLiteral<"commit">;
|
|
3134
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"commit">>;
|
|
3135
|
+
}>]>;
|
|
3136
|
+
stale: Type.TBoolean;
|
|
3137
|
+
}>, Type.TNull]>;
|
|
3138
|
+
execution: Type.TUnion<[Type.TObject<{
|
|
3139
|
+
kind: Type.TLiteral<"idle">;
|
|
3140
|
+
lastRun: Type.TUnion<[Type.TObject<{
|
|
3141
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
3142
|
+
end: Type.TUnion<[Type.TObject<{
|
|
3143
|
+
kind: Type.TLiteral<"completed">;
|
|
3144
|
+
usage: Type.TObject<{
|
|
3145
|
+
input: Type.TNumber;
|
|
3146
|
+
output: Type.TNumber;
|
|
3147
|
+
cacheRead: Type.TNumber;
|
|
3148
|
+
cacheWrite: Type.TNumber;
|
|
3149
|
+
reasoning: Type.TUnion<[Type.TNumber, Type.TNull]>;
|
|
3150
|
+
total: Type.TNumber;
|
|
3151
|
+
cost: Type.TObject<{
|
|
3152
|
+
input: Type.TNumber;
|
|
3153
|
+
output: Type.TNumber;
|
|
3154
|
+
cacheRead: Type.TNumber;
|
|
3155
|
+
cacheWrite: Type.TNumber;
|
|
3156
|
+
total: Type.TNumber;
|
|
3157
|
+
}>;
|
|
3158
|
+
}>;
|
|
3159
|
+
}>, Type.TObject<{
|
|
3160
|
+
kind: Type.TLiteral<"stopped">;
|
|
3161
|
+
}>, Type.TObject<{
|
|
3162
|
+
kind: Type.TLiteral<"failed">;
|
|
3163
|
+
failure: Type.TObject<{
|
|
3164
|
+
class: Type.TEnum<["rate_limit", "auth", "quota", "context_window", "overloaded", "network", "aborted", "provider", "runner"]>;
|
|
3165
|
+
message: Type.TString;
|
|
3166
|
+
retryAfterMs: Type.TOptional<Type.TNumber>;
|
|
3167
|
+
}>;
|
|
3168
|
+
}>]>;
|
|
3169
|
+
endedAt: Type.TNumber;
|
|
3170
|
+
}>, Type.TNull]>;
|
|
3171
|
+
}>, Type.TObject<{
|
|
3172
|
+
kind: Type.TLiteral<"live">;
|
|
3173
|
+
run: Type.TObject<{
|
|
3174
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
3175
|
+
head: Type.TUnsafe<import("./ids.ts").Id<"head">>;
|
|
3176
|
+
startedAt: Type.TNumber;
|
|
3177
|
+
attempt: Type.TNumber;
|
|
3178
|
+
configuration: Type.TObject<{
|
|
3179
|
+
kind: Type.TLiteral<"exact">;
|
|
3180
|
+
model: Type.TObject<{
|
|
3181
|
+
provider: Type.TString;
|
|
3182
|
+
id: Type.TString;
|
|
3183
|
+
}>;
|
|
3184
|
+
thinking: Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>;
|
|
3185
|
+
agent: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3186
|
+
settings: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
|
|
3187
|
+
settingsVersion: Type.TString;
|
|
3188
|
+
}>;
|
|
3189
|
+
origin: Type.TUnion<[Type.TObject<{
|
|
3190
|
+
kind: Type.TLiteral<"input">;
|
|
3191
|
+
message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
|
|
3192
|
+
}>, Type.TObject<{
|
|
3193
|
+
kind: Type.TLiteral<"continuation">;
|
|
3194
|
+
from: Type.TEnum<["child", "job", "wake"]>;
|
|
3195
|
+
}>]>;
|
|
3196
|
+
}>;
|
|
3197
|
+
phase: Type.TEnum<["responding", "executing"]>;
|
|
3198
|
+
stopping: Type.TBoolean;
|
|
3199
|
+
}>, Type.TObject<{
|
|
3200
|
+
kind: Type.TLiteral<"waiting">;
|
|
3201
|
+
run: Type.TObject<{
|
|
3202
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
3203
|
+
head: Type.TUnsafe<import("./ids.ts").Id<"head">>;
|
|
3204
|
+
startedAt: Type.TNumber;
|
|
3205
|
+
attempt: Type.TNumber;
|
|
3206
|
+
configuration: Type.TObject<{
|
|
3207
|
+
kind: Type.TLiteral<"exact">;
|
|
3208
|
+
model: Type.TObject<{
|
|
3209
|
+
provider: Type.TString;
|
|
3210
|
+
id: Type.TString;
|
|
3211
|
+
}>;
|
|
3212
|
+
thinking: Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>;
|
|
3213
|
+
agent: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3214
|
+
settings: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
|
|
3215
|
+
settingsVersion: Type.TString;
|
|
3216
|
+
}>;
|
|
3217
|
+
origin: Type.TUnion<[Type.TObject<{
|
|
3218
|
+
kind: Type.TLiteral<"input">;
|
|
3219
|
+
message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
|
|
3220
|
+
}>, Type.TObject<{
|
|
3221
|
+
kind: Type.TLiteral<"continuation">;
|
|
3222
|
+
from: Type.TEnum<["child", "job", "wake"]>;
|
|
3223
|
+
}>]>;
|
|
3224
|
+
}>;
|
|
3225
|
+
on: Type.TUnion<[Type.TObject<{
|
|
3226
|
+
kind: Type.TLiteral<"run">;
|
|
3227
|
+
session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
|
|
3228
|
+
run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
3229
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
3230
|
+
}>, Type.TObject<{
|
|
3231
|
+
kind: Type.TLiteral<"job">;
|
|
3232
|
+
job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
|
|
3233
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
3234
|
+
}>, Type.TObject<{
|
|
3235
|
+
kind: Type.TLiteral<"part">;
|
|
3236
|
+
part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
|
|
3237
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
3238
|
+
}>, Type.TObject<{
|
|
3239
|
+
kind: Type.TLiteral<"timer">;
|
|
3240
|
+
until: Type.TNumber;
|
|
3241
|
+
deadline: Type.TOptional<Type.TNumber>;
|
|
3242
|
+
}>]>;
|
|
3243
|
+
}>, Type.TObject<{
|
|
3244
|
+
kind: Type.TLiteral<"retrying">;
|
|
3245
|
+
run: Type.TObject<{
|
|
3246
|
+
id: Type.TUnsafe<import("./ids.ts").Id<"run">>;
|
|
3247
|
+
head: Type.TUnsafe<import("./ids.ts").Id<"head">>;
|
|
3248
|
+
startedAt: Type.TNumber;
|
|
3249
|
+
attempt: Type.TNumber;
|
|
3250
|
+
configuration: Type.TObject<{
|
|
3251
|
+
kind: Type.TLiteral<"exact">;
|
|
3252
|
+
model: Type.TObject<{
|
|
3253
|
+
provider: Type.TString;
|
|
3254
|
+
id: Type.TString;
|
|
3255
|
+
}>;
|
|
3256
|
+
thinking: Type.TEnum<["off", "minimal", "low", "medium", "high", "xhigh", "max"]>;
|
|
3257
|
+
agent: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
3258
|
+
settings: Type.TRecord<"^.*$", Type.TUnsafe<import("./json.ts").Json>>;
|
|
3259
|
+
settingsVersion: Type.TString;
|
|
3260
|
+
}>;
|
|
3261
|
+
origin: Type.TUnion<[Type.TObject<{
|
|
3262
|
+
kind: Type.TLiteral<"input">;
|
|
3263
|
+
message: Type.TUnsafe<import("./ids.ts").Id<"message">>;
|
|
3264
|
+
}>, Type.TObject<{
|
|
3265
|
+
kind: Type.TLiteral<"continuation">;
|
|
3266
|
+
from: Type.TEnum<["child", "job", "wake"]>;
|
|
3267
|
+
}>]>;
|
|
3268
|
+
}>;
|
|
3269
|
+
until: Type.TNumber;
|
|
3270
|
+
reason: Type.TString;
|
|
3271
|
+
}>]>;
|
|
3272
|
+
unread: Type.TBoolean;
|
|
3273
|
+
}>>;
|
|
3274
|
+
createdAt: Type.TNumber;
|
|
3275
|
+
lastActivityAt: Type.TNumber;
|
|
3276
|
+
}>>;
|
|
3277
|
+
}>;
|
|
3278
|
+
/** One frame of `sessions.watch`: the list's session ids as the previous frame's ids spliced (a `list` splices from none and starts every stream), and the row of each id the splice takes; a row a client cannot read is left out. */
|
|
3279
|
+
export type SessionsFrame = Decoded<typeof SessionsFrameType>;
|
|
3094
3280
|
export declare const ViewOptionsSchema: Schema<ViewOptions>;
|
|
3095
3281
|
export declare const UserStatusSchema: Schema<UserStatus>;
|
|
3096
3282
|
export declare const MessageSchema: Schema<Message>;
|
package/dist/src/views.js
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
HistoryPageType2,
|
|
8
8
|
ViewAppendType2,
|
|
9
9
|
ViewFrameType2,
|
|
10
|
+
SessionsFrameType2,
|
|
10
11
|
ViewOptionsSchema2,
|
|
11
12
|
UserStatusSchema2,
|
|
12
13
|
MessageSchema2,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
SessionViewSchema2,
|
|
15
16
|
HistoryPageSchema2,
|
|
16
17
|
ViewFrameSchema2
|
|
17
|
-
} from "../chunks/browser-
|
|
18
|
+
} from "../chunks/browser-fe66aj8v.js";
|
|
18
19
|
import"../chunks/browser-t5xqtqzh.js";
|
|
19
20
|
import"../chunks/browser-h86zs54a.js";
|
|
20
21
|
import"../chunks/browser-xensz05x.js";
|
|
@@ -38,6 +39,7 @@ export {
|
|
|
38
39
|
MessageType2 as MessageType,
|
|
39
40
|
SessionViewSchema2 as SessionViewSchema,
|
|
40
41
|
SessionViewType2 as SessionViewType,
|
|
42
|
+
SessionsFrameType2 as SessionsFrameType,
|
|
41
43
|
TurnInfoSchema2 as TurnInfoSchema,
|
|
42
44
|
TurnInfoType2 as TurnInfoType,
|
|
43
45
|
UserStatusSchema2 as UserStatusSchema,
|
|
@@ -471,182 +471,189 @@ export declare const HOST_OPERATIONS: {
|
|
|
471
471
|
} | undefined;
|
|
472
472
|
}>;
|
|
473
473
|
readonly output: import("../../schema.ts").Schema<{
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
} | {
|
|
484
|
-
id: import("../../ids.ts").Id<"commit">;
|
|
485
|
-
kind: "commit";
|
|
486
|
-
};
|
|
487
|
-
stack: {
|
|
488
|
-
stale: boolean;
|
|
489
|
-
parent: import("../../ids.ts").Id<"head">;
|
|
490
|
-
base: {
|
|
474
|
+
items: {
|
|
475
|
+
name: string | null;
|
|
476
|
+
call: import("../../ids.ts").Id<"call"> | null;
|
|
477
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
478
|
+
id: import("../../ids.ts").Id<"session">;
|
|
479
|
+
parent: import("../../ids.ts").Id<"session"> | null;
|
|
480
|
+
heads: {
|
|
481
|
+
name: import("../../ids.ts").Id<"head">;
|
|
482
|
+
tip: {
|
|
491
483
|
kind: "start";
|
|
492
484
|
} | {
|
|
493
485
|
id: import("../../ids.ts").Id<"commit">;
|
|
494
486
|
kind: "commit";
|
|
495
487
|
};
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
488
|
+
stack: {
|
|
489
|
+
stale: boolean;
|
|
490
|
+
parent: import("../../ids.ts").Id<"head">;
|
|
491
|
+
base: {
|
|
492
|
+
kind: "start";
|
|
493
|
+
} | {
|
|
494
|
+
id: import("../../ids.ts").Id<"commit">;
|
|
495
|
+
kind: "commit";
|
|
496
|
+
};
|
|
497
|
+
} | null;
|
|
498
|
+
execution: {
|
|
499
|
+
kind: "idle";
|
|
500
|
+
lastRun: {
|
|
501
|
+
id: import("../../ids.ts").Id<"run">;
|
|
502
|
+
end: {
|
|
503
|
+
kind: "completed";
|
|
504
|
+
usage: {
|
|
511
505
|
output: number;
|
|
512
506
|
input: number;
|
|
513
507
|
cacheRead: number;
|
|
514
508
|
cacheWrite: number;
|
|
509
|
+
reasoning: number | null;
|
|
515
510
|
total: number;
|
|
511
|
+
cost: {
|
|
512
|
+
output: number;
|
|
513
|
+
input: number;
|
|
514
|
+
cacheRead: number;
|
|
515
|
+
cacheWrite: number;
|
|
516
|
+
total: number;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
} | {
|
|
520
|
+
kind: "stopped";
|
|
521
|
+
} | {
|
|
522
|
+
kind: "failed";
|
|
523
|
+
failure: {
|
|
524
|
+
retryAfterMs?: number | undefined;
|
|
525
|
+
message: string;
|
|
526
|
+
class: "provider" | "rate_limit" | "auth" | "quota" | "context_window" | "overloaded" | "network" | "aborted" | "runner";
|
|
516
527
|
};
|
|
517
528
|
};
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
529
|
+
endedAt: number;
|
|
530
|
+
} | null;
|
|
531
|
+
} | {
|
|
532
|
+
run: {
|
|
533
|
+
head: import("../../ids.ts").Id<"head">;
|
|
534
|
+
id: import("../../ids.ts").Id<"run">;
|
|
535
|
+
configuration: {
|
|
536
|
+
kind: "exact";
|
|
537
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
538
|
+
model: {
|
|
539
|
+
id: string;
|
|
540
|
+
provider: string;
|
|
541
|
+
};
|
|
542
|
+
agent: string | null;
|
|
543
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
544
|
+
settingsVersion: string;
|
|
526
545
|
};
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
kind: "exact";
|
|
536
|
-
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
537
|
-
model: {
|
|
538
|
-
id: string;
|
|
539
|
-
provider: string;
|
|
546
|
+
startedAt: number;
|
|
547
|
+
attempt: number;
|
|
548
|
+
origin: {
|
|
549
|
+
message: import("../../ids.ts").Id<"message">;
|
|
550
|
+
kind: "input";
|
|
551
|
+
} | {
|
|
552
|
+
kind: "continuation";
|
|
553
|
+
from: "job" | "child" | "wake";
|
|
540
554
|
};
|
|
541
|
-
agent: string | null;
|
|
542
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
543
|
-
settingsVersion: string;
|
|
544
555
|
};
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
556
|
+
kind: "live";
|
|
557
|
+
phase: "responding" | "executing";
|
|
558
|
+
stopping: boolean;
|
|
559
|
+
} | {
|
|
560
|
+
run: {
|
|
561
|
+
head: import("../../ids.ts").Id<"head">;
|
|
562
|
+
id: import("../../ids.ts").Id<"run">;
|
|
563
|
+
configuration: {
|
|
564
|
+
kind: "exact";
|
|
565
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
566
|
+
model: {
|
|
567
|
+
id: string;
|
|
568
|
+
provider: string;
|
|
569
|
+
};
|
|
570
|
+
agent: string | null;
|
|
571
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
572
|
+
settingsVersion: string;
|
|
573
|
+
};
|
|
574
|
+
startedAt: number;
|
|
575
|
+
attempt: number;
|
|
576
|
+
origin: {
|
|
577
|
+
message: import("../../ids.ts").Id<"message">;
|
|
578
|
+
kind: "input";
|
|
579
|
+
} | {
|
|
580
|
+
kind: "continuation";
|
|
581
|
+
from: "job" | "child" | "wake";
|
|
568
582
|
};
|
|
569
|
-
agent: string | null;
|
|
570
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
571
|
-
settingsVersion: string;
|
|
572
583
|
};
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
584
|
+
kind: "waiting";
|
|
585
|
+
on: {
|
|
586
|
+
deadline?: number | undefined;
|
|
587
|
+
session: import("../../ids.ts").Id<"session">;
|
|
588
|
+
run: import("../../ids.ts").Id<"run">;
|
|
589
|
+
kind: "run";
|
|
578
590
|
} | {
|
|
579
|
-
|
|
580
|
-
|
|
591
|
+
deadline?: number | undefined;
|
|
592
|
+
job: import("../../ids.ts").Id<"job">;
|
|
593
|
+
kind: "job";
|
|
594
|
+
} | {
|
|
595
|
+
deadline?: number | undefined;
|
|
596
|
+
part: import("../../ids.ts").Id<"part">;
|
|
597
|
+
kind: "part";
|
|
598
|
+
} | {
|
|
599
|
+
deadline?: number | undefined;
|
|
600
|
+
kind: "timer";
|
|
601
|
+
until: number;
|
|
581
602
|
};
|
|
582
|
-
};
|
|
583
|
-
kind: "waiting";
|
|
584
|
-
on: {
|
|
585
|
-
deadline?: number | undefined;
|
|
586
|
-
session: import("../../ids.ts").Id<"session">;
|
|
587
|
-
run: import("../../ids.ts").Id<"run">;
|
|
588
|
-
kind: "run";
|
|
589
|
-
} | {
|
|
590
|
-
deadline?: number | undefined;
|
|
591
|
-
job: import("../../ids.ts").Id<"job">;
|
|
592
|
-
kind: "job";
|
|
593
|
-
} | {
|
|
594
|
-
deadline?: number | undefined;
|
|
595
|
-
part: import("../../ids.ts").Id<"part">;
|
|
596
|
-
kind: "part";
|
|
597
603
|
} | {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
604
|
+
run: {
|
|
605
|
+
head: import("../../ids.ts").Id<"head">;
|
|
606
|
+
id: import("../../ids.ts").Id<"run">;
|
|
607
|
+
configuration: {
|
|
608
|
+
kind: "exact";
|
|
609
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
610
|
+
model: {
|
|
611
|
+
id: string;
|
|
612
|
+
provider: string;
|
|
613
|
+
};
|
|
614
|
+
agent: string | null;
|
|
615
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
616
|
+
settingsVersion: string;
|
|
617
|
+
};
|
|
618
|
+
startedAt: number;
|
|
619
|
+
attempt: number;
|
|
620
|
+
origin: {
|
|
621
|
+
message: import("../../ids.ts").Id<"message">;
|
|
622
|
+
kind: "input";
|
|
623
|
+
} | {
|
|
624
|
+
kind: "continuation";
|
|
625
|
+
from: "job" | "child" | "wake";
|
|
612
626
|
};
|
|
613
|
-
agent: string | null;
|
|
614
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
615
|
-
settingsVersion: string;
|
|
616
|
-
};
|
|
617
|
-
startedAt: number;
|
|
618
|
-
attempt: number;
|
|
619
|
-
origin: {
|
|
620
|
-
message: import("../../ids.ts").Id<"message">;
|
|
621
|
-
kind: "input";
|
|
622
|
-
} | {
|
|
623
|
-
kind: "continuation";
|
|
624
|
-
from: "job" | "child" | "wake";
|
|
625
627
|
};
|
|
628
|
+
kind: "retrying";
|
|
629
|
+
reason: string;
|
|
630
|
+
until: number;
|
|
626
631
|
};
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
632
|
+
unread: boolean;
|
|
633
|
+
}[];
|
|
634
|
+
pinned: boolean;
|
|
635
|
+
archived: boolean;
|
|
636
|
+
activation: {
|
|
637
|
+
kind: "active";
|
|
638
|
+
} | {
|
|
639
|
+
kind: "inactive";
|
|
640
|
+
} | {
|
|
641
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
642
|
+
kind: "unavailable";
|
|
643
|
+
reason: "unreachable" | "unsupported";
|
|
644
|
+
} | {
|
|
645
|
+
message: string;
|
|
646
|
+
kind: "failed";
|
|
630
647
|
};
|
|
631
|
-
|
|
648
|
+
createdAt: number;
|
|
649
|
+
lastActivityAt: number;
|
|
632
650
|
}[];
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
} | {
|
|
638
|
-
kind: "inactive";
|
|
639
|
-
} | {
|
|
640
|
-
workspace: import("../../ids.ts").Id<"workspace">;
|
|
641
|
-
kind: "unavailable";
|
|
642
|
-
reason: "unreachable" | "unsupported";
|
|
643
|
-
} | {
|
|
644
|
-
message: string;
|
|
645
|
-
kind: "failed";
|
|
651
|
+
kind: "list" | "delta";
|
|
652
|
+
order: {
|
|
653
|
+
items: import("../../ids.ts").Id<"session">[];
|
|
654
|
+
runs: number[];
|
|
646
655
|
};
|
|
647
|
-
|
|
648
|
-
lastActivityAt: number;
|
|
649
|
-
}[]>;
|
|
656
|
+
}>;
|
|
650
657
|
readonly authority: "participant";
|
|
651
658
|
readonly scope: "host";
|
|
652
659
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_OPERATIONS2,
|
|
3
3
|
MAINTENANCE_OPERATIONS2
|
|
4
|
-
} from "../../../chunks/browser-
|
|
4
|
+
} from "../../../chunks/browser-fnanbp6m.js";
|
|
5
5
|
import"../../../chunks/browser-r87w64mz.js";
|
|
6
|
+
import"../../../chunks/browser-fe66aj8v.js";
|
|
6
7
|
import"../../../chunks/browser-j629a6wa.js";
|
|
7
8
|
import"../../../chunks/browser-0byq2fja.js";
|
|
8
9
|
import"../../../chunks/browser-s2xe7c21.js";
|
|
9
10
|
import"../../../chunks/browser-0chm3654.js";
|
|
10
11
|
import"../../../chunks/browser-6e1madxa.js";
|
|
12
|
+
import"../../../chunks/browser-t5xqtqzh.js";
|
|
13
|
+
import"../../../chunks/browser-h86zs54a.js";
|
|
11
14
|
import"../../../chunks/browser-xensz05x.js";
|
|
12
15
|
import"../../../chunks/browser-bg1esaw0.js";
|
|
13
16
|
import"../../../chunks/browser-8ancsy4m.js";
|
|
@@ -18,6 +21,7 @@ import"../../../chunks/browser-ynj8v9ad.js";
|
|
|
18
21
|
import"../../../chunks/browser-0sbkxgkx.js";
|
|
19
22
|
import"../../../chunks/browser-sgwxbek9.js";
|
|
20
23
|
import"../../../chunks/browser-1sfp0bcx.js";
|
|
24
|
+
import"../../../chunks/browser-ebr6k189.js";
|
|
21
25
|
import"../../../chunks/browser-4et7qtz3.js";
|
|
22
26
|
import"../../../chunks/browser-ypez6s7v.js";
|
|
23
27
|
import"../../../chunks/browser-vzc3r2r3.js";
|
|
@@ -6645,182 +6645,189 @@ export declare const OPERATIONS: {
|
|
|
6645
6645
|
} | undefined;
|
|
6646
6646
|
}>;
|
|
6647
6647
|
readonly output: import("../../schema.ts").Schema<{
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
} | {
|
|
6658
|
-
id: import("../../ids.ts").Id<"commit">;
|
|
6659
|
-
kind: "commit";
|
|
6660
|
-
};
|
|
6661
|
-
stack: {
|
|
6662
|
-
stale: boolean;
|
|
6663
|
-
parent: import("../../ids.ts").Id<"head">;
|
|
6664
|
-
base: {
|
|
6648
|
+
items: {
|
|
6649
|
+
name: string | null;
|
|
6650
|
+
call: import("../../ids.ts").Id<"call"> | null;
|
|
6651
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
6652
|
+
id: import("../../ids.ts").Id<"session">;
|
|
6653
|
+
parent: import("../../ids.ts").Id<"session"> | null;
|
|
6654
|
+
heads: {
|
|
6655
|
+
name: import("../../ids.ts").Id<"head">;
|
|
6656
|
+
tip: {
|
|
6665
6657
|
kind: "start";
|
|
6666
6658
|
} | {
|
|
6667
6659
|
id: import("../../ids.ts").Id<"commit">;
|
|
6668
6660
|
kind: "commit";
|
|
6669
6661
|
};
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6662
|
+
stack: {
|
|
6663
|
+
stale: boolean;
|
|
6664
|
+
parent: import("../../ids.ts").Id<"head">;
|
|
6665
|
+
base: {
|
|
6666
|
+
kind: "start";
|
|
6667
|
+
} | {
|
|
6668
|
+
id: import("../../ids.ts").Id<"commit">;
|
|
6669
|
+
kind: "commit";
|
|
6670
|
+
};
|
|
6671
|
+
} | null;
|
|
6672
|
+
execution: {
|
|
6673
|
+
kind: "idle";
|
|
6674
|
+
lastRun: {
|
|
6675
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6676
|
+
end: {
|
|
6677
|
+
kind: "completed";
|
|
6678
|
+
usage: {
|
|
6685
6679
|
output: number;
|
|
6686
6680
|
input: number;
|
|
6687
6681
|
cacheRead: number;
|
|
6688
6682
|
cacheWrite: number;
|
|
6683
|
+
reasoning: number | null;
|
|
6689
6684
|
total: number;
|
|
6685
|
+
cost: {
|
|
6686
|
+
output: number;
|
|
6687
|
+
input: number;
|
|
6688
|
+
cacheRead: number;
|
|
6689
|
+
cacheWrite: number;
|
|
6690
|
+
total: number;
|
|
6691
|
+
};
|
|
6692
|
+
};
|
|
6693
|
+
} | {
|
|
6694
|
+
kind: "stopped";
|
|
6695
|
+
} | {
|
|
6696
|
+
kind: "failed";
|
|
6697
|
+
failure: {
|
|
6698
|
+
retryAfterMs?: number | undefined;
|
|
6699
|
+
message: string;
|
|
6700
|
+
class: "provider" | "rate_limit" | "auth" | "quota" | "context_window" | "overloaded" | "network" | "aborted" | "runner";
|
|
6690
6701
|
};
|
|
6691
6702
|
};
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6703
|
+
endedAt: number;
|
|
6704
|
+
} | null;
|
|
6705
|
+
} | {
|
|
6706
|
+
run: {
|
|
6707
|
+
head: import("../../ids.ts").Id<"head">;
|
|
6708
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6709
|
+
configuration: {
|
|
6710
|
+
kind: "exact";
|
|
6711
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6712
|
+
model: {
|
|
6713
|
+
id: string;
|
|
6714
|
+
provider: string;
|
|
6715
|
+
};
|
|
6716
|
+
agent: string | null;
|
|
6717
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
6718
|
+
settingsVersion: string;
|
|
6700
6719
|
};
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
kind: "exact";
|
|
6710
|
-
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6711
|
-
model: {
|
|
6712
|
-
id: string;
|
|
6713
|
-
provider: string;
|
|
6720
|
+
startedAt: number;
|
|
6721
|
+
attempt: number;
|
|
6722
|
+
origin: {
|
|
6723
|
+
message: import("../../ids.ts").Id<"message">;
|
|
6724
|
+
kind: "input";
|
|
6725
|
+
} | {
|
|
6726
|
+
kind: "continuation";
|
|
6727
|
+
from: "job" | "child" | "wake";
|
|
6714
6728
|
};
|
|
6715
|
-
agent: string | null;
|
|
6716
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
6717
|
-
settingsVersion: string;
|
|
6718
6729
|
};
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6730
|
+
kind: "live";
|
|
6731
|
+
phase: "responding" | "executing";
|
|
6732
|
+
stopping: boolean;
|
|
6733
|
+
} | {
|
|
6734
|
+
run: {
|
|
6735
|
+
head: import("../../ids.ts").Id<"head">;
|
|
6736
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6737
|
+
configuration: {
|
|
6738
|
+
kind: "exact";
|
|
6739
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6740
|
+
model: {
|
|
6741
|
+
id: string;
|
|
6742
|
+
provider: string;
|
|
6743
|
+
};
|
|
6744
|
+
agent: string | null;
|
|
6745
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
6746
|
+
settingsVersion: string;
|
|
6747
|
+
};
|
|
6748
|
+
startedAt: number;
|
|
6749
|
+
attempt: number;
|
|
6750
|
+
origin: {
|
|
6751
|
+
message: import("../../ids.ts").Id<"message">;
|
|
6752
|
+
kind: "input";
|
|
6753
|
+
} | {
|
|
6754
|
+
kind: "continuation";
|
|
6755
|
+
from: "job" | "child" | "wake";
|
|
6742
6756
|
};
|
|
6743
|
-
agent: string | null;
|
|
6744
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
6745
|
-
settingsVersion: string;
|
|
6746
6757
|
};
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6758
|
+
kind: "waiting";
|
|
6759
|
+
on: {
|
|
6760
|
+
deadline?: number | undefined;
|
|
6761
|
+
session: import("../../ids.ts").Id<"session">;
|
|
6762
|
+
run: import("../../ids.ts").Id<"run">;
|
|
6763
|
+
kind: "run";
|
|
6764
|
+
} | {
|
|
6765
|
+
deadline?: number | undefined;
|
|
6766
|
+
job: import("../../ids.ts").Id<"job">;
|
|
6767
|
+
kind: "job";
|
|
6768
|
+
} | {
|
|
6769
|
+
deadline?: number | undefined;
|
|
6770
|
+
part: import("../../ids.ts").Id<"part">;
|
|
6771
|
+
kind: "part";
|
|
6752
6772
|
} | {
|
|
6753
|
-
|
|
6754
|
-
|
|
6773
|
+
deadline?: number | undefined;
|
|
6774
|
+
kind: "timer";
|
|
6775
|
+
until: number;
|
|
6755
6776
|
};
|
|
6756
|
-
};
|
|
6757
|
-
kind: "waiting";
|
|
6758
|
-
on: {
|
|
6759
|
-
deadline?: number | undefined;
|
|
6760
|
-
session: import("../../ids.ts").Id<"session">;
|
|
6761
|
-
run: import("../../ids.ts").Id<"run">;
|
|
6762
|
-
kind: "run";
|
|
6763
|
-
} | {
|
|
6764
|
-
deadline?: number | undefined;
|
|
6765
|
-
job: import("../../ids.ts").Id<"job">;
|
|
6766
|
-
kind: "job";
|
|
6767
6777
|
} | {
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6778
|
+
run: {
|
|
6779
|
+
head: import("../../ids.ts").Id<"head">;
|
|
6780
|
+
id: import("../../ids.ts").Id<"run">;
|
|
6781
|
+
configuration: {
|
|
6782
|
+
kind: "exact";
|
|
6783
|
+
thinking: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
6784
|
+
model: {
|
|
6785
|
+
id: string;
|
|
6786
|
+
provider: string;
|
|
6787
|
+
};
|
|
6788
|
+
agent: string | null;
|
|
6789
|
+
settings: Record<string, import("../../json.ts").Json>;
|
|
6790
|
+
settingsVersion: string;
|
|
6791
|
+
};
|
|
6792
|
+
startedAt: number;
|
|
6793
|
+
attempt: number;
|
|
6794
|
+
origin: {
|
|
6795
|
+
message: import("../../ids.ts").Id<"message">;
|
|
6796
|
+
kind: "input";
|
|
6797
|
+
} | {
|
|
6798
|
+
kind: "continuation";
|
|
6799
|
+
from: "job" | "child" | "wake";
|
|
6786
6800
|
};
|
|
6787
|
-
agent: string | null;
|
|
6788
|
-
settings: Record<string, import("../../json.ts").Json>;
|
|
6789
|
-
settingsVersion: string;
|
|
6790
|
-
};
|
|
6791
|
-
startedAt: number;
|
|
6792
|
-
attempt: number;
|
|
6793
|
-
origin: {
|
|
6794
|
-
message: import("../../ids.ts").Id<"message">;
|
|
6795
|
-
kind: "input";
|
|
6796
|
-
} | {
|
|
6797
|
-
kind: "continuation";
|
|
6798
|
-
from: "job" | "child" | "wake";
|
|
6799
6801
|
};
|
|
6802
|
+
kind: "retrying";
|
|
6803
|
+
reason: string;
|
|
6804
|
+
until: number;
|
|
6800
6805
|
};
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6806
|
+
unread: boolean;
|
|
6807
|
+
}[];
|
|
6808
|
+
pinned: boolean;
|
|
6809
|
+
archived: boolean;
|
|
6810
|
+
activation: {
|
|
6811
|
+
kind: "active";
|
|
6812
|
+
} | {
|
|
6813
|
+
kind: "inactive";
|
|
6814
|
+
} | {
|
|
6815
|
+
workspace: import("../../ids.ts").Id<"workspace">;
|
|
6816
|
+
kind: "unavailable";
|
|
6817
|
+
reason: "unreachable" | "unsupported";
|
|
6818
|
+
} | {
|
|
6819
|
+
message: string;
|
|
6820
|
+
kind: "failed";
|
|
6804
6821
|
};
|
|
6805
|
-
|
|
6822
|
+
createdAt: number;
|
|
6823
|
+
lastActivityAt: number;
|
|
6806
6824
|
}[];
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
} | {
|
|
6812
|
-
kind: "inactive";
|
|
6813
|
-
} | {
|
|
6814
|
-
workspace: import("../../ids.ts").Id<"workspace">;
|
|
6815
|
-
kind: "unavailable";
|
|
6816
|
-
reason: "unreachable" | "unsupported";
|
|
6817
|
-
} | {
|
|
6818
|
-
message: string;
|
|
6819
|
-
kind: "failed";
|
|
6825
|
+
kind: "list" | "delta";
|
|
6826
|
+
order: {
|
|
6827
|
+
items: import("../../ids.ts").Id<"session">[];
|
|
6828
|
+
runs: number[];
|
|
6820
6829
|
};
|
|
6821
|
-
|
|
6822
|
-
lastActivityAt: number;
|
|
6823
|
-
}[]>;
|
|
6830
|
+
}>;
|
|
6824
6831
|
readonly authority: "participant";
|
|
6825
6832
|
readonly scope: "host";
|
|
6826
6833
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OPERATIONS2
|
|
3
|
-
} from "../../../chunks/browser-
|
|
4
|
-
import"../../../chunks/browser-
|
|
3
|
+
} from "../../../chunks/browser-etfrcxhb.js";
|
|
4
|
+
import"../../../chunks/browser-gzn951k8.js";
|
|
5
5
|
import"../../../chunks/browser-h5k4hqfq.js";
|
|
6
6
|
import"../../../chunks/browser-fd3accdr.js";
|
|
7
7
|
import"../../../chunks/browser-pdv675va.js";
|
|
8
8
|
import"../../../chunks/browser-0xr6c36r.js";
|
|
9
9
|
import"../../../chunks/browser-0g0z3617.js";
|
|
10
|
-
import"../../../chunks/browser-
|
|
10
|
+
import"../../../chunks/browser-fnanbp6m.js";
|
|
11
11
|
import"../../../chunks/browser-r87w64mz.js";
|
|
12
|
-
import"../../../chunks/browser-
|
|
12
|
+
import"../../../chunks/browser-fe66aj8v.js";
|
|
13
13
|
import"../../../chunks/browser-b519jtez.js";
|
|
14
14
|
import"../../../chunks/browser-j629a6wa.js";
|
|
15
15
|
import"../../../chunks/browser-0byq2fja.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SESSION_OPERATIONS2
|
|
3
|
-
} from "../../../chunks/browser-
|
|
3
|
+
} from "../../../chunks/browser-gzn951k8.js";
|
|
4
4
|
import"../../../chunks/browser-r87w64mz.js";
|
|
5
|
-
import"../../../chunks/browser-
|
|
5
|
+
import"../../../chunks/browser-fe66aj8v.js";
|
|
6
6
|
import"../../../chunks/browser-0chm3654.js";
|
|
7
7
|
import"../../../chunks/browser-t5xqtqzh.js";
|
|
8
8
|
import"../../../chunks/browser-h86zs54a.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/schema",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"provenance": true
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@standard-schema/spec": "1.1.0",
|
|
37
|
-
"typebox": "1.
|
|
36
|
+
"@standard-schema/spec": "^1.1.0",
|
|
37
|
+
"typebox": "^1.4.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@cfworker/json-schema": "4.1.1",
|
|
40
|
+
"@cfworker/json-schema": "^4.1.1",
|
|
41
41
|
"@types/node": "^26.6.5",
|
|
42
42
|
"typescript": "6.0.3",
|
|
43
43
|
"vitest": "^5.0.5"
|