@belonguniverseai/react-sdk 0.6.17 → 0.6.19
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/README.md +70 -8
- package/dist/api/account-connectors.d.ts +19 -10
- package/dist/api/client.d.ts +573 -44
- package/dist/api/connectors.d.ts +1 -0
- package/dist/api/queries.d.ts +1 -0
- package/dist/api/task-schedules.d.ts +8 -8
- package/dist/app/BelongDock.d.ts +2 -2
- package/dist/component/BelongWidget.d.ts +22 -1
- package/dist/component/{abnfDiagram-N423BO3Z-DQQzuYZD.js → abnfDiagram-N423BO3Z-p8pf1oUu.js} +4 -4
- package/dist/component/{arc-DyP79PGf.js → arc-CDN3jDNB.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-D_elSQ1O.js → architectureDiagram-T3A2C74G-Dd8FlfDW.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-LCbtrdey.js → blockDiagram-VBNYF7ZC-CUgNh_GL.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-BavpcOfZ.js → c4Diagram-5PPSVZJV-CSjftNi_.js} +3 -3
- package/dist/component/{channel-BZqwTbw2.js → channel-RXp4rUai.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-CUnqSIZ_.js → chunk-2GRJ4B5K-Conm-Udw.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-BXbvDQmH.js → chunk-2Q5K7J3B-BJVcNqca.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-9sfSr0mD.js → chunk-5RXB4S5H-ClnvuSUP.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-VnYY-ckg.js → chunk-5VM5RSS4-CZSg676A.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-cjY3qI3C.js → chunk-6Q2QTUOP-d6e2hDQ3.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-B4uiGrvB.js → chunk-GF5L2VYU-DMNXiX_5.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-C_FwRGti.js → chunk-JWPE2WC7-Be-HKBKg.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-BThvKHPK.js → chunk-KBJHAD2P-CSs5ejAq.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-CNf0rdtW.js → chunk-RYQCIY6F-BM0CmhLz.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-BDEUQoWy.js → chunk-XXDRQBXY-Xj8K5wzT.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-Dp0ahzb0.js → classDiagram-JCYQIIEL-DTZI6cPh.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-Dp0ahzb0.js → classDiagram-v2-OCEON4UE-DTZI6cPh.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-Dc-CE5JY.js → cose-bilkent-JH36ORCC-DaY5o18F.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-BA2fEkMD.js → cynefinDiagram-MW4NZA55-DoTeA4Ye.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-B4d8ixBl.js → dagre-VZM6K2ZE-CF3eWDN_.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-DKOeWl-_.js → diagram-7IWD3JNH-D4CVwoPP.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-DvvRtQm3.js → diagram-B4RE2ZJO-DTk-yH1g.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-DXFi21rR.js → diagram-LBJQPF4R-C82NaEDn.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-BkZNFrtu.js → diagram-Q27KOJAE-DVbW2GPm.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-D_IJQzxk.js → diagram-UB23O5K3-fLwqL8Hl.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-DD6VLDvv.js → ebnfDiagram-BXEA7PRR-BLEKzcRB.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-D2GUhORW.js → erDiagram-JOGREHBK-D9srj1qV.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-BO76VMQu.js → flowDiagram-UKHOOZJN-CeyLyzYo.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-DiZEbOvk.js → ganttDiagram-PKOTCBZU-D_wnN-8z.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-3JU_fIgh.js → gitGraphDiagram-DS77QQ5N-PeHi2KIR.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-DyUfTvlp.js → highlighted-body-OFNGDK62-CuSKYiPW.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-wQDDhFdJ.js → infoDiagram-6WML65LV-CGnUeTPG.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-ByqLAAAH.js → ishikawaDiagram-WSZJBQD7-DhbZTdB_.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-CJrAO9iO.js → journeyDiagram-NVQOT4AX-DbAZyk3F.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-BK-6EIGy.js → kanban-definition-27J2QSJJ-CPIUg4vz.js} +3 -3
- package/dist/component/{linear-5HARV3Z1.js → linear-CpcRfWUV.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-BYmG2b26.js → mermaid-GHXKKRXX-CnsSyJhK.js} +94531 -93143
- package/dist/component/{mindmap-definition-FAOFIHXS-CWZ3W_zW.js → mindmap-definition-FAOFIHXS-RIm66-oB.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-DHCzlDWN.js → pegDiagram-VL7TDLO6-C6uB8Ash.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-BbgPCeI4.js → pieDiagram-7S7Q4E2Y-6m7QqfK3.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-CVNb4Dn0.js → quadrantDiagram-CIZ2JOQS-Dge2oJ5y.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-BZtclau2.js → railroadDiagram-AXF67PYL-DWfg1byS.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-DJeluZaM.js → requirementDiagram-LRYGKXZP-C_mrqai9.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-CxVyzRB-.js → sankeyDiagram-W5VNT64P-D1MhEv2a.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-DrkHqtHC.js → sequenceDiagram-SI44F4Z6-mn9it5es.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-Ctgo1XlA.js → sizeCapture-X5ZJPWSS-Do_vnkJp.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-DhCABcA4.js → stateDiagram-OKZ733FA-Pru5Vhsh.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-D_zLh09v.js → stateDiagram-v2-UEYNNEHI-BvRl8AHY.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-C40PaZQK.js → swimlanes-SLNWSIFB-CfaY_lmO.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-BIpHviIl.js → swimlanesDiagram-ULZ7WXOC-BFIfCk31.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-Byx2AKIE.js → timeline-definition-Z64GVDOM-BFU8eZDJ.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-CqLQjKUJ.js → vennDiagram-T6HMQDX7-C475K8TJ.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-S9fJVDcY.js → wardleyDiagram-T6FBY63Y-DZEN3DyJ.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-B3t1Zyyn.js → xychartDiagram-ELKLHX3M-B6MDNNoT.js} +3 -3
- package/dist/components/connectors/ConnectorDetailsDialog.d.ts +5 -1
- package/dist/components/connectors/ConnectorSetupCard.d.ts +6 -0
- package/dist/components/connectors/NewConnectorDialog.d.ts +4 -1
- package/dist/components/connectors/authorization-popup.d.ts +3 -0
- package/dist/components/connectors/catalog-installation.d.ts +3 -0
- package/dist/components/connectors/connector-public-draft.d.ts +4 -0
- package/dist/components/connectors/use-connector-oauth.d.ts +1 -1
- package/dist/components/embed/AtMentionMenu.d.ts +1 -1
- package/dist/components/embed/ComposerMenu.d.ts +4 -1
- package/dist/components/embed/EmbedConversation.d.ts +3 -3
- package/dist/components/embed/EmbedRail.d.ts +4 -2
- package/dist/components/embed/MentionInput.d.ts +2 -1
- package/dist/components/embed/SlackConnection.d.ts +6 -0
- package/dist/components/embed/SlashCommandMenu.d.ts +1 -1
- package/dist/components/embed/WelcomeHero.d.ts +16 -0
- package/dist/components/embed/WelcomeIntro.d.ts +18 -7
- package/dist/components/embed/WelcomeSkills.d.ts +7 -1
- package/dist/components/embed/WorkspacePane.d.ts +16 -0
- package/dist/components/embed/onboarding-story-dock.d.ts +3 -2
- package/dist/components/embed/use-preview-content-props.d.ts +7 -0
- package/dist/components/embed/use-prompt-invocations.d.ts +40 -0
- package/dist/components/scheduled/SchedulePrompt.d.ts +10 -0
- package/dist/components/scheduled/schedule-prompt-message.d.ts +4 -0
- package/dist/embed/copy.d.ts +13 -18
- package/dist/embed/dev-mode.d.ts +1 -1
- package/dist/embed/dock-layout.d.ts +14 -16
- package/dist/embed/dock-size-store.d.ts +7 -0
- package/dist/embed/dock-state.d.ts +2 -2
- package/dist/embed/hover-capability.d.ts +14 -0
- package/dist/embed/page-context.d.ts +11 -0
- package/dist/embed/show-target.d.ts +6 -0
- package/dist/embed/slash-commands.d.ts +9 -0
- package/dist/embed/user-context.d.ts +14 -0
- package/dist/embed/voice-call.d.ts +7 -6
- package/dist/i18n/messages/en.d.ts +31 -3
- package/dist/i18n/messages/surfaces/connectors.d.ts +60 -0
- package/dist/i18n/messages/surfaces/embedMisc.d.ts +0 -6
- package/dist/i18n/messages/surfaces/header.d.ts +6 -0
- package/dist/i18n/messages/surfaces/stream.d.ts +3 -0
- package/dist/i18n/messages/surfaces/workspace.d.ts +32 -0
- package/dist/stream/ai-sdk-part-renderers.d.ts +2 -1
- package/dist/stream/belong-chat-transport.d.ts +9 -9
- package/dist/stream/use-agent-workspace-focus.d.ts +5 -0
- package/dist/stream/workspace-focus-observer.d.ts +7 -0
- package/dist/stream/workspace-focus-store.d.ts +26 -0
- package/dist/types/public.d.ts +39 -0
- package/package.json +1 -1
- package/dist/components/embed/CapabilityHints.d.ts +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as oe } from "./chunk-XXDRQBXY-
|
|
2
|
-
import { s as ae } from "./chunk-KBJHAD2P-
|
|
3
|
-
import { _ as l, l as C, v as ce, x as le, z as he, E as G, c as B, i as F, b9 as de, ad as ge, ae as ue, af as pe } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { g as oe } from "./chunk-XXDRQBXY-Xj8K5wzT.js";
|
|
2
|
+
import { s as ae } from "./chunk-KBJHAD2P-CSs5ejAq.js";
|
|
3
|
+
import { _ as l, l as C, v as ce, x as le, z as he, E as G, c as B, i as F, b9 as de, ad as ge, ae as ue, af as pe } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
4
4
|
globalThis.process = globalThis.process || { env: {} };
|
|
5
5
|
globalThis.global = globalThis.global || globalThis;
|
|
6
6
|
const b = [];
|
|
@@ -830,4 +830,4 @@ var _e = Y, ke = 12, N = {
|
|
|
830
830
|
export {
|
|
831
831
|
we as diagram
|
|
832
832
|
};
|
|
833
|
-
//# sourceMappingURL=mindmap-definition-FAOFIHXS-
|
|
833
|
+
//# sourceMappingURL=mindmap-definition-FAOFIHXS-RIm66-oB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-
|
|
2
|
-
import { p } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as t, l as o } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-d6e2hDQ3.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-Be-HKBKg.js";
|
|
3
|
+
import { _ as t, l as o } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
4
4
|
import { M as u, d as c } from "./cynefin-VYW2F7L2-DAyxamLw.js";
|
|
5
5
|
globalThis.process = globalThis.process || { env: {} };
|
|
6
6
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -95,4 +95,4 @@ var f = c().RailroadPeg.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
|
|
|
95
95
|
export {
|
|
96
96
|
S as diagram
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=pegDiagram-VL7TDLO6-
|
|
98
|
+
//# sourceMappingURL=pegDiagram-VL7TDLO6-C6uB8Ash.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as at } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { V as D, K as P, b8 as rt, g as nt, s as it, a as ot, b as st, p as lt, o as ct, _ as d, l as B, c as gt, D as ut, G as dt, a4 as ht, e as pt, q as ft, E as mt } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { p as at } from "./chunk-JWPE2WC7-Be-HKBKg.js";
|
|
2
|
+
import { V as D, K as P, b8 as rt, g as nt, s as it, a as ot, b as st, p as lt, o as ct, _ as d, l as B, c as gt, D as ut, G as dt, a4 as ht, e as pt, q as ft, E as mt } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
3
|
import { p as vt } from "./cynefin-VYW2F7L2-DAyxamLw.js";
|
|
4
|
-
import { d as X } from "./arc-
|
|
4
|
+
import { d as X } from "./arc-CDN3jDNB.js";
|
|
5
5
|
import { o as xt } from "./ordinal-D0x7izaa.js";
|
|
6
6
|
globalThis.process = globalThis.process || { env: {} };
|
|
7
7
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -207,4 +207,4 @@ var At = mt.pie, I = {
|
|
|
207
207
|
export {
|
|
208
208
|
It as diagram
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=pieDiagram-7S7Q4E2Y-
|
|
210
|
+
//# sourceMappingURL=pieDiagram-7S7Q4E2Y-6m7QqfK3.js.map
|
package/dist/component/{quadrantDiagram-CIZ2JOQS-CVNb4Dn0.js → quadrantDiagram-CIZ2JOQS-Dge2oJ5y.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as Se, g as _e, p as ee, o as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, q as ve, E as z, i as Ce, Z as Le } from "./mermaid-GHXKKRXX-
|
|
2
|
-
import { l as te } from "./linear-
|
|
1
|
+
import { s as Se, g as _e, p as ee, o as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, q as ve, E as z, i as Ce, Z as Le } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
2
|
+
import { l as te } from "./linear-CpcRfWUV.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
5
5
|
var Ct = (function() {
|
|
@@ -1029,4 +1029,4 @@ var ze = /* @__PURE__ */ r(function() {
|
|
|
1029
1029
|
export {
|
|
1030
1030
|
Ne as diagram
|
|
1031
1031
|
};
|
|
1032
|
-
//# sourceMappingURL=quadrantDiagram-CIZ2JOQS-
|
|
1032
|
+
//# sourceMappingURL=quadrantDiagram-CIZ2JOQS-Dge2oJ5y.js.map
|
package/dist/component/{railroadDiagram-AXF67PYL-BZtclau2.js → railroadDiagram-AXF67PYL-DWfg1byS.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-
|
|
2
|
-
import { p } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as l, l as n } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-d6e2hDQ3.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-Be-HKBKg.js";
|
|
3
|
+
import { _ as l, l as n } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
4
4
|
import { M as m, c as u } from "./cynefin-VYW2F7L2-DAyxamLw.js";
|
|
5
5
|
globalThis.process = globalThis.process || { env: {} };
|
|
6
6
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -77,4 +77,4 @@ var d = u().Railroad.parser.LangiumParser, a = /* @__PURE__ */ l((e) => {
|
|
|
77
77
|
export {
|
|
78
78
|
E as diagram
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=railroadDiagram-AXF67PYL-
|
|
80
|
+
//# sourceMappingURL=railroadDiagram-AXF67PYL-DWfg1byS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as ze } from "./chunk-XXDRQBXY-
|
|
2
|
-
import { s as Ge } from "./chunk-KBJHAD2P-
|
|
3
|
-
import { _ as h, z as Ye, b as Xe, a as Je, s as Ze, g as et, o as tt, p as st, c as ke, l as Ne, q as it, u as rt, v as nt, x as at, y as lt } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { g as ze } from "./chunk-XXDRQBXY-Xj8K5wzT.js";
|
|
2
|
+
import { s as Ge } from "./chunk-KBJHAD2P-CSs5ejAq.js";
|
|
3
|
+
import { _ as h, z as Ye, b as Xe, a as Je, s as Ze, g as et, o as tt, p as st, c as ke, l as Ne, q as it, u as rt, v as nt, x as at, y as lt } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
4
4
|
globalThis.process = globalThis.process || { env: {} };
|
|
5
5
|
globalThis.global = globalThis.global || globalThis;
|
|
6
6
|
var qe = (function() {
|
|
@@ -885,4 +885,4 @@ var mt = /* @__PURE__ */ h(async function(e, u, o, n) {
|
|
|
885
885
|
export {
|
|
886
886
|
Rt as diagram
|
|
887
887
|
};
|
|
888
|
-
//# sourceMappingURL=requirementDiagram-LRYGKXZP-
|
|
888
|
+
//# sourceMappingURL=requirementDiagram-LRYGKXZP-C_mrqai9.js.map
|
package/dist/component/{sankeyDiagram-W5VNT64P-CxVyzRB-.js → sankeyDiagram-W5VNT64P-D1MhEv2a.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as kt, p as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, bc as St, d as G, ag as wt, q as Lt, k as Et } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { o as kt, p as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, bc as St, d as G, ag as wt, q as Lt, k as Et } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
2
2
|
import { o as Tt } from "./ordinal-D0x7izaa.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -859,4 +859,4 @@ var ge = {
|
|
|
859
859
|
export {
|
|
860
860
|
ge as diagram
|
|
861
861
|
};
|
|
862
|
-
//# sourceMappingURL=sankeyDiagram-W5VNT64P-
|
|
862
|
+
//# sourceMappingURL=sankeyDiagram-W5VNT64P-D1MhEv2a.js.map
|
package/dist/component/{sequenceDiagram-SI44F4Z6-DrkHqtHC.js → sequenceDiagram-SI44F4Z6-mn9it5es.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as tr } from "./chunk-2Q5K7J3B-
|
|
2
|
-
import { _ as x, $ as er, c as $, d as Vt, l as at, j as Ce, e as rr, f as ar, k as N, b as ke, s as sr, o as ir, a as nr, g as or, p as cr, a0 as lr, a1 as hr, q as dr, i as Yt, y as Z, a2 as Q, a3 as Pt, a4 as Me, a5 as Tr, z as Kt, a6 as pr, a7 as Be } from "./mermaid-GHXKKRXX-
|
|
3
|
-
import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-
|
|
1
|
+
import { I as tr } from "./chunk-2Q5K7J3B-BJVcNqca.js";
|
|
2
|
+
import { _ as x, $ as er, c as $, d as Vt, l as at, j as Ce, e as rr, f as ar, k as N, b as ke, s as sr, o as ir, a as nr, g as or, p as cr, a0 as lr, a1 as hr, q as dr, i as Yt, y as Z, a2 as Q, a3 as Pt, a4 as Me, a5 as Tr, z as Kt, a6 as pr, a7 as Be } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
|
+
import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-Conm-Udw.js";
|
|
4
4
|
globalThis.process = globalThis.process || { env: {} };
|
|
5
5
|
globalThis.global = globalThis.global || globalThis;
|
|
6
6
|
var te = (function() {
|
|
@@ -2891,4 +2891,4 @@ var ra = /* @__PURE__ */ x(async function(e, t, a) {
|
|
|
2891
2891
|
export {
|
|
2892
2892
|
Ta as diagram
|
|
2893
2893
|
};
|
|
2894
|
-
//# sourceMappingURL=sequenceDiagram-SI44F4Z6-
|
|
2894
|
+
//# sourceMappingURL=sequenceDiagram-SI44F4Z6-mn9it5es.js.map
|
package/dist/component/{sizeCapture-X5ZJPWSS-Ctgo1XlA.js → sizeCapture-X5ZJPWSS-Do_vnkJp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { _ as t } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
2
2
|
globalThis.process = globalThis.process || { env: {} };
|
|
3
3
|
globalThis.global = globalThis.global || globalThis;
|
|
4
4
|
var l = 1;
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
p as captureNodeSizes,
|
|
47
47
|
c as shouldCaptureSizes
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=sizeCapture-X5ZJPWSS-
|
|
49
|
+
//# sourceMappingURL=sizeCapture-X5ZJPWSS-Do_vnkJp.js.map
|
package/dist/component/{stateDiagram-OKZ733FA-DhCABcA4.js → stateDiagram-OKZ733FA-Pru5Vhsh.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-
|
|
2
|
-
import { _ as f, c as t, d as M, l as S, e as P, k as z, aa as _, ab as U, a6 as C, y as F } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-ClnvuSUP.js";
|
|
2
|
+
import { _ as f, c as t, d as M, l as S, e as P, k as z, aa as _, ab as U, a6 as C, y as F } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
3
|
import { G as O } from "./graph-CWpEkm4G.js";
|
|
4
4
|
import { l as J } from "./layout-Br2UjHRU.js";
|
|
5
5
|
globalThis.process = globalThis.process || { env: {} };
|
|
@@ -263,4 +263,4 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
263
263
|
export {
|
|
264
264
|
ot as diagram
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=stateDiagram-OKZ733FA-
|
|
266
|
+
//# sourceMappingURL=stateDiagram-OKZ733FA-Pru5Vhsh.js.map
|
package/dist/component/{stateDiagram-v2-UEYNNEHI-D_zLh09v.js → stateDiagram-v2-UEYNNEHI-BvRl8AHY.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-
|
|
2
|
-
import { _ as l } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-ClnvuSUP.js";
|
|
2
|
+
import { _ as l } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
5
5
|
var b = {
|
|
@@ -16,4 +16,4 @@ var b = {
|
|
|
16
16
|
export {
|
|
17
17
|
b as diagram
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=stateDiagram-v2-UEYNNEHI-
|
|
19
|
+
//# sourceMappingURL=stateDiagram-v2-UEYNNEHI-BvRl8AHY.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Tr } from "./chunk-RYQCIY6F-
|
|
2
|
-
import { ap as Er, aq as wr, ar as Ar, as as Rr, l as Ke, c as Nr, aj as Or, ai as Pr, ak as Br, aw as kr, ay as Fr, z as _r, av as Dr, az as Hr, y as Oe, aA as Ye, _ as d, aB as Ao } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { c as Tr } from "./chunk-RYQCIY6F-BM0CmhLz.js";
|
|
2
|
+
import { ap as Er, aq as wr, ar as Ar, as as Rr, l as Ke, c as Nr, aj as Or, ai as Pr, ak as Br, aw as kr, ay as Fr, z as _r, av as Dr, az as Hr, y as Oe, aA as Ye, _ as d, aB as Ao } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
3
|
import { G as Xr } from "./graph-CWpEkm4G.js";
|
|
4
4
|
globalThis.process = globalThis.process || { env: {} };
|
|
5
5
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -24,7 +24,7 @@ async function Fo(t, e) {
|
|
|
24
24
|
for (const I of o)
|
|
25
25
|
n.setEdge(I.start, I.end, { ...I }, I.id), e.edges.some((p) => p.id === I.id) || e.edges.push(I);
|
|
26
26
|
if (globalThis.mermaidCaptureSizes) {
|
|
27
|
-
const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-
|
|
27
|
+
const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-Do_vnkJp.js");
|
|
28
28
|
I(t, e);
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
@@ -5332,4 +5332,4 @@ d(Zr, "render");
|
|
|
5332
5332
|
export {
|
|
5333
5333
|
Zr as render
|
|
5334
5334
|
};
|
|
5335
|
-
//# sourceMappingURL=swimlanes-SLNWSIFB-
|
|
5335
|
+
//# sourceMappingURL=swimlanes-SLNWSIFB-CfaY_lmO.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, s as a } from "./flowDiagram-UKHOOZJN-
|
|
2
|
-
import { _ as s } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { c as e, s as a } from "./flowDiagram-UKHOOZJN-CeyLyzYo.js";
|
|
2
|
+
import { _ as s } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
5
5
|
var t = /* @__PURE__ */ s((l) => `${a(l)}
|
|
@@ -13,4 +13,4 @@ var t = /* @__PURE__ */ s((l) => `${a(l)}
|
|
|
13
13
|
export {
|
|
14
14
|
g as diagram
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-
|
|
16
|
+
//# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-BFIfCk31.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, z as gt, ad as Rt, ae as Ct, af as Wt, c as pt, l as E, G as Pt, a4 as Bt, ag as ft, d as U, u as Vt, ah as Ft, q as zt } from "./mermaid-GHXKKRXX-
|
|
2
|
-
import { d as ot } from "./arc-
|
|
1
|
+
import { _ as o, z as gt, ad as Rt, ae as Ct, af as Wt, c as pt, l as E, G as Pt, a4 as Bt, ag as ft, d as U, u as Vt, ah as Ft, q as zt } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
2
|
+
import { d as ot } from "./arc-CDN3jDNB.js";
|
|
3
3
|
globalThis.process = globalThis.process || { env: {} };
|
|
4
4
|
globalThis.global = globalThis.global || globalThis;
|
|
5
5
|
var tt = (function() {
|
|
@@ -1055,4 +1055,4 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
1055
1055
|
export {
|
|
1056
1056
|
me as diagram
|
|
1057
1057
|
};
|
|
1058
|
-
//# sourceMappingURL=timeline-definition-Z64GVDOM-
|
|
1058
|
+
//# sourceMappingURL=timeline-definition-Z64GVDOM-BFU8eZDJ.js.map
|
package/dist/component/{vennDiagram-T6HMQDX7-CqLQjKUJ.js → vennDiagram-T6HMQDX7-C475K8TJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b7 as Wt, s as Kt, g as Ht, p as Yt, o as Xt, a as Zt, b as Jt, _ as w, z as wt, G as Qt, d as ot, ao as $t, ad as te, ae as ee, af as ne, e as se, q as ie, D as oe, E as re } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { b7 as Wt, s as Kt, g as Ht, p as Yt, o as Xt, a as Zt, b as Jt, _ as w, z as wt, G as Qt, d as ot, ao as $t, ad as te, ae as ee, af as ne, e as se, q as ie, D as oe, E as re } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
2
2
|
globalThis.process = globalThis.process || { env: {} };
|
|
3
3
|
globalThis.global = globalThis.global || globalThis;
|
|
4
4
|
const kt = (t, n) => Wt(t, "a", -n), _t = 1e-10;
|
|
@@ -1578,4 +1578,4 @@ var Ue = { draw: qe }, We = {
|
|
|
1578
1578
|
export {
|
|
1579
1579
|
We as diagram
|
|
1580
1580
|
};
|
|
1581
|
-
//# sourceMappingURL=vennDiagram-T6HMQDX7-
|
|
1581
|
+
//# sourceMappingURL=vennDiagram-T6HMQDX7-C475K8TJ.js.map
|
package/dist/component/{wardleyDiagram-T6FBY63Y-S9fJVDcY.js → wardleyDiagram-T6FBY63Y-DZEN3DyJ.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as St } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { s as Mt, g as Nt, p as Tt, o as zt, a as Lt, b as At, _ as u, Z as Xt, z as Et, D as U, l as K, G as Yt, e as It, q as Bt, c as j } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { p as St } from "./chunk-JWPE2WC7-Be-HKBKg.js";
|
|
2
|
+
import { s as Mt, g as Nt, p as Tt, o as zt, a as Lt, b as At, _ as u, Z as Xt, z as Et, D as U, l as K, G as Yt, e as It, q as Bt, c as j } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
3
3
|
import { p as Ft } from "./cynefin-VYW2F7L2-DAyxamLw.js";
|
|
4
4
|
globalThis.process = globalThis.process || { env: {} };
|
|
5
5
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -678,4 +678,4 @@ var Dt = {
|
|
|
678
678
|
export {
|
|
679
679
|
Qt as diagram
|
|
680
680
|
};
|
|
681
|
-
//# sourceMappingURL=wardleyDiagram-T6FBY63Y-
|
|
681
|
+
//# sourceMappingURL=wardleyDiagram-T6FBY63Y-DZEN3DyJ.js.map
|
package/dist/component/{xychartDiagram-ELKLHX3M-B3t1Zyyn.js → xychartDiagram-ELKLHX3M-B6MDNNoT.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as si, g as ai, p as Et, o as ni, a as oi, b as ri, _ as n, l as It, G as hi, e as li, q as ci, z as pt, i as ui, D as Mt, E as gi, Z as xi, aC as di, aa as Dt } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { s as si, g as ai, p as Et, o as ni, a as oi, b as ri, _ as n, l as It, G as hi, e as li, q as ci, z as pt, i as ui, D as Mt, E as gi, Z as xi, aC as di, aa as Dt } from "./mermaid-GHXKKRXX-CnsSyJhK.js";
|
|
2
2
|
import { i as fi } from "./init-BOu0eQYQ.js";
|
|
3
3
|
import { o as pi } from "./ordinal-D0x7izaa.js";
|
|
4
|
-
import { l as vt } from "./linear-
|
|
4
|
+
import { l as vt } from "./linear-CpcRfWUV.js";
|
|
5
5
|
globalThis.process = globalThis.process || { env: {} };
|
|
6
6
|
globalThis.global = globalThis.global || globalThis;
|
|
7
7
|
function mi(t, i, e) {
|
|
@@ -1418,4 +1418,4 @@ var Ti = /* @__PURE__ */ n(function() {
|
|
|
1418
1418
|
export {
|
|
1419
1419
|
zi as diagram
|
|
1420
1420
|
};
|
|
1421
|
-
//# sourceMappingURL=xychartDiagram-ELKLHX3M-
|
|
1421
|
+
//# sourceMappingURL=xychartDiagram-ELKLHX3M-B6MDNNoT.js.map
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { ConnectorEditDraft } from '@belong/codec/connectors';
|
|
1
2
|
import { ConnectorSummary } from '../../api/connectors.ts';
|
|
2
|
-
export declare const ConnectorDetailsDialog: ({ open, onOpenChange, connector, initialEditing, }: {
|
|
3
|
+
export declare const ConnectorDetailsDialog: ({ open, onOpenChange, connector, initialEditing, draft, reconnect, onDraftApplied, }: {
|
|
3
4
|
readonly open: boolean;
|
|
4
5
|
readonly onOpenChange: (open: boolean) => void;
|
|
5
6
|
readonly connector: ConnectorSummary;
|
|
6
7
|
/** Opened straight from the row's Edit action, so it starts in edit mode. */
|
|
7
8
|
readonly initialEditing?: boolean;
|
|
9
|
+
readonly draft?: ConnectorEditDraft;
|
|
10
|
+
readonly reconnect?: boolean;
|
|
11
|
+
readonly onDraftApplied?: () => void;
|
|
8
12
|
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ToolCallData } from '../../stream/belong-data-parts.ts';
|
|
2
|
+
/** Pure replay: only explicit buttons create, sign in, edit, or send a turn. */
|
|
3
|
+
export declare const ConnectorSetupCard: ({ data, onContinue, }: {
|
|
4
|
+
readonly data: ToolCallData;
|
|
5
|
+
readonly onContinue?: ((connectorId: string, name: string) => Promise<void>) | undefined;
|
|
6
|
+
}) => import("react").JSX.Element;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { ConnectorCreateDraft } from '@belong/codec/connectors';
|
|
1
2
|
import { AvailableRemoteConnectorCatalogEntry } from '../../api/connectors.ts';
|
|
2
|
-
export declare const NewConnectorDialog: ({ open, onOpenChange, onCreated, preset, onBack, }: {
|
|
3
|
+
export declare const NewConnectorDialog: ({ open, onOpenChange, onCreated, preset, onBack, draft, retryKey, }: {
|
|
4
|
+
readonly draft?: ConnectorCreateDraft;
|
|
5
|
+
readonly retryKey?: string;
|
|
3
6
|
readonly open: boolean;
|
|
4
7
|
readonly onOpenChange: (open: boolean) => void;
|
|
5
8
|
/** The new connector's id, so the surface can show what it just discovered. */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AccountConnectorAuthorization } from '../../api/account-connectors.ts';
|
|
2
|
+
/** Queues the POST without waiting for navigation; returns CSP listener cleanup. */
|
|
3
|
+
export declare const startAuthorizationPopup: (popup: Window, authorization: AccountConnectorAuthorization, onBlocked?: () => void) => (() => void);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AvailableRemoteConnectorCatalogEntry, ConnectorSummary } from '../../api/connectors.ts';
|
|
2
|
+
/** Retry identity wins; otherwise never choose silently between accounts. */
|
|
3
|
+
export declare const catalogInstallations: (rows: readonly ConnectorSummary[], entry: AvailableRemoteConnectorCatalogEntry, retryKey: string) => readonly ConnectorSummary[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ConnectorCreateDraft } from '@belong/codec/connectors';
|
|
2
|
+
import { ConnectorAuthDraft } from './connector-form.ts';
|
|
3
|
+
/** Seed public suggestions once; credentials are always entered in the form. */
|
|
4
|
+
export declare const authDraftFromPublic: (auth: ConnectorCreateDraft["auth"]) => ConnectorAuthDraft;
|
|
@@ -21,7 +21,7 @@ export type ConnectorOAuthPhase = {
|
|
|
21
21
|
export type ConnectorOAuthConnect = {
|
|
22
22
|
readonly phase: ConnectorOAuthPhase;
|
|
23
23
|
/** Start (or restart) the flow for one connector. */
|
|
24
|
-
readonly connect: (connectorId: string) => Promise<void>;
|
|
24
|
+
readonly connect: (connectorId: string | ((isCurrent: () => boolean) => Promise<string | null>)) => Promise<void>;
|
|
25
25
|
/** Back to `idle` — what a dialog calls when it reopens. */
|
|
26
26
|
readonly reset: () => void;
|
|
27
27
|
};
|
|
@@ -8,6 +8,6 @@ import { ComposerPickerProps } from './ComposerMenu';
|
|
|
8
8
|
* in different folders stay distinguishable. Built on the shared
|
|
9
9
|
* {@link ComposerMenu} chrome (see there for focus / aria behavior).
|
|
10
10
|
*/
|
|
11
|
-
export declare function AtMentionMenu({ files, highlightedIndex, onSelect, onHighlight, }: {
|
|
11
|
+
export declare function AtMentionMenu({ files, idPrefix, placement, highlightedIndex, onSelect, onHighlight, }: {
|
|
12
12
|
files: readonly WorkspaceFile[];
|
|
13
13
|
} & ComposerPickerProps): import("react").JSX.Element;
|
|
@@ -19,16 +19,19 @@ import { ReactNode } from 'react';
|
|
|
19
19
|
*/
|
|
20
20
|
/** The highlight + select callbacks both composer pickers take from the parent. */
|
|
21
21
|
export type ComposerPickerProps = {
|
|
22
|
+
idPrefix?: string;
|
|
23
|
+
placement?: "above" | "below";
|
|
22
24
|
highlightedIndex: number;
|
|
23
25
|
onSelect: (value: string) => void;
|
|
24
26
|
onHighlight: (index: number) => void;
|
|
25
27
|
};
|
|
26
|
-
export declare function ComposerMenu({ id, testId, ariaLabel, header, children, }: {
|
|
28
|
+
export declare function ComposerMenu({ id, testId, ariaLabel, header, placement, children, }: {
|
|
27
29
|
id: string;
|
|
28
30
|
testId: string;
|
|
29
31
|
ariaLabel: string;
|
|
30
32
|
/** Pinned above the scroll region — stays visible while the rows scroll. */
|
|
31
33
|
header?: ReactNode;
|
|
34
|
+
placement?: "above" | "below";
|
|
32
35
|
children: ReactNode;
|
|
33
36
|
}): import("react").JSX.Element;
|
|
34
37
|
export declare function ComposerMenuOption({ id, testId, selected, index, layout, onSelect, onHighlight, children, }: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Belong-styled conversation frame. The chat route passes the rendered message
|
|
3
3
|
* list as children (keeping its useChat mapping + PartRenderer dispatch); this
|
|
4
|
-
* wrapper adds the
|
|
4
|
+
* wrapper adds the streaming "working…" row. There is no mic-status chip: the
|
|
5
|
+
* composer's mic button is the one place voice state is expressed.
|
|
5
6
|
* Stopping a run lives ONLY on the composer send button (it morphs into Stop
|
|
6
7
|
* while generating) — no second Stop control here. Clearing the visible chat
|
|
7
8
|
* is the `/clear` slash command — no toolbar button.
|
|
8
9
|
*/
|
|
9
|
-
export declare function EmbedConversation({
|
|
10
|
-
micOn: boolean;
|
|
10
|
+
export declare function EmbedConversation({ streaming, agentName, scrollResize, centerContent, children, }: Readonly<{
|
|
11
11
|
streaming: boolean;
|
|
12
12
|
/**
|
|
13
13
|
* Center the content vertically in the viewport — used by the first-run
|
|
@@ -15,7 +15,7 @@ export type EmbedView = "chat" | "files" | "scheduled" | "prompts" | "connectors
|
|
|
15
15
|
* expand-to-modal — then the collapse toggle. Active fill + brand colours come
|
|
16
16
|
* from `palette` so a host brand push re-themes everything.
|
|
17
17
|
*/
|
|
18
|
-
export declare function EmbedRail({ view, collapsed, user, theme, palette, sessions, activeId, planProgress, speakEnabled, ttsSupported, voiceSupported, voiceStatus, pendingVoiceDraft, voiceActionFlash, accent, cssVars, presets, activePreset, onSelectView, onToggleCollapse, onToggleMode, onToggleSide, onAccentChange, onAccentReset, onCssVarsChange, onApplyPreset, onLogout, onNewSession, onSelectSession, onSelectAgentLine, onCloseAgentLine, onDeleteSession, onRenameSession, onSessionsOpen, onViewStats, onToggleSpeak,
|
|
18
|
+
export declare function EmbedRail({ view, collapsed, user, theme, palette, sessions, activeId, planProgress, speakEnabled, ttsSupported, voiceSupported, voiceStatus, pendingVoiceDraft, voiceActionFlash, accent, cssVars, presets, activePreset, onSelectView, onToggleCollapse, onToggleMode, onToggleSide, onAccentChange, onAccentReset, onCssVarsChange, onApplyPreset, onLogout, onNewSession, onSelectSession, onSelectAgentLine, onCloseAgentLine, onDeleteSession, onRenameSession, onSessionsOpen, onViewStats, onToggleSpeak, fullscreen, onToggleFullscreen, connectorsUnavailable, }: {
|
|
19
19
|
view: EmbedView;
|
|
20
20
|
collapsed: boolean;
|
|
21
21
|
user: string | null;
|
|
@@ -85,7 +85,9 @@ export declare function EmbedRail({ view, collapsed, user, theme, palette, sessi
|
|
|
85
85
|
* rail still renders without the dock's panel host wired up. */
|
|
86
86
|
onViewStats?: (sessionId: string) => void;
|
|
87
87
|
onToggleSpeak: () => void;
|
|
88
|
-
|
|
88
|
+
/** The dock is fullscreen right now — the toggle reads "Exit fullscreen". */
|
|
89
|
+
fullscreen: boolean;
|
|
90
|
+
onToggleFullscreen: () => void;
|
|
89
91
|
/**
|
|
90
92
|
* This deployment answered "the connectors feature is off here" — the rail
|
|
91
93
|
* then hides the Connectors entry entirely, because a surface that can only
|
|
@@ -24,7 +24,8 @@ export type MentionInputHandle = {
|
|
|
24
24
|
setPendingSelection: (start: number, end: number) => void;
|
|
25
25
|
element: HTMLDivElement | null;
|
|
26
26
|
};
|
|
27
|
-
export declare function MentionInput({ value, palette, placeholder, suggestion, suggestionTabHint, disabled, className, ariaProps, onChange, onCaretChange, onKeyDown, onPasteFiles, handleRef, }: {
|
|
27
|
+
export declare function MentionInput({ value, palette, placeholder, suggestion, suggestionTabHint, disabled, className, ariaProps, onChange, onCaretChange, onKeyDown, onPasteFiles, handleRef, enterBehavior, }: {
|
|
28
|
+
enterBehavior?: "submit" | "newline";
|
|
28
29
|
value: string;
|
|
29
30
|
palette: BelongThemePalette;
|
|
30
31
|
placeholder: string;
|
|
@@ -10,7 +10,7 @@ import { ComposerPickerProps } from './ComposerMenu';
|
|
|
10
10
|
* minimize/expand toggle; when `collapsed`, only that bar shows. Built on the
|
|
11
11
|
* shared {@link ComposerMenu} chrome.
|
|
12
12
|
*/
|
|
13
|
-
export declare function SlashCommandMenu({ skills, highlightedIndex, collapsed, onToggleCollapse, onSelect, onHighlight, }: {
|
|
13
|
+
export declare function SlashCommandMenu({ skills, idPrefix, placement, highlightedIndex, collapsed, onToggleCollapse, onSelect, onHighlight, }: {
|
|
14
14
|
skills: readonly SkillSummary[];
|
|
15
15
|
collapsed: boolean;
|
|
16
16
|
onToggleCollapse: () => void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SkillSummary } from '../../api/skills.ts';
|
|
3
|
+
import { DockCopyVariant } from '../../embed/copy.ts';
|
|
4
|
+
import { Locale } from '../../embed/locale.ts';
|
|
5
|
+
import { BelongThemeBrand, DockCopyOverride } from '../../types/public.ts';
|
|
6
|
+
export type WelcomeHeroProps = {
|
|
7
|
+
readonly brand: BelongThemeBrand;
|
|
8
|
+
readonly variant: DockCopyVariant;
|
|
9
|
+
readonly locale: Locale;
|
|
10
|
+
readonly copyOverride: DockCopyOverride | undefined;
|
|
11
|
+
readonly skills: readonly SkillSummary[];
|
|
12
|
+
readonly skillsPending: boolean;
|
|
13
|
+
readonly onPickSkill: (name: string) => void;
|
|
14
|
+
readonly onSuggestion: (text: string) => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const WelcomeHero: ({ brand, variant, locale, copyOverride, skills, skillsPending, onPickSkill, onSuggestion, }: WelcomeHeroProps) => ReactElement;
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
import { BelongThemeBrand } from '../../types/public.ts';
|
|
2
2
|
/**
|
|
3
3
|
* The first thing the user sees in a brand-new session: the assistant
|
|
4
|
-
* introducing itself
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
4
|
+
* introducing itself with a one-line scope statement (Simetrik brands get the
|
|
5
|
+
* reconciliation-flavored line; everyone else the generic one), above the
|
|
6
|
+
* job rows / quick-start chips. Reads `brand` (theme) + the active locale, so
|
|
7
|
+
* it's deterministic from theme + language and survives a reload exactly like
|
|
8
|
+
* the empty-state chips do (§41). Container-aware (spec 2026-09-03, Decision
|
|
9
|
+
* 5): sits inside the `@container` hero wrapper (`WelcomeHero`, Task 3) and
|
|
10
|
+
* uses `@lg:` variants — the brand mark and larger type only show once the
|
|
11
|
+
* container is wide, since the docked column is often too narrow for either.
|
|
12
|
+
* The beta + U.S.-services advisory lives in the dock header (BetaBadge), not
|
|
13
|
+
* here — the header stays visible after the welcome hero vanishes.
|
|
14
|
+
*
|
|
15
|
+
* Phase 2 (spec 2026-09-03): a host-supplied display name (`useUserContext`)
|
|
16
|
+
* swaps the brand-only greeting for a named one, and a host-supplied page
|
|
17
|
+
* label (`usePageContextLabel`) adds a "Looking at ‹label›" line below the
|
|
18
|
+
* body — both are host context the dock never invents on its own, and both
|
|
19
|
+
* drop back to nothing when the host has none. That line's live region is
|
|
20
|
+
* always in the DOM (empty when there's no label) so a label arriving later —
|
|
21
|
+
* an SPA navigation rewriting the tab title — is actually announced.
|
|
11
22
|
*/
|
|
12
23
|
export declare function WelcomeIntro({ brand }: {
|
|
13
24
|
brand: BelongThemeBrand;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { SkillSummary } from '../../api/skills.ts';
|
|
2
2
|
import { SkillsPanelCopy } from '../../embed/copy.ts';
|
|
3
|
-
|
|
3
|
+
/** Default row cap: how many job rows fit without the first screen needing a
|
|
4
|
+
* scroll. `WelcomeHero` reuses this for its wide-container cap, so the two
|
|
5
|
+
* surfaces never drift apart. */
|
|
6
|
+
export declare const MAX_VISIBLE_SKILLS = 6;
|
|
7
|
+
export declare const humanizeSkillName: (name: string) => string;
|
|
8
|
+
export declare function WelcomeSkills({ skills, copy, onPick, maxVisible, }: {
|
|
4
9
|
skills: readonly SkillSummary[];
|
|
5
10
|
copy: SkillsPanelCopy;
|
|
6
11
|
onPick: (name: string) => void;
|
|
12
|
+
maxVisible?: number;
|
|
7
13
|
}): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The fullscreen WORKSPACE PANE — what Belong is showing the user right now
|
|
3
|
+
* (spec §4). Reads the focus store; renders the same bodies the docked panels
|
|
4
|
+
* do (`PlanView`, `PreviewContent`) so live, docked and fullscreen never drift.
|
|
5
|
+
* Mounted by BelongDock only while the dock is fullscreen AND something is
|
|
6
|
+
* focused — with nothing to show it renders nothing and the dock centres the
|
|
7
|
+
* chat instead (chat-first, like a plain assistant page). It never shows an
|
|
8
|
+
* empty state.
|
|
9
|
+
*
|
|
10
|
+
* `chatSide` is the dock's configured side: the fullscreen row is
|
|
11
|
+
* `flex-row-reverse` on a LEFT dock, so the pane sits right of the chat there
|
|
12
|
+
* and its separating border must flip with it.
|
|
13
|
+
*/
|
|
14
|
+
export declare const WorkspacePane: ({ chatSide }: {
|
|
15
|
+
readonly chatSide: "left" | "right";
|
|
16
|
+
}) => import("react").JSX.Element | null;
|
|
@@ -2,8 +2,9 @@ import { ReactNode, RefObject } from 'react';
|
|
|
2
2
|
import { SkillSummary } from '../../api/skills.ts';
|
|
3
3
|
import { Locale } from '../../embed/locale.ts';
|
|
4
4
|
import { StoryMode } from './onboarding.fixtures.ts';
|
|
5
|
-
/** The empty-state content (intro +
|
|
6
|
-
*
|
|
5
|
+
/** The empty-state content (intro + job rows) for a locale — the real
|
|
6
|
+
* `WelcomeHero` the dock renders, so the stories can't drift from it.
|
|
7
|
+
* `skills: []` shows the fallback quick-start chips instead. */
|
|
7
8
|
export declare function MockEmptyState({ locale, skills, }: {
|
|
8
9
|
locale: Locale;
|
|
9
10
|
skills?: readonly SkillSummary[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InlinePreviewTarget } from './use-inline-preview-url.ts';
|
|
2
|
+
import { PreviewTarget } from '../../stream/preview-panel-store.ts';
|
|
3
|
+
export type PreviewContentSource = {
|
|
4
|
+
readonly contentUrl: string;
|
|
5
|
+
readonly inlineTarget: InlinePreviewTarget;
|
|
6
|
+
};
|
|
7
|
+
export declare const usePreviewContentProps: (target: PreviewTarget | null) => PreviewContentSource | null;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SkillSummary } from '../../api/skills.ts';
|
|
2
|
+
import { PrePromptSummary } from '../../api/pre-prompts.ts';
|
|
3
|
+
import { WorkspaceFile } from '../../api/workspace-files.ts';
|
|
4
|
+
import { filterSlashOptions } from '../../embed/slash-commands.ts';
|
|
5
|
+
import { MentionInputHandle } from './MentionInput';
|
|
6
|
+
/** Shared composer and schedule picker state, caret handling, and keyboard controls. */
|
|
7
|
+
export declare function usePromptInvocations({ draft, skills, prompts, workspaceFiles, onDraftChange, onMentionOpen, suggestion, filterOptions, invocationBody, idPrefix, placement, }: {
|
|
8
|
+
draft: string;
|
|
9
|
+
skills: readonly SkillSummary[];
|
|
10
|
+
prompts: readonly PrePromptSummary[];
|
|
11
|
+
workspaceFiles: readonly WorkspaceFile[];
|
|
12
|
+
onDraftChange: (text: string) => void;
|
|
13
|
+
onMentionOpen?: (() => void) | undefined;
|
|
14
|
+
suggestion?: string | null;
|
|
15
|
+
filterOptions?: typeof filterSlashOptions;
|
|
16
|
+
invocationBody?: (name: string) => string | undefined;
|
|
17
|
+
idPrefix?: string;
|
|
18
|
+
placement?: "above" | "below";
|
|
19
|
+
}): {
|
|
20
|
+
editorRef: import('react').RefObject<MentionInputHandle | null>;
|
|
21
|
+
pickerOpen: import('react').RefObject<boolean>;
|
|
22
|
+
inputProps: Pick<{
|
|
23
|
+
enterBehavior?: "submit" | "newline";
|
|
24
|
+
value: string;
|
|
25
|
+
palette: import('../../component').BelongThemePalette;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
suggestion?: string | null;
|
|
28
|
+
suggestionTabHint?: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
className?: string;
|
|
31
|
+
ariaProps?: Readonly<Record<string, string | boolean>>;
|
|
32
|
+
onChange: (text: string, caret: number) => void;
|
|
33
|
+
onCaretChange: (caret: number) => void;
|
|
34
|
+
onKeyDown: (e: import('react').KeyboardEvent<HTMLDivElement>) => void;
|
|
35
|
+
onPasteFiles?: (files: readonly File[]) => void;
|
|
36
|
+
handleRef?: import('react').Ref<MentionInputHandle>;
|
|
37
|
+
}, "onChange" | "onKeyDown" | "ariaProps" | "onCaretChange" | "handleRef">;
|
|
38
|
+
insertSlash: () => void;
|
|
39
|
+
menus: import("react").JSX.Element;
|
|
40
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
/** Schedule prompts reuse the editor without chat submission, voice, or attachment state. */
|
|
3
|
+
export declare function SchedulePrompt({ value, onChange, disabled, pickerRef, }: {
|
|
4
|
+
pickerRef?: Ref<{
|
|
5
|
+
readonly current: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
value: string;
|
|
8
|
+
onChange: (text: string) => void;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SlashInventory } from '../../api/skills.ts';
|
|
2
|
+
/** Schedules store text, so carry the same load-first instruction as skill-directed turns. */
|
|
3
|
+
export declare const scheduledSkillInstruction: (name: string) => string;
|
|
4
|
+
export declare const schedulePromptMessage: (message: string, inventory: SlashInventory | undefined) => string;
|