Skip to content

Latest commit

Β 

History

8,580 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Logo

Get from Visual Studio Code Marketplace Get from Open VSX Registry

Blazing fast AI coding for VS Code

chatbots, APIs, CLIs
free and privacy-first

Privacy-first

CWC operates 100% on your machine. No code, prompts or usage data are collected.

Sessionless design

CWC proposes a workflow that replaces messaging the model in an ever-growing conversation with single-turn prompts, for 10x more usage compared to coding with agents alone!

The workflow

  • type instructions
  • run Agentic Search for task-relevant files
  • select examples for model guidance
  • send CWC-constructed markdown

Send prompts with...

πŸ‘‰ Chatbots

Copy & paste into chatbots or autofill via browser extension.

πŸ‘‰ API requests

Call OpenAI-API-compatible model providers directly from your editor.

πŸ‘‰ Agents

Invoke your favorite coding agent headlessly or in the integrated terminal.

Prompts

Overview of CWC-constructed prompts.

πŸ“„ Agentic search

Find Task-relevant files via your favorite agentic harness.

AGENT
# Task

In the project, find the complete set of primary and structural files relevant to the query.

# Output formatting

Output strictly as a bulleted list of file paths without explanations or any other text (e.g., - `path/to/file.ext`).

# Query

[INSTRUCTIONS]

πŸ“„ Editing

New features, bug fixes, and refactors.

WEB/API
# Files

[SELECTED FILES]

# Output formatting

Whenever showing a new, updated, renamed, or deleted file, provide a brief explanation, then print the path in a markdown heading (e.g. ### New file: `src/examples/hello.py`, ### Updated file: `src/examples/hello.py`, ### Renamed file: `src/examples/hello.py` (old) `src/welcome.py` (new), ### Deleted file: `src/examples/hello.py`), followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict syntax. Example:

[EXAMPLE]

# Task

[INSTRUCTIONS]
AGENT
# Files

[SELECTED FILES]

# Requirements

- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
- Exception: Perform file system operations (create, update, delete) required to complete the [task](#task).

# Task

[INSTRUCTIONS]

πŸ“„ Asking

Explanations, planning, and analysis.

WEB/API
# Files

[SELECTED FILES]

# Task

[INSTRUCTIONS]
AGENT
# Files

[SELECTED FILES]

# Requirements

- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.

# Task

[INSTRUCTIONS]

πŸ“„ Intelligent search

Narrow-down broader selection.

WEB
# Files

[WORKSPACE FILES, A FOLDER OR SELECTED FILES]

# Task

Among the attached files, find the complete set of primary and structural files relevant to the query.

# Output formatting

Your response must begin with "**Intelligent file search results:**", then a bulleted list of file paths, followed by a brief explanation. Example:

**Intelligent file search results:**

- `src/index.ts`
- `src/greetings/hello.ts`
- `src/greetings/welcome.ts`

These files contain the core greeting logic and module exports.

# Query

[INSTRUCTIONS]
API
# Files

[WORKSPACE FILES, A FOLDER OR SELECTED FILES]

# Task

Among the attached files, find the complete set of primary and structural files relevant to the query.

# Output formatting

Output strictly as a bulleted list of file paths without explanations or any other text. Example:

- `src/index.ts`
- `src/greetings/hello.ts`
- `src/greetings/welcome.ts`

# Query

[INSTRUCTIONS]
AGENT
# Files

[WORKSPACE FILES, A FOLDER OR SELECTED FILES]

# Task

Among the attached files, find the complete set of primary and structural files relevant to the query.

# Output formatting

Output strictly as a bulleted list of file paths without explanations or any other text. Example:

- `src/index.ts`
- `src/greetings/hello.ts`
- `src/greetings/welcome.ts`

# Requirements

- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.

# Query

[INSTRUCTIONS]

πŸ“„ Code at cursor

TAB completions from SOTA reasoning models.

WEB
# Files

[SELECTED FILES]

### File: `[ACTIVE FILE PATH]`

```
[PREFIX]<missing_text>[INSTRUCTIONS]</missing_text>[SUFFIX]
```

# Output formatting

Your response must begin with a markdown heading identifying the file and the cursor position, followed by a markdown code block containing the replacement text, followed by a brief explanation. The heading must be: "### Code at cursor: `[ACTIVE FILE PATH]` (ROW:COL)". Always refer to the symbol "<missing_text>" as "cursor position" and "replacement" as "completion". Example:

[EXAMPLE]

# Task

Find correct replacement text for the <missing_text> symbol.
API
# Files

[SELECTED FILES]

### File: `[ACTIVE FILE PATH]`

```
[PREFIX]<missing_text>[INSTRUCTIONS]</missing_text>[SUFFIX]
```

# Output formatting

Respond with replacement text within "replacement" XML tags, without explanations or any other text.
Example:
<replacement>!== undefined</replacement>

# Task

Find correct replacement text for the <missing_text> symbol.
AGENT
# Files

[SELECTED FILES]

### File: `[ACTIVE FILE PATH]`

```
[PREFIX]<missing_text>[INSTRUCTIONS]</missing_text>[SUFFIX]
```

# Output formatting

Respond with replacement text within "replacement" XML tags, without explanations or any other text.
Example:
<replacement>!== undefined</replacement>

# Requirements

- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.

# Task

Find correct replacement text for the <missing_text> symbol.

πŸ“„ Commit messages

Summaries based on staged changes and context files.

WEB/API

# Files

[SELECTED FILES WHEN EDITS WERE ACCEPTED]

# Changes

[STAGED CHANGES]

# Output formatting

Your response must begin with "**Commit message:**", then proceed with the message. Example:

**Commit message:** Bump version to 1.0.1

# Task

Write a brief and precise summary for the changes, limited to a single sentence. Because the summary will be used for a commit message, don't use any markdown formatting and don't include a trailing dot. Use an imperative tone to ensure clarity and focus on the primary change or purpose.
AGENT
# Files

[SELECTED FILES WHEN EDITS WERE ACCEPTED]

# Changes

[STAGED CHANGES]

# Output formatting

Your response must begin with "**Commit message:**", then proceed with the message. Example:

**Commit message:** Bump version to 1.0.1

# Requirements

- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.

# Task

Write a brief and precise summary for the changes, limited to a single sentence. Because the summary will be used for a commit message, don't use any markdown formatting and don't include a trailing dot. Use an imperative tone to ensure clarity and focus on the primary change or purpose.

πŸ“„ Patch repair

Applying malformed edits.

WEB/API
[ORIGINAL FILE]

[MALFORMED EDITS]

# Output formatting

Your response must begin with a markdown heading identifying the file, followed by a markdown code block containing the updated file. The heading must be: "### Patch repair: `path/to/file.ext`". Example:

[EXAMPLE]

# Task

Apply the attached changes to the file without explanations or any other text.
AGENT
# File: `[FILE PATH]`

[ORIGINAL FILE CONTENT]

[MALFORMED EDITS]

# Output formatting

Your response must begin with a markdown heading identifying the file, followed by a markdown code block containing the updated file. The heading must be: "### Patch repair: `path/to/file.ext`". Example:

[EXAMPLE]

# Requirements

- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.

# Task

Apply the attached changes to the file without explanations or any other text.

πŸ“„ Voice input

Speech-to-text transcriptions.

API
# Task

Transcribe using clean verbatim. Remove filler words (such as 'um,' 'uh,' 'like'), false starts, and stutters. Preserve the speaker's exact words, slang, and sentence structure, but use natural punctuation and sentence breaks to ensure readability.

# Output formatting

Respond with the audio transcription or the word INAUDIBLE, without explanations or any other text.
AGENT
# Task

Transcribe using clean verbatim. Remove filler words (such as 'um,' 'uh,' 'like'), false starts, and stutters. Preserve the speaker's exact words, slang, and sentence structure, but use natural punctuation and sentence breaks to ensure readability.

Audio file: `[AUDIO_FILE_PATH]`

# Output formatting

Respond with the audio transcription or the word INAUDIBLE, without explanations or any other text.

# Requirements

- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
- Exception: If [task](#task) includes *.wav audio file paths, read them using the appropriate tool.

Commands

Code at Cursor

  • Code at Cursor - Get an inline snippet while using the current context.
  • Code at Cursor using... - Inline snippet with configuration selection.
  • Code at Cursor with Instructions - Inline snippet with instructions.
  • Code at Cursor with Instructions using... - Inline snippet with instructions and configuration selection.

Context

  • Save File Selection - Save the current context.
  • Restore File Selection - Restore a saved context.
  • Select Workspace File... - Select a file from the workspace.
  • Search Files... - Find files based on a search query.
  • Search in Selected Files... - Find within currently selected files.
  • Agentic Search... - Find task-relevant files using a headless CLI invocation.
  • Select Clipboard Paths... - Select files based on paths in your clipboard.
  • Select Unstaged Files... - Select files with unstaged changes.
  • Select Files of Commit... - Select files modified in a specific commit.

Copy

  • Copy Markdown - Copy contents of the current file selection.
  • Copy Markdown of Open Editors - Copy contents of file selection in open editors.
  • Copy Paths... - Copy paths of the current file selection.
  • Copy Paths of Open Editors... - Copy paths of file selection in open editors.

Commit messages

  • Commit Changes - Generate commit message in your preferred style and commit.

History

  • History - Manage saved states of the workspace.
  • Create New Checkpoint - Create a history entry of the workspace state.

Actions

  • Apply Chat Response - Integrate LLM response.

Misc

  • Duplicate Workspace - Copy the extension's state in a new window.

Building from source

Prerequisites

Steps

  1. Clone the repository: git clone https://github.com/robertpiosik/CodeWebChat.git && cd CodeWebChat
  2. Install workspace dependencies: pnpm install
  3. Navigate to the editor app and build the package: cd apps/editor && pnpm run build
  4. Install the generated .vsix file in VS Code: Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P), run Extensions: Install from VSIX..., and select the newly created file.

Copyright Β© 2026 Robert Piosik
E-mail: robertpiosik@gmail.com

About

Blazing fast AI coding for VS Code

Resources

Stars

1.4k stars

Watchers

10 watching

Forks

Sponsor this project

Contributors

Languages