Saoud Rizwan
9f7d6d428b
Gracefully terminate running subprocess if user cancels task in the middle of a command
2024-08-10 03:41:47 -04:00
Saoud Rizwan
60ca8baecb
Allow messages with images and no text
2024-08-10 02:17:43 -04:00
Saoud Rizwan
7da81f651d
Make prompt stricter around truncation and prevent getting stuck in a loop waiting for user input without using ask_followup_question
2024-08-10 02:03:16 -04:00
Saoud Rizwan
1c6136a934
Update system prompt to better handle commands that need to be run in specific working directories
2024-08-08 09:08:12 -04:00
Saoud Rizwan
b2297846d9
Revert originalContent check for undefined
2024-08-08 08:50:58 -04:00
Saoud Rizwan
a5435a662e
Make empty tool use result more explicit about what was missing so retry request doesn't fail again
2024-08-08 08:40:57 -04:00
Saoud Rizwan
b6a8c03317
Remove sharp processing and use original images in requests
2024-08-08 07:15:14 -04:00
Saoud Rizwan
d5175c8175
Handle cases where API would respond with missing required parameters
2024-08-08 04:21:24 -04:00
Saoud Rizwan
efad5ecd91
Send images after text block for better results
2024-08-08 03:12:54 -04:00
Saoud Rizwan
d44cc99ce1
Fix issue where for some users fs readfile was returning undefined instead of failing
2024-08-08 02:56:06 -04:00
Saoud Rizwan
911dd159cd
Add ability to attach images to messages
2024-08-08 02:44:51 -04:00
Saoud Rizwan
4fc9708e16
Fix streaming command stdout when a line is stuck waiting for stdin; normalize paths presented in webview; update README
2024-08-06 21:04:42 -04:00
Saoud Rizwan
1e5ffdb6b9
Make the current workspace Claude's working directory and use relative paths
2024-08-06 02:13:57 -04:00
Saoud Rizwan
c0ef27033b
Ensure all command_outputs are sent to the webview before making next API request
2024-08-05 01:00:19 -04:00
Saoud Rizwan
38d461b784
Fix edge case issues when running commands with long outputs or as completion command
2024-08-04 19:32:45 -04:00
Saoud Rizwan
09050b8800
Fix issue where sending message to stdin during non-interactive long-running process would not relinquish control back over the exit command button
2024-08-03 21:23:33 -04:00
Saoud Rizwan
d7ee0c0161
Fix OpenRouter calls by mapping openai sdk messages to and from anthropic sdk messages
2024-08-03 18:06:33 -04:00
Saoud Rizwan
7f30a8bea7
Truncate files list for large projects
2024-08-03 15:39:29 -04:00
Saoud Rizwan
c09a8462d7
Add support for OpenRouter and AWS Bedrock
2024-08-03 14:24:56 -04:00
Saoud Rizwan
15f52696b9
Fix sending SIGINT to the command process's subprocesses
2024-08-02 18:01:44 -04:00
Saoud Rizwan
c800f157da
Update SYSTEM_PROMPT to break down complex steps into multiple iterations
2024-08-02 15:20:04 -04:00
Saoud Rizwan
67ed5edbe6
Update SYSTEM_PROMPT to better handle directory specific commands
2024-08-02 15:09:13 -04:00
Saoud Rizwan
89c242d966
Refactor apiConversationHistory and claudeMessages to be local to ClaudeDev instance to avoid polluting storage unnecessarily
2024-08-02 14:59:33 -04:00
Saoud Rizwan
c994f64c6f
Update SYSTEM_PROMPT to execute commands in specific directories when necessary
2024-08-02 13:39:01 -04:00
Saoud Rizwan
07f50e63a3
Persist API conversation history locally instead of in state as there seems to be an issue with some messages not being stringifyable
2024-08-01 15:18:29 -04:00
Saoud Rizwan
d3edb61dd3
Handle closing diff views more elegantly so that pane does not jump around
2024-08-01 00:16:24 -04:00
Saoud Rizwan
683abb1ac3
Close diff view even if it loses focus
2024-07-31 22:07:32 -04:00
Saoud Rizwan
1d305b66c1
Fix issue where claude removes newline at end of files
2024-07-31 21:30:42 -04:00
Saoud Rizwan
31d8472f59
Close current diff view when showing new edit right after; fix thinking tags rendering
2024-07-31 19:25:26 -04:00
Saoud Rizwan
3fc5f2aac0
Open diff editor with virtual document for new files or edits
2024-07-31 18:17:40 -04:00
Saoud Rizwan
c70e14c298
Add overflowWrap anywhere to force wrap long words (file paths) to avoid overflowing container
2024-07-31 14:24:04 -04:00
Saoud Rizwan
fd13081109
Sort top level files based on directory or not; fix task header styles
2024-07-31 13:28:00 -04:00
Saoud Rizwan
11dd56ae60
Turn SYSTEM_PROMPT into a function so it always has the latest values
2024-07-31 12:01:14 -04:00
Saoud Rizwan
b672eeb307
Update README with info about the new view_source_code_definitions_top_level tool
2024-07-31 11:50:49 -04:00
Saoud Rizwan
838a3ae10f
Rename extract_source_code_definitions_top_level to view_source_code_definitions_top_level and update Announcement
2024-07-31 10:10:04 -04:00
Saoud Rizwan
3daca3d68f
Refactor analyze-project to parse-source-code
2024-07-31 09:52:36 -04:00
Saoud Rizwan
71a9ed1d1e
Replace list_files/analyze_project with more explicit list_files_top_level, list_files_recursive, and extract_source_code_definitions_top_level
2024-07-31 09:50:07 -04:00
Saoud Rizwan
fd0b3a18f7
Show progress indicator while command is executing
2024-07-29 18:46:23 -04:00
Saoud Rizwan
d324afdf14
Gracefully handle when user exits command early
2024-07-29 17:44:49 -04:00
Saoud Rizwan
cf2ab16538
Add support for interactive command line execution where user input is sent to stdin
2024-07-29 13:22:06 -04:00
Saoud Rizwan
2b9a1e2c7e
Add context about user's vscode visible editor and opened tabs
2024-07-28 12:45:41 -04:00
Saoud Rizwan
4a15464429
Update vscode ignores; refactor analyze-project
2024-07-27 18:20:13 -04:00
Saoud Rizwan
011d4ffbc9
Fix scrolling to bottom; update system prompt to not unnecessarily read files before editing; add gif to README
2024-07-27 16:48:23 -04:00
Saoud Rizwan
4facaede80
Fix list_files fast-glob implementation; update system prompt to prefer analyze_project over list_files; lock editor tab when opened for better UX
2024-07-27 14:11:56 -04:00
Saoud Rizwan
14bbf3a9e5
Fix attempt_completion tool if it has a command that fails or is rejected
2024-07-27 13:11:53 -04:00
Saoud Rizwan
303da320aa
Add analyze_project tool
2024-07-26 23:56:10 -04:00
Saoud Rizwan
c1e9ceccb9
Fix diff issues and code block style
2024-07-25 21:22:03 -04:00
Saoud Rizwan
44a4140486
Add memory optimizations, retry failed requests, markdown support
...
- Move isExpanded state up into ChatView to fix issue where virtualized list would reset ChatRow state
- Add ability to retry failed requests
- Add markdown rendering
2024-07-25 08:54:29 -04:00
Saoud Rizwan
6649f8f495
Cache webview messages and API conversation history in state to reduce memory footprint
2024-07-24 09:52:36 -04:00
Saoud Rizwan
89e8edc942
Update filename
2024-07-24 08:26:01 -04:00