@aria-cli/cli 1.0.19 → 1.0.37
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 +32 -46
- package/bin/aria.mjs +5718 -0
- package/package.json +33 -51
- package/bin/aria-dev.js +0 -2
- package/bin/aria.js +0 -14
- package/bin/install-owner-lease.d.ts +0 -8
- package/bin/install-owner-lease.js +0 -1
- package/dist/.aria-build-stamp.json +0 -4
- package/dist/attached-local-control-client.d.ts +0 -90
- package/dist/bootstrap-local-control-client.d.ts +0 -1
- package/dist/capability-aware-method-proxy.d.ts +0 -1
- package/dist/cli-context.d.ts +0 -31
- package/dist/cli-context.js +0 -1
- package/dist/commands/arions.d.ts +0 -14
- package/dist/commands/auth.d.ts +0 -27
- package/dist/commands/daemon.d.ts +0 -31
- package/dist/commands/definitions.d.ts +0 -19
- package/dist/commands/index.d.ts +0 -13
- package/dist/commands/index.js +0 -356
- package/dist/commands/login-handler.d.ts +0 -108
- package/dist/commands/logout-handler.d.ts +0 -24
- package/dist/commands/memory-handlers.d.ts +0 -15
- package/dist/commands/pairing.d.ts +0 -2
- package/dist/commands/peer-message-handler.d.ts +0 -7
- package/dist/commands/runtime-cutover-reset-command.d.ts +0 -2
- package/dist/commands/runtime-cutover-reset.d.ts +0 -26
- package/dist/commands/terminal-setup.d.ts +0 -3
- package/dist/config/aria-config.d.ts +0 -50
- package/dist/config/index.d.ts +0 -4
- package/dist/config/loader.d.ts +0 -17
- package/dist/config.d.ts +0 -53
- package/dist/config.js +0 -1
- package/dist/daemon-info.d.ts +0 -17
- package/dist/ensure-daemon.d.ts +0 -21
- package/dist/ensure-daemon.js +0 -4
- package/dist/event-loop-watchdog.d.ts +0 -31
- package/dist/headless/auth-orchestrator.d.ts +0 -19
- package/dist/headless/auth-service.d.ts +0 -15
- package/dist/headless/bootstrap-fast-path.d.ts +0 -12
- package/dist/headless/call-command.d.ts +0 -8
- package/dist/headless/daemon-service.d.ts +0 -14
- package/dist/headless/hook-actions.d.ts +0 -40
- package/dist/headless/hook-service.d.ts +0 -8
- package/dist/headless/kernel-services.d.ts +0 -8
- package/dist/headless/kernel.d.ts +0 -118
- package/dist/headless/operations/arion.d.ts +0 -3
- package/dist/headless/operations/auth.d.ts +0 -4
- package/dist/headless/operations/client.d.ts +0 -2
- package/dist/headless/operations/config.d.ts +0 -3
- package/dist/headless/operations/daemon.d.ts +0 -3
- package/dist/headless/operations/hook.d.ts +0 -3
- package/dist/headless/operations/index.d.ts +0 -10
- package/dist/headless/operations/memory.d.ts +0 -3
- package/dist/headless/operations/message.d.ts +0 -2
- package/dist/headless/operations/model.d.ts +0 -3
- package/dist/headless/operations/peer.d.ts +0 -2
- package/dist/headless/operations/run.d.ts +0 -3
- package/dist/headless/operations/session.d.ts +0 -74
- package/dist/headless/operations/subscription.d.ts +0 -2
- package/dist/headless/operations/system.d.ts +0 -3
- package/dist/headless/operations/utils.d.ts +0 -5
- package/dist/headless/run-orchestrator.d.ts +0 -38
- package/dist/headless/stdio-server.d.ts +0 -4
- package/dist/history/SessionHistory.d.ts +0 -200
- package/dist/history/conversation-message.d.ts +0 -181
- package/dist/history/index.d.ts +0 -8
- package/dist/history/index.js +0 -321
- package/dist/history/jsonl-replay.d.ts +0 -38
- package/dist/history/repair-tool-pairing.d.ts +0 -14
- package/dist/history/turn-accumulator.d.ts +0 -85
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -503
- package/dist/ink-repl.d.ts +0 -32
- package/dist/ink-repl.js +0 -491
- package/dist/local-control-bootstrap.d.ts +0 -5
- package/dist/local-control-client.d.ts +0 -1
- package/dist/local-control-client.js +0 -4
- package/dist/local-control-error-reporting.d.ts +0 -6
- package/dist/local-control-http-client.d.ts +0 -9
- package/dist/network-security.d.ts +0 -7
- package/dist/networking-server.d.ts +0 -28
- package/dist/peer-identity.d.ts +0 -3
- package/dist/polling-subscription.d.ts +0 -7
- package/dist/relaunch.d.ts +0 -55
- package/dist/release-notes.d.ts +0 -11
- package/dist/repl-cleanup.d.ts +0 -20
- package/dist/repl-cleanup.js +0 -1
- package/dist/selectable-client.d.ts +0 -7
- package/dist/selectable-peer.d.ts +0 -12
- package/dist/session.d.ts +0 -103
- package/dist/session.js +0 -1
- package/dist/slash-commands.d.ts +0 -34
- package/dist/sounds.d.ts +0 -31
- package/dist/ui/App.d.ts +0 -288
- package/dist/ui/components/AnthropicMethodPicker.d.ts +0 -9
- package/dist/ui/components/ArionPrompt.d.ts +0 -8
- package/dist/ui/components/AutocompleteDropdown.d.ts +0 -9
- package/dist/ui/components/AutonomySelector.d.ts +0 -12
- package/dist/ui/components/Banner.d.ts +0 -9
- package/dist/ui/components/ConversationHistory.d.ts +0 -59
- package/dist/ui/components/CopilotDeviceLoginFlow.d.ts +0 -15
- package/dist/ui/components/CopilotSourcePicker.d.ts +0 -13
- package/dist/ui/components/Cost.d.ts +0 -8
- package/dist/ui/components/CustomSelect/option-map.d.ts +0 -15
- package/dist/ui/components/CustomSelect/select-option.d.ts +0 -20
- package/dist/ui/components/CustomSelect/select.d.ts +0 -55
- package/dist/ui/components/CustomSelect/use-select-state.d.ts +0 -99
- package/dist/ui/components/CustomSelect/use-select.d.ts +0 -14
- package/dist/ui/components/ErrorDisplay.d.ts +0 -26
- package/dist/ui/components/FallbackToolUseRejectedMessage.d.ts +0 -2
- package/dist/ui/components/FileEditToolUpdatedMessage.d.ts +0 -9
- package/dist/ui/components/HandoffMarker.d.ts +0 -17
- package/dist/ui/components/HighlightedCode.d.ts +0 -7
- package/dist/ui/components/InputArea.d.ts +0 -17
- package/dist/ui/components/Message.d.ts +0 -16
- package/dist/ui/components/OAuthLoginFlow.d.ts +0 -25
- package/dist/ui/components/OutputTruncation.d.ts +0 -16
- package/dist/ui/components/PermissionPrompt.d.ts +0 -22
- package/dist/ui/components/PipelineTimingPanel.d.ts +0 -13
- package/dist/ui/components/ProviderMethodPicker.d.ts +0 -16
- package/dist/ui/components/ProviderPicker.d.ts +0 -15
- package/dist/ui/components/RenderItemView.d.ts +0 -18
- package/dist/ui/components/Spinner.d.ts +0 -3
- package/dist/ui/components/StatusBar.d.ts +0 -78
- package/dist/ui/components/StreamingIndicator.d.ts +0 -11
- package/dist/ui/components/StructuredDiff.d.ts +0 -20
- package/dist/ui/components/TextInputOverlay.d.ts +0 -9
- package/dist/ui/components/ThinkingBlock.d.ts +0 -53
- package/dist/ui/components/ToolCost.d.ts +0 -8
- package/dist/ui/components/ToolExecution.d.ts +0 -13
- package/dist/ui/components/ToolHeader.d.ts +0 -10
- package/dist/ui/components/ToolRenderLayoutContext.d.ts +0 -10
- package/dist/ui/components/ToolResultWrapper.d.ts +0 -6
- package/dist/ui/components/ToolUseLoader.d.ts +0 -10
- package/dist/ui/components/TraceWaterfall.d.ts +0 -56
- package/dist/ui/components/index.d.ts +0 -29
- package/dist/ui/components/messages/AssistantTextMessage.d.ts +0 -13
- package/dist/ui/components/messages/UserImageMessage.d.ts +0 -8
- package/dist/ui/components/messages/UserTextMessage.d.ts +0 -13
- package/dist/ui/components/overlays/ArionSelector.d.ts +0 -18
- package/dist/ui/components/overlays/ClientSelector.d.ts +0 -7
- package/dist/ui/components/overlays/CommandPalette.d.ts +0 -14
- package/dist/ui/components/overlays/InviteShareOverlay.d.ts +0 -7
- package/dist/ui/components/overlays/JoinInviteOverlay.d.ts +0 -6
- package/dist/ui/components/overlays/MemoryBrowser.d.ts +0 -17
- package/dist/ui/components/overlays/MessageSelector.d.ts +0 -20
- package/dist/ui/components/overlays/ModelSelector.d.ts +0 -17
- package/dist/ui/components/overlays/PairRequestOverlay.d.ts +0 -19
- package/dist/ui/components/overlays/PeerSelector.d.ts +0 -14
- package/dist/ui/components/overlays/SessionSelector.d.ts +0 -11
- package/dist/ui/components/overlays/ThemeSelector.d.ts +0 -22
- package/dist/ui/components/overlays/index.d.ts +0 -13
- package/dist/ui/components/permissions/BashPermissionRequest/BashPermissionRequest.d.ts +0 -9
- package/dist/ui/components/permissions/FallbackPermissionRequest.d.ts +0 -9
- package/dist/ui/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.d.ts +0 -9
- package/dist/ui/components/permissions/FileEditPermissionRequest/FileEditToolDiff.d.ts +0 -11
- package/dist/ui/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.d.ts +0 -9
- package/dist/ui/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.d.ts +0 -9
- package/dist/ui/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.d.ts +0 -5
- package/dist/ui/components/permissions/PermissionRequest.d.ts +0 -52
- package/dist/ui/components/permissions/PermissionRequestTitle.d.ts +0 -13
- package/dist/ui/components/permissions/hooks.d.ts +0 -10
- package/dist/ui/components/permissions/toolUseOptions.d.ts +0 -10
- package/dist/ui/components/permissions/utils.d.ts +0 -6
- package/dist/ui/components/text-input/Cursor.d.ts +0 -58
- package/dist/ui/components/text-input/TextInput.d.ts +0 -98
- package/dist/ui/components/text-input/imagePaste.d.ts +0 -2
- package/dist/ui/components/text-input/index.d.ts +0 -6
- package/dist/ui/components/text-input/useDoublePress.d.ts +0 -2
- package/dist/ui/components/text-input/useTextInput.d.ts +0 -34
- package/dist/ui/components/tool-types.d.ts +0 -28
- package/dist/ui/constants/figures.d.ts +0 -1
- package/dist/ui/constants/index.d.ts +0 -1
- package/dist/ui/display-mode.d.ts +0 -62
- package/dist/ui/display-policy.d.ts +0 -3
- package/dist/ui/hooks/index.d.ts +0 -4
- package/dist/ui/hooks/useCommandAutocomplete.d.ts +0 -28
- package/dist/ui/hooks/useDoublePress.d.ts +0 -13
- package/dist/ui/hooks/useIndicatorState.d.ts +0 -3
- package/dist/ui/hooks/useInterval.d.ts +0 -6
- package/dist/ui/hooks/useKeyboardShortcuts.d.ts +0 -17
- package/dist/ui/hooks/usePeerMessages.d.ts +0 -26
- package/dist/ui/hooks/useTerminalSize.d.ts +0 -6
- package/dist/ui/hooks/useUnifiedMessages.d.ts +0 -83
- package/dist/ui/indicator-state.d.ts +0 -46
- package/dist/ui/markdown/highlight.d.ts +0 -8
- package/dist/ui/markdown/index.d.ts +0 -16
- package/dist/ui/markdown/tokenizer.d.ts +0 -17
- package/dist/ui/render-item.d.ts +0 -70
- package/dist/ui/screens/REPL.d.ts +0 -288
- package/dist/ui/status-line.d.ts +0 -32
- package/dist/ui/theme/index.d.ts +0 -8
- package/dist/ui/theme/themes/claude-dark-daltonized.d.ts +0 -2
- package/dist/ui/theme/themes/claude-dark.d.ts +0 -2
- package/dist/ui/theme/themes/claude-light-daltonized.d.ts +0 -2
- package/dist/ui/theme/themes/claude-light.d.ts +0 -2
- package/dist/ui/theme/themes/dark-accessible.d.ts +0 -2
- package/dist/ui/theme/themes/dark.d.ts +0 -2
- package/dist/ui/theme/themes/light-accessible.d.ts +0 -2
- package/dist/ui/theme/themes/light.d.ts +0 -2
- package/dist/ui/theme/types.d.ts +0 -51
- package/dist/ui/theme.d.ts +0 -51
- package/dist/ui/to-render-items.d.ts +0 -7
- package/dist/ui/tools/AgentTool/index.d.ts +0 -8
- package/dist/ui/tools/ArchitectTool/index.d.ts +0 -10
- package/dist/ui/tools/AskUserTool/index.d.ts +0 -19
- package/dist/ui/tools/BashTool/BashToolResultMessage.d.ts +0 -13
- package/dist/ui/tools/BashTool/OutputLine.d.ts +0 -6
- package/dist/ui/tools/BashTool/index.d.ts +0 -8
- package/dist/ui/tools/BrowseTool/index.d.ts +0 -20
- package/dist/ui/tools/BrowserTool/index.d.ts +0 -25
- package/dist/ui/tools/CbmTool/index.d.ts +0 -81
- package/dist/ui/tools/CheckDelegationTool/index.d.ts +0 -23
- package/dist/ui/tools/CheckMessagesTool/index.d.ts +0 -8
- package/dist/ui/tools/CreateQuipTool/index.d.ts +0 -10
- package/dist/ui/tools/CreateSkillTool/index.d.ts +0 -13
- package/dist/ui/tools/CreateToolTool/index.d.ts +0 -10
- package/dist/ui/tools/DelegateRemoteTool/index.d.ts +0 -22
- package/dist/ui/tools/DeployTool/index.d.ts +0 -24
- package/dist/ui/tools/FffTool/index.d.ts +0 -17
- package/dist/ui/tools/FileEditTool/index.d.ts +0 -10
- package/dist/ui/tools/FileReadTool/index.d.ts +0 -10
- package/dist/ui/tools/FileWriteTool/index.d.ts +0 -10
- package/dist/ui/tools/FrgTool/index.d.ts +0 -17
- package/dist/ui/tools/GetThreadTool/index.d.ts +0 -10
- package/dist/ui/tools/GlobTool/index.d.ts +0 -11
- package/dist/ui/tools/GrepTool/index.d.ts +0 -12
- package/dist/ui/tools/HatchArionTool/index.d.ts +0 -20
- package/dist/ui/tools/LearnSkillTool/index.d.ts +0 -13
- package/dist/ui/tools/LearnTool/index.d.ts +0 -15
- package/dist/ui/tools/LearnToolTool/index.d.ts +0 -14
- package/dist/ui/tools/ListClientsTool/index.d.ts +0 -10
- package/dist/ui/tools/LspTool/index.d.ts +0 -11
- package/dist/ui/tools/MCPTool/index.d.ts +0 -11
- package/dist/ui/tools/ManageNetworkTool/index.d.ts +0 -28
- package/dist/ui/tools/MemoryReadTool/index.d.ts +0 -8
- package/dist/ui/tools/MemoryWriteTool/index.d.ts +0 -6
- package/dist/ui/tools/NotebookEditTool/index.d.ts +0 -19
- package/dist/ui/tools/NotebookReadTool/index.d.ts +0 -12
- package/dist/ui/tools/OutlookReadTool/index.d.ts +0 -10
- package/dist/ui/tools/OutlookReplyTool/index.d.ts +0 -10
- package/dist/ui/tools/OutlookSendTool/index.d.ts +0 -10
- package/dist/ui/tools/PauseDelegationTool/index.d.ts +0 -20
- package/dist/ui/tools/ProbeTool/index.d.ts +0 -26
- package/dist/ui/tools/ProcessTool/index.d.ts +0 -29
- package/dist/ui/tools/QuestListTool/index.d.ts +0 -24
- package/dist/ui/tools/QuestReportTool/index.d.ts +0 -27
- package/dist/ui/tools/QuestUpdateTool/index.d.ts +0 -24
- package/dist/ui/tools/QuipCommentTool/index.d.ts +0 -23
- package/dist/ui/tools/QuipReadTool/index.d.ts +0 -26
- package/dist/ui/tools/RestArionTool/index.d.ts +0 -19
- package/dist/ui/tools/RestartTool/index.d.ts +0 -20
- package/dist/ui/tools/ResumeDelegationTool/index.d.ts +0 -21
- package/dist/ui/tools/RetireArionTool/index.d.ts +0 -19
- package/dist/ui/tools/RgTool/index.d.ts +0 -44
- package/dist/ui/tools/SearchKnowledgeTool/index.d.ts +0 -31
- package/dist/ui/tools/SearchMessagesTool/index.d.ts +0 -10
- package/dist/ui/tools/SelfDiagnoseTool/index.d.ts +0 -11
- package/dist/ui/tools/SendMessageTool/index.d.ts +0 -8
- package/dist/ui/tools/SerenaTool/index.d.ts +0 -18
- package/dist/ui/tools/SessionHistoryTool/index.d.ts +0 -32
- package/dist/ui/tools/SgTool/index.d.ts +0 -8
- package/dist/ui/tools/SlackReactTool/index.d.ts +0 -10
- package/dist/ui/tools/SlackReadTool/index.d.ts +0 -10
- package/dist/ui/tools/SlackSendTool/index.d.ts +0 -10
- package/dist/ui/tools/SpawnWorkerTool/index.d.ts +0 -18
- package/dist/ui/tools/StickerRequestTool/index.d.ts +0 -6
- package/dist/ui/tools/ThinkTool/index.d.ts +0 -8
- package/dist/ui/tools/UgTool/index.d.ts +0 -47
- package/dist/ui/tools/UseSkillTool/index.d.ts +0 -17
- package/dist/ui/tools/WakeArionTool/index.d.ts +0 -19
- package/dist/ui/tools/WebFetchTool/index.d.ts +0 -20
- package/dist/ui/tools/WebSearchTool/index.d.ts +0 -21
- package/dist/ui/tools/lsTool/index.d.ts +0 -12
- package/dist/ui/tools/registry.d.ts +0 -15
- package/dist/ui/tools/tool-renderer.d.ts +0 -24
- package/dist/ui/tools/truncation.d.ts +0 -6
- package/dist/ui/types/anthropic.d.ts +0 -19
- package/dist/ui/types/index.d.ts +0 -3
- package/dist/ui/types/message.d.ts +0 -19
- package/dist/ui/types/tool.d.ts +0 -17
- package/dist/ui/utils/array.d.ts +0 -1
- package/dist/ui/utils/cursor.d.ts +0 -28
- package/dist/ui/utils/diff.d.ts +0 -24
- package/dist/ui/utils/format.d.ts +0 -3
- package/dist/ui/utils/fuzzy.d.ts +0 -11
- package/dist/ui/utils/index.d.ts +0 -9
- package/dist/ui/utils/keys.d.ts +0 -6
- package/dist/ui/utils/patch.d.ts +0 -8
- package/dist/ui/utils/risk.d.ts +0 -14
- package/dist/ui/utils/terminal-image.d.ts +0 -18
- package/dist/ui/utils/validation.d.ts +0 -8
- package/dist/ui/verb-pairs.d.ts +0 -20
- package/dist/ui.d.ts +0 -70
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type ErrorLevel = "inline" | "suggestion" | "boxed" | "fatal";
|
|
3
|
-
interface ErrorDisplayProps {
|
|
4
|
-
level: ErrorLevel;
|
|
5
|
-
message: string;
|
|
6
|
-
suggestion?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function ErrorDisplay({ level, message, suggestion, title, }: ErrorDisplayProps): React.ReactElement;
|
|
10
|
-
export declare function InlineError({ message }: {
|
|
11
|
-
message: string;
|
|
12
|
-
}): React.ReactElement;
|
|
13
|
-
export declare function SuggestionError({ message, suggestion, }: {
|
|
14
|
-
message: string;
|
|
15
|
-
suggestion: string;
|
|
16
|
-
}): React.ReactElement;
|
|
17
|
-
export declare function BoxedError({ message, title, suggestion, }: {
|
|
18
|
-
message: string;
|
|
19
|
-
title?: string;
|
|
20
|
-
suggestion?: string;
|
|
21
|
-
}): React.ReactElement;
|
|
22
|
-
export declare function FatalError({ message, suggestion, }: {
|
|
23
|
-
message: string;
|
|
24
|
-
suggestion?: string;
|
|
25
|
-
}): React.ReactElement;
|
|
26
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type StructuredPatchHunk } from "diff";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
type Props = {
|
|
4
|
-
filePath: string;
|
|
5
|
-
structuredPatch: StructuredPatchHunk[];
|
|
6
|
-
verbose: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare function FileEditToolUpdatedMessage({ filePath, structuredPatch, verbose, }: Props): React.ReactNode;
|
|
9
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface HandoffMarkerProps {
|
|
3
|
-
/** The target arion name */
|
|
4
|
-
target: string;
|
|
5
|
-
/** Direction of the handoff: 'to' for outgoing, 'from' for returning */
|
|
6
|
-
direction: "to" | "from";
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* HandoffMarker displays a visual separator for arion handoff transitions.
|
|
10
|
-
*
|
|
11
|
-
* Outgoing:
|
|
12
|
-
* \u2192 Researcher
|
|
13
|
-
*
|
|
14
|
-
* Returning:
|
|
15
|
-
* \u2190 Researcher
|
|
16
|
-
*/
|
|
17
|
-
export declare function HandoffMarker({ target, direction }: HandoffMarkerProps): React.ReactElement;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type TriggerType = "command" | "mention" | "history";
|
|
2
|
-
export interface InputAreaProps {
|
|
3
|
-
userName?: string | null;
|
|
4
|
-
value: string;
|
|
5
|
-
onChange: (value: string) => void;
|
|
6
|
-
onSubmit: (value: string) => void;
|
|
7
|
-
onTrigger: (type: TriggerType, filter: string) => void;
|
|
8
|
-
onExit: () => void;
|
|
9
|
-
isStreaming?: boolean;
|
|
10
|
-
isDisabled?: boolean;
|
|
11
|
-
focus?: boolean;
|
|
12
|
-
history?: string[];
|
|
13
|
-
onSaveInput?: (input: string) => void;
|
|
14
|
-
/** Called on Esc×2. Return true to consume (skip clear). */
|
|
15
|
-
onDoubleEscape?: () => boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare function InputArea({ userName, value, onChange, onSubmit, onTrigger, onExit, isStreaming, isDisabled, focus, history, onSaveInput, onDoubleEscape, }: InputAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type ArionColor } from "../theme.js";
|
|
2
|
-
export interface MessageArion {
|
|
3
|
-
name: string;
|
|
4
|
-
emoji: string;
|
|
5
|
-
color?: ArionColor;
|
|
6
|
-
}
|
|
7
|
-
export interface MessageProps {
|
|
8
|
-
role: "user" | "assistant" | "system" | "tool";
|
|
9
|
-
content: string;
|
|
10
|
-
arion?: MessageArion;
|
|
11
|
-
userName?: string;
|
|
12
|
-
toolStatus?: "complete" | "error";
|
|
13
|
-
/** Whether to show the sender prefix (name/emoji). Defaults to true. */
|
|
14
|
-
showPrefix?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare function Message({ role, content, arion, userName, toolStatus, showPrefix, }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuthLoginFlow — interactive OAuth login component with browser + manual fallback.
|
|
3
|
-
*
|
|
4
|
-
* State machine: starting -> waiting -> manual -> exchanging -> success | error
|
|
5
|
-
*
|
|
6
|
-
* On mount, calls loginWithOAuth() which opens the browser. After 3s (or
|
|
7
|
-
* immediately if browser fails), the onManualFallback callback fires and
|
|
8
|
-
* we show the authorize URL + a text input for pasting the auth code.
|
|
9
|
-
* When the code arrives (via browser callback or manual paste), we show
|
|
10
|
-
* an exchanging spinner, then success or error.
|
|
11
|
-
*/
|
|
12
|
-
import React from "react";
|
|
13
|
-
export interface OAuthLoginFlowProps {
|
|
14
|
-
provider: string;
|
|
15
|
-
onCancel: () => void;
|
|
16
|
-
isActive?: boolean;
|
|
17
|
-
onComplete?: (result: {
|
|
18
|
-
success: boolean;
|
|
19
|
-
message: string;
|
|
20
|
-
}) => void;
|
|
21
|
-
authorizeUrl?: string;
|
|
22
|
-
expectedState?: string;
|
|
23
|
-
onCodeSubmit?: (code: string) => Promise<void> | void;
|
|
24
|
-
}
|
|
25
|
-
export declare function OAuthLoginFlow({ provider, onCancel, isActive, onComplete, authorizeUrl: initialAuthorizeUrl, expectedState, onCodeSubmit, }: OAuthLoginFlowProps): React.ReactElement;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare function OutputLine({ content, lines, verbose, isError, }: {
|
|
3
|
-
content: string;
|
|
4
|
-
lines: number;
|
|
5
|
-
verbose: boolean;
|
|
6
|
-
isError?: boolean;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* Backward-compat wrapper for ARIA callers that use the simplified interface.
|
|
10
|
-
* Accepts content string + optional maxLines + isError, computes line count internally.
|
|
11
|
-
*/
|
|
12
|
-
export declare function OutputTruncation({ content, maxLines, isError, }: {
|
|
13
|
-
content: string;
|
|
14
|
-
maxLines?: number;
|
|
15
|
-
isError?: boolean;
|
|
16
|
-
}): React.ReactElement;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { FileDiff } from "../utils/diff.js";
|
|
3
|
-
export type PermissionChoice = "yes" | "no" | "always";
|
|
4
|
-
interface PermissionPromptProps {
|
|
5
|
-
toolName: string;
|
|
6
|
-
description: string;
|
|
7
|
-
diff?: FileDiff;
|
|
8
|
-
riskLevel?: "low" | "moderate" | "high";
|
|
9
|
-
onChoice: (choice: PermissionChoice) => void;
|
|
10
|
-
/** When false, the prompt stops capturing keystrokes. Defaults to true. */
|
|
11
|
-
isActive?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare function PermissionPrompt({ toolName, description, diff, riskLevel, onChoice, isActive, }: PermissionPromptProps): React.ReactElement;
|
|
14
|
-
/**
|
|
15
|
-
* Simple yes/no confirmation
|
|
16
|
-
*/
|
|
17
|
-
export declare function ConfirmPrompt({ message, onConfirm, onCancel, }: {
|
|
18
|
-
message: string;
|
|
19
|
-
onConfirm: () => void;
|
|
20
|
-
onCancel: () => void;
|
|
21
|
-
}): React.ReactElement;
|
|
22
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface PipelineTimingReport {
|
|
3
|
-
phases: Array<{
|
|
4
|
-
phase: string;
|
|
5
|
-
durationMs: number;
|
|
6
|
-
pct: number;
|
|
7
|
-
}>;
|
|
8
|
-
totalMs: number;
|
|
9
|
-
}
|
|
10
|
-
export interface PipelineTimingPanelProps {
|
|
11
|
-
report: PipelineTimingReport;
|
|
12
|
-
}
|
|
13
|
-
export declare function PipelineTimingPanel({ report, }: PipelineTimingPanelProps): React.ReactElement | null;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ProviderMethodOption {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
method: string;
|
|
7
|
-
status?: "connected" | "available" | "none";
|
|
8
|
-
}
|
|
9
|
-
export interface ProviderMethodPickerProps<T extends ProviderMethodOption = ProviderMethodOption> {
|
|
10
|
-
options: T[];
|
|
11
|
-
onSelect: (option: T) => void;
|
|
12
|
-
onCancel: () => void;
|
|
13
|
-
title?: string;
|
|
14
|
-
isActive?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare function ProviderMethodPicker<T extends ProviderMethodOption>({ options, onSelect, onCancel, title, isActive, }: ProviderMethodPickerProps<T>): React.ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ProviderOption {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
status: "connected" | "expired" | "none";
|
|
6
|
-
email?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ProviderPickerProps {
|
|
9
|
-
providers: ProviderOption[];
|
|
10
|
-
onSelect: (provider: ProviderOption) => void;
|
|
11
|
-
onCancel: () => void;
|
|
12
|
-
/** When false, the picker stops capturing keystrokes. Defaults to true. */
|
|
13
|
-
isActive?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare function ProviderPicker({ providers, onSelect, onCancel, isActive, }: ProviderPickerProps): React.ReactElement;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flat dispatcher for the new rendering pipeline.
|
|
3
|
-
* Replaces MessageRouter — dispatches by RenderItem.kind instead of
|
|
4
|
-
* DisplayMessage.type + ContentBlock.type.
|
|
5
|
-
*
|
|
6
|
-
* Reuses existing components: UserTextMessage, ThinkingBlock, ToolExecution.
|
|
7
|
-
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
import type { RenderItem } from "../render-item.js";
|
|
10
|
-
import type { DisplayMode } from "../display-mode.js";
|
|
11
|
-
interface Props {
|
|
12
|
-
item: RenderItem;
|
|
13
|
-
displayMode: DisplayMode;
|
|
14
|
-
showPrefix: boolean;
|
|
15
|
-
previewTailLines?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare const RenderItemView: React.NamedExoticComponent<Props>;
|
|
18
|
-
export {};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { type ArionColor } from "../theme.js";
|
|
2
|
-
import type { EffortLevel } from "@aria-cli/types";
|
|
3
|
-
export interface StatusBarArion {
|
|
4
|
-
name: string;
|
|
5
|
-
emoji: string;
|
|
6
|
-
color?: ArionColor;
|
|
7
|
-
traits?: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface StatusBarMetrics {
|
|
10
|
-
/** Current turn number (from turn_complete events) */
|
|
11
|
-
turnCount: number;
|
|
12
|
-
/** Total tokens used across all model calls (cumulative) */
|
|
13
|
-
totalTokens: number;
|
|
14
|
-
/** Estimated cost in USD */
|
|
15
|
-
estimatedCost: number;
|
|
16
|
-
/** Wall-clock time in seconds since run started */
|
|
17
|
-
wallTimeSeconds: number;
|
|
18
|
-
/** Last model call's input tokens — approximates current context window usage */
|
|
19
|
-
contextTokens: number;
|
|
20
|
-
/** True when contextTokens is stale (tool calls happened since last model call) */
|
|
21
|
-
contextStale: boolean;
|
|
22
|
-
}
|
|
23
|
-
export type AutonomyLevel = "minimal" | "balanced" | "high" | "full";
|
|
24
|
-
/** Default autonomy level — matches DEFAULT_SAFETY_CONFIG.autonomy in @aria/aria */
|
|
25
|
-
export declare const DEFAULT_AUTONOMY: AutonomyLevel;
|
|
26
|
-
export interface StatusBarProps {
|
|
27
|
-
arion: StatusBarArion;
|
|
28
|
-
model: string;
|
|
29
|
-
/** Max context window tokens for the current model */
|
|
30
|
-
maxContextTokens?: number;
|
|
31
|
-
responseTime?: number;
|
|
32
|
-
/** Live observability metrics from the current/last run */
|
|
33
|
-
metrics?: StatusBarMetrics;
|
|
34
|
-
/** Current display mode — cost/time only shown in debug */
|
|
35
|
-
displayMode?: "minimal" | "standard" | "debug";
|
|
36
|
-
/** Whether to show cost metrics (toggled with '$' hotkey, default true) */
|
|
37
|
-
showCosts?: boolean;
|
|
38
|
-
/** Name of the active/responding arion for the current run */
|
|
39
|
-
activeArion?: string;
|
|
40
|
-
/** Current effort level */
|
|
41
|
-
effortLevel?: EffortLevel;
|
|
42
|
-
/** Current autonomy level */
|
|
43
|
-
autonomyLevel?: AutonomyLevel;
|
|
44
|
-
/** Number of unread mesh messages (0 = hidden) */
|
|
45
|
-
meshMessageCount?: number;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Format a token count into human-friendly compact notation.
|
|
49
|
-
* Examples: 0, 842, 1.2k, 45.6k, 1.2M
|
|
50
|
-
*/
|
|
51
|
-
export declare function formatTokens(tokens: number): string;
|
|
52
|
-
/**
|
|
53
|
-
* Format cost in USD with 2 decimal places.
|
|
54
|
-
* Examples: $0.00, $0.12, $1.50
|
|
55
|
-
*/
|
|
56
|
-
export declare function formatCost(cost: number): string;
|
|
57
|
-
/**
|
|
58
|
-
* Format wall-clock time in human-readable format.
|
|
59
|
-
* Examples: 0.0s, 1.2s, 45.3s, 2m 15s
|
|
60
|
-
*/
|
|
61
|
-
export declare function formatWallTime(seconds: number): string;
|
|
62
|
-
/**
|
|
63
|
-
* Get context window fill percentage (0–100).
|
|
64
|
-
*/
|
|
65
|
-
export declare function contextPercent(contextTokens: number, maxTokens: number): number;
|
|
66
|
-
/**
|
|
67
|
-
* Status bar — context-first, purple gauge, with autonomy indicator.
|
|
68
|
-
*
|
|
69
|
-
* Idle:
|
|
70
|
-
* 🦋 ARIA · opus-4.6 ⏵⏵ bypass ctx ░░░░░░░░ –
|
|
71
|
-
*
|
|
72
|
-
* During run (standard):
|
|
73
|
-
* 🦋 ARIA · opus-4.6 · Turn 3 · 45.6k/200k ⏵⏵ bypass ctx ████░░░░ 23%
|
|
74
|
-
*
|
|
75
|
-
* During run (debug — adds cost + time):
|
|
76
|
-
* 🦋 ARIA · opus-4.6 · Turn 3 · 45.6k/200k · $0.02 · 2.1s ⏵⏵ bypass ctx ████░░░░ 23%
|
|
77
|
-
*/
|
|
78
|
-
export declare function StatusBar({ arion, model, maxContextTokens, responseTime, metrics, showCosts, displayMode, activeArion, effortLevel, autonomyLevel, meshMessageCount, }: StatusBarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type StreamingState = "composing" | "thinking";
|
|
3
|
-
export interface StreamingIndicatorProps {
|
|
4
|
-
state: StreamingState;
|
|
5
|
-
elapsedSeconds: number;
|
|
6
|
-
totalTokens: number;
|
|
7
|
-
thoughtForSeconds?: number;
|
|
8
|
-
/** Present-tense verb to show (syncs with thinking block). Falls back to random. */
|
|
9
|
-
currentVerb?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function StreamingIndicator({ state, elapsedSeconds, totalTokens, thoughtForSeconds, currentVerb, }: StreamingIndicatorProps): React.ReactElement;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { FileDiff } from "../utils/diff.js";
|
|
3
|
-
export declare function wrapText(text: string, width: number): string[];
|
|
4
|
-
interface StructuredDiffProps {
|
|
5
|
-
diff: FileDiff;
|
|
6
|
-
width?: number;
|
|
7
|
-
showHeader?: boolean;
|
|
8
|
-
maxLines?: number;
|
|
9
|
-
/** When true, uses dimmed colors for a less prominent appearance */
|
|
10
|
-
dim?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function StructuredDiff({ diff, width, showHeader, maxLines, dim, }: StructuredDiffProps): React.ReactElement;
|
|
13
|
-
/**
|
|
14
|
-
* Compact diff for permission prompts (fewer lines)
|
|
15
|
-
*/
|
|
16
|
-
export declare function CompactDiff({ diff, maxLines, }: {
|
|
17
|
-
diff: FileDiff;
|
|
18
|
-
maxLines?: number;
|
|
19
|
-
}): React.ReactElement;
|
|
20
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface TextInputOverlayProps {
|
|
3
|
-
title: string;
|
|
4
|
-
hint?: string;
|
|
5
|
-
onSubmit: (value: string) => void;
|
|
6
|
-
onCancel: () => void;
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare function TextInputOverlay({ title, hint, onSubmit, onCancel, isActive, }: TextInputOverlayProps): React.ReactElement;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ThinkingBlockProps {
|
|
3
|
-
/** The thinking content text */
|
|
4
|
-
content: string;
|
|
5
|
-
/** Pre-computed word count (kept for backward compat, not displayed) */
|
|
6
|
-
wordCount?: number;
|
|
7
|
-
/** Whether the thinking block is expanded to show full content */
|
|
8
|
-
expanded?: boolean;
|
|
9
|
-
/** 1-based position index (kept for backward compat, not displayed) */
|
|
10
|
-
index?: number;
|
|
11
|
-
/** Duration of the thinking phase in seconds */
|
|
12
|
-
durationSeconds?: number;
|
|
13
|
-
/** Past-tense verb from the indicator (e.g. "Reflected"). Displayed directly. */
|
|
14
|
-
verb?: string;
|
|
15
|
-
/** Arion name to prefix (e.g. "ARIA") */
|
|
16
|
-
arionName?: string;
|
|
17
|
-
/** Arion emoji to prefix (e.g. "🦋") */
|
|
18
|
-
arionEmoji?: string;
|
|
19
|
-
/** Arion color hex (e.g. "#00d9ff") */
|
|
20
|
-
arionColor?: string;
|
|
21
|
-
/** True while thinking_delta events are still arriving (live streaming) */
|
|
22
|
-
isLive?: boolean;
|
|
23
|
-
/** Optional cap for visible rendered lines */
|
|
24
|
-
maxLines?: number;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Count words in a string by splitting on whitespace.
|
|
28
|
-
* Returns 0 for empty or whitespace-only strings.
|
|
29
|
-
*/
|
|
30
|
-
export declare function countWords(text: string): number;
|
|
31
|
-
/**
|
|
32
|
-
* Format a duration in seconds to a human-readable string.
|
|
33
|
-
* Returns empty string for missing/non-positive values.
|
|
34
|
-
*/
|
|
35
|
-
export declare function formatDuration(seconds?: number): string;
|
|
36
|
-
/**
|
|
37
|
-
* Pick a random past-tense verb.
|
|
38
|
-
* Exported for testing backward compat.
|
|
39
|
-
*/
|
|
40
|
-
export declare function pickRandomVerb(): string;
|
|
41
|
-
/**
|
|
42
|
-
* ThinkingBlock displays an LLM's thinking/reasoning inline in the conversation.
|
|
43
|
-
*
|
|
44
|
-
* Collapsed (default):
|
|
45
|
-
* 🦋 ARIA ✻ Pondered for 3m 19s
|
|
46
|
-
*
|
|
47
|
-
* Expanded:
|
|
48
|
-
* 🦋 ARIA ✻ Pondered for 3m 19s
|
|
49
|
-
* I need to understand how the runner handles
|
|
50
|
-
* tool execution. Let me read the source...
|
|
51
|
-
* … (+3 lines)
|
|
52
|
-
*/
|
|
53
|
-
export declare function ThinkingBlock({ content, expanded, durationSeconds, verb, arionName, arionEmoji, arionColor, isLive, maxLines, }: ThinkingBlockProps): React.ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Combined tool execution component — renders tool_use header + tool_result
|
|
3
|
-
* as ONE visual unit.
|
|
4
|
-
*
|
|
5
|
-
* Uses TOOL_RENDERERS from registry.ts directly — no adapter layer.
|
|
6
|
-
*/
|
|
7
|
-
import type { ToolExecutionItem } from "../render-item.js";
|
|
8
|
-
interface Props {
|
|
9
|
-
item: ToolExecutionItem;
|
|
10
|
-
verbose: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function ToolExecution({ item, verbose }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
displayName: string;
|
|
4
|
-
args?: React.ReactNode;
|
|
5
|
-
status: "pending" | "running" | "complete" | "error";
|
|
6
|
-
durationMs?: number;
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare function ToolHeader({ displayName, args, status, durationMs, verbose }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ToolRenderLayout {
|
|
3
|
-
terminalWidth: number;
|
|
4
|
-
contentWidth: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function ToolRenderLayoutProvider({ value, children, }: {
|
|
7
|
-
value: ToolRenderLayout;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}): React.ReactElement;
|
|
10
|
-
export declare function useToolRenderLayout(): ToolRenderLayout;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
isError: boolean;
|
|
4
|
-
isUnresolved: boolean;
|
|
5
|
-
shouldAnimate: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare function ToolUseLoader({ isError, isUnresolved, shouldAnimate, ...rest }: Partial<Props> & {
|
|
8
|
-
isQueued?: boolean;
|
|
9
|
-
}): React.ReactNode;
|
|
10
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TraceWaterfall — ASCII waterfall visualization of trace spans.
|
|
3
|
-
*
|
|
4
|
-
* Renders spans as proportional horizontal bars in a timeline, showing
|
|
5
|
-
* temporal relationships between model calls and tool executions.
|
|
6
|
-
*
|
|
7
|
-
* Example output:
|
|
8
|
-
*
|
|
9
|
-
* model_call ████████████░░░░░░░ 680ms
|
|
10
|
-
* tool_exec ░░████░░░░░░░░░░░ 120ms (read_file)
|
|
11
|
-
* tool_exec ░░░░░░████░░░░░░░ 230ms (grep)
|
|
12
|
-
* model_call ░░░░░░░░░░░████████ 520ms
|
|
13
|
-
*
|
|
14
|
-
* Root spans (no parentSpanId) render at left margin.
|
|
15
|
-
* Child spans are indented 2 spaces.
|
|
16
|
-
* Bar width is proportional to duration relative to total trace time.
|
|
17
|
-
*/
|
|
18
|
-
import React from "react";
|
|
19
|
-
export interface TraceWaterfallSpan {
|
|
20
|
-
/** Unique span identifier */
|
|
21
|
-
spanId: string;
|
|
22
|
-
/** Span category (model_call, tool_execution, etc.) */
|
|
23
|
-
spanType: string;
|
|
24
|
-
/** Human-readable name (e.g., tool name) */
|
|
25
|
-
name: string;
|
|
26
|
-
/** Epoch ms start time */
|
|
27
|
-
startTime: number;
|
|
28
|
-
/** Epoch ms end time (undefined if still in-flight) */
|
|
29
|
-
endTime?: number;
|
|
30
|
-
/** Duration in ms (computed from start/end if not provided) */
|
|
31
|
-
durationMs?: number;
|
|
32
|
-
/** Parent span ID (undefined for root spans) */
|
|
33
|
-
parentSpanId?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface TraceWaterfallProps {
|
|
36
|
-
/** Span data to visualize */
|
|
37
|
-
spans: TraceWaterfallSpan[];
|
|
38
|
-
/** Total width for the bar area (default: 20 characters) */
|
|
39
|
-
width?: number;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Build a single waterfall bar string.
|
|
43
|
-
*
|
|
44
|
-
* @param barWidth - Total character width of the bar area
|
|
45
|
-
* @param offsetFrac - Fraction [0,1) of the bar area before this span starts
|
|
46
|
-
* @param widthFrac - Fraction (0,1] of the bar area this span occupies
|
|
47
|
-
* @returns The bar string using block characters
|
|
48
|
-
*/
|
|
49
|
-
export declare function buildBar(barWidth: number, offsetFrac: number, widthFrac: number): string;
|
|
50
|
-
/**
|
|
51
|
-
* TraceWaterfall component for Ink.
|
|
52
|
-
*
|
|
53
|
-
* Renders an ASCII trace waterfall showing span timing relationships.
|
|
54
|
-
* Only renders spans that have end times / durations (in-flight spans are skipped).
|
|
55
|
-
*/
|
|
56
|
-
export declare function TraceWaterfall({ spans, width }: TraceWaterfallProps): React.ReactElement | null;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export { StatusBar, type StatusBarProps, type StatusBarArion, type StatusBarMetrics, type AutonomyLevel, } from "./StatusBar.js";
|
|
2
|
-
export { ArionPrompt, type ArionPromptProps } from "./ArionPrompt.js";
|
|
3
|
-
export { Message, type MessageProps, type MessageArion } from "./Message.js";
|
|
4
|
-
export { InputArea, type InputAreaProps, type TriggerType } from "./InputArea.js";
|
|
5
|
-
export { ConversationHistory, type ConversationHistoryProps, type HistoryMessage, } from "./ConversationHistory.js";
|
|
6
|
-
export { Spinner } from "./Spinner.js";
|
|
7
|
-
export { CopilotDeviceLoginFlow, type CopilotDeviceLoginFlowProps, } from "./CopilotDeviceLoginFlow.js";
|
|
8
|
-
export { CopilotSourcePicker, type CopilotSourcePickerProps, type CopilotSourcePickerOption, } from "./CopilotSourcePicker.js";
|
|
9
|
-
export { Banner } from "./Banner.js";
|
|
10
|
-
export { ErrorDisplay, InlineError, SuggestionError, BoxedError, FatalError, } from "./ErrorDisplay.js";
|
|
11
|
-
export { AutocompleteDropdown } from "./AutocompleteDropdown.js";
|
|
12
|
-
export { StructuredDiff, CompactDiff } from "./StructuredDiff.js";
|
|
13
|
-
export { PermissionPrompt, ConfirmPrompt, type PermissionChoice } from "./PermissionPrompt.js";
|
|
14
|
-
export { AutonomySelector, type AutonomySelectorProps } from "./AutonomySelector.js";
|
|
15
|
-
export { ThinkingBlock, countWords } from "./ThinkingBlock.js";
|
|
16
|
-
export type { ThinkingBlockProps } from "./ThinkingBlock.js";
|
|
17
|
-
export { HandoffMarker } from "./HandoffMarker.js";
|
|
18
|
-
export type { HandoffMarkerProps } from "./HandoffMarker.js";
|
|
19
|
-
export { TraceWaterfall, buildBar } from "./TraceWaterfall.js";
|
|
20
|
-
export type { TraceWaterfallProps, TraceWaterfallSpan } from "./TraceWaterfall.js";
|
|
21
|
-
export { PipelineTimingPanel } from "./PipelineTimingPanel.js";
|
|
22
|
-
export type { PipelineTimingPanelProps, PipelineTimingReport } from "./PipelineTimingPanel.js";
|
|
23
|
-
export { ToolUseLoader } from "./ToolUseLoader.js";
|
|
24
|
-
export { StreamingIndicator, type StreamingIndicatorProps, type StreamingState, } from "./StreamingIndicator.js";
|
|
25
|
-
export { PermissionRequest, type PermissionRequestProps, type ToolUseConfirm, type ToolLike, type AssistantMessageLike, toolUseConfirmGetPrefix, } from "./permissions/PermissionRequest.js";
|
|
26
|
-
export { PermissionRequestTitle, textColorForRiskScore, categoryForRiskScore, type RiskScoreCategory, } from "./permissions/PermissionRequestTitle.js";
|
|
27
|
-
export { Select, type SelectProps, type OptionSubtree } from "./CustomSelect/select.js";
|
|
28
|
-
export type { Option } from "./CustomSelect/option-map.js";
|
|
29
|
-
export * from "./overlays/index.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { TextBlockParam } from "../../types/anthropic.js";
|
|
3
|
-
type Props = {
|
|
4
|
-
param: TextBlockParam;
|
|
5
|
-
costUSD: number;
|
|
6
|
-
durationMs: number;
|
|
7
|
-
debug: boolean;
|
|
8
|
-
addMargin: boolean;
|
|
9
|
-
shouldShowDot: boolean;
|
|
10
|
-
columns: number;
|
|
11
|
-
};
|
|
12
|
-
export declare function AssistantTextMessage({ param: { text }, costUSD, durationMs, debug, addMargin, shouldShowDot, columns, }: Props): React.ReactNode;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
param: {
|
|
4
|
-
type: "text";
|
|
5
|
-
text: string;
|
|
6
|
-
};
|
|
7
|
-
userName?: string;
|
|
8
|
-
columns: number;
|
|
9
|
-
addMargin?: boolean;
|
|
10
|
-
showPrefix?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare function UserTextMessage({ param: { text }, userName, columns, addMargin, showPrefix, }: Props): React.ReactNode;
|
|
13
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type ArionColor } from "../../theme.js";
|
|
2
|
-
export interface ArionOption {
|
|
3
|
-
name: string;
|
|
4
|
-
emoji: string;
|
|
5
|
-
color?: ArionColor;
|
|
6
|
-
description?: string;
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
isResting?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export type ArionStatusFilter = "all" | "active" | "resting";
|
|
11
|
-
export interface ArionSelectorProps {
|
|
12
|
-
arions: ArionOption[];
|
|
13
|
-
initialFilter?: string;
|
|
14
|
-
statusFilter?: ArionStatusFilter;
|
|
15
|
-
onSelect: (arion: ArionOption) => void;
|
|
16
|
-
onCancel: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare function ArionSelector({ arions, initialFilter, statusFilter, onSelect, onCancel, }: ArionSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SelectableClient } from "../../../selectable-client.js";
|
|
2
|
-
export interface ClientSelectorProps {
|
|
3
|
-
clients: SelectableClient[];
|
|
4
|
-
onSelect: (client: SelectableClient) => void;
|
|
5
|
-
onCancel: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function ClientSelector({ clients, onSelect, onCancel }: ClientSelectorProps): import("react/jsx-runtime").JSX.Element;
|