@lumerahq/ui 0.19.6-dev.1 → 0.19.6

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.
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
- import React__default, { useContext, createContext, forwardRef, createElement, memo, useId as useId$1, useTransition, useMemo, useRef, useEffect, useState, cloneElement, isValidElement, useCallback, Suspense, lazy, Fragment as Fragment$1, useLayoutEffect } from "react";
4
- import { u as useAgentChat, b as useAgentChatSessions, a as areAgentChatMutationsBlocked, c as useAutomationRun } from "./use-automation-run-DEqPHNJJ.js";
5
- import { t as twMerge, p as clsx, o as cn$2, a as formatCellValue$2 } from "./formatters-D4T821Dv.js";
6
- import { A as pbSql, n as getDownloadUrl, p as parentApiRequest, k as parentApiStream, B as BridgeError, g as getAppProjectExternalId, a3 as resolveProjectResourceId, I as automationStatuses, S as getAutomationRunFileDownloadUrl, Y as listAutomationRunFiles } from "./automations-TTSbZaKC.js";
3
+ import React__default, { useContext, createContext, forwardRef, createElement, memo, useId as useId$1, useTransition, useMemo, useRef, useEffect, useState, isValidElement, cloneElement, useCallback, Suspense, lazy, Fragment as Fragment$1, useLayoutEffect } from "react";
4
+ import { u as useAgentChat, b as useAgentChatSessions, a as areAgentChatMutationsBlocked, c as useAutomationRun } from "./use-automation-run-BcXShLYo.js";
5
+ import { t as twMerge, p as clsx, c as cn$2, a as formatCellValue$2 } from "./formatters-BuHr2I8Z.js";
6
+ import { T as pbSql, o as getDownloadUrl, K as parentApiRequest, L as parentApiStream, B as BridgeError, k as getAppProjectExternalId, a3 as resolveProjectResourceId, a as automationStatuses, n as getAutomationRunFileDownloadUrl, D as listAutomationRunFiles } from "./automations-DD15itWa.js";
7
7
  import * as ReactDOM from "react-dom";
8
8
  import { createPortal } from "react-dom";
9
9
  const mergeClasses = (...classes) => classes.filter((className, index2, array) => {
@@ -24010,7 +24010,7 @@ var lr = (e) => {
24010
24010
  for (; t > 0 && e[t - 1] === `
24011
24011
  `; ) t--;
24012
24012
  return e.slice(0, t);
24013
- }, cr = lazy(() => import("./highlighted-body-OFNGDK62-CRKUSFzd.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), st = ({ code: e, language: t, className: o, children: n, isIncomplete: r = false, startLine: s2, lineNumbers: a, ...l }) => {
24013
+ }, cr = lazy(() => import("./highlighted-body-OFNGDK62-CC4-u9BC.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), st = ({ code: e, language: t, className: o, children: n, isIncomplete: r = false, startLine: s2, lineNumbers: a, ...l }) => {
24014
24014
  let i = y2(), d2 = useMemo(() => lr(e), [e]), c2 = useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: d2.split(`
24015
24015
  `).map((p2) => [{ content: p2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [d2]);
24016
24016
  return jsx(nt.Provider, { value: { code: e }, children: jsxs(ot, { isIncomplete: r, language: t, children: [jsx(rt, { language: t }), n ? jsx("div", { className: i("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"), children: jsx("div", { className: i("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"), "data-streamdown": "code-block-actions", children: n }) }) : null, jsx(Suspense, { fallback: jsx(At, { className: o, language: t, lineNumbers: a, result: c2, startLine: s2, ...l }), children: jsx(cr, { className: o, code: d2, language: t, lineNumbers: a, raw: c2, startLine: s2, ...l }) })] }) });
@@ -24372,7 +24372,7 @@ var vo = ({ children: e, className: t, showControls: o, showCopy: n = true, show
24372
24372
  let l = y2(), i = o && n, d2 = o && r, c2 = o && s2, p2 = i || d2 || c2;
24373
24373
  return jsxs("div", { className: l("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"), "data-streamdown": "table-wrapper", children: [p2 ? jsxs("div", { className: l("flex items-center justify-end gap-1"), children: [i ? jsx(Te, {}) : null, d2 ? jsx(Pe, {}) : null, c2 ? jsx(Co, { showCopy: i, showDownload: d2, children: e }) : null] }) : null, jsx("div", { className: l("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"), children: jsx("table", { className: l("w-full divide-y divide-border", t), "data-streamdown": "table", ...a, children: e }) })] });
24374
24374
  };
24375
- var es = /startLine=(\d+)/, ts = /\bnoLineNumbers\b/, os = lazy(() => import("./mermaid-GHXKKRXX-Dl-OSxG-.js").then((e) => ({ default: e.Mermaid }))), ns = /language-([^\s]+)/;
24375
+ var es = /startLine=(\d+)/, ts = /\bnoLineNumbers\b/, os = lazy(() => import("./mermaid-GHXKKRXX-BYF0ZrAE.js").then((e) => ({ default: e.Mermaid }))), ns = /language-([^\s]+)/;
24376
24376
  function qe(e, t) {
24377
24377
  if (!(e != null && e.position || t != null && t.position)) return true;
24378
24378
  if (!(e != null && e.position && (t != null && t.position))) return false;
@@ -41115,11 +41115,11 @@ function RecordSheet({
41115
41115
  }
41116
41116
  export {
41117
41117
  ActivityStrip as A,
41118
- AutomationRunList as B,
41119
- AutomationRunner as C,
41118
+ useDataSyncTransport as B,
41119
+ useToolRenderers as C,
41120
41120
  DataTable as D,
41121
- DataTableFilters as E,
41122
- DataTablePagination as F,
41121
+ warmCollectionCache as E,
41122
+ withDataSync as F,
41123
41123
  po as G,
41124
41124
  R as H,
41125
41125
  At as I,
@@ -41129,27 +41129,27 @@ export {
41129
41129
  AgentChat as a,
41130
41130
  AgentChatMarkdown as b,
41131
41131
  ArtifactCard as c,
41132
- activityDurationSeconds as d,
41133
- chatMarkdownComponents as e,
41134
- clipLabel as f,
41135
- createLumeraAgentChatTransport as g,
41136
- defaultToolRenderers as h,
41137
- encodeActivityLabels as i,
41138
- findRenderer as j,
41139
- getCollectionMap as k,
41140
- humanizeCollectionName as l,
41141
- isActivityBlock as m,
41142
- isExploratoryToolCallError as n,
41143
- isSessionActive as o,
41144
- parseSessionActivity as p,
41145
- ToolRenderersProvider as q,
41146
- AssistantChat as r,
41147
- summarizeActivityLabels as s,
41148
- AssistantPage as t,
41149
- useToolRenderers as u,
41150
- AssistantWidget as v,
41151
- warmCollectionCache as w,
41152
- isMutatingToolCall as x,
41153
- useDataSyncTransport as y,
41154
- withDataSync as z
41132
+ AssistantChat as d,
41133
+ AssistantPage as e,
41134
+ AssistantWidget as f,
41135
+ AutomationRunList as g,
41136
+ AutomationRunner as h,
41137
+ DataTableFilters as i,
41138
+ DataTablePagination as j,
41139
+ ToolRenderersProvider as k,
41140
+ activityDurationSeconds as l,
41141
+ chatMarkdownComponents as m,
41142
+ clipLabel as n,
41143
+ createLumeraAgentChatTransport as o,
41144
+ defaultToolRenderers as p,
41145
+ encodeActivityLabels as q,
41146
+ findRenderer as r,
41147
+ getCollectionMap as s,
41148
+ humanizeCollectionName as t,
41149
+ isActivityBlock as u,
41150
+ isExploratoryToolCallError as v,
41151
+ isMutatingToolCall as w,
41152
+ isSessionActive as x,
41153
+ parseSessionActivity as y,
41154
+ summarizeActivityLabels as z
41155
41155
  };
@@ -1,4 +1,4 @@
1
- import { a2 as requestApi } from "./automations-TTSbZaKC.js";
1
+ import { a2 as requestApi } from "./automations-DD15itWa.js";
2
2
  const RECORD_AUDIT_EXPORT_LIMIT = 1e4;
3
3
  const RECORD_AUDIT_MAX_COLLECTIONS = 20;
4
4
  const normalizeRecordAuditPageSize = (value = 50) => Math.min(200, Math.max(1, Math.trunc(value) || 50));
@@ -135,11 +135,11 @@ async function fetchRecordAuditLogCsv(params, maxRows = RECORD_AUDIT_EXPORT_LIMI
135
135
  }
136
136
  export {
137
137
  RECORD_AUDIT_EXPORT_LIMIT as R,
138
- buildRecordAuditLogPath as a,
138
+ RECORD_AUDIT_MAX_COLLECTIONS as a,
139
139
  buildRecordAuditCsv as b,
140
- normalizeRecordAuditExportLimit as c,
141
- normalizeRecordAuditPageSize as d,
142
- RECORD_AUDIT_MAX_COLLECTIONS as e,
140
+ buildRecordAuditLogPath as c,
141
+ normalizeRecordAuditExportLimit as d,
142
+ normalizeRecordAuditPageSize as e,
143
143
  fetchRecordAuditLogCsv as f,
144
144
  getRecordAuditLogSnapshot as g,
145
145
  listRecordAuditLog as l,
@@ -1569,62 +1569,62 @@ async function listRunsByExternalId(params) {
1569
1569
  });
1570
1570
  }
1571
1571
  export {
1572
- listRunsByExternalId as $,
1573
- pbSql as A,
1572
+ sendEmail as $,
1573
+ isOrganizationMember as A,
1574
1574
  BridgeError as B,
1575
- pbUpdate as C,
1576
- pbUpdateRecord as D,
1575
+ isTerminalStatus as C,
1576
+ listAutomationRunFiles as D,
1577
1577
  EXPECTED_PARENT_ORIGIN as E,
1578
- pbUpsert as F,
1579
- sendEmail as G,
1580
- uploadFile as H,
1581
- automationStatuses as I,
1582
- cancelAutomationRun as J,
1583
- cancelRun as K,
1584
- clearAutomationCache as L,
1585
- createAutomationRun as M,
1586
- createRun as N,
1587
- ensureAutomationRun as O,
1588
- ensureRun as P,
1589
- getAutomationByExternalId as Q,
1590
- getAutomationRun as R,
1591
- getAutomationRunFileDownloadUrl as S,
1592
- getRun as T,
1593
- getRunFiles as U,
1594
- getRunFileUrl as V,
1595
- isActiveStatus as W,
1596
- isTerminalStatus as X,
1597
- listAutomationRunFiles as Y,
1598
- listRuns as Z,
1599
- listRunsByAgent as _,
1600
- getShareableAppUrl as a,
1601
- pollAutomationRun as a0,
1602
- pollRun as a1,
1578
+ listRuns as F,
1579
+ listRunsByAgent as G,
1580
+ listRunsByExternalId as H,
1581
+ logout as I,
1582
+ onInitMessage as J,
1583
+ parentApiRequest as K,
1584
+ parentApiStream as L,
1585
+ pbBulkDelete as M,
1586
+ pbBulkUpdate as N,
1587
+ pbCreate as O,
1588
+ pbDelete as P,
1589
+ pbGet as Q,
1590
+ pbList as R,
1591
+ pbSearch as S,
1592
+ pbSql as T,
1593
+ pbUpdate as U,
1594
+ pbUpdateRecord as V,
1595
+ pbUpsert as W,
1596
+ pollAutomationRun as X,
1597
+ pollRun as Y,
1598
+ postReadyMessage as Z,
1599
+ redirectToLogin as _,
1600
+ automationStatuses as a,
1601
+ serializeBridgeRuntimeConfig as a0,
1602
+ uploadFile as a1,
1603
1603
  requestApi as a2,
1604
1604
  resolveProjectResourceId as a3,
1605
1605
  buildShareableAppUrl as b,
1606
- configureBridge as c,
1607
- getViewerContext as d,
1608
- isDepartment as e,
1609
- isEmbedded as f,
1610
- getAppProjectExternalId as g,
1611
- hasMemberTag as h,
1612
- isCompanyAdmin as i,
1613
- isOrganizationMember as j,
1614
- parentApiStream as k,
1615
- logout as l,
1616
- postReadyMessage as m,
1617
- getDownloadUrl as n,
1618
- onInitMessage as o,
1619
- parentApiRequest as p,
1620
- getUploadUrl as q,
1621
- redirectToLogin as r,
1622
- serializeBridgeRuntimeConfig as s,
1623
- pbBulkDelete as t,
1624
- pbBulkUpdate as u,
1625
- pbCreate as v,
1626
- pbDelete as w,
1627
- pbGet as x,
1628
- pbList as y,
1629
- pbSearch as z
1606
+ cancelAutomationRun as c,
1607
+ cancelRun as d,
1608
+ clearAutomationCache as e,
1609
+ configureBridge as f,
1610
+ createAutomationRun as g,
1611
+ createRun as h,
1612
+ ensureAutomationRun as i,
1613
+ ensureRun as j,
1614
+ getAppProjectExternalId as k,
1615
+ getAutomationByExternalId as l,
1616
+ getAutomationRun as m,
1617
+ getAutomationRunFileDownloadUrl as n,
1618
+ getDownloadUrl as o,
1619
+ getRun as p,
1620
+ getRunFileUrl as q,
1621
+ getRunFiles as r,
1622
+ getShareableAppUrl as s,
1623
+ getUploadUrl as t,
1624
+ getViewerContext as u,
1625
+ hasMemberTag as v,
1626
+ isActiveStatus as w,
1627
+ isCompanyAdmin as x,
1628
+ isDepartment as y,
1629
+ isEmbedded as z
1630
1630
  };
@@ -1,37 +1,37 @@
1
- import { A, a, b, c, r, t, v, B, C, D, E, F, R, T, q, d, e, f, g, h, i, j, k, l, m, n, x, o, p, s, y, u, w, z } from "../RecordSheet-vH48DkJ9.js";
1
+ import { A, a, b, c, d, e, f, g, h, D, i, j, R, T, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, C, E, F } from "../RecordSheet-YYdAQo89.js";
2
2
  export {
3
3
  A as ActivityStrip,
4
4
  a as AgentChat,
5
5
  b as AgentChatMarkdown,
6
6
  c as ArtifactCard,
7
- r as AssistantChat,
8
- t as AssistantPage,
9
- v as AssistantWidget,
10
- B as AutomationRunList,
11
- C as AutomationRunner,
7
+ d as AssistantChat,
8
+ e as AssistantPage,
9
+ f as AssistantWidget,
10
+ g as AutomationRunList,
11
+ h as AutomationRunner,
12
12
  D as DataTable,
13
- E as DataTableFilters,
14
- F as DataTablePagination,
13
+ i as DataTableFilters,
14
+ j as DataTablePagination,
15
15
  R as RecordSheet,
16
16
  T as ToolCallCard,
17
- q as ToolRenderersProvider,
18
- d as activityDurationSeconds,
19
- e as chatMarkdownComponents,
20
- f as clipLabel,
21
- g as createLumeraAgentChatTransport,
22
- h as defaultToolRenderers,
23
- i as encodeActivityLabels,
24
- j as findRenderer,
25
- k as getCollectionMap,
26
- l as humanizeCollectionName,
27
- m as isActivityBlock,
28
- n as isExploratoryToolCallError,
29
- x as isMutatingToolCall,
30
- o as isSessionActive,
31
- p as parseSessionActivity,
32
- s as summarizeActivityLabels,
33
- y as useDataSyncTransport,
34
- u as useToolRenderers,
35
- w as warmCollectionCache,
36
- z as withDataSync
17
+ k as ToolRenderersProvider,
18
+ l as activityDurationSeconds,
19
+ m as chatMarkdownComponents,
20
+ n as clipLabel,
21
+ o as createLumeraAgentChatTransport,
22
+ p as defaultToolRenderers,
23
+ q as encodeActivityLabels,
24
+ r as findRenderer,
25
+ s as getCollectionMap,
26
+ t as humanizeCollectionName,
27
+ u as isActivityBlock,
28
+ v as isExploratoryToolCallError,
29
+ w as isMutatingToolCall,
30
+ x as isSessionActive,
31
+ y as parseSessionActivity,
32
+ z as summarizeActivityLabels,
33
+ B as useDataSyncTransport,
34
+ C as useToolRenderers,
35
+ E as warmCollectionCache,
36
+ F as withDataSync
37
37
  };
@@ -3199,19 +3199,19 @@ function formatCellValue(value, type, options) {
3199
3199
  export {
3200
3200
  formatCellValue as a,
3201
3201
  formatCurrency as b,
3202
- formatDate as c,
3203
- formatDateTime as d,
3204
- formatEditor as e,
3202
+ cn as c,
3203
+ formatDate as d,
3204
+ formatDateTime as e,
3205
3205
  formatBoolean as f,
3206
- formatFile as g,
3207
- formatFileSize as h,
3208
- formatJson as i,
3209
- formatNumber as j,
3210
- formatPercent as k,
3211
- formatRelation as l,
3212
- formatSelect as m,
3213
- formatText as n,
3214
- cn as o,
3206
+ formatEditor as g,
3207
+ formatFile as h,
3208
+ formatFileSize as i,
3209
+ formatJson as j,
3210
+ formatNumber as k,
3211
+ formatPercent as l,
3212
+ formatRelation as m,
3213
+ formatSelect as n,
3214
+ formatText as o,
3215
3215
  clsx as p,
3216
3216
  stripHtml as s,
3217
3217
  twMerge as t
@@ -1,4 +1,4 @@
1
- import { H as R$1, L as Li, I as At } from "./RecordSheet-vH48DkJ9.js";
1
+ import { H as R$1, L as Li, I as At } from "./RecordSheet-YYdAQo89.js";
2
2
  import { useContext, useState, useEffect } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  var R = ({ code: s, language: e, raw: t, className: h, startLine: d, lineNumbers: m, ...p }) => {
@@ -1,5 +1,5 @@
1
- import { a, u, b, c } from "../use-automation-run-DEqPHNJJ.js";
2
- import { u as u2, a as a2, b as b2, c as c2, d, e, f, g } from "../use-sql-table-DpHd0VWk.js";
1
+ import { a, u, b, c } from "../use-automation-run-BcXShLYo.js";
2
+ import { u as u2, a as a2, b as b2, c as c2, d, e, f, g } from "../use-sql-table-_aMNbZ6w.js";
3
3
  export {
4
4
  a as areAgentChatMutationsBlocked,
5
5
  u as useAgentChat,
package/dist/index.js CHANGED
@@ -1,131 +1,131 @@
1
- import { A, a, b, c, r, t, v, B, C, D, E, F, R, T, q, d, e, f, g, h, i, j, k, l, m, n, x, o, p, s, y, u, w, z } from "./RecordSheet-vH48DkJ9.js";
2
- import { a as a2, u as u2, b as b2, c as c2 } from "./use-automation-run-DEqPHNJJ.js";
3
- import { u as u3, a as a3, b as b3, c as c3, d as d2, e as e2, f as f2, g as g2 } from "./use-sql-table-DpHd0VWk.js";
4
- import { B as B2, E as E2, I, b as b4, J, K, L, c as c4, M, N, O, P, g as g3, Q, R as R2, S, n as n2, T as T2, V, U, a as a4, q as q2, d as d3, h as h2, W, i as i2, e as e3, f as f3, j as j2, X, Y, Z, _, $, l as l2, o as o2, p as p2, k as k2, t as t2, u as u4, v as v2, w as w2, x as x2, y as y2, z as z2, A as A2, C as C2, D as D2, F as F2, a0, a1, m as m2, r as r2, G, s as s2, H } from "./automations-TTSbZaKC.js";
5
- import { o as o3, f as f4, a as a5, b as b5, c as c5, d as d4, e as e4, g as g4, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, s as s3 } from "./formatters-D4T821Dv.js";
1
+ import { A, a, b, c, d, e, f, g, h, D, i, j, R, T, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, C, E, F } from "./RecordSheet-YYdAQo89.js";
2
+ import { a as a2, u as u2, b as b2, c as c2 } from "./use-automation-run-BcXShLYo.js";
3
+ import { u as u3, a as a3, b as b3, c as c3, d as d2, e as e2, f as f2, g as g2 } from "./use-sql-table-_aMNbZ6w.js";
4
+ import { B as B2, E as E2, a as a4, b as b4, c as c4, d as d3, e as e3, f as f3, g as g3, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t2, u as u4, v as v2, w as w2, x as x2, y as y2, z as z2, A as A2, C as C2, D as D2, F as F2, G, H, I, J, K, L, M, N, O, P, Q, R as R2, S, T as T2, U, V, W, X, Y, Z, _, $, a0, a1 } from "./automations-DD15itWa.js";
5
+ import { c as c5, f as f4, a as a5, b as b5, d as d4, e as e4, g as g4, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, s as s3 } from "./formatters-BuHr2I8Z.js";
6
6
  import { q as q3 } from "./query-client-DdOWay4_.js";
7
- import { R as R3, e as e5, b as b6, a as a6, f as f5, g as g5, l as l4, n as n4, c as c6, d as d5, r as r3 } from "./audit-log-BFPtNHQh.js";
7
+ import { R as R3, a as a6, b as b6, c as c6, f as f5, g as g5, l as l4, n as n4, d as d5, e as e5, r as r3 } from "./audit-log-Dmzbqtc0.js";
8
8
  export {
9
9
  A as ActivityStrip,
10
10
  a as AgentChat,
11
11
  b as AgentChatMarkdown,
12
12
  c as ArtifactCard,
13
- r as AssistantChat,
14
- t as AssistantPage,
15
- v as AssistantWidget,
16
- B as AutomationRunList,
17
- C as AutomationRunner,
13
+ d as AssistantChat,
14
+ e as AssistantPage,
15
+ f as AssistantWidget,
16
+ g as AutomationRunList,
17
+ h as AutomationRunner,
18
18
  B2 as BridgeError,
19
19
  D as DataTable,
20
- E as DataTableFilters,
21
- F as DataTablePagination,
20
+ i as DataTableFilters,
21
+ j as DataTablePagination,
22
22
  E2 as EXPECTED_PARENT_ORIGIN,
23
23
  R3 as RECORD_AUDIT_EXPORT_LIMIT,
24
- e5 as RECORD_AUDIT_MAX_COLLECTIONS,
24
+ a6 as RECORD_AUDIT_MAX_COLLECTIONS,
25
25
  R as RecordSheet,
26
26
  T as ToolCallCard,
27
- q as ToolRenderersProvider,
28
- d as activityDurationSeconds,
27
+ k as ToolRenderersProvider,
28
+ l as activityDurationSeconds,
29
29
  a2 as areAgentChatMutationsBlocked,
30
- I as automationStatuses,
30
+ a4 as automationStatuses,
31
31
  b6 as buildRecordAuditCsv,
32
- a6 as buildRecordAuditLogPath,
32
+ c6 as buildRecordAuditLogPath,
33
33
  b4 as buildShareableAppUrl,
34
- J as cancelAutomationRun,
35
- K as cancelRun,
36
- e as chatMarkdownComponents,
37
- L as clearAutomationCache,
38
- f as clipLabel,
39
- o3 as cn,
40
- c4 as configureBridge,
41
- M as createAutomationRun,
42
- g as createLumeraAgentChatTransport,
43
- N as createRun,
44
- h as defaultToolRenderers,
45
- i as encodeActivityLabels,
46
- O as ensureAutomationRun,
47
- P as ensureRun,
34
+ c4 as cancelAutomationRun,
35
+ d3 as cancelRun,
36
+ m as chatMarkdownComponents,
37
+ e3 as clearAutomationCache,
38
+ n as clipLabel,
39
+ c5 as cn,
40
+ f3 as configureBridge,
41
+ g3 as createAutomationRun,
42
+ o as createLumeraAgentChatTransport,
43
+ h2 as createRun,
44
+ p as defaultToolRenderers,
45
+ q as encodeActivityLabels,
46
+ i2 as ensureAutomationRun,
47
+ j2 as ensureRun,
48
48
  f5 as fetchRecordAuditLogCsv,
49
- j as findRenderer,
49
+ r as findRenderer,
50
50
  f4 as formatBoolean,
51
51
  a5 as formatCellValue,
52
52
  b5 as formatCurrency,
53
- c5 as formatDate,
54
- d4 as formatDateTime,
55
- e4 as formatEditor,
56
- g4 as formatFile,
57
- h3 as formatFileSize,
58
- i3 as formatJson,
59
- j3 as formatNumber,
60
- k3 as formatPercent,
61
- l3 as formatRelation,
62
- m3 as formatSelect,
63
- n3 as formatText,
64
- g3 as getAppProjectExternalId,
65
- Q as getAutomationByExternalId,
66
- R2 as getAutomationRun,
67
- S as getAutomationRunFileDownloadUrl,
68
- k as getCollectionMap,
69
- n2 as getDownloadUrl,
53
+ d4 as formatDate,
54
+ e4 as formatDateTime,
55
+ g4 as formatEditor,
56
+ h3 as formatFile,
57
+ i3 as formatFileSize,
58
+ j3 as formatJson,
59
+ k3 as formatNumber,
60
+ l3 as formatPercent,
61
+ m3 as formatRelation,
62
+ n3 as formatSelect,
63
+ o3 as formatText,
64
+ k2 as getAppProjectExternalId,
65
+ l2 as getAutomationByExternalId,
66
+ m2 as getAutomationRun,
67
+ n2 as getAutomationRunFileDownloadUrl,
68
+ s as getCollectionMap,
69
+ o2 as getDownloadUrl,
70
70
  g5 as getRecordAuditLogSnapshot,
71
- T2 as getRun,
72
- V as getRunFileUrl,
73
- U as getRunFiles,
74
- a4 as getShareableAppUrl,
75
- q2 as getUploadUrl,
76
- d3 as getViewerContext,
77
- h2 as hasMemberTag,
78
- l as humanizeCollectionName,
79
- W as isActiveStatus,
80
- m as isActivityBlock,
81
- i2 as isCompanyAdmin,
82
- e3 as isDepartment,
83
- f3 as isEmbedded,
84
- n as isExploratoryToolCallError,
85
- x as isMutatingToolCall,
86
- j2 as isOrganizationMember,
87
- o as isSessionActive,
88
- X as isTerminalStatus,
89
- Y as listAutomationRunFiles,
71
+ p2 as getRun,
72
+ q2 as getRunFileUrl,
73
+ r2 as getRunFiles,
74
+ s2 as getShareableAppUrl,
75
+ t2 as getUploadUrl,
76
+ u4 as getViewerContext,
77
+ v2 as hasMemberTag,
78
+ t as humanizeCollectionName,
79
+ w2 as isActiveStatus,
80
+ u as isActivityBlock,
81
+ x2 as isCompanyAdmin,
82
+ y2 as isDepartment,
83
+ z2 as isEmbedded,
84
+ v as isExploratoryToolCallError,
85
+ w as isMutatingToolCall,
86
+ A2 as isOrganizationMember,
87
+ x as isSessionActive,
88
+ C2 as isTerminalStatus,
89
+ D2 as listAutomationRunFiles,
90
90
  l4 as listRecordAuditLog,
91
- Z as listRuns,
92
- _ as listRunsByAgent,
93
- $ as listRunsByExternalId,
94
- l2 as logout,
91
+ F2 as listRuns,
92
+ G as listRunsByAgent,
93
+ H as listRunsByExternalId,
94
+ I as logout,
95
95
  n4 as normalizeRecordAuditCollections,
96
- c6 as normalizeRecordAuditExportLimit,
97
- d5 as normalizeRecordAuditPageSize,
98
- o2 as onInitMessage,
99
- p2 as parentApiRequest,
100
- k2 as parentApiStream,
101
- p as parseSessionActivity,
102
- t2 as pbBulkDelete,
103
- u4 as pbBulkUpdate,
104
- v2 as pbCreate,
105
- w2 as pbDelete,
106
- x2 as pbGet,
107
- y2 as pbList,
108
- z2 as pbSearch,
109
- A2 as pbSql,
110
- C2 as pbUpdate,
111
- D2 as pbUpdateRecord,
112
- F2 as pbUpsert,
113
- a0 as pollAutomationRun,
114
- a1 as pollRun,
115
- m2 as postReadyMessage,
96
+ d5 as normalizeRecordAuditExportLimit,
97
+ e5 as normalizeRecordAuditPageSize,
98
+ J as onInitMessage,
99
+ K as parentApiRequest,
100
+ L as parentApiStream,
101
+ y as parseSessionActivity,
102
+ M as pbBulkDelete,
103
+ N as pbBulkUpdate,
104
+ O as pbCreate,
105
+ P as pbDelete,
106
+ Q as pbGet,
107
+ R2 as pbList,
108
+ S as pbSearch,
109
+ T2 as pbSql,
110
+ U as pbUpdate,
111
+ V as pbUpdateRecord,
112
+ W as pbUpsert,
113
+ X as pollAutomationRun,
114
+ Y as pollRun,
115
+ Z as postReadyMessage,
116
116
  q3 as queryClient,
117
117
  r3 as recordAuditActorLabel,
118
- r2 as redirectToLogin,
119
- G as sendEmail,
120
- s2 as serializeBridgeRuntimeConfig,
118
+ _ as redirectToLogin,
119
+ $ as sendEmail,
120
+ a0 as serializeBridgeRuntimeConfig,
121
121
  s3 as stripHtml,
122
- s as summarizeActivityLabels,
123
- H as uploadFile,
122
+ z as summarizeActivityLabels,
123
+ a1 as uploadFile,
124
124
  u2 as useAgentChat,
125
125
  b2 as useAgentChatSessions,
126
126
  u3 as useAutomationAgent,
127
127
  c2 as useAutomationRun,
128
- y as useDataSyncTransport,
128
+ B as useDataSyncTransport,
129
129
  a3 as useFileUpload,
130
130
  b3 as useLumeraUser,
131
131
  c3 as usePbSql,
@@ -133,7 +133,7 @@ export {
133
133
  e2 as useRecordAuditLog,
134
134
  f2 as useRecordAuditLogSnapshot,
135
135
  g2 as useSqlTable,
136
- u as useToolRenderers,
137
- w as warmCollectionCache,
138
- z as withDataSync
136
+ C as useToolRenderers,
137
+ E as warmCollectionCache,
138
+ F as withDataSync
139
139
  };
package/dist/lib/index.js CHANGED
@@ -1,90 +1,90 @@
1
- import { B, E, I, b, J, K, L, c, M, N, O, P, g, Q, R, S, n, T, V, U, a, q, d, h, W, i, e, f, j, X, Y, Z, _, $, l, o, p, k, t, u, v, w, x, y, z, A, C, D, F, a0, a1, m, r, G, s, H } from "../automations-TTSbZaKC.js";
2
- import { o as o2, f as f2, a as a2, b as b2, c as c2, d as d2, e as e2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, s as s2 } from "../formatters-D4T821Dv.js";
1
+ import { B, E, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, C, D, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1 } from "../automations-DD15itWa.js";
2
+ import { c as c2, f as f2, a as a2, b as b2, d as d2, e as e2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, s as s2 } from "../formatters-BuHr2I8Z.js";
3
3
  import { q as q2 } from "../query-client-DdOWay4_.js";
4
- import { R as R2, e as e3, b as b3, a as a3, f as f3, g as g3, l as l3, n as n3, c as c3, d as d3, r as r2 } from "../audit-log-BFPtNHQh.js";
4
+ import { R as R2, a as a3, b as b3, c as c3, f as f3, g as g3, l as l3, n as n3, d as d3, e as e3, r as r2 } from "../audit-log-Dmzbqtc0.js";
5
5
  export {
6
6
  B as BridgeError,
7
7
  E as EXPECTED_PARENT_ORIGIN,
8
8
  R2 as RECORD_AUDIT_EXPORT_LIMIT,
9
- e3 as RECORD_AUDIT_MAX_COLLECTIONS,
10
- I as automationStatuses,
9
+ a3 as RECORD_AUDIT_MAX_COLLECTIONS,
10
+ a as automationStatuses,
11
11
  b3 as buildRecordAuditCsv,
12
- a3 as buildRecordAuditLogPath,
12
+ c3 as buildRecordAuditLogPath,
13
13
  b as buildShareableAppUrl,
14
- J as cancelAutomationRun,
15
- K as cancelRun,
16
- L as clearAutomationCache,
17
- o2 as cn,
18
- c as configureBridge,
19
- M as createAutomationRun,
20
- N as createRun,
21
- O as ensureAutomationRun,
22
- P as ensureRun,
14
+ c as cancelAutomationRun,
15
+ d as cancelRun,
16
+ e as clearAutomationCache,
17
+ c2 as cn,
18
+ f as configureBridge,
19
+ g as createAutomationRun,
20
+ h as createRun,
21
+ i as ensureAutomationRun,
22
+ j as ensureRun,
23
23
  f3 as fetchRecordAuditLogCsv,
24
24
  f2 as formatBoolean,
25
25
  a2 as formatCellValue,
26
26
  b2 as formatCurrency,
27
- c2 as formatDate,
28
- d2 as formatDateTime,
29
- e2 as formatEditor,
30
- g2 as formatFile,
31
- h2 as formatFileSize,
32
- i2 as formatJson,
33
- j2 as formatNumber,
34
- k2 as formatPercent,
35
- l2 as formatRelation,
36
- m2 as formatSelect,
37
- n2 as formatText,
38
- g as getAppProjectExternalId,
39
- Q as getAutomationByExternalId,
40
- R as getAutomationRun,
41
- S as getAutomationRunFileDownloadUrl,
42
- n as getDownloadUrl,
27
+ d2 as formatDate,
28
+ e2 as formatDateTime,
29
+ g2 as formatEditor,
30
+ h2 as formatFile,
31
+ i2 as formatFileSize,
32
+ j2 as formatJson,
33
+ k2 as formatNumber,
34
+ l2 as formatPercent,
35
+ m2 as formatRelation,
36
+ n2 as formatSelect,
37
+ o2 as formatText,
38
+ k as getAppProjectExternalId,
39
+ l as getAutomationByExternalId,
40
+ m as getAutomationRun,
41
+ n as getAutomationRunFileDownloadUrl,
42
+ o as getDownloadUrl,
43
43
  g3 as getRecordAuditLogSnapshot,
44
- T as getRun,
45
- V as getRunFileUrl,
46
- U as getRunFiles,
47
- a as getShareableAppUrl,
48
- q as getUploadUrl,
49
- d as getViewerContext,
50
- h as hasMemberTag,
51
- W as isActiveStatus,
52
- i as isCompanyAdmin,
53
- e as isDepartment,
54
- f as isEmbedded,
55
- j as isOrganizationMember,
56
- X as isTerminalStatus,
57
- Y as listAutomationRunFiles,
44
+ p as getRun,
45
+ q as getRunFileUrl,
46
+ r as getRunFiles,
47
+ s as getShareableAppUrl,
48
+ t as getUploadUrl,
49
+ u as getViewerContext,
50
+ v as hasMemberTag,
51
+ w as isActiveStatus,
52
+ x as isCompanyAdmin,
53
+ y as isDepartment,
54
+ z as isEmbedded,
55
+ A as isOrganizationMember,
56
+ C as isTerminalStatus,
57
+ D as listAutomationRunFiles,
58
58
  l3 as listRecordAuditLog,
59
- Z as listRuns,
60
- _ as listRunsByAgent,
61
- $ as listRunsByExternalId,
62
- l as logout,
59
+ F as listRuns,
60
+ G as listRunsByAgent,
61
+ H as listRunsByExternalId,
62
+ I as logout,
63
63
  n3 as normalizeRecordAuditCollections,
64
- c3 as normalizeRecordAuditExportLimit,
65
- d3 as normalizeRecordAuditPageSize,
66
- o as onInitMessage,
67
- p as parentApiRequest,
68
- k as parentApiStream,
69
- t as pbBulkDelete,
70
- u as pbBulkUpdate,
71
- v as pbCreate,
72
- w as pbDelete,
73
- x as pbGet,
74
- y as pbList,
75
- z as pbSearch,
76
- A as pbSql,
77
- C as pbUpdate,
78
- D as pbUpdateRecord,
79
- F as pbUpsert,
80
- a0 as pollAutomationRun,
81
- a1 as pollRun,
82
- m as postReadyMessage,
64
+ d3 as normalizeRecordAuditExportLimit,
65
+ e3 as normalizeRecordAuditPageSize,
66
+ J as onInitMessage,
67
+ K as parentApiRequest,
68
+ L as parentApiStream,
69
+ M as pbBulkDelete,
70
+ N as pbBulkUpdate,
71
+ O as pbCreate,
72
+ P as pbDelete,
73
+ Q as pbGet,
74
+ R as pbList,
75
+ S as pbSearch,
76
+ T as pbSql,
77
+ U as pbUpdate,
78
+ V as pbUpdateRecord,
79
+ W as pbUpsert,
80
+ X as pollAutomationRun,
81
+ Y as pollRun,
82
+ Z as postReadyMessage,
83
83
  q2 as queryClient,
84
84
  r2 as recordAuditActorLabel,
85
- r as redirectToLogin,
86
- G as sendEmail,
87
- s as serializeBridgeRuntimeConfig,
85
+ _ as redirectToLogin,
86
+ $ as sendEmail,
87
+ a0 as serializeBridgeRuntimeConfig,
88
88
  s2 as stripHtml,
89
- H as uploadFile
89
+ a1 as uploadFile
90
90
  };
@@ -0,0 +1,4 @@
1
+ import { G as po } from "./RecordSheet-YYdAQo89.js";
2
+ export {
3
+ po as Mermaid
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useState, useRef, useCallback, useMemo } from "react";
2
2
  import { useQueryClient, useMutation, useQuery } from "@tanstack/react-query";
3
- import { O as ensureAutomationRun, M as createAutomationRun, J as cancelAutomationRun, I as automationStatuses, R as getAutomationRun } from "./automations-TTSbZaKC.js";
3
+ import { i as ensureAutomationRun, g as createAutomationRun, c as cancelAutomationRun, a as automationStatuses, m as getAutomationRun } from "./automations-DD15itWa.js";
4
4
  const QUEUED_DISCOVERY_POLL_MS = 2e3;
5
5
  const IDLE_DISCOVERY_POLL_MS = 1e4;
6
6
  const HIDDEN_DISCOVERY_POLL_MS = 3e4;
@@ -1,7 +1,7 @@
1
1
  import { useQueryClient, useQuery, useMutation, useInfiniteQuery } from "@tanstack/react-query";
2
2
  import { useState, useCallback, useEffect, useMemo } from "react";
3
- import { _ as listRunsByAgent, I as automationStatuses, M as createAutomationRun, H as uploadFile, o as onInitMessage, A as pbSql, D as pbUpdateRecord } from "./automations-TTSbZaKC.js";
4
- import { n as normalizeRecordAuditCollections, d as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-BFPtNHQh.js";
3
+ import { a as automationStatuses, G as listRunsByAgent, g as createAutomationRun, a1 as uploadFile, J as onInitMessage, T as pbSql, V as pbUpdateRecord } from "./automations-DD15itWa.js";
4
+ import { n as normalizeRecordAuditCollections, e as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-Dmzbqtc0.js";
5
5
  function useAutomationAgent({
6
6
  agentId,
7
7
  limit = 5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumerahq/ui",
3
- "version": "0.19.6-dev.1",
3
+ "version": "0.19.6",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -1,4 +0,0 @@
1
- import { G } from "./RecordSheet-vH48DkJ9.js";
2
- export {
3
- G as Mermaid
4
- };