@belonguniverseai/react-sdk 0.6.26 → 0.6.28

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.
Files changed (129) hide show
  1. package/README.md +36 -0
  2. package/dist/api/account-connectors.d.ts +2 -2
  3. package/dist/api/account-scope.d.ts +75 -0
  4. package/dist/api/artifact-actions.d.ts +29 -0
  5. package/dist/api/client-identity.d.ts +3 -1
  6. package/dist/api/client.d.ts +1972 -226
  7. package/dist/api/goals.d.ts +4 -4
  8. package/dist/api/live-artifacts.d.ts +197 -0
  9. package/dist/api/my-usage.d.ts +28 -0
  10. package/dist/api/queries.d.ts +6 -4
  11. package/dist/api/query-keys.d.ts +44 -3
  12. package/dist/api/task-schedule-sharing.d.ts +7 -4
  13. package/dist/api/task-schedules.d.ts +20 -17
  14. package/dist/app/dock-story-data.d.ts +10 -6
  15. package/dist/component/BelongWidget.d.ts +4 -1
  16. package/dist/component/{abnfDiagram-N423BO3Z-DpQ_UaNq.js → abnfDiagram-N423BO3Z-BGC_KU0K.js} +4 -4
  17. package/dist/component/{arc-BoxI9KQB.js → arc-BpIEtZvJ.js} +2 -2
  18. package/dist/component/{architectureDiagram-T3A2C74G-C0Pxx-k7.js → architectureDiagram-T3A2C74G-DYlEVfnh.js} +3 -3
  19. package/dist/component/{blockDiagram-VBNYF7ZC-CPX5VZHq.js → blockDiagram-VBNYF7ZC-BWDnhAW1.js} +4 -4
  20. package/dist/component/{c4Diagram-5PPSVZJV-6GrzIAcz.js → c4Diagram-5PPSVZJV-VKL0Shn2.js} +3 -3
  21. package/dist/component/{channel-Dp0k-SEg.js → channel-gGd0pNDR.js} +2 -2
  22. package/dist/component/{chunk-2GRJ4B5K-CTz4CZNM.js → chunk-2GRJ4B5K-CEt4y1jX.js} +2 -2
  23. package/dist/component/{chunk-2Q5K7J3B-Bg9gj6WB.js → chunk-2Q5K7J3B-Dj2wrNzr.js} +2 -2
  24. package/dist/component/{chunk-5RXB4S5H-SJVXjTS4.js → chunk-5RXB4S5H-oJQEn1bH.js} +5 -5
  25. package/dist/component/{chunk-5VM5RSS4-CCi9rnUJ.js → chunk-5VM5RSS4-DddP8MPP.js} +2 -2
  26. package/dist/component/{chunk-6Q2QTUOP-DxQKGpDM.js → chunk-6Q2QTUOP-CppUJwrF.js} +2 -2
  27. package/dist/component/{chunk-GF5L2VYU-C1soxsXo.js → chunk-GF5L2VYU--hyUlO9v.js} +6 -6
  28. package/dist/component/{chunk-JWPE2WC7-3wshSHI2.js → chunk-JWPE2WC7-CN0Ieqel.js} +2 -2
  29. package/dist/component/{chunk-KBJHAD2P-DQdZO07y.js → chunk-KBJHAD2P-BWhCQoHz.js} +2 -2
  30. package/dist/component/{chunk-RYQCIY6F-DUaZ-HUS.js → chunk-RYQCIY6F-BgNewpQe.js} +2 -2
  31. package/dist/component/{chunk-XXDRQBXY-D3NSjj_n.js → chunk-XXDRQBXY-mNH171OF.js} +2 -2
  32. package/dist/component/{classDiagram-JCYQIIEL-BVRygNRR.js → classDiagram-JCYQIIEL-UjZbWotD.js} +3 -3
  33. package/dist/component/{classDiagram-v2-OCEON4UE-BVRygNRR.js → classDiagram-v2-OCEON4UE-UjZbWotD.js} +3 -3
  34. package/dist/component/{cose-bilkent-JH36ORCC-DLTvBiOo.js → cose-bilkent-JH36ORCC-lsVWGlMj.js} +2 -2
  35. package/dist/component/{cynefinDiagram-MW4NZA55-xK50k2_4.js → cynefinDiagram-MW4NZA55-B5Ss0zoy.js} +3 -3
  36. package/dist/component/{dagre-VZM6K2ZE-DMUwiPX1.js → dagre-VZM6K2ZE-DisWRVfU.js} +3 -3
  37. package/dist/component/{diagram-7IWD3JNH-Cn6oaVgE.js → diagram-7IWD3JNH-B2QrdsOh.js} +4 -4
  38. package/dist/component/{diagram-B4RE2ZJO-Dc_LVByi.js → diagram-B4RE2ZJO-Bs8l4THz.js} +3 -3
  39. package/dist/component/{diagram-LBJQPF4R-y80jmIxC.js → diagram-LBJQPF4R-JTadtYMW.js} +3 -3
  40. package/dist/component/{diagram-Q27KOJAE-Bp6njNLR.js → diagram-Q27KOJAE-BQC33flc.js} +4 -4
  41. package/dist/component/{diagram-UB23O5K3-D3X1PDYF.js → diagram-UB23O5K3-ujC22dQx.js} +3 -3
  42. package/dist/component/{ebnfDiagram-BXEA7PRR-9Lw8nzKe.js → ebnfDiagram-BXEA7PRR-0WnF2wzt.js} +4 -4
  43. package/dist/component/{erDiagram-JOGREHBK-CcG_SaTj.js → erDiagram-JOGREHBK-CqgMsd5R.js} +5 -5
  44. package/dist/component/{flowDiagram-UKHOOZJN-BiabESAj.js → flowDiagram-UKHOOZJN-BOM0P8Mk.js} +7 -7
  45. package/dist/component/{ganttDiagram-PKOTCBZU-BAfZiFRN.js → ganttDiagram-PKOTCBZU-WeRFC1th.js} +3 -3
  46. package/dist/component/{gitGraphDiagram-DS77QQ5N-2_hBA0gy.js → gitGraphDiagram-DS77QQ5N-CS8L-BA8.js} +4 -4
  47. package/dist/component/{highlighted-body-OFNGDK62-BWKA8a2L.js → highlighted-body-OFNGDK62-CGejnMyq.js} +2 -2
  48. package/dist/component/index.js +2 -2
  49. package/dist/component/{infoDiagram-6WML65LV-C-P8lJtc.js → infoDiagram-6WML65LV-CQQhytkd.js} +2 -2
  50. package/dist/component/{ishikawaDiagram-WSZJBQD7-CkTFVaSp.js → ishikawaDiagram-WSZJBQD7-CjDo3-zt.js} +2 -2
  51. package/dist/component/{journeyDiagram-NVQOT4AX-CVW--vNB.js → journeyDiagram-NVQOT4AX-BCCoblta.js} +5 -5
  52. package/dist/component/{kanban-definition-27J2QSJJ-5EmiKkud.js → kanban-definition-27J2QSJJ-DgTIrgvB.js} +3 -3
  53. package/dist/component/{linear-CSKvOjpb.js → linear-BOaza_dp.js} +2 -2
  54. package/dist/component/{mermaid-GHXKKRXX-DJmRTUDm.js → mermaid-GHXKKRXX-BAq5-Vj8.js} +54487 -50019
  55. package/dist/component/{mindmap-definition-FAOFIHXS-D8kuCYBh.js → mindmap-definition-FAOFIHXS-D1oolR3A.js} +4 -4
  56. package/dist/component/{pegDiagram-VL7TDLO6-BTfnYOZL.js → pegDiagram-VL7TDLO6-C9UxqvBP.js} +4 -4
  57. package/dist/component/{pieDiagram-7S7Q4E2Y-CzbOJQ6u.js → pieDiagram-7S7Q4E2Y-I5IXzOZM.js} +4 -4
  58. package/dist/component/{quadrantDiagram-CIZ2JOQS-BCLm-h12.js → quadrantDiagram-CIZ2JOQS-DPDFBhEd.js} +3 -3
  59. package/dist/component/{railroadDiagram-AXF67PYL-DxjbsMsY.js → railroadDiagram-AXF67PYL-DIAkhVTf.js} +4 -4
  60. package/dist/component/{requirementDiagram-LRYGKXZP-7CT3WVcX.js → requirementDiagram-LRYGKXZP-DBEmV-Qy.js} +4 -4
  61. package/dist/component/{sankeyDiagram-W5VNT64P-P0xeL0DB.js → sankeyDiagram-W5VNT64P-BEeDyDj7.js} +2 -2
  62. package/dist/component/{sequenceDiagram-SI44F4Z6-BZwzqGo7.js → sequenceDiagram-SI44F4Z6-WYcXWUHF.js} +4 -4
  63. package/dist/component/{sizeCapture-X5ZJPWSS-BmFHn5uM.js → sizeCapture-X5ZJPWSS-BqDBRpiS.js} +2 -2
  64. package/dist/component/{stateDiagram-OKZ733FA-CVuv1e4U.js → stateDiagram-OKZ733FA-CfYfR0OH.js} +3 -3
  65. package/dist/component/{stateDiagram-v2-UEYNNEHI-D9ToaXGa.js → stateDiagram-v2-UEYNNEHI-BSa2VwcQ.js} +3 -3
  66. package/dist/component/{swimlanes-SLNWSIFB-D4imP0Ms.js → swimlanes-SLNWSIFB-C-7mrC4X.js} +4 -4
  67. package/dist/component/{swimlanesDiagram-ULZ7WXOC-BTQ985v3.js → swimlanesDiagram-ULZ7WXOC-DXcMd7U4.js} +3 -3
  68. package/dist/component/{timeline-definition-Z64GVDOM-DAHxnCB-.js → timeline-definition-Z64GVDOM-Dp65E80E.js} +3 -3
  69. package/dist/component/{vennDiagram-T6HMQDX7-K5TNKkRE.js → vennDiagram-T6HMQDX7-CRpZ12TH.js} +2 -2
  70. package/dist/component/{wardleyDiagram-T6FBY63Y-CYU76C7a.js → wardleyDiagram-T6FBY63Y-BupsM8K3.js} +3 -3
  71. package/dist/component/{xychartDiagram-ELKLHX3M-CRncQBO_.js → xychartDiagram-ELKLHX3M-CUnr8Qbu.js} +3 -3
  72. package/dist/components/artifacts/ArtifactDetailSurface.d.ts +37 -0
  73. package/dist/components/artifacts/ArtifactMeta.d.ts +10 -0
  74. package/dist/components/artifacts/ArtifactsListSurface.d.ts +11 -0
  75. package/dist/components/artifacts/BindScheduleDialog.d.ts +39 -0
  76. package/dist/components/artifacts/ConfirmDeleteArtifactDialog.d.ts +9 -0
  77. package/dist/components/artifacts/ConfirmReshareDialog.d.ts +24 -0
  78. package/dist/components/artifacts/artifact-format.d.ts +38 -0
  79. package/dist/components/artifacts/open-artifact-version.d.ts +16 -0
  80. package/dist/components/artifacts/use-artifact-actions.d.ts +32 -0
  81. package/dist/components/embed/ArtifactApprovalDialog.d.ts +8 -0
  82. package/dist/components/embed/ArtifactOperationNoticeLine.d.ts +5 -0
  83. package/dist/components/embed/EmbedComposer.d.ts +5 -1
  84. package/dist/components/embed/EmbedConversation.d.ts +4 -1
  85. package/dist/components/embed/EmbedRail.d.ts +9 -2
  86. package/dist/components/embed/MobileNavBar.d.ts +2 -1
  87. package/dist/components/embed/ResponseModeDial.d.ts +11 -0
  88. package/dist/components/embed/SessionStatsPanel.d.ts +3 -0
  89. package/dist/components/embed/UsageSettings.d.ts +11 -0
  90. package/dist/components/embed/WorkspacePolicySetting.d.ts +1 -0
  91. package/dist/components/embed/format-compact-number.d.ts +8 -0
  92. package/dist/components/embed/use-artifact-operation-notices.d.ts +20 -0
  93. package/dist/components/embed/use-inline-preview-url.d.ts +3 -1
  94. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +9 -0
  95. package/dist/embed/artifact-action-bridge.d.ts +70 -0
  96. package/dist/embed/artifact-operation-notices.d.ts +45 -0
  97. package/dist/embed/artifact-remint-budget.d.ts +19 -0
  98. package/dist/embed/artifact-sandbox-hold.d.ts +10 -0
  99. package/dist/embed/dock-state.d.ts +1 -1
  100. package/dist/embed/global.d.ts +2 -0
  101. package/dist/embed/goal-row-model.d.ts +1 -1
  102. package/dist/embed/presets.d.ts +1 -0
  103. package/dist/embed/response-mode.d.ts +48 -0
  104. package/dist/embed/theme.d.ts +5 -0
  105. package/dist/embed/workspace-policy.d.ts +7 -0
  106. package/dist/i18n/messages/en.d.ts +161 -8
  107. package/dist/i18n/messages/surfaces/aiElements.d.ts +4 -0
  108. package/dist/i18n/messages/surfaces/artifacts.d.ts +304 -0
  109. package/dist/i18n/messages/surfaces/embedMisc.d.ts +84 -0
  110. package/dist/i18n/messages/surfaces/header.d.ts +4 -0
  111. package/dist/i18n/messages/surfaces/myUsage.d.ts +75 -0
  112. package/dist/i18n/messages/surfaces/scheduled.d.ts +22 -2
  113. package/dist/i18n/messages/surfaces/settings.d.ts +28 -0
  114. package/dist/i18n/messages/surfaces/stats.d.ts +4 -12
  115. package/dist/i18n/messages/surfaces/stream.d.ts +120 -0
  116. package/dist/i18n/messages/surfaces/usage.d.ts +0 -8
  117. package/dist/infrastructure/telemetry/first-response-timing.d.ts +51 -0
  118. package/dist/lib/use-now.d.ts +32 -0
  119. package/dist/routes/artifact-detail.d.ts +2 -0
  120. package/dist/routes/artifacts.d.ts +2 -0
  121. package/dist/routes/chat/transcript-row.d.ts +1 -0
  122. package/dist/stream/belong-chat-transport.d.ts +39 -7
  123. package/dist/stream/belong-data-parts.d.ts +10 -0
  124. package/dist/stream/message-parts.d.ts +3 -1
  125. package/dist/stream/queued-message-outbox.d.ts +5 -0
  126. package/dist/stream/select-session-usage.d.ts +9 -0
  127. package/dist/stream/session-stats-csv.d.ts +7 -9
  128. package/dist/types/public.d.ts +4 -4
  129. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as oe } from "./chunk-XXDRQBXY-D3NSjj_n.js";
2
- import { s as ae } from "./chunk-KBJHAD2P-DQdZO07y.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-DJmRTUDm.js";
1
+ import { g as oe } from "./chunk-XXDRQBXY-mNH171OF.js";
2
+ import { s as ae } from "./chunk-KBJHAD2P-BWhCQoHz.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-BAq5-Vj8.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-D8kuCYBh.js.map
833
+ //# sourceMappingURL=mindmap-definition-FAOFIHXS-D1oolR3A.js.map
@@ -1,6 +1,6 @@
1
- import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-DxQKGpDM.js";
2
- import { p } from "./chunk-JWPE2WC7-3wshSHI2.js";
3
- import { _ as t, l as o } from "./mermaid-GHXKKRXX-DJmRTUDm.js";
1
+ import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-CppUJwrF.js";
2
+ import { p } from "./chunk-JWPE2WC7-CN0Ieqel.js";
3
+ import { _ as t, l as o } from "./mermaid-GHXKKRXX-BAq5-Vj8.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-BTfnYOZL.js.map
98
+ //# sourceMappingURL=pegDiagram-VL7TDLO6-C9UxqvBP.js.map
@@ -1,7 +1,7 @@
1
- import { p as at } from "./chunk-JWPE2WC7-3wshSHI2.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-DJmRTUDm.js";
1
+ import { p as at } from "./chunk-JWPE2WC7-CN0Ieqel.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-BAq5-Vj8.js";
3
3
  import { p as vt } from "./cynefin-VYW2F7L2-DAyxamLw.js";
4
- import { d as X } from "./arc-BoxI9KQB.js";
4
+ import { d as X } from "./arc-BpIEtZvJ.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-CzbOJQ6u.js.map
210
+ //# sourceMappingURL=pieDiagram-7S7Q4E2Y-I5IXzOZM.js.map
@@ -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-DJmRTUDm.js";
2
- import { l as te } from "./linear-CSKvOjpb.js";
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-BAq5-Vj8.js";
2
+ import { l as te } from "./linear-BOaza_dp.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-BCLm-h12.js.map
1032
+ //# sourceMappingURL=quadrantDiagram-CIZ2JOQS-DPDFBhEd.js.map
@@ -1,6 +1,6 @@
1
- import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-DxQKGpDM.js";
2
- import { p } from "./chunk-JWPE2WC7-3wshSHI2.js";
3
- import { _ as l, l as n } from "./mermaid-GHXKKRXX-DJmRTUDm.js";
1
+ import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-CppUJwrF.js";
2
+ import { p } from "./chunk-JWPE2WC7-CN0Ieqel.js";
3
+ import { _ as l, l as n } from "./mermaid-GHXKKRXX-BAq5-Vj8.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-DxjbsMsY.js.map
80
+ //# sourceMappingURL=railroadDiagram-AXF67PYL-DIAkhVTf.js.map
@@ -1,6 +1,6 @@
1
- import { g as ze } from "./chunk-XXDRQBXY-D3NSjj_n.js";
2
- import { s as Ge } from "./chunk-KBJHAD2P-DQdZO07y.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-DJmRTUDm.js";
1
+ import { g as ze } from "./chunk-XXDRQBXY-mNH171OF.js";
2
+ import { s as Ge } from "./chunk-KBJHAD2P-BWhCQoHz.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-BAq5-Vj8.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-7CT3WVcX.js.map
888
+ //# sourceMappingURL=requirementDiagram-LRYGKXZP-DBEmV-Qy.js.map
@@ -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-DJmRTUDm.js";
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-BAq5-Vj8.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-P0xeL0DB.js.map
862
+ //# sourceMappingURL=sankeyDiagram-W5VNT64P-BEeDyDj7.js.map
@@ -1,6 +1,6 @@
1
- import { I as tr } from "./chunk-2Q5K7J3B-Bg9gj6WB.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-DJmRTUDm.js";
3
- import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-CTz4CZNM.js";
1
+ import { I as tr } from "./chunk-2Q5K7J3B-Dj2wrNzr.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-BAq5-Vj8.js";
3
+ import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-CEt4y1jX.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-BZwzqGo7.js.map
2894
+ //# sourceMappingURL=sequenceDiagram-SI44F4Z6-WYcXWUHF.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./mermaid-GHXKKRXX-DJmRTUDm.js";
1
+ import { _ as t } from "./mermaid-GHXKKRXX-BAq5-Vj8.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-BmFHn5uM.js.map
49
+ //# sourceMappingURL=sizeCapture-X5ZJPWSS-BqDBRpiS.js.map
@@ -1,5 +1,5 @@
1
- import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-SJVXjTS4.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-DJmRTUDm.js";
1
+ import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-oJQEn1bH.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-BAq5-Vj8.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-CVuv1e4U.js.map
266
+ //# sourceMappingURL=stateDiagram-OKZ733FA-CfYfR0OH.js.map
@@ -1,5 +1,5 @@
1
- import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-SJVXjTS4.js";
2
- import { _ as l } from "./mermaid-GHXKKRXX-DJmRTUDm.js";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-oJQEn1bH.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-BAq5-Vj8.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-D9ToaXGa.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-UEYNNEHI-BSa2VwcQ.js.map
@@ -1,5 +1,5 @@
1
- import { c as Tr } from "./chunk-RYQCIY6F-DUaZ-HUS.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-DJmRTUDm.js";
1
+ import { c as Tr } from "./chunk-RYQCIY6F-BgNewpQe.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-BAq5-Vj8.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-BmFHn5uM.js");
27
+ const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-BqDBRpiS.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-D4imP0Ms.js.map
5335
+ //# sourceMappingURL=swimlanes-SLNWSIFB-C-7mrC4X.js.map
@@ -1,5 +1,5 @@
1
- import { c as e, s as a } from "./flowDiagram-UKHOOZJN-BiabESAj.js";
2
- import { _ as s } from "./mermaid-GHXKKRXX-DJmRTUDm.js";
1
+ import { c as e, s as a } from "./flowDiagram-UKHOOZJN-BOM0P8Mk.js";
2
+ import { _ as s } from "./mermaid-GHXKKRXX-BAq5-Vj8.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-BTQ985v3.js.map
16
+ //# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-DXcMd7U4.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-DJmRTUDm.js";
2
- import { d as ot } from "./arc-BoxI9KQB.js";
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-BAq5-Vj8.js";
2
+ import { d as ot } from "./arc-BpIEtZvJ.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-DAHxnCB-.js.map
1058
+ //# sourceMappingURL=timeline-definition-Z64GVDOM-Dp65E80E.js.map
@@ -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-DJmRTUDm.js";
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-BAq5-Vj8.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-K5TNKkRE.js.map
1581
+ //# sourceMappingURL=vennDiagram-T6HMQDX7-CRpZ12TH.js.map
@@ -1,5 +1,5 @@
1
- import { p as St } from "./chunk-JWPE2WC7-3wshSHI2.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-DJmRTUDm.js";
1
+ import { p as St } from "./chunk-JWPE2WC7-CN0Ieqel.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-BAq5-Vj8.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-CYU76C7a.js.map
681
+ //# sourceMappingURL=wardleyDiagram-T6FBY63Y-BupsM8K3.js.map
@@ -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-DJmRTUDm.js";
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-BAq5-Vj8.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-CSKvOjpb.js";
4
+ import { l as vt } from "./linear-BOaza_dp.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-CRncQBO_.js.map
1421
+ //# sourceMappingURL=xychartDiagram-ELKLHX3M-CUnr8Qbu.js.map
@@ -0,0 +1,37 @@
1
+ /**
2
+ * One live report: what it is now, what refreshes it, who can open it, and
3
+ * every version it has had (live-artifacts design doc §11.2).
4
+ *
5
+ * The history is the reason this view exists rather than a dialog. A live
6
+ * report's whole promise is that the link keeps showing the latest — so the
7
+ * question it raises is "what did it say before, and when did that change?",
8
+ * and that is a document with a URL a reload can come back to (§41), not a
9
+ * popover any click dismisses.
10
+ *
11
+ * The CURRENT version is shown INLINE, in a framed region above the history,
12
+ * whenever its bytes are HTML. That is not decoration: an App's interactive
13
+ * controls talk to the dock over a validated `postMessage` bridge, and that
14
+ * bridge needs the dock to BE the frame's parent — a new browser tab has no
15
+ * parent to offer it, so the buttons simply never work there. Framing it here
16
+ * is the only place they can. `HtmlPreviewFrame` owns everything about that
17
+ * (the mint, the bridge, approvals, the request window, the re-mint budget);
18
+ * this surface only decides WHETHER to render it, off the version's mime.
19
+ *
20
+ * Only HTML gets the frame: a CSV or a PDF version renders exactly as before,
21
+ * with no frame and no empty box left where one would have gone. A version
22
+ * from a cloud that does not report its mime is treated the same way — a
23
+ * missing fact is never read as "probably HTML".
24
+ *
25
+ * "Open" on a version mints a short-lived view link for THAT version's file
26
+ * and opens it. It does not go through the public share link, which only ever
27
+ * serves the current version — opening v7 from the public url is not a thing
28
+ * the product can do, and pretending otherwise would show the reader v12.
29
+ * History therefore keeps the TAB path, deliberately: only the current version
30
+ * is the thing the share link serves and the thing the bridge can act on, so
31
+ * only the current version is framed.
32
+ *
33
+ * Share and schedule controls are the SAME handlers the list uses
34
+ * (`useArtifactActions`), so the two surfaces cannot drift into saying
35
+ * different things about the same failure. Nothing here is red (§42).
36
+ */
37
+ export declare const ArtifactDetailSurface: () => import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { LiveArtifactSummary, ShareState } from '../../api/live-artifacts.ts';
2
+ import { Locale } from '../../embed/locale.ts';
3
+ import { TFunction } from 'i18next';
4
+ /** "Link works until 27 Sept, 10:00" / "Link expired" / … — never a raw timestamp alone. */
5
+ export declare const shareStateText: (t: TFunction, state: ShareState, locale: Locale) => string;
6
+ export declare const ArtifactMeta: ({ artifact, now, }: {
7
+ readonly artifact: LiveArtifactSummary;
8
+ /** Injected so a story and a test render a fixed "2h ago" instead of drifting (§25). */
9
+ readonly now: Date;
10
+ }) => import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { LiveArtifactSummary } from '../../api/live-artifacts.ts';
2
+ export type ArtifactCardHandlers = {
3
+ readonly onOpen: (artifact: LiveArtifactSummary) => void;
4
+ readonly onCopyLink: (artifact: LiveArtifactSummary) => void;
5
+ readonly onShare: (artifact: LiveArtifactSummary) => void;
6
+ readonly onExtend: (artifact: LiveArtifactSummary) => void;
7
+ readonly onRevoke: (artifact: LiveArtifactSummary) => void;
8
+ readonly onRebind: (artifact: LiveArtifactSummary) => void;
9
+ readonly onDelete: (artifact: LiveArtifactSummary) => void;
10
+ };
11
+ export declare const ArtifactsListSurface: () => import("react").JSX.Element;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Pick the schedule that refreshes a live report (design doc §8).
3
+ *
4
+ * The binding is a POINTER, not prose: the schedule's own message is free text
5
+ * written weeks earlier, so the report is attached to the series id and the
6
+ * released run is told which report to refresh. That is the whole reason this
7
+ * dialog exists instead of "mention it in the schedule's message".
8
+ *
9
+ * "Not scheduled" is a first-class choice here, not an absence — unbinding is
10
+ * how a user stops a report refreshing without deleting it or touching the
11
+ * schedule that other reports may still use.
12
+ *
13
+ * The dialog does not mutate: it hands the chosen series (or null) back and the
14
+ * surface owns the call, so one place decides what a failure says.
15
+ *
16
+ * `useTaskSchedules` is an INFINITE query with a page size of 20, and the
17
+ * backend allows a hundred pending schedules. Rendering `schedules.data` and
18
+ * stopping there silently hid every schedule past the twentieth, with no control
19
+ * to reach them and no search to skip to them (P2, 2026-09-27 PR #614 deep audit
20
+ * finding 10) — so this dialog carries the same search + Load more pair the
21
+ * Scheduled surface does, and the same debounce, because a user with a hundred
22
+ * schedules finds one by name rather than by paging.
23
+ *
24
+ * Nothing here is red (§42): a page that did not load, or a read that failed
25
+ * outright, is an ordinary moment on a working product. Both read orange, and
26
+ * a failed NEXT page keeps the rows already on screen rather than replacing
27
+ * them with an error.
28
+ */
29
+ export type BindScheduleTarget = {
30
+ readonly liveArtifactId: string;
31
+ readonly name: string;
32
+ readonly seriesId: string | null;
33
+ };
34
+ export declare const BindScheduleDialog: (props: {
35
+ readonly artifact: BindScheduleTarget | null;
36
+ readonly pending: boolean;
37
+ readonly onOpenChange: (open: boolean) => void;
38
+ readonly onBind: (target: BindScheduleTarget, seriesId: string | null) => void;
39
+ }) => import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { DeleteLiveArtifactOutcome } from '../../api/live-artifacts.ts';
2
+ export declare const ConfirmDeleteArtifactDialog: (props: {
3
+ readonly artifact: {
4
+ readonly liveArtifactId: string;
5
+ readonly name: string;
6
+ } | null;
7
+ readonly onOpenChange: (open: boolean) => void;
8
+ readonly onDeleted: (outcome: DeleteLiveArtifactOutcome) => void;
9
+ }) => import("react").JSX.Element;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * "Share again" confirmation — the ONE piece of share behaviour a user can be
3
+ * surprised by (design doc D5).
4
+ *
5
+ * Extending a live link keeps the same url. Re-sharing after the link was
6
+ * turned off ROTATES it, so the url that is already in someone's inbox dies
7
+ * permanently. That is not recoverable and not visible from the card, so the
8
+ * surface asks first and says exactly what happens.
9
+ *
10
+ * Not red (§42): nothing is failing here, and the user is the one choosing it.
11
+ * The confirm is the ordinary primary button.
12
+ */
13
+ export declare const ConfirmReshareDialog: (props: {
14
+ readonly artifact: {
15
+ readonly liveArtifactId: string;
16
+ readonly name: string;
17
+ } | null;
18
+ readonly pending: boolean;
19
+ readonly onOpenChange: (open: boolean) => void;
20
+ readonly onConfirm: (artifact: {
21
+ readonly liveArtifactId: string;
22
+ readonly name: string;
23
+ }) => void;
24
+ }) => import("react").JSX.Element;
@@ -0,0 +1,38 @@
1
+ import { Recurrence } from '../../api/task-schedules.ts';
2
+ /**
3
+ * How long after its last refresh a report bound to this cadence is late.
4
+ *
5
+ * One full period of GRACE on top of the period itself: an occurrence that
6
+ * releases at 09:00 and takes twenty minutes to produce the file would
7
+ * otherwise flip "overdue" every morning for twenty minutes, which trains the
8
+ * reader to ignore the word. `manual` and `none` have no period at all, so
9
+ * nothing can be late against them.
10
+ */
11
+ export declare const overdueAfterMs: (recurrence: Recurrence) => number | null;
12
+ /**
13
+ * The instant a report's silence is measured from: its last refresh, or — if
14
+ * it has never refreshed — its creation.
15
+ *
16
+ * WHOLE-BRANCH FIX. `last_refreshed_at` is only ever set by `appendVersion`, so
17
+ * a report created and bound to a daily schedule that then NEVER FIRES kept a
18
+ * null here and could never read overdue. That is D10's most important case:
19
+ * the one where something is actually wrong. A report that has sat at v1 for a
20
+ * month under a daily cadence is exactly what "hasn't refreshed since X" exists
21
+ * to say, and `createdAt` is a true, present answer for X.
22
+ */
23
+ export declare const refreshClockFrom: (input: {
24
+ readonly lastRefreshedAt: string | null;
25
+ readonly createdAt: string;
26
+ }) => string;
27
+ /**
28
+ * Is a bound report late? `null` recurrence means the schedule is unknown to
29
+ * this render (it was not loaded, or the report is unbound) — and an unknown
30
+ * cadence never renders as late: saying "overdue" on a guess is worse than
31
+ * saying nothing.
32
+ */
33
+ export declare const isOverdue: (input: {
34
+ readonly lastRefreshedAt: string | null;
35
+ readonly createdAt: string;
36
+ readonly recurrence: Recurrence | null;
37
+ readonly now: Date;
38
+ }) => boolean;
@@ -0,0 +1,16 @@
1
+ import { StillInitiatingAccount } from '../../api/account-scope.ts';
2
+ /**
3
+ * A value, not a boolean, because there are three answers and only two of them
4
+ * are the caller's business to SAY (§20): `account_changed` is not a failure and
5
+ * must not be reported as one.
6
+ */
7
+ export type OpenArtifactVersionOutcome = "opened" | "mint_failed" | "account_changed";
8
+ /**
9
+ * `stillInitiatingAccount` is the one non-obvious parameter, and it is the
10
+ * point of it (P1, 2026-09-28 PR #614 follow-up audit finding A): the mint is
11
+ * authenticated as whoever clicked Open, and the host can replace its token in
12
+ * place while it is on the wire. A tab carrying the previous account's document
13
+ * must not appear in the next account's browser, and the url is short-TTL but
14
+ * live. Asked after every await and immediately before the tab.
15
+ */
16
+ export declare const openArtifactVersion: (apiBaseUrl: string, artifactId: string, stillInitiatingAccount: StillInitiatingAccount) => Promise<OpenArtifactVersionOutcome>;
@@ -0,0 +1,32 @@
1
+ import { DeleteLiveArtifactOutcome, LiveArtifactSummary } from '../../api/live-artifacts.ts';
2
+ import { ConnectorNotice } from '../connectors/connector-copy.ts';
3
+ import { BindScheduleTarget } from './BindScheduleDialog.tsx';
4
+ /** The least a handler needs to act on, and to name what failed. */
5
+ export type ArtifactRef = {
6
+ readonly liveArtifactId: string;
7
+ readonly name: string;
8
+ };
9
+ export declare const toArtifactRef: (artifact: LiveArtifactSummary) => ArtifactRef;
10
+ export declare const useArtifactActions: () => {
11
+ /** The cloud's public origin — the version rows mint their view link from it. */
12
+ apiBaseUrl: string;
13
+ notice: ConnectorNotice | null;
14
+ /** A success worth stating, on its own quiet line — never the orange one. */
15
+ confirmation: string | null;
16
+ clearNotice: () => void;
17
+ copiedId: string | null;
18
+ deleting: ArtifactRef | null;
19
+ setDeleting: import('react').Dispatch<import('react').SetStateAction<ArtifactRef | null>>;
20
+ resharing: ArtifactRef | null;
21
+ setResharing: import('react').Dispatch<import('react').SetStateAction<ArtifactRef | null>>;
22
+ binding: BindScheduleTarget | null;
23
+ setBinding: import('react').Dispatch<import('react').SetStateAction<BindScheduleTarget | null>>;
24
+ sharePending: boolean;
25
+ bindPending: boolean;
26
+ share: (artifact: ArtifactRef, extending: boolean) => void;
27
+ revoke: (artifact: ArtifactRef) => void;
28
+ bind: (target: BindScheduleTarget, seriesId: string | null) => void;
29
+ copyLink: (artifact: LiveArtifactSummary) => void;
30
+ noteOpenFailed: () => void;
31
+ onDeleted: (artifact: ArtifactRef, outcome: DeleteLiveArtifactOutcome) => void;
32
+ };
@@ -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;
@@ -5,7 +5,7 @@ import { SkillSummary } from '../../api/skills.ts';
5
5
  import { PrePromptSummary } from '../../api/pre-prompts.ts';
6
6
  import { WorkspaceFile } from '../../api/workspace-files.ts';
7
7
  import { UsageMeterProps } from './UsageMeter.tsx';
8
- export declare function EmbedComposer({ draft, placeholder, suggestion, status, submitting, disabled, voiceSupported, voiceConfigured, listening, theme, palette, skills, librarySkills, prompts, workspaceFiles, mode, onModeChange, onDraftChange, onMentionOpen, onSaveAsPrompt, onSubmit, onStop, usage, pendingQuestion, onSetGoal, }: Readonly<{
8
+ export declare function EmbedComposer({ draft, placeholder, suggestion, status, submitting, disabled, voiceSupported, voiceConfigured, listening, theme, palette, skills, librarySkills, prompts, workspaceFiles, mode, onModeChange, onDraftChange, onMentionOpen, onSaveAsPrompt, onSubmit, onStop, usage, pendingQuestion, onSetGoal, responseModes, }: Readonly<{
9
9
  draft: string;
10
10
  /** Overrides the composer's own invitation while a surface above it is
11
11
  * asking for something specific (the goal row's "Tell it what to try"
@@ -65,4 +65,8 @@ export declare function EmbedComposer({ draft, placeholder, suggestion, status,
65
65
  * keeps every provider-less composer test/story rendering and is how
66
66
  * `chat.tsx` gates the door once a `goals_disabled` 503 has been seen. */
67
67
  onSetGoal?: (() => void) | undefined;
68
+ /** Whether the deployment offers the response-mode dial
69
+ * (`useResponseModesAvailable`). Off — the default — renders no dial, which
70
+ * keeps every provider-less composer test and story as it was. */
71
+ responseModes?: boolean;
68
72
  }>): import("react").JSX.Element;
@@ -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. There is no mic-status chip: the
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
@@ -8,14 +8,14 @@ import { BelongTheme, BelongThemePalette, PresetName } from '../../types/public.
8
8
  * two must carry the SAME members: this one is what the chrome renders, that
9
9
  * one is what the router and localStorage persist, and a view present in only
10
10
  * one of them is a view you can reach but not come back to after a reload. */
11
- export type EmbedView = "chat" | "goal" | "files" | "scheduled" | "prompts" | "connectors" | "skills";
11
+ export type EmbedView = "chat" | "goal" | "files" | "scheduled" | "prompts" | "connectors" | "skills" | "artifacts";
12
12
  /**
13
13
  * Compact 52px rail, expanding into a labeled 208px sidebar on request.
14
14
  * History and workspace navigation share one hierarchy in both dock states.
15
15
  * Focus hides labels only; every destination remains available as an icon.
16
16
  * Active fill and brand colors come from the tenant palette.
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, onToggleMode, onToggleSide, onAccentChange, onAccentReset, onCssVarsChange, onApplyPreset, onLogout, onNewSession, onSelectSession, onSelectAgentLine, onCloseAgentLine, onDeleteSession, onRenameSession, onSessionsOpen, onViewStats, onToggleSpeak, fullscreen, navigationLabelsVisible, onToggleNavigationLabels, layoutControl, connectorsUnavailable, skillsUnavailable, goalPresent, goalNeedsYou, }: {
18
+ export declare function EmbedRail({ view, collapsed, user, theme, palette, sessions, activeId, planProgress, speakEnabled, ttsSupported, voiceSupported, voiceStatus, pendingVoiceDraft, voiceActionFlash, accent, cssVars, presets, activePreset, onSelectView, onToggleMode, onToggleSide, onAccentChange, onAccentReset, onCssVarsChange, onApplyPreset, onLogout, onNewSession, onSelectSession, onSelectAgentLine, onCloseAgentLine, onDeleteSession, onRenameSession, onSessionsOpen, onViewStats, onToggleSpeak, fullscreen, navigationLabelsVisible, onToggleNavigationLabels, layoutControl, connectorsUnavailable, skillsUnavailable, artifactsUnavailable, goalPresent, goalNeedsYou, }: {
19
19
  view: EmbedView;
20
20
  collapsed: boolean;
21
21
  user: string | null;
@@ -119,4 +119,11 @@ export declare function EmbedRail({ view, collapsed, user, theme, palette, sessi
119
119
  * entry never pops in late and an outage never hides it.
120
120
  */
121
121
  skillsUnavailable?: boolean;
122
+ /**
123
+ * This deployment answered "live reports are not a thing here" (a 404 from
124
+ * an older cloud). Same optimistic semantics as `skillsUnavailable`: FALSE
125
+ * until that answer has resolved, so the entry never pops in late and an
126
+ * outage never hides it.
127
+ */
128
+ artifactsUnavailable?: boolean;
122
129
  }): import("react").JSX.Element;
@@ -6,12 +6,13 @@ import { BelongTheme, BelongThemePalette, PresetName } from '../../types/public.
6
6
  /** Four mobile destinations. Secondary tools and account controls live in
7
7
  * Tools; session switching lives above the conversation. Primary cells retain
8
8
  * 44px targets (56px with labels) and surface-scaled glyphs without horizontal scrolling. */
9
- export declare function MobileNavBar({ view, user, theme, palette, sessions, activeId, voiceSupported, readReplies, accent, cssVars, presets, activePreset, onSelectView, onClose, onToggleMode, onToggleSide, onAccentChange, onAccentReset, onCssVarsChange, onApplyPreset, onLogout, onNewSession, onSelectSession, onDeleteSession, onRenameSession, onSessionsOpen, onViewStats, navigationLabelsVisible, onToggleNavigationLabels, connectorsUnavailable, skillsUnavailable, goalPresent, }: {
9
+ export declare function MobileNavBar({ view, user, theme, palette, sessions, activeId, voiceSupported, readReplies, accent, cssVars, presets, activePreset, onSelectView, onClose, onToggleMode, onToggleSide, onAccentChange, onAccentReset, onCssVarsChange, onApplyPreset, onLogout, onNewSession, onSelectSession, onDeleteSession, onRenameSession, onSessionsOpen, onViewStats, navigationLabelsVisible, onToggleNavigationLabels, connectorsUnavailable, skillsUnavailable, artifactsUnavailable, goalPresent, }: {
10
10
  /** Focus changes navigation labels only; the icons always remain available. */
11
11
  navigationLabelsVisible?: boolean;
12
12
  onToggleNavigationLabels?: () => void;
13
13
  connectorsUnavailable?: boolean;
14
14
  skillsUnavailable?: boolean;
15
+ artifactsUnavailable?: boolean;
15
16
  view: EmbedView;
16
17
  user: string | null;
17
18
  theme: BelongTheme;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The composer's response mode (embed/response-mode.ts), on the Codex app's
3
+ * dial: a pill showing the current mode opens a popover with the mode names
4
+ * over a chunky three-stop slider, and the chosen mode's upside spelled out
5
+ * underneath. The dock names modes only; which model a mode buys is the
6
+ * backend's call, so no model name ever appears here.
7
+ */
8
+ export declare function ResponseModeDial({ className, }: Readonly<{
9
+ /** The composer's shared control sizing. */
10
+ className: string;
11
+ }>): import("react").JSX.Element;
@@ -4,6 +4,9 @@
4
4
  * session, not just the active one, so REST not folded stream parts). Shows
5
5
  * tokens, time running, turns, tool calls, runtime + a per-turn table, with two
6
6
  * CSV exports.
7
+ *
8
+ * Plan 018 — tokens are WEIGHTED tokens, the one unit users see; the raw
9
+ * input / output split is not shown (nor exported).
7
10
  */
8
11
  export type SessionStatsPanelProps = {
9
12
  readonly sessionId: string | null;