From 559994f1ee3d0d215553e1521dd57268f0668f66 Mon Sep 17 00:00:00 2001 From: ghostoverflow256 <46546505+GhostDog98@users.noreply.github.com> Date: Thu, 8 May 2025 10:46:19 +1000 Subject: [PATCH 1/7] Update HOW_TO_CONTRIBUTE.md Added a tip for those who may be unfamiliar with the node ecosystem, that you can use nvm to do that step (and probably should). --- HOW_TO_CONTRIBUTE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HOW_TO_CONTRIBUTE.md b/HOW_TO_CONTRIBUTE.md index 3aa9ea6e..d998f5b9 100644 --- a/HOW_TO_CONTRIBUTE.md +++ b/HOW_TO_CONTRIBUTE.md @@ -86,6 +86,7 @@ To build Void from the terminal instead of from inside VSCode, follow the steps - Make sure you followed the prerequisite steps above. - Make sure you have Node version `20.18.2` (the version in `.nvmrc`)! + - You can do this easily without touching your base installation with [nvm](https://github.com/nvm-sh/nvm). Simply run `nvm install`, followed by `nvm use` and it will automatically install and use the version specified in `nvmrc` - Make sure that the path to your Void folder does not have any spaces in it. - If you get `"TypeError: Failed to fetch dynamically imported module"`, make sure all imports end with `.js`. - If you get an error with React, try running `NODE_OPTIONS="--max-old-space-size=8192" npm run buildreact`. From 1b222e8335a161bad6d29981c46d6a3408ee5633 Mon Sep 17 00:00:00 2001 From: Mathew Pareles <51329589+mathewpareles@users.noreply.github.com> Date: Thu, 8 May 2025 12:53:32 -0700 Subject: [PATCH 2/7] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 106882c9..2e5bfae7 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Void is the open-source Cursor alternative. +Use AI agents on your codebase, checkpoint and visualize changes, and bring any model or host locally. Void sends messages directly to providers without retaining your data. + This repo contains the full sourcecode for Void. If you're new, welcome! - 👋 [Discord](https://discord.gg/RSNjgaugJs) From e577d4a01bb5cfdf3888b487867faee84ded981a Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Thu, 8 May 2025 17:11:34 -0700 Subject: [PATCH 3/7] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 2e5bfae7..7b102e3a 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,11 @@ This repo contains the full sourcecode for Void. If you're new, welcome! - 👋 [Discord](https://discord.gg/RSNjgaugJs) -- 🔨 [Contribute](https://github.com/voideditor/void/blob/main/HOW_TO_CONTRIBUTE.md) - - 🚙 [Roadmap](https://github.com/orgs/voideditor/projects/2) - 📝 [Changelog](https://voideditor.com/changelog) -- 🧭 [Codebase Guide](https://github.com/voideditor/void/blob/main/VOID_CODEBASE_GUIDE.md) +- 🧭 [Website](https://voideditor.com) ## Contributing From f7489375b0ff6df3c5ac140c3272f6531d53a0f7 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Fri, 9 May 2025 17:03:16 -0700 Subject: [PATCH 4/7] Update issue_template.md --- .github/ISSUE_TEMPLATE/issue_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/issue_template.md b/.github/ISSUE_TEMPLATE/issue_template.md index 939b9c1d..fe6c4301 100644 --- a/.github/ISSUE_TEMPLATE/issue_template.md +++ b/.github/ISSUE_TEMPLATE/issue_template.md @@ -6,4 +6,4 @@ title: For VSCode-related issues (eg builds), please start the title with `[App] 1. Press `Cmd+Shift+P` in Void, and type `Help: About`. Please paste the information here. Also let us know any other relevant details, like the model and provider you're using if applicable. -2. Describe the issue/feature here. +2. Describe the issue/feature here! From 15cf3835241126e6e78fc655dcba59b6a6d93961 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Fri, 9 May 2025 17:13:15 -0700 Subject: [PATCH 5/7] Update README.md --- README.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7b102e3a..0dfd3e10 100644 --- a/README.md +++ b/README.md @@ -15,26 +15,23 @@ Use AI agents on your codebase, checkpoint and visualize changes, and bring any This repo contains the full sourcecode for Void. If you're new, welcome! +- 🧭 [Website](https://voideditor.com) + - 👋 [Discord](https://discord.gg/RSNjgaugJs) -- 🚙 [Roadmap](https://github.com/orgs/voideditor/projects/2) +- 🚙 [Project Board](https://github.com/orgs/voideditor/projects/2) -- 📝 [Changelog](https://voideditor.com/changelog) - -- 🧭 [Website](https://voideditor.com) ## Contributing -1. To get started working on Void, see [`HOW_TO_CONTRIBUTE`](https://github.com/voideditor/void/blob/main/HOW_TO_CONTRIBUTE.md). +1. To get started working on Void, check out our Project Board! You can also see [HOW_TO_CONTRIBUTE](https://github.com/voideditor/void/blob/main/HOW_TO_CONTRIBUTE.md). -2. Feel free to attend a weekly meeting in our Discord channel! - -3. We're open to collaborations and suggestions of all types - just reach out. +2. Feel free to attend a casual weekly meeting in our Discord channel! ## Reference -[Void](https://voideditor.com) is a fork of the [vscode](https://github.com/microsoft/vscode) repository. For a guide to the codebase, see [`VOID_CODEBASE_GUIDE`](https://github.com/voideditor/void/blob/main/VOID_CODEBASE_GUIDE.md). +[Void](https://voideditor.com) is a fork of the [vscode](https://github.com/microsoft/vscode) repository. For a guide to the codebase, see [VOID_CODEBASE_GUIDE](https://github.com/voideditor/void/blob/main/VOID_CODEBASE_GUIDE.md). ## Support You can always reach us in our Discord server or contact us via email: hello@voideditor.com. From f33cf14b077d3b57f87b20ff9133377f0e07dfde Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Fri, 9 May 2025 17:13:35 -0700 Subject: [PATCH 6/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0dfd3e10..78278598 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This repo contains the full sourcecode for Void. If you're new, welcome! ## Reference -[Void](https://voideditor.com) is a fork of the [vscode](https://github.com/microsoft/vscode) repository. For a guide to the codebase, see [VOID_CODEBASE_GUIDE](https://github.com/voideditor/void/blob/main/VOID_CODEBASE_GUIDE.md). +Void is a fork of the [vscode](https://github.com/microsoft/vscode) repository. For a guide to the codebase, see [VOID_CODEBASE_GUIDE](https://github.com/voideditor/void/blob/main/VOID_CODEBASE_GUIDE.md). ## Support You can always reach us in our Discord server or contact us via email: hello@voideditor.com. From e7436575a5c0c6fb62ce4f4b916f27bd29979648 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Sat, 10 May 2025 03:28:39 -0700 Subject: [PATCH 7/7] Revert "apply button failure better UX" --- .../browser/react/src/markdown/ApplyBlockHoverButtons.tsx | 7 +------ src/vs/workbench/contrib/void/common/prompt/prompts.ts | 6 ++---- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/markdown/ApplyBlockHoverButtons.tsx b/src/vs/workbench/contrib/void/browser/react/src/markdown/ApplyBlockHoverButtons.tsx index 72d298c2..41b5a649 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/markdown/ApplyBlockHoverButtons.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/markdown/ApplyBlockHoverButtons.tsx @@ -253,7 +253,6 @@ export const ApplyButtonsHTML = ({ const accessor = useAccessor() const editCodeService = accessor.get('IEditCodeService') const metricsService = accessor.get('IMetricsService') - const notificationService = accessor.get('INotificationService') const settingsState = useSettingsState() const isDisabled = !!isFeatureNameDisabled('Apply', settingsState) || !applyBoxId @@ -272,17 +271,13 @@ export const ApplyButtonsHTML = ({ uri: uri, startBehavior: 'reject-conflicts', }) ?? [] + console.log('setting!!!', newApplyingUri) setApplying(newApplyingUri) - if (!applyDonePromise) { - notificationService.info(`Void Error: We couldn't run Apply here (${uri === 'current' ? 'this Apply block wants to run on the current file, but you might not have a file open' : uri.fsPath}).`) - } - // catch any errors by interrupting the stream applyDonePromise?.catch(e => { const uri = getUriBeingApplied(applyBoxId) if (uri) editCodeService.interruptURIStreaming({ uri: uri }) - notificationService.info(`Void Error: There was a problem running Apply: ${e}.`) }) metricsService.capture('Apply Code', { length: codeStr.length }) // capture the length only diff --git a/src/vs/workbench/contrib/void/common/prompt/prompts.ts b/src/vs/workbench/contrib/void/common/prompt/prompts.ts index ac39ee29..613142b8 100644 --- a/src/vs/workbench/contrib/void/common/prompt/prompts.ts +++ b/src/vs/workbench/contrib/void/common/prompt/prompts.ts @@ -480,13 +480,11 @@ ${directoryStr} } - details.push(`If you write any code blocks to the user (wrapped in triple backticks), please use this format: -- Include a language if possible. Terminal should have the language 'shell'. + if (mode === 'gather' || mode === 'normal') { + details.push(`If you write any code blocks, please use this format: - The first line of the code block must be the FULL PATH of the related file if known (otherwise omit). - The remaining contents of the file should proceed as usual.`) - if (mode === 'gather' || mode === 'normal') { - details.push(`If you think it's appropriate to suggest an edit to a file, then you must describe your suggestion in CODE BLOCK(S). - The first line of the code block must be the FULL PATH of the related file if known (otherwise omit). - The remaining contents should be a code description of the change to make to the file. \