forked from lessweb/deepcode-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
99 lines (98 loc) · 2.94 KB
/
index.ts
File metadata and controls
99 lines (98 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import {
getThinkingOptionIndex,
MODEL_COMMAND_MODELS,
MODEL_COMMAND_THINKING_OPTIONS,
} from "./components/ModelsDropdown";
export {
readSettings,
readProjectSettings,
writeSettings,
writeProjectSettings,
writeModelConfigSelection,
resolveCurrentSettings,
buildPromptDraftFromSessionMessage,
} from "./App";
export { createOpenAIClient } from "../common/openai-client";
export { default as AppContainer } from "./AppContainer";
export { AskUserQuestionPrompt } from "./AskUserQuestionPrompt";
export { MessageView } from "./components";
export { parseDiffPreview } from "./components/MessageView/utils";
export {
PromptInput,
IMAGE_ATTACHMENT_CLEAR_HINT,
formatImageAttachmentStatus,
formatSelectedSkillsStatus,
addUniqueSkill,
toggleSkillSelection,
removeCurrentSlashToken,
isClearImageAttachmentsShortcut,
getPromptReturnKeyAction,
renderBufferWithCursor,
buildInitPromptSubmission,
useTerminalInput,
parseTerminalInput,
dispatchTerminalInput,
type PromptSubmission,
type PromptDraft,
type InputKey,
} from "./PromptInput";
export { getThinkingOptionIndex, MODEL_COMMAND_MODELS, MODEL_COMMAND_THINKING_OPTIONS };
export { disableTerminalExtendedKeys, enableTerminalExtendedKeys, getPromptCursorPlacement } from "./prompt/cursor";
export { SessionList, formatSessionTitle, filterSessions, formatSessionStatus } from "./SessionList";
export { ThemedGradient } from "./ThemedGradient";
export { UpdatePrompt, type UpdatePromptChoice } from "./UpdatePrompt";
export { WelcomeScreen, formatHomeRelativePath, buildWelcomeTips } from "./WelcomeScreen";
export {
findPendingAskUserQuestion,
formatAskUserQuestionAnswers,
formatAskUserQuestionDecline,
type AskUserQuestionOption,
type AskUserQuestionItem,
type PendingAskUserQuestion,
type AskUserQuestionAnswers,
} from "./askUserQuestion";
export { readClipboardImage, type ClipboardImage } from "./clipboard";
export { buildLoadingText, type LoadingTextInput } from "./loadingText";
export { renderMarkdown, renderMarkdownSegments, type MarkdownSegment } from "./components/MessageView/markdown";
export {
EMPTY_BUFFER,
insertText,
backspace,
deleteForward,
moveLeft,
moveRight,
moveWordLeft,
moveWordRight,
moveUp,
moveDown,
moveLineStart,
moveLineEnd,
killLine,
deleteWordBefore,
deleteWordAfter,
reset,
isEmpty,
getCurrentSlashToken,
type PromptBufferState,
} from "./promptBuffer";
export {
BUILTIN_SLASH_COMMANDS,
buildSlashCommands,
filterSlashCommands,
findExactSlashCommand,
formatSlashCommandDescription,
formatSlashCommandLabel,
type SlashCommandKind,
type SlashCommandItem,
} from "./slashCommands";
export {
filterFileMentionItems,
formatFileMentionPath,
getCurrentFileMentionToken,
replaceCurrentFileMentionToken,
scanFileMentionItems,
type FileMentionItem,
type FileMentionToken,
} from "./fileMentions";
export { findExpandedThinkingId } from "./thinkingState";
export { buildExitSummaryText } from "./exitSummary";