Skip to content

Commit 4231c3e

Browse files
committed
chore: lower min VS Code to 1.105, remove chat sidebar, harden deeplink params
- engines.vscode -> ^1.105.0, @types/vscode -> 1.105.0, CI integration matrix pinned at 1.105.1 so the latest Cursor stable can install again. - Remove the Coder Chat (Experimental) secondary sidebar and every supporting piece: webview provider, agents experiment fetch, coder.agentsEnabled context, chatId deeplink handoff, pendingChatId memento helpers, @repo/chat iframe shim package, ChatApi IPC contract. - Add regression tests pinning the permissive deeplink contract so older Coder servers still emitting chatId and newer servers emitting unknown params both keep working. Closes #974
1 parent f98bacf commit 4231c3e

27 files changed

Lines changed: 75 additions & 1049 deletions

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
# Minimum supported version: VS Code 1.106 (Oct 2025) -> Electron 37 -> Node 22
36+
# Minimum supported version: VS Code 1.105 (Sept 2025) -> Electron 37 -> Node 22
3737
# See https://github.com/ewanharris/vscode-versions for version mapping.
3838
# Older Electron stays Linux-only; "latest" smoke-tests Windows + macOS too.
3939
include:
@@ -60,7 +60,7 @@ jobs:
6060
fail-fast: false
6161
matrix:
6262
include:
63-
- { os: ubuntu-24.04, name: Linux, vscode-version: "1.106.0" }
63+
- { os: ubuntu-24.04, name: Linux, vscode-version: "1.105.0" }
6464
- { os: ubuntu-24.04, name: Linux, vscode-version: "stable" }
6565
- { os: windows-2025, name: Windows, vscode-version: "stable" }
6666
- { os: macos-15, name: macOS, vscode-version: "stable" }

.vscode-test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { defineConfig } from "@vscode/test-cli";
22

33
// VS Code to Electron/Node version mapping:
4-
// VS Code 1.106 (Oct 2025) -> Electron 37, Node 22 - Minimum supported
4+
// VS Code 1.105 (Sept 2025) -> Electron 37, Node 22 - Minimum supported
55
// VS Code stable -> Latest
66
// See https://github.com/ewanharris/vscode-versions for version mapping
7-
const versions = ["1.106.0", "stable"];
7+
const versions = ["1.105.0", "stable"];
88

99
const baseConfig = {
1010
files: "out/test/integration/**/*.test.js",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@
4242
around `cmd.exe` on Windows) and a recurring command-injection risk
4343
when deployment-supplied values like workspace names or template
4444
parameters contained spaces, quotes, or shell metacharacters.
45+
- Minimum supported VS Code lowered to 1.105 for Cursor compatibility.
46+
47+
### Removed
48+
49+
- The "Coder Chat (Experimental)" secondary sidebar and its `agents`
50+
experiment gate. Deeplinks that still include `chatId` continue to open
51+
the workspace; the parameter is now silently ignored.
4552

4653
### Fixed
4754

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ The extension provides several sidebar panels:
6666
indicators, quick actions, and search.
6767
- **Coder Tasks** - a React webview for creating, monitoring, and managing AI
6868
agent tasks with real-time log streaming.
69-
- **Coder Chat** - an embedded chat UI for delegating tasks to AI coding agents
70-
(gated behind the `coder.agentsEnabled` context flag).
7169

7270
There are also notifications for outdated workspace templates and for workspaces
7371
that are close to shutting down.
@@ -176,7 +174,7 @@ This extension targets the Node.js version bundled with VS Code's Electron:
176174

177175
| VS Code | Electron | Node.js | Status |
178176
| ------- | -------- | ------- | ----------------- |
179-
| 1.106 | 37 | 22 | Minimum supported |
177+
| 1.105 | 37 | 22 | Minimum supported |
180178
| stable | latest | varies | Also tested in CI |
181179

182180
When updating the minimum Node.js version, update these files:

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ The Coder Remote extension connects your editor to
2020
metadata and app statuses at a glance.
2121
- **Coder Tasks** - create, monitor, and manage AI agent tasks directly from
2222
the sidebar with real-time log streaming.
23-
- **Coder Chat** - delegate development tasks to AI coding agents from the
24-
sidebar. Requires [Coder Agents](https://coder.com/docs/ai-coder/agents) to
25-
be enabled on your deployment.
2623
- **Multi-deployment support** - connect to multiple Coder deployments and
2724
switch between them without losing credentials.
2825
- **Dev container support** - open dev containers running inside workspaces.

package.json

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,6 @@
278278
"title": "Coder Tasks",
279279
"icon": "media/tasks-logo.svg"
280280
}
281-
],
282-
"secondarySidebar": [
283-
{
284-
"id": "coderChat",
285-
"title": "Coder Chat (Experimental)",
286-
"icon": "media/shorthand-logo.svg"
287-
}
288281
]
289282
},
290283
"views": {
@@ -317,15 +310,6 @@
317310
"icon": "media/tasks-logo.svg",
318311
"when": "coder.authenticated"
319312
}
320-
],
321-
"coderChat": [
322-
{
323-
"type": "webview",
324-
"id": "coder.chatPanel",
325-
"name": "Coder Chat (Experimental)",
326-
"icon": "media/shorthand-logo.svg",
327-
"when": "coder.agentsEnabled"
328-
}
329313
]
330314
},
331315
"viewsWelcome": [
@@ -449,12 +433,6 @@
449433
"category": "Coder",
450434
"icon": "$(refresh)"
451435
},
452-
{
453-
"command": "coder.chat.refresh",
454-
"title": "Refresh Chat",
455-
"category": "Coder",
456-
"icon": "$(refresh)"
457-
},
458436
{
459437
"command": "coder.applyRecommendedSettings",
460438
"title": "Apply Recommended SSH Settings",
@@ -571,10 +549,6 @@
571549
"command": "coder.tasks.refresh",
572550
"when": "false"
573551
},
574-
{
575-
"command": "coder.chat.refresh",
576-
"when": "false"
577-
},
578552
{
579553
"command": "coder.applyRecommendedSettings"
580554
}
@@ -616,11 +590,6 @@
616590
"command": "coder.tasks.refresh",
617591
"when": "coder.authenticated && view == coder.tasksPanel",
618592
"group": "navigation@1"
619-
},
620-
{
621-
"command": "coder.chat.refresh",
622-
"when": "view == coder.chatPanel",
623-
"group": "navigation@1"
624593
}
625594
],
626595
"view/item/context": [
@@ -713,7 +682,7 @@
713682
"@types/react-dom": "catalog:",
714683
"@types/semver": "^7.7.1",
715684
"@types/ua-parser-js": "0.7.39",
716-
"@types/vscode": "1.106.0",
685+
"@types/vscode": "1.105.0",
717686
"@types/vscode-webview": "catalog:",
718687
"@types/ws": "^8.18.1",
719688
"@typescript-eslint/eslint-plugin": "^8.59.3",
@@ -758,7 +727,7 @@
758727
],
759728
"packageManager": "pnpm@11.1.2+sha224.6d287705d0efa6c2ba7a74795dc72a7800f64840f2bc0961cedba029",
760729
"engines": {
761-
"vscode": "^1.106.0",
730+
"vscode": "^1.105.0",
762731
"node": ">= 22"
763732
},
764733
"icon": "media/logo.png",

packages/chat/package.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/chat/src/css.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/chat/src/index.css

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/chat/src/index.ts

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)