Elffuss BraidHub

kikocis/continue public

99fe51849b68 · 553 BRawPermalink
1import { Tool } from "../..";
2
3import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
4
5export const viewDiffTool: Tool = {
6 type: "function",
7 displayTitle: "View Diff",
8 wouldLikeTo: "view the git diff",
9 isCurrently: "getting the git diff",
10 hasAlready: "viewed the git diff",
11 readonly: true,
12 isInstant: true,
13 group: BUILT_IN_GROUP_NAME,
14 function: {
15 name: BuiltInToolNames.ViewDiff,
16 description: "View the current diff of working changes",
17 parameters: {
18 type: "object",
19 properties: {},
20 },
21 },
22};