@assistant-ui/react-devtools 1.2.19 → 1.2.21
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/DevToolsModal.d.ts +10 -13
- package/dist/DevToolsModal.d.ts.map +1 -1
- package/dist/DevToolsModalImpl.d.ts +3 -5
- package/dist/DevToolsModalImpl.d.ts.map +1 -1
- package/dist/data/createInProcessClient.d.ts +3 -6
- package/dist/data/createInProcessClient.d.ts.map +1 -1
- package/dist/data/projectApi.d.ts +6 -8
- package/dist/data/projectApi.d.ts.map +1 -1
- package/dist/data/projectApi.js +2 -2
- package/dist/data/projectApi.js.map +1 -1
- package/dist/data/types.d.ts +33 -35
- package/dist/data/types.d.ts.map +1 -1
- package/dist/data/useDevToolsClient.d.ts +7 -10
- package/dist/data/useDevToolsClient.d.ts.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -0
- package/dist/shell/DevToolsOverlay.d.ts +7 -10
- package/dist/shell/DevToolsOverlay.d.ts.map +1 -1
- package/dist/shell/DevToolsPanel.d.ts +12 -15
- package/dist/shell/DevToolsPanel.d.ts.map +1 -1
- package/dist/shell/ShadowRoot.d.ts +7 -10
- package/dist/shell/ShadowRoot.d.ts.map +1 -1
- package/dist/shell/SplitLayout.d.ts +13 -16
- package/dist/shell/SplitLayout.d.ts.map +1 -1
- package/dist/shell/registry.d.ts +34 -37
- package/dist/shell/registry.d.ts.map +1 -1
- package/dist/shell/tabs/ActivityTab.d.ts +2 -5
- package/dist/shell/tabs/ActivityTab.d.ts.map +1 -1
- package/dist/shell/tabs/ContextTab.d.ts +2 -5
- package/dist/shell/tabs/ContextTab.d.ts.map +1 -1
- package/dist/shell/tabs/RawTab.d.ts +2 -5
- package/dist/shell/tabs/RawTab.d.ts.map +1 -1
- package/dist/shell/tabs/ThreadTab.d.ts +2 -5
- package/dist/shell/tabs/ThreadTab.d.ts.map +1 -1
- package/dist/shell/tabs/navSelection.d.ts +1 -4
- package/dist/shell/tabs/navSelection.d.ts.map +1 -1
- package/dist/styles/panel.generated.d.ts +1 -4
- package/dist/styles/panel.generated.d.ts.map +1 -1
- package/dist/types.d.ts +6 -9
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/common.d.ts +13 -16
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/diff.d.ts +6 -9
- package/dist/utils/diff.d.ts.map +1 -1
- package/dist/utils/serialization.d.ts +7 -10
- package/dist/utils/serialization.d.ts.map +1 -1
- package/dist/utils/serialization.js +17 -0
- package/dist/utils/serialization.js.map +1 -1
- package/dist/utils/toolNormalization.d.ts +14 -17
- package/dist/utils/toolNormalization.d.ts.map +1 -1
- package/dist/utils/unserializable.d.ts +2 -5
- package/dist/utils/unserializable.d.ts.map +1 -1
- package/dist/views/activity/EventLogRow.d.ts +12 -15
- package/dist/views/activity/EventLogRow.d.ts.map +1 -1
- package/dist/views/activity/EventStreamPane.d.ts +3 -6
- package/dist/views/activity/EventStreamPane.d.ts.map +1 -1
- package/dist/views/activity/OrphansPane.d.ts +3 -6
- package/dist/views/activity/OrphansPane.d.ts.map +1 -1
- package/dist/views/activity/RunDetailPane.d.ts +3 -6
- package/dist/views/activity/RunDetailPane.d.ts.map +1 -1
- package/dist/views/activity/activityNodes.d.ts +29 -32
- package/dist/views/activity/activityNodes.d.ts.map +1 -1
- package/dist/views/activity/index.d.ts +7 -6
- package/dist/views/activity/index.d.ts.map +1 -0
- package/dist/views/attachments/AttachmentList.d.ts +5 -8
- package/dist/views/attachments/AttachmentList.d.ts.map +1 -1
- package/dist/views/attachments/MediaPartView.d.ts +10 -13
- package/dist/views/attachments/MediaPartView.d.ts.map +1 -1
- package/dist/views/attachments/formatBytes.d.ts +3 -6
- package/dist/views/attachments/formatBytes.d.ts.map +1 -1
- package/dist/views/attachments/index.d.ts +5 -5
- package/dist/views/attachments/index.d.ts.map +1 -0
- package/dist/views/attachments/parseAttachment.d.ts +3 -6
- package/dist/views/attachments/parseAttachment.d.ts.map +1 -1
- package/dist/views/attachments/types.d.ts +12 -15
- package/dist/views/attachments/types.d.ts.map +1 -1
- package/dist/views/context/ContextDetail.d.ts +5 -8
- package/dist/views/context/ContextDetail.d.ts.map +1 -1
- package/dist/views/context/ToolUIsView.d.ts +2 -5
- package/dist/views/context/ToolUIsView.d.ts.map +1 -1
- package/dist/views/context/contextNodes.d.ts +21 -24
- package/dist/views/context/contextNodes.d.ts.map +1 -1
- package/dist/views/context/index.d.ts +5 -4
- package/dist/views/context/index.d.ts.map +1 -0
- package/dist/views/mcp/McpView.d.ts +3 -6
- package/dist/views/mcp/McpView.d.ts.map +1 -1
- package/dist/views/mcp/index.d.ts +2 -2
- package/dist/views/mcp/index.d.ts.map +1 -0
- package/dist/views/mcp/parse.d.ts +2 -5
- package/dist/views/mcp/parse.d.ts.map +1 -1
- package/dist/views/mcp/types.d.ts +15 -18
- package/dist/views/mcp/types.d.ts.map +1 -1
- package/dist/views/message/ChainOfThought.d.ts +3 -6
- package/dist/views/message/ChainOfThought.d.ts.map +1 -1
- package/dist/views/message/MessageDetailPane.d.ts +4 -7
- package/dist/views/message/MessageDetailPane.d.ts.map +1 -1
- package/dist/views/message/MessageItem.d.ts +5 -8
- package/dist/views/message/MessageItem.d.ts.map +1 -1
- package/dist/views/message/MessageList.d.ts +4 -7
- package/dist/views/message/MessageList.d.ts.map +1 -1
- package/dist/views/message/MessageMetrics.d.ts +3 -6
- package/dist/views/message/MessageMetrics.d.ts.map +1 -1
- package/dist/views/message/MessageTimeline.d.ts +7 -10
- package/dist/views/message/MessageTimeline.d.ts.map +1 -1
- package/dist/views/message/PartDisclosure.d.ts +6 -9
- package/dist/views/message/PartDisclosure.d.ts.map +1 -1
- package/dist/views/message/PartView.d.ts +4 -7
- package/dist/views/message/PartView.d.ts.map +1 -1
- package/dist/views/message/RoleLabel.d.ts +3 -6
- package/dist/views/message/RoleLabel.d.ts.map +1 -1
- package/dist/views/message/StatusBadge.d.ts +7 -10
- package/dist/views/message/StatusBadge.d.ts.map +1 -1
- package/dist/views/message/ToolCallView.d.ts +4 -7
- package/dist/views/message/ToolCallView.d.ts.map +1 -1
- package/dist/views/message/TtftBar.d.ts +3 -6
- package/dist/views/message/TtftBar.d.ts.map +1 -1
- package/dist/views/message/index.d.ts +6 -6
- package/dist/views/message/index.d.ts.map +1 -0
- package/dist/views/message/messagePlainText.d.ts +2 -5
- package/dist/views/message/messagePlainText.d.ts.map +1 -1
- package/dist/views/message/parse.d.ts +5 -8
- package/dist/views/message/parse.d.ts.map +1 -1
- package/dist/views/message/types.d.ts +108 -110
- package/dist/views/message/types.d.ts.map +1 -1
- package/dist/views/model-context/ModelContextView.d.ts +9 -12
- package/dist/views/model-context/ModelContextView.d.ts.map +1 -1
- package/dist/views/nav.d.ts +10 -13
- package/dist/views/nav.d.ts.map +1 -1
- package/dist/views/raw/RawDetail.d.ts +5 -8
- package/dist/views/raw/RawDetail.d.ts.map +1 -1
- package/dist/views/raw/index.d.ts +4 -3
- package/dist/views/raw/index.d.ts.map +1 -0
- package/dist/views/raw/rawNodes.d.ts +13 -16
- package/dist/views/raw/rawNodes.d.ts.map +1 -1
- package/dist/views/raw/statePreview.d.ts +1 -4
- package/dist/views/raw/statePreview.d.ts.map +1 -1
- package/dist/views/runs/PayloadDiff.d.ts +3 -6
- package/dist/views/runs/PayloadDiff.d.ts.map +1 -1
- package/dist/views/runs/parse.d.ts +3 -6
- package/dist/views/runs/parse.d.ts.map +1 -1
- package/dist/views/runs/types.d.ts +18 -21
- package/dist/views/runs/types.d.ts.map +1 -1
- package/dist/views/scopes/ScopesView.d.ts +2 -5
- package/dist/views/scopes/ScopesView.d.ts.map +1 -1
- package/dist/views/scopes/index.d.ts +2 -2
- package/dist/views/scopes/index.d.ts.map +1 -0
- package/dist/views/scopes/parse.d.ts +2 -5
- package/dist/views/scopes/parse.d.ts.map +1 -1
- package/dist/views/scopes/types.d.ts +5 -8
- package/dist/views/scopes/types.d.ts.map +1 -1
- package/dist/views/thread/ComposerAttachments.d.ts +3 -6
- package/dist/views/thread/ComposerAttachments.d.ts.map +1 -1
- package/dist/views/thread/ComposerFlags.d.ts +3 -6
- package/dist/views/thread/ComposerFlags.d.ts.map +1 -1
- package/dist/views/thread/ComposerQueue.d.ts +3 -6
- package/dist/views/thread/ComposerQueue.d.ts.map +1 -1
- package/dist/views/thread/ConversationList.d.ts +7 -10
- package/dist/views/thread/ConversationList.d.ts.map +1 -1
- package/dist/views/thread/ConversationStatusDot.d.ts +12 -15
- package/dist/views/thread/ConversationStatusDot.d.ts.map +1 -1
- package/dist/views/thread/ThreadDetails.d.ts +4 -7
- package/dist/views/thread/ThreadDetails.d.ts.map +1 -1
- package/dist/views/thread/Transcript.d.ts +8 -11
- package/dist/views/thread/Transcript.d.ts.map +1 -1
- package/dist/views/thread/index.d.ts +10 -10
- package/dist/views/thread/index.d.ts.map +1 -0
- package/dist/views/thread/resolve.d.ts +3 -6
- package/dist/views/thread/resolve.d.ts.map +1 -1
- package/dist/views/thread/types.d.ts +40 -42
- package/dist/views/thread/types.d.ts.map +1 -1
- package/dist/views/thread/utils.d.ts +5 -8
- package/dist/views/thread/utils.d.ts.map +1 -1
- package/dist/views/ui/CenteredMessage.d.ts +3 -6
- package/dist/views/ui/CenteredMessage.d.ts.map +1 -1
- package/dist/views/ui/Chip.d.ts +4 -7
- package/dist/views/ui/Chip.d.ts.map +1 -1
- package/dist/views/ui/ControlButton.d.ts +2 -5
- package/dist/views/ui/ControlButton.d.ts.map +1 -1
- package/dist/views/ui/CopyButton.d.ts +7 -10
- package/dist/views/ui/CopyButton.d.ts.map +1 -1
- package/dist/views/ui/EmptyState.d.ts +3 -6
- package/dist/views/ui/EmptyState.d.ts.map +1 -1
- package/dist/views/ui/InfoCard.d.ts +6 -9
- package/dist/views/ui/InfoCard.d.ts.map +1 -1
- package/dist/views/ui/JSONTree.d.ts +4 -7
- package/dist/views/ui/JSONTree.d.ts.map +1 -1
- package/dist/views/ui/PaneHeader.d.ts +8 -11
- package/dist/views/ui/PaneHeader.d.ts.map +1 -1
- package/dist/views/ui/RailTime.d.ts +3 -6
- package/dist/views/ui/RailTime.d.ts.map +1 -1
- package/dist/views/ui/SectionLabel.d.ts +3 -6
- package/dist/views/ui/SectionLabel.d.ts.map +1 -1
- package/dist/views/ui/SelectableRow.d.ts +8 -11
- package/dist/views/ui/SelectableRow.d.ts.map +1 -1
- package/dist/views/ui/Sparkline.d.ts +3 -6
- package/dist/views/ui/Sparkline.d.ts.map +1 -1
- package/dist/views/ui/SummaryItem.d.ts +6 -9
- package/dist/views/ui/SummaryItem.d.ts.map +1 -1
- package/dist/views/ui/ToneBadge.d.ts +7 -10
- package/dist/views/ui/ToneBadge.d.ts.map +1 -1
- package/dist/views/ui/badgeTone.d.ts +13 -16
- package/dist/views/ui/badgeTone.d.ts.map +1 -1
- package/dist/views/ui/getInlineJson.d.ts +1 -4
- package/dist/views/ui/getInlineJson.d.ts.map +1 -1
- package/dist/views/ui/index.d.ts +17 -16
- package/dist/views/ui/index.d.ts.map +1 -0
- package/dist/views/ui/useCopyToClipboard.d.ts +4 -7
- package/dist/views/ui/useCopyToClipboard.d.ts.map +1 -1
- package/package.json +14 -13
- package/src/data/projectApi.test.ts +41 -0
- package/src/data/projectApi.ts +2 -2
- package/src/utils/serialization.test.ts +81 -0
- package/src/utils/serialization.ts +36 -0
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { RunPreview } from "../runs/types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
run: RunPreview;
|
|
1
|
+
import type { RunPreview } from "../runs/types.js";
|
|
2
|
+
export declare const RunDetailPane: ({ run }: {
|
|
3
|
+
run: RunPreview;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { RunDetailPane };
|
|
8
5
|
//# sourceMappingURL=RunDetailPane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunDetailPane.d.ts","
|
|
1
|
+
{"version":3,"file":"RunDetailPane.d.ts","sourceRoot":"","sources":["../../../src/views/activity/RunDetailPane.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAiB,UAAU,EAAE,yBAAsB;AAiE/D,eAAO,MAAM,aAAa,GAAI,SAAS;IAAE,GAAG,EAAE,UAAU,CAAA;CAAE,gCA0DzD,CAAC"}
|
|
@@ -1,38 +1,35 @@
|
|
|
1
|
-
import { EventLogEntry } from "../../data/types.js";
|
|
2
|
-
import { RunEventEntry, RunPreview } from "../runs/types.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
kind: "stream";
|
|
1
|
+
import type { EventLogEntry } from "../../data/types.js";
|
|
2
|
+
import type { RunEventEntry, RunPreview } from "../runs/types.js";
|
|
3
|
+
export type ActivityNode = {
|
|
4
|
+
id: "activity:stream";
|
|
5
|
+
kind: "stream";
|
|
7
6
|
} | {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
id: "activity:orphans";
|
|
8
|
+
kind: "orphans";
|
|
9
|
+
events: readonly RunEventEntry[];
|
|
11
10
|
} | {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
id: `activity:run:${string}`;
|
|
12
|
+
kind: "run";
|
|
13
|
+
run: RunPreview;
|
|
15
14
|
};
|
|
16
|
-
declare const buildActivityNav: (logs: readonly EventLogEntry[]) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
export declare const buildActivityNav: (logs: readonly EventLogEntry[]) => {
|
|
16
|
+
nodes: ActivityNode[];
|
|
17
|
+
runs: readonly RunPreview[];
|
|
18
|
+
orphans: readonly RunEventEntry[];
|
|
20
19
|
};
|
|
21
|
-
declare const findActivityNode: (nodes: readonly ActivityNode[], nodeId: string | null) => ActivityNode | undefined;
|
|
22
|
-
declare const defaultActivitySelection: (nodes: readonly ActivityNode[]) =>
|
|
23
|
-
declare const useEventLogFilters: (logs: readonly EventLogEntry[]) => {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
20
|
+
export declare const findActivityNode: (nodes: readonly ActivityNode[], nodeId: string | null) => ActivityNode | undefined;
|
|
21
|
+
export declare const defaultActivitySelection: (nodes: readonly ActivityNode[]) => "activity:stream" | "activity:orphans" | `activity:run:${string}`;
|
|
22
|
+
export declare const useEventLogFilters: (logs: readonly EventLogEntry[]) => {
|
|
23
|
+
eventTypes: string[];
|
|
24
|
+
eventTypesByScope: [string, string[]][];
|
|
25
|
+
filteredLogs: EventLogEntry[];
|
|
26
|
+
query: string;
|
|
27
|
+
setQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
28
|
+
showDiffs: boolean;
|
|
29
|
+
setShowDiffs: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
30
|
+
toggleEventType: (eventType: string) => void;
|
|
31
|
+
toggleScope: (types: string[]) => void;
|
|
32
|
+
unselectedEventTypes: Set<string>;
|
|
34
33
|
};
|
|
35
|
-
declare const previousSameScope: (logs: readonly EventLogEntry[], index: number) => EventLogEntry | undefined;
|
|
36
|
-
//#endregion
|
|
37
|
-
export { ActivityNode, buildActivityNav, defaultActivitySelection, findActivityNode, previousSameScope, useEventLogFilters };
|
|
34
|
+
export declare const previousSameScope: (logs: readonly EventLogEntry[], index: number) => EventLogEntry | undefined;
|
|
38
35
|
//# sourceMappingURL=activityNodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityNodes.d.ts","
|
|
1
|
+
{"version":3,"file":"activityNodes.d.ts","sourceRoot":"","sources":["../../../src/views/activity/activityNodes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,4BAAyB;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,yBAAsB;AAE/D,MAAM,MAAM,YAAY,GACpB;IAAE,EAAE,EAAE,iBAAiB,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GACzC;IACE,EAAE,EAAE,kBAAkB,CAAC;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,SAAS,aAAa,EAAE,CAAC;CAClC,GACD;IAAE,EAAE,EAAE,gBAAgB,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,CAAC;AAInE,eAAO,MAAM,gBAAgB,GAAI,MAAM,SAAS,aAAa,EAAE;;;;CAqB9D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,OAAO,SAAS,YAAY,EAAE,EAC9B,QAAQ,MAAM,GAAG,IAAI,KACpB,YAAY,GAAG,SAC6C,CAAC;AAEhE,eAAO,MAAM,wBAAwB,GAAI,OAAO,SAAS,YAAY,EAAE,sEAKtE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,MAAM,SAAS,aAAa,EAAE;;;;;;;;iCA2Ef,MAAM;yBAYd,MAAM,EAAE;;CA2BjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,MAAM,SAAS,aAAa,EAAE,EAC9B,OAAO,MAAM,KACZ,aAAa,GAAG,SAMlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
export { buildActivityNav, defaultActivitySelection, findActivityNode, } from "./activityNodes.js";
|
|
2
|
+
export type { ActivityNode } from "./activityNodes.js";
|
|
3
|
+
export { EventLogRow, ScopeFilterBar } from "./EventLogRow.js";
|
|
4
|
+
export { EventStreamPane } from "./EventStreamPane.js";
|
|
5
|
+
export { OrphansPane } from "./OrphansPane.js";
|
|
6
|
+
export { RunDetailPane } from "./RunDetailPane.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/activity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,gBAAgB,GACjB,2BAAwB;AACzB,YAAY,EAAE,YAAY,EAAE,2BAAwB;AACpD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,yBAAsB;AAC5D,OAAO,EAAE,eAAe,EAAE,6BAA0B;AACpD,OAAO,EAAE,WAAW,EAAE,yBAAsB;AAC5C,OAAO,EAAE,aAAa,EAAE,2BAAwB"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { AttachmentPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
bordered?: boolean;
|
|
1
|
+
import type { AttachmentPreview } from "./types.js";
|
|
2
|
+
export declare const AttachmentList: ({ attachments, label, bordered, }: {
|
|
3
|
+
attachments: readonly AttachmentPreview[];
|
|
4
|
+
label?: string;
|
|
5
|
+
bordered?: boolean;
|
|
7
6
|
}) => import("react").JSX.Element | null;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { AttachmentList };
|
|
10
7
|
//# sourceMappingURL=AttachmentList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentList.d.ts","
|
|
1
|
+
{"version":3,"file":"AttachmentList.d.ts","sourceRoot":"","sources":["../../../src/views/attachments/AttachmentList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAA2B,mBAAgB;AAmF1E,eAAO,MAAM,cAAc,GAAI,mCAI5B;IACD,WAAW,EAAE,SAAS,iBAAiB,EAAE,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,uCA2BA,CAAC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { AudioPartPreview, FilePartPreview, ImagePartPreview } from "../message/types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
compact?: boolean;
|
|
1
|
+
import type { AudioPartPreview, FilePartPreview, ImagePartPreview } from "../message/types.js";
|
|
2
|
+
export declare const ImagePartView: ({ part, compact, }: {
|
|
3
|
+
part: ImagePartPreview;
|
|
4
|
+
compact?: boolean;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
declare const FilePartView: ({ part, compact }: {
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
export declare const FilePartView: ({ part, compact, }: {
|
|
7
|
+
part: FilePartPreview;
|
|
8
|
+
compact?: boolean;
|
|
10
9
|
}) => import("react").JSX.Element;
|
|
11
|
-
declare const AudioPartView: ({ part, compact }: {
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
export declare const AudioPartView: ({ part, compact, }: {
|
|
11
|
+
part: AudioPartPreview;
|
|
12
|
+
compact?: boolean;
|
|
14
13
|
}) => import("react").JSX.Element;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { AudioPartView, FilePartView, ImagePartView };
|
|
17
14
|
//# sourceMappingURL=MediaPartView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaPartView.d.ts","
|
|
1
|
+
{"version":3,"file":"MediaPartView.d.ts","sourceRoot":"","sources":["../../../src/views/attachments/MediaPartView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EACjB,4BAAyB;AAG1B,eAAO,MAAM,aAAa,GAAI,oBAG3B;IACD,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCAmBA,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,oBAG1B;IACD,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCAeA,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,oBAG3B;IACD,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCAYA,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const formatBytes: (bytes: number | undefined) => string | undefined;
|
|
1
|
+
export declare const formatBytes: (bytes: number | undefined) => string | undefined;
|
|
3
2
|
/** Rough size from base64 payload (no decoding). */
|
|
4
|
-
declare const estimateBase64Bytes: (data: string) => number;
|
|
5
|
-
declare const isSafeImagePreviewUrl: (url: string) => boolean;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { estimateBase64Bytes, formatBytes, isSafeImagePreviewUrl };
|
|
3
|
+
export declare const estimateBase64Bytes: (data: string) => number;
|
|
4
|
+
export declare const isSafeImagePreviewUrl: (url: string) => boolean;
|
|
8
5
|
//# sourceMappingURL=formatBytes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatBytes.d.ts","
|
|
1
|
+
{"version":3,"file":"formatBytes.d.ts","sourceRoot":"","sources":["../../../src/views/attachments/formatBytes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,MAAM,GAAG,SAKhE,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,KAAG,MACH,CAAC;AAEjD,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,KAAG,OACK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export { AttachmentList } from "./AttachmentList.js";
|
|
2
|
+
export { formatBytes } from "./formatBytes.js";
|
|
3
|
+
export { parseAttachment, parseAttachments } from "./parseAttachment.js";
|
|
4
|
+
export type { AttachmentPreview, AttachmentStatusPreview } from "./types.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/attachments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,4BAAyB;AAClD,OAAO,EAAE,WAAW,EAAE,yBAAsB;AAC5C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,6BAA0B;AACtE,YAAY,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,mBAAgB"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { AttachmentPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const parseAttachments: (value: unknown) => AttachmentPreview[];
|
|
5
|
-
//#endregion
|
|
6
|
-
export { parseAttachment, parseAttachments };
|
|
1
|
+
import type { AttachmentPreview } from "./types.js";
|
|
2
|
+
export declare const parseAttachment: (value: unknown) => AttachmentPreview | null;
|
|
3
|
+
export declare const parseAttachments: (value: unknown) => AttachmentPreview[];
|
|
7
4
|
//# sourceMappingURL=parseAttachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseAttachment.d.ts","
|
|
1
|
+
{"version":3,"file":"parseAttachment.d.ts","sourceRoot":"","sources":["../../../src/views/attachments/parseAttachment.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAA2B,mBAAgB;AA2C1E,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,KAAG,iBAAiB,GAAG,IAgCpE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,OAAO,KAAG,iBAAiB,EAK3D,CAAC"}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
progress?: number;
|
|
1
|
+
export interface AttachmentStatusPreview {
|
|
2
|
+
type: string;
|
|
3
|
+
reason?: string;
|
|
4
|
+
progress?: number;
|
|
6
5
|
}
|
|
7
|
-
interface AttachmentPreview {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
export interface AttachmentPreview {
|
|
7
|
+
id?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
kind?: string;
|
|
10
|
+
contentType?: string;
|
|
11
|
+
status?: AttachmentStatusPreview;
|
|
12
|
+
previewUrl?: string;
|
|
13
|
+
sizeBytes?: number;
|
|
15
14
|
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { AttachmentPreview, AttachmentStatusPreview };
|
|
18
15
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/attachments/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { ApiInfo } from "../../data/types.js";
|
|
2
|
-
import { ContextNode } from "./contextNodes.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
data: ApiInfo;
|
|
1
|
+
import type { ApiInfo } from "../../data/types.js";
|
|
2
|
+
import type { ContextNode } from "./contextNodes.js";
|
|
3
|
+
export declare const ContextDetail: ({ node, data, }: {
|
|
4
|
+
node: ContextNode;
|
|
5
|
+
data: ApiInfo;
|
|
7
6
|
}) => import("react").JSX.Element | null;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { ContextDetail };
|
|
10
7
|
//# sourceMappingURL=ContextDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextDetail.d.ts","
|
|
1
|
+
{"version":3,"file":"ContextDetail.d.ts","sourceRoot":"","sources":["../../../src/views/context/ContextDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAAyB;AAShD,OAAO,KAAK,EAAE,WAAW,EAAE,0BAAuB;AAElD,eAAO,MAAM,aAAa,GAAI,iBAG3B;IACD,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;CACf,uCAmBA,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
value: unknown;
|
|
1
|
+
export declare const ToolUIsView: ({ value }: {
|
|
2
|
+
value: unknown;
|
|
4
3
|
}) => import("react").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ToolUIsView };
|
|
7
4
|
//# sourceMappingURL=ToolUIsView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolUIsView.d.ts","
|
|
1
|
+
{"version":3,"file":"ToolUIsView.d.ts","sourceRoot":"","sources":["../../../src/views/context/ToolUIsView.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,GAAI,WAAW;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,gCAwCxD,CAAC"}
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { NavGroup } from "../nav.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
preview: string;
|
|
1
|
+
import type { ApiInfo } from "../../data/types.js";
|
|
2
|
+
import type { NormalizedTool } from "../../utils/toolNormalization.js";
|
|
3
|
+
import type { NavGroup } from "../nav.js";
|
|
4
|
+
export type ContextNode = {
|
|
5
|
+
id: "ctx:system";
|
|
6
|
+
kind: "system";
|
|
7
|
+
preview: string;
|
|
9
8
|
} | {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
id: `ctx:tool:${string}`;
|
|
10
|
+
kind: "tool";
|
|
11
|
+
tool: NormalizedTool;
|
|
13
12
|
} | {
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
id: "ctx:callSettings";
|
|
14
|
+
kind: "callSettings";
|
|
16
15
|
} | {
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
id: "ctx:config";
|
|
17
|
+
kind: "config";
|
|
19
18
|
} | {
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
id: "ctx:mcp";
|
|
20
|
+
kind: "mcp";
|
|
22
21
|
} | {
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
id: "ctx:toolUIs";
|
|
23
|
+
kind: "toolUIs";
|
|
25
24
|
};
|
|
26
|
-
type ContextNavGroup = NavGroup<ContextNode>;
|
|
27
|
-
declare const buildContextNav: (data: ApiInfo) => ContextNavGroup[];
|
|
28
|
-
declare const toolUiCount: (value: unknown) => number;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { ContextNavGroup, ContextNode, buildContextNav, toolUiCount };
|
|
25
|
+
export type ContextNavGroup = NavGroup<ContextNode>;
|
|
26
|
+
export declare const buildContextNav: (data: ApiInfo) => ContextNavGroup[];
|
|
27
|
+
export declare const toolUiCount: (value: unknown) => number;
|
|
31
28
|
//# sourceMappingURL=contextNodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextNodes.d.ts","
|
|
1
|
+
{"version":3,"file":"contextNodes.d.ts","sourceRoot":"","sources":["../../../src/views/context/contextNodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAAyB;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,yCAAsC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAe;AAEvC,MAAM,MAAM,WAAW,GACnB;IAAE,EAAE,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACrD;IAAE,EAAE,EAAE,YAAY,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,cAAc,CAAA;CAAE,GAChE;IAAE,EAAE,EAAE,kBAAkB,CAAC;IAAC,IAAI,EAAE,cAAc,CAAA;CAAE,GAChD;IAAE,EAAE,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GACpC;IAAE,EAAE,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,KAAK,CAAA;CAAE,GAC9B;IAAE,EAAE,EAAE,aAAa,CAAC;IAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;AAKpD,eAAO,MAAM,eAAe,GAAI,MAAM,OAAO,KAAG,eAAe,EAsD9D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,WAGzC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
1
|
+
export { ContextDetail } from "./ContextDetail.js";
|
|
2
|
+
export { buildContextNav, toolUiCount } from "./contextNodes.js";
|
|
3
|
+
export type { ContextNavGroup, ContextNode } from "./contextNodes.js";
|
|
4
|
+
export { ToolUIsView } from "./ToolUIsView.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,2BAAwB;AAChD,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,0BAAuB;AAC9D,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,0BAAuB;AACnE,OAAO,EAAE,WAAW,EAAE,yBAAsB"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
compact?: boolean;
|
|
1
|
+
export declare const McpView: ({ value, compact, }: {
|
|
2
|
+
value: unknown;
|
|
3
|
+
compact?: boolean;
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { McpView };
|
|
8
5
|
//# sourceMappingURL=McpView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"McpView.d.ts","
|
|
1
|
+
{"version":3,"file":"McpView.d.ts","sourceRoot":"","sources":["../../../src/views/mcp/McpView.tsx"],"names":[],"mappings":"AA4FA,eAAO,MAAM,OAAO,GAAI,qBAGrB;IACD,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCA0BA,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { McpView } from "./McpView.js";
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/mcp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,qBAAkB"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { McpManagerPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const parseMcpManager: (value: unknown) => McpManagerPreview | null;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { parseMcpManager };
|
|
1
|
+
import type { McpManagerPreview } from "./types.js";
|
|
2
|
+
export declare const parseMcpManager: (value: unknown) => McpManagerPreview | null;
|
|
6
3
|
//# sourceMappingURL=parse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse.d.ts","
|
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../src/views/mcp/parse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EAGlB,mBAAgB;AAuCjB,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,KAAG,iBAAiB,GAAG,IAoBpE,CAAC"}
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
readonly description?: string;
|
|
1
|
+
export interface McpToolPreview {
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly description?: string;
|
|
5
4
|
}
|
|
6
|
-
interface McpServerPreview {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
export interface McpServerPreview {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly kind?: string;
|
|
9
|
+
readonly url?: string;
|
|
10
|
+
readonly connectionState: string;
|
|
11
|
+
readonly lastError?: string;
|
|
12
|
+
readonly authorizationUrl?: string;
|
|
13
|
+
readonly tools: readonly McpToolPreview[];
|
|
15
14
|
}
|
|
16
|
-
interface McpManagerPreview {
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
export interface McpManagerPreview {
|
|
16
|
+
readonly isHydrated?: boolean;
|
|
17
|
+
readonly servers: readonly McpServerPreview[];
|
|
19
18
|
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { McpManagerPreview, McpServerPreview, McpToolPreview };
|
|
22
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/views/mcp/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAC3C;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC/C"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { PartPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
parts: readonly PartPreview[];
|
|
1
|
+
import type { PartPreview } from "./types.js";
|
|
2
|
+
export declare const ChainOfThought: ({ parts, }: {
|
|
3
|
+
parts: readonly PartPreview[];
|
|
5
4
|
}) => import("react").JSX.Element;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ChainOfThought };
|
|
8
5
|
//# sourceMappingURL=ChainOfThought.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainOfThought.d.ts","
|
|
1
|
+
{"version":3,"file":"ChainOfThought.d.ts","sourceRoot":"","sources":["../../../src/views/message/ChainOfThought.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAqB,mBAAgB;AA8B9D,eAAO,MAAM,cAAc,GAAI,YAE5B;IACD,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;CAC/B,gCAmCA,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { MessagePreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
message: MessagePreview;
|
|
1
|
+
import type { MessagePreview } from "./types.js";
|
|
2
|
+
export declare const messageDetailHeader: (message: MessagePreview) => import("react").JSX.Element;
|
|
3
|
+
export declare const MessageDetailBody: ({ message }: {
|
|
4
|
+
message: MessagePreview;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { MessageDetailBody, messageDetailHeader };
|
|
9
6
|
//# sourceMappingURL=MessageDetailPane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageDetailPane.d.ts","
|
|
1
|
+
{"version":3,"file":"MessageDetailPane.d.ts","sourceRoot":"","sources":["../../../src/views/message/MessageDetailPane.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAgB;AAE9C,eAAO,MAAM,mBAAmB,GAAI,SAAS,cAAc,gCAgB1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,aAAa;IAAE,OAAO,EAAE,cAAc,CAAA;CAAE,gCAEzE,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { MessagePreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
showHeader?: boolean;
|
|
1
|
+
import type { MessagePreview } from "./types.js";
|
|
2
|
+
export declare const MessageItem: ({ message, showHeader, }: {
|
|
3
|
+
message: MessagePreview;
|
|
4
|
+
/** When false, skips the summary header (role, badges, timestamp). */
|
|
5
|
+
showHeader?: boolean;
|
|
7
6
|
}) => import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { MessageItem };
|
|
10
7
|
//# sourceMappingURL=MessageItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.ts","
|
|
1
|
+
{"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../src/views/message/MessageItem.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAgB;AAE9C,eAAO,MAAM,WAAW,GAAI,0BAGzB;IACD,OAAO,EAAE,cAAc,CAAC;IACxB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,gCA4EA,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { MessagePreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
title?: string;
|
|
1
|
+
import type { MessagePreview } from "./types.js";
|
|
2
|
+
export declare const MessageList: ({ messages, title, }: {
|
|
3
|
+
messages: readonly MessagePreview[];
|
|
4
|
+
title?: string;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { MessageList };
|
|
9
6
|
//# sourceMappingURL=MessageList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageList.d.ts","
|
|
1
|
+
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../src/views/message/MessageList.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAgB;AAI9C,eAAO,MAAM,WAAW,GAAI,sBAGzB;IACD,QAAQ,EAAE,SAAS,cAAc,EAAE,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,gCAkCA,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { MessagePreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
message: MessagePreview;
|
|
1
|
+
import type { MessagePreview } from "./types.js";
|
|
2
|
+
export declare const MessageMetrics: ({ message }: {
|
|
3
|
+
message: MessagePreview;
|
|
5
4
|
}) => import("react").JSX.Element | null;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { MessageMetrics };
|
|
8
5
|
//# sourceMappingURL=MessageMetrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageMetrics.d.ts","
|
|
1
|
+
{"version":3,"file":"MessageMetrics.d.ts","sourceRoot":"","sources":["../../../src/views/message/MessageMetrics.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAgB;AAgD9C,eAAO,MAAM,cAAc,GAAI,aAAa;IAAE,OAAO,EAAE,cAAc,CAAA;CAAE,uCAiBtE,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { PartPreview } from "./types.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
parts: readonly PartPreview[];
|
|
1
|
+
import type { PartPreview } from "./types.js";
|
|
2
|
+
export declare const MessageTimeline: ({ parts, }: {
|
|
3
|
+
parts: readonly PartPreview[];
|
|
5
4
|
}) => import("react").JSX.Element | null;
|
|
6
|
-
declare const messageToolCount: (parts: readonly PartPreview[]) => number;
|
|
7
|
-
declare const messageStepCount: (parts: readonly PartPreview[]) => {
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
export declare const messageToolCount: (parts: readonly PartPreview[]) => number;
|
|
6
|
+
export declare const messageStepCount: (parts: readonly PartPreview[]) => {
|
|
7
|
+
tools: number;
|
|
8
|
+
texts: number;
|
|
10
9
|
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { MessageTimeline, messageStepCount, messageToolCount };
|
|
13
10
|
//# sourceMappingURL=MessageTimeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageTimeline.d.ts","
|
|
1
|
+
{"version":3,"file":"MessageTimeline.d.ts","sourceRoot":"","sources":["../../../src/views/message/MessageTimeline.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAgB;AAK3C,eAAO,MAAM,eAAe,GAAI,YAE7B;IACD,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;CAC/B,uCA4BA,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,WAAW,EAAE,WACJ,CAAC;AAE3D,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,WAAW,EAAE;;;CAI7D,CAAC"}
|