Skip to content

Commit 90b66d0

Browse files
committed
Remove the tasks feature flag
1 parent 41940e7 commit 90b66d0

File tree

3 files changed

+2
-27
lines changed

3 files changed

+2
-27
lines changed

package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,6 @@
139139
"experimental"
140140
]
141141
},
142-
"coder.experimental.tasks": {
143-
"markdownDescription": "Enable the experimental [Tasks](https://coder.com/docs/ai-coder/tasks) panel in VS Code. When enabled, a sidebar panel lets you run and manage AI coding agents in Coder workspaces. This feature is under active development and may change. Requires a Coder deployment with Tasks support.",
144-
"type": "boolean",
145-
"default": false,
146-
"tags": [
147-
"experimental"
148-
]
149-
},
150142
"coder.sshFlags": {
151143
"markdownDescription": "Additional flags to pass to the `coder ssh` command when establishing SSH connections. Enter each flag as a separate array item; values are passed verbatim and in order. See the [CLI ssh reference](https://coder.com/docs/reference/cli/ssh) for available flags.\n\nNote: `--network-info-dir` and `--ssh-host-prefix` are ignored (managed internally). Prefer `#coder.proxyLogDirectory#` over `--log-dir`/`-l` for full functionality.",
152144
"type": "array",
@@ -219,7 +211,7 @@
219211
"id": "coder.tasksPanel",
220212
"name": "Coder Tasks",
221213
"icon": "media/tasks-logo.svg",
222-
"when": "coder.authenticated && coder.tasksEnabled"
214+
"when": "coder.authenticated"
223215
}
224216
]
225217
},
@@ -426,7 +418,7 @@
426418
},
427419
{
428420
"command": "coder.tasks.refresh",
429-
"when": "coder.authenticated && coder.tasksEnabled && view == coder.tasksPanel",
421+
"when": "coder.authenticated && view == coder.tasksPanel",
430422
"group": "navigation@1"
431423
}
432424
],

src/core/contextManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const CONTEXT_DEFAULTS = {
44
"coder.authenticated": false,
55
"coder.isOwner": false,
66
"coder.loaded": false,
7-
"coder.tasksEnabled": false,
87
"coder.workspace.connected": false,
98
"coder.workspace.updatable": false,
109
} as const;

src/extension.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,6 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
6666
const secretsManager = serviceContainer.getSecretsManager();
6767
const contextManager = serviceContainer.getContextManager();
6868

69-
const syncTasksFlag = () => {
70-
const enabled =
71-
vscode.workspace
72-
.getConfiguration()
73-
.get<boolean>("coder.experimental.tasks") === true;
74-
contextManager.set("coder.tasksEnabled", enabled);
75-
};
76-
syncTasksFlag();
77-
ctx.subscriptions.push(
78-
vscode.workspace.onDidChangeConfiguration((e) => {
79-
if (e.affectsConfiguration("coder.experimental.tasks")) {
80-
syncTasksFlag();
81-
}
82-
}),
83-
);
84-
8569
// Migrate auth storage from old flat format to new label-based format
8670
await migrateAuthStorage(serviceContainer);
8771

0 commit comments

Comments
 (0)