Elffuss BraidHub

kikocis/continue public

Merge branch 'continuedev:main' into fix-gui-build-failing
Changesetea05c35331da87f1adc8edec3483771ce2e942920a4a9a2ef55ecb5258a0dc92
AuthorAadarsh Kumar Tiwari <72285744+aadarshkt@users.noreply.github.com> · 2025-09-09 09:43 +05:30
CommitterGitHub <noreply@github.com> · 2025-09-09 09:43 +05:30
Parents9a10739c1c1f, 58c9397d0f2d

Browse the files at this changeset

106 files changed

modified .github/actions/run-vscode-e2e-test/action.yml +11 −10
@@ -1,25 +1,25 @@
1-name: 'Run VS Code E2E Test'
2-description: 'Run a single VS Code E2E test with all required setup'
1+name: "Run VS Code E2E Test"
2+description: "Run a single VS Code E2E test with all required setup"
33 inputs:
44 test_file:
5- description: 'E2E test file to run'
5+ description: "E2E test file to run"
66 required: true
77 command:
8- description: 'Command to run (e2e:ci:run or e2e:ci:run-yaml)'
8+ description: "Command to run (e2e:ci:run or e2e:ci:run-yaml)"
99 required: true
1010 ssh_key:
11- description: 'SSH private key for testing'
11+ description: "SSH private key for testing"
1212 required: false
1313 ssh_host:
14- description: 'SSH host for testing'
14+ description: "SSH host for testing"
1515 required: false
1616 is_fork:
17- description: 'Whether this is a fork (affects SSH tests)'
17+ description: "Whether this is a fork (affects SSH tests)"
1818 required: false
19- default: 'false'
19+ default: "false"
2020
2121 runs:
22- using: 'composite'
22+ using: "composite"
2323 steps:
2424 - uses: actions/setup-node@v4
2525 with:
@@ -58,6 +58,7 @@
5858 cd core
5959 npm ci
6060 cd ../extensions/vscode
61+ npm ci
6162 npm run e2e:ci:download
6263 else
6364 cd core
@@ -131,4 +132,4 @@
131132 uses: actions/upload-artifact@v4
132133 with:
133134 name: e2e-logs-${{ steps.sanitize_filename.outputs.sanitized_test_file || 'unknown' }}-${{ inputs.command == 'e2e:ci:run-yaml' && 'yaml' || 'json' }}
134- path: extensions/vscode/e2e.log
No newline at the end of the file
135+ path: extensions/vscode/e2e.log
added .github/workflows/auto-fix-failed-tests.yml +170 −0
@@ -0,0 +1,170 @@
1+name: Auto Fix Failed Tests
2+
3+on:
4+ workflow_run:
5+ workflows: ["PR Checks", "CLI PR Checks"]
6+ types:
7+ - completed
8+
9+permissions:
10+ contents: write
11+ pull-requests: write
12+ issues: write
13+ actions: read
14+
15+jobs:
16+ fix-failed-tests:
17+ # Only run if the workflow failed
18+ # DISABLED: Remove 'false && ' on the next line to enable auto-fixing
19+ if: false && github.event.workflow_run.conclusion == 'failure'
20+ runs-on: ubuntu-latest
21+
22+ steps:
23+ - name: Get workflow run details
24+ id: workflow-details
25+ uses: actions/github-script@v7
26+ with:
27+ script: |
28+ const workflowRun = context.payload.workflow_run;
29+ const { data: jobs } = await github.rest.actions.listJobsForWorkflowRun({
30+ owner: context.repo.owner,
31+ repo: context.repo.repo,
32+ run_id: workflowRun.id
33+ });
34+
35+ // Find all failed jobs since we're only monitoring specific test workflows
36+ const failedJobs = jobs.jobs.filter(job => job.conclusion === 'failure');
37+
38+ if (failedJobs.length === 0) {
39+ core.info('No failed jobs found');
40+ return null;
41+ }
42+
43+ core.setOutput('has_failed_tests', 'true');
44+ core.setOutput('workflow_name', workflowRun.name);
45+ core.setOutput('workflow_run_id', workflowRun.id);
46+ core.setOutput('head_branch', workflowRun.head_branch);
47+ core.setOutput('head_sha', workflowRun.head_sha);
48+ core.setOutput('failed_jobs', JSON.stringify(failedJobs.map(j => j.name)));
49+
50+ return failedJobs;
51+
52+ - name: Get job logs for failed tests
53+ if: steps.workflow-details.outputs.has_failed_tests == 'true'
54+ id: get-logs
55+ uses: actions/github-script@v7
56+ with:
57+ script: |
58+ const workflowRunId = ${{ github.event.workflow_run.id }};
59+ const { data: jobs } = await github.rest.actions.listJobsForWorkflowRun({
60+ owner: context.repo.owner,
61+ repo: context.repo.repo,
62+ run_id: workflowRunId
63+ });
64+
65+ let errorLogs = '';
66+
67+ for (const job of jobs.jobs) {
68+ if (job.conclusion === 'failure') {
69+ try {
70+ const { data: logData } = await github.rest.actions.downloadJobLogsForWorkflowRun({
71+ owner: context.repo.owner,
72+ repo: context.repo.repo,
73+ job_id: job.id
74+ });
75+
76+ errorLogs += `\n\n=== Job: ${job.name} ===\n`;
77+ errorLogs += logData;
78+ } catch (error) {
79+ core.warning(`Could not fetch logs for job ${job.name}: ${error.message}`);
80+ }
81+ }
82+ }
83+
84+ // Store logs in environment file for next step
85+ const fs = require('fs');
86+ fs.writeFileSync('/tmp/test_failure_logs.txt', errorLogs);
87+
88+ core.setOutput('has_logs', errorLogs.length > 0 ? 'true' : 'false');
89+
90+ - name: Checkout repository
91+ if: steps.workflow-details.outputs.has_failed_tests == 'true'
92+ uses: actions/checkout@v4
93+ with:
94+ token: ${{ secrets.GITHUB_TOKEN }}
95+ fetch-depth: 0
96+ ref: ${{ steps.workflow-details.outputs.head_sha }}
97+
98+ - name: Setup Node.js
99+ if: steps.workflow-details.outputs.has_failed_tests == 'true'
100+ uses: actions/setup-node@v5
101+ with:
102+ node-version: "20"
103+
104+ - name: Install Continue CLI globally
105+ if: steps.workflow-details.outputs.has_failed_tests == 'true'
106+ run: npm i -g @continuedev/cli
107+
108+ - name: Start remote session to fix failed tests
109+ if: steps.workflow-details.outputs.has_failed_tests == 'true'
110+ id: remote-session
111+ env:
112+ CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}
113+ run: |
114+ # Create a detailed prompt for fixing the failed tests
115+ cat > /tmp/fix_tests_prompt.txt << 'PROMPT_EOF'
116+ 🔧 **Auto Test Fix Request**
117+
118+ The following tests failed in workflow "${{ steps.workflow-details.outputs.workflow_name }}" (Run ID: ${{ steps.workflow-details.outputs.workflow_run_id }}):
119+
120+ **Failed Jobs:** ${{ steps.workflow-details.outputs.failed_jobs }}
121+ **Branch:** ${{ steps.workflow-details.outputs.head_branch }}
122+ **Commit:** ${{ steps.workflow-details.outputs.head_sha }}
123+
124+ **Your Task:**
125+ 1. Analyze the test failure logs and error messages
126+ 2. Identify the root cause of the test failures
127+ 3. Fix the failing tests by updating the test code or the underlying implementation
128+ 4. Ensure all tests pass after your changes
129+ 5. Commit your fixes with a descriptive message
130+
131+ **Test Failure Context:**
132+ Please examine the repository structure, run the failing tests locally to understand the errors, and implement appropriate fixes.
133+
134+ Focus on:
135+ - Understanding what the tests are trying to validate
136+ - Identifying why they're failing (code changes, environment issues, test logic errors)
137+ - Making minimal, targeted fixes that address the root cause
138+ - Ensuring the fixes don't break other functionality
139+
140+ Please start by examining the failing tests and their error messages, then proceed with the necessary fixes.
141+ PROMPT_EOF
142+
143+ echo "Starting Continue CLI remote session for test fixes..."
144+ echo "Prompt content:"
145+ cat /tmp/fix_tests_prompt.txt
146+
147+ # Start remote session and capture JSON output
148+ SESSION_OUTPUT=$(cat /tmp/fix_tests_prompt.txt | cn remote -s --branch ${{ steps.workflow-details.outputs.head_branch }})
149+ echo "Raw session output: $SESSION_OUTPUT"
150+
151+ # Extract URL from JSON output
152+ SESSION_URL=$(echo "$SESSION_OUTPUT" | jq -r '.url // empty')
153+
154+ if [ -z "$SESSION_URL" ] || [ "$SESSION_URL" = "null" ]; then
155+ echo "Failed to extract session URL from output: $SESSION_OUTPUT"
156+ exit 1
157+ fi
158+
159+ echo "session_url=$SESSION_URL" >> $GITHUB_OUTPUT
160+ echo "✅ Started remote session: $SESSION_URL"
161+
162+ - name: Log session details
163+ if: steps.workflow-details.outputs.has_failed_tests == 'true'
164+ run: |
165+ echo "✅ Successfully started auto-fix session for failed tests"
166+ echo "Workflow: ${{ steps.workflow-details.outputs.workflow_name }}"
167+ echo "Run ID: ${{ steps.workflow-details.outputs.workflow_run_id }}"
168+ echo "Branch: ${{ steps.workflow-details.outputs.head_branch }}"
169+ echo "Session URL: ${{ steps.remote-session.outputs.session_url }}"
170+ echo "Failed jobs: ${{ steps.workflow-details.outputs.failed_jobs }}"
modified .github/workflows/beta-release.yml +1 −1
@@ -24,7 +24,7 @@
2424 token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
2525
2626 - name: Setup Node.js
27- uses: actions/setup-node@v4
27+ uses: actions/setup-node@v5
2828 with:
2929 node-version: 20
3030 registry-url: "https://registry.npmjs.org"
modified .github/workflows/cli-pr-checks.yml +2 −2
@@ -25,7 +25,7 @@
2525 uses: actions/checkout@v5
2626
2727 - name: Setup Node.js
28- uses: actions/setup-node@v4
28+ uses: actions/setup-node@v5
2929 with:
3030 node-version: 20
3131 cache: "npm"
@@ -67,7 +67,7 @@
6767 uses: actions/checkout@v5
6868
6969 - name: Setup Node.js ${{ matrix.node-version }}
70- uses: actions/setup-node@v4
70+ uses: actions/setup-node@v5
7171 with:
7272 node-version: ${{ matrix.node-version }}
7373
modified .github/workflows/compliance.yaml +1 −1
@@ -104,7 +104,7 @@
104104 uses: actions/checkout@v5
105105
106106 - name: Setup Node.js
107- uses: actions/setup-node@v4
107+ uses: actions/setup-node@v5
108108 with:
109109 node-version-file: ".nvmrc"
110110 cache: "npm"
modified .github/workflows/jetbrains-release.yaml +2 −2
@@ -152,7 +152,7 @@
152152
153153 # # Setup Node.js
154154 - name: Use Node.js from .nvmrc
155- uses: actions/setup-node@v4
155+ uses: actions/setup-node@v5
156156 with:
157157 node-version-file: ".nvmrc"
158158
@@ -370,7 +370,7 @@
370370
371371 # 2. Install npm dependencies
372372 - name: Use Node.js from .nvmrc
373- uses: actions/setup-node@v4
373+ uses: actions/setup-node@v5
374374 with:
375375 node-version-file: ".nvmrc"
376376
modified .github/workflows/main.yaml +1 −1
@@ -70,7 +70,7 @@
7070 with:
7171 fetch-depth: 0
7272
73- - uses: actions/setup-node@v4
73+ - uses: actions/setup-node@v5
7474 with:
7575 node-version-file: ".nvmrc"
7676
modified .github/workflows/pr-checks.yaml +3 −3
@@ -23,7 +23,7 @@
2323 runs-on: ubuntu-latest
2424 steps:
2525 - uses: actions/checkout@v5
26- - uses: actions/setup-node@v4
26+ - uses: actions/setup-node@v5
2727 with:
2828 node-version-file: ".nvmrc"
2929
@@ -224,7 +224,7 @@
224224 test_file_matrix: ${{ steps.vscode-get-test-file-matrix.outputs.test_file_matrix }}
225225 steps:
226226 - uses: actions/checkout@v5
227- - uses: actions/setup-node@v4
227+ - uses: actions/setup-node@v5
228228 with:
229229 node-version-file: ".nvmrc"
230230
@@ -342,7 +342,7 @@
342342 runs-on: ubuntu-latest
343343 steps:
344344 - uses: actions/checkout@v5
345- - uses: actions/setup-node@v4
345+ - uses: actions/setup-node@v5
346346 with:
347347 node-version: 20
348348
modified .github/workflows/preview.yaml +2 −2
@@ -70,7 +70,7 @@
7070 with:
7171 fetch-depth: 0
7272
73- - uses: actions/setup-node@v4
73+ - uses: actions/setup-node@v5
7474 with:
7575 node-version-file: ".nvmrc"
7676
@@ -165,7 +165,7 @@
165165
166166 # 4. Create PR with version bump
167167 - name: Setup Node.js
168- uses: actions/setup-node@v4
168+ uses: actions/setup-node@v5
169169 with:
170170 node-version-file: ".nvmrc"
171171
modified .github/workflows/respond-to-cubic.yaml +3 −3
@@ -69,7 +69,7 @@
6969
7070 - name: Setup Node.js
7171 if: steps.check-mention.outputs.contains_mention == 'true'
72- uses: actions/setup-node@v4
72+ uses: actions/setup-node@v5
7373 with:
7474 node-version: "20"
7575
@@ -164,7 +164,7 @@
164164
165165 - name: Setup Node.js
166166 if: steps.check-mention.outputs.contains_mention == 'true'
167- uses: actions/setup-node@v4
167+ uses: actions/setup-node@v5
168168 with:
169169 node-version: "20"
170170
@@ -175,7 +175,7 @@
175175 - name: Get review context
176176 if: steps.check-mention.outputs.contains_mention == 'true'
177177 id: review-context
178- uses: actions/github-script@v7
178+ uses: actions/github-script@v8
179179 with:
180180 script: |
181181 let reviewContext = '';
modified .github/workflows/reusable-release.yml +1 −1
@@ -55,7 +55,7 @@
5555 uses: ./.github/actions/setup-packages
5656
5757 - name: Use Node.js from .nvmrc
58- uses: actions/setup-node@v4
58+ uses: actions/setup-node@v5
5959 with:
6060 node-version-file: ".nvmrc"
6161
modified .github/workflows/similar-issues.yml +1 −1
@@ -31,7 +31,7 @@
3131 path: deja-view
3232
3333 - name: Setup Python
34- uses: actions/setup-python@v5
34+ uses: actions/setup-python@v6
3535 with:
3636 python-version: "3.11"
3737
modified .github/workflows/stable-release.yml +1 −1
@@ -40,7 +40,7 @@
4040 token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
4141
4242 - name: Setup Node.js
43- uses: actions/setup-node@v4
43+ uses: actions/setup-node@v5
4444 with:
4545 node-version: 20
4646 registry-url: "https://registry.npmjs.org"
modified .github/workflows/stale-issue-helper.yaml +1 −1
@@ -10,7 +10,7 @@
1010 pull-requests: write
1111 runs-on: ubuntu-latest
1212 steps:
13- - uses: actions/stale@v9
13+ - uses: actions/stale@v10
1414 with:
1515 close-issue-message: "This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!"
1616 stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue."
modified .github/workflows/vscode-version-bump.yml +1 −1
@@ -21,7 +21,7 @@
2121 gh auth login --with-token <<< "${{ github.token }}"
2222
2323 - name: Use Node.js from .nvmrc
24- uses: actions/setup-node@v4
24+ uses: actions/setup-node@v5
2525 with:
2626 node-version-file: ".nvmrc"
2727
modified core/config/ConfigHandler.ts +13 −19
@@ -59,27 +59,17 @@
5959
6060 constructor(
6161 private readonly ide: IDE,
62- private ideSettingsPromise: Promise<IdeSettings>,
6362 private llmLogger: ILLMLogger,
64- sessionInfoPromise: Promise<ControlPlaneSessionInfo | undefined>,
63+ initialSessionInfoPromise: Promise<ControlPlaneSessionInfo | undefined>,
6564 ) {
66- this.ide = ide;
67- this.ideSettingsPromise = ideSettingsPromise;
68-
6965 this.controlPlaneClient = new ControlPlaneClient(
70- sessionInfoPromise,
71- ideSettingsPromise,
72- this.ide.getIdeInfo(),
66+ initialSessionInfoPromise,
67+ this.ide,
7368 );
7469
7570 // This profile manager will always be available
7671 this.globalLocalProfileManager = new ProfileLifecycleManager(
77- new LocalProfileLoader(
78- ide,
79- ideSettingsPromise,
80- this.controlPlaneClient,
81- this.llmLogger,
82- ),
72+ new LocalProfileLoader(ide, this.controlPlaneClient, this.llmLogger),
8373 this.ide,
8474 );
8575
@@ -97,6 +87,7 @@
9787 }
9888
9989 private workspaceDirs: string[] | null = null;
90+
10091 async getWorkspaceId() {
10192 if (!this.workspaceDirs) {
10293 this.workspaceDirs = await this.ide.getWorkspaceDirs();
@@ -113,6 +104,13 @@
113104 const signal = this.cascadeAbortController.signal;
114105 this.workspaceDirs = null; // forces workspace dirs reload
115106
107+ // Always update globalLocalProfileManager before recreating all the loaders
108+ // during every cascadeInit so it holds the most recent controlPlaneClient.
109+ this.globalLocalProfileManager = new ProfileLifecycleManager(
110+ new LocalProfileLoader(this.ide, this.controlPlaneClient, this.llmLogger),
111+ this.ide,
112+ );
113+
116114 try {
117115 const { orgs, errors } = await this.getOrgs();
118116
@@ -248,7 +246,6 @@
248246 versionSlug: assistant.configResult.config?.version ?? "latest",
249247 controlPlaneClient: this.controlPlaneClient,
250248 ide: this.ide,
251- ideSettingsPromise: this.ideSettingsPromise,
252249 llmLogger: this.llmLogger,
253250 rawYaml: assistant.rawYaml,
254251 orgScopeId: orgScopeId,
@@ -369,7 +366,6 @@
369366 const profiles = [...assistantFiles, ...agentFiles].map((assistant) => {
370367 return new LocalProfileLoader(
371368 this.ide,
372- this.ideSettingsPromise,
373369 this.controlPlaneClient,
374370 this.llmLogger,
375371 assistant,
@@ -394,7 +390,6 @@
394390
395391 // Ide settings change: refresh session and cascade refresh from the top
396392 async updateIdeSettings(ideSettings: IdeSettings) {
397- this.ideSettingsPromise = Promise.resolve(ideSettings);
398393 this.abortCascade();
399394 await this.cascadeInit("IDE settings update");
400395 }
@@ -432,8 +427,7 @@
432427 if (reload) {
433428 this.controlPlaneClient = new ControlPlaneClient(
434429 Promise.resolve(sessionInfo),
435- this.ideSettingsPromise,
436- this.ide.getIdeInfo(),
430+ this.ide,
437431 );
438432 this.abortCascade();
439433 await this.cascadeInit("Control plane session info update");
modified core/config/profile/LocalProfileLoader.ts +1 −3
@@ -1,7 +1,7 @@
11 import { ConfigResult, parseConfigYaml } from "@continuedev/config-yaml";
22
33 import { ControlPlaneClient } from "../../control-plane/client.js";
4-import { ContinueConfig, IDE, IdeSettings, ILLMLogger } from "../../index.js";
4+import { ContinueConfig, IDE, ILLMLogger } from "../../index.js";
55 import { ProfileDescription } from "../ProfileLifecycleManager.js";
66
77 import { getPrimaryConfigFilePath } from "../../util/paths.js";
@@ -15,7 +15,6 @@
1515
1616 constructor(
1717 private ide: IDE,
18- private ideSettingsPromise: Promise<IdeSettings>,
1918 private controlPlaneClient: ControlPlaneClient,
2019 private llmLogger: ILLMLogger,
2120 private overrideAssistantFile?:
@@ -57,7 +56,6 @@
5756 async doLoadConfig(): Promise<ConfigResult<ContinueConfig>> {
5857 const result = await doLoadConfig({
5958 ide: this.ide,
60- ideSettingsPromise: this.ideSettingsPromise,
6159 controlPlaneClient: this.controlPlaneClient,
6260 llmLogger: this.llmLogger,
6361 profileId: this.description.id,
modified core/config/profile/PlatformProfileLoader.ts +2 −10
@@ -2,7 +2,7 @@
22
33 import { ControlPlaneClient } from "../../control-plane/client.js";
44 import { getControlPlaneEnv } from "../../control-plane/env.js";
5-import { ContinueConfig, IDE, IdeSettings, ILLMLogger } from "../../index.js";
5+import { ContinueConfig, IDE, ILLMLogger } from "../../index.js";
66 import { ProfileDescription } from "../ProfileLifecycleManager.js";
77
88 import doLoadConfig from "./doLoadConfig.js";
@@ -28,7 +28,6 @@
2828 private readonly versionSlug: string;
2929 private readonly controlPlaneClient: ControlPlaneClient;
3030 private readonly ide: IDE;
31- private ideSettingsPromise: Promise<IdeSettings>;
3231 private llmLogger: ILLMLogger;
3332 readonly description: ProfileDescription;
3433 private readonly orgScopeId: string | null;
@@ -41,7 +40,6 @@
4140 versionSlug,
4241 controlPlaneClient,
4342 ide,
44- ideSettingsPromise,
4543 llmLogger,
4644 description,
4745 orgScopeId,
@@ -53,7 +51,6 @@
5351 versionSlug: string;
5452 controlPlaneClient: ControlPlaneClient;
5553 ide: IDE;
56- ideSettingsPromise: Promise<IdeSettings>;
5754 llmLogger: ILLMLogger;
5855 description: ProfileDescription;
5956 orgScopeId: string | null;
@@ -65,7 +62,6 @@
6562 this.versionSlug = versionSlug;
6663 this.controlPlaneClient = controlPlaneClient;
6764 this.ide = ide;
68- this.ideSettingsPromise = ideSettingsPromise;
6965 this.llmLogger = llmLogger;
7066 this.description = description;
7167 this.orgScopeId = orgScopeId;
@@ -79,7 +75,6 @@
7975 versionSlug,
8076 controlPlaneClient,
8177 ide,
82- ideSettingsPromise,
8378 llmLogger,
8479 rawYaml,
8580 orgScopeId,
@@ -91,12 +86,11 @@
9186 versionSlug: string;
9287 controlPlaneClient: ControlPlaneClient;
9388 ide: IDE;
94- ideSettingsPromise: Promise<IdeSettings>;
9589 llmLogger: ILLMLogger;
9690 rawYaml: string;
9791 orgScopeId: string | null;
9892 }): Promise<PlatformProfileLoader> {
99- const controlPlaneEnv = await getControlPlaneEnv(ideSettingsPromise);
93+ const controlPlaneEnv = await getControlPlaneEnv(ide.getIdeSettings());
10094
10195 const description: ProfileDescription = {
10296 id: `${ownerSlug}/${packageSlug}`,
@@ -121,7 +115,6 @@
121115 versionSlug,
122116 controlPlaneClient,
123117 ide,
124- ideSettingsPromise,
125118 llmLogger,
126119 description,
127120 orgScopeId,
@@ -139,7 +132,6 @@
139132
140133 const results = await doLoadConfig({
141134 ide: this.ide,
142- ideSettingsPromise: this.ideSettingsPromise,
143135 controlPlaneClient: this.controlPlaneClient,
144136 llmLogger: this.llmLogger,
145137 overrideConfigYaml: this.configResult.config,
modified core/config/profile/doLoadConfig.ts +2 −5
@@ -11,7 +11,6 @@
1111 import {
1212 ContinueConfig,
1313 IDE,
14- IdeSettings,
1514 ILLMLogger,
1615 RuleWithSource,
1716 SerializedContinueConfig,
@@ -70,7 +69,6 @@
7069 }
7170 export default async function doLoadConfig(options: {
7271 ide: IDE;
73- ideSettingsPromise: Promise<IdeSettings>;
7472 controlPlaneClient: ControlPlaneClient;
7573 llmLogger: ILLMLogger;
7674 overrideConfigJson?: SerializedContinueConfig;
@@ -82,7 +80,6 @@
8280 }): Promise<ConfigResult<ContinueConfig>> {
8381 const {
8482 ide,
85- ideSettingsPromise,
8683 controlPlaneClient,
8784 llmLogger,
8885 overrideConfigJson,
@@ -95,7 +92,7 @@
9592
9693 const ideInfo = await ide.getIdeInfo();
9794 const uniqueId = await ide.getUniqueId();
98- const ideSettings = await ideSettingsPromise;
95+ const ideSettings = await ide.getIdeSettings();
9996 const workOsAccessToken = await controlPlaneClient.getAccessToken();
10097 const isSignedIn = await controlPlaneClient.isSignedIn();
10198
@@ -374,7 +371,7 @@
374371 const useOnPremProxy =
375372 controlPlane?.useContinueForTeamsProxy === false && controlPlane?.proxyUrl;
376373
377- const env = await getControlPlaneEnv(ideSettingsPromise);
374+ const env = await getControlPlaneEnv(Promise.resolve(ideSettings));
378375 let controlPlaneProxyUrl: string = useOnPremProxy
379376 ? controlPlane?.proxyUrl
380377 : env.DEFAULT_CONTROL_PLANE_PROXY_URL;
modified core/context/providers/_context-providers.vitest.ts +0 −2
@@ -28,11 +28,9 @@
2828 ): Promise<ContextProviderExtras> {
2929 setUpTestDir();
3030 const ide = new FileSystemIde(TEST_DIR);
31- const ideSettingsPromise = ide.getIdeSettings();
3231 const llmLogger = new LLMLogger();
3332 const configHandler = new ConfigHandler(
3433 ide,
35- ideSettingsPromise,
3634 llmLogger,
3735 Promise.resolve(undefined),
3836 );
modified core/control-plane/client.ts +4 −5
@@ -11,7 +11,7 @@
1111 import fetch, { RequestInit, Response } from "node-fetch";
1212
1313 import { OrganizationDescription } from "../config/ProfileLifecycleManager.js";
14-import { IdeInfo, IdeSettings, ModelDescription } from "../index.js";
14+import { IDE, ModelDescription } from "../index.js";
1515 import { Logger } from "../util/Logger.js";
1616
1717 import { ControlPlaneSessionInfo, isOnPremSession } from "./AuthTypes.js";
@@ -44,8 +44,7 @@
4444 export class ControlPlaneClient {
4545 constructor(
4646 readonly sessionInfoPromise: Promise<ControlPlaneSessionInfo | undefined>,
47- private readonly ideSettingsPromise: Promise<IdeSettings>,
48- private readonly ideInfoPromise: Promise<IdeInfo>,
47+ private readonly ide: IDE,
4948 ) {}
5049
5150 async resolveFQSNs(
@@ -90,9 +89,9 @@
9089 throw new Error("No access token");
9190 }
9291
93- const env = await getControlPlaneEnv(this.ideSettingsPromise);
92+ const env = await getControlPlaneEnv(this.ide.getIdeSettings());
9493 const url = new URL(path, env.CONTROL_PLANE_URL).toString();
95- const ideInfo = await this.ideInfoPromise;
94+ const ideInfo = await this.ide.getIdeInfo();
9695
9796 const resp = await fetch(url, {
9897 ...init,
modified core/core.ts +2 −3
@@ -138,7 +138,7 @@
138138
139139 const ideInfoPromise = messenger.request("getIdeInfo", undefined);
140140 const ideSettingsPromise = messenger.request("getIdeSettings", undefined);
141- const sessionInfoPromise = messenger.request(
141+ const initialSessionInfoPromise = messenger.request(
142142 "getControlPlaneSessionInfo",
143143 {
144144 silent: true,
@@ -148,9 +148,8 @@
148148
149149 this.configHandler = new ConfigHandler(
150150 this.ide,
151- ideSettingsPromise,
152151 this.llmLogger,
153- sessionInfoPromise,
152+ initialSessionInfoPromise,
154153 );
155154
156155 this.docsService = DocsService.createSingleton(
modified core/llm/llms/Ollama.ts +1 −1
@@ -150,7 +150,7 @@
150150 constructor(options: LLMOptions) {
151151 super(options);
152152
153- if (options.isFromAutoDetect) {
153+ if (options.model === "AUTODETECT") {
154154 return;
155155 }
156156 const headers: Record<string, string> = {
modified core/llm/llms/Scaleway.ts +8 −1
@@ -7,16 +7,23 @@
77 static providerName = "scaleway";
88 static defaultOptions: Partial<LLMOptions> = {
99 apiBase: "https://api.scaleway.ai/v1/",
10- model: "qwen2.5-coder-32b-instruct",
10+ model: "qwen3-coder-30b-a3b-instruct",
1111 useLegacyCompletionsEndpoint: false,
1212 };
1313
1414 private static MODEL_IDS: { [name: string]: string } = {
1515 "llama3.1-8b": "llama-3.1-8b-instruct",
1616 "llama3.3-70b": "llama-3.3-70b-instruct",
17+ "pixtral-12b": "pixtral-12b-2409",
1718 "mistral-small3.1": "mistral-small-3.1-24b-instruct-2503",
19+ "mistral-small3.2": "mistral-small-3.2-24b-instruct-2506",
20+ "devstral-small": "devstral-small-2505",
1821 "deepseek-r1-distill-llama-70b": "deepseek-r1-distill-llama-70b",
1922 "qwen2.5-coder-32b": "qwen2.5-coder-32b-instruct",
23+ "qwen3-coder-30b-a3b": "qwen3-coder-30b-a3b-instruct",
24+ "qwen3-235b-a22b": "qwen3-235b-a22b-instruct-2507",
25+ "gemma-3-27b": "gemma-3-27b-it",
26+ "gpt-oss-120b": "gpt-oss-120b",
2027 };
2128
2229 protected _convertModelName(model: string) {
modified core/test/fixtures.ts +1 −3
@@ -12,13 +12,11 @@
1212
1313 export const testControlPlaneClient = new ControlPlaneClient(
1414 Promise.resolve(undefined),
15- ideSettingsPromise,
16- testIde.getIdeInfo(),
15+ testIde,
1716 );
1817
1918 export const testConfigHandler = new ConfigHandler(
2019 testIde,
21- ideSettingsPromise,
2220 new LLMLogger(),
2321 Promise.resolve(undefined),
2422 );
modified core/tools/definitions/editFile.ts +1 −1
@@ -8,7 +8,7 @@
88 }
99
1010 export const NO_PARALLEL_TOOL_CALLING_INTSRUCTION =
11- "Note this tool CANNOT be called in parallel with other tools.";
11+ "This tool CANNOT be called in parallel with other tools.";
1212
1313 const CHANGES_DESCRIPTION =
1414 "Any modifications to the file, showing only needed changes. Do NOT wrap this in a codeblock or write anything besides the code changes. In larger files, use brief language-appropriate placeholders for large unmodified sections, e.g. '// ... existing code ...'";
modified core/tools/definitions/multiEdit.ts +28 −44
@@ -1,6 +1,7 @@
11 import { Tool } from "../..";
22 import { BUILT_IN_GROUP_NAME, BuiltInToolNames } from "../builtIn";
33 import { NO_PARALLEL_TOOL_CALLING_INTSRUCTION } from "./editFile";
4+import { singleFindAndReplaceTool } from "./singleFindAndReplace";
45
56 export interface EditOperation {
67 old_string: string;
@@ -24,60 +25,41 @@
2425 isInstant: false,
2526 function: {
2627 name: BuiltInToolNames.MultiEdit,
27- description: `This is a tool for making multiple edits to a single file in one operation. It
28-is built on top of the single find and replace tool and allows you to perform multiple
29-find-and-replace operations efficiently. Prefer this tool over the single find and replace tool
30-when you need to make multiple edits to the same file.
31-
32-Before using this tool:
33-
34-1. Use the read_file tool to understand the file's contents and context
35-2. Verify the directory path is correct
36-
37-To make multiple file edits, provide the following:
38-
39-1. filepath: The path to the file to modify (relative to the root of the workspace)
28+ description: `This is a tool for making multiple edits to a single file in one operation. It is built on top of the ${singleFindAndReplaceTool.function.name} and allows you to perform multiple find-and-replace operations efficiently.
29+Prefer this tool over the ${singleFindAndReplaceTool.function.name} tool when you need to make multiple edits to the same file.
30+
31+To make multiple edits to a file, provide the following:
32+1. filepath: The path to the file to modify, RELATIVE to the project/workspace root (verify the directory path is correct)
4033 2. edits: An array of edit operations to perform, where each edit contains:
41- - old_string: The text to replace (must match the file contents exactly, including all whitespace and indentation)
34+ - old_string: The text to replace (must match the old file contents exactly, including all whitespace/indentation)
4235 - new_string: The edited text to replace the old_string
4336 - replace_all: Replace all occurrences of old_string. This parameter is optional and defaults to false.
4437
4538 IMPORTANT:
4639 - All edits are applied in sequence, in the order they are provided
47-- Each edit operates on the result of the previous edit
48-- All edits must be valid for the operation to succeed - if any edit fails,
49-none will be applied
50-- This tool is ideal when you need to make several changes to different parts
51-of the same file
40+- Each edit operates on the result of the previous edit, so plan your edits carefully to avoid conflicts between sequential operations
41+- Edits are atomic - all edits must be valid for the operation to succeed - if any edit fails, none will be applied
42+- This tool is ideal when you need to make several changes to different parts of the same file
5243
5344 CRITICAL REQUIREMENTS:
54-
55-1. All edits follow the same requirements as the single find and replace tool
56-2. The edits are atomic - either all succeed or none are applied
57-3. Plan your edits carefully to avoid conflicts between sequential operations
58-4. ${NO_PARALLEL_TOOL_CALLING_INTSRUCTION}
59-
60-WARNING:
61-
62-- The tool will fail if edits.old_string doesn't match the file contents
63-exactly (including whitespace)
64-- The tool will fail if edits.old_string and edits.new_string are the same
65-- Since edits are applied in sequence, ensure that earlier edits don't affect
66-the text that later edits are trying to find
67-
68-When making edits:
69-
45+1. ALWAYS use the ${BuiltInToolNames.ReadFile} tool just before making edits, to understand the file's up-to-date contents and context. The user can also edit the file while you are working with it.
46+2. ${NO_PARALLEL_TOOL_CALLING_INTSRUCTION}
47+3. When making edits:
7048 - Ensure all edits result in idiomatic, correct code
7149 - Do not leave the code in a broken state
72-- Only use emojis if the user explicitly requests it. Avoid adding emojis to
73-files unless asked.
74-- Use replace_all for replacing and renaming strings across the file. This
75-parameter is useful if you want to rename a variable for instance.
50+- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked
51+- Use replace_all for replacing and renaming all matches for a string across the file. This parameter is useful if you want to rename a variable, for instance
7652
7753 If you want to create a new file, use:
78-- A new file path
54+- A new file path, including new directory if needed
7955 - First edit: empty old_string and the new file's contents as new_string
80-- Subsequent edits are not allowed - there is no need since you are creating`,
56+- Subsequent edits are not allowed - there is no need since you are creating
57+- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required
58+
59+WARNINGS:
60+- If earlier edits affect the text that later edits are trying to find, files can become mangled
61+- The tool will fail if edits.old_string doesn't match the file contents exactly (including whitespace)
62+- The tool will fail if edits.old_string and edits.new_string are the same - they MUST be different`,
8163 parameters: {
8264 type: "object",
8365 required: ["filepath", "edits"],
@@ -97,16 +79,18 @@
9779 properties: {
9880 old_string: {
9981 type: "string",
100- description: "The text to replace",
82+ description:
83+ "The text to replace (exact match including whitespace/indentation)",
10184 },
10285 new_string: {
10386 type: "string",
104- description: "The text to replace it with",
87+ description:
88+ "The text to replace it with. MUST be different than old_string.",
10589 },
10690 replace_all: {
10791 type: "boolean",
10892 description:
109- "Replace all occurrences of old_string (default false)",
93+ "Replace all occurrences of old_string (default false) in the file",
11094 },
11195 },
11296 },
modified core/tools/definitions/singleFindAndReplace.ts +13 −27
@@ -20,33 +20,18 @@
2020 isInstant: false,
2121 function: {
2222 name: BuiltInToolNames.SingleFindAndReplace,
23- description: `Performs exact string replacements in files.
24-
25-Usage:
26-
27-- You must use your \`read_file\` tool at least once in the conversation before
28-editing. This tool will error if you attempt an edit without reading the file.
29-
30-- When editing text from read_file tool output, ensure you preserve the exact
31-indentation (tabs/spaces) as it appears AFTER the line number prefix. The line
32-number prefix format is: spaces + line number + tab. Everything after that tab
33-is the actual file content to match. Never include any part of the line number
34-prefix in the old_string or new_string.
35-
36-- ALWAYS prefer editing existing files in the codebase. NEVER write new files
37-unless explicitly required.
38-
39-- Only use emojis if the user explicitly requests it. Avoid adding emojis to
40-files unless asked.
23+ description: `Performs exact string replacements in a file.
4124
25+IMPORTANT:
26+- ALWAYS use the \`${BuiltInToolNames.ReadFile}\` tool just before making edits, to understand the file's up-to-date contents and context. The user can also edit the file while you are working with it.
4227 - ${NO_PARALLEL_TOOL_CALLING_INTSRUCTION}
43-
44-- The edit will FAIL if \`old_string\` is not unique in the file. Either provide
45-a larger string with more surrounding context to make it unique or use
46-\`replace_all\` to change every instance of \`old_string\`.
47-
48-- Use \`replace_all\` for replacing and renaming strings across the file. This
49-parameter is useful if you want to rename a variable for instance.`,
28+- When editing text from \`${BuiltInToolNames.ReadFile}\` tool output, ensure you preserve exact whitespace/indentation.
29+- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
30+- Use \`replace_all\` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable, for instance.
31+
32+WARNINGS:
33+- When not using \`replace_all\`, the edit will FAIL if \`old_string\` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use \`replace_all\` to change every instance of \`old_string\`.
34+- The edit will likely fail if you have not recently used the \`${BuiltInToolNames.ReadFile}\` tool to view up-to-date file contents.`,
5035 parameters: {
5136 type: "object",
5237 required: ["filepath", "old_string", "new_string"],
@@ -58,12 +43,13 @@
5843 },
5944 old_string: {
6045 type: "string",
61- description: "The text to replace",
46+ description:
47+ "The text to replace - must be exact including whitespace/indentation",
6248 },
6349 new_string: {
6450 type: "string",
6551 description:
66- "The text to replace it with (must be different from old_string)",
52+ "The text to replace it with (MUST be different from old_string)",
6753 },
6854 replace_all: {
6955 type: "boolean",
modified docs/chat/how-to-use-it.mdx +1 −1
@@ -2,7 +2,7 @@
22 title: "Chat"
33 sidebarTitle: "How To Use AI Chat"
44 icon: "circle-question"
5-description: "Learn how to use Continue's AI chat assistant to solve coding problems without leaving your IDE, including code context sharing, applying generated solutions, and switching between models"
5+description: "Learn how to use Continue's AI chat agent to solve coding problems without leaving your IDE, including code context sharing, applying generated solutions, and switching between models"
66 ---
77
88 <Frame>
modified docs/customization/overview.mdx +8 −8
@@ -1,6 +1,6 @@
11 ---
22 title: "Customization Overview"
3-description: "Learn how to customize Continue with model providers, context providers, slash commands, and tools to create your perfect AI coding assistant"
3+description: "Learn how to customize Continue with model providers, context providers, slash commands, and tools to create your perfect AI coding agent"
44 ---
55
66 Continue can be deeply customized to fit your specific development workflow and preferences. This guide covers the main ways you can customize Continue to enhance your coding experience.
@@ -21,15 +21,15 @@
2121
2222 Unchain your LLM with the power of tools using [Agent](/features/agent/quick-start). Add custom tools using [MCP Servers](/customization/mcp-tools)
2323
24-Whatever you choose, you'll probably start by editing your Assistant.
24+Whatever you choose, you'll probably start by editing your Agent.
2525
26-## Edit Your Assistant
26+## Edit Your Agent
2727
28-You can easily access your assistant configuration from the Continue Chat sidebar. Open the sidebar by pressing `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (JetBrains) and click the Assistant selector above the main chat input. Then, you can hover over an assistant and click the `new window` (hub assistants) or `gear` (local assistants) icon.
28+You can easily access your agent configuration from the Continue Chat sidebar. Open the sidebar by pressing `cmd/ctrl` + `L` (VS Code) or `cmd/ctrl` + `J` (JetBrains) and click the Agent selector above the main chat input. Then, you can hover over an agent and click the `new window` (hub agents) or `gear` (local agents) icon.
2929
30-![configure an assistant](/images/customization/images/configure-continue-a5c8c79f3304c08353f3fc727aa5da7e.png)
30+![configure an agent](/images/customization/images/configure-continue-a5c8c79f3304c08353f3fc727aa5da7e.png)
3131
32-## Manage Your Assistant
32+## Manage Your Agent
3333
34-- See [Editing Hub Assistants](/hub/assistants/edit-an-assistant) for more details on managing your hub assistant
35-- See the [Config Deep Dive](/reference) for more details on configuring local assistants.
34+- See [Editing Hub Agents](/hub/agents/edit-an-agent) for more details on managing your hub agent
35+- See the [Config Deep Dive](/reference) for more details on configuring local agents.
modified docs/customization/rules.mdx +4 −4
@@ -1,18 +1,18 @@
11 ---
22 title: "Rules"
3-description: "Rules allow you to provide specific instructions that guide how the AI assistant behaves when working with your code. Instead of the AI making assumptions about your coding standards, architecture patterns, or project-specific requirements, you can explicitly define guidelines that ensure consistent, contextually appropriate responses."
3+description: "Rules allow you to provide specific instructions that guide how the AI agent behaves when working with your code. Instead of the AI making assumptions about your coding standards, architecture patterns, or project-specific requirements, you can explicitly define guidelines that ensure consistent, contextually appropriate responses."
44 ---
55
6-Think of these as the guardrails for your AI coding assistants:
6+Think of these as the guardrails for your AI coding agents:
77
88 - **Enforce company-specific coding standards** and security practices
99 - **Implement quality checks** that match your engineering culture
1010 - **Create paved paths** for developers to follow organizational best practices
1111
12-By implementing rules, you transform the AI from a generic coding assistant into a knowledgeable team member that understands your project's unique requirements and constraints.
12+By implementing rules, you transform the AI from a generic coding agent into a knowledgeable team member that understands your project's unique requirements and constraints.
1313
1414 ## How Rules Work
1515
16-Your assistant detects rules and applies the specified rules while in [Agent](/features/agent/quick-start), [Chat](/features/chat/quick-start), and [Edit](/features/edit/quick-start) modes.
16+Your agent detects rules and applies the specified rules while in [Agent](/features/agent/quick-start), [Chat](/features/chat/quick-start), and [Edit](/features/edit/quick-start) modes.
1717
1818 Learn more in the [rules deep dive](/customize/deep-dives/rules), and view [`rules`](/reference#rules) in the YAML Reference for more details.
No newline at the end of the file
modified docs/customize/deep-dives/configuration.mdx +9 −9
@@ -1,26 +1,26 @@
11 ---
2-title: "How to Configure Continue Assistants"
3-description: Learn how to access and manage Continue assistant configurations through Hub or local YAML files
2+title: "How to Configure Continue Agents"
3+description: Learn how to access and manage Continue agent configurations through Hub or local YAML files
44 keywords: [config, settings, customize]
5-sidebarTitle: "Assistant Configuration"
5+sidebarTitle: "Agent Configuration"
66 ---
77
8-You can easily access your assistant configuration from the Continue Chat sidebar. Open the sidebar by pressing <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains) and click the Assistant selector above the main chat input. Then, you can hover over an assistant and click the `new window` (hub assistants) or `gear` (local assistants) icon.
8+You can easily access your agent configuration from the Continue Chat sidebar. Open the sidebar by pressing <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains) and click the Agent selector above the main chat input. Then, you can hover over an agent and click the `new window` (hub agents) or `gear` (local agents) icon.
99
10-![configure an assistant](/images/configure-continue.png)
10+![configure an agent](/images/configure-continue.png)
1111
12-## How to Manage Hub Assistants
12+## How to Manage Hub Agents
1313
14-Hub Assistants can be managed in [the Hub](https://hub.continue.dev). See [Editing an Assistant](../../hub/assistants/edit-an-assistant.md)
14+Hub Agents can be managed in [the Hub](https://hub.continue.dev). See [Editing an Agent](../../hub/agents/edit-an-agent.md)
1515
16-## How to Configure Local Assistants with YAML
16+## How to Configure Local Agents with YAML
1717
1818 Local user-level configuration is stored and can be edited in your home directory in `config.yaml`:
1919
2020 - `~/.continue/config.yaml` (MacOS / Linux)
2121 - `%USERPROFILE%\.continue\config.yaml` (Windows)
2222
23-To open this `config.yaml`, you need to open the assistants dropdown in the top-right portion of the chat input. On that dropdown beside the "Local Assistant" option, select the cog icon. It will open the local `config.yaml`.
23+To open this `config.yaml`, you need to open the agents dropdown in the top-right portion of the chat input. On that dropdown beside the "Local Agent" option, select the cog icon. It will open the local `config.yaml`.
2424
2525 ![local-config-open-steps](/images/local-config-open-steps.png)
2626
modified docs/customize/deep-dives/mcp.mdx +2 −2
@@ -19,7 +19,7 @@
1919 Currently custom tools can be configured using the Model Context
2020 Protocol standard to unify prompts, context, and tool use.
2121
22-MCP Servers can be added to hub Assistants using `mcpServers` blocks. You can
22+MCP Servers can be added to hub Agents using `mcpServers` blocks. You can
2323 explore available MCP server blocks
2424 [here](https://hub.continue.dev/explore/mcp).
2525
@@ -27,7 +27,7 @@
2727
2828 ## Quick Start: How to Set Up Your First MCP Server
2929
30-Below is a quick example of setting up a new MCP server for use in your assistant:
30+Below is a quick example of setting up a new MCP server for use in your agent:
3131
3232 1. Create a folder called `.continue/mcpServers` at the top level of your workspace
3333 2. Add a file called `playwright-mcp.yaml` to this folder.
modified docs/customize/deep-dives/rules.mdx +2 −2
@@ -42,7 +42,7 @@
4242
4343 ## How to Create Rules Blocks
4444
45-Rules can be added locally using the "Add Rules" button while viewing the Local Assistant's rules.
45+Rules can be added locally using the "Add Rules" button while viewing the Local Agent's rules.
4646
4747 ![add local rules button](/images/add-local-rules.png)
4848
@@ -53,7 +53,7 @@
5353
5454 </Info>
5555
56-Rules can also be added to an Assistant on the Continue Hub.
56+Rules can also be added to an Agent on the Continue Hub.
5757
5858 Explore available rules [here](https://hub.continue.dev), or [create your own](https://hub.continue.dev/new?type=block&blockType=rules) in the Hub.
5959
modified docs/customize/deep-dives/rules.mdx.backup +3 −3
@@ -39,7 +39,7 @@
3939
4040 ## Creating `rules` blocks
4141
42-Rules can be added locally using the "Add Rules" button while viewing the Local Assistant's rules.
42+Rules can be added locally using the "Add Rules" button while viewing the Local Agent's rules.
4343
4444 ![add local rules button](/images/add-local-rules.png)
4545
@@ -49,7 +49,7 @@
4949 For example, you can say "Create a rule for this", and a rule will be created for you in `.continue/rules` based on your conversation.
5050 </Info>
5151
52-Rules can also be added to an Assistant on the Continue Hub.
52+Rules can also be added to an Agent on the Continue Hub.
5353
5454 Explore available rules [here](https://hub.continue.dev), or [create your own](https://hub.continue.dev/new?type=block&blockType=rules) in the Hub.
5555
@@ -133,7 +133,7 @@
133133 Always give concise responses
134134 ```
135135
136-This is also done when selecting "Add Rule" in the Assistant settings. This will create a new folder in `.continue/rules` with a default file named `new-rule.md`.
136+This is also done when selecting "Add Rule" in the Agent settings. This will create a new folder in `.continue/rules` with a default file named `new-rule.md`.
137137
138138 ### Examples
139139
modified docs/customize/deep-dives/slash-commands.mdx +2 −2
@@ -21,9 +21,9 @@
2121
2222 ## Ways to Create Slash Commands in Continue
2323
24-### Assistant Prompt Blocks
24+### Agent Prompt Blocks
2525
26-The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/blocks/block-types#prompts) to your assistant, which show up as slash commands in [Chat](../../features/chat/how-it-works).
26+The easiest way to add a slash command is by adding [`prompt` blocks](../../hub/blocks/block-types#prompts) to your agent, which show up as slash commands in [Chat](../../features/chat/how-it-works).
2727
2828 ### Prompt Files
2929
modified docs/customize/model-roles.mdx +1 −1
@@ -2,7 +2,7 @@
22 title: "Model roles"
33 sidebarTitle: Overview
44 icon: "circle-info"
5-description: "Learn about the different model roles in Continue including chat, autocomplete, edit, apply, embeddings, and reranking for customizing your AI coding assistant's capabilities"
5+description: "Learn about the different model roles in Continue including chat, autocomplete, edit, apply, embeddings, and reranking for customizing your AI coding agent's capabilities"
66 ---
77
88 <CardGroup>
modified docs/customize/model-roles/00-intro.mdx +1 −1
@@ -23,7 +23,7 @@
2323
2424 ## Selecting model roles
2525
26-You can control which of the models in your assistant for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.
26+You can control which of the models in your agent for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.
2727
2828 ![Settings Active Models Section](/images/settings-model-roles.png)
2929
modified docs/customize/model-roles/intro.mdx +1 −1
@@ -16,7 +16,7 @@
1616
1717 ## Selecting model roles
1818
19-You can control which of the models in your assistant for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.
19+You can control which of the models in your agent for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.
2020
2121 <Frame>
2222 <img src="/images/settings-model-roles-5e5f8a6bd9137b70cf94178a7e45847c.png" />
modified docs/docs.json +28 −12
@@ -179,13 +179,13 @@
179179 "pages": [
180180 "hub/introduction",
181181 {
182- "group": "Assistants",
182+ "group": "agents",
183183 "icon": "robot",
184184 "pages": [
185- "hub/assistants/intro",
186- "hub/assistants/use-an-assistant",
187- "hub/assistants/create-an-assistant",
188- "hub/assistants/edit-an-assistant"
185+ "hub/agents/intro",
186+ "hub/agents/use-an-agent",
187+ "hub/agents/create-an-agent",
188+ "hub/agents/edit-an-agent"
189189 ]
190190 },
191191 {
@@ -228,7 +228,7 @@
228228 "group": "Guides",
229229 "pages": [
230230 "guides/overview",
231- "guides/understanding-assistants",
231+ "guides/understanding-agents",
232232 "guides/codebase-documentation-awareness",
233233 "guides/cli",
234234 "guides/continuous-ai",
@@ -348,17 +348,13 @@
348348 "source": "/hub/secrets",
349349 "destination": "/hub/secrets/secret-types"
350350 },
351- {
352- "source": "/hub/assistants",
353- "destination": "/hub/assistants/intro"
354- },
355351 {
356352 "source": "/hub/blocks",
357353 "destination": "/hub/blocks/intro"
358354 },
359355 {
360356 "source": "/hub/agents/intro",
361- "destination": "/hub/assistants/intro"
357+ "destination": "/hub/agents/intro"
362358 },
363359 {
364360 "source": "/customize",
@@ -1106,7 +1102,7 @@
11061102 },
11071103 {
11081104 "source": "/troubleshooting#changes-to-assistants-not-showing-in-vs-code",
1109- "destination": "/faqs#changes-to-assistants-not-showing-in-vs-code"
1105+ "destination": "/faqs#changes-to-agents-not-showing-in-vs-code"
11101106 },
11111107 {
11121108 "source": "/troubleshooting#i-installed-continue-but-dont-see-the-sidebar-window",
@@ -1175,6 +1171,26 @@
11751171 {
11761172 "source": "/features/edit/next-edit",
11771173 "destination": "/features/autocomplete/next-edit"
1174+ },
1175+ {
1176+ "source": "/hub/assistants/intro",
1177+ "destination": "/hub/agents/intro"
1178+ },
1179+ {
1180+ "source": "/hub/assistants/use-an-assistant",
1181+ "destination": "/hub/agents/use-an-agent"
1182+ },
1183+ {
1184+ "source": "/hub/assistants/create-an-assistant",
1185+ "destination": "/hub/agents/create-an-agent"
1186+ },
1187+ {
1188+ "source": "/hub/assistants/edit-an-assistant",
1189+ "destination": "/hub/agents/edit-an-agent"
1190+ },
1191+ {
1192+ "source": "/guides/understanding-assistants",
1193+ "destination": "/guides/understanding-agents"
11781194 }
11791195 ]
11801196 }
modified docs/faqs.mdx +7 −7
@@ -48,15 +48,15 @@
4848
4949 Continue can be used in [code-server](https://coder.com/), but if you are running across an error in the logs that includes "This is likely because the editor is not running in a secure context", please see [their documentation on securely exposing code-server](https://coder.com/docs/code-server/latest/guide#expose-code-server).
5050
51-## Changes to assistants not showing in VS Code
51+## Changes to agents not showing in VS Code
5252
53-If you've made changes to assistants (adding, modifying, or removing them) but the changes aren't appearing in the Continue extension in VS Code, try reloading the VS Code window:
53+If you've made changes to agents (adding, modifying, or removing them) but the changes aren't appearing in the Continue extension in VS Code, try reloading the VS Code window:
5454
5555 1. Open the command palette (`cmd/ctrl` + `shift` + `P`)
5656 2. Type "Reload Window"
5757 3. Select the reload option
5858
59-This will restart VS Code and reload all extensions, which should make your assistant changes visible.
59+This will restart VS Code and reload all extensions, which should make your agent changes visible.
6060
6161 ## I installed Continue, but don't see the sidebar window
6262
@@ -256,7 +256,7 @@
256256
257257 3. **Check URL format**: Ensure you're using `http://` not `https://` for local network addresses
258258
259-## Local Assistant
259+## Local Agent
260260
261261 ### Managing Local Secrets and Environment Variables
262262
@@ -318,7 +318,7 @@
318318
319319 ### Using Model Addons Locally
320320
321-You can leverage model addons from the Continue Hub in your local assistant configurations using the `uses:` syntax. This allows you to reference pre-configured model blocks without duplicating configuration.
321+You can leverage model addons from the Continue Hub in your local agent configurations using the `uses:` syntax. This allows you to reference pre-configured model blocks without duplicating configuration.
322322
323323 #### Requirements
324324
@@ -330,7 +330,7 @@
330330 In your local `config.yaml`, reference model addons using the format `provider/model-name`:
331331
332332 ```yaml
333-name: My Local Assistant
333+name: My Local Agent
334334 version: 0.0.1
335335 schema: v1
336336 models:
@@ -344,7 +344,7 @@
344344 You can combine hub model addons with local models:
345345
346346 ```yaml
347-name: My Local Assistant
347+name: My Local Agent
348348 version: 0.0.1
349349 schema: v1
350350 models:
modified docs/features/agent/how-to-customize.mdx +5 −5
@@ -6,7 +6,7 @@
66
77 ## How to Add Rules Blocks
88
9-Adding Rules can be done in your assistant locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details.
9+Adding Rules can be done in your agent locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details.
1010
1111 ## How to Customize System Messages
1212
@@ -18,14 +18,14 @@
1818 provider: openai
1919 model: gpt-4o
2020 chatOptions:
21- baseSystemMessage: "You are a helpful coding assistant."
22- baseAgentSystemMessage: "You are a systematic coding assistant. Break down problems methodically."
23- basePlanSystemMessage: "You are a planning assistant. Create clear, actionable steps."
21+ baseSystemMessage: "You are a helpful coding agent."
22+ baseAgentSystemMessage: "You are a systematic coding agent. Break down problems methodically."
23+ basePlanSystemMessage: "You are a planning agent. Create clear, actionable steps."
2424 ```
2525
2626 ## How to Add MCP Tools
2727
28-You can add MCP servers to your assistant to give Agent access to more tools. Explore [MCP Servers on the Hub](https://hub.continue.dev) and consult the [MCP guide](/customize/deep-dives/mcp) for more details.
28+You can add MCP servers to your agent to give Agent access to more tools. Explore [MCP Servers on the Hub](https://hub.continue.dev) and consult the [MCP guide](/customize/deep-dives/mcp) for more details.
2929
3030 ## How to Configure Tool Policies
3131
modified docs/features/edit/how-to-customize.mdx +1 −1
@@ -6,7 +6,7 @@
66
77 ## How to Set Active Edit/Apply Model
88
9-You can configure particular models from your Assistant to be used for Edit and Apply requests.
9+You can configure particular models from your Agent to be used for Edit and Apply requests.
1010
1111 1. Click the 3 dots above the main input
1212 2. Click the cube icon to expand the "Models" section
modified docs/getting-started/extensions.mdx +2 −2
@@ -1,6 +1,6 @@
11 ---
2-title: "Understanding Assistants"
2+title: "Understanding Agents"
33 description: "Continue offers two ways to configure your AI assistants"
44 ---
55
6-This content has moved to our comprehensive guide: [Understanding Assistants: Hub vs Local Configuration](/guides/understanding-assistants)
6+This content has moved to our comprehensive guide: [Understanding Agents: Hub vs Local Configuration](/guides/understanding-assistants)
modified docs/getting-started/install.mdx +3 −3
@@ -24,7 +24,7 @@
2424 </Step>
2525
2626 <Step title="Sign In">
27-[Sign in to the hub](https://auth.continue.dev/) to get started with your first assistant
27+[Sign in to the hub](https://auth.continue.dev/) to get started with your first agent
2828 </Step>
2929 </Steps>
3030
@@ -54,7 +54,7 @@
5454 </Step>
5555
5656 <Step title="Sign In">
57-[Sign in to the hub](https://auth.continue.dev/) to get started with your first assistant
57+[Sign in to the hub](https://auth.continue.dev/) to get started with your first agent
5858 </Step>
5959 </Steps>
6060
@@ -68,6 +68,6 @@
6868
6969 ## Signing in
7070
71-Click "Get started" to sign in to the hub and start using assistants.
71+Click "Get started" to sign in to the hub and start using agents.
7272
7373 ![Hub Onboarding in the Extension](/images/getting-started/images/hub-onboarding-card-81abd457b6d131c4b0aa89a5a6d647d3.png)
modified docs/getting-started/overview.mdx +2 −2
@@ -57,6 +57,6 @@
5757 </Tab>
5858 </Tabs>
5959
60-## AI Coding Assistants
60+## AI Coding Agents
6161
62-Continue offers flexible AI assistants that enhance your development workflow. You can choose between cloud-managed **Hub Assistants** for easy setup and synchronization, or **Local Assistants** for complete control and privacy. Learn more about [understanding and configuring assistants](/guides/understanding-assistants).
62+Continue offers flexible AI assistants that enhance your development workflow. You can choose between cloud-managed **Hub Agents** for easy setup and synchronization, or **Local Agents** for complete control and privacy. Learn more about [understanding and configuring assistants](/guides/understanding-assistants).
modified docs/getting-started/quick-start.mdx +2 −2
@@ -247,12 +247,12 @@
247247
248248 <Accordion title="Chat & Agent Best Practices">
249249 Discover [effective prompting techniques](/customize/deep-dives/prompts), [hub
250- v. local assistants](/guides/understanding-assistants), and [custom slash
250+ v. local agents](/guides/understanding-agents), and [custom slash
251251 commands](/customize/deep-dives/slash-commands).
252252 </Accordion>
253253
254254 <Accordion title="Enterprise & Teams">
255- Explore [Hub Assistants](/hub/assistants/intro), [organization
255+ Explore [Hub Agents](/hub/agents/intro), [organization
256256 management](/hub/governance/creating-an-org), and [sharing
257257 configurations](/hub/sharing).
258258 </Accordion>
modified docs/guides/continuous-ai.mdx +3 −3
@@ -123,8 +123,8 @@
123123 Imagine setting up an AI agent that checks new GitHub issues every morning and leaves the first helpful response. This lightens the load for maintainers and ensures community members feel heard quickly.
124124 </Accordion>
125125
126- <Accordion title="Pattern 2: The PR Review Assistant">
127- AI can automatically review new pull requests for security, performance, and style issues. The reviewer still has the final say, but the assistant highlights common problems and speeds up the feedback loop.
126+ <Accordion title="Pattern 2: The PR Review Agent">
127+ AI can automatically review new pull requests for security, performance, and style issues. The reviewer still has the final say, but the agent highlights common problems and speeds up the feedback loop.
128128
129129 </Accordion>
130130 <Accordion title="Pattern 3: The Documentation Guardian">
@@ -203,5 +203,5 @@
203203
204204 <Card title="Want to dive deeper?" icon="rocket">
205205 Check out our guides on [Continue CLI](/guides/cli) and [Understanding
206- Assistants](/guides/understanding-assistants).
206+ Agents](/guides/understanding-agents).
207207 </Card>
modified docs/guides/ollama-guide.mdx +5 −5
@@ -86,8 +86,8 @@
8686
8787 The easiest way is to use [pre-configured model blocks](/reference#local-blocks) from the Continue Hub in your local configuration:
8888
89-```yaml title="~/.continue/assistants/My Local Assistant.yaml"
90-name: My Local Assistant
89+```yaml title="~/.continue/agents/My Local Agent.yaml"
90+name: My Local Agent
9191 version: 0.0.1
9292 schema: v1
9393 models:
@@ -309,11 +309,11 @@
309309 #### Using Hub Blocks in Local Config
310310
311311 **Problem**: Unclear how to use hub models locally
312-**Solution**: Create a local assistant file:
312+**Solution**: Create a local agent file:
313313
314314 ```yaml
315-# ~/.continue/assistants/Local.yaml
316-name: Local Assistant
315+# ~/.continue/agents/Local.yaml
316+name: Local Agent
317317 version: 0.0.1
318318 schema: v1
319319 models:
added docs/guides/understanding-agents.mdx +202 −0
@@ -0,0 +1,202 @@
1+---
2+title: "How to Understand Agents: Hub vs Local Configuration"
3+description: "Learn how to choose between cloud-managed Hub agents and local configuration for AI development assistance in Continue, including setup, management, and best practices for each approach"
4+---
5+
6+Every developer has unique needs when it comes to AI assistance. Some prefer the convenience of cloud-managed configurations, while others need the control and privacy of local setups. Continue offers both paths, and this guide will help you choose the right one for your workflow.
7+
8+## What Are the Two Paths to AI Assistance?
9+
10+Continue provides two distinct ways to configure your AI agent:
11+
12+Think of Continue's configuration options like choosing between a managed service and self-hosting. Both get you to the same destination—powerful AI assistance in your IDE—but the journey and control level differ significantly.
13+
14+### How to Access Your Agent Configuration
15+
16+Before we dive into the specifics, let's understand how to access your configuration:
17+
18+1. Open the Continue Chat sidebar by pressing <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains)
19+2. Click the Agent selector above the main chat input
20+3. Hover over an agent and click:
21+ - `new window` icon for Hub agents
22+ - `gear` icon for Local agents
23+
24+![configure an agent](/images/configure-continue.png)
25+
26+## What Are Hub Agents: The Managed Experience
27+
28+Hub Agents represent the "it just works" philosophy. When you [sign in to Continue Hub](https://auth.continue.dev/), you gain access to a curated ecosystem of pre-configured agents that sync seamlessly across all your development environments.
29+
30+### Why Should You Choose Hub Agents?
31+
32+**The Power of Simplicity**
33+
34+- **Instant Setup**: Browse the [agent marketplace](https://hub.continue.dev) and add any agent to your account with a single click
35+- **Web-Based Management**: Configure models, add secrets, and customize settings through an intuitive web interface—no JSON editing required
36+- **Automatic Synchronization**: Make a change on the hub, and it reflects immediately across all your IDE instances
37+- **Team Collaboration**: Share custom agents with your team, ensuring everyone uses the same optimized configurations
38+
39+![nextjs agent](/images/nextjs-assistant.png)
40+
41+### How to Get Started with Hub Agents
42+
43+The journey from zero to AI-powered coding takes just four steps:
44+
45+1. **Select Your Agent**: Click the agent selector in your IDE's Continue panel
46+2. **Explore or Create**: Browse community agents or craft your own specialized helper
47+3. **Secure Your Keys**: Add API keys as [User Secrets](https://hub.continue.dev/settings/secrets) in the hub—they're encrypted and never exposed
48+4. **Sync and Code**: Click "Reload config" to pull your latest settings
49+
50+Pro tip: Hub Agents are perfect for teams. Create a custom agent with your team's coding standards, preferred models, and context sources, then share it with a simple link.
51+
52+### How to Manage Hub Agents
53+
54+All Hub Agent management happens through [the Hub](https://hub.continue.dev). For detailed customization, see our guide on [Editing an Agent](/hub/agents/edit-an-agent).
55+
56+## What Are Local Agents: The Power User's Choice
57+
58+Local Agents put you in the driver's seat. Using a `config.yaml` file, you have complete control over every aspect of your AI agent's behavior, with all configuration stored directly on your machine.
59+
60+### Why Should You Choose Local Agents?
61+
62+**Complete Control and Privacy**
63+
64+- **Your Data, Your Rules**: All configuration stays on your machine—perfect for air-gapped environments or strict data policies
65+- **Version Control Integration**: Check your `config.yaml` into git alongside your code, ensuring reproducible environments
66+- **Offline Capability**: Once configured, no internet connection needed (assuming you're using local models)
67+- **Unlimited Customization**: Access every configuration option, experimental feature, and advanced setting
68+
69+### How to Set Up Local Agents
70+
71+Local configuration lives in a single YAML file in your home directory:
72+
73+**File Locations:**
74+
75+- macOS/Linux: `~/.continue/config.yaml`
76+- Windows: `%USERPROFILE%\.continue\config.yaml`
77+
78+**Quick Access Method:**
79+
80+1. Open the agents dropdown in your IDE
81+2. Click the gear icon next to "Local Agent"
82+3. The `config.yaml` file opens in your editor
83+
84+![local-config-open-steps](/images/local-config-open-steps.png)
85+
86+### The Local Agent Experience
87+
88+When you edit your `config.yaml`, Continue provides intelligent autocomplete for all available options. Save the file, and Continue automatically reloads your configuration—no restart required.
89+
90+The first time you use Continue, it generates a `config.yaml` with sensible defaults. From there, you can customize everything from model selection to context providers, slash commands, and more.
91+
92+For the complete configuration reference, see our [config.yaml documentation](/reference).
93+
94+## How to Make the Right Choice
95+
96+The decision between Hub and Local agents often comes down to your specific needs and constraints. Here's a framework to help you decide:
97+
98+### Choose Hub Agents When You:
99+
100+**Value Convenience Over Control**
101+
102+- Want to start coding with AI assistance in under 60 seconds
103+- Prefer visual interfaces over editing configuration files
104+- Need to switch between multiple machines frequently
105+- Work in a team that needs standardized AI assistance
106+
107+**Need Advanced Collaboration**
108+
109+- Want to share custom agents with teammates
110+- Need centralized API key management
111+- Require quick updates across your entire organization
112+
113+**Are Getting Started**
114+
115+- New to AI-powered development
116+- Want to experiment with different models and configurations
117+- Prefer guided setup experiences
118+
119+### Choose Local Agents When You:
120+
121+**Require Maximum Control**
122+
123+- Need to version control your exact configuration
124+- Want to customize every aspect of the AI behavior
125+- Require reproducible development environments
126+
127+**Have Privacy Requirements**
128+
129+- Work with sensitive code that requires air-gapped environments
130+- Need to ensure all configuration data stays local
131+- Have strict compliance requirements about data storage
132+
133+**Are a Power User**
134+
135+- Comfortable editing YAML/JSON files
136+- Want access to experimental features
137+- Need to integrate with local tools and scripts
138+
139+## How to Use the Hybrid Approach
140+
141+Here's a secret: you don't have to choose just one. Many developers use both approaches:
142+
143+- **Hub Agents** for general development and experimentation
144+- **Local Agents** for production work or client projects with specific requirements
145+
146+You can switch between them seamlessly using the agent selector in your IDE.
147+
148+## Common Patterns and Best Practices
149+
150+### For Hub Agent Users
151+
152+1. **Start with Community Agents**: Before creating your own, explore what others have built
153+2. **Use Secrets Properly**: Never hardcode API keys—always use the User Secrets feature
154+3. **Create Specialized Agents**: Make different agents for different contexts (frontend, backend, DevOps)
155+4. **Share Liberally**: If you create something useful, share it with the community
156+
157+### For Local Agent Users
158+
159+1. **Version Control Your Config**: Treat your `config.yaml` like code—commit it, review changes, and maintain history
160+2. **Use Environment Variables**: For sensitive data, reference environment variables instead of hardcoding values
161+3. **Document Your Setup**: Add comments to your config explaining non-obvious choices
162+4. **Keep a Backup**: Before major changes, save a working copy of your configuration
163+
164+## Troubleshooting and Tips
165+
166+### Hub Agent Issues
167+
168+**Changes Not Reflecting?**
169+
170+- Click "Reload config" in your IDE
171+- Check your internet connection
172+- Ensure you're signed in to the correct account
173+
174+**Agent Not Available?**
175+
176+- Verify it's added to your account on the hub
177+- Check if it requires specific API keys
178+
179+### Local Agent Issues
180+
181+**Config Not Loading?**
182+
183+- Verify file location matches your OS
184+- Check YAML syntax (Continue will show errors)
185+- Ensure file permissions allow reading
186+
187+**Autocomplete Not Working?**
188+
189+- Update to the latest Continue version
190+- Check that you're editing the correct file
191+
192+## Next Steps
193+
194+Now that you understand both configuration approaches, you're ready to dive deeper:
195+
196+- **For Hub Users**: [Create Your First Agent](/hub/agents/create-an-agent)
197+- **For Local Users**: [Explore the Config Reference](/reference)
198+- **For Everyone**: [Discover Available Models](/customize/model-providers/overview)
199+
200+Remember, the best configuration is the one that helps you code more effectively. Start simple, experiment freely, and gradually refine your setup as you discover what works best for your workflow.
201+
202+Happy coding with Continue! 🚀
deleted docs/guides/understanding-assistants.mdx +0 −202
@@ -1,202 +0,0 @@
1----
2-title: "How to Understand Assistants: Hub vs Local Configuration"
3-description: "Learn how to choose between cloud-managed Hub assistants and local configuration for AI development assistance in Continue, including setup, management, and best practices for each approach"
4----
5-
6-Every developer has unique needs when it comes to AI assistance. Some prefer the convenience of cloud-managed configurations, while others need the control and privacy of local setups. Continue offers both paths, and this guide will help you choose the right one for your workflow.
7-
8-## What Are the Two Paths to AI Assistance?
9-
10-Continue provides two distinct ways to configure your AI assistant:
11-
12-Think of Continue's configuration options like choosing between a managed service and self-hosting. Both get you to the same destination—powerful AI assistance in your IDE—but the journey and control level differ significantly.
13-
14-### How to Access Your Assistant Configuration
15-
16-Before we dive into the specifics, let's understand how to access your configuration:
17-
18-1. Open the Continue Chat sidebar by pressing <kbd>cmd/ctrl</kbd> + <kbd>L</kbd> (VS Code) or <kbd>cmd/ctrl</kbd> + <kbd>J</kbd> (JetBrains)
19-2. Click the Assistant selector above the main chat input
20-3. Hover over an assistant and click:
21- - `new window` icon for Hub assistants
22- - `gear` icon for Local assistants
23-
24-![configure an assistant](/images/configure-continue.png)
25-
26-## What Are Hub Assistants: The Managed Experience
27-
28-Hub Assistants represent the "it just works" philosophy. When you [sign in to Continue Hub](https://auth.continue.dev/), you gain access to a curated ecosystem of pre-configured assistants that sync seamlessly across all your development environments.
29-
30-### Why Should You Choose Hub Assistants?
31-
32-**The Power of Simplicity**
33-
34-- **Instant Setup**: Browse the [assistant marketplace](https://hub.continue.dev/explore/assistants) and add any assistant to your account with a single click
35-- **Web-Based Management**: Configure models, add secrets, and customize settings through an intuitive web interface—no JSON editing required
36-- **Automatic Synchronization**: Make a change on the hub, and it reflects immediately across all your IDE instances
37-- **Team Collaboration**: Share custom assistants with your team, ensuring everyone uses the same optimized configurations
38-
39-![nextjs assistant](/images/nextjs-assistant.png)
40-
41-### How to Get Started with Hub Assistants
42-
43-The journey from zero to AI-powered coding takes just four steps:
44-
45-1. **Select Your Assistant**: Click the assistant selector in your IDE's Continue panel
46-2. **Explore or Create**: Browse community assistants or craft your own specialized helper
47-3. **Secure Your Keys**: Add API keys as [User Secrets](https://hub.continue.dev/settings/secrets) in the hub—they're encrypted and never exposed
48-4. **Sync and Code**: Click "Reload config" to pull your latest settings
49-
50-Pro tip: Hub Assistants are perfect for teams. Create a custom assistant with your team's coding standards, preferred models, and context sources, then share it with a simple link.
51-
52-### How to Manage Hub Assistants
53-
54-All Hub Assistant management happens through [the Hub](https://hub.continue.dev). For detailed customization, see our guide on [Editing an Assistant](/hub/assistants/edit-an-assistant).
55-
56-## What Are Local Assistants: The Power User's Choice
57-
58-Local Assistants put you in the driver's seat. Using a `config.yaml` file, you have complete control over every aspect of your AI assistant's behavior, with all configuration stored directly on your machine.
59-
60-### Why Should You Choose Local Assistants?
61-
62-**Complete Control and Privacy**
63-
64-- **Your Data, Your Rules**: All configuration stays on your machine—perfect for air-gapped environments or strict data policies
65-- **Version Control Integration**: Check your `config.yaml` into git alongside your code, ensuring reproducible environments
66-- **Offline Capability**: Once configured, no internet connection needed (assuming you're using local models)
67-- **Unlimited Customization**: Access every configuration option, experimental feature, and advanced setting
68-
69-### How to Set Up Local Assistants
70-
71-Local configuration lives in a single YAML file in your home directory:
72-
73-**File Locations:**
74-
75-- macOS/Linux: `~/.continue/config.yaml`
76-- Windows: `%USERPROFILE%\.continue\config.yaml`
77-
78-**Quick Access Method:**
79-
80-1. Open the assistants dropdown in your IDE
81-2. Click the gear icon next to "Local Assistant"
82-3. The `config.yaml` file opens in your editor
83-
84-![local-config-open-steps](/images/local-config-open-steps.png)
85-
86-### The Local Assistant Experience
87-
88-When you edit your `config.yaml`, Continue provides intelligent autocomplete for all available options. Save the file, and Continue automatically reloads your configuration—no restart required.
89-
90-The first time you use Continue, it generates a `config.yaml` with sensible defaults. From there, you can customize everything from model selection to context providers, slash commands, and more.
91-
92-For the complete configuration reference, see our [config.yaml documentation](/reference).
93-
94-## How to Make the Right Choice
95-
96-The decision between Hub and Local assistants often comes down to your specific needs and constraints. Here's a framework to help you decide:
97-
98-### Choose Hub Assistants When You:
99-
100-**Value Convenience Over Control**
101-
102-- Want to start coding with AI assistance in under 60 seconds
103-- Prefer visual interfaces over editing configuration files
104-- Need to switch between multiple machines frequently
105-- Work in a team that needs standardized AI assistance
106-
107-**Need Advanced Collaboration**
108-
109-- Want to share custom assistants with teammates
110-- Need centralized API key management
111-- Require quick updates across your entire organization
112-
113-**Are Getting Started**
114-
115-- New to AI-powered development
116-- Want to experiment with different models and configurations
117-- Prefer guided setup experiences
118-
119-### Choose Local Assistants When You:
120-
121-**Require Maximum Control**
122-
123-- Need to version control your exact configuration
124-- Want to customize every aspect of the AI behavior
125-- Require reproducible development environments
126-
127-**Have Privacy Requirements**
128-
129-- Work with sensitive code that requires air-gapped environments
130-- Need to ensure all configuration data stays local
131-- Have strict compliance requirements about data storage
132-
133-**Are a Power User**
134-
135-- Comfortable editing YAML/JSON files
136-- Want access to experimental features
137-- Need to integrate with local tools and scripts
138-
139-## How to Use the Hybrid Approach
140-
141-Here's a secret: you don't have to choose just one. Many developers use both approaches:
142-
143-- **Hub Assistants** for general development and experimentation
144-- **Local Assistants** for production work or client projects with specific requirements
145-
146-You can switch between them seamlessly using the assistant selector in your IDE.
147-
148-## Common Patterns and Best Practices
149-
150-### For Hub Assistant Users
151-
152-1. **Start with Community Assistants**: Before creating your own, explore what others have built
153-2. **Use Secrets Properly**: Never hardcode API keys—always use the User Secrets feature
154-3. **Create Specialized Assistants**: Make different assistants for different contexts (frontend, backend, DevOps)
155-4. **Share Liberally**: If you create something useful, share it with the community
156-
157-### For Local Assistant Users
158-
159-1. **Version Control Your Config**: Treat your `config.yaml` like code—commit it, review changes, and maintain history
160-2. **Use Environment Variables**: For sensitive data, reference environment variables instead of hardcoding values
161-3. **Document Your Setup**: Add comments to your config explaining non-obvious choices
162-4. **Keep a Backup**: Before major changes, save a working copy of your configuration
163-
164-## Troubleshooting and Tips
165-
166-### Hub Assistant Issues
167-
168-**Changes Not Reflecting?**
169-
170-- Click "Reload config" in your IDE
171-- Check your internet connection
172-- Ensure you're signed in to the correct account
173-
174-**Assistant Not Available?**
175-
176-- Verify it's added to your account on the hub
177-- Check if it requires specific API keys
178-
179-### Local Assistant Issues
180-
181-**Config Not Loading?**
182-
183-- Verify file location matches your OS
184-- Check YAML syntax (Continue will show errors)
185-- Ensure file permissions allow reading
186-
187-**Autocomplete Not Working?**
188-
189-- Update to the latest Continue version
190-- Check that you're editing the correct file
191-
192-## Next Steps
193-
194-Now that you understand both configuration approaches, you're ready to dive deeper:
195-
196-- **For Hub Users**: [Create Your First Assistant](/hub/assistants/create-an-assistant)
197-- **For Local Users**: [Explore the Config Reference](/reference)
198-- **For Everyone**: [Discover Available Models](/customize/model-providers/overview)
199-
200-Remember, the best configuration is the one that helps you code more effectively. Start simple, experiment freely, and gradually refine your setup as you discover what works best for your workflow.
201-
202-Happy coding with Continue! 🚀
added docs/hub/agents/create-an-agent.mdx +34 −0
@@ -0,0 +1,34 @@
1+---
2+title: "How to Create an AI Agent"
3+description: "Learn how to create custom AI coding agents in Continue Hub by remixing existing agents or building new ones from scratch with reusable blocks and YAML configuration."
4+sidebarTitle: "Create an AI Agent"
5+---
6+
7+## How to Create an AI Agent from Scratch
8+
9+To create an agent from scratch, select “New agent” in the top bar.
10+
11+![New agent button](/images/hub/assistants/images/assistant-new-button-16070e2cff9ce25ec9ebfeecb0e2f2b5.png)
12+
13+Choose a name, slug, description, and icon for your agent.
14+
15+The easiest way to create an agent is to click "Create agent" with the default configuration and then add / remove blocks using the sidebar.
16+
17+Alternatively, you can edit the agent YAML directly before clicking "Create agent". Refer to examples of agents on [hub.continue.dev](https://hub.continue.dev) and visit the [YAML Reference](/reference#complete-yaml-config-example) docs for more details.
18+
19+![New agent YAML](/images/hub/assistants/images/assistant-create-yaml-a991e5a81506f1c3ba611a664a50734c.png)
20+
21+## How to Remix an Agent
22+
23+You can also create an agent by remixing an existing one. This is useful if you want to start with a pre-configured agent and make modifications.
24+
25+By clicking the “remix” button, you’ll be taken to the “Create a remix” page.
26+
27+![Remix Agent Button](/images/hub/assistants/images/assistant-remix-button-728ececa73983140eeab42e33cc3903b.png)
28+
29+Once here, you’ll be able to
30+
31+1. add or remove blocks in YAML configuration
32+2. change the name, description, icon, etc.
33+
34+Clicking “Create agent” will make this agent available for use.
added docs/hub/agents/edit-an-agent.mdx +20 −0
@@ -0,0 +1,20 @@
1+---
2+title: "How to Edit an Agent"
3+description: "New versions of an agent can be created and published using the sidebar."
4+---
5+
6+![Remix Agent Button](/images/hub/assistants/images/assistant-create-sidebar-608be49973f2a7723212adeb52dbcafb.png)
7+
8+First, select an agent from the dropdown at the top.
9+
10+While editing an agent, you can explore the hub and click "Add Block" from a block page to add it to your agent.
11+
12+For blocks that require secret values like API keys, you will see a small notification on the block's tile in the sidebar that will indicate if action is needed.
13+
14+To delete a block, click the trash icon.
15+
16+If a block you want to use does not exist yet, you can [create a new block](/hub/blocks/create-a-block).
17+
18+When you are done editing, click "Publish" to publish a new version of the agent.
19+
20+Click "Open VS Code" or "Open JetBrains" to open your IDE for using the agent.
added docs/hub/agents/intro.mdx +8 −0
@@ -0,0 +1,8 @@
1+---
2+title: "Introduction to Agents"
3+description: "Custom AI code agents are configurations of building blocks that enable a coding experience tailored to your specific use cases."
4+---
5+
6+`config.yaml` is a format for defining custom AI code agents. An agent has some top-level properties (e.g. `name`, `version`), but otherwise consists of composable lists of **blocks** such as `models` and `rules`, which are the atomic building blocks of an agent.
7+
8+The `config.yaml` is parsed by the open-source Continue IDE extensions to create custom agent experiences. When you log in to [hub.continue.dev](https://hub.continue.dev/), your agents will automatically be synced with the IDE extensions.
added docs/hub/agents/use-an-agent.mdx +19 −0
@@ -0,0 +1,19 @@
1+---
2+title: "How to Use an Agent"
3+description: "Learn how to add, configure, and use an AI agent in Continue, including setting required inputs and selecting it in your IDE extension."
4+---
5+
6+## Steps to Use an AI Agent in Continue
7+
8+Once you've found the agent you want to use on Continue Hub:
9+
10+1. Click “Add Agent” on its page
11+2. Add any required inputs (e.g. secrets like API keys)
12+3. Select “Save changes” in agent sidebar on the right hand side
13+
14+After saving, open your IDE extension and:
15+
16+- Select the agent from the **agent dropdown** in the Continue extension.
17+- Begin using it for chat, code generation, or other configured capabilities.
18+
19+![Extension Agent Selector](/images/hub/assistants/images/assistant-extension-select.png)
deleted docs/hub/assistants/create-an-assistant.mdx +0 −34
@@ -1,34 +0,0 @@
1----
2-title: "How to Create an AI Assistant"
3-description: "Learn how to create custom AI coding assistants in Continue Hub by remixing existing assistants or building new ones from scratch with reusable blocks and YAML configuration."
4-sidebarTitle: "Create an AI Assistant"
5----
6-
7-## How to Create an AI Assistant from Scratch
8-
9-To create an assistant from scratch, select “New assistant” in the top bar.
10-
11-![New assistant button](/images/hub/assistants/images/assistant-new-button-16070e2cff9ce25ec9ebfeecb0e2f2b5.png)
12-
13-Choose a name, slug, description, and icon for your assistant.
14-
15-The easiest way to create an assistant is to click "Create assistant" with the default configuration and then add / remove blocks using the sidebar.
16-
17-Alternatively, you can edit the assistant YAML directly before clicking "Create assistant". Refer to examples of assistants on [hub.continue.dev](https://hub.continue.dev/explore/assistants) and visit the [YAML Reference](/reference#complete-yaml-config-example) docs for more details.
18-
19-![New assistant YAML](/images/hub/assistants/images/assistant-create-yaml-a991e5a81506f1c3ba611a664a50734c.png)
20-
21-## How to Remix an Assistant
22-
23-You can also create an assistant by remixing an existing one. This is useful if you want to start with a pre-configured assistant and make modifications.
24-
25-By clicking the “remix” button, you’ll be taken to the “Create a remix” page.
26-
27-![Remix Assistant Button](/images/hub/assistants/images/assistant-remix-button-728ececa73983140eeab42e33cc3903b.png)
28-
29-Once here, you’ll be able to
30-
31-1. add or remove blocks in YAML configuration
32-2. change the name, description, icon, etc.
33-
34-Clicking “Create assistant” will make this assistant available for use.
deleted docs/hub/assistants/edit-an-assistant.mdx +0 −20
@@ -1,20 +0,0 @@
1----
2-title: "How to Edit an Assistant"
3-description: "New versions of an assistant can be created and published using the sidebar."
4----
5-
6-![Remix Assistant Button](/images/hub/assistants/images/assistant-create-sidebar-608be49973f2a7723212adeb52dbcafb.png)
7-
8-First, select an assistant from the dropdown at the top.
9-
10-While editing an assistant, you can explore the hub and click "Add Block" from a block page to add it to your assistant.
11-
12-For blocks that require secret values like API keys, you will see a small notification on the block's tile in the sidebar that will indicate if action is needed.
13-
14-To delete a block, click the trash icon.
15-
16-If a block you want to use does not exist yet, you can [create a new block](/hub/blocks/create-a-block).
17-
18-When you are done editing, click "Publish" to publish a new version of the assistant.
19-
20-Click "Open VS Code" or "Open JetBrains" to open your IDE for using the assistant.
deleted docs/hub/assistants/intro.mdx +0 −8
@@ -1,8 +0,0 @@
1----
2-title: "Introduction to Assistants"
3-description: "Custom AI code assistants are configurations of building blocks that enable a coding experience tailored to your specific use cases."
4----
5-
6-`config.yaml` is a format for defining custom AI code assistants. An assistant has some top-level properties (e.g. `name`, `version`), but otherwise consists of composable lists of **blocks** such as `models` and `rules`, which are the atomic building blocks of an assistant.
7-
8-The `config.yaml` is parsed by the open-source Continue IDE extensions to create custom assistant experiences. When you log in to [hub.continue.dev](https://hub.continue.dev/), your assistants will automatically be synced with the IDE extensions.
deleted docs/hub/assistants/use-an-assistant.mdx +0 −19
@@ -1,19 +0,0 @@
1----
2-title: "How to Use an Assistant"
3-description: "Learn how to add, configure, and use an AI assistant in Continue, including setting required inputs and selecting it in your IDE extension."
4----
5-
6-## Steps to Use an AI Assistant in Continue
7-
8-Once you've found the assistant you want to use on Continue Hub:
9-
10-1. Click “Add Assistant” on its page
11-2. Add any required inputs (e.g. secrets like API keys)
12-3. Select “Save changes” in assistant sidebar on the right hand side
13-
14-After saving, open your IDE extension and:
15-
16-- Select the assistant from the **assistant dropdown** in the Continue extension.
17-- Begin using it for chat, code generation, or other configured capabilities.
18-
19-![Extension Assistant Selector](/images/hub/assistants/images/assistant-extension-select.png)
modified docs/hub/blocks/block-types.mdx +1 −1
@@ -20,7 +20,7 @@
2020
2121 ## Rules
2222
23-Rules blocks are instructions that your custom AI code assistant will always keep in mind - the contents of rules are inserted into the system message for all Chat requests. [Explore rules](https://hub.continue.dev/explore/rules) on the hub.
23+Rules blocks are instructions that your custom AI code agent will always keep in mind - the contents of rules are inserted into the system message for all Chat requests. [Explore rules](https://hub.continue.dev/explore/rules) on the hub.
2424
2525 Learn more in the [rules deep dive](/customize/deep-dives/rules), and view [`rules`](/reference#rules) in the YAML Reference for more details.
2626
modified docs/hub/blocks/create-a-block.mdx +2 −2
@@ -12,7 +12,7 @@
1212
1313 ![Remix block button](/images/hub/blocks/images/block-remix-button-913beb80672662855acc7013561c78d0.png)
1414
15-Once here, you’ll be able to 1) edit YAML configuration for the block and 2) change name, description, icon, etc. Clicking “Create block” will make this block available for use in an assistant.
15+Once here, you’ll be able to 1) edit YAML configuration for the block and 2) change name, description, icon, etc. Clicking “Create block” will make this block available for use in an agent.
1616
1717 ## How to Create a Block from Scratch
1818
@@ -26,4 +26,4 @@
2626
2727 ### Block Inputs
2828
29-Blocks can receive values, including secrets, as inputs through templating. For values that the user of the block needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`). Then, the user can set `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause of their assistant.
29+Blocks can receive values, including secrets, as inputs through templating. For values that the user of the block needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`). Then, the user can set `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause of their agent.
modified docs/hub/blocks/intro.mdx +2 −2
@@ -1,6 +1,6 @@
11 ---
22 title: "Introduction"
3-description: "Blocks are the components you use to build a custom AI code assistant. These include Models, MCP Servers, Rules, and Prompts."
3+description: "Blocks are the components you use to build a custom AI code agent. These include Models, MCP Servers, Rules, and Prompts."
44 ---
55
6-Blocks follow the [`config.yaml`](/reference) format. When combined with other blocks into a complete `config.yaml`, they form a custom AI code assistant.
6+Blocks follow the [`config.yaml`](/reference) format. When combined with other blocks into a complete `config.yaml`, they form a custom AI code agent.
modified docs/hub/blocks/use-a-block.mdx +4 −4
@@ -1,12 +1,12 @@
11 ---
22 title: "How to Use a Block"
3-description: "Learn how to use blocks in Continue Hub to enhance your AI code assistant."
3+description: "Learn how to use blocks in Continue Hub to enhance your AI code agent."
44 ---
55
6-Blocks are used to build custom AI code assistants in Continue Hub. Learn more:
6+Blocks are used to build custom AI code agents in Continue Hub. Learn more:
77
8-- [Create an assistant](/hub/assistants/create-an-assistant)
9-- [Edit an assistant](/hub/assistants/edit-an-assistant)
8+- [Create an agent](/hub/agents/create-an-agent)
9+- [Edit an agent](/hub/agents/edit-an-agent)
1010
1111 Some blocks require inputs. If you are missing an input for a block, a notification icon will show up in the sidebar next to the block. Click the notification to select which secret to use for the block input:
1212
modified docs/hub/governance/creating-an-org.mdx +1 −1
@@ -6,7 +6,7 @@
66 ![create an org selector](/images/hub/governance/images/org-selector-4ea627afc7c0765633780920a0fbe16e.png)
77
88 1. Choose a name, which will be used as the display name for your organization throughout the hub
9-2. Add a slug, which will be used for your org URL and as the prefix to all organization blocks and assistant slugs
9+2. Add a slug, which will be used for your org URL and as the prefix to all organization blocks and agent slugs
1010 3. Select an icon for your organization using the image uploader
1111 4. Finally, add a Biography, which will be displayed on your org Home Page
1212
modified docs/hub/secrets/secret-types.mdx +3 −3
@@ -1,16 +1,16 @@
11 ---
22 title: "Secret Types"
3-description: "The Continue Hub comes with secrets management built-in. Secrets are values such as API keys or endpoints that can be shared across assistants and within organizations."
3+description: "The Continue Hub comes with secrets management built-in. Secrets are values such as API keys or endpoints that can be shared across agents and within organizations."
44 ---
55
66 ## User secrets
77
8-User secrets are defined by the user for themselves. This means that user secrets are available only to the user that created them. User secrets are assumed to be safe for the user to know, so they will be sent to the IDE extensions alongside the assistant `config.yaml`.
8+User secrets are defined by the user for themselves. This means that user secrets are available only to the user that created them. User secrets are assumed to be safe for the user to know, so they will be sent to the IDE extensions alongside the agent `config.yaml`.
99
1010 This allows API requests to be made directly from the IDE extensions. You can use user secrets with [Solo](/hub/governance/pricing#solo), [Teams](/hub/governance/pricing#teams), and [Enterprise](/hub/governance/pricing#enterprise). User secrets can be managed [here](https://hub.continue.dev/settings/secrets) in the hub.
1111
1212 ## Org secrets
1313
14-Org secrets are defined by admins for their organization. Org secrets are available to anyone in the organization to use with assistants in that organization. Org secrets are assumed to not be shareable with the user (e.g. you are a team lead who wants to give team members access to models without passing out API keys).
14+Org secrets are defined by admins for their organization. Org secrets are available to anyone in the organization to use with agents in that organization. Org secrets are assumed to not be shareable with the user (e.g. you are a team lead who wants to give team members access to models without passing out API keys).
1515
1616 This is why LLM requests are proxied through api.continue.dev / on-premise proxy and secrets are never sent to the IDE extensions. You can only use org secrets on [Teams](/hub/governance/pricing#teams) and [Enterprise](/hub/governance/pricing#enterprise). If you are an admin, you can manage secrets for your organization from the org settings page.
modified docs/hub/sharing.mdx +4 −4
@@ -15,17 +15,17 @@
1515
1616 [Visit the Hub →](https://hub.continue.dev)
1717
18-## Browse Assistants
18+## Browse Agents
1919
2020 Explore assistants created by the community for specific use cases and workflows.
2121
22-[Browse Assistants →](https://hub.continue.dev)
22+[Browse Agents →](https://hub.continue.dev)
2323
24-## Using Assistants
24+## Using Agents
2525
2626 Learn how to discover, install, and use community-created assistants in your projects.
2727
28-[Learn About Assistants →](/hub/assistants/intro)
28+[Learn About Agents →](/hub/assistants/intro)
2929
3030 ---
3131
modified docs/hub/source-control.mdx +5 −5
@@ -1,6 +1,6 @@
11 ---
22 title: "Source Control"
3-description: "When managing your custom assistants within an organization, you might want to take advantage of your usual source control workflows. Continue makes this easy with a that automatically syncs your YAML files with hub.continue.dev. We are also planning on adding automations for GitLab, BitBucket, Gitee, and others. If you are interested, please reach out to us on ."
3+description: "When managing your custom agents within an organization, you might want to take advantage of your usual source control workflows. Continue makes this easy with a that automatically syncs your YAML files with hub.continue.dev. We are also planning on adding automations for GitLab, BitBucket, Gitee, and others. If you are interested, please reach out to us on ."
44 ---
55
66 ## Quickstart
@@ -34,11 +34,11 @@
3434
3535 ### 4. Commit and push
3636
37-Add the [YAML for your assistants and blocks](/reference) to the appropriate directories. The name of the file will be the slug of the assistant/block.
37+Add the [YAML for your agents and blocks](/reference) to the appropriate directories. The name of the file will be the slug of the agent/block.
3838
39-- `assistants/public` for public assistants
40-- `assistants/private` for private (visible only within your organization) assistants
39+- `assistants/public` for public agents
40+- `assistants/private` for private (visible only within your organization) agents
4141 - `blocks/public` for public blocks
4242 - `blocks/private` for private blocks
4343
44-Then, commit and push your changes. Once the GitHub Action has completed running, you should be able to view the assistants within your organization on hub.continue.dev. For subsequent changes, make sure to increment the `version` property of your updated YAML file(s).
44+Then, commit and push your changes. Once the GitHub Action has completed running, you should be able to view the agents within your organization on hub.continue.dev. For subsequent changes, make sure to increment the `version` property of your updated YAML file(s).
modified docs/reference.mdx +20 −20
@@ -1,43 +1,43 @@
11 ---
22 title: "config.yaml Reference"
3-description: "Comprehensive guide to the config.yaml format used by Continue.dev for building custom coding assistants. Learn how to define models, context providers, rules, prompts, and more using reusable blocks and YAML configuration."
3+description: "Comprehensive guide to the config.yaml format used by Continue.dev for building custom coding agents. Learn how to define models, context providers, rules, prompts, and more using reusable blocks and YAML configuration."
44 ---
55
66 ## Introduction
77
8-Continue hub assistants are defined using the `config.yaml` specification. Assistants can be loaded from [the Hub](https://hub.continue.dev/explore/assistants) or locally
8+Continue hub agents are defined using the `config.yaml` specification. Agents can be loaded from [the Hub](https://hub.continue.dev/explore/agents) or locally
99
10-- [Continue Hub](https://hub.continue.dev/explore/assistants) - YAML is stored on the hub and automatically synced to the extension
10+- [Continue Hub](https://hub.continue.dev/explore/agents) - YAML is stored on the hub and automatically synced to the extension
1111
1212 - Locally
13- - in your global `.continue` folder (`~/.continue` on Mac, `%USERPROFILE%\.continue`) within `.continue/assistants`. The name of the file will be used as the display name of the assistant, e.g. `My Assistant.yaml`
14- - in your workspace in a `/.continue/assistants` folder, with the same naming convention
13+ - in your global `.continue` folder (`~/.continue` on Mac, `%USERPROFILE%\.continue`) within `.continue/agents`. The name of the file will be used as the display name of the agent, e.g. `My Agent.yaml`
14+ - in your workspace in a `/.continue/agents` folder, with the same naming convention
1515
1616 <Info>
1717 Config YAML replaces `config.json`, which is deprecated. View the **[Migration
1818 Guide](/reference/yaml-migration)**.
1919 </Info>
2020
21-An assistant is made up of:
21+An agent is made up of:
2222
23-1. **Top level properties**, which specify the `name`, `version`, and `config.yaml` `schema` for the assistant
24-2. **Block lists**, which are composable arrays of coding assistant building blocks available to the assistant, such as models, docs, and context providers.
23+1. **Top level properties**, which specify the `name`, `version`, and `config.yaml` `schema` for the agent
24+2. **Block lists**, which are composable arrays of coding agent building blocks available to the agent, such as models, docs, and context providers.
2525
26-A block is a single standalone building block of a coding assistants, e.g., one model or one documentation source. In `config.yaml` syntax, a block consists of the same top-level properties as assistants (`name`, `version`, and `schema`), but only has **ONE** item under whichever block type it is.
26+A block is a single standalone building block of a coding agents, e.g., one model or one documentation source. In `config.yaml` syntax, a block consists of the same top-level properties as agents (`name`, `version`, and `schema`), but only has **ONE** item under whichever block type it is.
2727
28-Examples of blocks and assistants can be found on the [Continue hub](https://hub.continue.dev/explore/assistants).
28+Examples of blocks and agents can be found on the [Continue Hub](https://hub.continue.dev).
2929
30-Assistants can either explicitly define blocks - see [Properties](#properties) below - or import and configure existing hub blocks.
30+Agents can either explicitly define blocks - see [Properties](#properties) below - or import and configure existing hub blocks.
3131
3232 ### Using Blocks
3333
34-Hub blocks and assistants are identified with a slug in the format `owner-slug/block-or-assistant-slug`, where an owner can be a user or organization (For example, if you want to use the [OpenAI 4o Model block](https://hub.continue.dev/openai/gpt-4o), your slug would be `openai/gpt-4o`). These blocks are pulled from [https://hub.continue.dev](https://hub.continue.dev).
34+Hub blocks and agents are identified with a slug in the format `owner-slug/block-or-agent-slug`, where an owner can be a user or organization (For example, if you want to use the [OpenAI 4o Model block](https://hub.continue.dev/openai/gpt-4o), your slug would be `openai/gpt-4o`). These blocks are pulled from [https://hub.continue.dev](https://hub.continue.dev).
3535
36-Blocks can be imported into an assistant by adding a `uses` clause under the block type. This can be alongside other `uses` clauses or explicit blocks of that type.
36+Blocks can be imported into an agent by adding a `uses` clause under the block type. This can be alongside other `uses` clauses or explicit blocks of that type.
3737
38-For example, the following assistant imports an Anthropic model and defines an Ollama DeepSeek one.
38+For example, the following agent imports an Anthropic model and defines an Ollama DeepSeek one.
3939
40-Assistant models section
40+Agent models section
4141
4242 ```yaml
4343 name: Team Agent
@@ -52,13 +52,13 @@
5252
5353 ### Local Blocks
5454
55-It is also possible to define blocks locally in a `.continue` folder. This folder can be located at either the root of your workspace (these will automatically be applied to all assistants when you are in that workspace) or in your home directory at `~/.continue` (these will automatically be applied globally).
55+It is also possible to define blocks locally in a `.continue` folder. This folder can be located at either the root of your workspace (these will automatically be applied to all agents when you are in that workspace) or in your home directory at `~/.continue` (these will automatically be applied globally).
5656
5757 Place your YAML files in the following folders:
5858
59-Assistants:
59+Agents:
6060
61-- `.continue/assistants` - for assistants
61+- `.continue/agents` - for agents
6262
6363 Blocks:
6464
@@ -100,7 +100,7 @@
100100 Which can then be imported like this:
101101
102102 ```yaml title="config.yaml"
103-name: myprofile/custom-assistant
103+name: myprofile/custom-agent
104104 version: 1.0.0
105105 schema: v1
106106
@@ -118,7 +118,7 @@
118118 Block properties can be also be directly overriden using `override`. For example:
119119
120120 ```yaml title="config.yaml"
121-name: myprofile/custom-assistant
121+name: myprofile/custom-agent
122122 version: 1.0.0
123123 schema: v1
124124
modified docs/reference/continue-mcp.mdx +1 −1
@@ -45,7 +45,7 @@
4545 ### Customization
4646
4747 ```
48-How do I add custom rules to my assistant in Continue?
48+How do I add custom rules to my agent in Continue?
4949 ```
5050
5151 ## Troubleshooting
modified docs/snippets/ModelRecommendations.jsx +4 −4
@@ -50,8 +50,8 @@
5050 "[Kimi K2 (1T)](https://hub.continue.dev/openrouter/kimi-k2)",
5151 "[gpt-oss (120B)](https://hub.continue.dev/openrouter/gpt-oss-120b)",
5252 "[gpt-oss (20B)](https://hub.continue.dev/ollama/gpt-oss-20b)",
53- "GLM 4.5 (355B)",
54- "GLM 4.5 Air (106B)",
53+ "[GLM 4.5 (355B)](https://hub.continue.dev/openrouter/glm-4-5)",
54+ "[GLM 4.5 Air (106B)](https://hub.continue.dev/openrouter/glm-4-5-air)",
5555 ],
5656 closed: [
5757 "[Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus)",
@@ -83,7 +83,7 @@
8383 ],
8484 closed: [
8585 "[Codestral](https://hub.continue.dev/mistral/codestral)",
86- "[Mercury Coder](https://hub.continue.dev/inceptionlabs/mercury-coder)",
86+ "[Mercury Coder](https://hub.continue.dev/inception/mercury-coder)",
8787 ],
8888 notes: "Closed models are slightly better than open models",
8989 },
@@ -119,7 +119,7 @@
119119 next_edit: {
120120 open: ["[Instinct](https://hub.continue.dev/continuedev/instinct)"],
121121 closed: [
122- "[Mercury Coder](https://hub.continue.dev/inceptionlabs/mercury-coder)",
122+ "[Mercury Coder](https://hub.continue.dev/inception/mercury-coder)",
123123 ],
124124 notes: "Closed models are better than open models",
125125 },
deleted extensions/cli/.github/workflows/respond-to-cubic-dev-ai.yml +0 −215
@@ -1,215 +0,0 @@
1-name: Respond to @continuedev Comments
2-
3-on:
4- issue_comment:
5- types: [created]
6- pull_request_review_comment:
7- types: [created]
8-
9-permissions:
10- contents: write
11- pull-requests: write
12- issues: write
13-
14-jobs:
15- respond-to-comment:
16- # Only run on pull request comments
17- if: github.event_name == 'issue_comment' && github.event.issue.pull_request
18- runs-on: ubuntu-latest
19-
20- steps:
21- - name: Check if comment contains @continuedev
22- id: check-mention
23- run: |
24- if echo "${{ github.event.comment.body }}" | grep -q "@continuedev"; then
25- echo "contains_mention=true" >> $GITHUB_OUTPUT
26- else
27- echo "contains_mention=false" >> $GITHUB_OUTPUT
28- fi
29-
30- - name: Checkout PR branch
31- if: steps.check-mention.outputs.contains_mention == 'true'
32- uses: actions/checkout@v4
33- with:
34- token: ${{ secrets.GITHUB_TOKEN }}
35- fetch-depth: 0
36-
37- - name: Get PR information
38- if: steps.check-mention.outputs.contains_mention == 'true'
39- id: pr-info
40- uses: actions/github-script@v7
41- with:
42- script: |
43- const { data: pr } = await github.rest.pulls.get({
44- owner: context.repo.owner,
45- repo: context.repo.repo,
46- pull_number: context.issue.number
47- });
48-
49- core.setOutput('head_ref', pr.head.ref);
50- core.setOutput('head_sha', pr.head.sha);
51- return pr;
52-
53- - name: Checkout PR branch
54- if: steps.check-mention.outputs.contains_mention == 'true'
55- run: |
56- git checkout ${{ steps.pr-info.outputs.head_ref }}
57-
58- - name: Setup Node.js
59- if: steps.check-mention.outputs.contains_mention == 'true'
60- uses: actions/setup-node@v4
61- with:
62- node-version: "20"
63-
64- - name: Install Continue CLI globally
65- if: steps.check-mention.outputs.contains_mention == 'true'
66- run: npm i -g @continuedev/cli
67-
68- - name: Start remote session
69- if: steps.check-mention.outputs.contains_mention == 'true'
70- id: remote-session
71- env:
72- CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}
73- run: |
74- # Create the prompt for remote session
75- PROMPT="Please help with the following request from @${{ github.event.comment.user.login }} on PR #${{ github.event.issue.number }}:
76-
77- ${{ github.event.comment.body }}
78-
79- Please analyze the current PR, understand the request, implement the necessary changes, and commit them to this branch."
80-
81- # Start remote session and capture JSON output
82- SESSION_OUTPUT=$(echo "$PROMPT" | cn remote -s --branch ${{ steps.pr-info.outputs.head_ref }})
83- echo "Raw session output: $SESSION_OUTPUT"
84-
85- # Extract URL from JSON output
86- SESSION_URL=$(echo "$SESSION_OUTPUT" | jq -r '.url // empty')
87-
88- if [ -z "$SESSION_URL" ] || [ "$SESSION_URL" = "null" ]; then
89- echo "Failed to extract session URL from output: $SESSION_OUTPUT"
90- exit 1
91- fi
92-
93- echo "session_url=$SESSION_URL" >> $GITHUB_OUTPUT
94- echo "✅ Started remote session: $SESSION_URL"
95-
96- - name: Comment with session URL
97- if: steps.check-mention.outputs.contains_mention == 'true' && steps.remote-session.outputs.session_url
98- uses: actions/github-script@v7
99- with:
100- script: |
101- const commentBody = `I've started [a remote session](${{ steps.remote-session.outputs.session_url }}) to help with your request:
102- > ${{ github.event.comment.body }}`;
103-
104- await github.rest.issues.createComment({
105- owner: context.repo.owner,
106- repo: context.repo.repo,
107- issue_number: context.issue.number,
108- body: commentBody
109- });
110-
111- - name: Log session details
112- if: steps.check-mention.outputs.contains_mention == 'true'
113- run: |
114- echo "✅ Successfully started remote session for comment from ${{ github.event.comment.user.login }} on PR #${{ github.event.issue.number }}"
115- echo "Session URL: ${{ steps.remote-session.outputs.session_url }}"
116- echo "Original comment: ${{ github.event.comment.body }}"
117-
118- respond-to-review-comment:
119- # Only run on pull request review comments
120- if: github.event_name == 'pull_request_review_comment'
121- runs-on: ubuntu-latest
122-
123- steps:
124- - name: Check if comment contains @continuedev
125- id: check-mention
126- run: |
127- if echo "${{ github.event.comment.body }}" | grep -q "@continuedev"; then
128- echo "contains_mention=true" >> $GITHUB_OUTPUT
129- else
130- echo "contains_mention=false" >> $GITHUB_OUTPUT
131- fi
132-
133- - name: Checkout PR branch
134- if: steps.check-mention.outputs.contains_mention == 'true'
135- uses: actions/checkout@v4
136- with:
137- token: ${{ secrets.GITHUB_TOKEN }}
138- fetch-depth: 0
139- ref: ${{ github.event.pull_request.head.ref }}
140-
141- - name: Setup Node.js
142- if: steps.check-mention.outputs.contains_mention == 'true'
143- uses: actions/setup-node@v4
144- with:
145- node-version: "20"
146-
147- - name: Install Continue CLI globally
148- if: steps.check-mention.outputs.contains_mention == 'true'
149- run: npm i -g @continuedev/cli
150-
151- - name: Start remote session
152- if: steps.check-mention.outputs.contains_mention == 'true'
153- id: remote-session
154- env:
155- CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}
156- run: |
157- # Create a temporary file for the prompt to handle special characters and newlines properly
158- cat > /tmp/prompt.txt << 'PROMPT_EOF'
159- Please help with the following code review comment from @${{ github.event.comment.user.login }} on PR #${{ github.event.pull_request.number }}:
160-
161- **File:** ${{ github.event.comment.path }}
162- **Line:** ${{ github.event.comment.line || github.event.comment.original_line || 'N/A' }}
163- **Comment:** ${{ github.event.comment.body }}
164-
165- Please analyze the specific file and line mentioned, understand the review feedback, implement the necessary changes, and commit them to this branch.
166- PROMPT_EOF
167-
168- # Debug output
169- echo "PROMPT content:"
170- cat /tmp/prompt.txt
171-
172- # Start remote session and capture JSON output
173- echo "Starting cn with prompt..."
174- SESSION_OUTPUT=$(cat /tmp/prompt.txt | cn remote -s --branch ${{ github.event.pull_request.head.ref }})
175- echo "Raw session output: $SESSION_OUTPUT"
176-
177- # Extract URL from JSON output
178- SESSION_URL=$(echo "$SESSION_OUTPUT" | jq -r '.url // empty')
179-
180- if [ -z "$SESSION_URL" ] || [ "$SESSION_URL" = "null" ]; then
181- echo "Failed to extract session URL from output: $SESSION_OUTPUT"
182- exit 1
183- fi
184-
185- echo "session_url=$SESSION_URL" >> $GITHUB_OUTPUT
186- echo "✅ Started remote session: $SESSION_URL"
187-
188- - name: Comment with session URL
189- if: steps.check-mention.outputs.contains_mention == 'true' && steps.remote-session.outputs.session_url
190- uses: actions/github-script@v7
191- with:
192- script: |
193- const commentBody = `I've started [a remote session](${{ steps.remote-session.outputs.session_url }}) to help with your request:
194- > ${{ github.event.comment.body }}`;
195-
196- const commentParams = {
197- owner: context.repo.owner,
198- repo: context.repo.repo,
199- pull_number: ${{ github.event.pull_request.number }},
200- body: commentBody,
201- commit_id: '${{ github.event.pull_request.head.sha }}',
202- path: '${{ github.event.comment.path }}',
203- in_reply_to: ${{ github.event.comment.id }}
204- };
205-
206- await github.rest.pulls.createReviewComment(commentParams);
207-
208- - name: Log session details
209- if: steps.check-mention.outputs.contains_mention == 'true'
210- run: |
211- echo "✅ Successfully started remote session for review comment from ${{ github.event.comment.user.login }} on PR #${{ github.event.pull_request.number }}"
212- echo "Session URL: ${{ steps.remote-session.outputs.session_url }}"
213- echo "File: ${{ github.event.comment.path }}"
214- echo "Line: ${{ github.event.comment.line }}"
215- echo "Original comment: ${{ github.event.comment.body }}"
modified extensions/cli/src/index.ts +36 −35
@@ -47,6 +47,42 @@
4747 exitMessageCallback = callback;
4848 }
4949
50+// Sets up SIGINT handler that requires double Ctrl+C within 1 second to exit
51+export function enableSigintHandler() {
52+ // Remove all existing SIGINT listeners first
53+ process.removeAllListeners("SIGINT");
54+
55+ process.on("SIGINT", async () => {
56+ const now = Date.now();
57+ const timeSinceLastCtrlC = now - lastCtrlCTime;
58+
59+ if (timeSinceLastCtrlC <= 1000 && lastCtrlCTime !== 0) {
60+ // Second Ctrl+C within 1 second - exit
61+ showExitMessage = false;
62+ if (tuiUnmount) {
63+ tuiUnmount();
64+ }
65+ await sentryService.flush();
66+ process.exit(0);
67+ } else {
68+ // First Ctrl+C or too much time elapsed - show exit message
69+ lastCtrlCTime = now;
70+ showExitMessage = true;
71+ if (exitMessageCallback) {
72+ exitMessageCallback();
73+ }
74+
75+ // Hide message after 1 second
76+ setTimeout(() => {
77+ showExitMessage = false;
78+ if (exitMessageCallback) {
79+ exitMessageCallback();
80+ }
81+ }, 1000);
82+ }
83+ });
84+}
85+
5086 // Check if "ctrl+c to exit" message should be displayed
5187 export function shouldShowExitMessage(): boolean {
5288 return showExitMessage;
@@ -294,41 +330,6 @@
294330 process.exit(1);
295331 }
296332
297-// Graceful shutdown with two-stage Ctrl+C exit
298-
299-// Remove all existing SIGINT listeners first
300-process.removeAllListeners("SIGINT");
301-
302-process.on("SIGINT", async () => {
303- const now = Date.now();
304- const timeSinceLastCtrlC = now - lastCtrlCTime;
305-
306- if (timeSinceLastCtrlC <= 1000 && lastCtrlCTime !== 0) {
307- // Second Ctrl+C within 1 second - exit
308- showExitMessage = false;
309- if (tuiUnmount) {
310- tuiUnmount();
311- }
312- await sentryService.flush();
313- process.exit(0);
314- } else {
315- // First Ctrl+C or too much time elapsed - show exit message
316- lastCtrlCTime = now;
317- showExitMessage = true;
318- if (exitMessageCallback) {
319- exitMessageCallback();
320- }
321-
322- // Hide message after 1 second
323- setTimeout(() => {
324- showExitMessage = false;
325- if (exitMessageCallback) {
326- exitMessageCallback();
327- }
328- }, 1000);
329- }
330-});
331-
332333 process.on("SIGTERM", async () => {
333334 await sentryService.flush();
334335 process.exit(0);
added extensions/cli/src/infoScreen.ts +136 −0
@@ -0,0 +1,136 @@
1+import { execSync } from "child_process";
2+
3+import chalk from "chalk";
4+
5+import {
6+ isAuthenticated,
7+ isAuthenticatedConfig,
8+ loadAuthConfig,
9+} from "./auth/workos.js";
10+import { services } from "./services/index.js";
11+import { getCurrentSession, getSessionFilePath } from "./session.js";
12+import { posthogService } from "./telemetry/posthogService.js";
13+import { logger } from "./util/logger.js";
14+import { getVersion } from "./version.js";
15+
16+export async function handleInfoSlashCommand() {
17+ posthogService.capture("useSlashCommand", { name: "info" });
18+
19+ const infoLines = [];
20+
21+ // Version and working directory info
22+ const version = getVersion();
23+ const cwd = process.cwd();
24+
25+ infoLines.push(
26+ chalk.white("CLI Information:"),
27+ ` Version: ${chalk.green(version)}`,
28+ ` Working Directory: ${chalk.blue(cwd)}`,
29+ );
30+
31+ // Auth info
32+ if (isAuthenticated()) {
33+ const config = loadAuthConfig();
34+ if (config && isAuthenticatedConfig(config)) {
35+ const email = config.userEmail || config.userId;
36+ const orgId = config.organizationId;
37+ infoLines.push(
38+ "",
39+ chalk.white("Authentication:"),
40+ ` Email: ${chalk.green(email)}`,
41+ ` Org ID: ${chalk.cyan(orgId)}`,
42+ );
43+ } else {
44+ infoLines.push(
45+ "",
46+ chalk.white("Authentication:"),
47+ ` ${chalk.yellow("Authenticated via environment variable")}`,
48+ );
49+ }
50+ } else {
51+ infoLines.push(
52+ "",
53+ chalk.white("Authentication:"),
54+ ` ${chalk.red("Not logged in")}`,
55+ );
56+ }
57+
58+ // Config info
59+ try {
60+ const configState = services.config.getState();
61+ infoLines.push("", chalk.white("Configuration:"));
62+ if (configState.config) {
63+ infoLines.push(` ${chalk.gray(`Using ${configState.config?.name}`)}`);
64+ } else {
65+ infoLines.push(` ${chalk.red(`Config not found`)}`);
66+ }
67+ if (configState.configPath) {
68+ infoLines.push(` Path: ${chalk.blue(configState.configPath)}`);
69+ }
70+
71+ // Add current model info
72+ try {
73+ const modelInfo = services.model?.getModelInfo();
74+ if (modelInfo) {
75+ infoLines.push(` Model: ${chalk.cyan(modelInfo.name)}`);
76+ } else {
77+ infoLines.push(` Model: ${chalk.red("Not available")}`);
78+ }
79+ } catch {
80+ infoLines.push(` Model: ${chalk.red("Error retrieving model info")}`);
81+ }
82+ } catch {
83+ infoLines.push(
84+ "",
85+ chalk.white("Configuration:"),
86+ ` ${chalk.red("Configuration service not available")}`,
87+ );
88+ }
89+
90+ // Session info
91+ infoLines.push("", chalk.white("Session:"));
92+ try {
93+ const currentSession = getCurrentSession();
94+ const sessionFilePath = getSessionFilePath();
95+ infoLines.push(
96+ ` Title: ${chalk.green(currentSession.title)}`,
97+ ` ID: ${chalk.gray(currentSession.sessionId)}`,
98+ ` File: ${chalk.blue(sessionFilePath)}`,
99+ );
100+ } catch {
101+ infoLines.push(` ${chalk.red("Session not available")}`);
102+ }
103+
104+ // Runtime diagnostic info
105+ const nodePath = process.execPath;
106+ const invokedPath = process.argv[1];
107+
108+ // Get npm version
109+ let npmVersion = "unknown";
110+ try {
111+ npmVersion = execSync("npm --version", {
112+ encoding: "utf8",
113+ timeout: 5000,
114+ stdio: ["pipe", "pipe", "ignore"],
115+ }).trim();
116+ } catch (error) {
117+ // If npm command fails, fallback to "unknown"
118+ logger.warn("Failed to get npm version:", error);
119+ }
120+
121+ // Diagnostic info
122+ infoLines.push(
123+ "",
124+ chalk.white("Diagnostic Info"),
125+ ` Currently running: npm-global (${chalk.green(npmVersion)})`,
126+ ` Path: ${chalk.blue(nodePath)}`,
127+ ` Invoked: ${chalk.blue(invokedPath)}`,
128+ );
129+
130+ // TODO add global settings like auto update etc.
131+
132+ return {
133+ exit: false,
134+ output: infoLines.join("\n"),
135+ };
136+}
modified extensions/cli/src/slashCommands.test.ts +1 −1
@@ -217,7 +217,7 @@
217217 expect(result).toBeDefined();
218218 expect(result?.output).toContain("Authentication:");
219219 expect(result?.output).toContain("test@example.com");
220- expect(result?.output).toContain("(no org)");
220+ expect(result?.output).toContain("test-org-id");
221221 expect(result?.output).toContain("Configuration:");
222222 expect(result?.output).toContain("/custom/config.yaml");
223223 expect(result?.exit).toBe(false);
modified extensions/cli/src/slashCommands.ts +3 −90
@@ -7,11 +7,11 @@
77 loadAuthConfig,
88 } from "./auth/workos.js";
99 import { getAllSlashCommands } from "./commands/commands.js";
10+import { handleInfoSlashCommand } from "./infoScreen.js";
1011 import { reloadService, SERVICE_NAMES, services } from "./services/index.js";
11-import { getCurrentSession, getSessionFilePath } from "./session.js";
12+import { getCurrentSession } from "./session.js";
1213 import { posthogService } from "./telemetry/posthogService.js";
1314 import { SlashCommandResult } from "./ui/hooks/useChat.types.js";
14-import { getVersion } from "./version.js";
1515
1616 type CommandHandler = (
1717 args: string[],
@@ -115,93 +115,6 @@
115115 }
116116 }
117117
118-async function handleInfo() {
119- posthogService.capture("useSlashCommand", { name: "info" });
120-
121- const infoLines = [];
122-
123- // Version and working directory info
124- const version = getVersion();
125- const cwd = process.cwd();
126-
127- infoLines.push(chalk.white("CLI Information:"));
128- infoLines.push(` Version: ${chalk.green(version)}`);
129- infoLines.push(` Working Directory: ${chalk.blue(cwd)}`);
130-
131- // Auth info
132- if (isAuthenticated()) {
133- const config = loadAuthConfig();
134- if (config && isAuthenticatedConfig(config)) {
135- const email = config.userEmail || config.userId;
136- const org = "(no org)"; // Organization info not available in AuthenticatedConfig
137- infoLines.push("");
138- infoLines.push(chalk.white("Authentication:"));
139- infoLines.push(` Email: ${chalk.green(email)}`);
140- infoLines.push(` Organization: ${chalk.cyan(org)}`);
141- } else {
142- infoLines.push("");
143- infoLines.push(chalk.white("Authentication:"));
144- infoLines.push(
145- ` ${chalk.yellow("Authenticated via environment variable")}`,
146- );
147- }
148- } else {
149- infoLines.push("");
150- infoLines.push(chalk.white("Authentication:"));
151- infoLines.push(` ${chalk.red("Not logged in")}`);
152- }
153-
154- // Config info
155- try {
156- const configState = services.config.getState();
157- infoLines.push("");
158- infoLines.push(chalk.white("Configuration:"));
159- if (configState.config) {
160- infoLines.push(` ${chalk.gray(`Using ${configState.config?.name}`)}`);
161- } else {
162- infoLines.push(` ${chalk.red(`Config not found`)}`);
163- }
164- if (configState.configPath) {
165- infoLines.push(` Path: ${chalk.blue(configState.configPath)}`);
166- }
167-
168- // Add current model info
169- try {
170- const modelInfo = services.model?.getModelInfo();
171- if (modelInfo) {
172- infoLines.push(` Model: ${chalk.cyan(modelInfo.name)}`);
173- } else {
174- infoLines.push(` Model: ${chalk.red("Not available")}`);
175- }
176- } catch {
177- infoLines.push(` Model: ${chalk.red("Error retrieving model info")}`);
178- }
179- } catch {
180- infoLines.push("");
181- infoLines.push(chalk.white("Configuration:"));
182- infoLines.push(` ${chalk.red("Configuration service not available")}`);
183- }
184-
185- // Session info
186- infoLines.push("");
187- infoLines.push(chalk.white("Session:"));
188- try {
189- const currentSession = getCurrentSession();
190- infoLines.push(` Title: ${chalk.green(currentSession.title)}`);
191- infoLines.push(` ID: ${chalk.gray(currentSession.sessionId)}`);
192-
193- const sessionFilePath = getSessionFilePath();
194- infoLines.push(` File: ${chalk.blue(sessionFilePath)}`);
195- } catch {
196- infoLines.push(` ${chalk.red("Session not available")}`);
197- }
198-
199- return {
200- exit: false,
201- output: infoLines.join("\n"),
202- };
203-}
204-
205118 async function handleFork() {
206119 posthogService.capture("useSlashCommand", { name: "fork" });
207120
@@ -247,7 +160,7 @@
247160 login: handleLogin,
248161 logout: handleLogout,
249162 whoami: handleWhoami,
250- info: handleInfo,
163+ info: handleInfoSlashCommand,
251164 model: () => ({ openModelSelector: true }),
252165 compact: () => {
253166 posthogService.capture("useSlashCommand", { name: "compact" });
modified extensions/cli/src/systemMessage.ts +7 −0
@@ -176,6 +176,13 @@
176176 if (currentMode === "plan") {
177177 systemMessage +=
178178 '\n<context name="planMode">You are operating in _Plan Mode_, which means that your goal is to help the user investigate their ideas and develop a plan before taking action. You only have access to read-only tools and should not attempt to circumvent them to write / delete / create files. For example, it is not acceptable to use the Bash tool to write to files.</context>\n';
179+ } else {
180+ // TODO - make including this coauthor commit configurable
181+ systemMessage += `\n<context name="commitSignature">When creating commits using any CLI or tool, include the following in the commit message:
182+Generated with [Continue](https://continue.dev)
183+
184+Co-Authored-By: Continue <noreply@continue.dev>
185+</context>\n`;
179186 }
180187
181188 // In headless mode, add instructions to be concise and only provide final answers
modified extensions/cli/src/telemetry/posthogService.ts +33 −2
@@ -1,3 +1,4 @@
1+import dns from "dns/promises";
12 import os from "node:os";
23
34 import node_machine_id from "node-machine-id";
@@ -15,13 +16,36 @@
1516 this.uniqueId = this.getEventUserId();
1617 }
1718
19+ private _hasInternetConnection: boolean | undefined = undefined;
20+ private async hasInternetConnection() {
21+ const refetchConnection = async () => {
22+ try {
23+ await dns.lookup("app.posthog.com");
24+ this._hasInternetConnection = true;
25+ } catch {
26+ this._hasInternetConnection = false;
27+ }
28+ };
29+
30+ if (typeof this._hasInternetConnection !== "undefined") {
31+ void refetchConnection(); // check in background if connection became available
32+ return this._hasInternetConnection;
33+ }
34+
35+ await refetchConnection();
36+ return this._hasInternetConnection;
37+ }
38+
1839 get isEnabled() {
1940 return process.env.CONTINUE_CLI_ENABLE_TELEMETRY !== "0";
2041 }
2142
2243 private _client: PostHogType | undefined;
2344 private async getClient() {
24- if (this.isEnabled) {
45+ if (!(await this.hasInternetConnection())) {
46+ this._client = undefined;
47+ logger.warn("No internet connection, skipping telemetry");
48+ } else if (this.isEnabled) {
2549 if (!this._client) {
2650 const { PostHog } = await import("posthog-node");
2751 this._client = new PostHog(
@@ -30,6 +54,7 @@
3054 host: "https://app.posthog.com",
3155 },
3256 );
57+ logger.debug("Initialized telemetry");
3358 }
3459 } else {
3560 this._client = undefined;
@@ -83,7 +108,13 @@
83108 try {
84109 const client = await this.getClient();
85110 if (client) {
86- await client.shutdown();
111+ // Set a timeout for shutdown to prevent hanging
112+ const shutdownPromise = client.shutdown();
113+ const timeoutPromise = new Promise((_, reject) =>
114+ setTimeout(() => reject(new Error("Shutdown timeout")), 5000),
115+ );
116+
117+ await Promise.race([shutdownPromise, timeoutPromise]);
87118 }
88119 } catch (e) {
89120 logger.debug(`Failed to shutdown PostHog client: ${e}`);
modified extensions/cli/src/tools/edit.test.ts +8 −5
@@ -1,8 +1,9 @@
11 import * as fs from "fs";
22
3-import { describe, it, expect, beforeEach, afterEach, vi } from "vitest";
3+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
44
5-import { editTool, markFileAsRead, readFilesSet } from "./edit.js";
5+import { editTool } from "./edit.js";
6+import { markFileAsRead, readFilesSet } from "./readFile.js";
67
78 // Mock the dependencies
89 vi.mock("../telemetry/telemetryService.js");
@@ -21,6 +22,7 @@
2122 readFileSync: vi.fn(),
2223 writeFileSync: vi.fn(),
2324 unlinkSync: vi.fn(),
25+ realpathSync: vi.fn(),
2426 };
2527 });
2628
@@ -34,6 +36,7 @@
3436 vi.mocked(fs.existsSync).mockReturnValue(true);
3537 vi.mocked(fs.readFileSync).mockReturnValue(originalContent);
3638 vi.mocked(fs.writeFileSync).mockImplementation(() => {});
39+ vi.mocked(fs.realpathSync).mockImplementation((path) => path.toString());
3740 });
3841
3942 afterEach(() => {
@@ -126,7 +129,7 @@
126129 const result = await editTool.preprocess!(args);
127130
128131 expect(result.args).toEqual({
129- file_path: testFilePath,
132+ resolvedPath: testFilePath,
130133 newContent: "Hi there\nThis is a test file\nGoodbye world",
131134 oldContent: originalContent,
132135 });
@@ -163,7 +166,7 @@
163166 it("should successfully write file and return success message", async () => {
164167 const newContent = "Hi there\nThis is a test file\nGoodbye world";
165168 const args = {
166- file_path: testFilePath,
169+ resolvedPath: testFilePath,
167170 newContent,
168171 oldContent: originalContent,
169172 };
@@ -186,7 +189,7 @@
186189 });
187190
188191 const args = {
189- file_path: testFilePath,
192+ resolvedPath: testFilePath,
190193 newContent: "new content",
191194 oldContent: originalContent,
192195 };
modified extensions/cli/src/tools/edit.ts +38 −53
@@ -8,6 +8,7 @@
88 getLanguageFromFilePath,
99 } from "../telemetry/utils.js";
1010
11+import { readFilesSet, readFileTool } from "./readFile.js";
1112 import { Tool } from "./types.js";
1213 import { generateDiff } from "./writeFile.js";
1314
@@ -18,40 +19,23 @@
1819 replace_all?: boolean;
1920 }
2021
21-// Track files that have been read in the current session
22-export const readFilesSet = new Set<string>();
23-
2422 export const editTool: Tool = {
2523 name: "Edit",
2624 displayName: "Edit",
2725 readonly: false,
2826 isBuiltIn: true,
29- description: `Performs exact string replacements in files.
30-
31-
32-Usage:
33-
34-- You must use your \`Read\` tool at least once in the conversation before
35-editing. This tool will error if you attempt an edit without reading the file.
36-
37-- When editing text from Read tool output, ensure you preserve the exact
38-indentation (tabs/spaces) as it appears AFTER the line number prefix. The line
39-number prefix format is: spaces + line number + tab. Everything after that tab
40-is the actual file content to match. Never include any part of the line number
41-prefix in the old_string or new_string.
42-
43-- ALWAYS prefer editing existing files in the codebase. NEVER write new files
44-unless explicitly required.
45-
46-- Only use emojis if the user explicitly requests it. Avoid adding emojis to
47-files unless asked.
48-
49-- The edit will FAIL if \`old_string\` is not unique in the file. Either provide
50-a larger string with more surrounding context to make it unique or use
51-\`replace_all\` to change every instance of \`old_string\`.
52-
53-- Use \`replace_all\` for replacing and renaming strings across the file. This
54-parameter is useful if you want to rename a variable for instance.`,
27+ description: `Performs exact string replacements in a file.
28+
29+USAGE:
30+- ALWAYS use the \`${readFileTool.name}\` tool just before making edits, to understand the file's up-to-date contents and context.
31+- When editing text from ${readFileTool.name} tool output, ensure you preserve exact whitespace/indentation.
32+- Always prefer editing existing files in the codebase. NEVER write new files unless explicitly required.
33+- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
34+- Use \`replace_all\` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable, for instance.
35+
36+WARNINGS:
37+- When not using \`replace_all\`, the edit will FAIL if \`old_string\` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use \`replace_all\` to change every instance of \`old_string\`.
38+- The edit will FAIL if you have not recently used the \`${readFileTool.name}\` tool to view up-to-date file contents.`,
5539 parameters: {
5640 file_path: {
5741 type: "string",
@@ -60,13 +44,14 @@
6044 },
6145 old_string: {
6246 type: "string",
63- description: "The text to replace",
47+ description:
48+ "The text to replace - must be exact including whitespace/indentation",
6449 required: true,
6550 },
6651 new_string: {
6752 type: "string",
6853 description:
69- "The text to replace it with (must be different from old_string)",
54+ "The text to replace it with (MUST be different from old_string)",
7055 required: true,
7156 },
7257 replace_all: {
@@ -82,18 +67,12 @@
8267 new_string,
8368 replace_all = false,
8469 } = args as EditArgs;
85- throwIfFileIsSecurityConcern(file_path);
86- // Check if file has been read
87- if (!readFilesSet.has(file_path)) {
88- throw new Error(
89- `You must use the Read tool to read ${file_path} before editing it.`,
90- );
91- }
9270
9371 // Validate arguments
9472 if (!file_path) {
9573 throw new Error("file_path is required");
9674 }
75+
9776 if (!old_string) {
9877 throw new Error("old_string is required");
9978 }
@@ -104,13 +83,24 @@
10483 throw new Error("old_string and new_string must be different");
10584 }
10685
86+ const resolvedPath = fs.realpathSync(file_path);
87+
88+ // Check if file has been read
89+ if (!readFilesSet.has(resolvedPath)) {
90+ throw new Error(
91+ `You must use the ${readFileTool.name} tool to read ${file_path} before editing it.`,
92+ );
93+ }
94+
95+ throwIfFileIsSecurityConcern(resolvedPath);
96+
10797 // Check if file exists
108- if (!fs.existsSync(file_path)) {
98+ if (!fs.existsSync(resolvedPath)) {
10999 throw new Error(`File ${file_path} does not exist`);
110100 }
111101
112102 // Read current file content
113- const oldContent = fs.readFileSync(file_path, "utf-8");
103+ const oldContent = fs.readFileSync(resolvedPath, "utf-8");
114104
115105 // Check if old_string exists in the file
116106 if (!oldContent.includes(old_string)) {
@@ -134,11 +124,11 @@
134124 }
135125
136126 // Generate diff for preview
137- const diff = generateDiff(oldContent, newContent, file_path);
127+ const diff = generateDiff(oldContent, newContent, resolvedPath);
138128
139129 return {
140130 args: {
141- file_path,
131+ resolvedPath,
142132 newContent,
143133 oldContent,
144134 },
@@ -155,19 +145,19 @@
155145 };
156146 },
157147 run: async (args: {
158- file_path: string;
148+ resolvedPath: string;
159149 newContent: string;
160150 oldContent: string;
161151 }) => {
162152 try {
163- fs.writeFileSync(args.file_path, args.newContent, "utf-8");
153+ fs.writeFileSync(args.resolvedPath, args.newContent, "utf-8");
164154
165155 // Get lines for telemetry
166156 const { added, removed } = calculateLinesOfCodeDiff(
167157 args.oldContent,
168158 args.newContent,
169159 );
170- const language = getLanguageFromFilePath(args.file_path);
160+ const language = getLanguageFromFilePath(args.resolvedPath);
171161
172162 if (added > 0) {
173163 telemetryService.recordLinesOfCodeModified("added", added, language);
@@ -184,21 +174,16 @@
184174 const diff = generateDiff(
185175 args.oldContent,
186176 args.newContent,
187- args.file_path,
177+ args.resolvedPath,
188178 );
189179
190- return `Successfully edited ${args.file_path}\nDiff:\n${diff}`;
180+ return `Successfully edited ${args.resolvedPath}\nDiff:\n${diff}`;
191181 } catch (error) {
192182 throw new Error(
193- `Error: failed to edit ${args.file_path}: ${
183+ `Error: failed to edit ${args.resolvedPath}: ${
194184 error instanceof Error ? error.message : String(error)
195185 }`,
196186 );
197187 }
198188 },
199189 };
200-
201-// Function to mark a file as read (to be called from the read tool)
202-export function markFileAsRead(filePath: string) {
203- readFilesSet.add(filePath);
204-}
modified extensions/cli/src/tools/multiEdit.test.ts +5 −2
@@ -1,9 +1,10 @@
11 import * as fs from "fs";
22 import * as path from "path";
33
4-import { describe, it, expect, beforeEach, afterEach, vi } from "vitest";
4+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
55
6-import { multiEditTool, markFileAsRead } from "./multiEdit.js";
6+import { multiEditTool } from "./multiEdit.js";
7+import { markFileAsRead } from "./readFile.js";
78
89 // Mock the dependencies
910 vi.mock("../telemetry/telemetryService.js");
@@ -22,6 +23,7 @@
2223 readFileSync: vi.fn(),
2324 writeFileSync: vi.fn(),
2425 unlinkSync: vi.fn(),
26+ realpathSync: vi.fn(),
2527 };
2628 });
2729
@@ -35,6 +37,7 @@
3537 vi.mocked(fs.existsSync).mockReturnValue(true);
3638 vi.mocked(fs.readFileSync).mockReturnValue(originalContent);
3739 vi.mocked(fs.writeFileSync).mockImplementation(() => {});
40+ vi.mocked(fs.realpathSync).mockImplementation((path) => path.toString());
3841 });
3942
4043 afterEach(() => {
modified extensions/cli/src/tools/multiEdit.ts +41 −91
@@ -9,12 +9,11 @@
99 getLanguageFromFilePath,
1010 } from "../telemetry/utils.js";
1111
12-import { markFileAsRead, readFilesSet } from "./edit.js";
12+import { editTool } from "./edit.js";
13+import { readFilesSet, readFileTool } from "./readFile.js";
1314 import { Tool } from "./types.js";
1415 import { generateDiff } from "./writeFile.js";
1516
16-export { markFileAsRead };
17-
1817 export interface EditOperation {
1918 old_string: string;
2019 new_string: string;
@@ -26,15 +25,10 @@
2625 edits: EditOperation[];
2726 }
2827
29-// Function to check if file has been read (shared with edit tool)
30-function hasFileBeenRead(filePath: string): boolean {
31- return readFilesSet.has(filePath);
32-}
33-
3428 // Helper functions for multiEdit validation
3529 function validateMultiEditArgs(args: any): {
3630 original_path: string;
37- file_path: string;
31+ resolved_path: string;
3832 edits: EditOperation[];
3933 } {
4034 const { file_path, edits } = args as MultiEditArgs;
@@ -53,7 +47,9 @@
5347 ? file_path
5448 : path.resolve(process.cwd(), file_path);
5549
56- return { original_path: file_path, file_path: absolutePath, edits };
50+ const resolvedPath = fs.realpathSync(absolutePath);
51+
52+ return { original_path: file_path, resolved_path: resolvedPath, edits };
5753 }
5854
5955 function validateEdits(edits: EditOperation[]): void {
@@ -74,26 +70,25 @@
7470 }
7571
7672 function validateFileAccess(
77- original_path: string,
78- file_path: string,
73+ resolvedPath: string,
7974 isCreatingNewFile: boolean,
8075 ): void {
8176 if (isCreatingNewFile) {
8277 // For new file creation, check if parent directory exists
83- const parentDir = path.dirname(file_path);
78+ const parentDir = path.dirname(resolvedPath);
8479 if (parentDir && !fs.existsSync(parentDir)) {
8580 throw new Error(`Parent directory does not exist: ${parentDir}`);
8681 }
8782 } else {
8883 // For existing files, check if file has been read
8984 // Check with the original path first, then with absolute path
90- if (!hasFileBeenRead(original_path) && !hasFileBeenRead(file_path)) {
85+ if (!readFilesSet.has(resolvedPath)) {
9186 throw new Error(
92- `You must use the Read tool to read ${original_path} before editing it.`,
87+ `You must use the ${readFileTool.name} tool to read ${resolvedPath} before editing it.`,
9388 );
9489 }
95- if (!fs.existsSync(file_path)) {
96- throw new Error(`File ${file_path} does not exist`);
90+ if (!fs.existsSync(resolvedPath)) {
91+ throw new Error(`File ${resolvedPath} does not exist`);
9792 }
9893 }
9994 }
@@ -138,87 +133,42 @@
138133 displayName: "MultiEdit",
139134 readonly: false,
140135 isBuiltIn: true,
141- description: `This is a tool for making multiple edits to a single file in one operation. It
142-is built on top of the Edit tool and allows you to perform multiple
143-find-and-replace operations efficiently. Prefer this tool over the Edit tool
144-when you need to make multiple edits to the same file.
145-
146-
147-Before using this tool:
148-
149-
150-1. Use the Read tool to understand the file's contents and context
151-
152-2. Verify the directory path is correct
153-
154-
155-To make multiple file edits, provide the following:
156-
157-1. file_path: The absolute path to the file to modify (must be absolute, not
158-relative)
159-
136+ description: `This is a tool for making multiple edits to a single file in one operation. It is built on top of the ${editTool.name} tool and allows you to perform multiple find-and-replace operations efficiently.
137+Prefer this tool over the ${editTool.name} tool when you need to make multiple edits to the same file.
138+
139+To make multiple edits to a file, provide the following:
140+1. file_path: The absolute path to the file to modify (must be absolute, not relative)
160141 2. edits: An array of edit operations to perform, where each edit contains:
161- - old_string: The text to replace (must match the file contents exactly, including all whitespace and indentation)
142+ - old_string: The text to replace (must match the file contents exactly, including all whitespace/indentation)
162143 - new_string: The edited text to replace the old_string
163144 - replace_all: Replace all occurences of old_string. This parameter is optional and defaults to false.
164145
165146 IMPORTANT:
166-
167147 - All edits are applied in sequence, in the order they are provided
168-
169-- Each edit operates on the result of the previous edit
170-
171-- All edits must be valid for the operation to succeed - if any edit fails,
172-none will be applied
173-
174-- This tool is ideal when you need to make several changes to different parts
175-of the same file
176-
177-- For Jupyter notebooks (.ipynb files), use the NotebookEdit instead
178-
148+- Each edit operates on the result of the previous edit, so plan your edits carefully to avoid conflicts between sequential operations
149+- Edits are atomic - all edits must be valid for the operation to succeed - if any edit fails, none will be applied
150+- This tool is ideal when you need to make several changes to different parts of the same file
179151
180152 CRITICAL REQUIREMENTS:
181-
182-1. All edits follow the same requirements as the single Edit tool
183-
184-2. The edits are atomic - either all succeed or none are applied
185-
186-3. Plan your edits carefully to avoid conflicts between sequential operations
187-
188-
189-WARNING:
190-
191-- The tool will fail if edits.old_string doesn't match the file contents
192-exactly (including whitespace)
193-
194-- The tool will fail if edits.old_string and edits.new_string are the same
195-
196-- Since edits are applied in sequence, ensure that earlier edits don't affect
197-the text that later edits are trying to find
198-
199-
200-When making edits:
201-
153+1. ALWAYS use the ${readFileTool.name} tool just before making edits, to understand the file's up-to-date contents and context
154+2. When making edits:
202155 - Ensure all edits result in idiomatic, correct code
203-
204156 - Do not leave the code in a broken state
205-
206157 - Always use absolute file paths (starting with /)
207-
208-- Only use emojis if the user explicitly requests it. Avoid adding emojis to
209-files unless asked.
210-
211-- Use replace_all for replacing and renaming strings across the file. This
212-parameter is useful if you want to rename a variable for instance.
213-
158+- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
159+- Use replace_all for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.
214160
215161 If you want to create a new file, use:
216-
217-- A new file path, including dir name if needed
218-
162+- A new file path, including new directory if needed
219163 - First edit: empty old_string and the new file's contents as new_string
220-
221-- Subsequent edits: normal edit operations on the created content`,
164+- Subsequent edits: normal edit operations on the created content
165+- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required
166+
167+WARNINGS:
168+- If earlier edits affect the text that later edits are trying to find, files can become mangled
169+- The tool will fail if edits.old_string doesn't match the file contents exactly (including whitespace)
170+- The tool will fail if edits.old_string and edits.new_string are the same - they MUST be different
171+- The tool will fail if you have not used the ${readFileTool.name} tool to read the file in this session`,
222172 parameters: {
223173 file_path: {
224174 type: "string",
@@ -237,9 +187,9 @@
237187 },
238188 preprocess: async (args) => {
239189 // Validate and extract arguments
240- const { original_path, file_path, edits } = validateMultiEditArgs(args);
190+ const { resolved_path, edits } = validateMultiEditArgs(args);
241191
242- throwIfFileIsSecurityConcern(file_path);
192+ throwIfFileIsSecurityConcern(resolved_path);
243193
244194 // Validate each edit operation
245195 validateEdits(edits);
@@ -248,12 +198,12 @@
248198 const isCreatingNewFile = edits[0].old_string === "";
249199
250200 // Validate file access
251- validateFileAccess(original_path, file_path, isCreatingNewFile);
201+ validateFileAccess(resolved_path, isCreatingNewFile);
252202
253203 // Read current file content (or start with empty for new files)
254204 let currentContent = "";
255205 if (!isCreatingNewFile) {
256- currentContent = fs.readFileSync(file_path, "utf-8");
206+ currentContent = fs.readFileSync(resolved_path, "utf-8");
257207 }
258208
259209 const originalContent = currentContent;
@@ -266,11 +216,11 @@
266216 }
267217
268218 // Generate diff for preview
269- const diff = generateDiff(originalContent, newContent, file_path);
219+ const diff = generateDiff(originalContent, newContent, resolved_path);
270220
271221 return {
272222 args: {
273- file_path,
223+ file_path: resolved_path,
274224 newContent,
275225 originalContent,
276226 isCreatingNewFile,
@@ -279,7 +229,7 @@
279229 preview: [
280230 {
281231 type: "text",
282- content: `Will apply ${edits.length} edit${edits.length === 1 ? "" : "s"} to ${isCreatingNewFile ? "create" : "modify"} ${file_path}:`,
232+ content: `Will apply ${edits.length} edit${edits.length === 1 ? "" : "s"} to ${isCreatingNewFile ? "create" : "modify"} ${resolved_path}:`,
283233 },
284234 {
285235 type: "diff",
modified extensions/cli/src/tools/readFile.ts +15 −5
@@ -2,10 +2,15 @@
22
33 import { throwIfFileIsSecurityConcern } from "core/indexing/ignore.js";
44
5-import { markFileAsRead } from "./edit.js";
65 import { formatToolArgument } from "./formatters.js";
76 import { Tool } from "./types.js";
87
8+// Track files that have been read in the current session
9+export const readFilesSet = new Set<string>();
10+export function markFileAsRead(filePath: string) {
11+ readFilesSet.add(filePath);
12+}
13+
914 export const readFileTool: Tool = {
1015 name: "Read",
1116 displayName: "Read",
@@ -20,13 +25,17 @@
2025 readonly: true,
2126 isBuiltIn: true,
2227 preprocess: async (args) => {
23- throwIfFileIsSecurityConcern(args.filepath);
28+ let { filepath } = args;
29+ if (filepath.startsWith("./")) {
30+ filepath = filepath.slice(2);
31+ }
32+ throwIfFileIsSecurityConcern(filepath);
2433 return {
2534 args,
2635 preview: [
2736 {
2837 type: "text",
29- content: `Will read ${formatToolArgument(args.filepath)}`,
38+ content: `Will read ${formatToolArgument(filepath)}`,
3039 },
3140 ],
3241 };
@@ -41,9 +50,10 @@
4150 if (!fs.existsSync(filepath)) {
4251 return `Error: File does not exist: ${filepath}`;
4352 }
44- const content = fs.readFileSync(filepath, "utf-8");
53+ const realPath = fs.realpathSync(filepath);
54+ const content = fs.readFileSync(realPath, "utf-8");
4555 // Mark this file as read for the edit tool
46- markFileAsRead(filepath);
56+ markFileAsRead(realPath);
4757
4858 const lines = content.split("\n");
4959 if (lines.length > 5000) {
modified extensions/cli/src/ui/UserInput.tsx +1 −1
@@ -801,7 +801,7 @@
801801 color={showBashMode ? "yellow" : isRemoteMode ? "cyan" : "blue"}
802802 bold
803803 >
804- {showBashMode ? "$" : isRemoteMode ? "◉" : "●"}
804+ {showBashMode ? "$ " : isRemoteMode ? "◉ " : "● "}
805805 </Text>
806806 {renderInputText()}
807807 </Box>
modified extensions/cli/src/ui/components/StaticChatContent.tsx +15 −38
@@ -74,14 +74,12 @@
7474 }, [chatHistory]);
7575
7676 // Split chat history into stable and pending items
77- // Only put items in pending if they contain tool calls with "calling" status
78- // Everything else goes into static content
77+ // The last two items may have pending tool calls
7978 const { staticItems, pendingItems } = React.useMemo(() => {
80- const items: React.ReactElement[] = [];
81-
8279 // Add intro message as first item if it should be shown
80+ const staticItems: React.ReactElement[] = [];
8381 if (showIntroMessage) {
84- items.push(
82+ staticItems.push(
8583 <IntroMessage
8684 key="intro"
8785 config={config}
@@ -91,48 +89,27 @@
9189 );
9290 }
9391
94- // Helper function to check if an item has pending tool calls
95- const hasPendingToolCalls = (item: ChatHistoryItem): boolean => {
96- return !!(
97- item.toolCallStates &&
98- item.toolCallStates.some(
99- (toolState) =>
100- toolState.status === "calling" ||
101- toolState.status === "generating" ||
102- toolState.status === "generated",
103- )
104- );
105- };
106-
107- // Find the first message with pending tool calls from the end
108- let pendingStartIndex = filteredChatHistory.length;
109- for (let i = filteredChatHistory.length - 1; i >= 0; i--) {
110- if (hasPendingToolCalls(filteredChatHistory[i])) {
111- pendingStartIndex = i;
112- // If there's a message after this one, include it too as it might be related
113- if (i + 1 < filteredChatHistory.length) {
114- // Keep the pending start index as is, so we include the next message
115- }
116- break;
117- }
118- }
119-
120- const stableHistory = filteredChatHistory.slice(0, pendingStartIndex);
121- const pendingHistory = filteredChatHistory.slice(pendingStartIndex);
92+ const PENDING_ITEMS_COUNT = 2;
93+ const stableCount = Math.max(
94+ 0,
95+ filteredChatHistory.length - PENDING_ITEMS_COUNT,
96+ );
97+ const stableHistory = filteredChatHistory.slice(0, stableCount);
98+ const pendingHistory = filteredChatHistory.slice(stableCount);
12299
123100 // Add stable messages to static items
124101 stableHistory.forEach((item, index) => {
125- items.push(renderMessage(item, index));
102+ staticItems.push(renderMessage(item, index));
126103 });
127104
128105 // Pending items will be rendered dynamically outside Static
129- const pendingElements = pendingHistory.map((item, index) =>
130- renderMessage(item, pendingStartIndex + index),
106+ const pendingItems = pendingHistory.map((item, index) =>
107+ renderMessage(item, stableCount + index),
131108 );
132109
133110 return {
134- staticItems: items,
135- pendingItems: pendingElements,
111+ staticItems,
112+ pendingItems,
136113 };
137114 }, [
138115 showIntroMessage,
modified extensions/cli/src/ui/hooks/useChat.clear.test.ts +0 −6
@@ -15,7 +15,6 @@
1515
1616 describe("useChat clear command", () => {
1717 let mockSetChatHistory: ReturnType<typeof vi.fn>;
18- let mockExit: ReturnType<typeof vi.fn>;
1918 let mockOnClear: ReturnType<typeof vi.fn>;
2019
2120 beforeEach(() => {
@@ -23,7 +22,6 @@
2322 vi.clearAllMocks();
2423
2524 mockSetChatHistory = vi.fn();
26- mockExit = vi.fn();
2725 mockOnClear = vi.fn();
2826 });
2927
@@ -44,7 +42,6 @@
4442 result,
4543 chatHistory,
4644 setChatHistory: mockSetChatHistory,
47- exit: mockExit,
4845 onShowConfigSelector: vi.fn(),
4946 onClear: mockOnClear,
5047 });
@@ -91,7 +88,6 @@
9188 result,
9289 chatHistory,
9390 setChatHistory: mockSetChatHistory,
94- exit: mockExit,
9591 onShowConfigSelector: vi.fn(),
9692 // onClear is not provided
9793 });
@@ -127,7 +123,6 @@
127123 result,
128124 chatHistory,
129125 setChatHistory: mockSetChatHistory,
130- exit: mockExit,
131126 onShowConfigSelector: vi.fn(),
132127 onClear: mockOnClear,
133128 });
@@ -149,7 +144,6 @@
149144 result,
150145 chatHistory,
151146 setChatHistory: mockSetChatHistory,
152- exit: mockExit,
153147 onShowConfigSelector: vi.fn(),
154148 onClear: mockOnClear,
155149 });
modified extensions/cli/src/ui/hooks/useChat.helpers.ts +1 −4
@@ -46,7 +46,6 @@
4646 result: SlashCommandResult;
4747 chatHistory: ChatHistoryItem[];
4848 setChatHistory: React.Dispatch<React.SetStateAction<ChatHistoryItem[]>>;
49- exit: () => void;
5049 onShowConfigSelector: () => void;
5150 onShowModelSelector?: () => void;
5251 onShowMCPSelector?: () => void;
@@ -61,7 +60,6 @@
6160 result,
6261 chatHistory,
6362 setChatHistory,
64- exit,
6563 onShowConfigSelector,
6664 onShowModelSelector,
6765 onShowMCPSelector,
@@ -69,8 +67,7 @@
6967 onClear,
7068 }: ProcessSlashCommandResultOptions): string | null {
7169 if (result.exit) {
72- exit();
73- return null;
70+ process.exit(0);
7471 }
7572
7673 if (result.openMcpSelector) {
modified extensions/cli/src/ui/hooks/useChat.ts +0 −1
@@ -370,7 +370,6 @@
370370 result: commandResult,
371371 chatHistory,
372372 setChatHistory,
373- exit,
374373 onShowConfigSelector,
375374 onShowModelSelector,
376375 onShowMCPSelector,
modified extensions/cli/src/ui/hooks/useUserInput.ts +1 −1
@@ -76,7 +76,7 @@
7676 // Handle Ctrl+D to exit
7777 if (key.ctrl && input === "d") {
7878 exit();
79- return true;
79+ process.exit(0);
8080 }
8181
8282 // Handle Ctrl+L to refresh screen (clear terminal artifacts)
modified extensions/cli/src/ui/index.ts +4 −1
@@ -1,7 +1,7 @@
11 import { render, RenderOptions } from "ink";
22 import React from "react";
33
4-import { setTUIUnmount } from "../index.js";
4+import { enableSigintHandler, setTUIUnmount } from "../index.js";
55 import { PermissionMode } from "../permissions/types.js";
66 import { initializeServices } from "../services/index.js";
77 import { ServiceContainerProvider } from "../services/ServiceContainerContext.js";
@@ -79,6 +79,9 @@
7979 // Register unmount function with main process for two-stage Ctrl+C exit
8080 setTUIUnmount(unmount);
8181
82+ // Enable the two-stage SIGINT handler for TUI mode
83+ enableSigintHandler();
84+
8285 return { unmount };
8386 }
8487
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/browser/ContinueBrowser.kt +9 −3
@@ -1,28 +1,29 @@
11 package com.github.continuedev.continueintellijextension.browser
22
33 import com.github.continuedev.continueintellijextension.constants.MessageTypes
4-import com.github.continuedev.continueintellijextension.services.ContinueExtensionSettings
54 import com.github.continuedev.continueintellijextension.services.ContinuePluginService
65 import com.github.continuedev.continueintellijextension.utils.uuid
76 import com.google.gson.Gson
7+import com.intellij.openapi.Disposable
88 import com.intellij.openapi.components.service
99 import com.intellij.openapi.diagnostic.Logger
1010 import com.intellij.openapi.project.Project
11+import com.intellij.openapi.util.Disposer
1112 import com.intellij.ui.jcef.*
1213 import org.cef.CefApp
1314 import org.cef.browser.CefBrowser
1415 import org.cef.handler.CefLoadHandlerAdapter
1516 import javax.swing.JComponent
1617
17-class ContinueBrowser(private val project: Project) {
18+class ContinueBrowser(private val project: Project): Disposable {
1819
1920 private val log = Logger.getInstance(ContinueBrowser::class.java.simpleName)
2021 private val browser: JBCefBrowser = JBCefBrowser.createBuilder().setOffScreenRendering(true).build()
22+ private val myJSQueryOpenInBrowser = JBCefJSQuery.create(browser as JBCefBrowserBase)
2123
2224 init {
2325 CefApp.getInstance().registerSchemeHandlerFactory("http", "continue", CustomSchemeHandlerFactory())
2426 browser.jbCefClient.setProperty(JBCefClient.Properties.JS_QUERY_POOL_SIZE, 200)
25- val myJSQueryOpenInBrowser = JBCefJSQuery.create(browser as JBCefBrowserBase)
2627 myJSQueryOpenInBrowser.addHandler { msg: String? ->
2728 val json = Gson().fromJson(msg, BrowserMessage::class.java)
2829 val messageType = json.messageType
@@ -100,6 +101,11 @@
100101 browser.cefBrowser.executeJavaScript(script, getGuiUrl(), 0)
101102 }
102103
104+ override fun dispose() {
105+ Disposer.dispose(myJSQueryOpenInBrowser)
106+ Disposer.dispose(browser)
107+ }
108+
103109 // todo: remove and use types.Message
104110 private data class BrowserMessage(
105111 val messageType: String,
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/browser/ContinueBrowserService.kt +13 −3
@@ -1,22 +1,32 @@
11 package com.github.continuedev.continueintellijextension.browser
22
3+import com.intellij.openapi.Disposable
34 import com.intellij.openapi.components.Service
45 import com.intellij.openapi.components.service
56 import com.intellij.openapi.project.Project
7+import com.intellij.openapi.util.Disposer
68 import com.intellij.ui.jcef.JBCefApp
79
810 @Service(Service.Level.PROJECT)
9-class ContinueBrowserService(project: Project) {
11+class ContinueBrowserService(project: Project): Disposable {
1012
1113 private val browser: ContinueBrowser? =
1214 if (JBCefApp.isSupported())
1315 ContinueBrowser(project)
1416 else null
1517
18+ override fun dispose() {
19+ if (browser != null)
20+ Disposer.dispose(browser)
21+ }
22+
1623 companion object {
1724
18- fun Project.getBrowser() =
19- service<ContinueBrowserService>().browser
25+ fun Project.getBrowser(): ContinueBrowser? {
26+ if (isDisposed)
27+ return null
28+ return service<ContinueBrowserService>().browser
29+ }
2030
2131 }
2232 }
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/MessageTypes.kt +0 −1
@@ -37,7 +37,6 @@
3737 "applyToFile",
3838 "getControlPlaneSessionInfo",
3939 "logoutOfControlPlane",
40- "getTerminalContents",
4140 "showToast",
4241 "openUrl",
4342 "isWorkspaceRemote",
modified extensions/vscode/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

modified extensions/vscode/package.json +1 −1
@@ -699,7 +699,7 @@
699699 "devDependencies": {
700700 "@biomejs/biome": "1.6.4",
701701 "@nestjs/common": "^11.0.16",
702- "@openapitools/openapi-generator-cli": "^2.20.0",
702+ "@openapitools/openapi-generator-cli": "^2.23.1",
703703 "@types/chai": "^5.0.1",
704704 "@types/cors": "^2.8.17",
705705 "@types/express": "^4.17.21",
modified gui/src/components/mainInput/TipTapEditor/TipTapEditor.tsx +1 −1
@@ -204,6 +204,7 @@
204204 setShowDragOverMsg(true);
205205 }}
206206 onDrop={(event) => {
207+ setShowDragOverMsg(false);
207208 if (
208209 !defaultModel ||
209210 !modelSupportsImages(
@@ -215,7 +216,6 @@
215216 ) {
216217 return;
217218 }
218- setShowDragOverMsg(false);
219219 let file = event.dataTransfer.files[0];
220220 void handleImageFile(ideMessenger, file).then((result) => {
221221 if (!editor) {
modified gui/src/pages/AddNewModel/configs/models.ts +10 −25
@@ -1184,42 +1184,27 @@
11841184 icon: "openai.png",
11851185 isOpenSource: false,
11861186 },
1187- claude35Sonnet: {
1188- title: "Claude 3.5 Sonnet",
1187+ claude4Sonnet: {
1188+ title: "Claude 4 Sonnet",
11891189 description:
1190- "Anthropic's most intelligent model, but much less expensive than Claude 3 Opus",
1190+ "The most intelligent model in the Claude 4 series. Costing lesser than Claude 4 Opus.",
11911191 params: {
1192- model: "claude-3-5-sonnet-latest",
1192+ model: "claude-4-sonnet-latest",
11931193 contextLength: 200_000,
1194- title: "Claude 3.5 Sonnet",
1194+ title: "Claude 4 Sonnet",
11951195 apiKey: "",
11961196 },
11971197 providerOptions: ["anthropic", "askSage"],
11981198 icon: "anthropic.png",
11991199 isOpenSource: false,
12001200 },
1201- claude3Opus: {
1202- title: "Claude 3 Opus",
1203- description:
1204- "The most capable model in the Claude 3 series, beating GPT-4 on many benchmarks",
1205- params: {
1206- model: "claude-3-opus-20240229",
1207- contextLength: 200_000,
1208- title: "Claude 3 Opus",
1209- apiKey: "",
1210- },
1211- providerOptions: ["anthropic", "askSage"],
1212- icon: "anthropic.png",
1213- isOpenSource: false,
1214- },
1215- claude3Sonnet: {
1216- title: "Claude 3 Sonnet",
1217- description:
1218- "The second most capable model in the Claude 3 series: ideal balance of intelligence and speed",
1201+ claude41Opus: {
1202+ title: "Claude 4.1 Opus",
1203+ description: "The most capable model in the Claude 4 series",
12191204 params: {
1220- model: "claude-3-sonnet-20240229",
1205+ model: "claude-opus-4-1-20250805",
12211206 contextLength: 200_000,
1222- title: "Claude 3 Sonnet",
1207+ title: "Claude 4.1 Opus",
12231208 apiKey: "",
12241209 },
12251210 providerOptions: ["anthropic", "askSage"],
modified gui/src/pages/AddNewModel/configs/providers.ts +1 −6
@@ -107,12 +107,7 @@
107107 defaultValue: 100000,
108108 },
109109 ],
110- packages: [
111- models.claude35Sonnet,
112- models.claude3Opus,
113- models.claude3Sonnet,
114- models.claude35Haiku,
115- ],
110+ packages: [models.claude4Sonnet, models.claude41Opus, models.claude35Haiku],
116111 apiKeyUrl: "https://console.anthropic.com/account/keys",
117112 },
118113 moonshot: {
modified gui/src/pages/gui/Chat.tsx +11 −13
@@ -288,19 +288,17 @@
288288
289289 if (message.role === "user") {
290290 return (
291- <div className={isBeforeLatestSummary ? "opacity-50" : ""}>
292- <ContinueInputBox
293- onEnter={(editorState, modifiers) =>
294- sendInput(editorState, modifiers, index)
295- }
296- isLastUserInput={isLastUserInput(index)}
297- isMainInput={false}
298- editorState={editorState}
299- contextItems={contextItems}
300- appliedRules={appliedRules}
301- inputId={message.id}
302- />
303- </div>
291+ <ContinueInputBox
292+ onEnter={(editorState, modifiers) =>
293+ sendInput(editorState, modifiers, index)
294+ }
295+ isLastUserInput={isLastUserInput(index)}
296+ isMainInput={false}
297+ editorState={editorState}
298+ contextItems={contextItems}
299+ appliedRules={appliedRules}
300+ inputId={message.id}
301+ />
304302 );
305303 }
306304
modified packages/continue-sdk/python/api/docs/DefaultApi.md +25 −25
@@ -4,12 +4,12 @@
44
55 | Method | HTTP request | Description |
66 | ---------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------- |
7-| [**get_assistant**](DefaultApi.md#get_assistant) | **GET** /ide/get-assistant/{ownerSlug}/{packageSlug} | Get a specific assistant by slug |
7+| [**get_assistant**](DefaultApi.md#get_assistant) | **GET** /ide/get-assistant/{ownerSlug}/{packageSlug} | Get a specific agent by slug |
88 | [**get_free_trial_status**](DefaultApi.md#get_free_trial_status) | **GET** /ide/free-trial-status | Get free trial status for user |
99 | [**get_models_add_on_checkout_url**](DefaultApi.md#get_models_add_on_checkout_url) | **GET** /ide/get-models-add-on-checkout-url | Get Stripe checkout URL for models add-on |
1010 | [**get_policy**](DefaultApi.md#get_policy) | **GET** /ide/policy | Get organization policy |
11-| [**list_assistant_full_slugs**](DefaultApi.md#list_assistant_full_slugs) | **GET** /ide/list-assistant-full-slugs | List assistant full slugs (currently returns 429) |
12-| [**list_assistants**](DefaultApi.md#list_assistants) | **GET** /ide/list-assistants | List assistants for IDE |
11+| [**list_assistant_full_slugs**](DefaultApi.md#list_assistant_full_slugs) | **GET** /ide/list-assistant-full-slugs | List agent full slugs (currently returns 429) |
12+| [**list_assistants**](DefaultApi.md#list_assistants) | **GET** /ide/list-assistants | List agents for IDE |
1313 | [**list_organizations**](DefaultApi.md#list_organizations) | **GET** /ide/list-organizations | List organizations for user |
1414 | [**sync_secrets**](DefaultApi.md#sync_secrets) | **POST** /ide/sync-secrets | Synchronize secrets for user |
1515
@@ -17,10 +17,10 @@
1717
1818 > GetAssistant200Response get_assistant(owner_slug, package_slug, always_use_proxy=always_use_proxy, organization_id=organization_id)
1919
20-Get a specific assistant by slug
20+Get a specific agent by slug
2121
22-Returns a single assistant configuration by its owner and package slug.
23-This endpoint is useful when you need to retrieve or refresh a specific assistant
22+Returns a single agent configuration by its owner and package slug.
23+This endpoint is useful when you need to retrieve or refresh a specific agent
2424 without fetching the entire list.
2525
2626 ### Example
@@ -53,13 +53,13 @@
5353 with openapi_client.ApiClient(configuration) as api_client:
5454 # Create an instance of the API class
5555 api_instance = openapi_client.DefaultApi(api_client)
56- owner_slug = 'owner_slug_example' # str | Slug of the user or organization that owns the assistant
57- package_slug = 'package_slug_example' # str | Slug of the assistant package
56+ owner_slug = 'owner_slug_example' # str | Slug of the user or organization that owns the agent
57+ package_slug = 'package_slug_example' # str | Slug of the agent package
5858 always_use_proxy = 'always_use_proxy_example' # str | Whether to always use the Continue-managed proxy for model requests (optional)
59- organization_id = 'organization_id_example' # str | ID of the organization to scope assistants to. If not provided, personal assistants are returned. (optional)
59+ organization_id = 'organization_id_example' # str | ID of the organization to scope agents to. If not provided, personal agents are returned. (optional)
6060
6161 try:
62- # Get a specific assistant by slug
62+ # Get a specific agent by slug
6363 api_response = api_instance.get_assistant(owner_slug, package_slug, always_use_proxy=always_use_proxy, organization_id=organization_id)
6464 print("The response of DefaultApi->get_assistant:\n")
6565 pprint(api_response)
@@ -71,10 +71,10 @@
7171
7272 | Name | Type | Description | Notes |
7373 | -------------------- | ------- | ------------------------------------------------------------------------------------------------- | ---------- |
74-| **owner_slug** | **str** | Slug of the user or organization that owns the assistant |
75-| **package_slug** | **str** | Slug of the assistant package |
74+| **owner_slug** | **str** | Slug of the user or organization that owns the agent |
75+| **package_slug** | **str** | Slug of the agent package |
7676 | **always_use_proxy** | **str** | Whether to always use the Continue-managed proxy for model requests | [optional] |
77-| **organization_id** | **str** | ID of the organization to scope assistants to. If not provided, personal assistants are returned. | [optional] |
77+| **organization_id** | **str** | ID of the organization to scope agents to. If not provided, personal agents are returned. | [optional] |
7878
7979 ### Return type
8080
@@ -93,10 +93,10 @@
9393
9494 | Status code | Description | Response headers |
9595 | ----------- | ------------------------------------------------- | ---------------- |
96-| **200** | Successfully retrieved assistant | - |
96+| **200** | Successfully retrieved agent | - |
9797 | **401** | Unauthorized - Authentication failed | - |
9898 | **403** | Forbidden - Assistant not allowed in organization | - |
99-| **404** | User or assistant not found | - |
99+| **404** | User or agent not found | - |
100100
101101 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
102102
@@ -335,10 +335,10 @@
335335
336336 > list_assistant_full_slugs()
337337
338-List assistant full slugs (currently returns 429)
338+List agent full slugs (currently returns 429)
339339
340340 This endpoint is temporarily disabled and returns a 429 status code
341-to prevent constant refreshes of the full assistant list until a
341+to prevent constant refreshes of the full agent list until a
342342 fixed client version can be deployed.
343343
344344 ### Example
@@ -372,7 +372,7 @@
372372 api_instance = openapi_client.DefaultApi(api_client)
373373
374374 try:
375- # List assistant full slugs (currently returns 429)
375+ # List agent full slugs (currently returns 429)
376376 api_instance.list_assistant_full_slugs()
377377 except Exception as e:
378378 print("Exception when calling DefaultApi->list_assistant_full_slugs: %s\n" % e)
@@ -407,12 +407,12 @@
407407
408408 > List[ListAssistants200ResponseInner] list_assistants(always_use_proxy=always_use_proxy, organization_id=organization_id)
409409
410-List assistants for IDE
410+List agents for IDE
411411
412-Returns a complete list of assistants available to the user, with their full configurations,
412+Returns a complete list of agents available to the user, with their full configurations,
413413 icons, and other metadata needed by the IDE to display and use them.
414414
415-This endpoint performs a full refresh of the list of assistants, including unrolling
415+This endpoint performs a full refresh of the list of agents, including unrolling
416416 configurations and resolving secrets.
417417
418418 ### Example
@@ -446,10 +446,10 @@
446446 # Create an instance of the API class
447447 api_instance = openapi_client.DefaultApi(api_client)
448448 always_use_proxy = 'always_use_proxy_example' # str | Whether to always use the Continue-managed proxy for model requests (optional)
449- organization_id = 'organization_id_example' # str | ID of the organization to scope assistants to. If not provided, personal assistants are returned. (optional)
449+ organization_id = 'organization_id_example' # str | ID of the organization to scope agents to. If not provided, personal agents are returned. (optional)
450450
451451 try:
452- # List assistants for IDE
452+ # List agents for IDE
453453 api_response = api_instance.list_assistants(always_use_proxy=always_use_proxy, organization_id=organization_id)
454454 print("The response of DefaultApi->list_assistants:\n")
455455 pprint(api_response)
@@ -462,7 +462,7 @@
462462 | Name | Type | Description | Notes |
463463 | -------------------- | ------- | ------------------------------------------------------------------------------------------------- | ---------- |
464464 | **always_use_proxy** | **str** | Whether to always use the Continue-managed proxy for model requests | [optional] |
465-| **organization_id** | **str** | ID of the organization to scope assistants to. If not provided, personal assistants are returned. | [optional] |
465+| **organization_id** | **str** | ID of the organization to scope agents to. If not provided, personal agents are returned. | [optional] |
466466
467467 ### Return type
468468
@@ -481,7 +481,7 @@
481481
482482 | Status code | Description | Response headers |
483483 | ----------- | ------------------------------------ | ---------------- |
484-| **200** | Successfully retrieved assistants | - |
484+| **200** | Successfully retrieved agents | - |
485485 | **401** | Unauthorized - Authentication failed | - |
486486 | **404** | User not found | - |
487487
modified packages/continue-sdk/python/api/docs/GetAssistant200Response.md +4 −4
@@ -5,12 +5,12 @@
55 | Name | Type | Description | Notes |
66 | --------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ---------- |
77 | **config_result** | [**ListAssistants200ResponseInnerConfigResult**](ListAssistants200ResponseInnerConfigResult.md) | |
8-| **owner_slug** | **str** | Slug of the user or organization that owns the assistant |
9-| **package_slug** | **str** | Slug of the assistant package |
10-| **icon_url** | **str** | Pre-signed URL for the assistant&#39;s icon | [optional] |
8+| **owner_slug** | **str** | Slug of the user or organization that owns the agent |
9+| **package_slug** | **str** | Slug of the agent package |
10+| **icon_url** | **str** | Pre-signed URL for the agent&#39;s icon | [optional] |
1111 | **on_prem_proxy_url** | **str** | URL of the on-premises proxy if the organization uses one | [optional] |
1212 | **use_on_prem_proxy** | **bool** | Whether the organization uses an on-premises proxy | [optional] |
13-| **raw_yaml** | **str** | Raw YAML configuration of the assistant | [optional] |
13+| **raw_yaml** | **str** | Raw YAML configuration of the agent | [optional] |
1414
1515 ## Example
1616
modified packages/continue-sdk/python/api/docs/ListAssistants200ResponseInner.md +4 −4
@@ -5,12 +5,12 @@
55 | Name | Type | Description | Notes |
66 | --------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ---------- |
77 | **config_result** | [**ListAssistants200ResponseInnerConfigResult**](ListAssistants200ResponseInnerConfigResult.md) | |
8-| **owner_slug** | **str** | Slug of the user or organization that owns the assistant |
9-| **package_slug** | **str** | Slug of the assistant package |
10-| **icon_url** | **str** | Pre-signed URL for the assistant&#39;s icon | [optional] |
8+| **owner_slug** | **str** | Slug of the user or organization that owns the agent |
9+| **package_slug** | **str** | Slug of the agent package |
10+| **icon_url** | **str** | Pre-signed URL for the agent&#39;s icon | [optional] |
1111 | **on_prem_proxy_url** | **str** | URL of the on-premises proxy if the organization uses one | [optional] |
1212 | **use_on_prem_proxy** | **bool** | Whether the organization uses an on-premises proxy | [optional] |
13-| **raw_yaml** | **str** | Raw YAML configuration of the assistant | [optional] |
13+| **raw_yaml** | **str** | Raw YAML configuration of the agent | [optional] |
1414
1515 ## Example
1616
modified packages/continue-sdk/python/api/docs/ListAssistants200ResponseInnerConfigResult.md +1 −1
@@ -4,7 +4,7 @@
44
55 | Name | Type | Description | Notes |
66 | --------------------------- | ------------- | ----------------------------------------------------- | ---------- |
7-| **config** | **object** | The unrolled assistant configuration |
7+| **config** | **object** | The unrolled agent configuration |
88 | **config_load_interrupted** | **bool** | Whether the configuration loading was interrupted |
99 | **errors** | **List[str]** | Any errors that occurred during configuration loading | [optional] |
1010
modified packages/openai-adapters/src/apis/Anthropic.ts +9 −3
@@ -174,13 +174,19 @@
174174 }
175175 return part;
176176 }
177+ const dataUrl =
178+ (part as OpenAI.Chat.Completions.ChatCompletionContentPartImage)
179+ ?.image_url?.url || "";
180+ // Extract media type from data URL (ex. "data:image/png;base64,..." -> "image/png")
181+ const mediaTypeMatch = dataUrl.match(/^data:([^;]+);base64,/);
182+ const mediaType = mediaTypeMatch ? mediaTypeMatch[1] : "image/jpeg";
183+
177184 return {
178185 type: "image",
179186 source: {
180187 type: "base64",
181- media_type: "image/jpeg",
182- // @ts-ignore
183- data: part.image_url.url.split(",")[1],
188+ media_type: mediaType,
189+ data: dataUrl.split(",")[1],
184190 },
185191 };
186192 })
modified packages/terminal-security/package-lock.json +432 −659
@@ -15,13 +15,13 @@
1515 "@types/node": "^20.11.19",
1616 "@types/shell-quote": "^1.7.5",
1717 "typescript": "^5.5.2",
18- "vitest": "^1.6.0"
18+ "vitest": "^3.2.4"
1919 }
2020 },
2121 "node_modules/@esbuild/aix-ppc64": {
22- "version": "0.21.5",
23- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
24- "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
22+ "version": "0.25.9",
23+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz",
24+ "integrity": "sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==",
2525 "cpu": [
2626 "ppc64"
2727 ],
@@ -32,13 +32,13 @@
3232 "aix"
3333 ],
3434 "engines": {
35- "node": ">=12"
35+ "node": ">=18"
3636 }
3737 },
3838 "node_modules/@esbuild/android-arm": {
39- "version": "0.21.5",
40- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
41- "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
39+ "version": "0.25.9",
40+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.9.tgz",
41+ "integrity": "sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==",
4242 "cpu": [
4343 "arm"
4444 ],
@@ -49,13 +49,13 @@
4949 "android"
5050 ],
5151 "engines": {
52- "node": ">=12"
52+ "node": ">=18"
5353 }
5454 },
5555 "node_modules/@esbuild/android-arm64": {
56- "version": "0.21.5",
57- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
58- "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
56+ "version": "0.25.9",
57+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz",
58+ "integrity": "sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==",
5959 "cpu": [
6060 "arm64"
6161 ],
@@ -66,13 +66,13 @@
6666 "android"
6767 ],
6868 "engines": {
69- "node": ">=12"
69+ "node": ">=18"
7070 }
7171 },
7272 "node_modules/@esbuild/android-x64": {
73- "version": "0.21.5",
74- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
75- "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
73+ "version": "0.25.9",
74+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.9.tgz",
75+ "integrity": "sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==",
7676 "cpu": [
7777 "x64"
7878 ],
@@ -83,13 +83,13 @@
8383 "android"
8484 ],
8585 "engines": {
86- "node": ">=12"
86+ "node": ">=18"
8787 }
8888 },
8989 "node_modules/@esbuild/darwin-arm64": {
90- "version": "0.21.5",
91- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
92- "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
90+ "version": "0.25.9",
91+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz",
92+ "integrity": "sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==",
9393 "cpu": [
9494 "arm64"
9595 ],
@@ -100,13 +100,13 @@
100100 "darwin"
101101 ],
102102 "engines": {
103- "node": ">=12"
103+ "node": ">=18"
104104 }
105105 },
106106 "node_modules/@esbuild/darwin-x64": {
107- "version": "0.21.5",
108- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
109- "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
107+ "version": "0.25.9",
108+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz",
109+ "integrity": "sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==",
110110 "cpu": [
111111 "x64"
112112 ],
@@ -117,13 +117,13 @@
117117 "darwin"
118118 ],
119119 "engines": {
120- "node": ">=12"
120+ "node": ">=18"
121121 }
122122 },
123123 "node_modules/@esbuild/freebsd-arm64": {
124- "version": "0.21.5",
125- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
126- "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
124+ "version": "0.25.9",
125+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz",
126+ "integrity": "sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==",
127127 "cpu": [
128128 "arm64"
129129 ],
@@ -134,13 +134,13 @@
134134 "freebsd"
135135 ],
136136 "engines": {
137- "node": ">=12"
137+ "node": ">=18"
138138 }
139139 },
140140 "node_modules/@esbuild/freebsd-x64": {
141- "version": "0.21.5",
142- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
143- "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
141+ "version": "0.25.9",
142+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz",
143+ "integrity": "sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==",
144144 "cpu": [
145145 "x64"
146146 ],
@@ -151,13 +151,13 @@
151151 "freebsd"
152152 ],
153153 "engines": {
154- "node": ">=12"
154+ "node": ">=18"
155155 }
156156 },
157157 "node_modules/@esbuild/linux-arm": {
158- "version": "0.21.5",
159- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
160- "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
158+ "version": "0.25.9",
159+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz",
160+ "integrity": "sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==",
161161 "cpu": [
162162 "arm"
163163 ],
@@ -168,13 +168,13 @@
168168 "linux"
169169 ],
170170 "engines": {
171- "node": ">=12"
171+ "node": ">=18"
172172 }
173173 },
174174 "node_modules/@esbuild/linux-arm64": {
175- "version": "0.21.5",
176- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
177- "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
175+ "version": "0.25.9",
176+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz",
177+ "integrity": "sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==",
178178 "cpu": [
179179 "arm64"
180180 ],
@@ -185,13 +185,13 @@
185185 "linux"
186186 ],
187187 "engines": {
188- "node": ">=12"
188+ "node": ">=18"
189189 }
190190 },
191191 "node_modules/@esbuild/linux-ia32": {
192- "version": "0.21.5",
193- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
194- "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
192+ "version": "0.25.9",
193+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz",
194+ "integrity": "sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==",
195195 "cpu": [
196196 "ia32"
197197 ],
@@ -202,13 +202,13 @@
202202 "linux"
203203 ],
204204 "engines": {
205- "node": ">=12"
205+ "node": ">=18"
206206 }
207207 },
208208 "node_modules/@esbuild/linux-loong64": {
209- "version": "0.21.5",
210- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
211- "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
209+ "version": "0.25.9",
210+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz",
211+ "integrity": "sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==",
212212 "cpu": [
213213 "loong64"
214214 ],
@@ -219,13 +219,13 @@
219219 "linux"
220220 ],
221221 "engines": {
222- "node": ">=12"
222+ "node": ">=18"
223223 }
224224 },
225225 "node_modules/@esbuild/linux-mips64el": {
226- "version": "0.21.5",
227- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
228- "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
226+ "version": "0.25.9",
227+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz",
228+ "integrity": "sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==",
229229 "cpu": [
230230 "mips64el"
231231 ],
@@ -236,13 +236,13 @@
236236 "linux"
237237 ],
238238 "engines": {
239- "node": ">=12"
239+ "node": ">=18"
240240 }
241241 },
242242 "node_modules/@esbuild/linux-ppc64": {
243- "version": "0.21.5",
244- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
245- "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
243+ "version": "0.25.9",
244+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz",
245+ "integrity": "sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==",
246246 "cpu": [
247247 "ppc64"
248248 ],
@@ -253,13 +253,13 @@
253253 "linux"
254254 ],
255255 "engines": {
256- "node": ">=12"
256+ "node": ">=18"
257257 }
258258 },
259259 "node_modules/@esbuild/linux-riscv64": {
260- "version": "0.21.5",
261- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
262- "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
260+ "version": "0.25.9",
261+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz",
262+ "integrity": "sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==",
263263 "cpu": [
264264 "riscv64"
265265 ],
@@ -270,13 +270,13 @@
270270 "linux"
271271 ],
272272 "engines": {
273- "node": ">=12"
273+ "node": ">=18"
274274 }
275275 },
276276 "node_modules/@esbuild/linux-s390x": {
277- "version": "0.21.5",
278- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
279- "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
277+ "version": "0.25.9",
278+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz",
279+ "integrity": "sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==",
280280 "cpu": [
281281 "s390x"
282282 ],
@@ -287,13 +287,13 @@
287287 "linux"
288288 ],
289289 "engines": {
290- "node": ">=12"
290+ "node": ">=18"
291291 }
292292 },
293293 "node_modules/@esbuild/linux-x64": {
294- "version": "0.21.5",
295- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
296- "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
294+ "version": "0.25.9",
295+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz",
296+ "integrity": "sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==",
297297 "cpu": [
298298 "x64"
299299 ],
@@ -304,13 +304,30 @@
304304 "linux"
305305 ],
306306 "engines": {
307- "node": ">=12"
307+ "node": ">=18"
308+ }
309+ },
310+ "node_modules/@esbuild/netbsd-arm64": {
311+ "version": "0.25.9",
312+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz",
313+ "integrity": "sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==",
314+ "cpu": [
315+ "arm64"
316+ ],
317+ "dev": true,
318+ "license": "MIT",
319+ "optional": true,
320+ "os": [
321+ "netbsd"
322+ ],
323+ "engines": {
324+ "node": ">=18"
308325 }
309326 },
310327 "node_modules/@esbuild/netbsd-x64": {
311- "version": "0.21.5",
312- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
313- "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
328+ "version": "0.25.9",
329+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz",
330+ "integrity": "sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==",
314331 "cpu": [
315332 "x64"
316333 ],
@@ -321,13 +338,30 @@
321338 "netbsd"
322339 ],
323340 "engines": {
324- "node": ">=12"
341+ "node": ">=18"
342+ }
343+ },
344+ "node_modules/@esbuild/openbsd-arm64": {
345+ "version": "0.25.9",
346+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz",
347+ "integrity": "sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==",
348+ "cpu": [
349+ "arm64"
350+ ],
351+ "dev": true,
352+ "license": "MIT",
353+ "optional": true,
354+ "os": [
355+ "openbsd"
356+ ],
357+ "engines": {
358+ "node": ">=18"
325359 }
326360 },
327361 "node_modules/@esbuild/openbsd-x64": {
328- "version": "0.21.5",
329- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
330- "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
362+ "version": "0.25.9",
363+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz",
364+ "integrity": "sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==",
331365 "cpu": [
332366 "x64"
333367 ],
@@ -338,13 +372,30 @@
338372 "openbsd"
339373 ],
340374 "engines": {
341- "node": ">=12"
375+ "node": ">=18"
376+ }
377+ },
378+ "node_modules/@esbuild/openharmony-arm64": {
379+ "version": "0.25.9",
380+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz",
381+ "integrity": "sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==",
382+ "cpu": [
383+ "arm64"
384+ ],
385+ "dev": true,
386+ "license": "MIT",
387+ "optional": true,
388+ "os": [
389+ "openharmony"
390+ ],
391+ "engines": {
392+ "node": ">=18"
342393 }
343394 },
344395 "node_modules/@esbuild/sunos-x64": {
345- "version": "0.21.5",
346- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
347- "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
396+ "version": "0.25.9",
397+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz",
398+ "integrity": "sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==",
348399 "cpu": [
349400 "x64"
350401 ],
@@ -355,13 +406,13 @@
355406 "sunos"
356407 ],
357408 "engines": {
358- "node": ">=12"
409+ "node": ">=18"
359410 }
360411 },
361412 "node_modules/@esbuild/win32-arm64": {
362- "version": "0.21.5",
363- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
364- "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
413+ "version": "0.25.9",
414+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz",
415+ "integrity": "sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==",
365416 "cpu": [
366417 "arm64"
367418 ],
@@ -372,13 +423,13 @@
372423 "win32"
373424 ],
374425 "engines": {
375- "node": ">=12"
426+ "node": ">=18"
376427 }
377428 },
378429 "node_modules/@esbuild/win32-ia32": {
379- "version": "0.21.5",
380- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
381- "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
430+ "version": "0.25.9",
431+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz",
432+ "integrity": "sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==",
382433 "cpu": [
383434 "ia32"
384435 ],
@@ -389,13 +440,13 @@
389440 "win32"
390441 ],
391442 "engines": {
392- "node": ">=12"
443+ "node": ">=18"
393444 }
394445 },
395446 "node_modules/@esbuild/win32-x64": {
396- "version": "0.21.5",
397- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
398- "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
447+ "version": "0.25.9",
448+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz",
449+ "integrity": "sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==",
399450 "cpu": [
400451 "x64"
401452 ],
@@ -406,20 +457,7 @@
406457 "win32"
407458 ],
408459 "engines": {
409- "node": ">=12"
410- }
411- },
412- "node_modules/@jest/schemas": {
413- "version": "29.6.3",
414- "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",
415- "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==",
416- "dev": true,
417- "license": "MIT",
418- "dependencies": {
419- "@sinclair/typebox": "^0.27.8"
420- },
421- "engines": {
422- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
460+ "node": ">=18"
423461 }
424462 },
425463 "node_modules/@jridgewell/sourcemap-codec": {
@@ -723,10 +761,20 @@
723761 "win32"
724762 ]
725763 },
726- "node_modules/@sinclair/typebox": {
727- "version": "0.27.8",
728- "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
729- "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
764+ "node_modules/@types/chai": {
765+ "version": "5.2.2",
766+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.2.tgz",
767+ "integrity": "sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==",
768+ "dev": true,
769+ "license": "MIT",
770+ "dependencies": {
771+ "@types/deep-eql": "*"
772+ }
773+ },
774+ "node_modules/@types/deep-eql": {
775+ "version": "4.0.2",
776+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
777+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
730778 "dev": true,
731779 "license": "MIT"
732780 },
@@ -755,126 +803,128 @@
755803 "license": "MIT"
756804 },
757805 "node_modules/@vitest/expect": {
758- "version": "1.6.1",
759- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-1.6.1.tgz",
760- "integrity": "sha512-jXL+9+ZNIJKruofqXuuTClf44eSpcHlgj3CiuNihUF3Ioujtmc0zIa3UJOW5RjDK1YLBJZnWBlPuqhYycLioog==",
806+ "version": "3.2.4",
807+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.4.tgz",
808+ "integrity": "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==",
761809 "dev": true,
762810 "license": "MIT",
763811 "dependencies": {
764- "@vitest/spy": "1.6.1",
765- "@vitest/utils": "1.6.1",
766- "chai": "^4.3.10"
812+ "@types/chai": "^5.2.2",
813+ "@vitest/spy": "3.2.4",
814+ "@vitest/utils": "3.2.4",
815+ "chai": "^5.2.0",
816+ "tinyrainbow": "^2.0.0"
767817 },
768818 "funding": {
769819 "url": "https://opencollective.com/vitest"
770820 }
771821 },
772- "node_modules/@vitest/runner": {
773- "version": "1.6.1",
774- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-1.6.1.tgz",
775- "integrity": "sha512-3nSnYXkVkf3mXFfE7vVyPmi3Sazhb/2cfZGGs0JRzFsPFvAMBEcrweV1V1GsrstdXeKCTXlJbvnQwGWgEIHmOA==",
822+ "node_modules/@vitest/mocker": {
823+ "version": "3.2.4",
824+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.4.tgz",
825+ "integrity": "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==",
776826 "dev": true,
777827 "license": "MIT",
778828 "dependencies": {
779- "@vitest/utils": "1.6.1",
780- "p-limit": "^5.0.0",
781- "pathe": "^1.1.1"
829+ "@vitest/spy": "3.2.4",
830+ "estree-walker": "^3.0.3",
831+ "magic-string": "^0.30.17"
782832 },
783833 "funding": {
784834 "url": "https://opencollective.com/vitest"
835+ },
836+ "peerDependencies": {
837+ "msw": "^2.4.9",
838+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
839+ },
840+ "peerDependenciesMeta": {
841+ "msw": {
842+ "optional": true
843+ },
844+ "vite": {
845+ "optional": true
846+ }
785847 }
786848 },
787- "node_modules/@vitest/snapshot": {
788- "version": "1.6.1",
789- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-1.6.1.tgz",
790- "integrity": "sha512-WvidQuWAzU2p95u8GAKlRMqMyN1yOJkGHnx3M1PL9Raf7AQ1kwLKg04ADlCa3+OXUZE7BceOhVZiuWAbzCKcUQ==",
849+ "node_modules/@vitest/pretty-format": {
850+ "version": "3.2.4",
851+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.4.tgz",
852+ "integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==",
791853 "dev": true,
792854 "license": "MIT",
793855 "dependencies": {
794- "magic-string": "^0.30.5",
795- "pathe": "^1.1.1",
796- "pretty-format": "^29.7.0"
856+ "tinyrainbow": "^2.0.0"
797857 },
798858 "funding": {
799859 "url": "https://opencollective.com/vitest"
800860 }
801861 },
802- "node_modules/@vitest/spy": {
803- "version": "1.6.1",
804- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-1.6.1.tgz",
805- "integrity": "sha512-MGcMmpGkZebsMZhbQKkAf9CX5zGvjkBTqf8Zx3ApYWXr3wG+QvEu2eXWfnIIWYSJExIp4V9FCKDEeygzkYrXMw==",
862+ "node_modules/@vitest/runner": {
863+ "version": "3.2.4",
864+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.4.tgz",
865+ "integrity": "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==",
806866 "dev": true,
807867 "license": "MIT",
808868 "dependencies": {
809- "tinyspy": "^2.2.0"
869+ "@vitest/utils": "3.2.4",
870+ "pathe": "^2.0.3",
871+ "strip-literal": "^3.0.0"
810872 },
811873 "funding": {
812874 "url": "https://opencollective.com/vitest"
813875 }
814876 },
815- "node_modules/@vitest/utils": {
816- "version": "1.6.1",
817- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-1.6.1.tgz",
818- "integrity": "sha512-jOrrUvXM4Av9ZWiG1EajNto0u96kWAhJ1LmPmJhXXQx/32MecEKd10pOLYgS2BQx1TgkGhloPU1ArDW2vvaY6g==",
877+ "node_modules/@vitest/snapshot": {
878+ "version": "3.2.4",
879+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.4.tgz",
880+ "integrity": "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==",
819881 "dev": true,
820882 "license": "MIT",
821883 "dependencies": {
822- "diff-sequences": "^29.6.3",
823- "estree-walker": "^3.0.3",
824- "loupe": "^2.3.7",
825- "pretty-format": "^29.7.0"
884+ "@vitest/pretty-format": "3.2.4",
885+ "magic-string": "^0.30.17",
886+ "pathe": "^2.0.3"
826887 },
827888 "funding": {
828889 "url": "https://opencollective.com/vitest"
829890 }
830891 },
831- "node_modules/acorn": {
832- "version": "8.15.0",
833- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
834- "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
835- "dev": true,
836- "license": "MIT",
837- "bin": {
838- "acorn": "bin/acorn"
839- },
840- "engines": {
841- "node": ">=0.4.0"
842- }
843- },
844- "node_modules/acorn-walk": {
845- "version": "8.3.4",
846- "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz",
847- "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==",
892+ "node_modules/@vitest/spy": {
893+ "version": "3.2.4",
894+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz",
895+ "integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==",
848896 "dev": true,
849897 "license": "MIT",
850898 "dependencies": {
851- "acorn": "^8.11.0"
899+ "tinyspy": "^4.0.3"
852900 },
853- "engines": {
854- "node": ">=0.4.0"
901+ "funding": {
902+ "url": "https://opencollective.com/vitest"
855903 }
856904 },
857- "node_modules/ansi-styles": {
858- "version": "5.2.0",
859- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
860- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
905+ "node_modules/@vitest/utils": {
906+ "version": "3.2.4",
907+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz",
908+ "integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==",
861909 "dev": true,
862910 "license": "MIT",
863- "engines": {
864- "node": ">=10"
911+ "dependencies": {
912+ "@vitest/pretty-format": "3.2.4",
913+ "loupe": "^3.1.4",
914+ "tinyrainbow": "^2.0.0"
865915 },
866916 "funding": {
867- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
917+ "url": "https://opencollective.com/vitest"
868918 }
869919 },
870920 "node_modules/assertion-error": {
871- "version": "1.1.0",
872- "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
873- "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==",
921+ "version": "2.0.1",
922+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
923+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
874924 "dev": true,
875925 "license": "MIT",
876926 "engines": {
877- "node": "*"
927+ "node": ">=12"
878928 }
879929 },
880930 "node_modules/cac": {
@@ -888,57 +938,30 @@
888938 }
889939 },
890940 "node_modules/chai": {
891- "version": "4.5.0",
892- "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz",
893- "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==",
941+ "version": "5.3.3",
942+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
943+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
894944 "dev": true,
895945 "license": "MIT",
896946 "dependencies": {
897- "assertion-error": "^1.1.0",
898- "check-error": "^1.0.3",
899- "deep-eql": "^4.1.3",
900- "get-func-name": "^2.0.2",
901- "loupe": "^2.3.6",
902- "pathval": "^1.1.1",
903- "type-detect": "^4.1.0"
947+ "assertion-error": "^2.0.1",
948+ "check-error": "^2.1.1",
949+ "deep-eql": "^5.0.1",
950+ "loupe": "^3.1.0",
951+ "pathval": "^2.0.0"
904952 },
905953 "engines": {
906- "node": ">=4"
954+ "node": ">=18"
907955 }
908956 },
909957 "node_modules/check-error": {
910- "version": "1.0.3",
911- "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz",
912- "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==",
913- "dev": true,
914- "license": "MIT",
915- "dependencies": {
916- "get-func-name": "^2.0.2"
917- },
918- "engines": {
919- "node": "*"
920- }
921- },
922- "node_modules/confbox": {
923- "version": "0.1.8",
924- "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
925- "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
926- "dev": true,
927- "license": "MIT"
928- },
929- "node_modules/cross-spawn": {
930- "version": "7.0.6",
931- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
932- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
958+ "version": "2.1.1",
959+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz",
960+ "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==",
933961 "dev": true,
934962 "license": "MIT",
935- "dependencies": {
936- "path-key": "^3.1.0",
937- "shebang-command": "^2.0.0",
938- "which": "^2.0.1"
939- },
940963 "engines": {
941- "node": ">= 8"
964+ "node": ">= 16"
942965 }
943966 },
944967 "node_modules/debug": {
@@ -960,32 +983,26 @@
960983 }
961984 },
962985 "node_modules/deep-eql": {
963- "version": "4.1.4",
964- "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz",
965- "integrity": "sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==",
986+ "version": "5.0.2",
987+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
988+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
966989 "dev": true,
967990 "license": "MIT",
968- "dependencies": {
969- "type-detect": "^4.0.0"
970- },
971991 "engines": {
972992 "node": ">=6"
973993 }
974994 },
975- "node_modules/diff-sequences": {
976- "version": "29.6.3",
977- "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",
978- "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
995+ "node_modules/es-module-lexer": {
996+ "version": "1.7.0",
997+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
998+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
979999 "dev": true,
980- "license": "MIT",
981- "engines": {
982- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
983- }
1000+ "license": "MIT"
9841001 },
9851002 "node_modules/esbuild": {
986- "version": "0.21.5",
987- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
988- "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
1003+ "version": "0.25.9",
1004+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.9.tgz",
1005+ "integrity": "sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==",
9891006 "dev": true,
9901007 "hasInstallScript": true,
9911008 "license": "MIT",
@@ -993,32 +1010,35 @@
9931010 "esbuild": "bin/esbuild"
9941011 },
9951012 "engines": {
996- "node": ">=12"
1013+ "node": ">=18"
9971014 },
9981015 "optionalDependencies": {
999- "@esbuild/aix-ppc64": "0.21.5",
1000- "@esbuild/android-arm": "0.21.5",
1001- "@esbuild/android-arm64": "0.21.5",
1002- "@esbuild/android-x64": "0.21.5",
1003- "@esbuild/darwin-arm64": "0.21.5",
1004- "@esbuild/darwin-x64": "0.21.5",
1005- "@esbuild/freebsd-arm64": "0.21.5",
1006- "@esbuild/freebsd-x64": "0.21.5",
1007- "@esbuild/linux-arm": "0.21.5",
1008- "@esbuild/linux-arm64": "0.21.5",
1009- "@esbuild/linux-ia32": "0.21.5",
1010- "@esbuild/linux-loong64": "0.21.5",
1011- "@esbuild/linux-mips64el": "0.21.5",
1012- "@esbuild/linux-ppc64": "0.21.5",
1013- "@esbuild/linux-riscv64": "0.21.5",
1014- "@esbuild/linux-s390x": "0.21.5",
1015- "@esbuild/linux-x64": "0.21.5",
1016- "@esbuild/netbsd-x64": "0.21.5",
1017- "@esbuild/openbsd-x64": "0.21.5",
1018- "@esbuild/sunos-x64": "0.21.5",
1019- "@esbuild/win32-arm64": "0.21.5",
1020- "@esbuild/win32-ia32": "0.21.5",
1021- "@esbuild/win32-x64": "0.21.5"
1016+ "@esbuild/aix-ppc64": "0.25.9",
1017+ "@esbuild/android-arm": "0.25.9",
1018+ "@esbuild/android-arm64": "0.25.9",
1019+ "@esbuild/android-x64": "0.25.9",
1020+ "@esbuild/darwin-arm64": "0.25.9",
1021+ "@esbuild/darwin-x64": "0.25.9",
1022+ "@esbuild/freebsd-arm64": "0.25.9",
1023+ "@esbuild/freebsd-x64": "0.25.9",
1024+ "@esbuild/linux-arm": "0.25.9",
1025+ "@esbuild/linux-arm64": "0.25.9",
1026+ "@esbuild/linux-ia32": "0.25.9",
1027+ "@esbuild/linux-loong64": "0.25.9",
1028+ "@esbuild/linux-mips64el": "0.25.9",
1029+ "@esbuild/linux-ppc64": "0.25.9",
1030+ "@esbuild/linux-riscv64": "0.25.9",
1031+ "@esbuild/linux-s390x": "0.25.9",
1032+ "@esbuild/linux-x64": "0.25.9",
1033+ "@esbuild/netbsd-arm64": "0.25.9",
1034+ "@esbuild/netbsd-x64": "0.25.9",
1035+ "@esbuild/openbsd-arm64": "0.25.9",
1036+ "@esbuild/openbsd-x64": "0.25.9",
1037+ "@esbuild/openharmony-arm64": "0.25.9",
1038+ "@esbuild/sunos-x64": "0.25.9",
1039+ "@esbuild/win32-arm64": "0.25.9",
1040+ "@esbuild/win32-ia32": "0.25.9",
1041+ "@esbuild/win32-x64": "0.25.9"
10221042 }
10231043 },
10241044 "node_modules/estree-walker": {
@@ -1031,28 +1051,32 @@
10311051 "@types/estree": "^1.0.0"
10321052 }
10331053 },
1034- "node_modules/execa": {
1035- "version": "8.0.1",
1036- "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
1037- "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
1054+ "node_modules/expect-type": {
1055+ "version": "1.2.2",
1056+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.2.tgz",
1057+ "integrity": "sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA==",
1058+ "dev": true,
1059+ "license": "Apache-2.0",
1060+ "engines": {
1061+ "node": ">=12.0.0"
1062+ }
1063+ },
1064+ "node_modules/fdir": {
1065+ "version": "6.5.0",
1066+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
1067+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
10381068 "dev": true,
10391069 "license": "MIT",
1040- "dependencies": {
1041- "cross-spawn": "^7.0.3",
1042- "get-stream": "^8.0.1",
1043- "human-signals": "^5.0.0",
1044- "is-stream": "^3.0.0",
1045- "merge-stream": "^2.0.0",
1046- "npm-run-path": "^5.1.0",
1047- "onetime": "^6.0.0",
1048- "signal-exit": "^4.1.0",
1049- "strip-final-newline": "^3.0.0"
1050- },
1051- "engines": {
1052- "node": ">=16.17"
1070+ "engines": {
1071+ "node": ">=12.0.0"
10531072 },
1054- "funding": {
1055- "url": "https://github.com/sindresorhus/execa?sponsor=1"
1073+ "peerDependencies": {
1074+ "picomatch": "^3 || ^4"
1075+ },
1076+ "peerDependenciesMeta": {
1077+ "picomatch": {
1078+ "optional": true
1079+ }
10561080 }
10571081 },
10581082 "node_modules/fsevents": {
@@ -1070,59 +1094,6 @@
10701094 "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
10711095 }
10721096 },
1073- "node_modules/get-func-name": {
1074- "version": "2.0.2",
1075- "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz",
1076- "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==",
1077- "dev": true,
1078- "license": "MIT",
1079- "engines": {
1080- "node": "*"
1081- }
1082- },
1083- "node_modules/get-stream": {
1084- "version": "8.0.1",
1085- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
1086- "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
1087- "dev": true,
1088- "license": "MIT",
1089- "engines": {
1090- "node": ">=16"
1091- },
1092- "funding": {
1093- "url": "https://github.com/sponsors/sindresorhus"
1094- }
1095- },
1096- "node_modules/human-signals": {
1097- "version": "5.0.0",
1098- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
1099- "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
1100- "dev": true,
1101- "license": "Apache-2.0",
1102- "engines": {
1103- "node": ">=16.17.0"
1104- }
1105- },
1106- "node_modules/is-stream": {
1107- "version": "3.0.0",
1108- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
1109- "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
1110- "dev": true,
1111- "license": "MIT",
1112- "engines": {
1113- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
1114- },
1115- "funding": {
1116- "url": "https://github.com/sponsors/sindresorhus"
1117- }
1118- },
1119- "node_modules/isexe": {
1120- "version": "2.0.0",
1121- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
1122- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
1123- "dev": true,
1124- "license": "ISC"
1125- },
11261097 "node_modules/js-tokens": {
11271098 "version": "9.0.1",
11281099 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
@@ -1130,32 +1101,12 @@
11301101 "dev": true,
11311102 "license": "MIT"
11321103 },
1133- "node_modules/local-pkg": {
1134- "version": "0.5.1",
1135- "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.1.tgz",
1136- "integrity": "sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==",
1137- "dev": true,
1138- "license": "MIT",
1139- "dependencies": {
1140- "mlly": "^1.7.3",
1141- "pkg-types": "^1.2.1"
1142- },
1143- "engines": {
1144- "node": ">=14"
1145- },
1146- "funding": {
1147- "url": "https://github.com/sponsors/antfu"
1148- }
1149- },
11501104 "node_modules/loupe": {
1151- "version": "2.3.7",
1152- "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz",
1153- "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==",
1105+ "version": "3.2.1",
1106+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
1107+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
11541108 "dev": true,
1155- "license": "MIT",
1156- "dependencies": {
1157- "get-func-name": "^2.0.1"
1158- }
1109+ "license": "MIT"
11591110 },
11601111 "node_modules/magic-string": {
11611112 "version": "0.30.18",
@@ -1167,46 +1118,6 @@
11671118 "@jridgewell/sourcemap-codec": "^1.5.5"
11681119 }
11691120 },
1170- "node_modules/merge-stream": {
1171- "version": "2.0.0",
1172- "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
1173- "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
1174- "dev": true,
1175- "license": "MIT"
1176- },
1177- "node_modules/mimic-fn": {
1178- "version": "4.0.0",
1179- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
1180- "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
1181- "dev": true,
1182- "license": "MIT",
1183- "engines": {
1184- "node": ">=12"
1185- },
1186- "funding": {
1187- "url": "https://github.com/sponsors/sindresorhus"
1188- }
1189- },
1190- "node_modules/mlly": {
1191- "version": "1.8.0",
1192- "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.0.tgz",
1193- "integrity": "sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==",
1194- "dev": true,
1195- "license": "MIT",
1196- "dependencies": {
1197- "acorn": "^8.15.0",
1198- "pathe": "^2.0.3",
1199- "pkg-types": "^1.3.1",
1200- "ufo": "^1.6.1"
1201- }
1202- },
1203- "node_modules/mlly/node_modules/pathe": {
1204- "version": "2.0.3",
1205- "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
1206- "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
1207- "dev": true,
1208- "license": "MIT"
1209- },
12101121 "node_modules/ms": {
12111122 "version": "2.1.3",
12121123 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -1233,92 +1144,21 @@
12331144 "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
12341145 }
12351146 },
1236- "node_modules/npm-run-path": {
1237- "version": "5.3.0",
1238- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
1239- "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
1240- "dev": true,
1241- "license": "MIT",
1242- "dependencies": {
1243- "path-key": "^4.0.0"
1244- },
1245- "engines": {
1246- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
1247- },
1248- "funding": {
1249- "url": "https://github.com/sponsors/sindresorhus"
1250- }
1251- },
1252- "node_modules/npm-run-path/node_modules/path-key": {
1253- "version": "4.0.0",
1254- "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
1255- "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
1256- "dev": true,
1257- "license": "MIT",
1258- "engines": {
1259- "node": ">=12"
1260- },
1261- "funding": {
1262- "url": "https://github.com/sponsors/sindresorhus"
1263- }
1264- },
1265- "node_modules/onetime": {
1266- "version": "6.0.0",
1267- "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
1268- "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
1269- "dev": true,
1270- "license": "MIT",
1271- "dependencies": {
1272- "mimic-fn": "^4.0.0"
1273- },
1274- "engines": {
1275- "node": ">=12"
1276- },
1277- "funding": {
1278- "url": "https://github.com/sponsors/sindresorhus"
1279- }
1280- },
1281- "node_modules/p-limit": {
1282- "version": "5.0.0",
1283- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-5.0.0.tgz",
1284- "integrity": "sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==",
1285- "dev": true,
1286- "license": "MIT",
1287- "dependencies": {
1288- "yocto-queue": "^1.0.0"
1289- },
1290- "engines": {
1291- "node": ">=18"
1292- },
1293- "funding": {
1294- "url": "https://github.com/sponsors/sindresorhus"
1295- }
1296- },
1297- "node_modules/path-key": {
1298- "version": "3.1.1",
1299- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
1300- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
1301- "dev": true,
1302- "license": "MIT",
1303- "engines": {
1304- "node": ">=8"
1305- }
1306- },
13071147 "node_modules/pathe": {
1308- "version": "1.1.2",
1309- "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
1310- "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==",
1148+ "version": "2.0.3",
1149+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
1150+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
13111151 "dev": true,
13121152 "license": "MIT"
13131153 },
13141154 "node_modules/pathval": {
1315- "version": "1.1.1",
1316- "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz",
1317- "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==",
1155+ "version": "2.0.1",
1156+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
1157+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
13181158 "dev": true,
13191159 "license": "MIT",
13201160 "engines": {
1321- "node": "*"
1161+ "node": ">= 14.16"
13221162 }
13231163 },
13241164 "node_modules/picocolors": {
@@ -1328,25 +1168,19 @@
13281168 "dev": true,
13291169 "license": "ISC"
13301170 },
1331- "node_modules/pkg-types": {
1332- "version": "1.3.1",
1333- "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
1334- "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
1171+ "node_modules/picomatch": {
1172+ "version": "4.0.3",
1173+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
1174+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
13351175 "dev": true,
13361176 "license": "MIT",
1337- "dependencies": {
1338- "confbox": "^0.1.8",
1339- "mlly": "^1.7.4",
1340- "pathe": "^2.0.1"
1177+ "engines": {
1178+ "node": ">=12"
1179+ },
1180+ "funding": {
1181+ "url": "https://github.com/sponsors/jonschlinkert"
13411182 }
13421183 },
1343- "node_modules/pkg-types/node_modules/pathe": {
1344- "version": "2.0.3",
1345- "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
1346- "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
1347- "dev": true,
1348- "license": "MIT"
1349- },
13501184 "node_modules/postcss": {
13511185 "version": "8.5.6",
13521186 "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
@@ -1376,28 +1210,6 @@
13761210 "node": "^10 || ^12 || >=14"
13771211 }
13781212 },
1379- "node_modules/pretty-format": {
1380- "version": "29.7.0",
1381- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
1382- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
1383- "dev": true,
1384- "license": "MIT",
1385- "dependencies": {
1386- "@jest/schemas": "^29.6.3",
1387- "ansi-styles": "^5.0.0",
1388- "react-is": "^18.0.0"
1389- },
1390- "engines": {
1391- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1392- }
1393- },
1394- "node_modules/react-is": {
1395- "version": "18.3.1",
1396- "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
1397- "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
1398- "dev": true,
1399- "license": "MIT"
1400- },
14011213 "node_modules/rollup": {
14021214 "version": "4.50.0",
14031215 "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.50.0.tgz",
@@ -1439,29 +1251,6 @@
14391251 "fsevents": "~2.3.2"
14401252 }
14411253 },
1442- "node_modules/shebang-command": {
1443- "version": "2.0.0",
1444- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
1445- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
1446- "dev": true,
1447- "license": "MIT",
1448- "dependencies": {
1449- "shebang-regex": "^3.0.0"
1450- },
1451- "engines": {
1452- "node": ">=8"
1453- }
1454- },
1455- "node_modules/shebang-regex": {
1456- "version": "3.0.0",
1457- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
1458- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
1459- "dev": true,
1460- "license": "MIT",
1461- "engines": {
1462- "node": ">=8"
1463- }
1464- },
14651254 "node_modules/shell-quote": {
14661255 "version": "1.8.3",
14671256 "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.3.tgz",
@@ -1481,19 +1270,6 @@
14811270 "dev": true,
14821271 "license": "ISC"
14831272 },
1484- "node_modules/signal-exit": {
1485- "version": "4.1.0",
1486- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
1487- "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
1488- "dev": true,
1489- "license": "ISC",
1490- "engines": {
1491- "node": ">=14"
1492- },
1493- "funding": {
1494- "url": "https://github.com/sponsors/isaacs"
1495- }
1496- },
14971273 "node_modules/source-map-js": {
14981274 "version": "1.2.1",
14991275 "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
@@ -1518,23 +1294,10 @@
15181294 "dev": true,
15191295 "license": "MIT"
15201296 },
1521- "node_modules/strip-final-newline": {
1522- "version": "3.0.0",
1523- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
1524- "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
1525- "dev": true,
1526- "license": "MIT",
1527- "engines": {
1528- "node": ">=12"
1529- },
1530- "funding": {
1531- "url": "https://github.com/sponsors/sindresorhus"
1532- }
1533- },
15341297 "node_modules/strip-literal": {
1535- "version": "2.1.1",
1536- "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-2.1.1.tgz",
1537- "integrity": "sha512-631UJ6O00eNGfMiWG78ck80dfBab8X6IVFB51jZK5Icd7XAs60Z5y7QdSd/wGIklnWvRbUNloVzhOKKmutxQ6Q==",
1298+ "version": "3.0.0",
1299+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.0.0.tgz",
1300+ "integrity": "sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==",
15381301 "dev": true,
15391302 "license": "MIT",
15401303 "dependencies": {
@@ -1551,34 +1314,58 @@
15511314 "dev": true,
15521315 "license": "MIT"
15531316 },
1317+ "node_modules/tinyexec": {
1318+ "version": "0.3.2",
1319+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
1320+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
1321+ "dev": true,
1322+ "license": "MIT"
1323+ },
1324+ "node_modules/tinyglobby": {
1325+ "version": "0.2.14",
1326+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
1327+ "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
1328+ "dev": true,
1329+ "license": "MIT",
1330+ "dependencies": {
1331+ "fdir": "^6.4.4",
1332+ "picomatch": "^4.0.2"
1333+ },
1334+ "engines": {
1335+ "node": ">=12.0.0"
1336+ },
1337+ "funding": {
1338+ "url": "https://github.com/sponsors/SuperchupuDev"
1339+ }
1340+ },
15541341 "node_modules/tinypool": {
1555- "version": "0.8.4",
1556- "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.4.tgz",
1557- "integrity": "sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==",
1342+ "version": "1.1.1",
1343+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
1344+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
15581345 "dev": true,
15591346 "license": "MIT",
15601347 "engines": {
1561- "node": ">=14.0.0"
1348+ "node": "^18.0.0 || >=20.0.0"
15621349 }
15631350 },
1564- "node_modules/tinyspy": {
1565- "version": "2.2.1",
1566- "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.2.1.tgz",
1567- "integrity": "sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==",
1351+ "node_modules/tinyrainbow": {
1352+ "version": "2.0.0",
1353+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
1354+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
15681355 "dev": true,
15691356 "license": "MIT",
15701357 "engines": {
15711358 "node": ">=14.0.0"
15721359 }
15731360 },
1574- "node_modules/type-detect": {
1575- "version": "4.1.0",
1576- "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz",
1577- "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==",
1361+ "node_modules/tinyspy": {
1362+ "version": "4.0.3",
1363+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.3.tgz",
1364+ "integrity": "sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A==",
15781365 "dev": true,
15791366 "license": "MIT",
15801367 "engines": {
1581- "node": ">=4"
1368+ "node": ">=14.0.0"
15821369 }
15831370 },
15841371 "node_modules/typescript": {
@@ -1595,13 +1382,6 @@
15951382 "node": ">=14.17"
15961383 }
15971384 },
1598- "node_modules/ufo": {
1599- "version": "1.6.1",
1600- "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.1.tgz",
1601- "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==",
1602- "dev": true,
1603- "license": "MIT"
1604- },
16051385 "node_modules/undici-types": {
16061386 "version": "6.21.0",
16071387 "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
@@ -1610,21 +1390,24 @@
16101390 "license": "MIT"
16111391 },
16121392 "node_modules/vite": {
1613- "version": "5.4.19",
1614- "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.19.tgz",
1615- "integrity": "sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA==",
1393+ "version": "7.1.4",
1394+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.4.tgz",
1395+ "integrity": "sha512-X5QFK4SGynAeeIt+A7ZWnApdUyHYm+pzv/8/A57LqSGcI88U6R6ipOs3uCesdc6yl7nl+zNO0t8LmqAdXcQihw==",
16161396 "dev": true,
16171397 "license": "MIT",
16181398 "dependencies": {
1619- "esbuild": "^0.21.3",
1620- "postcss": "^8.4.43",
1621- "rollup": "^4.20.0"
1399+ "esbuild": "^0.25.0",
1400+ "fdir": "^6.5.0",
1401+ "picomatch": "^4.0.3",
1402+ "postcss": "^8.5.6",
1403+ "rollup": "^4.43.0",
1404+ "tinyglobby": "^0.2.14"
16221405 },
16231406 "bin": {
16241407 "vite": "bin/vite.js"
16251408 },
16261409 "engines": {
1627- "node": "^18.0.0 || >=20.0.0"
1410+ "node": "^20.19.0 || >=22.12.0"
16281411 },
16291412 "funding": {
16301413 "url": "https://github.com/vitejs/vite?sponsor=1"
@@ -1633,19 +1416,25 @@
16331416 "fsevents": "~2.3.3"
16341417 },
16351418 "peerDependencies": {
1636- "@types/node": "^18.0.0 || >=20.0.0",
1637- "less": "*",
1419+ "@types/node": "^20.19.0 || >=22.12.0",
1420+ "jiti": ">=1.21.0",
1421+ "less": "^4.0.0",
16381422 "lightningcss": "^1.21.0",
1639- "sass": "*",
1640- "sass-embedded": "*",
1641- "stylus": "*",
1642- "sugarss": "*",
1643- "terser": "^5.4.0"
1423+ "sass": "^1.70.0",
1424+ "sass-embedded": "^1.70.0",
1425+ "stylus": ">=0.54.8",
1426+ "sugarss": "^5.0.0",
1427+ "terser": "^5.16.0",
1428+ "tsx": "^4.8.1",
1429+ "yaml": "^2.4.2"
16441430 },
16451431 "peerDependenciesMeta": {
16461432 "@types/node": {
16471433 "optional": true
16481434 },
1435+ "jiti": {
1436+ "optional": true
1437+ },
16491438 "less": {
16501439 "optional": true
16511440 },
@@ -1666,74 +1455,84 @@
16661455 },
16671456 "terser": {
16681457 "optional": true
1458+ },
1459+ "tsx": {
1460+ "optional": true
1461+ },
1462+ "yaml": {
1463+ "optional": true
16691464 }
16701465 }
16711466 },
16721467 "node_modules/vite-node": {
1673- "version": "1.6.1",
1674- "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-1.6.1.tgz",
1675- "integrity": "sha512-YAXkfvGtuTzwWbDSACdJSg4A4DZiAqckWe90Zapc/sEX3XvHcw1NdurM/6od8J207tSDqNbSsgdCacBgvJKFuA==",
1468+ "version": "3.2.4",
1469+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
1470+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
16761471 "dev": true,
16771472 "license": "MIT",
16781473 "dependencies": {
16791474 "cac": "^6.7.14",
1680- "debug": "^4.3.4",
1681- "pathe": "^1.1.1",
1682- "picocolors": "^1.0.0",
1683- "vite": "^5.0.0"
1475+ "debug": "^4.4.1",
1476+ "es-module-lexer": "^1.7.0",
1477+ "pathe": "^2.0.3",
1478+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
16841479 },
16851480 "bin": {
16861481 "vite-node": "vite-node.mjs"
16871482 },
16881483 "engines": {
1689- "node": "^18.0.0 || >=20.0.0"
1484+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
16901485 },
16911486 "funding": {
16921487 "url": "https://opencollective.com/vitest"
16931488 }
16941489 },
16951490 "node_modules/vitest": {
1696- "version": "1.6.1",
1697- "resolved": "https://registry.npmjs.org/vitest/-/vitest-1.6.1.tgz",
1698- "integrity": "sha512-Ljb1cnSJSivGN0LqXd/zmDbWEM0RNNg2t1QW/XUhYl/qPqyu7CsqeWtqQXHVaJsecLPuDoak2oJcZN2QoRIOag==",
1699- "dev": true,
1700- "license": "MIT",
1701- "dependencies": {
1702- "@vitest/expect": "1.6.1",
1703- "@vitest/runner": "1.6.1",
1704- "@vitest/snapshot": "1.6.1",
1705- "@vitest/spy": "1.6.1",
1706- "@vitest/utils": "1.6.1",
1707- "acorn-walk": "^8.3.2",
1708- "chai": "^4.3.10",
1709- "debug": "^4.3.4",
1710- "execa": "^8.0.1",
1711- "local-pkg": "^0.5.0",
1712- "magic-string": "^0.30.5",
1713- "pathe": "^1.1.1",
1714- "picocolors": "^1.0.0",
1715- "std-env": "^3.5.0",
1716- "strip-literal": "^2.0.0",
1717- "tinybench": "^2.5.1",
1718- "tinypool": "^0.8.3",
1719- "vite": "^5.0.0",
1720- "vite-node": "1.6.1",
1721- "why-is-node-running": "^2.2.2"
1491+ "version": "3.2.4",
1492+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.4.tgz",
1493+ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==",
1494+ "dev": true,
1495+ "license": "MIT",
1496+ "dependencies": {
1497+ "@types/chai": "^5.2.2",
1498+ "@vitest/expect": "3.2.4",
1499+ "@vitest/mocker": "3.2.4",
1500+ "@vitest/pretty-format": "^3.2.4",
1501+ "@vitest/runner": "3.2.4",
1502+ "@vitest/snapshot": "3.2.4",
1503+ "@vitest/spy": "3.2.4",
1504+ "@vitest/utils": "3.2.4",
1505+ "chai": "^5.2.0",
1506+ "debug": "^4.4.1",
1507+ "expect-type": "^1.2.1",
1508+ "magic-string": "^0.30.17",
1509+ "pathe": "^2.0.3",
1510+ "picomatch": "^4.0.2",
1511+ "std-env": "^3.9.0",
1512+ "tinybench": "^2.9.0",
1513+ "tinyexec": "^0.3.2",
1514+ "tinyglobby": "^0.2.14",
1515+ "tinypool": "^1.1.1",
1516+ "tinyrainbow": "^2.0.0",
1517+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
1518+ "vite-node": "3.2.4",
1519+ "why-is-node-running": "^2.3.0"
17221520 },
17231521 "bin": {
17241522 "vitest": "vitest.mjs"
17251523 },
17261524 "engines": {
1727- "node": "^18.0.0 || >=20.0.0"
1525+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
17281526 },
17291527 "funding": {
17301528 "url": "https://opencollective.com/vitest"
17311529 },
17321530 "peerDependencies": {
17331531 "@edge-runtime/vm": "*",
1734- "@types/node": "^18.0.0 || >=20.0.0",
1735- "@vitest/browser": "1.6.1",
1736- "@vitest/ui": "1.6.1",
1532+ "@types/debug": "^4.1.12",
1533+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
1534+ "@vitest/browser": "3.2.4",
1535+ "@vitest/ui": "3.2.4",
17371536 "happy-dom": "*",
17381537 "jsdom": "*"
17391538 },
@@ -1741,6 +1540,9 @@
17411540 "@edge-runtime/vm": {
17421541 "optional": true
17431542 },
1543+ "@types/debug": {
1544+ "optional": true
1545+ },
17441546 "@types/node": {
17451547 "optional": true
17461548 },
@@ -1758,22 +1560,6 @@
17581560 }
17591561 }
17601562 },
1761- "node_modules/which": {
1762- "version": "2.0.2",
1763- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
1764- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
1765- "dev": true,
1766- "license": "ISC",
1767- "dependencies": {
1768- "isexe": "^2.0.0"
1769- },
1770- "bin": {
1771- "node-which": "bin/node-which"
1772- },
1773- "engines": {
1774- "node": ">= 8"
1775- }
1776- },
17771563 "node_modules/why-is-node-running": {
17781564 "version": "2.3.0",
17791565 "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
@@ -1790,19 +1576,6 @@
17901576 "engines": {
17911577 "node": ">=8"
17921578 }
1793- },
1794- "node_modules/yocto-queue": {
1795- "version": "1.2.1",
1796- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.1.tgz",
1797- "integrity": "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==",
1798- "dev": true,
1799- "license": "MIT",
1800- "engines": {
1801- "node": ">=12.20"
1802- },
1803- "funding": {
1804- "url": "https://github.com/sponsors/sindresorhus"
1805- }
18061579 }
18071580 }
18081581 }
modified packages/terminal-security/package.json +1 −1
@@ -17,7 +17,7 @@
1717 "@types/node": "^20.11.19",
1818 "@types/shell-quote": "^1.7.5",
1919 "typescript": "^5.5.2",
20- "vitest": "^1.6.0"
20+ "vitest": "^3.2.4"
2121 },
2222 "dependencies": {
2323 "shell-quote": "^1.8.1"
modified scripts/build-packages.js +1 −0
@@ -34,6 +34,7 @@
3434 } else {
3535 console.error(`❌ ${packageName}: ${command} failed with code ${code}`);
3636 console.error(`stderr: ${stderr}`);
37+ console.error(`stdout: ${stdout}`);
3738 reject(
3839 new Error(`${packageName} failed: ${command} (exit code ${code})`),
3940 );