Elffuss BraidHub

kikocis/continue public

chore: format
Changeset3fe1abb7e2045feaa7725868438c0f82ba0b04b45bed4e5730d95d1d7111c700
AuthorNate <sestinj@gmail.com> · 2025-09-11 14:48 -07:00
CommitterNate <sestinj@gmail.com> · 2025-09-11 14:48 -07:00
Parentsc7ce60877384

Browse the files at this changeset

3 files changed

modified extensions/cli/AGENTS.md +5 −0
@@ -18,25 +18,30 @@
1818 ### Core Components
1919
2020 1. **Entry Point** (`src/index.ts`): Main CLI logic with two modes:
21+
2122 - **Headless mode**: Non-interactive mode for automation/CI
2223 - **TUI mode**: Terminal User Interface using Ink/React
2324 - **Standard mode**: Traditional readline-based chat interface
2425
2526 2. **Authentication** (`src/auth/`): WorkOS-based authentication system
27+
2628 - `ensureAuth.ts`: Handles authentication flow
2729 - `workos.ts`: WorkOS configuration and token management
2830
2931 3. **Continue SDK Integration** (`src/continueSDK.ts`): Initializes the Continue SDK client with:
32+
3033 - API key authentication
3134 - Assistant configuration (slug-based)
3235 - Organization support
3336
3437 4. **Terminal UI** (`src/ui/`): React/Ink-based TUI components
38+
3539 - `TUIChat.tsx`: Main chat interface component
3640 - `UserInput.tsx`: Input handling with multi-line support
3741 - `TextBuffer.ts`: Text display utilities
3842
3943 5. **Tools System** (`src/tools/`): Built-in development tools including:
44+
4045 - File operations (read, write, list)
4146 - Code search functionality
4247 - Terminal command execution
modified extensions/cli/spec/config-loading.md +2 −0
@@ -23,11 +23,13 @@
2323 **When CLI is invoked, config source is determined in this order:**
2424
2525 1. **CLI `--config` Flag** (highest priority)
26+
2627 - File path (starts with `.`, `/`, `~`): Loads local YAML file
2728 - Assistant slug (`owner/package`): Fetches from Continue platform
2829 - Overrides any saved preferences
2930
3031 2. **Saved Config URI** (if no `--config` flag)
32+
3133 - Retrieved from authentication config
3234 - Converts `file://` URIs back to file paths
3335 - Converts `slug://` URIs back to assistant slugs
modified extensions/cli/spec/onboarding.md +1 −0
@@ -8,6 +8,7 @@
88
99 1. If the --config flag is provided, load this config
1010 2. Otherwise, we will present the user with two options:
11+
1112 - 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
1213 - 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
1314