@pluno/product-agent-web 0.1.185 → 0.1.187

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/dist/index.d.ts CHANGED
@@ -51,6 +51,7 @@ export type ProductAgentMessage = {
51
51
  steered?: boolean;
52
52
  retryable?: boolean;
53
53
  integrationAuthRequest?: ProductAgentIntegrationAuthRequest;
54
+ scheduledCheckInId?: string;
54
55
  scheduledCheckInAt?: string;
55
56
  personalChannelConnectionRequest?: ProductAgentPersonalChannelConnectionRequest;
56
57
  securitySettingsUrl?: string;
@@ -259,6 +260,9 @@ export declare class PlunoProductAgent {
259
260
  private readonly backgroundSessionIds;
260
261
  private readonly backgroundClientMessageIds;
261
262
  private readonly deferredSessionUpdatedSessionIds;
263
+ private readonly detachedSessionIds;
264
+ private readonly detachedClientMessageIds;
265
+ private readonly deferredDetachedSessionEvents;
262
266
  private readonly retryableFailureRunIdsAwaitingDone;
263
267
  private thinkingWatchdogTimer;
264
268
  private runAckWatchdogTimer;
@@ -356,6 +360,9 @@ export declare class PlunoProductAgent {
356
360
  private handleServerEvent;
357
361
  private updatePersonalModelFromSession;
358
362
  private shouldIgnoreBackgroundSessionEvent;
363
+ private shouldIgnoreDetachedSessionEvent;
364
+ private shouldDeferDetachedSessionEvent;
365
+ private rememberCurrentRunAsDetached;
359
366
  private rememberCurrentRunAsBackground;
360
367
  private retryAfterRetryableError;
361
368
  private retryAfterInterruptedRun;
@@ -1,35 +1,45 @@
1
1
  export declare const PERSONAL_PRODUCT_AGENT_PRIMARY_MODELS: readonly [{
2
2
  readonly value: "gpt-5.6-sol";
3
3
  readonly label: "gpt-5.6-sol";
4
+ readonly price: "$$";
4
5
  }, {
5
6
  readonly value: "anthropic/claude-sonnet-5";
6
7
  readonly label: "Claude Sonnet 5";
8
+ readonly price: "$$";
7
9
  }, {
8
10
  readonly value: "deepseek/deepseek-v4-flash";
9
11
  readonly label: "DeepSeek V4 Flash";
12
+ readonly price: "$";
10
13
  }];
11
14
  export declare const PERSONAL_PRODUCT_AGENT_MORE_MODELS: readonly [{
12
15
  readonly value: "anthropic/claude-opus-5";
13
16
  readonly label: "Claude Opus 5";
17
+ readonly price: "$$$";
14
18
  }, {
15
19
  readonly value: "gpt-5.6-terra";
16
20
  readonly label: "gpt-5.6-terra";
21
+ readonly price: "$$";
17
22
  }];
18
23
  export type PersonalProductAgentModel = (typeof PERSONAL_PRODUCT_AGENT_PRIMARY_MODELS)[number]["value"] | (typeof PERSONAL_PRODUCT_AGENT_MORE_MODELS)[number]["value"];
19
24
  export declare const PERSONAL_PRODUCT_AGENT_MODELS: readonly [{
20
25
  readonly value: "gpt-5.6-sol";
21
26
  readonly label: "gpt-5.6-sol";
27
+ readonly price: "$$";
22
28
  }, {
23
29
  readonly value: "anthropic/claude-sonnet-5";
24
30
  readonly label: "Claude Sonnet 5";
31
+ readonly price: "$$";
25
32
  }, {
26
33
  readonly value: "deepseek/deepseek-v4-flash";
27
34
  readonly label: "DeepSeek V4 Flash";
35
+ readonly price: "$";
28
36
  }, {
29
37
  readonly value: "anthropic/claude-opus-5";
30
38
  readonly label: "Claude Opus 5";
39
+ readonly price: "$$$";
31
40
  }, {
32
41
  readonly value: "gpt-5.6-terra";
33
42
  readonly label: "gpt-5.6-terra";
43
+ readonly price: "$$";
34
44
  }];
35
45
  export declare const isPersonalProductAgentModel: (value: unknown) => value is PersonalProductAgentModel;