@belonguniverseai/react-sdk 0.6.18 → 0.6.20
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 +30 -0
- package/dist/api/account-connectors.d.ts +3 -3
- package/dist/api/client.d.ts +525 -19
- 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-D-QlcOhi.js → abnfDiagram-N423BO3Z-BhpvofGI.js} +4 -4
- package/dist/component/{arc-Cr7brctQ.js → arc-BDj2q5CZ.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-Dy0iEVu6.js → architectureDiagram-T3A2C74G-CWQqfm2n.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-DILLxOep.js → blockDiagram-VBNYF7ZC-DegT976u.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-BX6tDsxk.js → c4Diagram-5PPSVZJV-CSnfnID_.js} +3 -3
- package/dist/component/{channel-BGFUKe6a.js → channel-CUQQeqtV.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-BTagC02U.js → chunk-2GRJ4B5K-BmCkMXuE.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-CSsLOQM_.js → chunk-2Q5K7J3B-ACFPsFU_.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-CnKLpufI.js → chunk-5RXB4S5H-Bu-wqNe4.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-DIqLm-ng.js → chunk-5VM5RSS4-DDzdObQ5.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-DxaHOD10.js → chunk-6Q2QTUOP-35aGDtbe.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-pHAFn-83.js → chunk-GF5L2VYU-CBooNwOJ.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-BX-bA5Hi.js → chunk-JWPE2WC7-CZN_bZMl.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-BnQgMdlj.js → chunk-KBJHAD2P-Cj08hUgE.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-BhueWm50.js → chunk-RYQCIY6F-CC4FyEwj.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-BJzLpKlJ.js → chunk-XXDRQBXY-CJW3AYPF.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-DAcauTm8.js → classDiagram-JCYQIIEL-LpH5TtI1.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-DAcauTm8.js → classDiagram-v2-OCEON4UE-LpH5TtI1.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-LKxaT1DG.js → cose-bilkent-JH36ORCC-h8wo2OH9.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-oVDASRC2.js → cynefinDiagram-MW4NZA55-DuieCsNY.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-CmV7-9zD.js → dagre-VZM6K2ZE-DqMvwkom.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-BvjSvBK3.js → diagram-7IWD3JNH-BThr9-R3.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-B_cxXRTv.js → diagram-B4RE2ZJO-rjoRYPDB.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-DWVXEkld.js → diagram-LBJQPF4R-C41ccwxG.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-CnBW6OeT.js → diagram-Q27KOJAE-DPN9msRq.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-CXqI5_Q2.js → diagram-UB23O5K3-DSjf5_Nk.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-CgD4I3Yv.js → ebnfDiagram-BXEA7PRR-vPL9oktk.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-D5Mg98e7.js → erDiagram-JOGREHBK-Kc3mZe4M.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-BfeqDLOI.js → flowDiagram-UKHOOZJN-2aUAXRZU.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-Dyur2c7k.js → ganttDiagram-PKOTCBZU-DMZtqJSP.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-Lv0LL5O8.js → gitGraphDiagram-DS77QQ5N-E77l0Z1u.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-B6dOwDKQ.js → highlighted-body-OFNGDK62-C1DkgW7U.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-CzRKYrpD.js → infoDiagram-6WML65LV-CpvnNYd0.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-Zay9aRLR.js → ishikawaDiagram-WSZJBQD7-B1q_lFLX.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-t8hX-zE_.js → journeyDiagram-NVQOT4AX-6uEmqBOC.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-C5Z-o_W7.js → kanban-definition-27J2QSJJ-C2QioWX9.js} +3 -3
- package/dist/component/{linear-BJGedx0o.js → linear-BT5VqKju.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-D8oOFc9R.js → mermaid-GHXKKRXX-C8vyJd7j.js} +30941 -30222
- package/dist/component/{mindmap-definition-FAOFIHXS-DtEeqND2.js → mindmap-definition-FAOFIHXS-D9m5nI-X.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-4lhU_z4v.js → pegDiagram-VL7TDLO6-C6Voiy3J.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-D8cHUkzW.js → pieDiagram-7S7Q4E2Y-sqStHf6X.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-BNeqfDf4.js → quadrantDiagram-CIZ2JOQS-J4smKtsQ.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-BnMzmkOY.js → railroadDiagram-AXF67PYL-DWSgdnlw.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-BRH5fHva.js → requirementDiagram-LRYGKXZP-CD2psvke.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-Cq0gDRP2.js → sankeyDiagram-W5VNT64P-BTctWXxs.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-BVaNAKx0.js → sequenceDiagram-SI44F4Z6-BSr4jTRw.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-TjSqgMqH.js → sizeCapture-X5ZJPWSS-DDKZl6MR.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-h8M4ZCJD.js → stateDiagram-OKZ733FA-DpICd9vK.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-Bt7eFNHB.js → stateDiagram-v2-UEYNNEHI-CDWkukZc.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-sfBKGyKm.js → swimlanes-SLNWSIFB-C2qUEfbN.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-CxFraoVG.js → swimlanesDiagram-ULZ7WXOC-BATYiMa7.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-DAWBGXFV.js → timeline-definition-Z64GVDOM-BANf8HvQ.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-CmFvuTy7.js → vennDiagram-T6HMQDX7-ByIwO7x1.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-gn696H4v.js → wardleyDiagram-T6FBY63Y-5_6KGTWP.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-B8yDTGsJ.js → xychartDiagram-ELKLHX3M-KS7oMXi0.js} +3 -3
- package/dist/components/embed/EmbedConversation.d.ts +3 -3
- package/dist/components/embed/EmbedRail.d.ts +4 -2
- package/dist/components/embed/SlackConnection.d.ts +6 -0
- 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 +1 -0
- package/dist/embed/copy.d.ts +13 -18
- 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 +7 -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 +11 -3
- 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/belong-chat-transport.d.ts +7 -7
- 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-CJW3AYPF.js";
|
|
2
|
+
import { s as ae } from "./chunk-KBJHAD2P-Cj08hUgE.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-C8vyJd7j.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-D9m5nI-X.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-35aGDtbe.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-CZN_bZMl.js";
|
|
3
|
+
import { _ as t, l as o } from "./mermaid-GHXKKRXX-C8vyJd7j.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-C6Voiy3J.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-CZN_bZMl.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-C8vyJd7j.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-BDj2q5CZ.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-sqStHf6X.js.map
|
package/dist/component/{quadrantDiagram-CIZ2JOQS-BNeqfDf4.js → quadrantDiagram-CIZ2JOQS-J4smKtsQ.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-C8vyJd7j.js";
|
|
2
|
+
import { l as te } from "./linear-BT5VqKju.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-J4smKtsQ.js.map
|
package/dist/component/{railroadDiagram-AXF67PYL-BnMzmkOY.js → railroadDiagram-AXF67PYL-DWSgdnlw.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-35aGDtbe.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-CZN_bZMl.js";
|
|
3
|
+
import { _ as l, l as n } from "./mermaid-GHXKKRXX-C8vyJd7j.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-DWSgdnlw.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-CJW3AYPF.js";
|
|
2
|
+
import { s as Ge } from "./chunk-KBJHAD2P-Cj08hUgE.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-C8vyJd7j.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-CD2psvke.js.map
|
package/dist/component/{sankeyDiagram-W5VNT64P-Cq0gDRP2.js → sankeyDiagram-W5VNT64P-BTctWXxs.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-C8vyJd7j.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-BTctWXxs.js.map
|
package/dist/component/{sequenceDiagram-SI44F4Z6-BVaNAKx0.js → sequenceDiagram-SI44F4Z6-BSr4jTRw.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-ACFPsFU_.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-C8vyJd7j.js";
|
|
3
|
+
import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-BmCkMXuE.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-BSr4jTRw.js.map
|
package/dist/component/{sizeCapture-X5ZJPWSS-TjSqgMqH.js → sizeCapture-X5ZJPWSS-DDKZl6MR.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { _ as t } from "./mermaid-GHXKKRXX-C8vyJd7j.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-DDKZl6MR.js.map
|
package/dist/component/{stateDiagram-OKZ733FA-h8M4ZCJD.js → stateDiagram-OKZ733FA-DpICd9vK.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-Bu-wqNe4.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-C8vyJd7j.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-DpICd9vK.js.map
|
package/dist/component/{stateDiagram-v2-UEYNNEHI-Bt7eFNHB.js → stateDiagram-v2-UEYNNEHI-CDWkukZc.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-Bu-wqNe4.js";
|
|
2
|
+
import { _ as l } from "./mermaid-GHXKKRXX-C8vyJd7j.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-CDWkukZc.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-CC4FyEwj.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-C8vyJd7j.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-DDKZl6MR.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-C2qUEfbN.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-2aUAXRZU.js";
|
|
2
|
+
import { _ as s } from "./mermaid-GHXKKRXX-C8vyJd7j.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-BATYiMa7.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-C8vyJd7j.js";
|
|
2
|
+
import { d as ot } from "./arc-BDj2q5CZ.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-BANf8HvQ.js.map
|
package/dist/component/{vennDiagram-T6HMQDX7-CmFvuTy7.js → vennDiagram-T6HMQDX7-ByIwO7x1.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-C8vyJd7j.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-ByIwO7x1.js.map
|
package/dist/component/{wardleyDiagram-T6FBY63Y-gn696H4v.js → wardleyDiagram-T6FBY63Y-5_6KGTWP.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-CZN_bZMl.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-C8vyJd7j.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-5_6KGTWP.js.map
|
package/dist/component/{xychartDiagram-ELKLHX3M-B8yDTGsJ.js → xychartDiagram-ELKLHX3M-KS7oMXi0.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-C8vyJd7j.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-BT5VqKju.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-KS7oMXi0.js.map
|
|
@@ -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
|
|
@@ -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;
|
|
@@ -35,5 +35,6 @@ export declare function usePromptInvocations({ draft, skills, prompts, workspace
|
|
|
35
35
|
onPasteFiles?: (files: readonly File[]) => void;
|
|
36
36
|
handleRef?: import('react').Ref<MentionInputHandle>;
|
|
37
37
|
}, "onChange" | "onKeyDown" | "ariaProps" | "onCaretChange" | "handleRef">;
|
|
38
|
+
insertSlash: () => void;
|
|
38
39
|
menus: import("react").JSX.Element;
|
|
39
40
|
};
|
package/dist/embed/copy.d.ts
CHANGED
|
@@ -57,10 +57,6 @@ export type TourCopy = TourLabels & {
|
|
|
57
57
|
readonly sessions: TourStepContent;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
-
export type HintItem = {
|
|
61
|
-
readonly keyLabel: string;
|
|
62
|
-
readonly label: string;
|
|
63
|
-
};
|
|
64
60
|
export type MenuCopy = {
|
|
65
61
|
readonly signedInAs: (user: string) => string;
|
|
66
62
|
readonly notSignedIn: string;
|
|
@@ -85,12 +81,14 @@ export type MenuCopy = {
|
|
|
85
81
|
readonly logOut: string;
|
|
86
82
|
};
|
|
87
83
|
/** Copy for the empty-state skills table (Simetrik variant only — the compact
|
|
88
|
-
*
|
|
84
|
+
* index of job rows, each naming a job the agent can do, that replaces the
|
|
85
|
+
* generic suggestion chips). */
|
|
89
86
|
export type SkillsPanelCopy = {
|
|
90
87
|
readonly heading: string;
|
|
91
88
|
/** The "All" group filter chip (shown when skills span multiple groups). */
|
|
92
89
|
readonly all: string;
|
|
93
|
-
/** Footer when the table is truncated:
|
|
90
|
+
/** Footer when the table is truncated:
|
|
91
|
+
* "+N more — type / to see everything". */
|
|
94
92
|
readonly more: (hiddenCount: number) => string;
|
|
95
93
|
/** Footer when every skill fits: how to reach the full index later. */
|
|
96
94
|
readonly hint: string;
|
|
@@ -98,18 +96,6 @@ export type SkillsPanelCopy = {
|
|
|
98
96
|
export type DockCopy = {
|
|
99
97
|
readonly welcomeCard: WelcomeCardContent;
|
|
100
98
|
readonly tour: TourCopy;
|
|
101
|
-
readonly hints: {
|
|
102
|
-
/** `/` hint; label says "skills" for Simetrik, "commands" for everyone else. */
|
|
103
|
-
readonly commands: {
|
|
104
|
-
readonly keyLabel: string;
|
|
105
|
-
readonly label: Readonly<Record<DockCopyVariant, string>>;
|
|
106
|
-
};
|
|
107
|
-
readonly files: HintItem;
|
|
108
|
-
/** Voice hint label; the key label is the LIVE push-to-talk key. */
|
|
109
|
-
readonly voice: {
|
|
110
|
-
readonly label: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
99
|
/** Localized name for the Space key (every other code renders via
|
|
114
100
|
* `formatKeyCode`, which is already language-neutral). */
|
|
115
101
|
readonly spaceKeyLabel: string;
|
|
@@ -121,8 +107,13 @@ export type DockCopy = {
|
|
|
121
107
|
readonly portuguese: string;
|
|
122
108
|
};
|
|
123
109
|
readonly menu: MenuCopy;
|
|
110
|
+
/** One line of scope in the user's own nouns (spec 2026-09-03). */
|
|
124
111
|
readonly intro: {
|
|
125
112
|
readonly greeting: (brandName: string) => string;
|
|
113
|
+
/** Phase 2: the greeting when the host supplied a display name. */
|
|
114
|
+
readonly greetingNamed: (displayName: string) => string;
|
|
115
|
+
/** Phase 2: the page-context line ("Looking at ‹label›"). */
|
|
116
|
+
readonly lookingAt: (label: string) => string;
|
|
126
117
|
readonly body: Readonly<Record<DockCopyVariant, string>>;
|
|
127
118
|
};
|
|
128
119
|
/** Beta advisory — a small always-visible pill in the dock header. The
|
|
@@ -152,6 +143,10 @@ export type DockCopy = {
|
|
|
152
143
|
readonly composer: {
|
|
153
144
|
readonly placeholderDefault: Readonly<Record<DockCopyVariant, string>>;
|
|
154
145
|
readonly placeholderPlan: Readonly<Record<DockCopyVariant, string>>;
|
|
146
|
+
/** Label for the `/` action-row button that opens the slash menu. The
|
|
147
|
+
* syntax moved OFF the placeholder (which is now a plain invitation) and
|
|
148
|
+
* onto a real, discoverable control. */
|
|
149
|
+
readonly slashButton: Readonly<Record<DockCopyVariant, string>>;
|
|
155
150
|
/** Plan 013 — while the agent's question card is pending above the
|
|
156
151
|
* composer, a typed send answers it in chat instead of choosing. */
|
|
157
152
|
readonly placeholderReply: Readonly<Record<DockCopyVariant, string>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pure geometry + state transitions for the dock's three resize states
|
|
2
|
+
* Pure geometry + state transitions for the dock's three resize states:
|
|
3
|
+
* collapsed / expanded / fullscreen.
|
|
3
4
|
* No DOM, no React — unit-testable. The shell (BelongDock) owns the React
|
|
4
5
|
* state and applies the resolved width; the host <body> margin reservation
|
|
5
6
|
* uses the same resolver so the dock never overlaps host content.
|
|
6
7
|
*/
|
|
7
|
-
export type DockResizeState = "collapsed" | "expanded" | "
|
|
8
|
+
export type DockResizeState = "collapsed" | "expanded" | "fullscreen";
|
|
8
9
|
/**
|
|
9
10
|
* Desktop = side-docked panel + rail with a host-body reserve. Mobile = the
|
|
10
11
|
* dock takes the whole viewport as an overlay sheet (a side dock plus reserve
|
|
@@ -22,12 +23,17 @@ export declare const MOBILE_LAYOUT_MEDIA_QUERY: string;
|
|
|
22
23
|
export declare const resolveLayoutMode: (viewportWidthPx: number, viewportHeightPx?: number) => DockLayoutMode;
|
|
23
24
|
/** The always-visible rail strip. Reference spec: 52px. */
|
|
24
25
|
export declare const RAIL_WIDTH_PX = 52;
|
|
25
|
-
/** Fixed panel width in modal state. Reference spec: 760px panel. */
|
|
26
|
-
export declare const MODAL_PANEL_WIDTH_PX = 760;
|
|
27
26
|
/** Lower bound for a user-dragged expanded panel width. */
|
|
28
27
|
export declare const MIN_PANEL_WIDTH_PX = 320;
|
|
29
28
|
/** Upper bound for a user-dragged expanded panel width. */
|
|
30
29
|
export declare const MAX_PANEL_WIDTH_PX = 720;
|
|
30
|
+
/** Fullscreen: the workspace pane beside the chat column never gets narrower
|
|
31
|
+
* than this, so a deliverable stays readable while the user drags the chat wider. */
|
|
32
|
+
export declare const MIN_WORKSPACE_PANE_WIDTH_PX = 360;
|
|
33
|
+
/** Clamp the fullscreen chat column: same floor as a docked panel; the ceiling
|
|
34
|
+
* leaves the rail plus a minimum pane. On a viewport too narrow for both, the
|
|
35
|
+
* chat column keeps its floor (the pane shrinks — chat is the primary surface). */
|
|
36
|
+
export declare const clampFullscreenChatWidth: (px: number, viewportPx: number) => number;
|
|
31
37
|
/** Clamp a dragged panel width to [MIN, min(MAX, 90% of viewport)]. */
|
|
32
38
|
export declare const clampPanelWidth: (px: number, viewportPx: number) => number;
|
|
33
39
|
/** Total dock width (panel + rail) for a state, given the expanded panel width. */
|
|
@@ -35,18 +41,10 @@ export declare const resolveDockWidthPx: (state: DockResizeState, panelWidth: nu
|
|
|
35
41
|
/**
|
|
36
42
|
* Desktop dock width clamped to the live viewport — mid-size screens (small
|
|
37
43
|
* tablets, half-snapped windows just above the mobile breakpoint) must never
|
|
38
|
-
* get a dock wider than the screen:
|
|
39
|
-
*
|
|
40
|
-
* Cap: 90% of the viewport (same budget clampPanelWidth uses for drags).
|
|
44
|
+
* get a dock wider than the screen: a persisted wide panel can overflow a
|
|
45
|
+
* re-narrowed window. Cap: 90% of the viewport (same budget clampPanelWidth uses for drags).
|
|
41
46
|
*/
|
|
42
47
|
export declare const resolveClampedDockWidthPx: (state: DockResizeState, panelWidth: number, viewportWidthPx: number) => number;
|
|
43
|
-
/**
|
|
44
|
-
* The panel's OWN width for a state. While collapsed this is the width the
|
|
45
|
-
* panel would reveal to (the dock container clips it), so the panel keeps a
|
|
46
|
-
* stable layout and the expand animation is a clean wipe — never a continuous
|
|
47
|
-
* reflow of text at every intermediate width.
|
|
48
|
-
*/
|
|
49
|
-
export declare const resolvePanelWidthPx: (state: DockResizeState, panelWidth: number) => number;
|
|
50
48
|
/** Clearance a host modal needs from the dock before we consider it clear. */
|
|
51
49
|
export declare const HOST_MODAL_GUTTER_PX = 16;
|
|
52
50
|
/**
|
|
@@ -81,5 +79,5 @@ export declare const canHostModalFitBesideDock: (rect: {
|
|
|
81
79
|
}, viewportWidthPx: number, side: "left" | "right", reservePx: number) => boolean;
|
|
82
80
|
/** Collapse toggle: any open state → collapsed; collapsed → expanded. */
|
|
83
81
|
export declare const nextOnToggleCollapse: (state: DockResizeState) => DockResizeState;
|
|
84
|
-
/**
|
|
85
|
-
export declare const
|
|
82
|
+
/** Fullscreen toggle: expanded ↔ fullscreen; no-op while collapsed. */
|
|
83
|
+
export declare const nextOnToggleFullscreen: (state: DockResizeState) => DockResizeState;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DockResizeState } from './dock-layout.ts';
|
|
2
|
+
export declare const publishDockSize: (size: DockResizeState) => void;
|
|
3
|
+
export declare const peekDockSize: () => DockResizeState;
|
|
4
|
+
export declare const subscribeDockSize: (listener: () => void) => (() => void);
|
|
5
|
+
export declare const useDockSize: () => DockResizeState;
|
|
6
|
+
/** Test-only: back to the desktop default with no subscribers. */
|
|
7
|
+
export declare const __resetDockSizeForTest: () => void;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* disabled/quota'd storage just means no cross-reload restore.
|
|
7
7
|
*/
|
|
8
8
|
export type DockView = "chat" | "files" | "scheduled" | "prompts" | "connectors";
|
|
9
|
-
export type DockSize = "collapsed" | "expanded" | "
|
|
9
|
+
export type DockSize = "collapsed" | "expanded" | "fullscreen";
|
|
10
10
|
export type DockState = {
|
|
11
11
|
readonly view: DockView;
|
|
12
12
|
readonly size: DockSize;
|
|
@@ -19,7 +19,7 @@ export declare const viewToPath: (view: DockView) => string;
|
|
|
19
19
|
export declare const pathToView: (pathname: string) => DockView;
|
|
20
20
|
/**
|
|
21
21
|
* Decide what a rail view-icon click does. The Chat icon is a toggle: clicking
|
|
22
|
-
* it while the chat panel is open (expanded/
|
|
22
|
+
* it while the chat panel is open (expanded/fullscreen) minimizes the dock to the
|
|
23
23
|
* rail; clicking it while collapsed re-opens chat. Every other click navigates,
|
|
24
24
|
* expanding a collapsed dock. Pure so it's unit-tested without a dock render.
|
|
25
25
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Can the PRIMARY pointer hover? `(hover: hover)` is false on phones, touch
|
|
3
|
+
* tablets and kiosks — including ones with a desktop-sized viewport, which the
|
|
4
|
+
* layout breakpoint (`layout-mode.ts`) deliberately treats as desktop. Surfaces
|
|
5
|
+
* that reveal on hover (the composer's voice hint) must key on THIS, not on
|
|
6
|
+
* the viewport, or a touch-only wide device can never reach them: a tap fires
|
|
7
|
+
* pointerover and pointerdown in one gesture, so a hover-revealed chip appears
|
|
8
|
+
* and is dismissed inside the same motion.
|
|
9
|
+
*
|
|
10
|
+
* Read once per mount by callers — an input capability does not flip while a
|
|
11
|
+
* component is on screen. Without matchMedia (jsdom, very old embeds) assume a
|
|
12
|
+
* hovering pointer: the existing desktop behaviour, and the safe default.
|
|
13
|
+
*/
|
|
14
|
+
export declare const canHoverPointer: () => boolean;
|