@lumerahq/ui 0.11.1 → 0.11.3
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/dist/{RecordSheet-Bq03LrqX.js → RecordSheet-SDw564xp.js} +4 -4
- package/dist/{automations-Bb9nlU05.js → automations-DP-uLpqG.js} +10 -4
- package/dist/components/index.js +1 -1
- package/dist/{highlighted-body-OFNGDK62-CwDFJOT8.js → highlighted-body-OFNGDK62-7xB8r9be.js} +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.js +4 -4
- package/dist/lib/api.d.ts +17 -1
- package/dist/lib/api.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/mermaid-GHXKKRXX-D3I6gc8h.js +4 -0
- package/dist/{use-automation-run-DRIBPYHk.js → use-automation-run-BLpS4iVw.js} +1 -1
- package/dist/{use-sql-table-BgXH7Xzu.js → use-sql-table-E2BSyNpX.js} +1 -1
- package/package.json +1 -1
- package/dist/mermaid-GHXKKRXX-CB_DxMC9.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
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, a as useAgentChatSessions, b as useAutomationRun } from "./use-automation-run-
|
|
4
|
+
import { u as useAgentChat, a as useAgentChatSessions, b as useAutomationRun } from "./use-automation-run-BLpS4iVw.js";
|
|
5
5
|
import { t as twMerge, p as clsx, o as cn$2, a as formatCellValue$2 } from "./formatters-D4T821Dv.js";
|
|
6
|
-
import { f as getDownloadUrl, t as pbSql, p as parentApiRequest, d as parentApiStream, B as BridgeError, z as automationStatuses, L as getAutomationRunFileDownloadUrl, R as listAutomationRunFiles } from "./automations-
|
|
6
|
+
import { f as getDownloadUrl, t as pbSql, p as parentApiRequest, d as parentApiStream, B as BridgeError, z as automationStatuses, L as getAutomationRunFileDownloadUrl, R as listAutomationRunFiles } from "./automations-DP-uLpqG.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-
|
|
24013
|
+
}, cr = lazy(() => import("./highlighted-body-OFNGDK62-7xB8r9be.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-
|
|
24375
|
+
var es = /startLine=(\d+)/, ts = /\bnoLineNumbers\b/, os = lazy(() => import("./mermaid-GHXKKRXX-D3I6gc8h.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;
|
|
@@ -872,17 +872,23 @@ async function pbList(collection, options = {}) {
|
|
|
872
872
|
}
|
|
873
873
|
async function pbSearch(collection, query, options = {}) {
|
|
874
874
|
if (!collection) throw new Error("Collection is required");
|
|
875
|
-
const { page = 1, perPage = 20, sort, expand } = options;
|
|
875
|
+
const { page = 1, perPage = 20, filter, sort, expand, highlight, mode } = options;
|
|
876
876
|
const params = new URLSearchParams({
|
|
877
877
|
q: query,
|
|
878
878
|
page: String(page),
|
|
879
879
|
perPage: String(perPage)
|
|
880
880
|
});
|
|
881
|
+
if (filter) params.set("filter", filter);
|
|
881
882
|
if (sort) params.set("sort", sort);
|
|
882
883
|
if (expand) params.set("expand", expand);
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
884
|
+
if (highlight) params.set("highlight", "true");
|
|
885
|
+
if (mode) params.set("mode", mode);
|
|
886
|
+
return request$1(
|
|
887
|
+
`/pb/collections/${encodeURIComponent(collection)}/search?${params}`,
|
|
888
|
+
{
|
|
889
|
+
method: "GET"
|
|
890
|
+
}
|
|
891
|
+
);
|
|
886
892
|
}
|
|
887
893
|
async function pbCreate(collection, data) {
|
|
888
894
|
if (!collection) throw new Error("Collection is required");
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, e, j, k, n, o, D, p, q, R, T, b, c, d, f, g, h, i, l, u, w, m } from "../RecordSheet-
|
|
1
|
+
import { A, a, e, j, k, n, o, D, p, q, R, T, b, c, d, f, g, h, i, l, u, w, m } from "../RecordSheet-SDw564xp.js";
|
|
2
2
|
export {
|
|
3
3
|
A as AgentChat,
|
|
4
4
|
a as ArtifactCard,
|
package/dist/{highlighted-body-OFNGDK62-CwDFJOT8.js → highlighted-body-OFNGDK62-7xB8r9be.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as R$1, L as Li, t as At } from "./RecordSheet-
|
|
1
|
+
import { s as R$1, L as Li, t as At } from "./RecordSheet-SDw564xp.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 }) => {
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u, a, b } from "../use-automation-run-
|
|
2
|
-
import { u as u2, a as a2, b as b2, c, d, e } from "../use-sql-table-
|
|
1
|
+
import { u, a, b } from "../use-automation-run-BLpS4iVw.js";
|
|
2
|
+
import { u as u2, a as a2, b as b2, c, d, e } from "../use-sql-table-E2BSyNpX.js";
|
|
3
3
|
export {
|
|
4
4
|
u as useAgentChat,
|
|
5
5
|
a as useAgentChatSessions,
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A, a, e, j, k, n, o, D, p, q, R, T, b, c, d, f, g, h, i, l, u, w, m } from "./RecordSheet-
|
|
2
|
-
import { u as u2, a as a2, b as b2 } from "./use-automation-run-
|
|
3
|
-
import { u as u3, a as a3, b as b3, c as c2, d as d2, e as e2 } from "./use-sql-table-
|
|
4
|
-
import { B, E, z, b as b4, A as A2, C, D as D2, c as c3, F, G, H, I, g as g2, J, K, L, f as f2, M, O, N, a as a4, h as h2, P, i as i2, Q, R as R2, S, T as T2, U, o as o2, p as p2, d as d3, j as j2, k as k2, l as l2, m as m2, n as n2, q as q2, r, t, u as u4, v, w as w2, V, W, e as e3, x, s, y } from "./automations-
|
|
1
|
+
import { A, a, e, j, k, n, o, D, p, q, R, T, b, c, d, f, g, h, i, l, u, w, m } from "./RecordSheet-SDw564xp.js";
|
|
2
|
+
import { u as u2, a as a2, b as b2 } from "./use-automation-run-BLpS4iVw.js";
|
|
3
|
+
import { u as u3, a as a3, b as b3, c as c2, d as d2, e as e2 } from "./use-sql-table-E2BSyNpX.js";
|
|
4
|
+
import { B, E, z, b as b4, A as A2, C, D as D2, c as c3, F, G, H, I, g as g2, J, K, L, f as f2, M, O, N, a as a4, h as h2, P, i as i2, Q, R as R2, S, T as T2, U, o as o2, p as p2, d as d3, j as j2, k as k2, l as l2, m as m2, n as n2, q as q2, r, t, u as u4, v, w as w2, V, W, e as e3, x, s, y } from "./automations-DP-uLpqG.js";
|
|
5
5
|
import { o as o3, f as f3, a as a5, b as b5, c as c4, d as d4, e as e4, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, s as s2 } from "./formatters-D4T821Dv.js";
|
|
6
6
|
import { q as q3 } from "./query-client-DdOWay4_.js";
|
|
7
7
|
export {
|
package/dist/lib/api.d.ts
CHANGED
|
@@ -61,6 +61,22 @@ export type PbListResponse<T> = {
|
|
|
61
61
|
totalPages: number;
|
|
62
62
|
items: T[];
|
|
63
63
|
};
|
|
64
|
+
/** Ranked-search metadata added by FTS-enabled collections. */
|
|
65
|
+
export type PbSearchMetadata = {
|
|
66
|
+
rank: number;
|
|
67
|
+
match: 'fulltext' | 'fuzzy' | 'semantic';
|
|
68
|
+
/** Escaped text with only matching terms wrapped in <b> tags. */
|
|
69
|
+
headline?: string;
|
|
70
|
+
};
|
|
71
|
+
export type PbSearchResult<T extends PbRecord = PbRecord> = T & {
|
|
72
|
+
_search?: PbSearchMetadata;
|
|
73
|
+
};
|
|
74
|
+
export type PbSearchOptions = PbListOptions & {
|
|
75
|
+
/** Include an escaped, highlighted result snippet. */
|
|
76
|
+
highlight?: boolean;
|
|
77
|
+
/** Select lexical, semantic, or the default hybrid behavior. */
|
|
78
|
+
mode?: 'hybrid' | 'fulltext' | 'semantic';
|
|
79
|
+
};
|
|
64
80
|
/** Bulk operation result */
|
|
65
81
|
export type PbBulkResult = {
|
|
66
82
|
succeeded: number;
|
|
@@ -183,7 +199,7 @@ export declare function pbList<T extends PbRecord = PbRecord>(collection: string
|
|
|
183
199
|
* @example
|
|
184
200
|
* const results = await pbSearch<Product>('products', 'laptop', { perPage: 10 });
|
|
185
201
|
*/
|
|
186
|
-
export declare function pbSearch<T extends PbRecord = PbRecord>(collection: string, query: string, options?:
|
|
202
|
+
export declare function pbSearch<T extends PbRecord = PbRecord>(collection: string, query: string, options?: PbSearchOptions): Promise<PbListResponse<PbSearchResult<T>>>;
|
|
187
203
|
/**
|
|
188
204
|
* Create a new record.
|
|
189
205
|
*
|
package/dist/lib/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/lib/api.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAcH,mCAAmC;AACnC,MAAM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ridgeRequest, type BridgeResponse, type BridgeRuntimeConfig, type BridgeStream, type BridgeStreamHandlers, type BridgeStreamOpen, type BridgeStreamResponse, buildShareableAppUrl, configureBridge, EXPECTED_PARENT_ORIGIN, getAppProjectExternalId, getShareableAppUrl, type HostPayload, isEmbedded, onInitMessage, parentApiRequest, parentApiStream, postReadyMessage, type ShareableAppRouter, type ShareableAppUrlOptions, serializeBridgeRuntimeConfig, } from './bridge';
|
|
7
|
-
export { type EmailSendRequest, type EmailSendResult, type FileDescriptor, getDownloadUrl, getUploadUrl, type PbBulkResult, type PbListOptions, type PbListResponse, type PbRecord, type PbSqlRequest, type PbSqlResponse, pbBulkDelete, pbBulkUpdate, pbCreate, pbDelete, pbGet, pbList, pbSearch, pbSql, pbUpdate, pbUpdateRecord, pbUpsert, sendEmail, type UploadOptions, type UploadUrlResponse, uploadFile, } from './api';
|
|
7
|
+
export { type EmailSendRequest, type EmailSendResult, type FileDescriptor, getDownloadUrl, getUploadUrl, type PbBulkResult, type PbListOptions, type PbListResponse, type PbRecord, type PbSearchMetadata, type PbSearchOptions, type PbSearchResult, type PbSqlRequest, type PbSqlResponse, pbBulkDelete, pbBulkUpdate, pbCreate, pbDelete, pbGet, pbList, pbSearch, pbSql, pbUpdate, pbUpdateRecord, pbUpsert, sendEmail, type UploadOptions, type UploadUrlResponse, uploadFile, } from './api';
|
|
8
8
|
export { type Automation, type AutomationRun, type AutomationRunFile, type AutomationStatus, automationStatuses, type CreateRunOptions, cancelAutomationRun, cancelRun, clearAutomationCache, createAutomationRun, createRun, ensureAutomationRun, ensureRun, getAutomationByExternalId, getAutomationRun, getAutomationRunFileDownloadUrl, getRun, getRunFiles, getRunFileUrl, isActiveStatus, isTerminalStatus, type LegacyCreateRunOptions, type ListRunsOptions, listAutomationRunFiles, listRuns, listRunsByAgent, listRunsByExternalId, type PollOptions, pollAutomationRun, pollRun, } from './automations';
|
|
9
9
|
export { type ColumnType, type FileDescriptor as FormatterFileDescriptor, type FormatOptions, formatBoolean, formatCellValue, formatCurrency, formatDate, formatDateTime, formatEditor, formatFile, formatFileSize, formatJson, formatNumber, formatPercent, formatRelation, formatSelect, formatText, stripHtml, } from './formatters';
|
|
10
10
|
export { queryClient } from './query-client';
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAEL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,oBAAoB,EAEpB,eAAe,EAEf,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAElB,KAAK,WAAW,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAMlB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,cAAc,EAEd,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EAEnB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,YAAY,EAEZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EAER,KAAK,EACL,MAAM,EACN,QAAQ,EAER,KAAK,EACL,QAAQ,EAER,cAAc,EACd,QAAQ,EAER,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,UAAU,GACX,MAAM,OAAO,CAAC;AAMf,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,mBAAmB,EACnB,SAAS,EAET,oBAAoB,EAEpB,mBAAmB,EAEnB,SAAS,EACT,mBAAmB,EACnB,SAAS,EAET,yBAAyB,EACzB,gBAAgB,EAChB,+BAA+B,EAC/B,MAAM,EAEN,WAAW,EACX,aAAa,EACb,cAAc,EAEd,gBAAgB,EAChB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,sBAAsB,EACtB,QAAQ,EACR,eAAe,EACf,oBAAoB,EACpB,KAAK,WAAW,EAChB,iBAAiB,EACjB,OAAO,GACR,MAAM,eAAe,CAAC;AAMvB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,cAAc,IAAI,uBAAuB,EAC9C,KAAK,aAAa,EAClB,aAAa,EACb,eAAe,EACf,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,YAAY,EACZ,UAAU,EACV,SAAS,GACV,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAM7C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAEL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,oBAAoB,EAEpB,eAAe,EAEf,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAElB,KAAK,WAAW,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAMlB,OAAO,EACL,KAAK,gBAAgB,EACrB,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C;AAM7C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B, E, z, b, A, C, D, c, F, G, H, I, g, J, K, L, f, M, O, N, a, h, P, i, Q, R, S, T, U, o, p, d, j, k, l, m, n, q, r, t, u, v, w, V, W, e, x, s, y } from "../automations-
|
|
1
|
+
import { B, E, z, b, A, C, D, c, F, G, H, I, g, J, K, L, f, M, O, N, a, h, P, i, Q, R, S, T, U, o, p, d, j, k, l, m, n, q, r, t, u, v, w, V, W, e, x, s, y } from "../automations-DP-uLpqG.js";
|
|
2
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";
|
|
3
3
|
import { q as q2 } from "../query-client-DdOWay4_.js";
|
|
4
4
|
export {
|
|
@@ -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 { H as ensureAutomationRun, F as createAutomationRun, A as cancelAutomationRun, z as automationStatuses, K as getAutomationRun } from "./automations-
|
|
3
|
+
import { H as ensureAutomationRun, F as createAutomationRun, A as cancelAutomationRun, z as automationStatuses, K as getAutomationRun } from "./automations-DP-uLpqG.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,6 +1,6 @@
|
|
|
1
1
|
import { useQueryClient, useQuery, useMutation } from "@tanstack/react-query";
|
|
2
2
|
import { useState, useCallback, useEffect, useMemo } from "react";
|
|
3
|
-
import { T as listRunsByAgent, z as automationStatuses, F as createAutomationRun, y as uploadFile, o as onInitMessage, t as pbSql, v as pbUpdateRecord } from "./automations-
|
|
3
|
+
import { T as listRunsByAgent, z as automationStatuses, F as createAutomationRun, y as uploadFile, o as onInitMessage, t as pbSql, v as pbUpdateRecord } from "./automations-DP-uLpqG.js";
|
|
4
4
|
function useAutomationAgent({
|
|
5
5
|
agentId,
|
|
6
6
|
limit = 5,
|
package/package.json
CHANGED