@quantiya/codevibe-codex-plugin 2.0.71 → 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.
@@ -439,11 +439,15 @@ export declare class AppSyncGraphQLError extends Error {
439
439
  readonly errorType?: string;
440
440
  readonly extensions?: unknown;
441
441
  readonly path?: unknown;
442
+ readonly data?: unknown;
443
+ readonly requestId?: string;
442
444
  constructor(opts: {
443
445
  message: string;
444
446
  errorType?: string;
445
447
  extensions?: unknown;
446
448
  path?: unknown;
449
+ data?: unknown;
450
+ requestId?: string | null;
447
451
  });
448
452
  }
449
453
  export type AppSyncAuthenticationFailureKind = 'refresh_auth_rejected' | 'refresh_network';
@@ -568,6 +572,12 @@ export declare class AppSyncClient {
568
572
  private syncDisplayAppliedSequence;
569
573
  private syncDisplay;
570
574
  private syncDisplayListeners;
575
+ private syncStateRead;
576
+ private syncStateRetry;
577
+ /** Passive server-denial deadlines shared by existing source retry owners.
578
+ * Exactly two producer families; no timer, durable state or admission grant. */
579
+ private syncProducerEpoch;
580
+ private readonly syncProducerRetry;
571
581
  private activeSubscriptions;
572
582
  /**
573
583
  * Set by `authenticateWithStoredTokens()` on every false-return path
@@ -660,6 +670,7 @@ export declare class AppSyncClient {
660
670
  */
661
671
  private static abortReason;
662
672
  private static throwIfAborted;
673
+ private static waitForSyncStateRetry;
663
674
  /**
664
675
  * Bound one stage by its owning operation's absolute deadline. Every stage
665
676
  * receives the same `deadlineAtMs`; a storage-backed retry therefore consumes
@@ -743,8 +754,18 @@ export declare class AppSyncClient {
743
754
  * unbounded allocation. Applied only to explicitly bounded query callers. */
744
755
  private boundedGraphQLJson;
745
756
  private assertSyncAccount;
746
- /** 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. */
747
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;
748
769
  /** Subscribe to validated reads already performed by this client. No new
749
770
  * request, persistent journal, producer grant or retry is created here. */
750
771
  subscribeCompanionSyncState(userId: string, listener: (state: CompanionSyncState | null) => void): () => void;
@@ -755,6 +776,7 @@ export declare class AppSyncClient {
755
776
  * expires. This is display-only; admissions never use the cached result. */
756
777
  private refreshCompanionSyncDisplayOnMaintenance;
757
778
  private notifyCompanionSyncDisplay;
779
+ private resetSyncProducerAuthority;
758
780
  private resetCompanionSyncDisplay;
759
781
  private publishCompanionSyncDisplay;
760
782
  /** Signed closed safety fact, independent of customer event quota. Only an
@@ -857,7 +879,7 @@ export declare class AppSyncClient {
857
879
  root?: string;
858
880
  legacyTransport: ToolActivityTransport;
859
881
  }): Promise<ToolActivityTransport>;
860
- /** Shared cloud-selected authority for tools and ordinary native sources. */
882
+ /** Shared cloud-selected routing for tools and ordinary native sources. */
861
883
  selectCompanionSourceTransport(options: {
862
884
  sessionId: string;
863
885
  root?: string;