@lincyaw/aegis-ui 0.3.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/README.md +17 -0
- package/dist/agent/AegisAgentProvider.d.ts +35 -0
- package/dist/agent/AgentProvider.d.ts +13 -0
- package/dist/agent/AgentmChannelProvider.d.ts +43 -0
- package/dist/agent/AskOverlay.d.ts +3 -0
- package/dist/agent/AskPanel.d.ts +19 -0
- package/dist/agent/aegisAgentContext.d.ts +6 -0
- package/dist/agent/agentContext.d.ts +52 -0
- package/dist/agent/agentmChannelClient.d.ts +76 -0
- package/dist/agent/buildAskContext.d.ts +9 -0
- package/dist/agent/hooks.d.ts +24 -0
- package/dist/agent/index.d.ts +17 -0
- package/dist/agent/mcpToolCatalogue.d.ts +2 -0
- package/dist/agent/runtime.d.ts +65 -0
- package/dist/agent/types.d.ts +261 -0
- package/dist/agent/useAgent.d.ts +7 -0
- package/dist/auth/AuthProvider.d.ts +13 -0
- package/dist/auth/RequireAuth.d.ts +13 -0
- package/dist/auth/authContext.d.ts +33 -0
- package/dist/auth/index.d.ts +4 -0
- package/dist/auth/useAuth.d.ts +7 -0
- package/dist/commands/CommandProvider.d.ts +12 -0
- package/dist/commands/commandContext.d.ts +57 -0
- package/dist/commands/index.d.ts +5 -0
- package/dist/commands/shortcut.d.ts +9 -0
- package/dist/commands/useCommands.d.ts +6 -0
- package/dist/commands/useRegisterCommands.d.ts +7 -0
- package/dist/components/ui/AgentPanel.d.ts +23 -0
- package/dist/components/ui/AuthLayout.d.ts +11 -0
- package/dist/components/ui/Avatar.d.ts +26 -0
- package/dist/components/ui/BlastRadiusBar.d.ts +24 -0
- package/dist/components/ui/Breadcrumb.d.ts +29 -0
- package/dist/components/ui/BucketCard.d.ts +24 -0
- package/dist/components/ui/Button.d.ts +14 -0
- package/dist/components/ui/ChatComposer.d.ts +10 -0
- package/dist/components/ui/ChatMessage.d.ts +31 -0
- package/dist/components/ui/ChatMessageList.d.ts +23 -0
- package/dist/components/ui/ChatSessionList.d.ts +22 -0
- package/dist/components/ui/Chip.d.ts +22 -0
- package/dist/components/ui/CodeBlock.d.ts +21 -0
- package/dist/components/ui/CodeEditor.d.ts +42 -0
- package/dist/components/ui/CommandInvocationCard.d.ts +24 -0
- package/dist/components/ui/CommandPalette.d.ts +3 -0
- package/dist/components/ui/ControlListItem.d.ts +18 -0
- package/dist/components/ui/DangerZone.d.ts +9 -0
- package/dist/components/ui/DataList.d.ts +30 -0
- package/dist/components/ui/DataTable.d.ts +48 -0
- package/dist/components/ui/DiffViewer.d.ts +33 -0
- package/dist/components/ui/DropdownMenu.d.ts +20 -0
- package/dist/components/ui/EmptyState.d.ts +10 -0
- package/dist/components/ui/EnvironmentSwitcher.d.ts +29 -0
- package/dist/components/ui/ErrorState.d.ts +11 -0
- package/dist/components/ui/EventTable.d.ts +39 -0
- package/dist/components/ui/FileDropzone.d.ts +47 -0
- package/dist/components/ui/FilePreview.d.ts +34 -0
- package/dist/components/ui/FolderDropzone.d.ts +24 -0
- package/dist/components/ui/ForgotPasswordForm.d.ts +12 -0
- package/dist/components/ui/FormRow.d.ts +9 -0
- package/dist/components/ui/InboxPage.d.ts +18 -0
- package/dist/components/ui/KeyValueList.d.ts +27 -0
- package/dist/components/ui/LoginForm.d.ts +18 -0
- package/dist/components/ui/Markdown.d.ts +6 -0
- package/dist/components/ui/MetadataList.d.ts +15 -0
- package/dist/components/ui/MetricCard.d.ts +30 -0
- package/dist/components/ui/MetricLabel.d.ts +11 -0
- package/dist/components/ui/MonoValue.d.ts +22 -0
- package/dist/components/ui/NotificationBell.d.ts +12 -0
- package/dist/components/ui/ObjectBrowser.d.ts +40 -0
- package/dist/components/ui/ObjectInspector.d.ts +27 -0
- package/dist/components/ui/PageHeader.d.ts +9 -0
- package/dist/components/ui/PageSizeSelect.d.ts +11 -0
- package/dist/components/ui/Panel.d.ts +22 -0
- package/dist/components/ui/PanelTitle.d.ts +10 -0
- package/dist/components/ui/ParquetViewer.d.ts +30 -0
- package/dist/components/ui/PasswordField.d.ts +9 -0
- package/dist/components/ui/ProjectSelector.d.ts +17 -0
- package/dist/components/ui/QueryAutocomplete.d.ts +26 -0
- package/dist/components/ui/RegisterForm.d.ts +14 -0
- package/dist/components/ui/ResizableSidePanel.d.ts +21 -0
- package/dist/components/ui/SavedQueryBar.d.ts +16 -0
- package/dist/components/ui/SearchInput.d.ts +12 -0
- package/dist/components/ui/SectionDivider.d.ts +12 -0
- package/dist/components/ui/ServiceMap.d.ts +28 -0
- package/dist/components/ui/SettingsSection.d.ts +9 -0
- package/dist/components/ui/ShareLinkDialog.d.ts +25 -0
- package/dist/components/ui/Skeleton.d.ts +16 -0
- package/dist/components/ui/SparkLine.d.ts +27 -0
- package/dist/components/ui/StatBlock.d.ts +29 -0
- package/dist/components/ui/StatusDot.d.ts +8 -0
- package/dist/components/ui/Tabs.d.ts +18 -0
- package/dist/components/ui/Terminal.d.ts +25 -0
- package/dist/components/ui/TextField.d.ts +10 -0
- package/dist/components/ui/ThemeToggle.d.ts +13 -0
- package/dist/components/ui/TimeDisplay.d.ts +11 -0
- package/dist/components/ui/TimeRangePicker.d.ts +18 -0
- package/dist/components/ui/Timeline.d.ts +32 -0
- package/dist/components/ui/TimelineChart.d.ts +23 -0
- package/dist/components/ui/ToolCallCard.d.ts +24 -0
- package/dist/components/ui/Toolbar.d.ts +24 -0
- package/dist/components/ui/TraceTree.d.ts +35 -0
- package/dist/components/ui/TrajectoryStep.d.ts +28 -0
- package/dist/components/ui/TrajectoryTimeline.d.ts +22 -0
- package/dist/components/ui/UploadQueue.d.ts +13 -0
- package/dist/components/ui/index.d.ts +130 -0
- package/dist/components/ui/relativeTime.d.ts +5 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/useResizable.d.ts +15 -0
- package/dist/hooks/useSavedQueries.d.ts +23 -0
- package/dist/index-6WZzHI2Z.cjs +1151 -0
- package/dist/index-6WZzHI2Z.cjs.map +1 -0
- package/dist/index-CZ_qegBG.js +6736 -0
- package/dist/index-CZ_qegBG.js.map +1 -0
- package/dist/index-DLXAAlfH.cjs +15 -0
- package/dist/index-DLXAAlfH.cjs.map +1 -0
- package/dist/index-DtgBxtmy.js +56284 -0
- package/dist/index-DtgBxtmy.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +127 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts/PageWrapper.d.ts +10 -0
- package/dist/layouts/shell/AegisShell.d.ts +11 -0
- package/dist/layouts/shell/AppSwitcher.d.ts +14 -0
- package/dist/layouts/shell/AuthRequiredCard.d.ts +16 -0
- package/dist/layouts/shell/BreadcrumbBar.d.ts +13 -0
- package/dist/layouts/shell/Sidebar.d.ts +11 -0
- package/dist/layouts/shell/TopHeader.d.ts +33 -0
- package/dist/layouts/shell/activeAppContext.d.ts +15 -0
- package/dist/layouts/shell/environments/EnvironmentContext.d.ts +12 -0
- package/dist/layouts/shell/environments/context.d.ts +6 -0
- package/dist/layouts/shell/environments/hooks.d.ts +8 -0
- package/dist/layouts/shell/environments/index.d.ts +4 -0
- package/dist/layouts/shell/environments/manifest.d.ts +26 -0
- package/dist/layouts/shell/environments/types.d.ts +55 -0
- package/dist/layouts/shell/index.d.ts +7 -0
- package/dist/layouts/shell/types.d.ts +173 -0
- package/dist/layouts/shell/useAppNavigate.d.ts +21 -0
- package/dist/lib/luceneQuery/compile.d.ts +29 -0
- package/dist/lib/luceneQuery/index.d.ts +4 -0
- package/dist/lib/luceneQuery/tokenizeAtCursor.d.ts +21 -0
- package/dist/lib/timeRange.d.ts +25 -0
- package/dist/notifications/NotificationProvider.d.ts +13 -0
- package/dist/notifications/index.d.ts +3 -0
- package/dist/notifications/notificationContext.d.ts +38 -0
- package/dist/notifications/useNotifications.d.ts +7 -0
- package/dist/style.css +1 -0
- package/dist/styles/fonts.d.ts +0 -0
- package/dist/theme/ThemeProvider.d.ts +14 -0
- package/dist/theme/antdTheme.d.ts +9 -0
- package/dist/theme/themeContext.d.ts +12 -0
- package/dist/theme/useTheme.d.ts +2 -0
- package/dist/workerBundle-D52AeOj1.js +76 -0
- package/dist/workerBundle-D52AeOj1.js.map +1 -0
- package/dist/workerBundle-FGNDqtbW.cjs +73 -0
- package/dist/workerBundle-FGNDqtbW.cjs.map +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AegisLab Rosetta UI — primitive barrel.
|
|
3
|
+
*
|
|
4
|
+
* Add a new primitive ⇒ register it here so app code can `import { X } from
|
|
5
|
+
* '@/components/ui'` without knowing the file layout.
|
|
6
|
+
*/
|
|
7
|
+
export { Button } from './Button';
|
|
8
|
+
export { Panel } from './Panel';
|
|
9
|
+
export type { PanelSurface } from './Panel';
|
|
10
|
+
export { PanelTitle } from './PanelTitle';
|
|
11
|
+
export { Markdown } from './Markdown';
|
|
12
|
+
export { MetricLabel } from './MetricLabel';
|
|
13
|
+
export { MonoValue } from './MonoValue';
|
|
14
|
+
export type { MonoValueSurface } from './MonoValue';
|
|
15
|
+
export { StatusDot } from './StatusDot';
|
|
16
|
+
export { Terminal } from './Terminal';
|
|
17
|
+
export type { TerminalLine, LogLevel, TerminalSurface } from './Terminal';
|
|
18
|
+
export { BlastRadiusBar } from './BlastRadiusBar';
|
|
19
|
+
export type { BlastRadiusBarSurface } from './BlastRadiusBar';
|
|
20
|
+
export { ControlListItem } from './ControlListItem';
|
|
21
|
+
export { Chip } from './Chip';
|
|
22
|
+
export type { ChipSurface } from './Chip';
|
|
23
|
+
export { SectionDivider } from './SectionDivider';
|
|
24
|
+
export { KeyValueList } from './KeyValueList';
|
|
25
|
+
export type { KeyValueItem, KeyValueListSurface } from './KeyValueList';
|
|
26
|
+
export { StatBlock } from './StatBlock';
|
|
27
|
+
export type { StatBlockSurface } from './StatBlock';
|
|
28
|
+
export { SparkLine } from './SparkLine';
|
|
29
|
+
export type { SparkLineSurface } from './SparkLine';
|
|
30
|
+
export { MetricCard } from './MetricCard';
|
|
31
|
+
export type { MetricCardSurface } from './MetricCard';
|
|
32
|
+
export { TrajectoryStep } from './TrajectoryStep';
|
|
33
|
+
export type { TrajectoryStepData, TrajectoryStepSurface, } from './TrajectoryStep';
|
|
34
|
+
export { TrajectoryTimeline } from './TrajectoryTimeline';
|
|
35
|
+
export type { TrajectoryTimelineProps, TrajectoryTimelineSurface, } from './TrajectoryTimeline';
|
|
36
|
+
export { ToolCallCard } from './ToolCallCard';
|
|
37
|
+
export type { ToolCallData, ToolCallCardSurface } from './ToolCallCard';
|
|
38
|
+
export { EmptyState } from './EmptyState';
|
|
39
|
+
export { Skeleton, SkeletonText } from './Skeleton';
|
|
40
|
+
export { TimeDisplay } from './TimeDisplay';
|
|
41
|
+
export { CodeBlock } from './CodeBlock';
|
|
42
|
+
export type { CodeBlockSurface } from './CodeBlock';
|
|
43
|
+
export { DataTable } from './DataTable';
|
|
44
|
+
export type { DataTableColumn, DataTableSurface } from './DataTable';
|
|
45
|
+
export { EventTable } from './EventTable';
|
|
46
|
+
export type { EventTableColumn, EventTableProps } from './EventTable';
|
|
47
|
+
export { DataList } from './DataList';
|
|
48
|
+
export type { DataListColumn, DataListItem, DataListSurface } from './DataList';
|
|
49
|
+
export { Toolbar } from './Toolbar';
|
|
50
|
+
export type { FilterChip, ToolbarProps } from './Toolbar';
|
|
51
|
+
export { SearchInput } from './SearchInput';
|
|
52
|
+
export type { SearchInputProps } from './SearchInput';
|
|
53
|
+
export { QueryAutocomplete } from './QueryAutocomplete';
|
|
54
|
+
export type { QueryAutocompleteFieldSuggestion, QueryAutocompleteProps, QueryAutocompleteValueSuggestion, } from './QueryAutocomplete';
|
|
55
|
+
export { MetadataList } from './MetadataList';
|
|
56
|
+
export type { MetadataEntry, MetadataListProps } from './MetadataList';
|
|
57
|
+
export { ObjectInspector } from './ObjectInspector';
|
|
58
|
+
export type { ObjectInspectorProps, ObjectInspectorTab, } from './ObjectInspector';
|
|
59
|
+
export { Tabs } from './Tabs';
|
|
60
|
+
export type { TabItem } from './Tabs';
|
|
61
|
+
export { Breadcrumb } from './Breadcrumb';
|
|
62
|
+
export type { BreadcrumbItem } from './Breadcrumb';
|
|
63
|
+
export { Avatar } from './Avatar';
|
|
64
|
+
export type { AvatarSurface } from './Avatar';
|
|
65
|
+
export { DropdownMenu } from './DropdownMenu';
|
|
66
|
+
export type { DropdownItem } from './DropdownMenu';
|
|
67
|
+
export { PageSizeSelect } from './PageSizeSelect';
|
|
68
|
+
export type { PageSizeSelectProps } from './PageSizeSelect';
|
|
69
|
+
export { ProjectSelector } from './ProjectSelector';
|
|
70
|
+
export type { ProjectOption } from './ProjectSelector';
|
|
71
|
+
export { PageHeader } from './PageHeader';
|
|
72
|
+
export { SettingsSection } from './SettingsSection';
|
|
73
|
+
export { FormRow } from './FormRow';
|
|
74
|
+
export { DangerZone } from './DangerZone';
|
|
75
|
+
export { ThemeToggle } from './ThemeToggle';
|
|
76
|
+
export { TextField } from './TextField';
|
|
77
|
+
export { PasswordField } from './PasswordField';
|
|
78
|
+
export { AuthLayout } from './AuthLayout';
|
|
79
|
+
export { LoginForm } from './LoginForm';
|
|
80
|
+
export { RegisterForm } from './RegisterForm';
|
|
81
|
+
export { ForgotPasswordForm } from './ForgotPasswordForm';
|
|
82
|
+
export { ErrorState } from './ErrorState';
|
|
83
|
+
export { NotificationBell } from './NotificationBell';
|
|
84
|
+
export { InboxPage } from './InboxPage';
|
|
85
|
+
export type { InboxPageSurface } from './InboxPage';
|
|
86
|
+
export { CommandPalette } from './CommandPalette';
|
|
87
|
+
export { ChatMessage } from './ChatMessage';
|
|
88
|
+
export type { ChatMessageSurface } from './ChatMessage';
|
|
89
|
+
export { ChatMessageList } from './ChatMessageList';
|
|
90
|
+
export type { ChatMessageListSurface } from './ChatMessageList';
|
|
91
|
+
export { ChatComposer } from './ChatComposer';
|
|
92
|
+
export { ChatSessionList } from './ChatSessionList';
|
|
93
|
+
export type { ChatSessionItem, ChatSessionListProps } from './ChatSessionList';
|
|
94
|
+
export { CommandInvocationCard } from './CommandInvocationCard';
|
|
95
|
+
export type { CommandInvocationCardSurface } from './CommandInvocationCard';
|
|
96
|
+
export { AgentPanel } from './AgentPanel';
|
|
97
|
+
export type { AgentPanelSurface } from './AgentPanel';
|
|
98
|
+
export { FileDropzone } from './FileDropzone';
|
|
99
|
+
export type { FileDropzoneItem } from './FileDropzone';
|
|
100
|
+
export { FolderDropzone } from './FolderDropzone';
|
|
101
|
+
export type { FolderDropzoneProps } from './FolderDropzone';
|
|
102
|
+
export { FilePreview } from './FilePreview';
|
|
103
|
+
export type { FilePreviewSurface } from './FilePreview';
|
|
104
|
+
export { CodeEditor } from './CodeEditor';
|
|
105
|
+
export type { CodeEditorField, CodeEditorLanguage, CodeEditorSurface, } from './CodeEditor';
|
|
106
|
+
export { DiffViewer } from './DiffViewer';
|
|
107
|
+
export type { DiffViewerSurface } from './DiffViewer';
|
|
108
|
+
export { Timeline } from './Timeline';
|
|
109
|
+
export type { TimelineItem, TimelineSurface } from './Timeline';
|
|
110
|
+
export { ParquetViewer } from './ParquetViewer';
|
|
111
|
+
export type { ParquetViewerSurface } from './ParquetViewer';
|
|
112
|
+
export { TraceTree } from './TraceTree';
|
|
113
|
+
export type { TraceSpan, TraceTreeSurface } from './TraceTree';
|
|
114
|
+
export { TimelineChart } from './TimelineChart';
|
|
115
|
+
export type { TimelineChartProps, TimelineSpan } from './TimelineChart';
|
|
116
|
+
export { BucketCard } from './BucketCard';
|
|
117
|
+
export { ObjectBrowser } from './ObjectBrowser';
|
|
118
|
+
export { ShareLinkDialog } from './ShareLinkDialog';
|
|
119
|
+
export type { ShareLinkOptions, ShareLinkResult } from './ShareLinkDialog';
|
|
120
|
+
export { UploadQueue } from './UploadQueue';
|
|
121
|
+
export { ResizableSidePanel } from './ResizableSidePanel';
|
|
122
|
+
export type { ResizableSidePanelProps } from './ResizableSidePanel';
|
|
123
|
+
export { EnvironmentSwitcher } from './EnvironmentSwitcher';
|
|
124
|
+
export type { EnvironmentSwitcherBadge, EnvironmentSwitcherOption, EnvironmentSwitcherProps, } from './EnvironmentSwitcher';
|
|
125
|
+
export { TimeRangePicker } from './TimeRangePicker';
|
|
126
|
+
export type { TimeRangePickerProps } from './TimeRangePicker';
|
|
127
|
+
export { ServiceMap } from './ServiceMap';
|
|
128
|
+
export type { ServiceMapDirection, ServiceMapEdge, ServiceMapNode, ServiceMapProps, ServiceMapStatus, } from './ServiceMap';
|
|
129
|
+
export { SavedQueryBar } from './SavedQueryBar';
|
|
130
|
+
export type { SavedQueryBarProps } from './SavedQueryBar';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { useResizable } from './useResizable';
|
|
2
|
+
export type { UseResizableOptions, UseResizableReturn } from './useResizable';
|
|
3
|
+
export { useSavedQueries } from './useSavedQueries';
|
|
4
|
+
export type { SavedQuery, UseSavedQueriesOptions, UseSavedQueriesReturn, } from './useSavedQueries';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface UseResizableOptions {
|
|
3
|
+
initialWidth: number;
|
|
4
|
+
minWidth?: number;
|
|
5
|
+
maxWidth?: number;
|
|
6
|
+
side: 'left' | 'right';
|
|
7
|
+
persistKey?: string;
|
|
8
|
+
onCollapse?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export interface UseResizableReturn {
|
|
11
|
+
width: number;
|
|
12
|
+
handleProps: HTMLAttributes<HTMLDivElement>;
|
|
13
|
+
isDragging: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function useResizable(opts: UseResizableOptions): UseResizableReturn;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface SavedQuery {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
/** Opaque payload — usually a stringified URL-state object or the canonical query string. */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Pinned queries float to the top. */
|
|
7
|
+
pinned: boolean;
|
|
8
|
+
/** Last-used timestamp (epoch ms). */
|
|
9
|
+
lastUsedAt: number;
|
|
10
|
+
}
|
|
11
|
+
export interface UseSavedQueriesOptions {
|
|
12
|
+
/** localStorage key prefix; required so two sub-apps don't collide. */
|
|
13
|
+
namespace: string;
|
|
14
|
+
}
|
|
15
|
+
export interface UseSavedQueriesReturn {
|
|
16
|
+
queries: SavedQuery[];
|
|
17
|
+
save: (name: string, value: string) => SavedQuery;
|
|
18
|
+
remove: (id: string) => void;
|
|
19
|
+
rename: (id: string, name: string) => void;
|
|
20
|
+
togglePinned: (id: string) => void;
|
|
21
|
+
touch: (id: string) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare function useSavedQueries(opts: UseSavedQueriesOptions): UseSavedQueriesReturn;
|