From 365501f36d04c3f6ba396dddadc7afd8b12a0b65 Mon Sep 17 00:00:00 2001 From: KTrain5369 Date: Mon, 1 Sep 2025 18:51:49 +1000 Subject: [PATCH 1/4] add read_file action documentation --- src/content/docs/client/reference/features/file-actions.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/docs/client/reference/features/file-actions.mdx b/src/content/docs/client/reference/features/file-actions.mdx index 63f2ea0..361f89f 100644 --- a/src/content/docs/client/reference/features/file-actions.mdx +++ b/src/content/docs/client/reference/features/file-actions.mdx @@ -16,11 +16,13 @@ export const attribs = { -## Get/open workspace files +## Get/open/read workspace files Neuro can get or open files within the workspace. This will either get the list of Neuro-safe files in the workspace, or open files as specified (assuming the path is Neuro-safe). If a file is already opened, its tab will be focused. +Reading a file (using `read_file`) will not open the file in the editor or reveal Neuro's cursor position in that file (if there was one already). + When opening a file, Neuro will be sent the current file as well as her cursor position. ## Create/Delete/Rename files and folders From eff1ebe1b3077c1e8497258629fe7e6587a8e085 Mon Sep 17 00:00:00 2001 From: KTrain5369 Date: Tue, 2 Sep 2025 14:04:39 +1000 Subject: [PATCH 2/4] fix some editing mistakes lol --- src/content/docs/client/guides/sandboxing.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/client/guides/sandboxing.mdx b/src/content/docs/client/guides/sandboxing.mdx index caefc72..ddd50a9 100644 --- a/src/content/docs/client/guides/sandboxing.mdx +++ b/src/content/docs/client/guides/sandboxing.mdx @@ -52,7 +52,7 @@ If you're comfortable with not having internet access in the VM, you can stay in 4. On your host machine, open your console and run `ipconfig /all` (Windows) or `ip a` (macOS/Linux). -5. Take note of the IP listed there. If you're on Windows and ran `ipconfig /all`, note down the IPv4 address that has `(Preferred)` next to it. +5. Take note of the IP listed there. If you're on Windows and ran `ipconfig /all`, note down the IPv4 address for the VirtualBox network adapter. 6. Start your Neuro API server on that address. If you're using one of the testing tools on the official API repo's README, you should be able to pass a CLI flag to spawn it on a certain host. If you're Vedal and you're using Neuro, uhhh good luck :thumbsup: @@ -66,12 +66,12 @@ If you're comfortable with not having internet access in the VM, you can stay in ## Web environment -As of v2.2.0, NeuroPilot now has a separate Web build. It acts partially the same as the desktop mode, but loses access to certain features that cannot be ran in the Web environment. +As of v2.1.0, NeuroPilot now has a separate Web build. It acts partially the same as the desktop mode, but loses access to certain features that cannot be ran in the Web environment. This includes: - Terminals & tasks -- Git access (it *is* activated in certain situations, but debugging this in a test environment is impossible and also it functions slightly differently, therefore, for stability, it has been disabled.) +- Git access (the dependency extension *is* activated in certain situations, but debugging this in a test environment is impossible and it also functions slightly differently, therefore, for stability, it has been disabled.) - Copilot Chat window & inline completions (dependency extension can't be ran in the web environment) To use the web version, go to [vscode.dev](https://vscode.dev) (or any web build of VS Code, such as `github.dev`), and install NeuroPilot. From d435ed068763df943b92f57b3713923a93f791f3 Mon Sep 17 00:00:00 2001 From: KTrain5369 Date: Tue, 2 Sep 2025 14:05:26 +1000 Subject: [PATCH 3/4] I'm having fun with the workspace recommendations section --- src/content/docs/client/guides/setup.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/docs/client/guides/setup.mdx b/src/content/docs/client/guides/setup.mdx index 6e88332..89ddc8b 100644 --- a/src/content/docs/client/guides/setup.mdx +++ b/src/content/docs/client/guides/setup.mdx @@ -86,7 +86,7 @@ export const DEV_STREAM_TERMINAL_SETTINGS = `{ "neuropilot.permission.rename": "Copilot", "neuropilot.permission.runTasks": "Copilot", "neuropilot.permission.terminalAccess": "Copilot", // You can approve/deny the command she wants to run - "neuropilot.requestExpiryTimeout": 60000, // Extra time to contemplate (set to 0 for infinite time) + "neuropilot.requestExpiryTimeout": 60000, // Extra time to contemplate your choices (set to 0 for infinite time) "neuropilot.sendNewLintingProblemsOn": "inCurrentFile", // Modify / add terminals depending on what you want her to be able to use "neuropilot.terminals": [ @@ -165,23 +165,23 @@ export const TERMINAL_ACCESS_SETTINGS = `{ }` - + Meant for coding together with Vedal. Basically what we already saw on the dev stream, plus a few Copilot-mode permissions. - + Meant for coding without supervision. Enables basic Git commands. - + Meant for coding together with Vedal. This will additionally give Neuro access to the terminal, but you can approve/deny every command she wants to run. Still, **be careful with this.** - + Meant for watching Neuro delete System32. This gives Neuro permission to run all actions (including terminal access) and disables all safety features. From 036436fe08ba29ab16a77bba153f26294e593ed7 Mon Sep 17 00:00:00 2001 From: KTrain5369 Date: Thu, 4 Sep 2025 09:57:31 +1000 Subject: [PATCH 4/4] forgot to change CI + add a conditional to check before showing tag link --- .github/workflows/build.yml | 2 +- src/components/Footer.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3044143..c5b199a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,7 +109,7 @@ jobs: elif [ "${{ inputs.checked }}" = "false" ]; then export PUBLIC_NEXT=true fi - PUBLIC_VERSION=$(npm show ./ version) pnpm build + PUBLIC_CLIENT_VERSION=$(npm show ./ version) pnpm build - name: Upload GitHub Pages Artifact uses: actions/upload-pages-artifact@2d163be3ddce01512f3eea7ac5b7023b5d643ce1 # Pinning to SHA because that thing hasn't updated in a year it seems diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 30097a1..929021d 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -60,7 +60,7 @@ if (currentPath !== import.meta.env.BASE_URL + "/") { { currentTopic === "ui" ? - The tag's commit can be found here. + clientVersion ? The tag's commit can be found here. : "" : currentTopic === "containers" ?