-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump openctx for quieter provider errors
Incorporates sourcegraph/openctx#207 and sourcegraph/openctx#206.
- Loading branch information
Showing
5 changed files
with
112 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,14 @@ | |
"version-bump:patch": "RELEASE_TYPE=patch ts-node-transpile-only ./scripts/version-bump.ts", | ||
"version-bump:dry-run": "RELEASE_TYPE=prerelease ts-node-transpile-only ./scripts/version-bump.ts" | ||
}, | ||
"categories": ["AI", "Chat", "Programming Languages", "Machine Learning", "Snippets", "Education"], | ||
"categories": [ | ||
"AI", | ||
"Chat", | ||
"Programming Languages", | ||
"Machine Learning", | ||
"Snippets", | ||
"Education" | ||
], | ||
"keywords": [ | ||
"cody", | ||
"codey", | ||
|
@@ -119,7 +126,11 @@ | |
}, | ||
"main": "./dist/extension.node.js", | ||
"browser": "./dist/extension.web.js", | ||
"activationEvents": ["onLanguage", "onStartupFinished", "onWebviewPanel:cody.editorPanel"], | ||
"activationEvents": [ | ||
"onLanguage", | ||
"onStartupFinished", | ||
"onWebviewPanel:cody.editorPanel" | ||
], | ||
"contributes": { | ||
"walkthroughs": [ | ||
{ | ||
|
@@ -712,13 +723,17 @@ | |
}, | ||
{ | ||
"command": "cody.supercompletion.jumpTo", | ||
"args": ["next"], | ||
"args": [ | ||
"next" | ||
], | ||
"key": "shift+ctrl+down", | ||
"when": "cody.activated && !editorReadonly && cody.hasActionableSupercompletion" | ||
}, | ||
{ | ||
"command": "cody.supercompletion.jumpTo", | ||
"args": ["previous"], | ||
"args": [ | ||
"previous" | ||
], | ||
"key": "shift+ctrl+up", | ||
"when": "cody.activated && !editorReadonly && cody.hasActionableSupercompletion" | ||
} | ||
|
@@ -976,12 +991,20 @@ | |
"order": 2, | ||
"type": "string", | ||
"markdownDescription": "A Git repository URL to use instead of allowing Cody to infer the Git repository from the workspace.", | ||
"examples": ["https://github.com/sourcegraph/cody", "ssh://[email protected]/sourcegraph/cody"] | ||
"examples": [ | ||
"https://github.com/sourcegraph/cody", | ||
"ssh://[email protected]/sourcegraph/cody" | ||
] | ||
}, | ||
"cody.useContext": { | ||
"order": 99, | ||
"type": "string", | ||
"enum": ["embeddings", "keyword", "blended", "none"], | ||
"enum": [ | ||
"embeddings", | ||
"keyword", | ||
"blended", | ||
"none" | ||
], | ||
"default": "blended", | ||
"markdownDescription": "Controls which context providers Cody uses for chat, commands and inline edits. Use 'blended' for best results. For debugging other context sources, 'embeddings' will use an embeddings-based index if available. 'keyword' will use a search-based index. 'none' will not use embeddings or search-based indexes." | ||
}, | ||
|
@@ -1033,12 +1056,18 @@ | |
"order": 6, | ||
"type": "string", | ||
"markdownDescription": "A custom instruction to be included at the start of all chat messages (e.g. \"Answer all my questions in Spanish.\")", | ||
"examples": ["Answer all my questions in Spanish."] | ||
"examples": [ | ||
"Answer all my questions in Spanish." | ||
] | ||
}, | ||
"cody.chat.defaultLocation": { | ||
"order": 6, | ||
"type": "string", | ||
"enum": ["sticky", "sidebar", "editor"], | ||
"enum": [ | ||
"sticky", | ||
"sidebar", | ||
"editor" | ||
], | ||
"markdownDescription": "Controls where the Cody chat view opens when the user invokes the `Cody: New Chat` command, or the Alt+L and Alt+/ shortcuts.", | ||
"enumDescriptions": [ | ||
"Opens in the last-activated view location, which is set whenever the user explicitly chooses to open chat in a given location", | ||
|
@@ -1051,7 +1080,9 @@ | |
"order": 7, | ||
"type": "string", | ||
"markdownDescription": "A custom instruction to be included at the end of all instructions for edit commands (e.g. \"Write all unit tests with Jest instead of detected framework.\")", | ||
"examples": ["Write all unit tests with Jest instead of detected framework."] | ||
"examples": [ | ||
"Write all unit tests with Jest instead of detected framework." | ||
] | ||
}, | ||
"cody.codeActions.enabled": { | ||
"order": 11, | ||
|
@@ -1097,15 +1128,24 @@ | |
"cody.telemetry.level": { | ||
"order": 99, | ||
"type": "string", | ||
"enum": ["all", "off"], | ||
"enumDescriptions": ["Sends usage data and errors.", "Disables all extension telemetry."], | ||
"enum": [ | ||
"all", | ||
"off" | ||
], | ||
"enumDescriptions": [ | ||
"Sends usage data and errors.", | ||
"Disables all extension telemetry." | ||
], | ||
"markdownDescription": "Controls the telemetry about Cody usage and errors. See [Cody usage and privacy notice](https://about.sourcegraph.com/terms/cody-notice).", | ||
"default": "all" | ||
}, | ||
"cody.autocomplete.advanced.provider": { | ||
"type": "string", | ||
"default": "default", | ||
"enum": ["default", "experimental-ollama"], | ||
"enum": [ | ||
"default", | ||
"experimental-ollama" | ||
], | ||
"enumDescriptions": [ | ||
"Our recommended setup with the best balance of quality and latency. We continuously update this for optimal performance.", | ||
"Experimental support for Ollama users. Use `cody.autocomplete.experimental.ollamaOptions` to configure requests to Ollama server." | ||
|
@@ -1129,7 +1169,10 @@ | |
}, | ||
"cody.experimental.foldingRanges": { | ||
"type": "string", | ||
"enum": ["lsp", "indentation-based"], | ||
"enum": [ | ||
"lsp", | ||
"indentation-based" | ||
], | ||
"enumDescriptions": [ | ||
"Use folding ranges that are enabled by default in VS Code, and are usually powered by LSP", | ||
"Use custom implementation of folding ranges that is indentation based. This is the implementation that is used by other Cody clients like the JetBrains plugin" | ||
|
@@ -1140,7 +1183,13 @@ | |
"cody.autocomplete.experimental.graphContext": { | ||
"type": "string", | ||
"default": null, | ||
"enum": [null, "bfg", "bfg-mixed", "tsc", "tsc-mixed"], | ||
"enum": [ | ||
null, | ||
"bfg", | ||
"bfg-mixed", | ||
"tsc", | ||
"tsc-mixed" | ||
], | ||
"markdownDescription": "Use the code graph to retrieve context for autocomplete requests." | ||
}, | ||
"cody.autocomplete.experimental.fireworksOptions": { | ||
|
@@ -1315,13 +1364,15 @@ | |
"untrustedWorkspaces": { | ||
"supported": "limited", | ||
"description": "Cody only uses providers (configured in `openctx.providers`) from trusted workspaces because providers may execute arbitrary code.", | ||
"restrictedConfigurations": ["openctx.providers"] | ||
"restrictedConfigurations": [ | ||
"openctx.providers" | ||
] | ||
} | ||
}, | ||
"dependencies": { | ||
"@anthropic-ai/sdk": "^0.20.8", | ||
"@openctx/provider-linear-issues": "^0.0.9", | ||
"@openctx/vscode-lib": "^0.0.24", | ||
"@openctx/vscode-lib": "^0.0.25", | ||
"@opentelemetry/api": "^1.7.0", | ||
"@opentelemetry/core": "^1.18.1", | ||
"@opentelemetry/exporter-trace-otlp-http": "^0.45.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters