@arbidocs/blocks 0.5.104 → 0.5.106

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 (81) hide show
  1. package/dist/{DocumentReviewCard-MSHD73S3.cjs → DocumentReviewCard-QVQ2LGFH.cjs} +3 -3
  2. package/dist/{DocumentReviewCard-MSHD73S3.cjs.map → DocumentReviewCard-QVQ2LGFH.cjs.map} +1 -1
  3. package/dist/{DocumentReviewCard-WZNBPG72.js → DocumentReviewCard-UOLXZKZE.js} +3 -3
  4. package/dist/{DocumentReviewCard-WZNBPG72.js.map → DocumentReviewCard-UOLXZKZE.js.map} +1 -1
  5. package/dist/{FilesViewerDialog-XETOHORQ.js → FilesViewerDialog-5ELQYWAZ.js} +3 -3
  6. package/dist/{FilesViewerDialog-XETOHORQ.js.map → FilesViewerDialog-5ELQYWAZ.js.map} +1 -1
  7. package/dist/{FilesViewerDialog-DV2U4USR.cjs → FilesViewerDialog-XNGHHWYS.cjs} +4 -4
  8. package/dist/{FilesViewerDialog-DV2U4USR.cjs.map → FilesViewerDialog-XNGHHWYS.cjs.map} +1 -1
  9. package/dist/{WorkspaceTableView-WD754UBK.js → WorkspaceTableView-DIMTW5P5.js} +4 -4
  10. package/dist/{WorkspaceTableView-WD754UBK.js.map → WorkspaceTableView-DIMTW5P5.js.map} +1 -1
  11. package/dist/{WorkspaceTableView-3D6SYOWT.cjs → WorkspaceTableView-HRCV6WR7.cjs} +6 -6
  12. package/dist/{WorkspaceTableView-3D6SYOWT.cjs.map → WorkspaceTableView-HRCV6WR7.cjs.map} +1 -1
  13. package/dist/{chunk-N77UYRV7.js → chunk-632JXVXY.js} +51 -26
  14. package/dist/chunk-632JXVXY.js.map +1 -0
  15. package/dist/{chunk-5R67KX2O.cjs → chunk-6XNWGOS3.cjs} +70 -19
  16. package/dist/chunk-6XNWGOS3.cjs.map +1 -0
  17. package/dist/{chunk-TQFDPCWU.js → chunk-7Q6EVFMT.js} +3 -3
  18. package/dist/{chunk-TQFDPCWU.js.map → chunk-7Q6EVFMT.js.map} +1 -1
  19. package/dist/{chunk-MMSHLHTA.cjs → chunk-LM5CPXJO.cjs} +51 -26
  20. package/dist/chunk-LM5CPXJO.cjs.map +1 -0
  21. package/dist/{chunk-DDIV3MYQ.cjs → chunk-MW7FGIF4.cjs} +25 -59
  22. package/dist/chunk-MW7FGIF4.cjs.map +1 -0
  23. package/dist/{chunk-BSPPKX6X.cjs → chunk-OXHAZN43.cjs} +4 -4
  24. package/dist/{chunk-BSPPKX6X.cjs.map → chunk-OXHAZN43.cjs.map} +1 -1
  25. package/dist/{chunk-4UOXUWX3.js → chunk-QFKL4HV2.js} +54 -3
  26. package/dist/chunk-QFKL4HV2.js.map +1 -0
  27. package/dist/{chunk-FNGFSHVE.js → chunk-TRI3LQVR.js} +24 -50
  28. package/dist/chunk-TRI3LQVR.js.map +1 -0
  29. package/dist/connect/index.cjs +1874 -1860
  30. package/dist/connect/index.cjs.map +1 -1
  31. package/dist/connect/index.js +1518 -1504
  32. package/dist/connect/index.js.map +1 -1
  33. package/dist/connect/viewer.cjs +1 -1
  34. package/dist/connect/viewer.js +1 -1
  35. package/dist/connection/billing/AddAddonDialog.d.ts +1 -1
  36. package/dist/connection/billing/CollaboratorPlan.d.ts +7 -0
  37. package/dist/connection/billing/ConnectedQuotaDialog.d.ts +2 -2
  38. package/dist/connection/billing/ConnectedWelcomeDialog.d.ts +2 -2
  39. package/dist/connection/billing/MonthlySpendCap.d.ts +12 -0
  40. package/dist/connection/billing/NewProjectFlow.d.ts +0 -7
  41. package/dist/connection/billing/ProjectBilling.d.ts +1 -1
  42. package/dist/connection/billing/ProjectDetail.d.ts +1 -1
  43. package/dist/connection/billing/ProjectPurchaseOptions.d.ts +22 -0
  44. package/dist/connection/billing/ProjectUsageCard.d.ts +0 -13
  45. package/dist/connection/billing/ProjectUsageContent.d.ts +3 -3
  46. package/dist/connection/billing/ReduceAddonDialog.d.ts +2 -2
  47. package/dist/connection/billing/StripeCheckoutModal.d.ts +5 -2
  48. package/dist/connection/billing/SubscriptionPlans.d.ts +2 -10
  49. package/dist/connection/billing/SubscriptionStatus.d.ts +1 -1
  50. package/dist/connection/billing/SuspendedProjectRecovery.d.ts +8 -0
  51. package/dist/connection/billing/addon-pricing.d.ts +6 -6
  52. package/dist/connection/billing/payment-required.d.ts +2 -2
  53. package/dist/connection/billing/plan-constants.d.ts +6 -4
  54. package/dist/connection/billing/plan-pricing.d.ts +5 -5
  55. package/dist/connection/billing/quota-items.d.ts +2 -2
  56. package/dist/connection/billing/useAddonPurchase.d.ts +1 -1
  57. package/dist/connection/billing/usePaidWorkspaceMembers.d.ts +397 -0
  58. package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +17 -1
  59. package/dist/embed/index.cjs +8 -8
  60. package/dist/embed/index.js +2 -2
  61. package/dist/settings/PlanCard.d.ts +2 -2
  62. package/dist/settings/SubscriptionParts.d.ts +3 -1
  63. package/dist/settings/index.cjs +150 -150
  64. package/dist/settings/index.js +1 -1
  65. package/dist/styles.css +1 -1
  66. package/dist/workflow-canvas/index.cjs +7 -7
  67. package/dist/workflow-canvas/index.js +2 -2
  68. package/node_modules/@arbidocs/coedit/package.json +1 -1
  69. package/package.json +6 -5
  70. package/src/blocks.css +2 -0
  71. package/src/connection/billing/project-purchase.css +453 -0
  72. package/dist/chunk-4UOXUWX3.js.map +0 -1
  73. package/dist/chunk-5R67KX2O.cjs.map +0 -1
  74. package/dist/chunk-DDIV3MYQ.cjs.map +0 -1
  75. package/dist/chunk-FNGFSHVE.js.map +0 -1
  76. package/dist/chunk-MMSHLHTA.cjs.map +0 -1
  77. package/dist/chunk-N77UYRV7.js.map +0 -1
  78. package/dist/connection/billing/CheckoutTotal.d.ts +0 -12
  79. package/dist/connection/billing/PlanSelector.d.ts +0 -50
  80. package/dist/connection/billing/billing-country.d.ts +0 -13
  81. package/dist/connection/billing/useCheckoutQuote.d.ts +0 -30
@@ -5,7 +5,7 @@ import { DocumentUser } from './chunk-E26MNOLG.js';
5
5
  import { buildFactCitations, citedVersionRef, chronologyFactBodies } from './chunk-CDDOLWSF.js';
6
6
  import { stripThinking } from './chunk-AZDPAV7E.js';
7
7
  import { ConnectedMarkdown, InternalDocLink, ExternalLink } from './chunk-3PV25ICC.js';
8
- import { MessageJsonTree, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, DeleteAccountDialog, toDeleteBlockerViews } from './chunk-N77UYRV7.js';
8
+ import { MessageJsonTree, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, DeleteAccountDialog, toDeleteBlockerViews } from './chunk-632JXVXY.js';
9
9
  import { ModalBreadcrumbHeader, ModalCrumbs } from './chunk-RC6VTY2H.js';
10
10
  import { SettingsSection, SettingsCard, SettingsActionRow, SettingsRow, SettingsDangerZone } from './chunk-PBQNZWSX.js';
11
11
  import { TIPS_VISIBILITY_OVERRIDE, setHintsSessionOverride } from './chunk-SK3GBHPJ.js';
@@ -1271,6 +1271,57 @@ var AgentStepsComponent = ({
1271
1271
  details.map((d, di) => /* @__PURE__ */ jsx(StepDetail, { index: step.index, children: d }, di)),
1272
1272
  showOutcome && /* @__PURE__ */ jsx(StepOutcome, { index: step.index, failed: outcomeFailed, children: step.outcome }),
1273
1273
  toolParams.length > 0 && /* @__PURE__ */ jsx(StepParams, { children: toolParams.map((p) => `${p.key}=${p.value}`).join(" ") }),
1274
+ step.routing && /* @__PURE__ */ jsxs("details", { className: "mt-1 text-xs text-muted-foreground", "data-testid": "routing-details", children: [
1275
+ /* @__PURE__ */ jsx("summary", { className: "cursor-pointer", children: "Routing details" }),
1276
+ /* @__PURE__ */ jsxs("dl", { className: "mt-2 space-y-2", children: [
1277
+ /* @__PURE__ */ jsxs("div", { children: [
1278
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "Answer model" }),
1279
+ /* @__PURE__ */ jsxs("dd", { children: [
1280
+ step.routing.selected_model,
1281
+ step.routing.model_recommendation ? ` (${step.routing.model_recommendation})` : ""
1282
+ ] })
1283
+ ] }),
1284
+ /* @__PURE__ */ jsxs("div", { children: [
1285
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "Default document search" }),
1286
+ /* @__PURE__ */ jsx("dd", { children: step.routing.selected_doc_ext_ids.length ? step.routing.selected_doc_ext_ids.map((id) => docInfo[id]?.name ?? step.routing.document_titles[id] ?? id).join(", ") : "No documents selected" }),
1287
+ /* @__PURE__ */ jsx("dd", { children: "The complete document catalogue remains available for direct reading." })
1288
+ ] }),
1289
+ /* @__PURE__ */ jsxs("div", { children: [
1290
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "Always available tools" }),
1291
+ /* @__PURE__ */ jsx("dd", { children: step.routing.always_available_tool_names.map((name) => name.replaceAll("_", " ")).join(", ") || "None" })
1292
+ ] }),
1293
+ /* @__PURE__ */ jsxs("div", { children: [
1294
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "Additional tools" }),
1295
+ /* @__PURE__ */ jsx("dd", { children: step.routing.selected_tool_names == null ? "All enabled tools retained" : step.routing.selected_tool_names.filter((name) => !step.routing.always_available_tool_names.includes(name)).map((name) => name.replaceAll("_", " ")).join(", ") || "None" })
1296
+ ] }),
1297
+ /* @__PURE__ */ jsxs("div", { children: [
1298
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "History" }),
1299
+ /* @__PURE__ */ jsxs("dd", { children: [
1300
+ step.routing.retained_message_ext_ids.length,
1301
+ " messages retained",
1302
+ step.routing.history_retained_by_policy ? "; full history preserved by policy" : ""
1303
+ ] })
1304
+ ] }),
1305
+ /* @__PURE__ */ jsxs("div", { children: [
1306
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "Router" }),
1307
+ /* @__PURE__ */ jsxs("dd", { children: [
1308
+ step.routing.router_model,
1309
+ " \xB7 ",
1310
+ step.routing.elapsed_seconds.toFixed(3),
1311
+ "s",
1312
+ step.routing.input_tokens != null ? ` \xB7 ${step.routing.input_tokens.toLocaleString()} input tokens` : ""
1313
+ ] })
1314
+ ] }),
1315
+ step.routing.status === "fallback" && /* @__PURE__ */ jsxs("div", { children: [
1316
+ /* @__PURE__ */ jsx("dt", { className: "font-medium", children: "Fallback" }),
1317
+ /* @__PURE__ */ jsxs("dd", { children: [
1318
+ "Context and authorized tools retained (",
1319
+ step.routing.fallback_reason ?? "router unavailable",
1320
+ ")."
1321
+ ] })
1322
+ ] })
1323
+ ] })
1324
+ ] }),
1274
1325
  criteriaView && /* @__PURE__ */ jsx(GoalCriteria, { criteria: criteriaView }),
1275
1326
  folded && folded.length > 0 && /* @__PURE__ */ jsx(
1276
1327
  SubStepGroup,
@@ -5029,5 +5080,5 @@ function ArbiChat({ apiUrl, deploymentDomain, className, ...props }) {
5029
5080
  }
5030
5081
 
5031
5082
  export { AgentSteps, AnswerTable, ArbiChat, AskAgainContext, ConnectedBranchControls, ConnectedCitationRenderer, ConnectedCompactConversation, ConnectedCompactLogin, ConnectedConversationDocumentPicker, ConnectedDangerZone, ConnectedEmbeddedChat, ConnectedForgotPassword, ConnectedIdentityVerification, ConnectedLoginPage, ConnectedLogoutDialog, ConnectedMessage, ConnectedMessageArea, ConnectedMessageList, ConnectedModelSelector, ConnectedNotificationPreferences, ConnectedPasswordChangeDialog, ConnectedProfileCard, ConnectedSecuritySection, ConnectedSessionsRow, ConnectedThreadsPreview, ConversationComposer2 as ConversationComposer, EmbeddedChatPanel, MessageDetailsModal, MessageLiveSeconds, PENDING_RECOVERY_KEY, PREMIUM_TIER_TAG, RunningSubagents, STANDARD_TIER_TAG, WorkflowStepMessage, backUpOnSignup, completeSsoSignIn, defaultHost, renderConnectedUser, renderSessionStatusIcon, resolveSsoName, ssoAccountStatus, useAuthPages, useContextualHints, useModelPicker, useOpenChunk, useOpenWorkspaceIcon, useSsoSignIn, useWorkspaceDocTitles };
5032
- //# sourceMappingURL=chunk-4UOXUWX3.js.map
5033
- //# sourceMappingURL=chunk-4UOXUWX3.js.map
5083
+ //# sourceMappingURL=chunk-QFKL4HV2.js.map
5084
+ //# sourceMappingURL=chunk-QFKL4HV2.js.map