@pagelines/sdk 1.0.543 → 1.0.545

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.
@@ -33,13 +33,11 @@ export interface TextConnectionState {
33
33
  connectionStatus: 'connecting' | 'connected' | 'disconnected' | 'error';
34
34
  error?: string;
35
35
  /**
36
- * Set when the server emits a persistent `bucket: 'account'` issue
37
- * (billing past-due, credit limit, budget cap). Stays true until the
38
- * controller is recreated or the chat reloads after account state changes;
39
- * retrying before then just hits the same error and looks like the product
40
- * is silently failing.
36
+ * Durable send block from a server issue that retrying cannot fix in this
37
+ * session. Stays set until the controller is recreated or upstream state
38
+ * changes and the chat reloads.
41
39
  */
42
- accountGated?: boolean;
40
+ sendBlockedReason?: 'account' | 'agent_deleted';
43
41
  }
44
42
  export declare const AGENT_MODES: readonly [{
45
43
  readonly mode: "self";
@@ -91,7 +91,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
91
91
  detail?: string | undefined;
92
92
  blocker?: {
93
93
  bucket: "error" | "account";
94
- code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
94
+ code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
95
95
  title: string;
96
96
  actionLabel: string;
97
97
  actionUrl: string;
@@ -187,7 +187,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
187
187
  detail?: string | undefined;
188
188
  blocker?: {
189
189
  bucket: "error" | "account";
190
- code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
190
+ code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
191
191
  title: string;
192
192
  actionLabel: string;
193
193
  actionUrl: string;
@@ -100,7 +100,7 @@ export declare function getDemoAgentByHandle(handle: string): Partial<{
100
100
  detail?: string | undefined;
101
101
  blocker?: {
102
102
  bucket: "error" | "account";
103
- code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
103
+ code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
104
104
  title: string;
105
105
  actionLabel: string;
106
106
  actionUrl: string;
@@ -95,7 +95,7 @@ export declare function useWidgetState(props: {
95
95
  detail?: string | undefined;
96
96
  blocker?: {
97
97
  bucket: "error" | "account";
98
- code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
98
+ code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
99
99
  title: string;
100
100
  actionLabel: string;
101
101
  actionUrl: string;
@@ -189,7 +189,7 @@ export declare function useWidgetState(props: {
189
189
  detail?: string | undefined;
190
190
  blocker?: {
191
191
  bucket: "error" | "account";
192
- code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
192
+ code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
193
193
  title: string;
194
194
  actionLabel: string;
195
195
  actionUrl: string;
@@ -283,7 +283,7 @@ export declare function useWidgetState(props: {
283
283
  detail?: string | undefined;
284
284
  blocker?: {
285
285
  bucket: "error" | "account";
286
- code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
286
+ code: "billing_no_plan" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "rate_limit";
287
287
  title: string;
288
288
  actionLabel: string;
289
289
  actionUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagelines/sdk",
3
- "version": "1.0.543",
3
+ "version": "1.0.545",
4
4
  "description": "PageLines SDK for agent management, auth, and billing",
5
5
  "type": "module",
6
6
  "main": "./dist/sdk.js",