@bendyline/gezel 1.0.7 → 1.1.0
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/{index-BgRfJ_Pt.d.ts → index-C7jST61L.d.ts} +3119 -368
- package/dist/index.d.ts +316 -7
- package/dist/index.js +13713 -9146
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +162 -9
- package/dist/paths.d.ts +13 -1
- package/dist/paths.js +200 -196
- package/dist/{report-action-Kt6W23xy.d.ts → report-action-Dn_QrwwK.d.ts} +188 -1
- package/dist/schemas/index.d.ts +3 -2
- package/dist/schemas/index.js +6252 -5498
- 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;
|
|
@@ -2979,6 +3009,7 @@ declare const ToolCallCardSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2979
3009
|
type ToolCallCard = z.infer<typeof ToolCallCardSchema>;
|
|
2980
3010
|
declare const ChatMessageToolCallSchema: z.ZodObject<{
|
|
2981
3011
|
name: z.ZodString;
|
|
3012
|
+
at: z.ZodOptional<z.ZodString>;
|
|
2982
3013
|
durationMs: z.ZodNumber;
|
|
2983
3014
|
success: z.ZodBoolean;
|
|
2984
3015
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3092,6 +3123,22 @@ declare const ReferencedFileSchema: z.ZodObject<{
|
|
|
3092
3123
|
path: z.ZodString;
|
|
3093
3124
|
}, z.core.$strip>;
|
|
3094
3125
|
type ReferencedFile = z.infer<typeof ReferencedFileSchema>;
|
|
3126
|
+
/**
|
|
3127
|
+
* User-facing facts about a persisted automatic context compaction.
|
|
3128
|
+
*
|
|
3129
|
+
* This metadata is deliberately display-only: the synthesized message's
|
|
3130
|
+
* `content` is still the only text replayed to the model. Keeping the facts
|
|
3131
|
+
* beside that message lets the chat timeline explain what happened after a
|
|
3132
|
+
* reload without injecting context-pressure narration into the model prompt.
|
|
3133
|
+
*/
|
|
3134
|
+
declare const ContextCompactionSchema: z.ZodObject<{
|
|
3135
|
+
removedCount: z.ZodNumber;
|
|
3136
|
+
contextWindow: z.ZodNumber;
|
|
3137
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3138
|
+
compactionCount: z.ZodNumber;
|
|
3139
|
+
autoCompactRatio: z.ZodNumber;
|
|
3140
|
+
}, z.core.$strip>;
|
|
3141
|
+
type ContextCompaction = z.infer<typeof ContextCompactionSchema>;
|
|
3095
3142
|
/**
|
|
3096
3143
|
* A single turn in an agent chat. Stored in memory while a chat session is
|
|
3097
3144
|
* active; dropped when the session ends or the daemon restarts.
|
|
@@ -3111,6 +3158,13 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
3111
3158
|
from: z.ZodOptional<z.ZodObject<{
|
|
3112
3159
|
gezelId: z.ZodString;
|
|
3113
3160
|
gezelName: z.ZodString;
|
|
3161
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3163
|
+
delegation: "delegation";
|
|
3164
|
+
consultation: "consultation";
|
|
3165
|
+
"task-entry": "task-entry";
|
|
3166
|
+
"task-handoff": "task-handoff";
|
|
3167
|
+
}>>;
|
|
3114
3168
|
}, z.core.$strip>>;
|
|
3115
3169
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3116
3170
|
kind: z.ZodEnum<{
|
|
@@ -3140,6 +3194,7 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
3140
3194
|
}, z.core.$strip>>;
|
|
3141
3195
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3142
3196
|
name: z.ZodString;
|
|
3197
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3143
3198
|
durationMs: z.ZodNumber;
|
|
3144
3199
|
success: z.ZodBoolean;
|
|
3145
3200
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3223,8 +3278,16 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
3223
3278
|
"growth-announcement": "growth-announcement";
|
|
3224
3279
|
"keurmeester-notice": "keurmeester-notice";
|
|
3225
3280
|
}>>;
|
|
3281
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
3282
|
+
removedCount: z.ZodNumber;
|
|
3283
|
+
contextWindow: z.ZodNumber;
|
|
3284
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3285
|
+
compactionCount: z.ZodNumber;
|
|
3286
|
+
autoCompactRatio: z.ZodNumber;
|
|
3287
|
+
}, z.core.$strip>>;
|
|
3226
3288
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3227
3289
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3290
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
3228
3291
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3229
3292
|
system: "system";
|
|
3230
3293
|
}>>;
|
|
@@ -3310,6 +3373,13 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3310
3373
|
from: z.ZodOptional<z.ZodObject<{
|
|
3311
3374
|
gezelId: z.ZodString;
|
|
3312
3375
|
gezelName: z.ZodString;
|
|
3376
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3377
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3378
|
+
delegation: "delegation";
|
|
3379
|
+
consultation: "consultation";
|
|
3380
|
+
"task-entry": "task-entry";
|
|
3381
|
+
"task-handoff": "task-handoff";
|
|
3382
|
+
}>>;
|
|
3313
3383
|
}, z.core.$strip>>;
|
|
3314
3384
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3315
3385
|
kind: z.ZodEnum<{
|
|
@@ -3339,6 +3409,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3339
3409
|
}, z.core.$strip>>;
|
|
3340
3410
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3341
3411
|
name: z.ZodString;
|
|
3412
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3342
3413
|
durationMs: z.ZodNumber;
|
|
3343
3414
|
success: z.ZodBoolean;
|
|
3344
3415
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3422,8 +3493,16 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3422
3493
|
"growth-announcement": "growth-announcement";
|
|
3423
3494
|
"keurmeester-notice": "keurmeester-notice";
|
|
3424
3495
|
}>>;
|
|
3496
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
3497
|
+
removedCount: z.ZodNumber;
|
|
3498
|
+
contextWindow: z.ZodNumber;
|
|
3499
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3500
|
+
compactionCount: z.ZodNumber;
|
|
3501
|
+
autoCompactRatio: z.ZodNumber;
|
|
3502
|
+
}, z.core.$strip>>;
|
|
3425
3503
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3426
3504
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3505
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
3427
3506
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3428
3507
|
system: "system";
|
|
3429
3508
|
}>>;
|
|
@@ -3469,6 +3548,13 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3469
3548
|
from: z.ZodOptional<z.ZodObject<{
|
|
3470
3549
|
gezelId: z.ZodString;
|
|
3471
3550
|
gezelName: z.ZodString;
|
|
3551
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
3552
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
3553
|
+
delegation: "delegation";
|
|
3554
|
+
consultation: "consultation";
|
|
3555
|
+
"task-entry": "task-entry";
|
|
3556
|
+
"task-handoff": "task-handoff";
|
|
3557
|
+
}>>;
|
|
3472
3558
|
}, z.core.$strip>>;
|
|
3473
3559
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3474
3560
|
kind: z.ZodEnum<{
|
|
@@ -3498,6 +3584,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3498
3584
|
}, z.core.$strip>>;
|
|
3499
3585
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3500
3586
|
name: z.ZodString;
|
|
3587
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3501
3588
|
durationMs: z.ZodNumber;
|
|
3502
3589
|
success: z.ZodBoolean;
|
|
3503
3590
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3581,8 +3668,16 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3581
3668
|
"growth-announcement": "growth-announcement";
|
|
3582
3669
|
"keurmeester-notice": "keurmeester-notice";
|
|
3583
3670
|
}>>;
|
|
3671
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
3672
|
+
removedCount: z.ZodNumber;
|
|
3673
|
+
contextWindow: z.ZodNumber;
|
|
3674
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
3675
|
+
compactionCount: z.ZodNumber;
|
|
3676
|
+
autoCompactRatio: z.ZodNumber;
|
|
3677
|
+
}, z.core.$strip>>;
|
|
3584
3678
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3585
3679
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3680
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
3586
3681
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3587
3682
|
system: "system";
|
|
3588
3683
|
}>>;
|
|
@@ -3616,6 +3711,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3616
3711
|
}, z.core.$strip>, z.ZodObject<{
|
|
3617
3712
|
type: z.ZodLiteral<"tool">;
|
|
3618
3713
|
name: z.ZodString;
|
|
3714
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3619
3715
|
durationMs: z.ZodNumber;
|
|
3620
3716
|
success: z.ZodBoolean;
|
|
3621
3717
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -3741,15 +3837,30 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3741
3837
|
canceled: "canceled";
|
|
3742
3838
|
rejected: "rejected";
|
|
3743
3839
|
}>;
|
|
3840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3841
|
+
type: z.ZodLiteral<"context_window">;
|
|
3842
|
+
numCtx: z.ZodNumber;
|
|
3843
|
+
model: z.ZodString;
|
|
3844
|
+
autoCompactRatio: z.ZodNumber;
|
|
3845
|
+
estimatedTokens: z.ZodOptional<z.ZodNumber>;
|
|
3744
3846
|
}, z.core.$strip>, z.ZodObject<{
|
|
3745
3847
|
type: z.ZodLiteral<"context_warning">;
|
|
3746
3848
|
estimatedTokens: z.ZodNumber;
|
|
3747
3849
|
numCtx: z.ZodNumber;
|
|
3748
3850
|
model: z.ZodString;
|
|
3851
|
+
reason: z.ZodOptional<z.ZodLiteral<"compaction_failed">>;
|
|
3749
3852
|
}, z.core.$strip>, z.ZodObject<{
|
|
3750
3853
|
type: z.ZodLiteral<"context_compacted">;
|
|
3751
3854
|
removedCount: z.ZodNumber;
|
|
3752
3855
|
model: z.ZodString;
|
|
3856
|
+
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
3857
|
+
estimatedTokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
3858
|
+
autoCompactRatio: z.ZodOptional<z.ZodNumber>;
|
|
3859
|
+
compactionCount: z.ZodOptional<z.ZodNumber>;
|
|
3860
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3861
|
+
"between-turn": "between-turn";
|
|
3862
|
+
"mid-turn": "mid-turn";
|
|
3863
|
+
}>>;
|
|
3753
3864
|
}, z.core.$strip>, z.ZodObject<{
|
|
3754
3865
|
type: z.ZodLiteral<"context_loop">;
|
|
3755
3866
|
compactionsThisSend: z.ZodNumber;
|
|
@@ -3862,6 +3973,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3862
3973
|
gate_plateau: "gate_plateau";
|
|
3863
3974
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
3864
3975
|
gate_infrastructure: "gate_infrastructure";
|
|
3976
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
3865
3977
|
step_stalled: "step_stalled";
|
|
3866
3978
|
budget_exhausted: "budget_exhausted";
|
|
3867
3979
|
}>;
|
|
@@ -3981,6 +4093,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3981
4093
|
gate_plateau: "gate_plateau";
|
|
3982
4094
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
3983
4095
|
gate_infrastructure: "gate_infrastructure";
|
|
4096
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
3984
4097
|
step_stalled: "step_stalled";
|
|
3985
4098
|
budget_exhausted: "budget_exhausted";
|
|
3986
4099
|
}>;
|
|
@@ -4094,6 +4207,18 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4094
4207
|
type: z.ZodLiteral<"gezel_created">;
|
|
4095
4208
|
gezelId: z.ZodString;
|
|
4096
4209
|
name: z.ZodString;
|
|
4210
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4211
|
+
type: z.ZodLiteral<"prompt_draft_changed">;
|
|
4212
|
+
projectId: z.ZodString;
|
|
4213
|
+
gezelId: z.ZodString;
|
|
4214
|
+
draftId: z.ZodString;
|
|
4215
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
4216
|
+
status: z.ZodEnum<{
|
|
4217
|
+
draft: "draft";
|
|
4218
|
+
sent: "sent";
|
|
4219
|
+
}>;
|
|
4220
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
4221
|
+
updatedAt: z.ZodString;
|
|
4097
4222
|
}, z.core.$strip>, z.ZodObject<{
|
|
4098
4223
|
type: z.ZodLiteral<"night_shift">;
|
|
4099
4224
|
active: z.ZodBoolean;
|
|
@@ -4190,6 +4315,13 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4190
4315
|
from: z.ZodOptional<z.ZodObject<{
|
|
4191
4316
|
gezelId: z.ZodString;
|
|
4192
4317
|
gezelName: z.ZodString;
|
|
4318
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4319
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
4320
|
+
delegation: "delegation";
|
|
4321
|
+
consultation: "consultation";
|
|
4322
|
+
"task-entry": "task-entry";
|
|
4323
|
+
"task-handoff": "task-handoff";
|
|
4324
|
+
}>>;
|
|
4193
4325
|
}, z.core.$strip>>;
|
|
4194
4326
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4195
4327
|
kind: z.ZodEnum<{
|
|
@@ -4219,6 +4351,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4219
4351
|
}, z.core.$strip>>;
|
|
4220
4352
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4221
4353
|
name: z.ZodString;
|
|
4354
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4222
4355
|
durationMs: z.ZodNumber;
|
|
4223
4356
|
success: z.ZodBoolean;
|
|
4224
4357
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -4302,8 +4435,16 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4302
4435
|
"growth-announcement": "growth-announcement";
|
|
4303
4436
|
"keurmeester-notice": "keurmeester-notice";
|
|
4304
4437
|
}>>;
|
|
4438
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
4439
|
+
removedCount: z.ZodNumber;
|
|
4440
|
+
contextWindow: z.ZodNumber;
|
|
4441
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
4442
|
+
compactionCount: z.ZodNumber;
|
|
4443
|
+
autoCompactRatio: z.ZodNumber;
|
|
4444
|
+
}, z.core.$strip>>;
|
|
4305
4445
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4306
4446
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
4447
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
4307
4448
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4308
4449
|
system: "system";
|
|
4309
4450
|
}>>;
|
|
@@ -4349,6 +4490,13 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4349
4490
|
from: z.ZodOptional<z.ZodObject<{
|
|
4350
4491
|
gezelId: z.ZodString;
|
|
4351
4492
|
gezelName: z.ZodString;
|
|
4493
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
4494
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
4495
|
+
delegation: "delegation";
|
|
4496
|
+
consultation: "consultation";
|
|
4497
|
+
"task-entry": "task-entry";
|
|
4498
|
+
"task-handoff": "task-handoff";
|
|
4499
|
+
}>>;
|
|
4352
4500
|
}, z.core.$strip>>;
|
|
4353
4501
|
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4354
4502
|
kind: z.ZodEnum<{
|
|
@@ -4378,6 +4526,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4378
4526
|
}, z.core.$strip>>;
|
|
4379
4527
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4380
4528
|
name: z.ZodString;
|
|
4529
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4381
4530
|
durationMs: z.ZodNumber;
|
|
4382
4531
|
success: z.ZodBoolean;
|
|
4383
4532
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -4461,8 +4610,16 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4461
4610
|
"growth-announcement": "growth-announcement";
|
|
4462
4611
|
"keurmeester-notice": "keurmeester-notice";
|
|
4463
4612
|
}>>;
|
|
4613
|
+
contextCompaction: z.ZodOptional<z.ZodObject<{
|
|
4614
|
+
removedCount: z.ZodNumber;
|
|
4615
|
+
contextWindow: z.ZodNumber;
|
|
4616
|
+
estimatedTokensBefore: z.ZodNumber;
|
|
4617
|
+
compactionCount: z.ZodNumber;
|
|
4618
|
+
autoCompactRatio: z.ZodNumber;
|
|
4619
|
+
}, z.core.$strip>>;
|
|
4464
4620
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4465
4621
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
4622
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
4466
4623
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4467
4624
|
system: "system";
|
|
4468
4625
|
}>>;
|
|
@@ -4496,6 +4653,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4496
4653
|
}, z.core.$strip>, z.ZodObject<{
|
|
4497
4654
|
type: z.ZodLiteral<"tool">;
|
|
4498
4655
|
name: z.ZodString;
|
|
4656
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4499
4657
|
durationMs: z.ZodNumber;
|
|
4500
4658
|
success: z.ZodBoolean;
|
|
4501
4659
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -4621,15 +4779,30 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4621
4779
|
canceled: "canceled";
|
|
4622
4780
|
rejected: "rejected";
|
|
4623
4781
|
}>;
|
|
4782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4783
|
+
type: z.ZodLiteral<"context_window">;
|
|
4784
|
+
numCtx: z.ZodNumber;
|
|
4785
|
+
model: z.ZodString;
|
|
4786
|
+
autoCompactRatio: z.ZodNumber;
|
|
4787
|
+
estimatedTokens: z.ZodOptional<z.ZodNumber>;
|
|
4624
4788
|
}, z.core.$strip>, z.ZodObject<{
|
|
4625
4789
|
type: z.ZodLiteral<"context_warning">;
|
|
4626
4790
|
estimatedTokens: z.ZodNumber;
|
|
4627
4791
|
numCtx: z.ZodNumber;
|
|
4628
4792
|
model: z.ZodString;
|
|
4793
|
+
reason: z.ZodOptional<z.ZodLiteral<"compaction_failed">>;
|
|
4629
4794
|
}, z.core.$strip>, z.ZodObject<{
|
|
4630
4795
|
type: z.ZodLiteral<"context_compacted">;
|
|
4631
4796
|
removedCount: z.ZodNumber;
|
|
4632
4797
|
model: z.ZodString;
|
|
4798
|
+
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
4799
|
+
estimatedTokensBefore: z.ZodOptional<z.ZodNumber>;
|
|
4800
|
+
autoCompactRatio: z.ZodOptional<z.ZodNumber>;
|
|
4801
|
+
compactionCount: z.ZodOptional<z.ZodNumber>;
|
|
4802
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
4803
|
+
"between-turn": "between-turn";
|
|
4804
|
+
"mid-turn": "mid-turn";
|
|
4805
|
+
}>>;
|
|
4633
4806
|
}, z.core.$strip>, z.ZodObject<{
|
|
4634
4807
|
type: z.ZodLiteral<"context_loop">;
|
|
4635
4808
|
compactionsThisSend: z.ZodNumber;
|
|
@@ -4742,6 +4915,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4742
4915
|
gate_plateau: "gate_plateau";
|
|
4743
4916
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
4744
4917
|
gate_infrastructure: "gate_infrastructure";
|
|
4918
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
4745
4919
|
step_stalled: "step_stalled";
|
|
4746
4920
|
budget_exhausted: "budget_exhausted";
|
|
4747
4921
|
}>;
|
|
@@ -4861,6 +5035,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4861
5035
|
gate_plateau: "gate_plateau";
|
|
4862
5036
|
gate_unsatisfiable: "gate_unsatisfiable";
|
|
4863
5037
|
gate_infrastructure: "gate_infrastructure";
|
|
5038
|
+
step_exit_infrastructure: "step_exit_infrastructure";
|
|
4864
5039
|
step_stalled: "step_stalled";
|
|
4865
5040
|
budget_exhausted: "budget_exhausted";
|
|
4866
5041
|
}>;
|
|
@@ -4974,6 +5149,18 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
4974
5149
|
type: z.ZodLiteral<"gezel_created">;
|
|
4975
5150
|
gezelId: z.ZodString;
|
|
4976
5151
|
name: z.ZodString;
|
|
5152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5153
|
+
type: z.ZodLiteral<"prompt_draft_changed">;
|
|
5154
|
+
projectId: z.ZodString;
|
|
5155
|
+
gezelId: z.ZodString;
|
|
5156
|
+
draftId: z.ZodString;
|
|
5157
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
5158
|
+
status: z.ZodEnum<{
|
|
5159
|
+
draft: "draft";
|
|
5160
|
+
sent: "sent";
|
|
5161
|
+
}>;
|
|
5162
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
5163
|
+
updatedAt: z.ZodString;
|
|
4977
5164
|
}, z.core.$strip>, z.ZodObject<{
|
|
4978
5165
|
type: z.ZodLiteral<"night_shift">;
|
|
4979
5166
|
active: z.ZodBoolean;
|
|
@@ -5351,4 +5538,4 @@ declare const DismissReportActionRequestSchema: z.ZodObject<{
|
|
|
5351
5538
|
}, z.core.$strip>;
|
|
5352
5539
|
type DismissReportActionRequest = z.infer<typeof DismissReportActionRequestSchema>;
|
|
5353
5540
|
|
|
5354
|
-
export {
|
|
5541
|
+
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 };
|