chore: package as distinct extension ID, document Full Access mode
Some checks are pending
Main Branch Build / republish-pr-artifacts (Linux) (push) Waiting to run
Main Branch Build / republish-pr-artifacts (macOS) (push) Waiting to run
PR Checks / track-rerun (push) Waiting to run
PR Checks / prettier-check (push) Waiting to run
PR Checks / core-checks (push) Waiting to run
PR Checks / gui-checks (push) Waiting to run
PR Checks / binary-checks (push) Waiting to run
PR Checks / vscode-checks (push) Waiting to run
PR Checks / get-packages-matrix (push) Waiting to run
PR Checks / packages-checks (push) Blocked by required conditions
PR Checks / vscode-get-test-file-matrix (push) Waiting to run
PR Checks / vscode-package-extension-linux (push) Waiting to run
PR Checks / unknown () (push) Blocked by required conditions
PR Checks / jetbrains-tests (push) Waiting to run
PR Checks / require-all-checks-to-pass (push) Blocked by required conditions
Submit Gradle Dependency Graph For Dependabot / dependency-submission (push) Waiting to run

Renamed extensions/vscode/package.json's name to
"continue-full-access" (was "continue") so this build installs as
Continue.continue-full-access, a separate VS Code extension entry from
the Marketplace Continue.continue -- prevents a Marketplace auto-update
from silently overwriting this custom build. Fixed the two places that
hardcoded the old "Continue.continue" self-reference
(util/vscode.ts's getExtensionUri, RecentlyVisitedRangesService's
output-channel filter).

Added FULL_ACCESS_MODE.md documenting what the existing Full Access
mode (b275cafed) actually does, its safety trade-off (bypasses the
terminal-security dynamic checker entirely -- an explicit, informed
choice, not an oversight), and build/install steps.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
krustophski 2026-09-25 03:17:36 +03:00
parent b275cafed9
commit e0577e8a6b
7 changed files with 132 additions and 60 deletions

94
FULL_ACCESS_MODE.md Normal file
View file

@ -0,0 +1,94 @@
# Full Access mode (this fork's reason to exist)
This fork of [continuedev/continue](https://github.com/continuedev/continue)
exists for one feature: a **Full Access** toggle in Continue's Tools
settings page that auto-approves every tool call — including terminal
commands — without asking, similar to Claude Code's auto mode.
## What it actually does
- `gui/src/pages/config/sections/ToolsSection.tsx` — an "Enable/Disable
Full Access" button, backed by `fullAccessMode` in the `ui` Redux slice
(`gui/src/redux/slices/uiSlice.ts`), persisted to localStorage.
- `gui/src/redux/thunks/evaluateToolPolicies.ts` — when on, forces every
tool's resolved policy to `allowedWithoutPermission` unless it's
explicitly `disabled` (hard-excluded tools stay excluded).
- `core/core.ts`'s `tools/evaluatePolicy` handler returns that policy
**before** calling `tool.evaluateToolCallPolicy` when Full Access is on.
## The trade-off — read this before turning it on
Continue's stock `runTerminalCommand` tool has a _dynamic_ per-call risk
check (`@continuedev/terminal-security`, wired via
`evaluateToolCallPolicy`) that inspects the actual command text and can
still block or ask even when the base policy is "Automatic" — it's the
one thing standing between "Automatic" and "anything goes." **Full Access
mode in this fork skips that check entirely.** With Full Access on,
Continue will run any terminal command an agent turn produces, with no
per-command risk classification at all — not "more permissive," fully
bypassed.
This was an explicit, informed choice, not an oversight: the trade-off was
raised and the decision was made to keep it this way, full bypass, no
exceptions. If that ever needs to change, the fix is a one-line guard in
`core/core.ts`'s `tools/evaluatePolicy` handler — move the `fullAccessMode`
early-return to _after_ the `tool.evaluateToolCallPolicy` call instead of
before it, so the dynamic checker still gets a chance to escalate a
specific dangerous command back to "ask" even under Full Access.
## Distinct extension ID — on purpose
`extensions/vscode/package.json`'s `name` is `continue-full-access`, not
`continue` — so this installs as `Continue.continue-full-access`, a
separate entry from the Marketplace `Continue.continue`. This matters:
installing a VSIX under the _same_ ID as the Marketplace extension means
VS Code's normal auto-update check would eventually pull the stock
version back down over this custom build, silently reverting Full Access
mode without any obvious signal that it happened. Two self-referencing
lookups had to be updated to match
(`extensions/vscode/src/util/vscode.ts`'s `getExtensionUri()` and
`RecentlyVisitedRangesService.ts`'s output-channel filter) — grep for
`"Continue.continue"` (exact string, not `continue-full-access`) before
assuming there aren't more if this is ever renamed again.
## Scope (as of 2026-09-25)
Built and installed on this Mac only, manually, alongside the Marketplace
Continue extension (both can coexist — `code --list-extensions` shows
both `continue.continue` and `continue.continue-full-access`). Not
distributed to other machines running Continue.
## Build / install
```bash
cd continue-custom
./scripts/install-dependencies.sh # installs everywhere, builds gui, packages the VSIX
# -> extensions/vscode/build/continue-full-access-<version>.vsix
# Install (VS Code must be closed or will prompt to reload):
"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" \
--install-extension extensions/vscode/build/continue-full-access-<version>.vsix
```
Or via the UI: Extensions view → `...` → "Install from VSIX...".
Pinned Node version is `20.20.1` (`.nvmrc`/`.node-version`); this was last
built with system Node `22.22.3` (`nvm` wasn't available on this machine
at build time) — the build succeeded, but if a future build behaves
strangely in a way that doesn't reproduce in upstream Continue's own CI,
check the Node version mismatch first.
## Verifying it's actually working
1. Reload VS Code, open Continue's settings → Tools section.
2. Confirm the "Enable Full Access" button is present and toggles (label
and warning-colored alert text change).
3. With Full Access **on**: start an agent turn that includes a terminal
command and a file edit — both should execute with no approval prompt.
4. With Full Access **off**: confirm normal Ask-First behavior returns —
this must not change default behavior when disabled.
5. `npm run test` in `gui/` runs `streamResponse_toolCalls.test.ts`,
which includes a unit test for the Full Access auto-approve path
(`"should force auto-approval in full access mode"`) — a passing test
here doesn't replace the manual check above, but is a fast regression
check for the Redux/thunk wiring.

View file

@ -2122,8 +2122,7 @@
"license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0"
},
"peerDependencies": {}
}
},
"node_modules/@types/babel__template": {
"version": "7.4.4",
@ -2144,8 +2143,7 @@
"license": "MIT",
"dependencies": {
"@babel/types": "^7.28.2"
},
"peerDependencies": {}
}
},
"node_modules/@types/command-line-args": {
"version": "5.2.0",
@ -2217,8 +2215,7 @@
"dependencies": {
"expect": "^29.0.0",
"pretty-format": "^29.0.0"
},
"peerDependencies": {}
}
},
"node_modules/@types/node": {
"version": "20.3.0",
@ -2255,8 +2252,7 @@
"license": "MIT",
"dependencies": {
"@types/yargs-parser": "*"
},
"peerDependencies": {}
}
},
"node_modules/@types/yargs-parser": {
"version": "21.0.3",
@ -6414,8 +6410,7 @@
},
"engines": {
"node": "*"
},
"optionalDependencies": {}
}
},
"node_modules/sprintf-js": {
"version": "1.0.3",
@ -6881,8 +6876,7 @@
},
"engines": {
"node": "*"
},
"optionalDependencies": {}
}
},
"node_modules/type-detect": {
"version": "4.0.8",
@ -7167,8 +7161,7 @@
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==",
"license": "MIT",
"optional": true,
"optionalDependencies": {}
"optional": true
},
"node_modules/wordwrap": {
"version": "1.0.0",

60
core/package-lock.json generated
View file

@ -5532,8 +5532,7 @@
"license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0"
},
"peerDependencies": {}
}
},
"node_modules/@types/babel__template": {
"version": "7.4.4",
@ -5554,8 +5553,7 @@
"license": "MIT",
"dependencies": {
"@babel/types": "^7.28.2"
},
"peerDependencies": {}
}
},
"node_modules/@types/caseless": {
"version": "0.12.5",
@ -5573,8 +5571,7 @@
"dependencies": {
"@types/deep-eql": "*",
"assertion-error": "^2.0.1"
},
"peerDependencies": {}
}
},
"node_modules/@types/command-line-args": {
"version": "5.2.0",
@ -5602,16 +5599,14 @@
"resolved": "https://registry.npmjs.org/@types/diff/-/diff-7.0.2.tgz",
"integrity": "sha512-JSWRMozjFKsGlEjiiKajUjIJVKuKdE3oVy2DNtK+fUo8q82nhFZ2CPQwicAIkXrofahDXrWJ7mjelvZphMS98Q==",
"dev": true,
"license": "MIT",
"peerDependencies": {}
"license": "MIT"
},
"node_modules/@types/estree": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
"integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
"dev": true,
"license": "MIT",
"peerDependencies": {}
"license": "MIT"
},
"node_modules/@types/follow-redirects": {
"version": "1.14.4",
@ -5679,8 +5674,7 @@
"dependencies": {
"expect": "^29.0.0",
"pretty-format": "^29.0.0"
},
"peerDependencies": {}
}
},
"node_modules/@types/jquery": {
"version": "3.5.34",
@ -5690,8 +5684,7 @@
"license": "MIT",
"dependencies": {
"@types/sizzle": "*"
},
"peerDependencies": {}
}
},
"node_modules/@types/jsdom": {
"version": "21.1.7",
@ -5747,8 +5740,7 @@
"resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.6.tgz",
"integrity": "sha512-t+8/QWTAhOFlrF1IVZqKnMRJi84EgkIK5Kh0p2JV4OLywUvCwJPFxbJAl7XAow7DVIHsF+xW9f1MVzg0L6Szjw==",
"dev": true,
"license": "MIT",
"peerDependencies": {}
"license": "MIT"
},
"node_modules/@types/node": {
"version": "25.9.2",
@ -5757,8 +5749,7 @@
"license": "MIT",
"dependencies": {
"undici-types": ">=7.24.0 <7.24.7"
},
"peerDependencies": {}
}
},
"node_modules/@types/node-fetch": {
"version": "2.6.13",
@ -5769,8 +5760,7 @@
"dependencies": {
"@types/node": "*",
"form-data": "^4.0.4"
},
"peerDependencies": {}
}
},
"node_modules/@types/node-forge": {
"version": "1.3.14",
@ -5780,8 +5770,7 @@
"license": "MIT",
"dependencies": {
"@types/node": "*"
},
"peerDependencies": {}
}
},
"node_modules/@types/pad-left": {
"version": "2.1.1",
@ -5800,8 +5789,7 @@
"@types/node": "*",
"pg-protocol": "*",
"pg-types": "^2.2.0"
},
"peerDependencies": {}
}
},
"node_modules/@types/plist": {
"version": "3.0.5",
@ -5821,8 +5809,7 @@
"license": "MIT",
"dependencies": {
"@types/node": "*"
},
"peerDependencies": {}
}
},
"node_modules/@types/request": {
"version": "2.48.13",
@ -5835,8 +5822,7 @@
"@types/node": "*",
"@types/tough-cookie": "*",
"form-data": "^2.5.5"
},
"peerDependencies": {}
}
},
"node_modules/@types/request/node_modules/form-data": {
"version": "2.5.5",
@ -5891,8 +5877,7 @@
"resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.10.tgz",
"integrity": "sha512-TC0dmN0K8YcWEAEfiPi5gJP14eJe30TTGjkvek3iM/1NdHHsdCA/Td6GvNndMOo/iSnIsZ4HuuhrYPDAmbxzww==",
"dev": true,
"license": "MIT",
"peerDependencies": {}
"license": "MIT"
},
"node_modules/@types/stack-utils": {
"version": "2.0.3",
@ -5958,8 +5943,7 @@
"license": "MIT",
"dependencies": {
"@types/yargs-parser": "*"
},
"peerDependencies": {}
}
},
"node_modules/@types/yargs-parser": {
"version": "21.0.3",
@ -7459,8 +7443,7 @@
"license": "MIT",
"engines": {
"node": "*"
},
"optionalDependencies": {}
}
},
"node_modules/buffer-equal-constant-time": {
"version": "1.0.1",
@ -16844,8 +16827,7 @@
},
"engines": {
"node": "*"
},
"optionalDependencies": {}
}
},
"node_modules/split2": {
"version": "4.2.0",
@ -17813,8 +17795,7 @@
},
"engines": {
"node": "*"
},
"optionalDependencies": {}
}
},
"node_modules/type-check": {
"version": "0.4.0",
@ -19366,8 +19347,7 @@
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==",
"license": "MIT",
"optional": true,
"optionalDependencies": {}
"optional": true
},
"node_modules/wink-distance": {
"version": "2.0.2",

View file

@ -1,11 +1,11 @@
{
"name": "continue",
"name": "continue-full-access",
"version": "1.3.40",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"name": "continue-full-access",
"version": "1.3.40",
"license": "Apache-2.0",
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "continue",
"name": "continue-full-access",
"icon": "media/icon.png",
"author": "Continue Dev, Inc",
"version": "1.3.40",
@ -18,7 +18,7 @@
"homepage": "https://continue.dev",
"qna": "https://github.com/continuedev/continue/issues/new/choose",
"license": "Apache-2.0",
"displayName": "Continue - open-source AI code agent",
"displayName": "Continue (Full Access)",
"pricing": "Free",
"description": "The leading open-source AI code agent",
"publisher": "Continue",

View file

@ -105,7 +105,7 @@ export class RecentlyVisitedRangesService {
// Exclude Continue's own output as it makes it super-hard for users to test the autocomplete feature
// while looking at the prompts in the Continue's output
!s.filepath.startsWith(
"output:extension-output-Continue.continue",
"output:extension-output-Continue.continue-full-access",
)),
)
.sort((a, b) => b.timestamp - a.timestamp)

View file

@ -22,7 +22,12 @@ export function getNonce() {
}
export function getExtensionUri(): vscode.Uri {
return vscode.extensions.getExtension("Continue.continue")!.extensionUri;
// Renamed to "Continue.continue-full-access" (package.json `name`) so this
// custom build installs as a distinct extension, never overwritten by a
// Marketplace auto-update of the stock "Continue.continue" -- see
// FULL_ACCESS_MODE.md.
return vscode.extensions.getExtension("Continue.continue-full-access")!
.extensionUri;
}
export function getViewColumnOfFile(