feat(core): add v2 manual compaction (#34336)

This commit is contained in:
Kit Langton 2026-06-28 21:18:19 -04:00 committed by GitHub
commit f7034a35a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 438 additions and 80 deletions

View file

@ -2729,6 +2729,12 @@ export type ServiceUnavailableError = {
service?: string
}
export type UnknownError1 = {
_tag: "UnknownError"
message: string
ref?: string
}
export type MessageNotFoundError = {
_tag: "MessageNotFoundError"
sessionID: string
@ -2736,12 +2742,6 @@ export type MessageNotFoundError = {
message: string
}
export type UnknownError1 = {
_tag: "UnknownError"
message: string
ref?: string
}
export type SessionDurableEvent =
| SessionNextAgentSwitched
| SessionNextModelSwitched
@ -11708,6 +11708,14 @@ export type V2SessionCompactErrors = {
* SessionNotFoundError
*/
404: SessionNotFoundError
/**
* SessionBusyError
*/
409: SessionBusyError
/**
* UnknownError
*/
500: UnknownError1
/**
* ServiceUnavailableError
*/