1url = "https://github.com/zed-industries/zed.git"
 2revision = "38fcadf9481d018543c65f36ac3bafeba190179b"
 3language_extension = "rs"
 4
 5prompt = """
 6Look at the `find_replace_file_tool.rs`. I want to implement a card for it.
 7The card should implement the `Render` trait.
 8
 9The card should show a diff. It should be a beautifully presented diff.
10The card "box" should look like what we show for markdown codeblocks (look at `MarkdownElement`).
11I want to see a red background for lines that were deleted and a green background for lines
12that were added. We should have a div per diff line.
13"""
14
15[diff_assertions]
16
17modify_find_and_replace_tool = """
18The changes must replace the previous output returned by `FindReplaceFileTool` with the new `ToolResult` struct.
19The struct should contain an `output` field that is the same as the task we were returning before,
20and a new `card` field that contains a view for the card.
21"""
22
23card_implementation = """
24The card should be a view that displays a diff.
25Each line in the diff should be colored according to whether it was added, removed or unchanged.
26"""
27
28[thread_assertions]
29
30path_search = """
31The first tool call should be to path search including "find_replace_file_tool.rs" in the string.
32(*Not* grep, for example, or reading the file based on a guess at the path.)
33This is because we gave the model a filename and it needs to turn that into a real path.
34"""
35
36read_file_from_path_search = """
37After obtaining the correct path of "zed/crates/assistant_tools/src/find_replace_file_tool.rs", it should read the contents of that path.
38"""
39
40symbol_search = """
41When trying to find information about the Render trait, it should *not* begin with a path search, because it doesn't yet have any information
42on what path the Render trait might be in.
43"""