@pluno/product-agent-web 0.1.221 → 0.1.223

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.
@@ -35,6 +35,7 @@ export declare class ProductAgentBackendTransport extends EventTarget {
35
35
  close(): void;
36
36
  private finishClose;
37
37
  send(data: string): void;
38
+ sendRetainedCommand(event: WireEvent): Promise<boolean>;
38
39
  private receive;
39
40
  acceptMessage(message: Event): void;
40
41
  private rejectToolReceipts;
@@ -33,7 +33,8 @@ export declare class ProductAgentSocketError extends Error {
33
33
  readonly code: string;
34
34
  readonly outcomeUnknown: boolean;
35
35
  readonly detail?: unknown | undefined;
36
- constructor(message: string, code: string, outcomeUnknown?: boolean, detail?: unknown | undefined);
36
+ readonly backendRefusal: boolean;
37
+ constructor(message: string, code: string, outcomeUnknown?: boolean, detail?: unknown | undefined, backendRefusal?: boolean);
37
38
  }
38
39
  export declare class ProductAgentSocketIOTransport {
39
40
  private readonly options;
@@ -67,6 +68,7 @@ export declare class ProductAgentSocketIOTransport {
67
68
  private assertReady;
68
69
  private uploadResult;
69
70
  private request;
71
+ private recoverUncertainDelivery;
70
72
  private invalidate;
71
73
  }
72
74
  export {};
@@ -1,7 +1,7 @@
1
1
  import { type PAQueryState } from "../kernel/state";
2
2
  import type { PAEffect, PAEffectResultEvent } from "../kernel/effects";
3
3
  export declare const ACTIVE_USERS_POLL_MS = 10000;
4
- export declare const ACTIVE_USERS_DISPLAY_MS = 1000;
4
+ export declare const ACTIVE_USERS_DISPLAY_MS = 3000;
5
5
  export type PAActiveUsersState = Readonly<{
6
6
  authenticated: boolean;
7
7
  generation: number;
package/dist/index.d.ts CHANGED
@@ -298,6 +298,7 @@ export declare class ProductAgentSessionEngine {
298
298
  private networkBatchTimer;
299
299
  private queuedNetworkEvents;
300
300
  private queuedClientEvents;
301
+ private readonly pendingRetainedCommandDeliveries;
301
302
  private pendingWidgetLifecycleEvents;
302
303
  private pendingPassiveWarmupEvent;
303
304
  private pendingComposerWarmup;