@bendyline/gezel 1.0.7 → 1.1.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/checks/index.js +8 -3
- package/dist/{index-BgRfJ_Pt.d.ts → index-BagGCdN3.d.ts} +4612 -1248
- package/dist/index.d.ts +368 -8
- package/dist/index.js +17020 -11056
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +906 -691
- package/dist/native/index.d.ts +1 -1
- package/dist/native/index.js +1 -1
- package/dist/paths.d.ts +13 -1
- package/dist/paths.js +262 -196
- package/dist/{report-action-Kt6W23xy.d.ts → report-action-BCqCZQiu.d.ts} +260 -1
- package/dist/schemas/index.d.ts +3 -2
- package/dist/schemas/index.js +7523 -6538
- package/package.json +2 -1
|
@@ -148,6 +148,21 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
148
148
|
knowledge: "knowledge";
|
|
149
149
|
}>>>;
|
|
150
150
|
}, z.core.$strip>>;
|
|
151
|
+
toolPolicy: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
disallowToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
disallowBuiltinToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
outputMedium: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
artifact: "artifact";
|
|
156
|
+
workspace: "workspace";
|
|
157
|
+
"task-note": "task-note";
|
|
158
|
+
none: "none";
|
|
159
|
+
}>>;
|
|
160
|
+
additionalOutputMedia: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
161
|
+
artifact: "artifact";
|
|
162
|
+
workspace: "workspace";
|
|
163
|
+
"task-note": "task-note";
|
|
164
|
+
}>>>;
|
|
165
|
+
}, z.core.$strict>>;
|
|
151
166
|
assignee: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
152
167
|
kind: z.ZodLiteral<"gezel">;
|
|
153
168
|
gezelId: z.ZodString;
|
|
@@ -816,6 +831,21 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
816
831
|
knowledge: "knowledge";
|
|
817
832
|
}>>>;
|
|
818
833
|
}, z.core.$strip>>;
|
|
834
|
+
toolPolicy: z.ZodOptional<z.ZodObject<{
|
|
835
|
+
disallowToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
836
|
+
disallowBuiltinToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
837
|
+
outputMedium: z.ZodOptional<z.ZodEnum<{
|
|
838
|
+
artifact: "artifact";
|
|
839
|
+
workspace: "workspace";
|
|
840
|
+
"task-note": "task-note";
|
|
841
|
+
none: "none";
|
|
842
|
+
}>>;
|
|
843
|
+
additionalOutputMedia: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
844
|
+
artifact: "artifact";
|
|
845
|
+
workspace: "workspace";
|
|
846
|
+
"task-note": "task-note";
|
|
847
|
+
}>>>;
|
|
848
|
+
}, z.core.$strict>>;
|
|
819
849
|
assignee: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
820
850
|
kind: z.ZodLiteral<"gezel">;
|
|
821
851
|
gezelId: z.ZodString;
|
|
@@ -1659,6 +1689,20 @@ declare const GezelFrontmatterSchema: z.ZodObject<{
|
|
|
1659
1689
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
1660
1690
|
cpuMoe: z.ZodOptional<z.ZodBoolean>;
|
|
1661
1691
|
nCpuMoe: z.ZodOptional<z.ZodNumber>;
|
|
1692
|
+
nCpuFfn: z.ZodOptional<z.ZodNumber>;
|
|
1693
|
+
loadMode: z.ZodOptional<z.ZodEnum<{
|
|
1694
|
+
auto: "auto";
|
|
1695
|
+
none: "none";
|
|
1696
|
+
mmap: "mmap";
|
|
1697
|
+
mlock: "mlock";
|
|
1698
|
+
"mmap+mlock": "mmap+mlock";
|
|
1699
|
+
dio: "dio";
|
|
1700
|
+
}>>;
|
|
1701
|
+
lazyMode: z.ZodOptional<z.ZodEnum<{
|
|
1702
|
+
auto: "auto";
|
|
1703
|
+
off: "off";
|
|
1704
|
+
on: "on";
|
|
1705
|
+
}>>;
|
|
1662
1706
|
cacheReuse: z.ZodOptional<z.ZodNumber>;
|
|
1663
1707
|
swaFull: z.ZodOptional<z.ZodBoolean>;
|
|
1664
1708
|
flashAttn: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1941,6 +1985,20 @@ declare const ParsedGezelSchema: z.ZodObject<{
|
|
|
1941
1985
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
1942
1986
|
cpuMoe: z.ZodOptional<z.ZodBoolean>;
|
|
1943
1987
|
nCpuMoe: z.ZodOptional<z.ZodNumber>;
|
|
1988
|
+
nCpuFfn: z.ZodOptional<z.ZodNumber>;
|
|
1989
|
+
loadMode: z.ZodOptional<z.ZodEnum<{
|
|
1990
|
+
auto: "auto";
|
|
1991
|
+
none: "none";
|
|
1992
|
+
mmap: "mmap";
|
|
1993
|
+
mlock: "mlock";
|
|
1994
|
+
"mmap+mlock": "mmap+mlock";
|
|
1995
|
+
dio: "dio";
|
|
1996
|
+
}>>;
|
|
1997
|
+
lazyMode: z.ZodOptional<z.ZodEnum<{
|
|
1998
|
+
auto: "auto";
|
|
1999
|
+
off: "off";
|
|
2000
|
+
on: "on";
|
|
2001
|
+
}>>;
|
|
1944
2002
|
cacheReuse: z.ZodOptional<z.ZodNumber>;
|
|
1945
2003
|
swaFull: z.ZodOptional<z.ZodBoolean>;
|
|
1946
2004
|
flashAttn: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2204,14 +2262,29 @@ declare const GezelSummarySchema: z.ZodObject<{
|
|
|
2204
2262
|
skin2: z.ZodString;
|
|
2205
2263
|
hair: z.ZodString;
|
|
2206
2264
|
hairShape: z.ZodEnum<{
|
|
2265
|
+
medium: "medium";
|
|
2207
2266
|
halo: "halo";
|
|
2208
2267
|
short: "short";
|
|
2268
|
+
bob: "bob";
|
|
2209
2269
|
long: "long";
|
|
2270
|
+
"extra-long": "extra-long";
|
|
2210
2271
|
bun: "bun";
|
|
2211
2272
|
braids: "braids";
|
|
2212
2273
|
shaved: "shaved";
|
|
2213
2274
|
bald: "bald";
|
|
2214
2275
|
}>;
|
|
2276
|
+
bangs: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2277
|
+
straight: "straight";
|
|
2278
|
+
short: "short";
|
|
2279
|
+
"side-swept": "side-swept";
|
|
2280
|
+
curtain: "curtain";
|
|
2281
|
+
}>>>>;
|
|
2282
|
+
hairPart: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2283
|
+
none: "none";
|
|
2284
|
+
center: "center";
|
|
2285
|
+
left: "left";
|
|
2286
|
+
right: "right";
|
|
2287
|
+
}>>>;
|
|
2215
2288
|
hat: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2216
2289
|
cap: "cap";
|
|
2217
2290
|
beanie: "beanie";
|
|
@@ -2406,14 +2479,29 @@ declare const GezelDetailSchema: z.ZodObject<{
|
|
|
2406
2479
|
skin2: z.ZodString;
|
|
2407
2480
|
hair: z.ZodString;
|
|
2408
2481
|
hairShape: z.ZodEnum<{
|
|
2482
|
+
medium: "medium";
|
|
2409
2483
|
halo: "halo";
|
|
2410
2484
|
short: "short";
|
|
2485
|
+
bob: "bob";
|
|
2411
2486
|
long: "long";
|
|
2487
|
+
"extra-long": "extra-long";
|
|
2412
2488
|
bun: "bun";
|
|
2413
2489
|
braids: "braids";
|
|
2414
2490
|
shaved: "shaved";
|
|
2415
2491
|
bald: "bald";
|
|
2416
2492
|
}>;
|
|
2493
|
+
bangs: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2494
|
+
straight: "straight";
|
|
2495
|
+
short: "short";
|
|
2496
|
+
"side-swept": "side-swept";
|
|
2497
|
+
curtain: "curtain";
|
|
2498
|
+
}>>>>;
|
|
2499
|
+
hairPart: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2500
|
+
none: "none";
|
|
2501
|
+
center: "center";
|
|
2502
|
+
left: "left";
|
|
2503
|
+
right: "right";
|
|
2504
|
+
}>>>;
|
|
2417
2505
|
hat: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2418
2506
|
cap: "cap";
|
|
2419
2507
|
beanie: "beanie";
|
|
@@ -2621,6 +2709,20 @@ declare const GezelDetailSchema: z.ZodObject<{
|
|
|
2621
2709
|
nGpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
2622
2710
|
cpuMoe: z.ZodOptional<z.ZodBoolean>;
|
|
2623
2711
|
nCpuMoe: z.ZodOptional<z.ZodNumber>;
|
|
2712
|
+
nCpuFfn: z.ZodOptional<z.ZodNumber>;
|
|
2713
|
+
loadMode: z.ZodOptional<z.ZodEnum<{
|
|
2714
|
+
auto: "auto";
|
|
2715
|
+
none: "none";
|
|
2716
|
+
mmap: "mmap";
|
|
2717
|
+
mlock: "mlock";
|
|
2718
|
+
"mmap+mlock": "mmap+mlock";
|
|
2719
|
+
dio: "dio";
|
|
2720
|
+
}>>;
|
|
2721
|
+
lazyMode: z.ZodOptional<z.ZodEnum<{
|
|
2722
|
+
auto: "auto";
|
|
2723
|
+
off: "off";
|
|
2724
|
+
on: "on";
|
|
2725
|
+
}>>;
|
|
2624
2726
|
cacheReuse: z.ZodOptional<z.ZodNumber>;
|
|
2625
2727
|
swaFull: z.ZodOptional<z.ZodBoolean>;
|
|
2626
2728
|
flashAttn: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2979,6 +3081,7 @@ declare const ToolCallCardSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2979
3081
|
type ToolCallCard = z.infer<typeof ToolCallCardSchema>;
|
|
2980
3082
|
declare const ChatMessageToolCallSchema: z.ZodObject<{
|
|
2981
3083
|
name: z.ZodString;
|
|
3084
|
+
at: z.ZodOptional<z.ZodString>;
|
|
2982
3085
|
durationMs: z.ZodNumber;
|
|
2983
3086
|
success: z.ZodBoolean;
|
|
2984
3087
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3092,6 +3195,22 @@ declare const ReferencedFileSchema: z.ZodObject<{
|
|
|
3092
3195
|
path: z.ZodString;
|
|
3093
3196
|
}, z.core.$strip>;
|
|
3094
3197
|
type ReferencedFile = z.infer<typeof ReferencedFileSchema>;
|
|
3198
|
+
/**
|
|
3199
|
+
* User-facing facts about a persisted automatic context compaction.
|
|
3200
|
+
*
|
|
3201
|
+
* This metadata is deliberately display-only: the synthesized message's
|
|
3202
|
+
* `content` is still the only text replayed to the model. Keeping the facts
|
|
3203
|
+
* beside that message lets the chat timeline explain what happened after a
|
|
3204
|
+
* reload without injecting context-pressure narration into the model prompt.
|
|
3205
|
+
*/
|
|
3206
|
+
declare const ContextCompactionSchema: z.ZodObject<{
|
|
3207
|
+
removedCount: z.ZodNumber;
|
|
3208
|
+
contextWindow: z.ZodNumber;
|
|
3209
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3210
|
+
compactionCount: z.ZodNumber;
|
|
3211
|
+
autoCompactRatio: z.ZodNumber;
|
|
3212
|
+
}, z.core.$strip>;
|
|
3213
|
+
type ContextCompaction = z.infer<typeof ContextCompactionSchema>;
|
|
3095
3214
|
/**
|
|
3096
3215
|
* A single turn in an agent chat. Stored in memory while a chat session is
|
|
3097
3216
|
* active; dropped when the session ends or the daemon restarts.
|
|
@@ -3111,6 +3230,13 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
3111
3230
|
from: z.ZodOptional<z.ZodObject<{
|
|
3112
3231
|
gezelId: z.ZodString;
|
|
3113
3232
|
gezelName: z.ZodString;
|
|
3233
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3234
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3235
|
+
delegation: "delegation";
|
|
3236
|
+
consultation: "consultation";
|
|
3237
|
+
"task-entry": "task-entry";
|
|
3238
|
+
"task-handoff": "task-handoff";
|
|
3239
|
+
}>>;
|
|
3114
3240
|
}, z.core.$strip>>;
|
|
3115
3241
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3116
3242
|
kind: z.ZodEnum<{
|
|
@@ -3140,6 +3266,7 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
3140
3266
|
}, z.core.$strip>>;
|
|
3141
3267
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3142
3268
|
name: z.ZodString;
|
|
3269
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3143
3270
|
durationMs: z.ZodNumber;
|
|
3144
3271
|
success: z.ZodBoolean;
|
|
3145
3272
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3223,8 +3350,16 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
3223
3350
|
"growth-announcement": "growth-announcement";
|
|
3224
3351
|
"keurmeester-notice": "keurmeester-notice";
|
|
3225
3352
|
}>>;
|
|
3353
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
3354
|
+
removedCount: z.ZodNumber;
|
|
3355
|
+
contextWindow: z.ZodNumber;
|
|
3356
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3357
|
+
compactionCount: z.ZodNumber;
|
|
3358
|
+
autoCompactRatio: z.ZodNumber;
|
|
3359
|
+
}, z.core.$strip>>;
|
|
3226
3360
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3227
3361
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3362
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
3228
3363
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3229
3364
|
system: "system";
|
|
3230
3365
|
}>>;
|
|
@@ -3310,6 +3445,13 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3310
3445
|
from: z.ZodOptional<z.ZodObject<{
|
|
3311
3446
|
gezelId: z.ZodString;
|
|
3312
3447
|
gezelName: z.ZodString;
|
|
3448
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3449
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3450
|
+
delegation: "delegation";
|
|
3451
|
+
consultation: "consultation";
|
|
3452
|
+
"task-entry": "task-entry";
|
|
3453
|
+
"task-handoff": "task-handoff";
|
|
3454
|
+
}>>;
|
|
3313
3455
|
}, z.core.$strip>>;
|
|
3314
3456
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3315
3457
|
kind: z.ZodEnum<{
|
|
@@ -3339,6 +3481,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3339
3481
|
}, z.core.$strip>>;
|
|
3340
3482
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3341
3483
|
name: z.ZodString;
|
|
3484
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3342
3485
|
durationMs: z.ZodNumber;
|
|
3343
3486
|
success: z.ZodBoolean;
|
|
3344
3487
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3422,8 +3565,16 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3422
3565
|
"growth-announcement": "growth-announcement";
|
|
3423
3566
|
"keurmeester-notice": "keurmeester-notice";
|
|
3424
3567
|
}>>;
|
|
3568
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
3569
|
+
removedCount: z.ZodNumber;
|
|
3570
|
+
contextWindow: z.ZodNumber;
|
|
3571
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3572
|
+
compactionCount: z.ZodNumber;
|
|
3573
|
+
autoCompactRatio: z.ZodNumber;
|
|
3574
|
+
}, z.core.$strip>>;
|
|
3425
3575
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3426
3576
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3577
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
3427
3578
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3428
3579
|
system: "system";
|
|
3429
3580
|
}>>;
|
|
@@ -3469,6 +3620,13 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3469
3620
|
from: z.ZodOptional<z.ZodObject<{
|
|
3470
3621
|
gezelId: z.ZodString;
|
|
3471
3622
|
gezelName: z.ZodString;
|
|
3623
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3624
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3625
|
+
delegation: "delegation";
|
|
3626
|
+
consultation: "consultation";
|
|
3627
|
+
"task-entry": "task-entry";
|
|
3628
|
+
"task-handoff": "task-handoff";
|
|
3629
|
+
}>>;
|
|
3472
3630
|
}, z.core.$strip>>;
|
|
3473
3631
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3474
3632
|
kind: z.ZodEnum<{
|
|
@@ -3498,6 +3656,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3498
3656
|
}, z.core.$strip>>;
|
|
3499
3657
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3500
3658
|
name: z.ZodString;
|
|
3659
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3501
3660
|
durationMs: z.ZodNumber;
|
|
3502
3661
|
success: z.ZodBoolean;
|
|
3503
3662
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3581,8 +3740,16 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3581
3740
|
"growth-announcement": "growth-announcement";
|
|
3582
3741
|
"keurmeester-notice": "keurmeester-notice";
|
|
3583
3742
|
}>>;
|
|
3743
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
3744
|
+
removedCount: z.ZodNumber;
|
|
3745
|
+
contextWindow: z.ZodNumber;
|
|
3746
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3747
|
+
compactionCount: z.ZodNumber;
|
|
3748
|
+
autoCompactRatio: z.ZodNumber;
|
|
3749
|
+
}, z.core.$strip>>;
|
|
3584
3750
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3585
3751
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3752
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
3586
3753
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3587
3754
|
system: "system";
|
|
3588
3755
|
}>>;
|
|
@@ -3616,6 +3783,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3616
3783
|
}, z.core.$strip>, z.ZodObject<{
|
|
3617
3784
|
type: z.ZodLiteral<"tool">;
|
|
3618
3785
|
name: z.ZodString;
|
|
3786
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3619
3787
|
durationMs: z.ZodNumber;
|
|
3620
3788
|
success: z.ZodBoolean;
|
|
3621
3789
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3741,15 +3909,30 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3741
3909
|
canceled: "canceled";
|
|
3742
3910
|
rejected: "rejected";
|
|
3743
3911
|
}>;
|
|
3912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3913
|
+
type: z.ZodLiteral<"context_window">;
|
|
3914
|
+
numCtx: z.ZodNumber;
|
|
3915
|
+
model: z.ZodString;
|
|
3916
|
+
autoCompactRatio: z.ZodNumber;
|
|
3917
|
+
estimatedTokens: z.ZodOptional<z.ZodNumber>;
|
|
3744
3918
|
}, z.core.$strip>, z.ZodObject<{
|
|
3745
3919
|
type: z.ZodLiteral<"context_warning">;
|
|
3746
3920
|
estimatedTokens: z.ZodNumber;
|
|
3747
3921
|
numCtx: z.ZodNumber;
|
|
3748
3922
|
model: z.ZodString;
|
|
3923
|
+
reason: z.ZodOptional<z.ZodLiteral<"compaction_failed">>;
|
|
3749
3924
|
}, z.core.$strip>, z.ZodObject<{
|
|
3750
3925
|
type: z.ZodLiteral<"context_compacted">;
|
|
3751
3926
|
removedCount: z.ZodNumber;
|
|
3752
3927
|
model: z.ZodString;
|
|
3928
|
+
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
3929
|
+
estimatedTokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
3930
|
+
autoCompactRatio: z.ZodOptional<z.ZodNumber>;
|
|
3931
|
+
compactionCount: z.ZodOptional<z.ZodNumber>;
|
|
3932
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3933
|
+
"between-turn": "between-turn";
|
|
3934
|
+
"mid-turn": "mid-turn";
|
|
3935
|
+
}>>;
|
|
3753
3936
|
}, z.core.$strip>, z.ZodObject<{
|
|
3754
3937
|
type: z.ZodLiteral<"context_loop">;
|
|
3755
3938
|
compactionsThisSend: z.ZodNumber;
|
|
@@ -3862,6 +4045,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3862
4045
|
gate_plateau: "gate_plateau";
|
|
3863
4046
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
3864
4047
|
gate_infrastructure: "gate_infrastructure";
|
|
4048
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
3865
4049
|
step_stalled: "step_stalled";
|
|
3866
4050
|
budget_exhausted: "budget_exhausted";
|
|
3867
4051
|
}>;
|
|
@@ -3981,6 +4165,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3981
4165
|
gate_plateau: "gate_plateau";
|
|
3982
4166
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
3983
4167
|
gate_infrastructure: "gate_infrastructure";
|
|
4168
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
3984
4169
|
step_stalled: "step_stalled";
|
|
3985
4170
|
budget_exhausted: "budget_exhausted";
|
|
3986
4171
|
}>;
|
|
@@ -4094,6 +4279,18 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4094
4279
|
type: z.ZodLiteral<"gezel_created">;
|
|
4095
4280
|
gezelId: z.ZodString;
|
|
4096
4281
|
name: z.ZodString;
|
|
4282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4283
|
+
type: z.ZodLiteral<"prompt_draft_changed">;
|
|
4284
|
+
projectId: z.ZodString;
|
|
4285
|
+
gezelId: z.ZodString;
|
|
4286
|
+
draftId: z.ZodString;
|
|
4287
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
4288
|
+
status: z.ZodEnum<{
|
|
4289
|
+
draft: "draft";
|
|
4290
|
+
sent: "sent";
|
|
4291
|
+
}>;
|
|
4292
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
4293
|
+
updatedAt: z.ZodString;
|
|
4097
4294
|
}, z.core.$strip>, z.ZodObject<{
|
|
4098
4295
|
type: z.ZodLiteral<"night_shift">;
|
|
4099
4296
|
active: z.ZodBoolean;
|
|
@@ -4190,6 +4387,13 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4190
4387
|
from: z.ZodOptional<z.ZodObject<{
|
|
4191
4388
|
gezelId: z.ZodString;
|
|
4192
4389
|
gezelName: z.ZodString;
|
|
4390
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4391
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
4392
|
+
delegation: "delegation";
|
|
4393
|
+
consultation: "consultation";
|
|
4394
|
+
"task-entry": "task-entry";
|
|
4395
|
+
"task-handoff": "task-handoff";
|
|
4396
|
+
}>>;
|
|
4193
4397
|
}, z.core.$strip>>;
|
|
4194
4398
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4195
4399
|
kind: z.ZodEnum<{
|
|
@@ -4219,6 +4423,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4219
4423
|
}, z.core.$strip>>;
|
|
4220
4424
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4221
4425
|
name: z.ZodString;
|
|
4426
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4222
4427
|
durationMs: z.ZodNumber;
|
|
4223
4428
|
success: z.ZodBoolean;
|
|
4224
4429
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -4302,8 +4507,16 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4302
4507
|
"growth-announcement": "growth-announcement";
|
|
4303
4508
|
"keurmeester-notice": "keurmeester-notice";
|
|
4304
4509
|
}>>;
|
|
4510
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
4511
|
+
removedCount: z.ZodNumber;
|
|
4512
|
+
contextWindow: z.ZodNumber;
|
|
4513
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
4514
|
+
compactionCount: z.ZodNumber;
|
|
4515
|
+
autoCompactRatio: z.ZodNumber;
|
|
4516
|
+
}, z.core.$strip>>;
|
|
4305
4517
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4306
4518
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
4519
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
4307
4520
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4308
4521
|
system: "system";
|
|
4309
4522
|
}>>;
|
|
@@ -4349,6 +4562,13 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4349
4562
|
from: z.ZodOptional<z.ZodObject<{
|
|
4350
4563
|
gezelId: z.ZodString;
|
|
4351
4564
|
gezelName: z.ZodString;
|
|
4565
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4566
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
4567
|
+
delegation: "delegation";
|
|
4568
|
+
consultation: "consultation";
|
|
4569
|
+
"task-entry": "task-entry";
|
|
4570
|
+
"task-handoff": "task-handoff";
|
|
4571
|
+
}>>;
|
|
4352
4572
|
}, z.core.$strip>>;
|
|
4353
4573
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4354
4574
|
kind: z.ZodEnum<{
|
|
@@ -4378,6 +4598,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4378
4598
|
}, z.core.$strip>>;
|
|
4379
4599
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4380
4600
|
name: z.ZodString;
|
|
4601
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4381
4602
|
durationMs: z.ZodNumber;
|
|
4382
4603
|
success: z.ZodBoolean;
|
|
4383
4604
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -4461,8 +4682,16 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4461
4682
|
"growth-announcement": "growth-announcement";
|
|
4462
4683
|
"keurmeester-notice": "keurmeester-notice";
|
|
4463
4684
|
}>>;
|
|
4685
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
4686
|
+
removedCount: z.ZodNumber;
|
|
4687
|
+
contextWindow: z.ZodNumber;
|
|
4688
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
4689
|
+
compactionCount: z.ZodNumber;
|
|
4690
|
+
autoCompactRatio: z.ZodNumber;
|
|
4691
|
+
}, z.core.$strip>>;
|
|
4464
4692
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4465
4693
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
4694
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
4466
4695
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4467
4696
|
system: "system";
|
|
4468
4697
|
}>>;
|
|
@@ -4496,6 +4725,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4496
4725
|
}, z.core.$strip>, z.ZodObject<{
|
|
4497
4726
|
type: z.ZodLiteral<"tool">;
|
|
4498
4727
|
name: z.ZodString;
|
|
4728
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4499
4729
|
durationMs: z.ZodNumber;
|
|
4500
4730
|
success: z.ZodBoolean;
|
|
4501
4731
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -4621,15 +4851,30 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4621
4851
|
canceled: "canceled";
|
|
4622
4852
|
rejected: "rejected";
|
|
4623
4853
|
}>;
|
|
4854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4855
|
+
type: z.ZodLiteral<"context_window">;
|
|
4856
|
+
numCtx: z.ZodNumber;
|
|
4857
|
+
model: z.ZodString;
|
|
4858
|
+
autoCompactRatio: z.ZodNumber;
|
|
4859
|
+
estimatedTokens: z.ZodOptional<z.ZodNumber>;
|
|
4624
4860
|
}, z.core.$strip>, z.ZodObject<{
|
|
4625
4861
|
type: z.ZodLiteral<"context_warning">;
|
|
4626
4862
|
estimatedTokens: z.ZodNumber;
|
|
4627
4863
|
numCtx: z.ZodNumber;
|
|
4628
4864
|
model: z.ZodString;
|
|
4865
|
+
reason: z.ZodOptional<z.ZodLiteral<"compaction_failed">>;
|
|
4629
4866
|
}, z.core.$strip>, z.ZodObject<{
|
|
4630
4867
|
type: z.ZodLiteral<"context_compacted">;
|
|
4631
4868
|
removedCount: z.ZodNumber;
|
|
4632
4869
|
model: z.ZodString;
|
|
4870
|
+
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
4871
|
+
estimatedTokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
4872
|
+
autoCompactRatio: z.ZodOptional<z.ZodNumber>;
|
|
4873
|
+
compactionCount: z.ZodOptional<z.ZodNumber>;
|
|
4874
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
4875
|
+
"between-turn": "between-turn";
|
|
4876
|
+
"mid-turn": "mid-turn";
|
|
4877
|
+
}>>;
|
|
4633
4878
|
}, z.core.$strip>, z.ZodObject<{
|
|
4634
4879
|
type: z.ZodLiteral<"context_loop">;
|
|
4635
4880
|
compactionsThisSend: z.ZodNumber;
|
|
@@ -4742,6 +4987,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4742
4987
|
gate_plateau: "gate_plateau";
|
|
4743
4988
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
4744
4989
|
gate_infrastructure: "gate_infrastructure";
|
|
4990
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
4745
4991
|
step_stalled: "step_stalled";
|
|
4746
4992
|
budget_exhausted: "budget_exhausted";
|
|
4747
4993
|
}>;
|
|
@@ -4861,6 +5107,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4861
5107
|
gate_plateau: "gate_plateau";
|
|
4862
5108
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
4863
5109
|
gate_infrastructure: "gate_infrastructure";
|
|
5110
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
4864
5111
|
step_stalled: "step_stalled";
|
|
4865
5112
|
budget_exhausted: "budget_exhausted";
|
|
4866
5113
|
}>;
|
|
@@ -4974,6 +5221,18 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4974
5221
|
type: z.ZodLiteral<"gezel_created">;
|
|
4975
5222
|
gezelId: z.ZodString;
|
|
4976
5223
|
name: z.ZodString;
|
|
5224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5225
|
+
type: z.ZodLiteral<"prompt_draft_changed">;
|
|
5226
|
+
projectId: z.ZodString;
|
|
5227
|
+
gezelId: z.ZodString;
|
|
5228
|
+
draftId: z.ZodString;
|
|
5229
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
5230
|
+
status: z.ZodEnum<{
|
|
5231
|
+
draft: "draft";
|
|
5232
|
+
sent: "sent";
|
|
5233
|
+
}>;
|
|
5234
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
5235
|
+
updatedAt: z.ZodString;
|
|
4977
5236
|
}, z.core.$strip>, z.ZodObject<{
|
|
4978
5237
|
type: z.ZodLiteral<"night_shift">;
|
|
4979
5238
|
active: z.ZodBoolean;
|
|
@@ -5351,4 +5610,4 @@ declare const DismissReportActionRequestSchema: z.ZodObject<{
|
|
|
5351
5610
|
}, z.core.$strip>;
|
|
5352
5611
|
type DismissReportActionRequest = z.infer<typeof DismissReportActionRequestSchema>;
|
|
5353
5612
|
|
|
5354
|
-
export {
|
|
5613
|
+
export { type ReferencedFileKind as $, type ApplyEditsAction as A, FireReportActionRequestSchema as B, type ChatTurnErrorDetail as C, type DismissReportActionRequest as D, type FireReportActionResponse as E, type FireCraftbookAction as F, type GezelSummary as G, FireReportActionResponseSchema as H, type FixedFunctionConfig as I, FixedFunctionConfigSchema as J, type GezelDetail as K, GezelDetailSchema as L, type GezelFrontmatter as M, GezelFrontmatterSchema as N, GezelGenderSchema as O, type ProviderName as P, type GezelSection as Q, GezelSectionSchema as R, GezelSummarySchema as S, type GezelTrait as T, GezelTraitSchema as U, LOCAL_PROVIDER_NAMES as V, type ParsedGezel as W, ParsedGezelSchema as X, type ParsedReportAction as Y, ProviderNameSchema as Z, type ReferencedFile as _, type GezelGender as a, ReferencedFileKindSchema as a0, ReferencedFileSchema as a1, type ReportAction as a2, type ReportActionKind as a3, ReportActionKindSchema as a4, type ReportActionParseIssue as a5, ReportActionParseIssueSchema as a6, type ReportActionRecord as a7, ReportActionRecordSchema as a8, ReportActionSchema as a9, type ReportActionState as aa, ReportActionStateSchema as ab, type ReportActionView as ac, ReportActionViewSchema as ad, type ReportActionsResponse as ae, ReportActionsResponseSchema as af, type TaskStepAdvanceCard as ag, TaskStepAdvanceCardSchema as ah, type ToolCallAudio as ai, ToolCallAudioSchema as aj, type ToolCallCard as ak, ToolCallCardSchema as al, type ToolCallImage as am, ToolCallImageSchema as an, type ToolCallVideo as ao, ToolCallVideoSchema as ap, type ToolCardStep as aq, ToolCardStepSchema as ar, craftbookDocFormatFromEnv as as, editDistance as at, formatCraftbookDocErrors as au, isLocalProvider as av, nearestMatch as aw, sniffCraftbookDocFormat as ax, zodIssuesToDocErrors as ay, type CraftbookDocError as b, type CraftbookDoc as c, type CraftbookDocFormat as d, type ChatMessage as e, ApplyEditsActionSchema as f, type ChatEvent as g, type ChatEventEnvelope as h, ChatEventEnvelopeSchema as i, ChatEventSchema as j, ChatMessageSchema as k, type ChatMessageToolCall as l, ChatMessageToolCallSchema as m, type ChatSessionSource as n, ChatSessionSourceSchema as o, ChatTurnErrorDetailSchema as p, type ContextCompaction as q, ContextCompactionSchema as r, CraftbookDocSchema as s, type CraftbookStartCard as t, CraftbookStartCardSchema as u, type CreateTaskAction as v, CreateTaskActionSchema as w, DismissReportActionRequestSchema as x, FireCraftbookActionSchema as y, type FireReportActionRequest as z };
|