agl 43.13.0 → 43.14.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.
@@ -503,6 +503,16 @@ export const ticketPageErrorMessages = {
503
503
  ticket_cursor_invalid: 'The cursor is not the nextCursor of a ticket page; list again without cursor.',
504
504
  ticket_cursor_mismatch: 'The cursor pages other filters, another sort or another view; repeat those or list again without cursor.',
505
505
  } as const;
506
- export type TTicketClientErrorCode = Uppercase<keyof typeof ticketErrorMessages | keyof typeof ticketPageErrorMessages>;
507
- export const ticketClientErrorMessages = Object.fromEntries(Object.entries({ ...ticketErrorMessages, ...ticketPageErrorMessages })
506
+ /**
507
+ * A ticket transaction that reached its deadline before its commit: the board stayed busy, nothing was changed, and the
508
+ * request may be made again. Kept apart from `ticketErrorMessages`, which the device contract lists code by code: a
509
+ * device reads it as `operation_limit`.
510
+ */
511
+ export const ticketBusyErrorMessages = {
512
+ ticket_busy: 'The ticket board was too busy to carry out this request in time, and nothing was changed: read the ticket, then try again.',
513
+ } as const;
514
+ export type TTicketClientErrorCode = Uppercase<keyof typeof ticketErrorMessages | keyof typeof ticketPageErrorMessages
515
+ | keyof typeof ticketBusyErrorMessages>;
516
+ export const ticketClientErrorMessages = Object.fromEntries(Object.entries({ ...ticketErrorMessages, ...ticketPageErrorMessages,
517
+ ...ticketBusyErrorMessages })
508
518
  .map(([codeArg, messageArg]) => [codeArg.toUpperCase(), messageArg])) as Record<TTicketClientErrorCode, string>;
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: 'agl',
6
- version: '43.13.0',
6
+ version: '43.14.0',
7
7
  description: 'Agent Gateway Layer for OpenCode, FlexHarness, and Codex sessions'
8
8
  }