@workerdeck/server 3.3.0 → 3.4.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.
package/build/index.d.mts CHANGED
@@ -18,6 +18,13 @@ declare class BridgeHub {
18
18
  remove(sessionId: string): void;
19
19
  }
20
20
  //#endregion
21
+ //#region src/services/context-resets.d.ts
22
+ type AgentContextResetOptions = {
23
+ default?: boolean;
24
+ minIntervalMs?: number;
25
+ maxPerHour?: number;
26
+ };
27
+ //#endregion
21
28
  //#region src/services/notifications.d.ts
22
29
  type SessionNotificationOptions = {
23
30
  webhook?: SessionWebhookConfig;
@@ -371,6 +378,9 @@ type WorkerServerOptions = {
371
378
  peers?: PeerServiceOptions;
372
379
  relay?: RelayLinkOptions;
373
380
  notifications?: SessionNotificationOptions;
381
+ engineSleepAfterMs?: number;
382
+ agentContextReset?: false | AgentContextResetOptions;
383
+ effortDefaults?: Record<string, string>;
374
384
  bridge?: BridgeHubOptions;
375
385
  parking?: {
376
386
  store?: SessionStore;