Commit graph

290 commits

Author SHA1 Message Date
mp
097f279ecb Throttle edit requests, refactor 2024-10-24 19:48:31 -07:00
Andrew
a926efcd2a attempt windows build 2024-10-24 19:25:20 -07:00
Andrew Pareles
3aba62a6ed update contrib + ctrlk hello world works! 2024-10-23 01:40:47 -07:00
Andrew Pareles
376172e5a9 update contributing 2024-10-23 00:49:33 -07:00
Andrew Pareles
4dd6553e34 building on a mac works! so does editorInset! 2024-10-22 23:49:03 -07:00
Andrew
f2b3a2be30 comment out checkProposedApiEnabled(extension, 'editorInsets'); 2024-10-22 22:59:09 -07:00
mp
1e4c932313 Track call time 2024-10-22 14:32:39 -07:00
mp
7bd9e01a15 Working draft of speculative edits 2024-10-21 18:33:00 -07:00
Andrew
69277a287a update Ollama message 2024-10-21 15:24:53 -07:00
Andrew
6dc9988af0 amend 2024-10-20 23:28:51 -07:00
Andrew
18656372f8 add ctrlk, autofocus chatbar 2024-10-20 23:24:40 -07:00
Andrew
febf492790 clarify 2024-10-20 20:15:25 -07:00
Andrew
bcb0c33616 amend 2024-10-20 19:23:47 -07:00
Andrew Pareles
7072933a88
Update build-tsx.js 2024-10-20 19:20:03 -07:00
Andrew
f2342bee2d add back syntax highlighter 2024-10-20 18:39:53 -07:00
Andrew
572e9f07ea misc 2024-10-20 17:14:10 -07:00
Andrew
09d84044b5 monaco loads... need to adjust height 2024-10-19 21:38:17 -07:00
mp
9ecf596cbb Prepare to debug 2024-10-19 20:17:54 -07:00
Andrew
a49a1324a5 Merge branch 'main' into monaco-editor 2024-10-19 18:50:05 -07:00
Andrew
8538caeffc start adding monaco 2024-10-19 18:49:43 -07:00
Andrew
79ecd98818 add metrics 2024-10-19 18:21:19 -07:00
mp
f6cad40a44 Finish speculative draft 2024-10-18 19:18:11 -07:00
mp
e25368ef7f Merge branch 'main' into speculative-edits 2024-10-18 17:25:13 -07:00
mp
7ce17a0854 Initial draft for speculative edits 2024-10-18 17:19:38 -07:00
Andrew
c5b5e07a98 monaco comment 2024-10-18 00:48:44 -07:00
Andrew
2addd06e60 switch to new tab on ctrl+l 2024-10-17 23:26:31 -07:00
Andrew
177f2e92f8 amend - fix disabled 2024-10-17 21:34:30 -07:00
Andrew
217f61902e add metrics 2024-10-17 21:23:07 -07:00
Andrew
9274602051 amend - uuid type 2024-10-17 19:15:42 -07:00
Andrew
18649d3255 fix package 2024-10-17 17:29:28 -07:00
Andrew
2b55d94cce Merge branch 'main' into ui-refactor-10-15 2024-10-17 17:26:08 -07:00
Andrew
e2e6cb0327 Merge branch 'main' into pr/w1gs/87 2024-10-17 17:18:12 -07:00
Andrew
5415f1e3cb amend 2024-10-17 16:46:52 -07:00
Andrew
0f3a79ab54 error UI 2024-10-17 16:43:25 -07:00
Andrew
983e926a23 add error handling from #87 2024-10-17 16:36:37 -07:00
Andrew
302aa2b384 warning for devs 2024-10-17 15:30:01 -07:00
Andrew
84ff9784ca fix sidebar settings 2024-10-17 01:20:59 -07:00
Andrew
628ed9a578 Merge branch 'main' into pr/SOUMITRO-SAHA/77 2024-10-17 00:15:15 -07:00
Andrew
0a6f7b8ebc Merge branch 'main' into ui-refactor-10-15 2024-10-17 00:12:03 -07:00
Andrew Pareles
5b511edca1
Merge pull request #108 from IDLe-Engineering/patch-3
Connect-src updates for OpenAICompatible
2024-10-17 00:11:25 -07:00
Andrew Pareles
4ecbd998bd
Merge pull request #106 from IDLe-Engineering/patch-2
Build prompt dynamically
2024-10-17 00:10:54 -07:00
Andrew
fcd0eb30c6 fix 2024-10-16 23:06:34 -07:00
Andrew
aa4ce3478a update styles in settings page 2024-10-16 23:03:51 -07:00
Andrew
1e82781c52 outline color 2024-10-16 20:42:47 -07:00
Andrew
edf9dc9279 thread switching 2024-10-16 20:03:50 -07:00
Andrew
63c6b6bec5 vscode styles 2024-10-16 20:00:07 -07:00
Andrew
154a82ab0b add settings UI 2024-10-16 19:32:21 -07:00
Andrew Pareles
0240fc1803
Update package.json 2024-10-16 16:22:59 -07:00
Andrew
d3b862ae91 history display slightly nicer 2024-10-16 16:19:32 -07:00
Andrew
0072c554fb tabs 2024-10-16 14:52:49 -07:00
Tom Spielvogel
ed8381c6cb
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:29:46 +02:00
Tom Spielvogel
40b4ecb4f8
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:29:27 +02:00
Tom Spielvogel
5268ededbb
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:28:48 +02:00
Tom Spielvogel
a69e1b940f
Add Syntax Highlighting to Sidebar Code Snippets 2024-10-16 13:26:24 +02:00
Tom Spielvogel
15994c46d1
Adapted to new type CodeSelection 2024-10-16 11:28:23 +02:00
Tom Spielvogel
b565a91194
Connect-src needs hold the entire path for chat completions for OpenAICompatible
Simply using the enpoint will trigger a Content-Security-Policy error in vscode when trying to send messages to the LLM
2024-10-16 10:56:46 +02:00
Andrew
b30937934a progress moving settings to be extension-native 2024-10-16 01:12:57 -07:00
Tom Spielvogel
eec7cd7321
Update SidebarChat.tsx
Build the prompt based on the actual use-case.
If no files or code is selected, don't prompt the LLM to change it. It saves time and tokens
2024-10-16 08:55:37 +02:00
Andrew
cd9bca0451 split up message direction and Sidebar tabs 2024-10-15 20:51:46 -07:00
Darion
ce3043b595
Merge branch 'main' into main 2024-10-15 21:36:00 -04:00
Andrew Pareles
68c5ebb000
Merge pull request #101 from voideditor/diff-selections
Refactor and fix diff highlighting
2024-10-15 15:57:33 -07:00
w1gs
08e91e921b style fixes 2024-10-15 12:36:38 -04:00
w1gs
6c2ca794f5 fixed merge conflicts 2024-10-15 12:24:26 -04:00
Darion
b3fd408cf7
Merge branch 'main' into main 2024-10-15 11:09:32 -04:00
Andrew
07fd622901 add OpenRouter - Fixes Add OpenRouter hosting option #20 2024-10-14 23:50:34 -07:00
Andrew
bb74cbb56b swap 2024-10-14 23:32:25 -07:00
mp
ffab60b4b8 Merge branch 'main' into diff-selections 2024-10-14 21:48:34 -07:00
mp
2309fc53fb Merge dynamic diff features 2024-10-14 20:37:45 -07:00
Andrew
a3d741d685 Merge branch 'main' into pr/okxiaoliang4/51 2024-10-14 20:24:38 -07:00
Andrew
a12e35c5f0 merge package.json 2024-10-14 20:14:44 -07:00
Andrew
5f3e664eed delete ctrl+K placeholder 2024-10-14 18:12:11 -07:00
Andrew
fb69afd5c4 fix thread history persistence 2024-10-14 18:07:22 -07:00
Andrew
00f59e9555 Merge branch 'main' into pr/ShikangPang/98 2024-10-14 16:45:31 -07:00
Andrew
767c45080f update openai 2024-10-14 16:44:57 -07:00
Tom Spielvogel
7f81836d9f
Update sendLLMMessage.ts
In order to take the enpoint specified for the OpenAICompatible setting - the openai class needs to be instanciated with the baseURL setting from apiConfig
2024-10-14 16:18:41 +02:00
Mathew P
33c3ef6751 Fix newline bug 2024-10-13 22:05:10 -07:00
Mathew P
20056f209e Fix accept/reject diff 2024-10-13 17:47:13 -07:00
Andrew
69d848f22b update MarkdownRender 2024-10-13 17:11:29 -07:00
Mathew P
1557a44934 Better diff algorithm 2024-10-13 00:15:41 -07:00
pangshikang
89dd63a0ee fix: Refactor openAICompatible initialization in sendLLMMessage.ts 2024-10-12 16:03:29 +08:00
Andrew
e5c55145e9 update selectedFiles display 2024-10-11 23:18:23 -07:00
Andrew
2638d62a24 only start a new thread if empty 2024-10-11 20:05:10 -07:00
Andrew
0158e2fd5d fix ref issues with useInstantState 2024-10-11 19:18:28 -07:00
Andrew
3e308f2082 state is broken 2024-10-11 18:05:01 -07:00
Andrew
429224993b Merge branch 'main' into pr/anetaj/53 2024-10-11 17:15:52 -07:00
Andrew
29ef6b5b43 finish merge from 'main' 2024-10-11 17:11:44 -07:00
Andrew
23a42659b3 Merge branch 'main' into pr/anetaj/52 2024-10-11 17:09:19 -07:00
Andrew
9d7a5eccd3 Merge branch 'main' into pr/anetaj/52 2024-10-11 16:58:55 -07:00
anetaj
42bdcf54ca
Copy code block (#47)
* rearrange markdown components

* add copy button

* add default style for small button

* hide entire toolbar in user messages

* finish merge

* refactor

---------

Co-authored-by: Andrew <andrewpareles@gmail.com>
2024-10-11 16:56:44 -07:00
Andrew
251b65d04d finish merge 2024-10-11 16:35:33 -07:00
Andrew
b72da01632 Merge branch 'main' into pr/anetaj/53 2024-10-11 16:35:09 -07:00
Andrew
e2f337f882 OpenAICompatible improvements + misc refactor 2024-10-11 15:02:43 -07:00
Mathew P
496c0178de Prepare to fix diff highlighting 2024-10-11 14:03:11 -07:00
Darion
ef94de48c2
Merge branch 'main' into main 2024-10-11 12:56:08 -04:00
w1gs
14a8b0ee4e fixed merge conflicts 2024-10-11 12:52:12 -04:00
Mathew P
38d31ae737 Make diffs dynamic on changes 2024-10-11 01:06:17 -07:00
Andrew Pareles
73fb5bb3c6
Merge branch 'main' into main 2024-10-11 00:36:43 -07:00
jackxiong
2e5be73f0c Supports calling LLM in a way compatible with OpenAI's API, and adds explicit configuration items for users。 2024-10-11 14:58:24 +08:00
Darion
2ca1db35af
Merge branch 'main' into ide-fixes 2024-10-07 10:23:48 -04:00
Mathew P
11baebdf54 diffArea works. Need to fix highlighting 2024-10-07 01:56:29 -07:00
w1gs
f96416be38 fixed dependencies that were preventing IDE builds 2024-10-06 00:17:15 -04:00
Jérôme Commaret
a4ef0de0ac MacOS Full IDE ARM 2024-10-06 01:50:01 +02:00
Aneta Jastrzębska
f7a905e27f Merge branch 'main' into feature/style-include-files 2024-10-05 11:57:04 +02:00
w1gs
bed7929e48 Added error messages in UI 2024-10-03 21:24:53 -04:00
Mathew P
b07842ec3f Remove _computedLensesOfDocument 2024-10-03 03:01:27 -07:00
Mathew P
19b2b8bd77 create diffArea; remove _computedLensesOfDocument 2024-10-03 03:00:55 -07:00
Mathew P
f4a407d80f Refactor and prepare to create addNewChanges 2024-10-03 00:33:17 -07:00
Andrew
95be6e0b37 update config provider string and prompt 2024-10-03 00:02:18 -07:00
Andrew
6741a6fceb update description 2024-10-02 23:25:42 -07:00
Andrew
db560744fb update defaults, credit @okxiaoliang4 for package.json enum changes 2024-10-02 23:23:07 -07:00
Andrew
7550b96389 update settings 2024-10-02 00:00:04 -07:00
Andrew
631f724138 merge ollama 2024-10-01 22:25:16 -07:00
w1gs
74c610632e Merge remote-tracking branch 'upstream/main' 2024-09-30 23:21:08 -04:00
Aneta Jastrzębska
2496a2c42e Merge branch 'main' into feature/persist-threads-history 2024-09-30 11:34:28 +02:00
Andrew Pareles
dab75a6614
Merge branch 'main' into main 2024-09-30 00:54:02 -07:00
Mathew Pareles
4747691e74 add enum 2024-09-30 00:53:07 -07:00
Andrew Pareles
6dac9626c0
Merge pull request #66 from voideditor/rebase
Rebase vscode into Void
2024-09-30 00:39:16 -07:00
SOUMITRO-SAHA
b8a5e5b67c Fix: Add Syntax Highlighting to Sidebar Code Snippets 2024-09-29 20:49:59 +05:30
Andrew
c159b2138e minor lint updates 2024-09-24 01:01:50 -07:00
Darion
5039ca8fdf
Merge branch 'voideditor:main' into main 2024-09-24 02:05:10 -04:00
Andrew
8ca1354580 rebase from vscode f35c3823 2024-09-24 04:46:08 +00:00
Aneta Jastrzębska
0a5ebc1c50 add settings button in ext 2024-09-23 12:02:12 +02:00
Andrew
aec1434a0c case analysis on insert, delete, and replace 2024-09-22 18:56:00 -07:00
Dave Hogan
cbe3d4bd45 Removes unnessary default 2024-09-22 17:36:53 +01:00
Dave Hogan
16b84ec933 Merge branch 'main' of https://github.com/DaveHogan/void 2024-09-22 17:35:02 +01:00
Dave Hogan
2661f5e8e1 Implemented feedback, removing explict defaults as this comes from package.json 2024-09-22 17:34:48 +01:00
Dave Hogan
760f8c447c
Merge branch 'voideditor:main' into main 2024-09-22 17:22:17 +01:00
Darion
57db928f7a
Merge branch 'voideditor:main' into main 2024-09-22 08:11:43 -04:00
Andrew
315c5a65f2 add test back 2024-09-22 04:12:00 -07:00
Jelf
9b130edcfe feat: read .voidrules for system prompt 2024-09-22 17:35:51 +08:00
Aneta Jastrzębska
ff0dcd5095 handle show thread history 2024-09-22 11:04:28 +02:00
Aneta Jastrzębska
30b528402c add new toolbar + commands 2024-09-22 11:03:42 +02:00
Jelf
6d513a1e60 chore: improve setting 2024-09-22 16:00:08 +08:00
Aneta Jastrzębska
7269c4e582 show new thread button 2024-09-21 21:19:36 +02:00
Aneta Jastrzębska
083bbf7d9f start new chat; toggle thread history 2024-09-21 21:11:52 +02:00
Aneta Jastrzębska
e54f49ebfb threads history list 2024-09-21 19:19:26 +02:00
Aneta Jastrzębska
31cd10b9e6 handle receive threads history 2024-09-21 19:19:16 +02:00
Aneta Jastrzębska
c6dcb8eb9e add message to history & sync saved thread 2024-09-21 18:07:07 +02:00
Aneta Jastrzębska
3a98d1edb1 add chat context 2024-09-21 18:06:26 +02:00
Aneta Jastrzębska
22d32aca3a save chat threads to workspace history 2024-09-21 18:05:25 +02:00
Aneta Jastrzębska
fe5e02c3a9 unify toolbar button styles 2024-09-21 16:05:06 +02:00
Aneta Jastrzębska
3d58627f30 style included code tag + toolbar 2024-09-21 15:39:06 +02:00
Aneta Jastrzębska
20fd8f318b more vsc css vars 2024-09-21 15:36:48 +02:00
Aneta Jastrzębska
98ee94018e add className util 2024-09-21 15:36:25 +02:00
Aneta Jastrzębska
ac9bc80e20 style included files list 2024-09-21 15:01:49 +02:00
Aneta Jastrzębska
8203b42169 hide entire toolbar in user messages 2024-09-21 14:14:31 +02:00
w1gs
bc027b2fca resolve conflicts 2024-09-21 07:46:19 -04:00
Darion
afa24231e6
Merge branch 'main' into main 2024-09-21 07:33:45 -04:00
w1gs
da5bb4b68e updated styles 2024-09-21 07:27:19 -04:00
Dave Hogan
f2d741d01f
Merge branch 'voideditor:main' into main 2024-09-21 12:17:21 +01:00