From fa88e8de181e66c206bee4281dd2d80633283b2c Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 2 Sep 2025 19:55:30 -0700 Subject: [PATCH] fix: prettier --- CONTRIBUTING.md | 2 ++ extensions/cli/AGENTS.md | 5 +++++ extensions/cli/CHAT_HISTORY_SERVICE_MIGRATION_PLAN.md | 1 + extensions/cli/spec/config-loading.md | 2 ++ extensions/cli/spec/onboarding.md | 1 + extensions/vscode/package-lock.json | 4 ++-- extensions/vscode/src/diff/vertical/handler.ts | 4 ++-- gui/src/components/modelSelection/ModelCard.tsx | 4 +--- 8 files changed, 16 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 512de362a..3993294b4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,6 +60,7 @@ Continue is quickly adding features, and we'd love to hear which are the most im an enhancement are: - Create an issue + - First, check whether a similar proposal has already been made - If not, [create an issue](https://github.com/continuedev/continue/issues) - Please describe the enhancement in as much detail as you can, and why it would be useful @@ -145,6 +146,7 @@ npm i -g vite `install-all-dependencies` 2. Start debugging: + 1. Switch to Run and Debug view 2. Select `Launch extension` from drop down 3. Hit play button diff --git a/extensions/cli/AGENTS.md b/extensions/cli/AGENTS.md index bfe1f0d39..6fe536a46 100644 --- a/extensions/cli/AGENTS.md +++ b/extensions/cli/AGENTS.md @@ -18,25 +18,30 @@ This is a CLI tool for Continue Dev that provides an interactive AI-assisted dev ### Core Components 1. **Entry Point** (`src/index.ts`): Main CLI logic with two modes: + - **Headless mode**: Non-interactive mode for automation/CI - **TUI mode**: Terminal User Interface using Ink/React - **Standard mode**: Traditional readline-based chat interface 2. **Authentication** (`src/auth/`): WorkOS-based authentication system + - `ensureAuth.ts`: Handles authentication flow - `workos.ts`: WorkOS configuration and token management 3. **Continue SDK Integration** (`src/continueSDK.ts`): Initializes the Continue SDK client with: + - API key authentication - Assistant configuration (slug-based) - Organization support 4. **Terminal UI** (`src/ui/`): React/Ink-based TUI components + - `TUIChat.tsx`: Main chat interface component - `UserInput.tsx`: Input handling with multi-line support - `TextBuffer.ts`: Text display utilities 5. **Tools System** (`src/tools/`): Built-in development tools including: + - File operations (read, write, list) - Code search functionality - Terminal command execution diff --git a/extensions/cli/CHAT_HISTORY_SERVICE_MIGRATION_PLAN.md b/extensions/cli/CHAT_HISTORY_SERVICE_MIGRATION_PLAN.md index 7b9d508f5..566ebe5aa 100644 --- a/extensions/cli/CHAT_HISTORY_SERVICE_MIGRATION_PLAN.md +++ b/extensions/cli/CHAT_HISTORY_SERVICE_MIGRATION_PLAN.md @@ -299,6 +299,7 @@ If issues arise during migration: 1. **Streaming integration**: Most complex change - Mitigation: Extensive testing, gradual rollout 2. **Remote mode**: Different state management + - Mitigation: Test thoroughly, maintain compatibility 3. **Performance**: Large histories might cause issues diff --git a/extensions/cli/spec/config-loading.md b/extensions/cli/spec/config-loading.md index 384b19809..0f474b5a7 100644 --- a/extensions/cli/spec/config-loading.md +++ b/extensions/cli/spec/config-loading.md @@ -23,11 +23,13 @@ This document specifies the behavior of the CLI's configuration loading system, **When CLI is invoked, config source is determined in this order:** 1. **CLI `--config` Flag** (highest priority) + - File path (starts with `.`, `/`, `~`): Loads local YAML file - Assistant slug (`owner/package`): Fetches from Continue platform - Overrides any saved preferences 2. **Saved Config URI** (if no `--config` flag) + - Retrieved from authentication config - Converts `file://` URIs back to file paths - Converts `slug://` URIs back to assistant slugs diff --git a/extensions/cli/spec/onboarding.md b/extensions/cli/spec/onboarding.md index 9b3eaf22e..523b9067e 100644 --- a/extensions/cli/spec/onboarding.md +++ b/extensions/cli/spec/onboarding.md @@ -8,6 +8,7 @@ When a user first runs `cn` in interactive mode, they will be taken through "onb 1. If the --config flag is provided, load this config 2. Otherwise, we will present the user with two options: + - Log in with Continue: log them in, which will automatically create their assistant and then we can load the first assistant from the first org - Enter your Anthropic API key: let them enter the key, and then either create a ~/.continue/config.yaml with the following contents OR update the existing config.yaml to add the model diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index d980d68f4..c8cd7819a 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "1.3.1", + "version": "1.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "continue", - "version": "1.3.1", + "version": "1.3.2", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "file:../../packages/config-types", diff --git a/extensions/vscode/src/diff/vertical/handler.ts b/extensions/vscode/src/diff/vertical/handler.ts index 6312b0f1a..869e5962d 100644 --- a/extensions/vscode/src/diff/vertical/handler.ts +++ b/extensions/vscode/src/diff/vertical/handler.ts @@ -343,8 +343,8 @@ export class VerticalDiffHandler implements vscode.Disposable { // Then, we insert our diff lines await this.editor.edit((editBuilder) => { - (editBuilder.replace(this.range, replaceContent), - { undoStopAfter: false, undoStopBefore: false }); + editBuilder.replace(this.range, replaceContent), + { undoStopAfter: false, undoStopBefore: false }; }); // Lastly, we apply decorations diff --git a/gui/src/components/modelSelection/ModelCard.tsx b/gui/src/components/modelSelection/ModelCard.tsx index c254b9473..2c34bdc51 100644 --- a/gui/src/components/modelSelection/ModelCard.tsx +++ b/gui/src/components/modelSelection/ModelCard.tsx @@ -147,9 +147,7 @@ function ModelCard(props: ModelCardProps) {

{props.title}

- {props.tags?.map((tag, i) => ( - - ))} + {props.tags?.map((tag, i) => )}

{props.description}