@quantiya/codevibe-codex-plugin 2.0.72 → 2.0.73

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.
@@ -437,15 +437,17 @@ export interface DownloadUrlResponse {
437
437
  export declare class AppSyncGraphQLError extends Error {
438
438
  readonly responseMessage: string;
439
439
  readonly errorType?: string;
440
- readonly data?: unknown;
441
440
  readonly extensions?: unknown;
442
441
  readonly path?: unknown;
442
+ readonly data?: unknown;
443
+ readonly requestId?: string;
443
444
  constructor(opts: {
444
445
  message: string;
445
446
  errorType?: string;
446
- data?: unknown;
447
447
  extensions?: unknown;
448
448
  path?: unknown;
449
+ data?: unknown;
450
+ requestId?: string | null;
449
451
  });
450
452
  }
451
453
  export type AppSyncAuthenticationFailureKind = 'refresh_auth_rejected' | 'refresh_network';
@@ -570,6 +572,8 @@ export declare class AppSyncClient {
570
572
  private syncDisplayAppliedSequence;
571
573
  private syncDisplay;
572
574
  private syncDisplayListeners;
575
+ private syncStateRead;
576
+ private syncStateRetry;
573
577
  /** Passive server-denial deadlines shared by existing source retry owners.
574
578
  * Exactly two producer families; no timer, durable state or admission grant. */
575
579
  private syncProducerEpoch;
@@ -666,6 +670,7 @@ export declare class AppSyncClient {
666
670
  */
667
671
  private static abortReason;
668
672
  private static throwIfAborted;
673
+ private static waitForSyncStateRetry;
669
674
  /**
670
675
  * Bound one stage by its owning operation's absolute deadline. Every stage
671
676
  * receives the same `deadlineAtMs`; a storage-backed retry therefore consumes
@@ -749,8 +754,18 @@ export declare class AppSyncClient {
749
754
  * unbounded allocation. Applied only to explicitly bounded query callers. */
750
755
  private boundedGraphQLJson;
751
756
  private assertSyncAccount;
752
- /** Bounded cloud routing/usage read, pinned to the current account. No fallback. */
757
+ /** Concurrent fresh reads share one account/epoch-bound request and retry
758
+ * loop. Sequential status/quota reads remain fresh; one cancelled caller
759
+ * cannot cancel another caller's read. No cached admission authority. */
753
760
  getCompanionSyncState(signal?: AbortSignal): Promise<CompanionSyncState>;
761
+ /** Only explicit HISTORY_RETRY_AFTER permits two retries / ten seconds of
762
+ * added wait. Retain the server's earliest retry time after cancellation or
763
+ * exhaustion so a later caller cannot restart I/O before that time. */
764
+ private readCompanionSyncState;
765
+ /** Reuse only the server-unexpired protocol selection, never its entitlement
766
+ * or usage as admission authority. Every selected cloud operation still
767
+ * authorizes itself. Explicit status/quota refreshes remain fresh reads. */
768
+ private getCompanionSyncRoute;
754
769
  /** Subscribe to validated reads already performed by this client. No new
755
770
  * request, persistent journal, producer grant or retry is created here. */
756
771
  subscribeCompanionSyncState(userId: string, listener: (state: CompanionSyncState | null) => void): () => void;
@@ -864,7 +879,7 @@ export declare class AppSyncClient {
864
879
  root?: string;
865
880
  legacyTransport: ToolActivityTransport;
866
881
  }): Promise<ToolActivityTransport>;
867
- /** Shared cloud-selected authority for tools and ordinary native sources. */
882
+ /** Shared cloud-selected routing for tools and ordinary native sources. */
868
883
  selectCompanionSourceTransport(options: {
869
884
  sessionId: string;
870
885
  root?: string;