Skip to content

Commit 06e3726

Browse files
committed
Remove remaining mentions of git and chat integrations
1 parent 44611b1 commit 06e3726

5 files changed

Lines changed: 5 additions & 41 deletions

File tree

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ The amount of times the extension should retry is [also configurable](vscode://s
3535
We refer to permission modes in NeuroPilot as either Autopilot mode (top GIF) or Copilot mode (bottom GIF) which can be configured alongside disabling it completely.
3636
These refer to different levels of permission Neuro can be given over certain groups of actions.
3737

38-
### Copilot Chat integration
39-
40-
This extension adds a chat participant that allows you to interact with her as if she was Copilot.
41-
This includes:
42-
43-
- Chatting with her through the chat sidebar (invoked by typing `@neuro`, `@evil` or `@neuroapi`).
44-
- Requesting inline completions (tab-complete, as its known).
45-
- Asking her to fix or explain lint errors.
46-
4738
## Security
4839

4940
The extension has multiple security measures in place to prevent Neuro from doing any real damage.
@@ -53,8 +44,6 @@ Neuro cannot open, edit, or otherwise access files or folders that start with a
5344
This is mainly to prevent her from opening `.vscode/tasks.json` to essentially run arbitrary commands in the terminal, or editing `.vscode/settings.json` to escalate her permissions.
5445
**Warning: If your workspace is inside such a folder, Neuro will not be able to edit *any* files!**
5546

56-
Neuro also can't change the global git configuration, only the one local to the current repository.
57-
5847
Note that:
5948

6049
- if Neuro has direct terminal access;

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@
191191
"neuropilot.beforeContext": {
192192
"type": "integer",
193193
"default": 500,
194-
"description": "The number of lines before the cursor position to include as context when editing a file or sending a completion request"
194+
"description": "The number of lines before the cursor position to include as context when editing a file."
195195
},
196196
"neuropilot.afterContext": {
197197
"type": "integer",
198198
"default": 500,
199-
"description": "The number of lines after the cursor position to include as context when editing a file or sending a completion request"
199+
"description": "The number of lines after the cursor position to include as context when editing a file."
200200
},
201201
"neuropilot.includePattern": {
202202
"markdownDeprecationMessage": "This setting has been moved to `neuropilot.access.includePattern`."
@@ -546,7 +546,7 @@
546546
},
547547
"neuropilot.connection.nameOfAPI": {
548548
"type": "string",
549-
"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.",
549+
"markdownDescription": "Who is currently acting as the Neuro API server?\nThis only changes the name in certain areas (such as Copilot-mode requests) 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.",
550550
"default": "Neuro",
551551
"enum": [
552552
"Neuro",
@@ -704,7 +704,7 @@
704704
"capabilities": {
705705
"virtualWorkspaces": {
706706
"supported": "limited",
707-
"description": "In virtual workspaces, Terminal, Tasks, Git support (restricted on web) and Copilot Chat mode (restricted on web) is not available."
707+
"description": "In virtual workspaces, Terminal and Tasks are not available."
708708
},
709709
"untrustedWorkspaces": {
710710
"supported": "limited",

src/config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,6 @@ export function setPermissionLevel(actionName: string, level: PermissionLevel, t
544544
class Config {
545545
get beforeContext(): number { return getConfig('beforeContext')!; }
546546
get afterContext(): number { return getConfig('afterContext')!; }
547-
get maxCompletions(): number { return getConfig('maxCompletions')!; }
548-
get completionTrigger(): string { return getConfig('completionTrigger')!; }
549-
get timeout(): number { return getConfig('timeout')!; }
550547
get showTimeOnTerminalStart(): boolean { return getConfig('showTimeOnTerminalStart')!; }
551548
get terminalContextDelay(): number { return getConfig('terminalContextDelay')!; }
552549
get sendNewLintingProblemsOn(): string { return getConfig('sendNewLintingProblemsOn')!; }

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const NEURO: Neuro = {
120120
},
121121
};
122122

123-
// this will likely be transformed for a different use later when the API rolls around
123+
// TODO: this will likely be transformed for a different use later when the API rolls around
124124
interface ExtensionDependencies {
125125
copilotChat: boolean;
126126
}

test-playground/.vscode/settings.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,34 +32,12 @@
3232
"get_user_selection": "autopilot",
3333
"replace_user_selection": "autopilot",
3434
"diff_patch": "autopilot",
35-
"add_file_to_git": "autopilot",
36-
"make_git_commit": "autopilot",
37-
"merge_to_current_branch": "autopilot",
38-
"git_status": "autopilot",
39-
"remove_file_from_git": "autopilot",
40-
"delete_git_branch": "autopilot",
41-
"switch_git_branch": "autopilot",
42-
"new_git_branch": "autopilot",
43-
"diff_files": "autopilot",
44-
"git_log": "autopilot",
45-
"git_blame": "autopilot",
46-
"tag_head": "autopilot",
47-
"delete_tag": "autopilot",
48-
"set_git_config": "autopilot",
49-
"get_git_config": "autopilot",
50-
"fetch_git_commits": "autopilot",
51-
"pull_git_commits": "autopilot",
52-
"push_git_commits": "autopilot",
53-
"add_git_remote": "autopilot",
54-
"remove_git_remote": "autopilot",
55-
"rename_git_remote": "autopilot",
5635
"execute_in_terminal": "autopilot",
5736
"kill_terminal_process": "autopilot",
5837
"get_currently_running_shells": "autopilot",
5938
"get_file_lint_problems": "autopilot",
6039
"get_folder_lint_problems": "autopilot",
6140
"get_workspace_lint_problems": "autopilot",
62-
"init_git_repo": "autopilot",
6341
"terminate_task": "autopilot",
6442
"read_changelog": "autopilot"
6543
},

0 commit comments

Comments
 (0)