@abacus-ai/cli 2.0.0-canary.0 → 2.0.0-canary.2

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.
Files changed (198) hide show
  1. package/dist/index.mjs +807 -561
  2. package/package.json +4 -1
  3. package/.oxlintrc.json +0 -8
  4. package/resources/abacus.ico +0 -0
  5. package/resources/entitlements.plist +0 -9
  6. package/src/__e2e__/README.md +0 -196
  7. package/src/__e2e__/agent-interactions.e2e.test.tsx +0 -61
  8. package/src/__e2e__/cli-commands.e2e.test.tsx +0 -77
  9. package/src/__e2e__/conversation-throttle.e2e.test.ts +0 -453
  10. package/src/__e2e__/conversation.e2e.test.tsx +0 -56
  11. package/src/__e2e__/diff-preview.e2e.test.tsx +0 -3399
  12. package/src/__e2e__/file-creation.e2e.test.tsx +0 -149
  13. package/src/__e2e__/helpers/test-helpers.ts +0 -450
  14. package/src/__e2e__/keyboard-navigation.e2e.test.tsx +0 -34
  15. package/src/__e2e__/llm-models.e2e.test.ts +0 -402
  16. package/src/__e2e__/mcp/mcp-callback-flow.e2e.test.tsx +0 -71
  17. package/src/__e2e__/mcp/mcp-full-app-ui.e2e.test.tsx +0 -167
  18. package/src/__e2e__/mcp/mcp-ui-rendering.e2e.test.tsx +0 -185
  19. package/src/__e2e__/repl.e2e.test.tsx +0 -78
  20. package/src/__e2e__/shell-compatibility.e2e.test.tsx +0 -76
  21. package/src/__e2e__/theme-mcp.e2e.test.tsx +0 -98
  22. package/src/__e2e__/tool-permissions.e2e.test.tsx +0 -66
  23. package/src/args.ts +0 -22
  24. package/src/components/__tests__/react-compiler.test.tsx +0 -78
  25. package/src/components/__tests__/status-indicator.test.tsx +0 -403
  26. package/src/components/composer/__tests__/bash-runner.test.tsx +0 -263
  27. package/src/components/composer/agent-mode-indicator.tsx +0 -63
  28. package/src/components/composer/bash-runner.tsx +0 -54
  29. package/src/components/composer/commands/default-commands.tsx +0 -615
  30. package/src/components/composer/commands/handler.tsx +0 -59
  31. package/src/components/composer/commands/picker.tsx +0 -273
  32. package/src/components/composer/commands/registry.ts +0 -233
  33. package/src/components/composer/commands/types.ts +0 -33
  34. package/src/components/composer/context.tsx +0 -88
  35. package/src/components/composer/file-mention-picker.tsx +0 -83
  36. package/src/components/composer/help.tsx +0 -44
  37. package/src/components/composer/index.tsx +0 -1006
  38. package/src/components/composer/mentions.ts +0 -57
  39. package/src/components/composer/message-queue.tsx +0 -70
  40. package/src/components/composer/mode-panel.tsx +0 -35
  41. package/src/components/composer/modes/__tests__/bash-handler.test.tsx +0 -755
  42. package/src/components/composer/modes/__tests__/bash-renderer.test.tsx +0 -1108
  43. package/src/components/composer/modes/bash-handler.tsx +0 -132
  44. package/src/components/composer/modes/bash-renderer.tsx +0 -175
  45. package/src/components/composer/modes/default-handlers.tsx +0 -33
  46. package/src/components/composer/modes/index.ts +0 -41
  47. package/src/components/composer/modes/types.ts +0 -21
  48. package/src/components/composer/persistent-shell.ts +0 -283
  49. package/src/components/composer/process.ts +0 -65
  50. package/src/components/composer/types.ts +0 -9
  51. package/src/components/composer/use-mention-search.ts +0 -68
  52. package/src/components/error-boundry.tsx +0 -60
  53. package/src/components/exit-message.tsx +0 -29
  54. package/src/components/expanded-view.tsx +0 -74
  55. package/src/components/file-completion.tsx +0 -127
  56. package/src/components/header.tsx +0 -47
  57. package/src/components/logo.tsx +0 -37
  58. package/src/components/segments.tsx +0 -356
  59. package/src/components/status-indicator.tsx +0 -306
  60. package/src/components/tool-group-summary.tsx +0 -263
  61. package/src/components/tool-permissions/ask-user-question-permission-ui.tsx +0 -312
  62. package/src/components/tool-permissions/diff-preview.tsx +0 -355
  63. package/src/components/tool-permissions/index.ts +0 -5
  64. package/src/components/tool-permissions/permission-options.tsx +0 -375
  65. package/src/components/tool-permissions/permission-preview-header.tsx +0 -57
  66. package/src/components/tool-permissions/tool-permission-ui.tsx +0 -398
  67. package/src/components/tools/agent/ask-user-question.tsx +0 -101
  68. package/src/components/tools/agent/enter-plan-mode.tsx +0 -49
  69. package/src/components/tools/agent/exit-plan-mode.tsx +0 -75
  70. package/src/components/tools/agent/handoff-to-main.tsx +0 -27
  71. package/src/components/tools/agent/subagent.tsx +0 -37
  72. package/src/components/tools/agent/todo-write.tsx +0 -104
  73. package/src/components/tools/browser/close-tab.tsx +0 -58
  74. package/src/components/tools/browser/computer.tsx +0 -70
  75. package/src/components/tools/browser/get-interactive-elements.tsx +0 -54
  76. package/src/components/tools/browser/get-tab-content.tsx +0 -51
  77. package/src/components/tools/browser/navigate-to.tsx +0 -59
  78. package/src/components/tools/browser/new-tab.tsx +0 -60
  79. package/src/components/tools/browser/perform-action.tsx +0 -63
  80. package/src/components/tools/browser/refresh-tab.tsx +0 -43
  81. package/src/components/tools/browser/switch-tab.tsx +0 -58
  82. package/src/components/tools/filesystem/delete-file.tsx +0 -104
  83. package/src/components/tools/filesystem/edit.tsx +0 -220
  84. package/src/components/tools/filesystem/list-dir.tsx +0 -78
  85. package/src/components/tools/filesystem/read-file.tsx +0 -180
  86. package/src/components/tools/filesystem/upload-image.tsx +0 -76
  87. package/src/components/tools/ide/ide-diagnostics.tsx +0 -62
  88. package/src/components/tools/index.ts +0 -91
  89. package/src/components/tools/mcp/mcp-tool.tsx +0 -158
  90. package/src/components/tools/search/fetch-url.tsx +0 -73
  91. package/src/components/tools/search/file-search.tsx +0 -78
  92. package/src/components/tools/search/grep.tsx +0 -90
  93. package/src/components/tools/search/semantic-search.tsx +0 -66
  94. package/src/components/tools/search/web-search.tsx +0 -71
  95. package/src/components/tools/shared/index.tsx +0 -48
  96. package/src/components/tools/shared/zod-coercion.ts +0 -35
  97. package/src/components/tools/terminal/bash-tool-output.tsx +0 -174
  98. package/src/components/tools/terminal/get-terminal-output.tsx +0 -85
  99. package/src/components/tools/terminal/run-in-terminal.tsx +0 -106
  100. package/src/components/tools/types.ts +0 -16
  101. package/src/components/tools.tsx +0 -66
  102. package/src/components/ui/__tests__/divider.test.tsx +0 -61
  103. package/src/components/ui/__tests__/gradient.test.tsx +0 -125
  104. package/src/components/ui/__tests__/input.test.tsx +0 -166
  105. package/src/components/ui/__tests__/select.test.tsx +0 -273
  106. package/src/components/ui/__tests__/shimmer.test.tsx +0 -99
  107. package/src/components/ui/blinking-indicator.tsx +0 -25
  108. package/src/components/ui/divider.tsx +0 -162
  109. package/src/components/ui/gradient.tsx +0 -56
  110. package/src/components/ui/input.tsx +0 -228
  111. package/src/components/ui/select.tsx +0 -151
  112. package/src/components/ui/shimmer.tsx +0 -84
  113. package/src/context/agent-mode.tsx +0 -95
  114. package/src/context/extension-file.tsx +0 -136
  115. package/src/context/network-activity.tsx +0 -45
  116. package/src/context/notification.tsx +0 -62
  117. package/src/context/shell-size.tsx +0 -49
  118. package/src/context/shell-title.tsx +0 -38
  119. package/src/entrypoints/print-mode.ts +0 -312
  120. package/src/entrypoints/repl.tsx +0 -401
  121. package/src/hooks/use-agent.ts +0 -15
  122. package/src/hooks/use-api-client.ts +0 -1
  123. package/src/hooks/use-available-height.ts +0 -8
  124. package/src/hooks/use-cleanup.ts +0 -29
  125. package/src/hooks/use-interrupt-manager.ts +0 -242
  126. package/src/hooks/use-models.ts +0 -22
  127. package/src/index.ts +0 -217
  128. package/src/lib/__tests__/ansi.test.ts +0 -255
  129. package/src/lib/__tests__/cli.test.ts +0 -122
  130. package/src/lib/__tests__/commands.test.ts +0 -325
  131. package/src/lib/__tests__/constants.test.ts +0 -15
  132. package/src/lib/__tests__/focusables.test.ts +0 -25
  133. package/src/lib/__tests__/fs.test.ts +0 -231
  134. package/src/lib/__tests__/markdown.test.tsx +0 -348
  135. package/src/lib/__tests__/mcpCommandHandler.test.ts +0 -173
  136. package/src/lib/__tests__/mcpManagement.test.ts +0 -38
  137. package/src/lib/__tests__/path-paste.test.ts +0 -144
  138. package/src/lib/__tests__/path.test.ts +0 -300
  139. package/src/lib/__tests__/queries.test.ts +0 -39
  140. package/src/lib/__tests__/standaloneMcpService.test.ts +0 -71
  141. package/src/lib/__tests__/text-buffer.test.ts +0 -328
  142. package/src/lib/__tests__/text-utils.test.ts +0 -32
  143. package/src/lib/__tests__/timing.test.ts +0 -78
  144. package/src/lib/__tests__/utils.test.ts +0 -238
  145. package/src/lib/__tests__/vim-buffer-actions.test.ts +0 -154
  146. package/src/lib/ansi.ts +0 -150
  147. package/src/lib/cli-push-server.ts +0 -112
  148. package/src/lib/cli.ts +0 -44
  149. package/src/lib/clipboard.ts +0 -226
  150. package/src/lib/command-utils.ts +0 -93
  151. package/src/lib/commands.ts +0 -270
  152. package/src/lib/constants.ts +0 -3
  153. package/src/lib/extension-connection.ts +0 -181
  154. package/src/lib/focusables.ts +0 -7
  155. package/src/lib/fs.ts +0 -533
  156. package/src/lib/markdown/code-block.tsx +0 -63
  157. package/src/lib/markdown/index.ts +0 -4
  158. package/src/lib/markdown/link.tsx +0 -19
  159. package/src/lib/markdown/markdown.tsx +0 -372
  160. package/src/lib/markdown/types.ts +0 -15
  161. package/src/lib/mcpCommandHandler.ts +0 -121
  162. package/src/lib/mcpManagement.ts +0 -44
  163. package/src/lib/path-paste.ts +0 -185
  164. package/src/lib/path.ts +0 -179
  165. package/src/lib/queries.ts +0 -15
  166. package/src/lib/standaloneMcpService.ts +0 -688
  167. package/src/lib/status-utils.ts +0 -237
  168. package/src/lib/test-utils.tsx +0 -72
  169. package/src/lib/text-buffer.ts +0 -2415
  170. package/src/lib/text-utils.ts +0 -272
  171. package/src/lib/timing.ts +0 -63
  172. package/src/lib/types.ts +0 -295
  173. package/src/lib/utils.ts +0 -182
  174. package/src/lib/vim-buffer-actions.ts +0 -732
  175. package/src/providers/agent.tsx +0 -1075
  176. package/src/providers/api-client.tsx +0 -43
  177. package/src/services/logger.ts +0 -85
  178. package/src/terminal/detection.ts +0 -187
  179. package/src/terminal/exit.ts +0 -279
  180. package/src/terminal/notification.ts +0 -83
  181. package/src/terminal/progress.ts +0 -201
  182. package/src/terminal/setup.ts +0 -797
  183. package/src/terminal/suspend.ts +0 -58
  184. package/src/terminal/types.ts +0 -51
  185. package/src/theme/context.tsx +0 -57
  186. package/src/theme/index.ts +0 -4
  187. package/src/theme/themed.tsx +0 -35
  188. package/src/theme/themes.json +0 -546
  189. package/src/theme/types.ts +0 -110
  190. package/src/tools/types.ts +0 -59
  191. package/src/tools/utils/__tests__/zod-coercion.test.ts +0 -33
  192. package/src/tools/utils/tool-ui-components.tsx +0 -631
  193. package/src/tools/utils/zod-coercion.ts +0 -35
  194. package/tsconfig.json +0 -11
  195. package/tsconfig.node.json +0 -29
  196. package/tsconfig.test.json +0 -27
  197. package/tsdown.config.ts +0 -17
  198. package/vitest.config.ts +0 -76
@@ -1,355 +0,0 @@
1
- import type { StructuredPatchHunk } from "diff";
2
- import type { ComponentProps } from "react";
3
-
4
- import { View, Text } from "@codellm/jar";
5
- import { structuredPatch, diffWordsWithSpace } from "diff";
6
- import { memo, useMemo, useEffect, useState } from "react";
7
-
8
- import { useTheme } from "../../theme/index.js";
9
- import { highlightLines } from "../../tools/utils/tool-ui-components.js";
10
-
11
- type DiffPreviewProps = Omit<ComponentProps<typeof View>, "children"> & {
12
- filePath: string;
13
- originalContent: string;
14
- newContent: string;
15
- dimmed?: boolean;
16
- };
17
-
18
- interface DiffLine {
19
- type: "added" | "removed" | "unchanged" | "separator";
20
- content: string;
21
- highlightedContent?: string;
22
- originalLineNumber?: number;
23
- newLineNumber?: number;
24
- skippedLines?: number;
25
- }
26
-
27
- interface WordPart {
28
- value: string;
29
- added?: boolean;
30
- removed?: boolean;
31
- }
32
-
33
- function getWordDiff(oldLine: string, newLine: string): WordPart[] {
34
- return diffWordsWithSpace(oldLine, newLine);
35
- }
36
-
37
- const DiffLineContent = memo(
38
- ({
39
- line,
40
- pairedLine,
41
- lineNumber,
42
- dimmed = false,
43
- }: {
44
- line: DiffLine;
45
- pairedLine?: DiffLine;
46
- lineNumber: string;
47
- dimmed?: boolean;
48
- }) => {
49
- const { colors } = useTheme();
50
-
51
- if (line.type === "separator") {
52
- return (
53
- <View flexDirection="row">
54
- <Text dimColor>{lineNumber} </Text>
55
- <Text dimColor>⋮ {line.skippedLines} unchanged lines</Text>
56
- </View>
57
- );
58
- }
59
-
60
- if (line.type === "unchanged") {
61
- return (
62
- <View flexDirection="row">
63
- <Text dimColor>{lineNumber} </Text>
64
- <View flexShrink={1}>
65
- <Text dimColor wrap="wrap">
66
- {line.highlightedContent ?? line.content}
67
- </Text>
68
- </View>
69
- </View>
70
- );
71
- }
72
-
73
- if (line.type === "removed") {
74
- const wdiff =
75
- pairedLine?.type === "added" ? getWordDiff(line.content, pairedLine.content) : null;
76
- return (
77
- <View flexDirection="row" backgroundColor={colors.diffRemoved}>
78
- <Text
79
- backgroundColor={colors.diffRemoved}
80
- color={colors.diffRemovedText}
81
- dimColor={dimmed}
82
- >
83
- {lineNumber} -{" "}
84
- </Text>
85
- <View flexShrink={1}>
86
- <Text color={colors.diffRemovedText} dimColor={dimmed} wrap="wrap">
87
- {wdiff ? (
88
- wdiff.map((part, i) =>
89
- part.removed ? (
90
- <Text key={i} backgroundColor={colors.diffRemovedHighlight} dimColor={dimmed}>
91
- {part.value}
92
- </Text>
93
- ) : part.added ? null : (
94
- <Text key={i} backgroundColor={colors.diffRemoved} dimColor={dimmed}>
95
- {part.value}
96
- </Text>
97
- ),
98
- )
99
- ) : (
100
- <Text backgroundColor={colors.diffRemoved} dimColor={dimmed}>
101
- {line.highlightedContent ?? line.content}
102
- </Text>
103
- )}
104
- </Text>
105
- </View>
106
- </View>
107
- );
108
- }
109
-
110
- if (line.type === "added") {
111
- const wdiff =
112
- pairedLine?.type === "removed" ? getWordDiff(pairedLine.content, line.content) : null;
113
- return (
114
- <View flexDirection="row" backgroundColor={colors.diffAdded}>
115
- <Text backgroundColor={colors.diffAdded} color={colors.diffAddedText} dimColor={dimmed}>
116
- {lineNumber} +{" "}
117
- </Text>
118
- <View flexShrink={1}>
119
- <Text color={colors.diffAddedText} dimColor={dimmed} wrap="wrap">
120
- {wdiff ? (
121
- wdiff.map((part, i) =>
122
- part.added ? (
123
- <Text key={i} backgroundColor={colors.diffAddedHighlight} dimColor={dimmed}>
124
- {part.value}
125
- </Text>
126
- ) : part.removed ? null : (
127
- <Text key={i} backgroundColor={colors.diffAdded} dimColor={dimmed}>
128
- {part.value}
129
- </Text>
130
- ),
131
- )
132
- ) : (
133
- <Text backgroundColor={colors.diffAdded} dimColor={dimmed}>
134
- {line.highlightedContent ?? line.content}
135
- </Text>
136
- )}
137
- </Text>
138
- </View>
139
- </View>
140
- );
141
- }
142
-
143
- return null;
144
- },
145
- );
146
- DiffLineContent.displayName = "DiffLineContent";
147
-
148
- export const DiffPreviewTitle = memo(
149
- ({ filePath, hunks }: { filePath: string; hunks: StructuredPatchHunk[] }) => {
150
- const { colors } = useTheme();
151
- const numAdditions = hunks.reduce(
152
- (count, hunk) => count + hunk.lines.filter((l) => l.startsWith("+")).length,
153
- 0,
154
- );
155
- const numRemovals = hunks.reduce(
156
- (count, hunk) => count + hunk.lines.filter((l) => l.startsWith("-")).length,
157
- 0,
158
- );
159
-
160
- return (
161
- <View flexDirection="row" gap={1}>
162
- <Text bold>{filePath}</Text>
163
- {(numAdditions > 0 || numRemovals > 0) && (
164
- <Text dimColor>
165
- {numAdditions > 0 && <Text color={colors.diffAddedText}>+{numAdditions}</Text>}
166
- {numAdditions > 0 && numRemovals > 0 && <Text> </Text>}
167
- {numRemovals > 0 && <Text color={colors.diffRemovedText}>-{numRemovals}</Text>}
168
- </Text>
169
- )}
170
- </View>
171
- );
172
- },
173
- );
174
- DiffPreviewTitle.displayName = "DiffPreviewTitle";
175
-
176
- export const DiffPreview = memo(
177
- ({ filePath, originalContent, newContent, dimmed = false, ...viewProps }: DiffPreviewProps) => {
178
- // Defer heavy diff computation off the render cycle via setTimeout(0) to avoid
179
- // blocking the event loop (and React's concurrent scheduler) on large files.
180
- const [computedContent, setComputedContent] = useState(newContent);
181
- const isProcessing = computedContent !== newContent;
182
-
183
- useEffect(() => {
184
- if (computedContent === newContent) return;
185
- const id = setTimeout(() => setComputedContent(newContent), 0);
186
- return () => clearTimeout(id);
187
- }, [newContent, computedContent]);
188
-
189
- const { diffLines, totalOriginalLines } = useMemo(() => {
190
- const hlOrig = highlightLines(originalContent, filePath);
191
- const hlNew = highlightLines(computedContent, filePath);
192
-
193
- const patch = structuredPatch(
194
- filePath,
195
- filePath,
196
- originalContent,
197
- computedContent,
198
- undefined,
199
- undefined,
200
- { context: 1 },
201
- );
202
-
203
- const lines: DiffLine[] = [];
204
- let lastEndLine = 0;
205
-
206
- for (let hunkIdx = 0; hunkIdx < patch.hunks.length; hunkIdx++) {
207
- const hunk = patch.hunks[hunkIdx];
208
- if (!hunk) continue;
209
-
210
- const hunkStartLine = hunk.oldStart;
211
-
212
- if (hunkIdx > 0 && hunkStartLine > lastEndLine + 1) {
213
- const skipped = hunkStartLine - lastEndLine - 1;
214
- if (skipped > 0) {
215
- lines.push({
216
- type: "separator",
217
- content: "",
218
- skippedLines: skipped,
219
- });
220
- }
221
- }
222
-
223
- let oldLineNum = hunk.oldStart;
224
- let newLineNum = hunk.newStart;
225
-
226
- for (const line of hunk.lines) {
227
- const prefix = line[0];
228
- const content = line.slice(1);
229
-
230
- if (prefix === "+") {
231
- lines.push({
232
- type: "added",
233
- content,
234
- highlightedContent: hlNew[newLineNum - 1],
235
- newLineNumber: newLineNum++,
236
- });
237
- } else if (prefix === "-") {
238
- lines.push({
239
- type: "removed",
240
- content,
241
- highlightedContent: hlOrig[oldLineNum - 1],
242
- originalLineNumber: oldLineNum++,
243
- });
244
- } else {
245
- lines.push({
246
- type: "unchanged",
247
- content,
248
- highlightedContent: hlOrig[oldLineNum - 1],
249
- originalLineNumber: oldLineNum++,
250
- newLineNumber: newLineNum++,
251
- });
252
- }
253
- }
254
-
255
- lastEndLine = oldLineNum - 1;
256
- }
257
-
258
- const originalLines = originalContent.split("\n").length;
259
-
260
- return {
261
- diffLines: lines,
262
- totalOriginalLines: originalLines,
263
- };
264
- }, [filePath, originalContent, computedContent]);
265
-
266
- const linePairs = useMemo(() => {
267
- const pairs = new Map<number, DiffLine>();
268
- for (let i = 0; i < diffLines.length; i++) {
269
- const current = diffLines[i];
270
- if (!current) continue;
271
-
272
- if (current.type === "removed") {
273
- const next = diffLines[i + 1];
274
- if (next && next.type === "added") {
275
- pairs.set(i, next);
276
- pairs.set(i + 1, current);
277
- }
278
- }
279
- }
280
- return pairs;
281
- }, [diffLines]);
282
-
283
- if (diffLines.length === 0) {
284
- return (
285
- <View flexDirection="column" {...viewProps}>
286
- <View
287
- borderStyle="singleDouble"
288
- width="100%"
289
- borderTop={false}
290
- borderLeft={false}
291
- borderRight={false}
292
- borderBottom
293
- />
294
- <Text dimColor>No changes detected</Text>
295
- <View
296
- borderStyle="singleDouble"
297
- width="100%"
298
- borderTop={false}
299
- borderLeft={false}
300
- borderRight={false}
301
- borderBottom
302
- />
303
- </View>
304
- );
305
- }
306
-
307
- const maxLineNumber = Math.max(
308
- totalOriginalLines,
309
- ...diffLines
310
- .filter((l) => l.type !== "separator")
311
- .map((l) => l.originalLineNumber || l.newLineNumber || 0),
312
- );
313
- const maxLineNumberWidth = maxLineNumber.toString().length;
314
-
315
- return (
316
- <View flexDirection="column" {...viewProps}>
317
- {isProcessing && (
318
- <View marginBottom={0}>
319
- <Text dimColor>Processing diff...</Text>
320
- </View>
321
- )}
322
- <View flexDirection="column">
323
- {diffLines.map((line, idx) => {
324
- const pairedLine = linePairs.get(idx);
325
-
326
- if (line.type === "separator") {
327
- return (
328
- <DiffLineContent
329
- key={`sep-${idx}`}
330
- line={line}
331
- lineNumber={" ".repeat(maxLineNumberWidth)}
332
- dimmed={dimmed}
333
- />
334
- );
335
- }
336
-
337
- const lineNum = line.originalLineNumber || line.newLineNumber || "";
338
- const paddedLineNum = String(lineNum).padStart(maxLineNumberWidth, " ");
339
-
340
- return (
341
- <DiffLineContent
342
- key={idx}
343
- line={line}
344
- pairedLine={pairedLine}
345
- lineNumber={paddedLineNum}
346
- dimmed={dimmed}
347
- />
348
- );
349
- })}
350
- </View>
351
- </View>
352
- );
353
- },
354
- );
355
- DiffPreview.displayName = "DiffPreview";
@@ -1,5 +0,0 @@
1
- export { DiffPreview, DiffPreviewTitle } from "./diff-preview.js";
2
- export { PermissionOptions } from "./permission-options.js";
3
- export type { PermissionOption } from "./permission-options.js";
4
- export { ToolPermissionUI } from "./tool-permission-ui.js";
5
- export type { ToolPermissionResult } from "../../tools/types.js";