Commit Graph

202 Commits

Author SHA1 Message Date
Saoud Rizwan
13b097d451 Fix prompt to take into account if recursive list gets truncated 2024-08-29 06:08:07 -04:00
Saoud Rizwan
e78a58d77d Replace list_files_recursive and list_files_top_level with list_files and automatically provide project file structure when task starts to avoid unnecessary request 2024-08-29 05:58:41 -04:00
Saoud Rizwan
a160e8d67b Improve sliding window algorithm to not break prompt cache so often 2024-08-28 20:32:58 -04:00
Saoud Rizwan
3d4e828850 Add project structure to initial task details 2024-08-28 06:58:39 -04:00
Saoud Rizwan
843ef29a07 Remove Kodu provider 2024-08-27 21:38:01 -04:00
Saoud Rizwan
dbc63602f9 Fix task history ts 2024-08-27 00:08:11 -04:00
Saoud Rizwan
c1c8c71f3e Fix issue where sending image when resuming task would be ignored 2024-08-26 23:06:55 -04:00
Saoud Rizwan
ae38713d5b Use 'user credits' header to update balance and show user under task header 2024-08-26 01:00:00 -04:00
Saoud Rizwan
42e9d36580 Send tools as says when alwaysAllowReadOnly 2024-08-26 01:00:00 -04:00
Saoud Rizwan
12840c40ed Add 'Always allow read-only' option 2024-08-26 01:00:00 -04:00
Saoud Rizwan
650283a11f Add sliding window context management 2024-08-26 01:00:00 -04:00
Saoud Rizwan
ec33ef5e3a Remove unnecessary trailing resume messages 2024-08-22 04:20:33 -04:00
Saoud Rizwan
585d15bdee Update tool prompt 2024-08-22 02:55:55 -04:00
Saoud Rizwan
ec5a96e852 Modify resume task prompt 2024-08-17 09:35:40 -04:00
Saoud Rizwan
c277f7625f Show 'Start New Task' button if user tries to resume completed task 2024-08-17 09:09:05 -04:00
Saoud Rizwan
d1437e6d2d Add task history 2024-08-17 08:29:30 -04:00
Saoud Rizwan
38f98951d0 Minor UI changes; update copy 2024-08-16 23:36:39 -04:00
Saoud Rizwan
6989779dd6 Update announcement/settings with details about prompt caching 2024-08-15 04:21:28 -04:00
Saoud Rizwan
ec2bfa352a Add prompt cache 2024-08-15 03:34:54 -04:00
Saoud Rizwan
ace4596fe3 Fix formatting 2024-08-15 00:13:30 -04:00
Saoud Rizwan
880424bc65 Make system prompt static in prep for prompt caching refactor 2024-08-15 00:10:33 -04:00
Saoud Rizwan
009616dafc Update system prompt 2024-08-14 01:23:33 -04:00
Saoud Rizwan
23cb16afb9 Update prompt to avoid lazy coding 2024-08-12 04:32:08 -04:00
Saoud Rizwan
48d2411a11 Add option to set custom instructions 2024-08-11 17:14:05 -04:00
Saoud Rizwan
6454163078 Remove unusable models; minor fixes 2024-08-11 03:24:10 -04:00
Saoud Rizwan
f54774b943 Add option to choose different models 2024-08-11 00:28:22 -04:00
Saoud Rizwan
a863b26b7a Update prompt to be more explicit about not being able to access server that was exited 2024-08-10 03:53:43 -04:00
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