@pagelines/sdk 1.0.790 → 1.0.792
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/AgentWrap.js +18 -18
- package/dist/AgentWrap.js.map +1 -1
- package/dist/agent/AgentController.d.ts +1 -1
- package/dist/agent/ui/ElAgentChat.vue.d.ts +2 -0
- package/dist/agent/ui/ElCreateAgent.vue.d.ts +2 -2
- package/dist/clients/BillingClient.d.ts +0 -3
- package/dist/contract.js +567 -443
- package/dist/contract.js.map +1 -1
- package/dist/demo/index.d.ts +1 -1
- package/dist/sdkClient.d.ts +0 -3
- package/dist/sdkClient.js +0 -18
- package/dist/sdkClient.js.map +1 -1
- package/dist/widget/composables/useWidgetState.d.ts +3 -3
- package/dist/widget/mode.d.ts +8 -0
- package/dist/widget.js +94 -163
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/dist/agent/ui/ElTrialGate.vue.d.ts +0 -7
|
@@ -68,7 +68,7 @@ export type AgentChatControllerSettings = {
|
|
|
68
68
|
*/
|
|
69
69
|
manageUrl?: string;
|
|
70
70
|
/**
|
|
71
|
-
* Where billing actions live on this surface
|
|
71
|
+
* Where billing recovery actions live on this surface.
|
|
72
72
|
* The wire's fallback billing actionUrl is the iOS deep link
|
|
73
73
|
* (`pagelines://billing`); web surfaces pass their billing route here so a
|
|
74
74
|
* blocker reply can link somewhere real.
|
|
@@ -21,6 +21,8 @@ type __VLS_Slots = {
|
|
|
21
21
|
agent: Agent;
|
|
22
22
|
isLight: boolean;
|
|
23
23
|
}) => any;
|
|
24
|
+
/** One quiet line pinned above the composer (the home shell's off-state notice). */
|
|
25
|
+
'above-composer': () => any;
|
|
24
26
|
};
|
|
25
27
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -127,7 +127,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
127
127
|
detail?: string | undefined;
|
|
128
128
|
blocker?: {
|
|
129
129
|
bucket: "error" | "account";
|
|
130
|
-
code: "billing_no_plan" | "billing_seat_limit" | "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" | "tool_protocol" | "rate_limit";
|
|
130
|
+
code: "billing_no_plan" | "billing_seat_limit" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "billing_demo_spent" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "tool_protocol" | "rate_limit";
|
|
131
131
|
title: string;
|
|
132
132
|
actionLabel: string;
|
|
133
133
|
actionUrl: string;
|
|
@@ -265,7 +265,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
265
265
|
detail?: string | undefined;
|
|
266
266
|
blocker?: {
|
|
267
267
|
bucket: "error" | "account";
|
|
268
|
-
code: "billing_no_plan" | "billing_seat_limit" | "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" | "tool_protocol" | "rate_limit";
|
|
268
|
+
code: "billing_no_plan" | "billing_seat_limit" | "billing_past_due" | "billing_runaway_cap" | "billing_budget_reached" | "billing_demo_spent" | "agent_deleted" | "agent_not_deployed" | "agent_boot_failed" | "agent_unreachable" | "agent_wake_timeout" | "stream_timeout" | "stream_disconnect" | "empty_stream" | "tool_protocol" | "rate_limit";
|
|
269
269
|
title: string;
|
|
270
270
|
actionLabel: string;
|
|
271
271
|
actionUrl: string;
|
|
@@ -15,9 +15,6 @@ export interface BillingStatus {
|
|
|
15
15
|
export declare class BillingClient {
|
|
16
16
|
private ctx;
|
|
17
17
|
constructor(ctx: SDKContext);
|
|
18
|
-
startTrial(args?: {
|
|
19
|
-
returnUrl?: string;
|
|
20
|
-
}): Promise<void>;
|
|
21
18
|
confirmCheckout(args?: {
|
|
22
19
|
sessionId?: string;
|
|
23
20
|
}): Promise<BillingStatus>;
|