You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ Changes between each version before then will not be listed.
15
15
16
16
## 2.2.2
17
17
18
+
### New settings
19
+
20
+
-`neuropilot.connection.userName` - Your name, to be used where Vedal would be used in the extension. This will not be logged, but it will be sent to the connected API server, so do be mindful of what you put there.
21
+
18
22
### Added features
19
23
20
24
- If an exception was thrown while executing an action, it will be caught and you will be notified about it.
@@ -27,6 +31,8 @@ Changes between each version before then will not be listed.
27
31
- Neuro can now get cookies by herself, if `neuropilot.permission.requestCookies` is set to `Autopilot`.
28
32
- Perfect for chill streams, assuming of course that she doesn't abuse it.
29
33
- The default for this permission is still set to "Copilot", so you'll still need to set it yourself.
34
+
- Your name, according to the `neuropilot.connection.userName` setting, will be used in areas where it used to say Vedal.
35
+
- If you want to use your name in the `neuropilot.connection.initialContext` setting, use the `insert_turtle_here` placeholder.
30
36
- Neuro will now be told about all schema validation errors at once, as opposed to only being able to see one validation error at a time.
Copy file name to clipboardExpand all lines: package.json
+28-2Lines changed: 28 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@
196
196
"neuropilot.currentlyAsNeuroAPI": {
197
197
"type": "string",
198
198
"markdownDescription": "Who is currently acting as the Neuro API server?\nThis only changes the name in certain areas (such as Copilot-mode requests or Git commit messages) due to limitations.\n\nYou can add custom characters using `settings.json` if you ignore the lint error from VS Code.\n\n(Most) names mentioned here are not associated with NeuroPilot.",
199
-
"default": "Neuro",
199
+
"deprecationMessage": "This setting has been moved to neuropilot.connection.nameOfAPI",
200
200
"enum": [
201
201
"Neuro",
202
202
"Evil",
@@ -782,7 +782,7 @@
782
782
"neuropilot.connection.initialContext": {
783
783
"type": "string",
784
784
"default": "You are using an extension in Visual Studio Code that allows you to code together with Vedal.",
785
-
"description": "The initial context to sent to Neuro-sama (or whatever is connected to NeuroPilot)",
785
+
"markdownDescription": "The initial context to sent to Neuro-sama (or whatever is connected to NeuroPilot)\n\nTo replace with your name (according to [this setting](vscode://settings/neuropilot.connection.userName)), use `insert_turtle_here`.",
786
786
"editPresentation": "multilineText"
787
787
},
788
788
"neuropilot.connection.autoConnect": {
@@ -802,6 +802,32 @@
802
802
"minimum": 0,
803
803
"markdownDescription": "The amount of retries to connect to the Neuro API if it fails.\n\nThe amount of tries total will be (this setting) + 1.\n\nSet to 0 to disallow retries."
804
804
},
805
+
"neuropilot.connection.userName": {
806
+
"type": "string",
807
+
"default": "Vedal",
808
+
"description": "Your name (to communicate who is controlling this VS Code instance alongside the API server). This will be used where the name `Vedal` would work for Neuro."
809
+
},
810
+
"neuropilot.connection.nameOfAPI": {
811
+
"type": "string",
812
+
"markdownDescription": "Who is currently acting as the Neuro API server?\nThis only changes the name in certain areas (such as Copilot-mode requests or Git commit messages) due to limitations.\n\nYou can add custom characters using `settings.json` if you ignore the lint error from VS Code.\n\n(Most) names mentioned here are not associated with NeuroPilot.",
@@ -24,7 +24,7 @@ export function sendCurrentFile() {
24
24
25
25
logOutput('INFO','Sending current file to Neuro API');
26
26
constfence=getFence(text);
27
-
NEURO.client?.sendContext(`Vedal sent you the contents of the file ${fileName}.\n\nContent:\n\n${fence}${language}\n${text}\n${fence}`);
27
+
NEURO.client?.sendContext(`${CONNECTION.userName} sent you the contents of the file ${fileName}.\n\nContent:\n\n${fence}${language}\n${text}\n${fence}`);
28
28
}
29
29
30
30
exportfunctionregisterRequestCookieAction(){
@@ -36,7 +36,7 @@ export function registerRequestCookieAction() {
36
36
NEURO.client?.registerActions([
37
37
{
38
38
name: 'request_cookie',
39
-
description: "Ask Vedal for a cookie. You can request a specific flavor, but it's up to Vedal to decide.",
39
+
description: `Ask ${CONNECTION.userName} for a cookie. You can request a specific flavor, but it's up to ${CONNECTION.userName} to decide.`,
0 commit comments