@lumerahq/ui 0.19.1 → 0.19.2
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-C8SZKCr8.js → RecordSheet-CZ1jrBhN.js} +81 -34
- package/dist/{audit-log-DB8dfLNH.js → audit-log-CBcctM1l.js} +1 -1
- package/dist/{automations-CPIGfiMV.js → automations-C6SMookl.js} +37 -17
- package/dist/components/agent-chat/lumera-agent-transport.d.ts +3 -2
- package/dist/components/agent-chat/lumera-agent-transport.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{highlighted-body-OFNGDK62-sBuxehTp.js → highlighted-body-OFNGDK62-DReGUNtu.js} +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.js +5 -5
- package/dist/lib/automations.d.ts +1 -11
- package/dist/lib/automations.d.ts.map +1 -1
- package/dist/lib/index.js +2 -2
- package/dist/lib/project-resource-id.d.ts +3 -0
- package/dist/lib/project-resource-id.d.ts.map +1 -0
- package/dist/mermaid-GHXKKRXX-BT6HRm2v.js +4 -0
- package/dist/{use-automation-run-D0N4cCUe.js → use-automation-run-_7rjd8L4.js} +1 -1
- package/dist/{use-sql-table-BntxVZ3o.js → use-sql-table-DCe9zwOx.js} +2 -2
- package/package.json +1 -1
- package/dist/mermaid-GHXKKRXX-D0WLTgcA.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-_7rjd8L4.js";
|
|
5
5
|
import { t as twMerge, p as clsx, o as cn$2, a as formatCellValue$2 } from "./formatters-D4T821Dv.js";
|
|
6
|
-
import { v as pbSql, f as getDownloadUrl, p as parentApiRequest, d as parentApiStream, B as BridgeError, C as automationStatuses, N as getAutomationRunFileDownloadUrl, T as listAutomationRunFiles } from "./automations-
|
|
6
|
+
import { v as pbSql, f as getDownloadUrl, p as parentApiRequest, d as parentApiStream, B as BridgeError, g as getAppProjectExternalId, _ as resolveProjectResourceId, C as automationStatuses, N as getAutomationRunFileDownloadUrl, T as listAutomationRunFiles } from "./automations-C6SMookl.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-DReGUNtu.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-BT6HRm2v.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;
|
|
@@ -28240,31 +28240,71 @@ const DEFAULT_MAX_RECONNECTS = 30;
|
|
|
28240
28240
|
function createLumeraAgentChatTransport(options) {
|
|
28241
28241
|
const request = options.request ?? parentApiRequest;
|
|
28242
28242
|
const stream = options.stream ?? parentApiStream;
|
|
28243
|
-
const
|
|
28243
|
+
const resolvedAgentIds = /* @__PURE__ */ new Map();
|
|
28244
|
+
const lookupAgentId = async (agentId) => {
|
|
28245
|
+
const response = await request({
|
|
28246
|
+
method: "GET",
|
|
28247
|
+
url: `/api/agents/${encodeURIComponent(agentId)}/resolve`,
|
|
28248
|
+
timeout: 3e4
|
|
28249
|
+
});
|
|
28250
|
+
if (response.status === 404) return void 0;
|
|
28251
|
+
ensureBridgeOK(response, "Failed to resolve agent");
|
|
28252
|
+
const id = stringValue(isRecord(response.body) ? response.body.id : void 0);
|
|
28253
|
+
if (!id) throw new BridgeError("Invalid agent response", response.status, response);
|
|
28254
|
+
return id;
|
|
28255
|
+
};
|
|
28256
|
+
const resolveAgentId = (agentId) => {
|
|
28257
|
+
const reference = (agentId ?? options.agentId).trim();
|
|
28258
|
+
const projectExternalId = getAppProjectExternalId();
|
|
28259
|
+
const cacheKey = JSON.stringify([projectExternalId, reference]);
|
|
28260
|
+
const cached = resolvedAgentIds.get(cacheKey);
|
|
28261
|
+
if (cached) return cached;
|
|
28262
|
+
let usedCompatibilityFallback = false;
|
|
28263
|
+
const resolution = resolveProjectResourceId(reference, lookupAgentId, projectExternalId).catch((error2) => {
|
|
28264
|
+
if (!(error2 instanceof BridgeError) || error2.status !== 404) throw error2;
|
|
28265
|
+
usedCompatibilityFallback = true;
|
|
28266
|
+
return reference;
|
|
28267
|
+
});
|
|
28268
|
+
resolvedAgentIds.set(cacheKey, resolution);
|
|
28269
|
+
void resolution.then(
|
|
28270
|
+
() => {
|
|
28271
|
+
if (usedCompatibilityFallback && resolvedAgentIds.get(cacheKey) === resolution) {
|
|
28272
|
+
resolvedAgentIds.delete(cacheKey);
|
|
28273
|
+
}
|
|
28274
|
+
},
|
|
28275
|
+
() => {
|
|
28276
|
+
if (resolvedAgentIds.get(cacheKey) === resolution) resolvedAgentIds.delete(cacheKey);
|
|
28277
|
+
}
|
|
28278
|
+
);
|
|
28279
|
+
return resolution;
|
|
28280
|
+
};
|
|
28244
28281
|
const resolveSessionId = (sessionId) => sessionId ?? options.sessionId ?? DEFAULT_SESSION_ID;
|
|
28245
28282
|
return {
|
|
28246
28283
|
loadAgent: async ({ agentId }) => {
|
|
28284
|
+
const resolvedAgentId = await resolveAgentId(agentId);
|
|
28247
28285
|
const response = await request({
|
|
28248
28286
|
method: "GET",
|
|
28249
|
-
url: `/api/agents/${encodeURIComponent(
|
|
28287
|
+
url: `/api/agents/${encodeURIComponent(resolvedAgentId)}`,
|
|
28250
28288
|
timeout: 3e4
|
|
28251
28289
|
});
|
|
28252
28290
|
ensureBridgeOK(response, "Failed to load agent profile");
|
|
28253
28291
|
return parseAgentProfile(response.body);
|
|
28254
28292
|
},
|
|
28255
28293
|
listSessions: async ({ agentId }) => {
|
|
28294
|
+
const resolvedAgentId = await resolveAgentId(agentId);
|
|
28256
28295
|
const response = await request({
|
|
28257
28296
|
method: "GET",
|
|
28258
|
-
url: `/api/agents/${encodeURIComponent(
|
|
28297
|
+
url: `/api/agents/${encodeURIComponent(resolvedAgentId)}/sessions`,
|
|
28259
28298
|
timeout: 3e4
|
|
28260
28299
|
});
|
|
28261
28300
|
ensureBridgeOK(response, "Failed to list agent sessions");
|
|
28262
28301
|
return parseSessionListResult(response.body);
|
|
28263
28302
|
},
|
|
28264
28303
|
renameSession: async ({ agentId, sessionId, name: name2 }) => {
|
|
28304
|
+
const resolvedAgentId = await resolveAgentId(agentId);
|
|
28265
28305
|
const response = await request({
|
|
28266
28306
|
method: "PATCH",
|
|
28267
|
-
url: `/api/agents/${encodeURIComponent(
|
|
28307
|
+
url: `/api/agents/${encodeURIComponent(resolvedAgentId)}/sessions/${encodeURIComponent(sessionId)}`,
|
|
28268
28308
|
headers: { "Content-Type": "application/json" },
|
|
28269
28309
|
body: { name: name2 },
|
|
28270
28310
|
timeout: 3e4
|
|
@@ -28275,35 +28315,27 @@ function createLumeraAgentChatTransport(options) {
|
|
|
28275
28315
|
return session;
|
|
28276
28316
|
},
|
|
28277
28317
|
loadHistory: async ({ agentId, sessionId, limit, beforeCursor }) => {
|
|
28318
|
+
const resolvedAgentId = await resolveAgentId(agentId);
|
|
28278
28319
|
const response = await request({
|
|
28279
28320
|
method: "GET",
|
|
28280
|
-
url: buildHistoryUrl(
|
|
28281
|
-
resolveAgentId(agentId),
|
|
28282
|
-
resolveSessionId(sessionId),
|
|
28283
|
-
limit ?? options.historyLimit,
|
|
28284
|
-
beforeCursor
|
|
28285
|
-
),
|
|
28321
|
+
url: buildHistoryUrl(resolvedAgentId, resolveSessionId(sessionId), limit ?? options.historyLimit, beforeCursor),
|
|
28286
28322
|
timeout: 3e4
|
|
28287
28323
|
});
|
|
28288
28324
|
ensureBridgeOK(response, "Failed to load agent history");
|
|
28289
28325
|
return parseHistoryResult(response.body);
|
|
28290
28326
|
},
|
|
28291
28327
|
loadEarlier: async ({ agentId, sessionId, limit, beforeCursor }) => {
|
|
28328
|
+
const resolvedAgentId = await resolveAgentId(agentId);
|
|
28292
28329
|
const response = await request({
|
|
28293
28330
|
method: "GET",
|
|
28294
|
-
url: buildHistoryUrl(
|
|
28295
|
-
resolveAgentId(agentId),
|
|
28296
|
-
resolveSessionId(sessionId),
|
|
28297
|
-
limit ?? options.historyLimit,
|
|
28298
|
-
beforeCursor
|
|
28299
|
-
),
|
|
28331
|
+
url: buildHistoryUrl(resolvedAgentId, resolveSessionId(sessionId), limit ?? options.historyLimit, beforeCursor),
|
|
28300
28332
|
timeout: 3e4
|
|
28301
28333
|
});
|
|
28302
28334
|
ensureBridgeOK(response, "Failed to load earlier agent history");
|
|
28303
28335
|
return parseHistoryResult(response.body);
|
|
28304
28336
|
},
|
|
28305
28337
|
sendMessage: async (input) => {
|
|
28306
|
-
const agentId = resolveAgentId(input.metadata?.agentId);
|
|
28338
|
+
const agentId = await resolveAgentId(input.metadata?.agentId);
|
|
28307
28339
|
const sessionId = resolveSessionId(input.sessionId);
|
|
28308
28340
|
const body = await buildStartBody(input, sessionId, options);
|
|
28309
28341
|
const response = await request({
|
|
@@ -28324,24 +28356,38 @@ function createLumeraAgentChatTransport(options) {
|
|
|
28324
28356
|
return parseSubmitResult(response.body, input, sessionId);
|
|
28325
28357
|
},
|
|
28326
28358
|
subscribe: ({ agentId, sessionId, requestId }, handlers2) => {
|
|
28327
|
-
|
|
28328
|
-
|
|
28329
|
-
|
|
28330
|
-
|
|
28331
|
-
|
|
28332
|
-
|
|
28333
|
-
|
|
28334
|
-
|
|
28335
|
-
|
|
28336
|
-
|
|
28337
|
-
|
|
28359
|
+
let closed = false;
|
|
28360
|
+
let active;
|
|
28361
|
+
void resolveAgentId(agentId).then((resolvedAgentId) => {
|
|
28362
|
+
if (closed) return;
|
|
28363
|
+
active = subscribeToLiveStream({
|
|
28364
|
+
agentId: resolvedAgentId,
|
|
28365
|
+
sessionId: resolveSessionId(sessionId),
|
|
28366
|
+
requestId,
|
|
28367
|
+
stream,
|
|
28368
|
+
handlers: handlers2,
|
|
28369
|
+
waitMs: options.streamWaitMs ?? DEFAULT_STREAM_WAIT_MS,
|
|
28370
|
+
reconnectDelayMs: options.reconnectDelayMs ?? DEFAULT_RECONNECT_DELAY_MS,
|
|
28371
|
+
maxReconnects: options.maxReconnects ?? DEFAULT_MAX_RECONNECTS
|
|
28372
|
+
});
|
|
28373
|
+
}).catch((error2) => {
|
|
28374
|
+
if (closed) return;
|
|
28375
|
+
handlers2.onError?.(error2);
|
|
28376
|
+
handlers2.onClose?.();
|
|
28338
28377
|
});
|
|
28378
|
+
return {
|
|
28379
|
+
close: () => {
|
|
28380
|
+
closed = true;
|
|
28381
|
+
active?.close();
|
|
28382
|
+
}
|
|
28383
|
+
};
|
|
28339
28384
|
},
|
|
28340
28385
|
uploadFile: async (file, context) => {
|
|
28386
|
+
const resolvedAgentId = await resolveAgentId(context?.agentId);
|
|
28341
28387
|
const base64 = await fileToBase64(file);
|
|
28342
28388
|
const response = await request({
|
|
28343
28389
|
method: "POST",
|
|
28344
|
-
url: `/api/agents/${encodeURIComponent(
|
|
28390
|
+
url: `/api/agents/${encodeURIComponent(resolvedAgentId)}/upload?${new URLSearchParams({
|
|
28345
28391
|
session_id: resolveSessionId(context?.sessionId)
|
|
28346
28392
|
}).toString()}`,
|
|
28347
28393
|
headers: { "Content-Type": file.type || "application/octet-stream" },
|
|
@@ -28355,9 +28401,10 @@ function createLumeraAgentChatTransport(options) {
|
|
|
28355
28401
|
return parseUploadResult(response.body, file);
|
|
28356
28402
|
},
|
|
28357
28403
|
abort: async ({ agentId, sessionId }) => {
|
|
28404
|
+
const resolvedAgentId = await resolveAgentId(agentId);
|
|
28358
28405
|
const response = await request({
|
|
28359
28406
|
method: "POST",
|
|
28360
|
-
url: `/api/agents/${encodeURIComponent(
|
|
28407
|
+
url: `/api/agents/${encodeURIComponent(resolvedAgentId)}/abort?${new URLSearchParams({
|
|
28361
28408
|
session_id: resolveSessionId(sessionId)
|
|
28362
28409
|
}).toString()}`,
|
|
28363
28410
|
timeout: 3e4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as requestApi } from "./automations-
|
|
1
|
+
import { Z as requestApi } from "./automations-C6SMookl.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));
|
|
@@ -1194,6 +1194,20 @@ async function sendEmail(options) {
|
|
|
1194
1194
|
async function pbUpdateRecord(collectionId, recordId, data) {
|
|
1195
1195
|
return pbUpdate(collectionId, recordId, data);
|
|
1196
1196
|
}
|
|
1197
|
+
function qualifyProjectResourceExternalId(reference, projectExternalId = getAppProjectExternalId()) {
|
|
1198
|
+
const value = reference.trim();
|
|
1199
|
+
return value.includes(":") || !projectExternalId ? value : `${projectExternalId}:${value}`;
|
|
1200
|
+
}
|
|
1201
|
+
async function resolveProjectResourceId(reference, lookup, projectExternalId = getAppProjectExternalId()) {
|
|
1202
|
+
const value = reference.trim();
|
|
1203
|
+
if (!value) throw new Error("Resource ID is required");
|
|
1204
|
+
if (value.includes(":") || !projectExternalId) return value;
|
|
1205
|
+
const qualified = await lookup(`${projectExternalId}:${value}`);
|
|
1206
|
+
if (qualified) return qualified;
|
|
1207
|
+
const internal = await lookup(value);
|
|
1208
|
+
if (internal) return internal;
|
|
1209
|
+
throw new BridgeError(`Resource not found: ${value}`, 404);
|
|
1210
|
+
}
|
|
1197
1211
|
const API_PREFIX = "/api";
|
|
1198
1212
|
const ALL_STATUSES = [
|
|
1199
1213
|
"preparing",
|
|
@@ -1213,7 +1227,9 @@ const isActiveStatus = (status) => ACTIVE_STATUSES.includes(status);
|
|
|
1213
1227
|
const automationIdCache = /* @__PURE__ */ new Map();
|
|
1214
1228
|
function clearAutomationCache(externalId) {
|
|
1215
1229
|
if (externalId) {
|
|
1216
|
-
|
|
1230
|
+
const value = externalId.trim();
|
|
1231
|
+
automationIdCache.delete(value);
|
|
1232
|
+
automationIdCache.delete(qualifyProjectResourceExternalId(value));
|
|
1217
1233
|
} else {
|
|
1218
1234
|
automationIdCache.clear();
|
|
1219
1235
|
}
|
|
@@ -1252,30 +1268,33 @@ const request = async (path, options) => {
|
|
|
1252
1268
|
}
|
|
1253
1269
|
return parseResponseBody(response);
|
|
1254
1270
|
};
|
|
1255
|
-
async function
|
|
1256
|
-
if (!externalId) throw new Error("External ID is required");
|
|
1271
|
+
async function findAutomationByExternalId(externalId) {
|
|
1257
1272
|
const cached = automationIdCache.get(externalId);
|
|
1258
1273
|
if (cached) return cached;
|
|
1259
1274
|
const response = await request(
|
|
1260
1275
|
`/automations?external_id=${encodeURIComponent(externalId)}&limit=1`,
|
|
1261
1276
|
{ method: "GET" }
|
|
1262
1277
|
);
|
|
1263
|
-
const
|
|
1264
|
-
if (
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1278
|
+
const id = response.automations?.[0]?.id;
|
|
1279
|
+
if (id) automationIdCache.set(externalId, id);
|
|
1280
|
+
return id;
|
|
1281
|
+
}
|
|
1282
|
+
async function getAutomationByExternalId(externalId) {
|
|
1283
|
+
const value = externalId.trim();
|
|
1284
|
+
if (!value) throw new Error("External ID is required");
|
|
1285
|
+
const qualified = qualifyProjectResourceExternalId(value);
|
|
1286
|
+
const id = await findAutomationByExternalId(qualified) ?? (qualified !== value ? await findAutomationByExternalId(value) : void 0);
|
|
1287
|
+
if (!id) throw new BridgeError(`Automation not found with external_id: ${value}`, 404);
|
|
1288
|
+
return id;
|
|
1269
1289
|
}
|
|
1270
1290
|
async function resolveAutomationId(automationId) {
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
return
|
|
1277
|
-
}
|
|
1278
|
-
return automationId;
|
|
1291
|
+
automationId = automationId.trim();
|
|
1292
|
+
if (!automationId) throw new Error("Automation ID is required");
|
|
1293
|
+
if (automationId.includes(":")) return getAutomationByExternalId(automationId);
|
|
1294
|
+
return resolveProjectResourceId(automationId, async (reference) => {
|
|
1295
|
+
if (reference.includes(":")) return findAutomationByExternalId(reference);
|
|
1296
|
+
return await findAutomationByExternalId(reference) ?? reference;
|
|
1297
|
+
});
|
|
1279
1298
|
}
|
|
1280
1299
|
async function createRun(options) {
|
|
1281
1300
|
const { automationId, inputs, externalId, trigger, metadata } = options;
|
|
@@ -1461,6 +1480,7 @@ export {
|
|
|
1461
1480
|
pollAutomationRun as X,
|
|
1462
1481
|
pollRun as Y,
|
|
1463
1482
|
requestApi as Z,
|
|
1483
|
+
resolveProjectResourceId as _,
|
|
1464
1484
|
getShareableAppUrl as a,
|
|
1465
1485
|
buildShareableAppUrl as b,
|
|
1466
1486
|
configureBridge as c,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { BridgeRequest, BridgeResponse, BridgeStream, parentApiStream } from '../../lib/bridge';
|
|
2
|
-
import { AgentChatMetadata, AgentChatSubmitInput, AgentChatTransport } from './types';
|
|
1
|
+
import { BridgeRequest, BridgeResponse, BridgeStream, parentApiStream } from '../../lib/bridge.js';
|
|
2
|
+
import { AgentChatMetadata, AgentChatSubmitInput, AgentChatTransport } from './types.js';
|
|
3
3
|
export interface LumeraAgentChatTransportOptions {
|
|
4
|
+
/** Internal ID, bare external ID, or qualified external ID. */
|
|
4
5
|
agentId: string;
|
|
5
6
|
sessionId?: string;
|
|
6
7
|
historyLimit?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lumera-agent-transport.d.ts","sourceRoot":"","sources":["../../../src/components/agent-chat/lumera-agent-transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"lumera-agent-transport.d.ts","sourceRoot":"","sources":["../../../src/components/agent-chat/lumera-agent-transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAA0D,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG9G,OAAO,KAAK,EAQV,iBAAiB,EAOjB,oBAAoB,EAIpB,kBAAkB,EAEnB,MAAM,YAAY,CAAC;AAQpB,MAAM,WAAW,+BAA+B;IAC9C,+DAA+D;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpG,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IAC9D,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,0BAA0B,KAAK,YAAY,CAAC;CACzF;AAED,KAAK,0BAA0B,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AAkGxE,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,+BAA+B,GACvC,kBAAkB,CAAC,iBAAiB,EAAE,OAAO,EAAE,OAAO,CAAC,CAyLzD"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CZ1jrBhN.js";
|
|
2
2
|
export {
|
|
3
3
|
A as ActivityStrip,
|
|
4
4
|
a as AgentChat,
|
package/dist/{highlighted-body-OFNGDK62-sBuxehTp.js → highlighted-body-OFNGDK62-DReGUNtu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as R$1, L as Li, I as At } from "./RecordSheet-
|
|
1
|
+
import { H as R$1, L as Li, I as At } from "./RecordSheet-CZ1jrBhN.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, f, g } from "../use-sql-table-
|
|
1
|
+
import { u, a, b } from "../use-automation-run-_7rjd8L4.js";
|
|
2
|
+
import { u as u2, a as a2, b as b2, c, d, e, f, g } from "../use-sql-table-DCe9zwOx.js";
|
|
3
3
|
export {
|
|
4
4
|
u as useAgentChat,
|
|
5
5
|
a as useAgentChatSessions,
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
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, f as f2, g as g2 } from "./use-sql-table-
|
|
4
|
-
import { B as B2, E as E2, C as C2, b as b4, D as D2, F as F2, G, c as c3, H, I, J, K, g as g3, L, M, N, f as f3, O, Q, P, a as a4, h as h2, R as R2, i as i2, S, T as T2, U, V, W, l as l2, o as o2, p as p2, d as d3, j as j2, k as k2, m as m2, n as n2, q as q2, t as t2, u as u4, v as v2, w as w2, x as x2, y as y2, X, Y, e as e3, r as r2, z as z2, s as s2, A as A2 } from "./automations-
|
|
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-CZ1jrBhN.js";
|
|
2
|
+
import { u as u2, a as a2, b as b2 } from "./use-automation-run-_7rjd8L4.js";
|
|
3
|
+
import { u as u3, a as a3, b as b3, c as c2, d as d2, e as e2, f as f2, g as g2 } from "./use-sql-table-DCe9zwOx.js";
|
|
4
|
+
import { B as B2, E as E2, C as C2, b as b4, D as D2, F as F2, G, c as c3, H, I, J, K, g as g3, L, M, N, f as f3, O, Q, P, a as a4, h as h2, R as R2, i as i2, S, T as T2, U, V, W, l as l2, o as o2, p as p2, d as d3, j as j2, k as k2, m as m2, n as n2, q as q2, t as t2, u as u4, v as v2, w as w2, x as x2, y as y2, X, Y, e as e3, r as r2, z as z2, s as s2, A as A2 } from "./automations-C6SMookl.js";
|
|
5
5
|
import { o as o3, f as f4, a as a5, b as b5, c as c4, 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";
|
|
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 c5, d as d5, r as r3 } from "./audit-log-
|
|
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 c5, d as d5, r as r3 } from "./audit-log-CBcctM1l.js";
|
|
8
8
|
export {
|
|
9
9
|
A as ActivityStrip,
|
|
10
10
|
a as AgentChat,
|
|
@@ -53,7 +53,7 @@ export type AutomationRunFile = {
|
|
|
53
53
|
};
|
|
54
54
|
/** Options for creating a run */
|
|
55
55
|
export type CreateRunOptions = {
|
|
56
|
-
/**
|
|
56
|
+
/** Internal ID, bare external ID, or qualified external ID */
|
|
57
57
|
automationId: string;
|
|
58
58
|
/** Input parameters for the automation */
|
|
59
59
|
inputs: Record<string, unknown>;
|
|
@@ -102,16 +102,6 @@ export type PollOptions = {
|
|
|
102
102
|
* clearAutomationCache();
|
|
103
103
|
*/
|
|
104
104
|
export declare function clearAutomationCache(externalId?: string): void;
|
|
105
|
-
/**
|
|
106
|
-
* Get automation ID by external_id.
|
|
107
|
-
* Results are cached to avoid repeated lookups.
|
|
108
|
-
*
|
|
109
|
-
* @param externalId - The external_id of the automation
|
|
110
|
-
* @returns The internal automation ID
|
|
111
|
-
*
|
|
112
|
-
* @example
|
|
113
|
-
* const id = await getAutomationByExternalId('my_app:process_data');
|
|
114
|
-
*/
|
|
115
105
|
export declare function getAutomationByExternalId(externalId: string): Promise<string>;
|
|
116
106
|
/**
|
|
117
107
|
* Create and start a new automation run.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../src/lib/automations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../src/lib/automations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAeH,iFAAiF;AACjF,QAAA,MAAM,YAAY,qHAUR,CAAC;AAEX,4BAA4B;AAC5B,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAQ7D;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,gBAAgB,KAAG,OAA6C,CAAC;AAE1G;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,gBAAgB,KAAG,OAA2C,CAAC;AAEtG,4BAA4B;AAC5B,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,qBAAqB;AACrB,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,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AED,8DAA8D;AAC9D,wBAAsB,oBAAoB,CAAC,MAAM,EAAE;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAM3B"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B, E, C, b, D, F, G, c, H, I, J, K, g, L, M, N, f, O, Q, P, a, h, R, i, S, T, U, V, W, l, o, p, d, j, k, m, n, q, t, u, v, w, x, y, X, Y, e, r, z, s, A } from "../automations-
|
|
1
|
+
import { B, E, C, b, D, F, G, c, H, I, J, K, g, L, M, N, f, O, Q, P, a, h, R, i, S, T, U, V, W, l, o, p, d, j, k, m, n, q, t, u, v, w, x, y, X, Y, e, r, z, s, A } from "../automations-C6SMookl.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
|
-
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-
|
|
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-CBcctM1l.js";
|
|
5
5
|
export {
|
|
6
6
|
B as BridgeError,
|
|
7
7
|
E as EXPECTED_PARENT_ORIGIN,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function qualifyProjectResourceExternalId(reference: string, projectExternalId?: string | undefined): string;
|
|
2
|
+
export declare function resolveProjectResourceId(reference: string, lookup: (reference: string) => Promise<string | undefined>, projectExternalId?: string | undefined): Promise<string>;
|
|
3
|
+
//# sourceMappingURL=project-resource-id.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-resource-id.d.ts","sourceRoot":"","sources":["../../src/lib/project-resource-id.ts"],"names":[],"mappings":"AAEA,wBAAgB,gCAAgC,CAC9C,SAAS,EAAE,MAAM,EACjB,iBAAiB,qBAA4B,GAC5C,MAAM,CAGR;AAED,wBAAsB,wBAAwB,CAC5C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,EAC1D,iBAAiB,qBAA4B,GAC5C,OAAO,CAAC,MAAM,CAAC,CAYjB"}
|
|
@@ -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 { J as ensureAutomationRun, H as createAutomationRun, D as cancelAutomationRun, C as automationStatuses, M as getAutomationRun } from "./automations-
|
|
3
|
+
import { J as ensureAutomationRun, H as createAutomationRun, D as cancelAutomationRun, C as automationStatuses, M as getAutomationRun } from "./automations-C6SMookl.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 { V as listRunsByAgent, C as automationStatuses, H as createAutomationRun, A as uploadFile, o as onInitMessage, v as pbSql, x as pbUpdateRecord } from "./automations-
|
|
4
|
-
import { n as normalizeRecordAuditCollections, d as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-
|
|
3
|
+
import { V as listRunsByAgent, C as automationStatuses, H as createAutomationRun, A as uploadFile, o as onInitMessage, v as pbSql, x as pbUpdateRecord } from "./automations-C6SMookl.js";
|
|
4
|
+
import { n as normalizeRecordAuditCollections, d as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-CBcctM1l.js";
|
|
5
5
|
function useAutomationAgent({
|
|
6
6
|
agentId,
|
|
7
7
|
limit = 5,
|
package/package.json
CHANGED