@pagelines/sdk 1.0.519 → 1.0.527
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/AgentProvider.vue_vue_type_script_setup_true_lang.js +82 -81
- package/dist/AgentProvider.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js +1051 -1074
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/agent/ui/ElAgentChat.vue.d.ts +0 -2
- package/dist/agent/ui/ElCreateAgent.vue.d.ts +32 -40
- package/dist/clients/AgentClient.d.ts +1 -1
- package/dist/contract/build.d.ts +1 -1
- package/dist/demo/index.d.ts +16 -20
- package/dist/index.js +1 -1
- package/dist/sdkClient.d.ts +3 -12
- package/dist/sdkClient.js +1 -1
- package/dist/sdkClient.js.map +1 -1
- package/dist/widget/composables/useWidgetState.d.ts +48 -60
- package/package.json +1 -1
|
@@ -8,17 +8,7 @@ export declare function useWidgetState(props: {
|
|
|
8
8
|
buttonIcon?: ButtonIconPreset;
|
|
9
9
|
}): {
|
|
10
10
|
currentAgent: import('vue').Ref<{
|
|
11
|
-
agentId?: string | undefined;
|
|
12
|
-
handle?: string | undefined;
|
|
13
|
-
ownerId?: string | undefined;
|
|
14
|
-
orgId?: string | undefined;
|
|
15
|
-
name?: string | undefined;
|
|
16
|
-
emoji?: string | null | undefined;
|
|
17
11
|
title?: string | null | undefined;
|
|
18
|
-
summary?: string | null | undefined;
|
|
19
|
-
entityType?: string | undefined;
|
|
20
|
-
avatarId?: string | null | undefined;
|
|
21
|
-
coverId?: string | null | undefined;
|
|
22
12
|
avatar?: {
|
|
23
13
|
mediaId?: string | undefined;
|
|
24
14
|
userId?: string | undefined;
|
|
@@ -65,8 +55,21 @@ export declare function useWidgetState(props: {
|
|
|
65
55
|
duration?: number | undefined;
|
|
66
56
|
blurhash?: string | undefined;
|
|
67
57
|
} | undefined;
|
|
58
|
+
orgId?: string | undefined;
|
|
59
|
+
agentId?: string | undefined;
|
|
60
|
+
status?: string | undefined;
|
|
61
|
+
createdAt?: string | undefined;
|
|
62
|
+
updatedAt?: string | undefined;
|
|
63
|
+
name?: string | undefined;
|
|
68
64
|
email?: string | null | undefined;
|
|
69
65
|
website?: string | null | undefined;
|
|
66
|
+
handle?: string | undefined;
|
|
67
|
+
ownerId?: string | undefined;
|
|
68
|
+
emoji?: string | null | undefined;
|
|
69
|
+
summary?: string | null | undefined;
|
|
70
|
+
entityType?: string | undefined;
|
|
71
|
+
avatarId?: string | null | undefined;
|
|
72
|
+
coverId?: string | null | undefined;
|
|
70
73
|
accounts?: {
|
|
71
74
|
platform: "email" | "website" | "linkedin" | "x" | "facebook" | "tiktok" | "youtube" | "github" | "instagram" | "threads" | "phone";
|
|
72
75
|
handle: string;
|
|
@@ -74,11 +77,7 @@ export declare function useWidgetState(props: {
|
|
|
74
77
|
model?: string | null | undefined;
|
|
75
78
|
lastActiveAt?: string | null | undefined;
|
|
76
79
|
lastMessageAt?: string | null | undefined;
|
|
77
|
-
instanceId?: string | null | undefined;
|
|
78
|
-
instanceProvider?: string | null | undefined;
|
|
79
|
-
imageVersion?: string | null | undefined;
|
|
80
80
|
runtime?: string | undefined;
|
|
81
|
-
botServerUrl?: string | null | undefined;
|
|
82
81
|
desiredStatus?: "active" | "stopped" | null | undefined;
|
|
83
82
|
onboardedAt?: string | null | undefined;
|
|
84
83
|
org?: {
|
|
@@ -90,13 +89,10 @@ export declare function useWidgetState(props: {
|
|
|
90
89
|
summary?: string | undefined;
|
|
91
90
|
} | undefined;
|
|
92
91
|
visibility?: "org" | "private" | "public" | undefined;
|
|
93
|
-
status?: string | undefined;
|
|
94
|
-
createdAt?: string | undefined;
|
|
95
|
-
updatedAt?: string | undefined;
|
|
96
92
|
isPrimary?: boolean | undefined;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
93
|
+
state?: "error" | "stopped" | "unknown" | "starting" | "running" | "stopping" | undefined;
|
|
94
|
+
changedAt?: string | undefined;
|
|
95
|
+
error?: string | undefined;
|
|
100
96
|
blocker?: {
|
|
101
97
|
bucket: "error" | "account";
|
|
102
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";
|
|
@@ -106,17 +102,7 @@ export declare function useWidgetState(props: {
|
|
|
106
102
|
help?: string | undefined;
|
|
107
103
|
} | undefined;
|
|
108
104
|
} | undefined, {
|
|
109
|
-
agentId?: string | undefined;
|
|
110
|
-
handle?: string | undefined;
|
|
111
|
-
ownerId?: string | undefined;
|
|
112
|
-
orgId?: string | undefined;
|
|
113
|
-
name?: string | undefined;
|
|
114
|
-
emoji?: string | null | undefined;
|
|
115
105
|
title?: string | null | undefined;
|
|
116
|
-
summary?: string | null | undefined;
|
|
117
|
-
entityType?: string | undefined;
|
|
118
|
-
avatarId?: string | null | undefined;
|
|
119
|
-
coverId?: string | null | undefined;
|
|
120
106
|
avatar?: {
|
|
121
107
|
mediaId?: string | undefined;
|
|
122
108
|
userId?: string | undefined;
|
|
@@ -163,8 +149,21 @@ export declare function useWidgetState(props: {
|
|
|
163
149
|
duration?: number | undefined;
|
|
164
150
|
blurhash?: string | undefined;
|
|
165
151
|
} | undefined;
|
|
152
|
+
orgId?: string | undefined;
|
|
153
|
+
agentId?: string | undefined;
|
|
154
|
+
status?: string | undefined;
|
|
155
|
+
createdAt?: string | undefined;
|
|
156
|
+
updatedAt?: string | undefined;
|
|
157
|
+
name?: string | undefined;
|
|
166
158
|
email?: string | null | undefined;
|
|
167
159
|
website?: string | null | undefined;
|
|
160
|
+
handle?: string | undefined;
|
|
161
|
+
ownerId?: string | undefined;
|
|
162
|
+
emoji?: string | null | undefined;
|
|
163
|
+
summary?: string | null | undefined;
|
|
164
|
+
entityType?: string | undefined;
|
|
165
|
+
avatarId?: string | null | undefined;
|
|
166
|
+
coverId?: string | null | undefined;
|
|
168
167
|
accounts?: {
|
|
169
168
|
platform: "email" | "website" | "linkedin" | "x" | "facebook" | "tiktok" | "youtube" | "github" | "instagram" | "threads" | "phone";
|
|
170
169
|
handle: string;
|
|
@@ -172,11 +171,7 @@ export declare function useWidgetState(props: {
|
|
|
172
171
|
model?: string | null | undefined;
|
|
173
172
|
lastActiveAt?: string | null | undefined;
|
|
174
173
|
lastMessageAt?: string | null | undefined;
|
|
175
|
-
instanceId?: string | null | undefined;
|
|
176
|
-
instanceProvider?: string | null | undefined;
|
|
177
|
-
imageVersion?: string | null | undefined;
|
|
178
174
|
runtime?: string | undefined;
|
|
179
|
-
botServerUrl?: string | null | undefined;
|
|
180
175
|
desiredStatus?: "active" | "stopped" | null | undefined;
|
|
181
176
|
onboardedAt?: string | null | undefined;
|
|
182
177
|
org?: {
|
|
@@ -188,13 +183,10 @@ export declare function useWidgetState(props: {
|
|
|
188
183
|
summary?: string | undefined;
|
|
189
184
|
} | undefined;
|
|
190
185
|
visibility?: "org" | "private" | "public" | undefined;
|
|
191
|
-
status?: string | undefined;
|
|
192
|
-
createdAt?: string | undefined;
|
|
193
|
-
updatedAt?: string | undefined;
|
|
194
186
|
isPrimary?: boolean | undefined;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
187
|
+
state?: "error" | "stopped" | "unknown" | "starting" | "running" | "stopping" | undefined;
|
|
188
|
+
changedAt?: string | undefined;
|
|
189
|
+
error?: string | undefined;
|
|
198
190
|
blocker?: {
|
|
199
191
|
bucket: "error" | "account";
|
|
200
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";
|
|
@@ -204,17 +196,7 @@ export declare function useWidgetState(props: {
|
|
|
204
196
|
help?: string | undefined;
|
|
205
197
|
} | undefined;
|
|
206
198
|
} | {
|
|
207
|
-
agentId?: string | undefined;
|
|
208
|
-
handle?: string | undefined;
|
|
209
|
-
ownerId?: string | undefined;
|
|
210
|
-
orgId?: string | undefined;
|
|
211
|
-
name?: string | undefined;
|
|
212
|
-
emoji?: string | null | undefined;
|
|
213
199
|
title?: string | null | undefined;
|
|
214
|
-
summary?: string | null | undefined;
|
|
215
|
-
entityType?: string | undefined;
|
|
216
|
-
avatarId?: string | null | undefined;
|
|
217
|
-
coverId?: string | null | undefined;
|
|
218
200
|
avatar?: {
|
|
219
201
|
mediaId?: string | undefined;
|
|
220
202
|
userId?: string | undefined;
|
|
@@ -261,8 +243,21 @@ export declare function useWidgetState(props: {
|
|
|
261
243
|
duration?: number | undefined;
|
|
262
244
|
blurhash?: string | undefined;
|
|
263
245
|
} | undefined;
|
|
246
|
+
orgId?: string | undefined;
|
|
247
|
+
agentId?: string | undefined;
|
|
248
|
+
status?: string | undefined;
|
|
249
|
+
createdAt?: string | undefined;
|
|
250
|
+
updatedAt?: string | undefined;
|
|
251
|
+
name?: string | undefined;
|
|
264
252
|
email?: string | null | undefined;
|
|
265
253
|
website?: string | null | undefined;
|
|
254
|
+
handle?: string | undefined;
|
|
255
|
+
ownerId?: string | undefined;
|
|
256
|
+
emoji?: string | null | undefined;
|
|
257
|
+
summary?: string | null | undefined;
|
|
258
|
+
entityType?: string | undefined;
|
|
259
|
+
avatarId?: string | null | undefined;
|
|
260
|
+
coverId?: string | null | undefined;
|
|
266
261
|
accounts?: {
|
|
267
262
|
platform: "email" | "website" | "linkedin" | "x" | "facebook" | "tiktok" | "youtube" | "github" | "instagram" | "threads" | "phone";
|
|
268
263
|
handle: string;
|
|
@@ -270,11 +265,7 @@ export declare function useWidgetState(props: {
|
|
|
270
265
|
model?: string | null | undefined;
|
|
271
266
|
lastActiveAt?: string | null | undefined;
|
|
272
267
|
lastMessageAt?: string | null | undefined;
|
|
273
|
-
instanceId?: string | null | undefined;
|
|
274
|
-
instanceProvider?: string | null | undefined;
|
|
275
|
-
imageVersion?: string | null | undefined;
|
|
276
268
|
runtime?: string | undefined;
|
|
277
|
-
botServerUrl?: string | null | undefined;
|
|
278
269
|
desiredStatus?: "active" | "stopped" | null | undefined;
|
|
279
270
|
onboardedAt?: string | null | undefined;
|
|
280
271
|
org?: {
|
|
@@ -286,13 +277,10 @@ export declare function useWidgetState(props: {
|
|
|
286
277
|
summary?: string | undefined;
|
|
287
278
|
} | undefined;
|
|
288
279
|
visibility?: "org" | "private" | "public" | undefined;
|
|
289
|
-
status?: string | undefined;
|
|
290
|
-
createdAt?: string | undefined;
|
|
291
|
-
updatedAt?: string | undefined;
|
|
292
280
|
isPrimary?: boolean | undefined;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
281
|
+
state?: "error" | "stopped" | "unknown" | "starting" | "running" | "stopping" | undefined;
|
|
282
|
+
changedAt?: string | undefined;
|
|
283
|
+
error?: string | undefined;
|
|
296
284
|
blocker?: {
|
|
297
285
|
bucket: "error" | "account";
|
|
298
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";
|