Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

102 changes: 83 additions & 19 deletions vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@
"vscode:uninstall": "node ./dist/post-uninstall.js",
"test:unit:tree-sitter-queries": "vitest ./src/tree-sitter/query-tests/*.test.ts"
},
"categories": ["AI", "Chat", "Programming Languages", "Machine Learning", "Snippets", "Education"],
"categories": [
"AI",
"Chat",
"Programming Languages",
"Machine Learning",
"Snippets",
"Education"
],
"keywords": [
"cody",
"codey",
Expand Down Expand Up @@ -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": {
"colors": [
{
Expand Down Expand Up @@ -623,13 +634,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"
},
Expand Down Expand Up @@ -883,7 +898,10 @@
"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.customHeaders": {
"order": 4,
Expand All @@ -899,7 +917,11 @@
},
"cody.suggestions.mode": {
"type": "string",
"enum": ["autocomplete", "auto-edit", "off"],
"enum": [
"autocomplete",
"auto-edit",
"off"
],
"enumDescriptions": [
"Suggests standard code completions as you type.",
"Suggests advanced context-aware code edits as you navigate the codebase. Experimental feature for Pro and Enterprise users.",
Expand Down Expand Up @@ -938,12 +960,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",
Expand All @@ -956,7 +984,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,
Expand Down Expand Up @@ -1001,7 +1031,10 @@
"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."
Expand All @@ -1025,7 +1058,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"
Expand All @@ -1036,7 +1072,11 @@
"cody.autocomplete.experimental.graphContext": {
"type": "string",
"default": null,
"enum": [null, "tsc", "tsc-mixed"],
"enum": [
null,
"tsc",
"tsc-mixed"
],
"markdownDescription": "Use the code graph to retrieve context for autocomplete requests."
},
"cody.autocomplete.experimental.fireworksOptions": {
Expand Down Expand Up @@ -1145,7 +1185,11 @@
},
"cody.net.mode": {
"type": "string",
"enum": ["auto", "bypass", "vscode"],
"enum": [
"auto",
"bypass",
"vscode"
],
"enumDescriptions": [
"Default behavior. If `cody.net.proxy.endpoint` is configured, bypassing is automatically enabled, otherwise direct is used.",
"Bypass VSCode's network stack, using Cody's instead.",
Expand All @@ -1159,7 +1203,11 @@
"type": "string",
"default": "",
"pattern": "^((http|https|socks|socks4|socks4a|socks5|socks5h)://[^:]+:\\d+|unix://(~|/|[a-zA-Z]:\\\\).+)?$",
"examples": ["https://localhost:7080", "socks5://1.2.3.4:1080", "unix://~/cody-proxy.sock"]
"examples": [
"https://localhost:7080",
"socks5://1.2.3.4:1080",
"unix://~/cody-proxy.sock"
]
},
"cody.net.proxy.skipCertValidation": {
"description": "Whether to skip proxy server CA cert validation. Useful if the proxy server uses a self-signed certificate.",
Expand Down Expand Up @@ -1197,8 +1245,16 @@
"examples": [
{
"shell": {
"allow": ["git", "ls", "find"],
"block": ["history", "sudo", "rm"]
"allow": [
"git",
"ls",
"find"
],
"block": [
"history",
"sudo",
"rm"
]
}
}
],
Expand All @@ -1218,15 +1274,20 @@
"markdownDescription": "Configure external authentication providers for Cody requests. Each provider consists of a command that generates HTTP headers used for authentication for a given endpoint.\n\n**How it works:**\n1. The specified command outputs a JSON object with header-value pairs\n2. These headers are included in authenticated Cody requests to the specified endpoint\n3. HTTP authentication proxy need to be used to enable custom authentication flows (e.g. JWT tokens, Oath2, etc)\n\nSee [HTTP Authentication Proxies](https://sourcegraph.com/docs/admin/auth#http-authentication-proxies) for proxy configuration.",
"items": {
"type": "object",
"required": ["endpoint", "executable"],
"required": [
"endpoint",
"executable"
],
"properties": {
"endpoint": {
"type": "string",
"description": "The endpoint URL of the Sourcegraph instance"
},
"executable": {
"type": "object",
"required": ["commandLine"],
"required": [
"commandLine"
],
"properties": {
"commandLine": {
"type": "array",
Expand Down Expand Up @@ -1339,7 +1400,9 @@
"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": {
Expand Down Expand Up @@ -1377,6 +1440,7 @@
"@sourcegraph/cody-shared": "workspace:*",
"@sourcegraph/prompt-editor": "workspace:*",
"@sourcegraph/tree-sitter-wasms": "^0.1.9",
"@tanstack/react-virtual": "^3.13.12",
"@types/he": "^1.2.3",
"@types/mdast": "^4.0.4",
"@types/react": "18.2.79",
Expand Down
Loading
Loading