@belonguniverseai/react-sdk 0.6.26 → 0.6.27
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 +7 -0
- package/dist/api/account-connectors.d.ts +2 -2
- package/dist/api/artifact-actions.d.ts +29 -0
- package/dist/api/client.d.ts +1291 -41
- package/dist/api/goals.d.ts +4 -4
- package/dist/api/task-schedule-sharing.d.ts +7 -4
- package/dist/api/task-schedules.d.ts +18 -15
- package/dist/app/dock-story-data.d.ts +6 -5
- package/dist/component/{abnfDiagram-N423BO3Z-DpQ_UaNq.js → abnfDiagram-N423BO3Z-DrnjkZwk.js} +4 -4
- package/dist/component/{arc-BoxI9KQB.js → arc-CLchGzOM.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-C0Pxx-k7.js → architectureDiagram-T3A2C74G-Du8PLen3.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-CPX5VZHq.js → blockDiagram-VBNYF7ZC-BxmYbrlL.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-6GrzIAcz.js → c4Diagram-5PPSVZJV-DHiwlK7l.js} +3 -3
- package/dist/component/{channel-Dp0k-SEg.js → channel-C2eeNEMi.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-CTz4CZNM.js → chunk-2GRJ4B5K-D6I_U4nB.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-Bg9gj6WB.js → chunk-2Q5K7J3B-BR3JSmNI.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-SJVXjTS4.js → chunk-5RXB4S5H-DcmzyncC.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-CCi9rnUJ.js → chunk-5VM5RSS4-8ww1xEAz.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-DxQKGpDM.js → chunk-6Q2QTUOP-Chlg3gnC.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-C1soxsXo.js → chunk-GF5L2VYU-CgKydjVC.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-3wshSHI2.js → chunk-JWPE2WC7-13zVpFYT.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-DQdZO07y.js → chunk-KBJHAD2P-CP28c_dJ.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-DUaZ-HUS.js → chunk-RYQCIY6F-CaHaa77d.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-D3NSjj_n.js → chunk-XXDRQBXY-Cd0yVkqx.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-BVRygNRR.js → classDiagram-JCYQIIEL-Bn0740dK.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-BVRygNRR.js → classDiagram-v2-OCEON4UE-Bn0740dK.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-DLTvBiOo.js → cose-bilkent-JH36ORCC-Y6CvxIe4.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-xK50k2_4.js → cynefinDiagram-MW4NZA55-BJ_o5gyM.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-DMUwiPX1.js → dagre-VZM6K2ZE-Ce_ZLKlj.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-Cn6oaVgE.js → diagram-7IWD3JNH-K8E_XdII.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-Dc_LVByi.js → diagram-B4RE2ZJO-DZGs1RuF.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-y80jmIxC.js → diagram-LBJQPF4R-CzKPOqJK.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-Bp6njNLR.js → diagram-Q27KOJAE-UItKj-dk.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-D3X1PDYF.js → diagram-UB23O5K3-ZxBLx0B9.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-9Lw8nzKe.js → ebnfDiagram-BXEA7PRR-BIS2pIB5.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-CcG_SaTj.js → erDiagram-JOGREHBK-BNZB6-ZZ.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-BiabESAj.js → flowDiagram-UKHOOZJN-B8H3ZNjd.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-BAfZiFRN.js → ganttDiagram-PKOTCBZU-2JJJVAY-.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-2_hBA0gy.js → gitGraphDiagram-DS77QQ5N-BVWxsX1D.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-BWKA8a2L.js → highlighted-body-OFNGDK62-CmQzAJHd.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-C-P8lJtc.js → infoDiagram-6WML65LV-B-7B2PTM.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-CkTFVaSp.js → ishikawaDiagram-WSZJBQD7-DgjY91jV.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-CVW--vNB.js → journeyDiagram-NVQOT4AX-fkb_5H2H.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-5EmiKkud.js → kanban-definition-27J2QSJJ-ZRQERkli.js} +3 -3
- package/dist/component/{linear-CSKvOjpb.js → linear-DX0_iAiu.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-DJmRTUDm.js → mermaid-GHXKKRXX-BhURR8Q_.js} +36654 -35655
- package/dist/component/{mindmap-definition-FAOFIHXS-D8kuCYBh.js → mindmap-definition-FAOFIHXS-Duc36TEr.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-BTfnYOZL.js → pegDiagram-VL7TDLO6-Egcz9GLB.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-CzbOJQ6u.js → pieDiagram-7S7Q4E2Y-DEe2GHp7.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-BCLm-h12.js → quadrantDiagram-CIZ2JOQS-DNfio-6s.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-DxjbsMsY.js → railroadDiagram-AXF67PYL-B3lRYedY.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-7CT3WVcX.js → requirementDiagram-LRYGKXZP-DYYxC0Cg.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-P0xeL0DB.js → sankeyDiagram-W5VNT64P-CKQNueMs.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-BZwzqGo7.js → sequenceDiagram-SI44F4Z6-ChF8pgI7.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-BmFHn5uM.js → sizeCapture-X5ZJPWSS-BQyVznxb.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-CVuv1e4U.js → stateDiagram-OKZ733FA-CAVOTaJQ.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-D9ToaXGa.js → stateDiagram-v2-UEYNNEHI-rGNqHCbu.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-D4imP0Ms.js → swimlanes-SLNWSIFB-j8tXsaid.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-BTQ985v3.js → swimlanesDiagram-ULZ7WXOC-CsbepRMA.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-DAHxnCB-.js → timeline-definition-Z64GVDOM-nCRE1AQh.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-K5TNKkRE.js → vennDiagram-T6HMQDX7-C3ubGm9c.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-CYU76C7a.js → wardleyDiagram-T6FBY63Y-mKT8yN1z.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-CRncQBO_.js → xychartDiagram-ELKLHX3M-D5AF8jgv.js} +3 -3
- package/dist/components/embed/ArtifactApprovalDialog.d.ts +8 -0
- package/dist/components/embed/ArtifactOperationNoticeLine.d.ts +5 -0
- package/dist/components/embed/EmbedConversation.d.ts +4 -1
- package/dist/components/embed/WorkspacePolicySetting.d.ts +1 -0
- package/dist/components/embed/use-artifact-operation-notices.d.ts +19 -0
- package/dist/components/embed/use-inline-preview-url.d.ts +3 -1
- package/dist/components/scheduled/ScheduledDetailSurface.d.ts +9 -0
- package/dist/embed/artifact-action-bridge.d.ts +68 -0
- package/dist/embed/artifact-operation-notices.d.ts +45 -0
- package/dist/embed/artifact-remint-budget.d.ts +19 -0
- package/dist/embed/artifact-sandbox-hold.d.ts +10 -0
- package/dist/embed/goal-row-model.d.ts +1 -1
- package/dist/embed/workspace-policy.d.ts +7 -0
- package/dist/i18n/messages/en.d.ts +43 -3
- package/dist/i18n/messages/surfaces/aiElements.d.ts +4 -0
- package/dist/i18n/messages/surfaces/embedMisc.d.ts +84 -0
- package/dist/i18n/messages/surfaces/scheduled.d.ts +22 -2
- package/dist/i18n/messages/surfaces/settings.d.ts +16 -0
- package/dist/i18n/messages/surfaces/stream.d.ts +32 -0
- package/dist/stream/belong-chat-transport.d.ts +11 -7
- package/package.json +1 -1
|
@@ -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-Cd0yVkqx.js";
|
|
2
|
+
import { s as ae } from "./chunk-KBJHAD2P-CP28c_dJ.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-BhURR8Q_.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-Duc36TEr.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-Chlg3gnC.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-13zVpFYT.js";
|
|
3
|
+
import { _ as t, l as o } from "./mermaid-GHXKKRXX-BhURR8Q_.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-Egcz9GLB.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-13zVpFYT.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-BhURR8Q_.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-CLchGzOM.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-DEe2GHp7.js.map
|
package/dist/component/{quadrantDiagram-CIZ2JOQS-BCLm-h12.js → quadrantDiagram-CIZ2JOQS-DNfio-6s.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-BhURR8Q_.js";
|
|
2
|
+
import { l as te } from "./linear-DX0_iAiu.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-DNfio-6s.js.map
|
package/dist/component/{railroadDiagram-AXF67PYL-DxjbsMsY.js → railroadDiagram-AXF67PYL-B3lRYedY.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-Chlg3gnC.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-13zVpFYT.js";
|
|
3
|
+
import { _ as l, l as n } from "./mermaid-GHXKKRXX-BhURR8Q_.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-B3lRYedY.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-Cd0yVkqx.js";
|
|
2
|
+
import { s as Ge } from "./chunk-KBJHAD2P-CP28c_dJ.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-BhURR8Q_.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-DYYxC0Cg.js.map
|
package/dist/component/{sankeyDiagram-W5VNT64P-P0xeL0DB.js → sankeyDiagram-W5VNT64P-CKQNueMs.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-BhURR8Q_.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-CKQNueMs.js.map
|
package/dist/component/{sequenceDiagram-SI44F4Z6-BZwzqGo7.js → sequenceDiagram-SI44F4Z6-ChF8pgI7.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-BR3JSmNI.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-BhURR8Q_.js";
|
|
3
|
+
import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-D6I_U4nB.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-ChF8pgI7.js.map
|
package/dist/component/{sizeCapture-X5ZJPWSS-BmFHn5uM.js → sizeCapture-X5ZJPWSS-BQyVznxb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { _ as t } from "./mermaid-GHXKKRXX-BhURR8Q_.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-BQyVznxb.js.map
|
package/dist/component/{stateDiagram-OKZ733FA-CVuv1e4U.js → stateDiagram-OKZ733FA-CAVOTaJQ.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-DcmzyncC.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-BhURR8Q_.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-CAVOTaJQ.js.map
|
package/dist/component/{stateDiagram-v2-UEYNNEHI-D9ToaXGa.js → stateDiagram-v2-UEYNNEHI-rGNqHCbu.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-DcmzyncC.js";
|
|
2
|
+
import { _ as l } from "./mermaid-GHXKKRXX-BhURR8Q_.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-rGNqHCbu.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-CaHaa77d.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-BhURR8Q_.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-BQyVznxb.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-j8tXsaid.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-B8H3ZNjd.js";
|
|
2
|
+
import { _ as s } from "./mermaid-GHXKKRXX-BhURR8Q_.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-CsbepRMA.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-BhURR8Q_.js";
|
|
2
|
+
import { d as ot } from "./arc-CLchGzOM.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-nCRE1AQh.js.map
|
package/dist/component/{vennDiagram-T6HMQDX7-K5TNKkRE.js → vennDiagram-T6HMQDX7-C3ubGm9c.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-BhURR8Q_.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-C3ubGm9c.js.map
|
package/dist/component/{wardleyDiagram-T6FBY63Y-CYU76C7a.js → wardleyDiagram-T6FBY63Y-mKT8yN1z.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-13zVpFYT.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-BhURR8Q_.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-mKT8yN1z.js.map
|
package/dist/component/{xychartDiagram-ELKLHX3M-CRncQBO_.js → xychartDiagram-ELKLHX3M-D5AF8jgv.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-BhURR8Q_.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-DX0_iAiu.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-D5AF8jgv.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ArtifactApprovalRequest } from '../../embed/artifact-action-bridge.ts';
|
|
2
|
+
export declare const ARTIFACT_APPROVAL_ACTIVATION_DELAY_MS = 750;
|
|
3
|
+
export type ArtifactApprovalDialogProps = {
|
|
4
|
+
readonly request: ArtifactApprovalRequest;
|
|
5
|
+
readonly onSettle: (decision: "approved" | "rejected") => void;
|
|
6
|
+
};
|
|
7
|
+
/** Mount once per operation (key it by operation ID) so each review restarts the delay. */
|
|
8
|
+
export declare const ArtifactApprovalDialog: ({ request, onSettle }: ArtifactApprovalDialogProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ArtifactOperationNotice } from '../../embed/artifact-operation-notices.ts';
|
|
2
|
+
export declare const ArtifactOperationNoticeLine: ({ notice, onStop, }: {
|
|
3
|
+
readonly notice: ArtifactOperationNotice;
|
|
4
|
+
readonly onStop: () => void;
|
|
5
|
+
}) => import("react").JSX.Element | null;
|
|
@@ -1,7 +1,10 @@
|
|
|
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 streaming "working…" row
|
|
4
|
+
* wrapper adds the streaming "working…" row — which says it is waiting for a
|
|
5
|
+
* report action instead while one an open preview observed holds the sandbox
|
|
6
|
+
* (the backend defers the turn until it finishes; artifact-sandbox-hold.ts).
|
|
7
|
+
* There is no mic-status chip: the
|
|
5
8
|
* composer's mic button is the one place voice state is expressed.
|
|
6
9
|
* Stopping a run lives ONLY on the composer send button (it morphs into Stop
|
|
7
10
|
* while generating) — no second Stop control here. Clearing the visible chat
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function WorkspacePolicySetting(): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ArtifactOperation } from '@belong/codec/artifact-actions';
|
|
2
|
+
import { ArtifactActionApi } from '../../api/artifact-actions.ts';
|
|
3
|
+
import { ArtifactOperationSighting } from '../../embed/artifact-action-bridge.ts';
|
|
4
|
+
import { ArtifactOperationNotice } from '../../embed/artifact-operation-notices.ts';
|
|
5
|
+
/** Re-read invocations that hold the sandbox at most this often (nothing else may be reading). */
|
|
6
|
+
export declare const ARTIFACT_HOLD_REFRESH_MS = 15000;
|
|
7
|
+
export declare const useArtifactOperationNotices: (input: {
|
|
8
|
+
/** Null when this preview has no actions. A new API (new artifact or workspace) starts over. */
|
|
9
|
+
readonly api: ArtifactActionApi | null;
|
|
10
|
+
/**
|
|
11
|
+
* Starts the dock's automatic Simetrik reconnect, or returns null when this view has no grant
|
|
12
|
+
* scope to reconnect.
|
|
13
|
+
*/
|
|
14
|
+
readonly reconnect: (reconnectId: string) => Promise<void> | null;
|
|
15
|
+
}) => {
|
|
16
|
+
readonly notice: ArtifactOperationNotice;
|
|
17
|
+
readonly onOperation: (operation: ArtifactOperation, sighting: ArtifactOperationSighting) => void;
|
|
18
|
+
readonly stop: () => void;
|
|
19
|
+
};
|
|
@@ -16,5 +16,7 @@ export type InlinePreviewUrl = {
|
|
|
16
16
|
} | {
|
|
17
17
|
readonly status: "ready";
|
|
18
18
|
readonly url: string;
|
|
19
|
+
readonly actionEnabled?: boolean;
|
|
20
|
+
readonly actionBridgeKey?: string;
|
|
19
21
|
};
|
|
20
|
-
export declare const useInlinePreviewUrl: (target: InlinePreviewTarget | null) => InlinePreviewUrl;
|
|
22
|
+
export declare const useInlinePreviewUrl: (target: InlinePreviewTarget | null, remintSeq?: number) => InlinePreviewUrl;
|
|
@@ -2,10 +2,19 @@ import { TaskScheduleDetail, TaskScheduleRun } from '../../api/task-schedules.ts
|
|
|
2
2
|
export declare const EmailNotificationIndicator: (props: {
|
|
3
3
|
readonly notification: TaskScheduleDetail["notification"];
|
|
4
4
|
readonly shared?: boolean;
|
|
5
|
+
readonly sharedRecipients?: readonly string[] | undefined;
|
|
5
6
|
}) => import("react").JSX.Element;
|
|
6
7
|
export declare const MicrosoftTeamsDeliveryIndicator: (props: {
|
|
7
8
|
readonly delivery: NonNullable<TaskScheduleDetail["microsoftTeamsDelivery"]>;
|
|
8
9
|
}) => import("react").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* #655: the stable SERIES id integrations use to trigger a schedule. It exists
|
|
12
|
+
* from creation, so it shows for manual and paused schedules before any
|
|
13
|
+
* occurrence or execution id does. Copying is read-only — it never runs work.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ScheduleIdField: (props: {
|
|
16
|
+
readonly taskScheduleId: string;
|
|
17
|
+
}) => import("react").JSX.Element;
|
|
9
18
|
export declare const RunCard: (props: {
|
|
10
19
|
readonly run: TaskScheduleRun;
|
|
11
20
|
readonly scheduleTitle: string;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ArtifactOperation, ArtifactReview } from '@belong/codec/artifact-actions';
|
|
2
|
+
import { ArtifactBridgeApi } from '../api/artifact-actions.ts';
|
|
3
|
+
export type ArtifactApprovalRequest = {
|
|
4
|
+
readonly operation: ArtifactOperation;
|
|
5
|
+
readonly review: ArtifactReview;
|
|
6
|
+
};
|
|
7
|
+
export type ArtifactActionBridge = {
|
|
8
|
+
onLoad: () => void;
|
|
9
|
+
dispose: () => void;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Why a bridge asks its owner for a fresh preview mint (new token, new document key, new frame):
|
|
13
|
+
* `navigation` — a second document loaded in the frame (the report reloaded or navigated itself);
|
|
14
|
+
* `stale` — the bridge was created for a frame that already loaded, or for a key already spent.
|
|
15
|
+
*/
|
|
16
|
+
export type ArtifactRemintReason = "navigation" | "stale";
|
|
17
|
+
/**
|
|
18
|
+
* How the parent learned a snapshot: `transition` = it just changed in front of this view (a
|
|
19
|
+
* submission, an approval decision, an observed status read); `snapshot` = a current read the
|
|
20
|
+
* report asked for (get, list, observe's first answer, cancel).
|
|
21
|
+
*/
|
|
22
|
+
export type ArtifactOperationSighting = "transition" | "snapshot";
|
|
23
|
+
/** Report requests admitted per window, across every bridge one preview view creates. */
|
|
24
|
+
export declare const ARTIFACT_REQUESTS_PER_WINDOW = 60;
|
|
25
|
+
export declare const ARTIFACT_REQUEST_WINDOW_MS = 60000;
|
|
26
|
+
export type ArtifactRequestWindow = {
|
|
27
|
+
readonly admit: (nowMs: number) => boolean;
|
|
28
|
+
};
|
|
29
|
+
/** Fixed window. Owned by the preview view, so neither a reload nor a re-mint refills it. */
|
|
30
|
+
export declare const createArtifactRequestWindow: () => ArtifactRequestWindow;
|
|
31
|
+
export declare const ARTIFACT_POLL_BASE_MS = 2000;
|
|
32
|
+
/** Ceilings while a status stays the same. Running work changes sooner than work that waits. */
|
|
33
|
+
export declare const ARTIFACT_POLL_RUNNING_MAX_MS = 15000;
|
|
34
|
+
export declare const ARTIFACT_POLL_WAITING_MAX_MS = 30000;
|
|
35
|
+
type PolledStatus = ArtifactOperation["status"];
|
|
36
|
+
/**
|
|
37
|
+
* Delay before the next status read. A new status starts again at 2 s; the same pending status
|
|
38
|
+
* backs off by half each read (running up to 15 s, queued/approval up to 30 s); an unsettled
|
|
39
|
+
* unknown outcome or a failed read doubles up to 30 s.
|
|
40
|
+
*/
|
|
41
|
+
export declare const nextArtifactPollDelayMs: (previous: {
|
|
42
|
+
readonly delayMs: number;
|
|
43
|
+
readonly status: PolledStatus | null;
|
|
44
|
+
}, read: PolledStatus | "read_failed") => number;
|
|
45
|
+
/**
|
|
46
|
+
* One bridge per minted preview document. Opaque origins require the exact frame source, a single
|
|
47
|
+
* challenge sent on the frame's FIRST load, and the minted document key; origin "null" is never an
|
|
48
|
+
* authority. The first document is the one the parent navigated the frame to; any later load is a
|
|
49
|
+
* document the report chose (reload or navigation), so the bridge retires and asks for a re-mint
|
|
50
|
+
* rather than offering that document a channel.
|
|
51
|
+
*/
|
|
52
|
+
export declare const createArtifactActionBridge: (input: {
|
|
53
|
+
readonly frame: HTMLIFrameElement;
|
|
54
|
+
readonly artifactId: string;
|
|
55
|
+
readonly documentKey: string;
|
|
56
|
+
readonly api: ArtifactBridgeApi;
|
|
57
|
+
readonly currentScopeKey: () => string;
|
|
58
|
+
readonly onApproval: (request: ArtifactApprovalRequest, signal: AbortSignal) => Promise<"approved" | "rejected">;
|
|
59
|
+
readonly onRemint: (reason: ArtifactRemintReason) => void;
|
|
60
|
+
/** Every validated snapshot this bridge received, for trusted parent UI (never the report). */
|
|
61
|
+
readonly onOperation?: (operation: ArtifactOperation, sighting: ArtifactOperationSighting) => void;
|
|
62
|
+
/** The frame already finished a load before this bridge existed: its document is unknown. */
|
|
63
|
+
readonly frameAlreadyLoaded?: boolean;
|
|
64
|
+
readonly requestWindow?: ArtifactRequestWindow;
|
|
65
|
+
readonly eventTarget?: Window;
|
|
66
|
+
readonly nowMs?: () => number;
|
|
67
|
+
}) => ArtifactActionBridge;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ArtifactOperation } from '@belong/codec/artifact-actions';
|
|
2
|
+
import { ArtifactOperationSighting } from './artifact-action-bridge.ts';
|
|
3
|
+
export declare const CLI_RECONNECT_REQUIRED = "cli_reconnect_required";
|
|
4
|
+
export type TrackedArtifactOperation = {
|
|
5
|
+
readonly operation: ArtifactOperation;
|
|
6
|
+
readonly receivedAtMs: number;
|
|
7
|
+
/** This view saw it change (a transition) or saw it unsettled: its outcome is news here. */
|
|
8
|
+
readonly seenLive: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type TrackedArtifactOperations = ReadonlyMap<string, TrackedArtifactOperation>;
|
|
11
|
+
/** Latest snapshot wins; an older read finishing late never replaces a newer one. */
|
|
12
|
+
export declare const trackArtifactOperation: (tracked: TrackedArtifactOperations, operation: ArtifactOperation, sighting: ArtifactOperationSighting, nowMs: number) => TrackedArtifactOperations;
|
|
13
|
+
/**
|
|
14
|
+
* Launched, no positive stop evidence, and no longer running normally (its outcome is in, or it is
|
|
15
|
+
* unknown): the user's agent work waits for it, so the parent offers to stop it.
|
|
16
|
+
*/
|
|
17
|
+
export declare const awaitsArtifactStop: (operation: ArtifactOperation) => boolean;
|
|
18
|
+
export declare const artifactOperationsAwaitingStop: (tracked: TrackedArtifactOperations) => readonly ArtifactOperation[];
|
|
19
|
+
/**
|
|
20
|
+
* The newest invocation of some action was released without proof it stopped. Older ones are
|
|
21
|
+
* history: a later run of the same action already superseded them.
|
|
22
|
+
*/
|
|
23
|
+
export declare const latestReleasedUnconfirmed: (tracked: TrackedArtifactOperations) => boolean;
|
|
24
|
+
/** A reconnect is due for an operation this view watched fail on the Simetrik connection. */
|
|
25
|
+
export declare const needsArtifactReconnect: (entry: TrackedArtifactOperation) => boolean;
|
|
26
|
+
export type ArtifactStopState = "idle" | "stopping" | "unreachable";
|
|
27
|
+
export type ArtifactReconnectState = "idle" | "reconnecting" | "failed";
|
|
28
|
+
export type ArtifactOperationNotice = {
|
|
29
|
+
readonly kind: "none";
|
|
30
|
+
} | {
|
|
31
|
+
readonly kind: "awaiting_stop";
|
|
32
|
+
readonly stop: ArtifactStopState;
|
|
33
|
+
} | {
|
|
34
|
+
readonly kind: "reconnecting";
|
|
35
|
+
} | {
|
|
36
|
+
readonly kind: "reconnect_failed";
|
|
37
|
+
} | {
|
|
38
|
+
readonly kind: "released_unconfirmed";
|
|
39
|
+
};
|
|
40
|
+
/** One line at most, most actionable first. */
|
|
41
|
+
export declare const artifactOperationNotice: (input: {
|
|
42
|
+
readonly tracked: TrackedArtifactOperations;
|
|
43
|
+
readonly stop: ArtifactStopState;
|
|
44
|
+
readonly reconnect: ArtifactReconnectState;
|
|
45
|
+
}) => ArtifactOperationNotice;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How often one action-enabled preview view re-mints after its report reloads or navigates
|
|
3
|
+
* itself. Each re-mint reloads the real report with a fresh document key; a report that keeps
|
|
4
|
+
* doing it (a `location.reload()` loop, or a page that bounces the frame) must not mint forever,
|
|
5
|
+
* so after the window's allowance the view shows a static state instead.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ARTIFACT_SELF_RELOAD_WINDOW_MS = 60000;
|
|
8
|
+
/** Delay before each successive re-mint inside one window. Its length is the per-window cap. */
|
|
9
|
+
export declare const ARTIFACT_REMINT_BACKOFF_MS: readonly number[];
|
|
10
|
+
export type ArtifactRemintDecision = {
|
|
11
|
+
readonly kind: "remint";
|
|
12
|
+
readonly delayMs: number;
|
|
13
|
+
} | {
|
|
14
|
+
readonly kind: "exhausted";
|
|
15
|
+
};
|
|
16
|
+
export type ArtifactRemintBudget = {
|
|
17
|
+
readonly next: (nowMs: number) => ArtifactRemintDecision;
|
|
18
|
+
};
|
|
19
|
+
export declare const createArtifactRemintBudget: () => ArtifactRemintBudget;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ArtifactOperation } from '@belong/codec/artifact-actions';
|
|
2
|
+
/** Running work owns the sandbox; launched work without stop evidence still fences it. */
|
|
3
|
+
export declare const holdsArtifactSandbox: (operation: Pick<ArtifactOperation, "status" | "stopEvidence">) => boolean;
|
|
4
|
+
/** One slot per preview view; `set` replaces that view's answer, `release` withdraws it. */
|
|
5
|
+
export declare const registerArtifactSandboxHoldSlot: () => {
|
|
6
|
+
readonly set: (holding: boolean) => void;
|
|
7
|
+
readonly release: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const peekArtifactSandboxHeld: () => boolean;
|
|
10
|
+
export declare const subscribeArtifactSandboxHold: (listener: () => void) => (() => void);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GoalElapsed } from './goal-plain-units.ts';
|
|
2
2
|
import { GoalView } from '../api/goals.ts';
|
|
3
3
|
export type GoalRowTone = "live" | "calm" | "attention";
|
|
4
|
-
export type GoalRowActionKind = "cancel_setup" | "pause" | "resume" | "wake_now" | "details" | "answer" | "review" | "show_me" | "tell_it" | "give_it_more" | "new_goal";
|
|
4
|
+
export type GoalRowActionKind = "cancel_setup" | "pause" | "resume" | "wake_now" | "details" | "answer" | "review" | "show_me" | "tell_it" | "give_it_more" | "new_goal" | "exit_goal";
|
|
5
5
|
export type GoalRowAction = {
|
|
6
6
|
readonly kind: GoalRowActionKind;
|
|
7
7
|
readonly labelKey: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const peekWorkspacePolicy: () => "open" | "strict";
|
|
2
|
+
/** Report storage failure so the UI never claims a preference was saved when it wasn't. */
|
|
3
|
+
export declare const setWorkspacePolicy: (policy: "open" | "strict") => boolean;
|
|
4
|
+
export declare const useWorkspacePolicy: () => {
|
|
5
|
+
policy: string;
|
|
6
|
+
identified: boolean;
|
|
7
|
+
};
|