@lumerahq/ui 0.19.6-dev.1 → 0.20.0-dev.0
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/CHANGELOG.md +38 -0
- package/README.md +29 -15
- package/dist/{RecordSheet-vH48DkJ9.js → RecordSheet-CzJyCMVB.js} +1343 -759
- package/dist/{audit-log-BFPtNHQh.js → audit-log-Dmzbqtc0.js} +5 -5
- package/dist/{automations-TTSbZaKC.js → automations-DD15itWa.js} +53 -53
- package/dist/components/agent-chat/ActivityStrip.d.ts +6 -1
- package/dist/components/agent-chat/ActivityStrip.d.ts.map +1 -1
- package/dist/components/agent-chat/AgentChat.d.ts +1 -1
- package/dist/components/agent-chat/AgentChat.d.ts.map +1 -1
- package/dist/components/agent-chat/AgentChatComposer.d.ts +8 -0
- package/dist/components/agent-chat/AgentChatComposer.d.ts.map +1 -0
- package/dist/components/agent-chat/AgentChatEmptyState.d.ts +9 -0
- package/dist/components/agent-chat/AgentChatEmptyState.d.ts.map +1 -0
- package/dist/components/agent-chat/AgentChatHeader.d.ts +4 -0
- package/dist/components/agent-chat/AgentChatHeader.d.ts.map +1 -0
- package/dist/components/agent-chat/AgentChatToast.d.ts +5 -0
- package/dist/components/agent-chat/AgentChatToast.d.ts.map +1 -0
- package/dist/components/agent-chat/AgentChatTranscript.d.ts +24 -0
- package/dist/components/agent-chat/AgentChatTranscript.d.ts.map +1 -0
- package/dist/components/agent-chat/AssistantTurn.d.ts +40 -0
- package/dist/components/agent-chat/AssistantTurn.d.ts.map +1 -0
- package/dist/components/agent-chat/DefaultContentBlock.d.ts +4 -0
- package/dist/components/agent-chat/DefaultContentBlock.d.ts.map +1 -0
- package/dist/components/agent-chat/Markdown.d.ts +2 -2
- package/dist/components/agent-chat/ReasoningLine.d.ts +10 -0
- package/dist/components/agent-chat/ReasoningLine.d.ts.map +1 -0
- package/dist/components/agent-chat/SystemMarker.d.ts +7 -0
- package/dist/components/agent-chat/SystemMarker.d.ts.map +1 -0
- package/dist/components/agent-chat/ToolStepsCard.d.ts +17 -0
- package/dist/components/agent-chat/ToolStepsCard.d.ts.map +1 -0
- package/dist/components/agent-chat/TurnStatus.d.ts +11 -0
- package/dist/components/agent-chat/TurnStatus.d.ts.map +1 -0
- package/dist/components/agent-chat/UserMessage.d.ts +4 -0
- package/dist/components/agent-chat/UserMessage.d.ts.map +1 -0
- package/dist/components/agent-chat/activity-utils.d.ts +35 -8
- package/dist/components/agent-chat/activity-utils.d.ts.map +1 -1
- package/dist/components/agent-chat/hooks/use-autosize-textarea.d.ts +4 -0
- package/dist/components/agent-chat/hooks/use-autosize-textarea.d.ts.map +1 -0
- package/dist/components/agent-chat/hooks/use-stick-to-bottom.d.ts +7 -0
- package/dist/components/agent-chat/hooks/use-stick-to-bottom.d.ts.map +1 -0
- package/dist/components/agent-chat/hooks/use-transient-toast.d.ts +7 -0
- package/dist/components/agent-chat/hooks/use-transient-toast.d.ts.map +1 -0
- package/dist/components/agent-chat/index.d.ts +2 -1
- package/dist/components/agent-chat/index.d.ts.map +1 -1
- package/dist/components/agent-chat/tool-renderers/ToolCallCard.d.ts +4 -1
- package/dist/components/agent-chat/tool-renderers/ToolCallCard.d.ts.map +1 -1
- package/dist/components/agent-chat/types.d.ts +87 -19
- package/dist/components/agent-chat/types.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +28 -27
- package/dist/{formatters-D4T821Dv.js → formatters-BuHr2I8Z.js} +12 -12
- package/dist/{highlighted-body-OFNGDK62-CRKUSFzd.js → highlighted-body-OFNGDK62-DuBXfvG-.js} +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/index.js +102 -101
- package/dist/lib/index.js +72 -72
- package/dist/mermaid-GHXKKRXX-ByaXZtzi.js +4 -0
- package/dist/ui.css +517 -63
- package/dist/{use-automation-run-DEqPHNJJ.js → use-automation-run-1Fd0EFiJ.js} +2 -2
- package/dist/{use-sql-table-DpHd0VWk.js → use-sql-table-_aMNbZ6w.js} +2 -2
- package/package.json +3 -2
- package/dist/mermaid-GHXKKRXX-Dl-OSxG-.js +0 -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 {
|
|
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;
|
|
@@ -572,7 +572,7 @@ function useAgentChat({
|
|
|
572
572
|
const othersActive = activeUserMessages(messagesRef.current).some((message) => message.requestId !== abortedId);
|
|
573
573
|
setMessages(
|
|
574
574
|
(current) => current.map(
|
|
575
|
-
(messageItem) => messageItem.role === "user" && messageItem.requestId === abortedId && isActiveStatus(messageItem.status) ? { ...messageItem, status: "
|
|
575
|
+
(messageItem) => messageItem.role === "user" && messageItem.requestId === abortedId && isActiveStatus(messageItem.status) ? { ...messageItem, status: "aborted" } : messageItem
|
|
576
576
|
)
|
|
577
577
|
);
|
|
578
578
|
setIsCompacting(false);
|
|
@@ -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 {
|
|
4
|
-
import { n as normalizeRecordAuditCollections,
|
|
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.
|
|
3
|
+
"version": "0.20.0-dev.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"./styles.css": "./dist/ui.css"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
|
-
"dist"
|
|
42
|
+
"dist",
|
|
43
|
+
"CHANGELOG.md"
|
|
43
44
|
],
|
|
44
45
|
"publishConfig": {
|
|
45
46
|
"access": "public"
|