@belonguniverseai/react-sdk 0.6.34 → 0.6.35
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/api/account-connectors.d.ts +1 -1
- package/dist/api/agent-computer.d.ts +9 -0
- package/dist/api/client.d.ts +380 -84
- package/dist/api/goals.d.ts +4 -4
- package/dist/api/guide.d.ts +11 -4
- package/dist/api/proactive.d.ts +11 -0
- package/dist/api/query-keys.d.ts +19 -1
- package/dist/api/quota-refusal.d.ts +1 -1
- package/dist/api/task-schedule-folders.d.ts +4 -4
- package/dist/api/task-schedule-projects.d.ts +7 -7
- package/dist/api/task-schedules.d.ts +101 -17
- package/dist/app/dock-story-data.d.ts +5 -5
- package/dist/component/{abnfDiagram-N423BO3Z-K52-wOfg.js → abnfDiagram-N423BO3Z-CRZoFiVH.js} +4 -4
- package/dist/component/{architectureDiagram-T3A2C74G-B64SrMLF.js → architectureDiagram-T3A2C74G-CaRtqw4X.js} +6 -6
- package/dist/component/{blockDiagram-VBNYF7ZC-B7Di5R1s.js → blockDiagram-VBNYF7ZC-BK04msnb.js} +8 -8
- package/dist/component/{c4Diagram-5PPSVZJV-ClDtA2m4.js → c4Diagram-5PPSVZJV-BMDcb-rm.js} +4 -4
- package/dist/component/{channel-C6_lLEWW.js → channel-Da7DEnT8.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-B07moQal.js → chunk-2GRJ4B5K-CxwwCtK7.js} +2 -2
- package/dist/component/{chunk-3NCLNEKW-TUF1Wrf6.js → chunk-3NCLNEKW-C6R8qHlR.js} +2 -2
- package/dist/component/{chunk-4I5QYGJK-qY-_sgVE.js → chunk-4I5QYGJK-Ccf8L2Bk.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-BU0H_zl3.js → chunk-5RXB4S5H-V2z-LyAY.js} +6 -6
- package/dist/component/{chunk-6Q2QTUOP-nIHNEMhm.js → chunk-6Q2QTUOP-C6GL9-4r.js} +3 -3
- package/dist/component/{chunk-7Z6QIM7H-D7mHGFzt.js → chunk-7Z6QIM7H-BV6R4sWE.js} +8 -8
- package/dist/component/{chunk-GF5L2VYU-uM1RliIa.js → chunk-GF5L2VYU-DAD1p6ak.js} +6 -6
- package/dist/component/{chunk-I66GZJ75-oDyTlx3R.js → chunk-I66GZJ75-DEykrnbu.js} +2 -2
- package/dist/component/{chunk-J7OUQ5F2-c7iD4Gpa.js → chunk-J7OUQ5F2-CEWcOukY.js} +7 -7
- package/dist/component/{chunk-JQJVKLGR-JeqFPv2A.js → chunk-JQJVKLGR-DCAX80x3.js} +8 -8
- package/dist/component/{chunk-KBJHAD2P-DjQd-FIs.js → chunk-KBJHAD2P-Bk8hJC_U.js} +2 -2
- package/dist/component/{chunk-NSK5VX7P-Bq0sOWgd.js → chunk-NSK5VX7P-D-saWvpt.js} +2 -2
- package/dist/component/{chunk-QR6OTTB3-DctDLVWm.js → chunk-QR6OTTB3-CMv_Vw9A.js} +7 -7
- package/dist/component/{chunk-UBXNYLIW-Ka1R3omP.js → chunk-UBXNYLIW-BfXPFCA1.js} +3 -3
- package/dist/component/{chunk-W5SLKNZC-CI_OqVnD.js → chunk-W5SLKNZC-BL-VPYuH.js} +2 -2
- package/dist/component/{chunk-WRU74C26-BMkh1mHN.js → chunk-WRU74C26-BXxIvhYq.js} +4 -4
- package/dist/component/{classDiagram-JCYQIIEL-C1E0BQye.js → classDiagram-JCYQIIEL-CRKRQjr4.js} +13 -13
- package/dist/component/{classDiagram-v2-OCEON4UE-hQKKIbDF.js → classDiagram-v2-OCEON4UE-ltwXlVlU.js} +13 -13
- package/dist/component/{component-B44aZ-1Z.js → component-BNq6d1iV.js} +21724 -19868
- package/dist/component/{cynefinDiagram-MW4NZA55-0yefvDKM.js → cynefinDiagram-MW4NZA55-Bju0bDR1.js} +4 -4
- package/dist/component/{dagre-VZM6K2ZE-CBlt7UUF.js → dagre-VZM6K2ZE-fMS2g5Lt.js} +9 -9
- package/dist/component/{diagram-7IWD3JNH-D0zEzayZ.js → diagram-7IWD3JNH-CoDJAyv-.js} +5 -5
- package/dist/component/{diagram-B4RE2ZJO-Dm2FX5kh.js → diagram-B4RE2ZJO-nioVFGn5.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-nQGWQGIp.js → diagram-LBJQPF4R-BuBX2Dz0.js} +4 -4
- package/dist/component/{diagram-Q27KOJAE-Co-Dq4kd.js → diagram-Q27KOJAE-D6amwUDE.js} +6 -6
- package/dist/component/{diagram-UB23O5K3-ClWS8vTp.js → diagram-UB23O5K3-BfBhBu7Y.js} +4 -4
- package/dist/component/{ebnfDiagram-BXEA7PRR-Cq6K_q0O.js → ebnfDiagram-BXEA7PRR-Cy3CaiTX.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-DvPI-BqP.js → erDiagram-JOGREHBK-BUomkKWY.js} +12 -12
- package/dist/component/flowDiagram-UKHOOZJN-C0aiK5kF.js +19 -0
- package/dist/component/{ganttDiagram-PKOTCBZU-DXzfT7Q5.js → ganttDiagram-PKOTCBZU-BWWeGylo.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-CMKpJJJ_.js → gitGraphDiagram-DS77QQ5N-BFNi8KrJ.js} +3 -3
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-Ck5rB_GF.js → infoDiagram-6WML65LV-Ba4nVdwJ.js} +3 -3
- package/dist/component/{ishikawaDiagram-WSZJBQD7-CHQxwGjK.js → ishikawaDiagram-WSZJBQD7-JBSR3acP.js} +4 -4
- package/dist/component/{journeyDiagram-NVQOT4AX-CnPVgyHk.js → journeyDiagram-NVQOT4AX-BAGUQhvd.js} +3 -3
- package/dist/component/{kanban-definition-27J2QSJJ-CC8oOHrI.js → kanban-definition-27J2QSJJ-CIBw8XVT.js} +9 -9
- package/dist/component/{line-AtEledwJ.js → line-BPXxX2mb.js} +2 -2
- package/dist/component/{mindmap-definition-FAOFIHXS-WWI6yyUJ.js → mindmap-definition-FAOFIHXS-ZwmeO9Ju.js} +11 -11
- package/dist/component/{pegDiagram-VL7TDLO6-D5NeC_IJ.js → pegDiagram-VL7TDLO6-g6cHkKXH.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-M4MUAitH.js → pieDiagram-7S7Q4E2Y-6if4UZeA.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-viErJFsV.js → quadrantDiagram-CIZ2JOQS-DW9Wi1_3.js} +2 -2
- package/dist/component/{railroadDiagram-AXF67PYL-C8IhZ-59.js → railroadDiagram-AXF67PYL-DRKsvNWu.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-D1vdZzCs.js → requirementDiagram-LRYGKXZP-CKtakT6g.js} +11 -11
- package/dist/component/{sankeyDiagram-W5VNT64P-Bl52MqzW.js → sankeyDiagram-W5VNT64P-B-oejkos.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-Cx-Aio7P.js → sequenceDiagram-SI44F4Z6-3RmdhrrK.js} +4 -4
- package/dist/component/{stateDiagram-OKZ733FA-CHqMp3xm.js → stateDiagram-OKZ733FA-ChwQeLFK.js} +14 -14
- package/dist/component/{stateDiagram-v2-UEYNNEHI-DqTLHDUB.js → stateDiagram-v2-UEYNNEHI-Cu0mGIbX.js} +13 -13
- package/dist/component/{swimlanes-SLNWSIFB-BkaXpBe5.js → swimlanes-SLNWSIFB-B1f2ZxW_.js} +9 -9
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-DyMFUKdr.js → swimlanesDiagram-ULZ7WXOC-CspwK4RG.js} +13 -13
- package/dist/component/{timeline-definition-Z64GVDOM-Ba3A3s-L.js → timeline-definition-Z64GVDOM-Bg9gKcBJ.js} +4 -4
- package/dist/component/{vennDiagram-T6HMQDX7-4W_JJhIz.js → vennDiagram-T6HMQDX7-BS7jr5XD.js} +4 -4
- package/dist/component/{wardleyDiagram-T6FBY63Y-CllyyQYm.js → wardleyDiagram-T6FBY63Y-DVm3XZBO.js} +4 -4
- package/dist/component/{xychartDiagram-ELKLHX3M-DS3MPPul.js → xychartDiagram-ELKLHX3M-Cg8qYbc9.js} +7 -7
- package/dist/components/ai-elements/chat-link.d.ts +15 -0
- package/dist/components/connectors/ConnectorBrandLogo.d.ts +4 -0
- package/dist/components/embed/EmbedConversation.d.ts +4 -1
- package/dist/components/embed/EmbedSessions.d.ts +7 -0
- package/dist/components/embed/ProactiveChecksSetting.d.ts +2 -1
- package/dist/components/pinned/AgentComputerSheet.d.ts +5 -0
- package/dist/components/pinned/AgentMessageNote.d.ts +12 -0
- package/dist/components/pinned/PinnedChatHeader.d.ts +8 -2
- package/dist/components/pinned/SentByAgentTag.d.ts +1 -0
- package/dist/components/pinned/agent-computer-open-state.d.ts +9 -0
- package/dist/components/pinned/character/AgentCharacter.d.ts +8 -0
- package/dist/components/pinned/character/agent-character-art.d.ts +12 -0
- package/dist/components/pinned/personal-agent.d.ts +43 -0
- package/dist/components/pinned/profile/AgentProfileSheet.d.ts +14 -0
- package/dist/components/pinned/profile/ProfileAboutTab.d.ts +4 -0
- package/dist/components/pinned/profile/ProfileActivityTab.d.ts +9 -0
- package/dist/components/pinned/profile/ProfileSourcesTab.d.ts +8 -0
- package/dist/components/pinned/profile/profile-activity.d.ts +52 -0
- package/dist/components/scheduled/ScheduleFolderDialogs.d.ts +14 -0
- package/dist/components/scheduled/ScheduleFolderTree.d.ts +2 -1
- package/dist/components/scheduled/ScheduledListSurface.d.ts +7 -0
- package/dist/embed/pinned-chat.d.ts +19 -1
- package/dist/i18n/messages/en.d.ts +88 -1
- package/dist/i18n/messages/surfaces/embedMisc.d.ts +4 -0
- package/dist/i18n/messages/surfaces/pinned.d.ts +256 -4
- package/dist/i18n/messages/surfaces/scheduled.d.ts +76 -0
- package/dist/i18n/messages/surfaces/sessions.d.ts +4 -0
- package/dist/i18n/messages/surfaces/settings.d.ts +12 -0
- package/dist/routes/chat/session-api.d.ts +1 -1
- package/dist/routes/chat/use-next-step-suggestion.d.ts +4 -0
- package/dist/stream/belong-chat-transport.d.ts +13 -13
- package/dist/stream/message-metadata.d.ts +57 -0
- package/package.json +1 -1
- package/dist/component/flowDiagram-UKHOOZJN-2MBQiA4G.js +0 -19
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/** Mirrors belong-cloud's `ProactiveTurnNote` (`proactive-turn-note.ts`). */
|
|
3
|
+
declare const proactiveTurnNoteSchema: z.ZodObject<{
|
|
4
|
+
tag: z.ZodEnum<{
|
|
5
|
+
needs_you: "needs_you";
|
|
6
|
+
heads_up: "heads_up";
|
|
7
|
+
done_on_my_own: "done_on_my_own";
|
|
8
|
+
}>;
|
|
9
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
|
+
kind: z.ZodLiteral<"scheduled_task">;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
kind: z.ZodLiteral<"simetrik">;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
kind: z.ZodLiteral<"app">;
|
|
16
|
+
app: z.ZodEnum<{
|
|
17
|
+
gmail: "gmail";
|
|
18
|
+
slack: "slack";
|
|
19
|
+
calendar: "calendar";
|
|
20
|
+
}>;
|
|
21
|
+
place: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
kind: z.ZodLiteral<"connector">;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
}, z.core.$strip>], "kind">;
|
|
26
|
+
moreCount: z.ZodNumber;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
export type ProactiveTurnNote = z.infer<typeof proactiveTurnNoteSchema>;
|
|
30
|
+
export type ProactiveTurnSource = NonNullable<ProactiveTurnNote["source"]>;
|
|
2
31
|
export declare const belongMessageMetadataSchema: z.ZodObject<{
|
|
3
32
|
taskId: z.ZodOptional<z.ZodString>;
|
|
4
33
|
feedback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -12,5 +41,33 @@ export declare const belongMessageMetadataSchema: z.ZodObject<{
|
|
|
12
41
|
skill: z.ZodOptional<z.ZodString>;
|
|
13
42
|
fromHistory: z.ZodOptional<z.ZodBoolean>;
|
|
14
43
|
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
proactive: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
45
|
+
tag: z.ZodEnum<{
|
|
46
|
+
needs_you: "needs_you";
|
|
47
|
+
heads_up: "heads_up";
|
|
48
|
+
done_on_my_own: "done_on_my_own";
|
|
49
|
+
}>;
|
|
50
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
origin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
52
|
+
kind: z.ZodLiteral<"scheduled_task">;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"simetrik">;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"app">;
|
|
57
|
+
app: z.ZodEnum<{
|
|
58
|
+
gmail: "gmail";
|
|
59
|
+
slack: "slack";
|
|
60
|
+
calendar: "calendar";
|
|
61
|
+
}>;
|
|
62
|
+
place: z.ZodNullable<z.ZodString>;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
kind: z.ZodLiteral<"connector">;
|
|
65
|
+
name: z.ZodString;
|
|
66
|
+
}, z.core.$strip>], "kind">;
|
|
67
|
+
moreCount: z.ZodNumber;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
sentBy: z.ZodOptional<z.ZodLiteral<"personal_agent">>;
|
|
15
71
|
}, z.core.$strip>;
|
|
16
72
|
export type BelongMessageMetadata = z.infer<typeof belongMessageMetadataSchema>;
|
|
73
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@belonguniverseai/react-sdk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.35",
|
|
4
4
|
"description": "Belong — embeddable React AI assistant dock. Mount <BelongWidget> in your app tree with getToken dependency-injection auth.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
globalThis.process = globalThis.process || { env: {} }, globalThis.global = globalThis.global || globalThis;
|
|
2
|
-
import "./chunk-Y2CYZVJY-CiUSrfaV.js";
|
|
3
|
-
import "./src-CKo8cHWB.js";
|
|
4
|
-
import "./chunk-I66GZJ75-oDyTlx3R.js";
|
|
5
|
-
import "./chunk-NSK5VX7P-Bq0sOWgd.js";
|
|
6
|
-
import "./chunk-ZIRB5QZD-DmX0SXRC.js";
|
|
7
|
-
import "./chunk-W5SLKNZC-CI_OqVnD.js";
|
|
8
|
-
import "./chunk-UBXNYLIW-Ka1R3omP.js";
|
|
9
|
-
import "./chunk-4I5QYGJK-qY-_sgVE.js";
|
|
10
|
-
import "./chunk-WRU74C26-BMkh1mHN.js";
|
|
11
|
-
import "./chunk-QR6OTTB3-DctDLVWm.js";
|
|
12
|
-
import "./chunk-7BUUIJ7U-DJJ8ycYS.js";
|
|
13
|
-
import "./chunk-7Z6QIM7H-D7mHGFzt.js";
|
|
14
|
-
import "./chunk-J7OUQ5F2-c7iD4Gpa.js";
|
|
15
|
-
import "./chunk-5VM5RSS4-BuOiQaWo.js";
|
|
16
|
-
import "./chunk-2GRJ4B5K-B07moQal.js";
|
|
17
|
-
import "./chunk-XXDRQBXY-BP7ld7ls.js";
|
|
18
|
-
import "./chunk-KBJHAD2P-DjQd-FIs.js";
|
|
19
|
-
export { n as diagram } from "./chunk-JQJVKLGR-JeqFPv2A.js";
|