Skip to content

Commit fa499be

Browse files
committed
Refactor README and UI to emphasize autofill functionality and simplify messaging
1 parent 7076638 commit fa499be

3 files changed

Lines changed: 15 additions & 27 deletions

File tree

‎README.md‎

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,45 @@
22

33
<a href="https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder" target="_blank"><img src="https://img.shields.io/badge/Install-VS_Code_Marketplace-blue" alt="Get from Visual Studio Code Marketplace" /></a> <a href="https://open-vsx.org/extension/robertpiosik/gemini-coder" target="_blank"><img src="https://img.shields.io/badge/Install-Open_VSX_Registry-a60ee5" alt="Get from Open VSX Registry" /></a> <a href="https://github.com/robertpiosik/CodeWebChat/blob/dev/LICENSE" target="_blank"><img src="https://img.shields.io/badge/License-GPL--3.0-green.svg" alt="GPL-3.0 license" /></a>
44

5-
CWC is a context-first AI coding extension for VS Code with first-class support for [prompt caching](https://platform.openai.com/docs/guides/prompt-caching), enabling reduced latency by up to 80% and input token costs by up to 90%. Great for your wallet, and for the planet 🌱, too.
5+
Autofill for chatbots. Works with VS Code, Cursor, and others.
66

7-
Works with VS Code family of editors like Cursor, Antigravity, or VSCodium.
8-
9-
✅ **Prepare messages for...**
7+
👉️ **Easily send messages with...**
108

119
- Chatbots—_ChatGPT, Claude, Gemini, Grok, DeepSeek, etc._
12-
- Model providers—_Gemini API, OpenRouter, local Ollama, etc._
13-
14-
✅ **Apply responses**—changes integration in all edit formats with easy rollback \
15-
✅ **Fully featured**—refactorings, code completions, commit messages, and more
10+
- API calls—_Gemini API, OpenRouter, local Ollama, etc._
1611

17-
❤️ **Free and open-source**—released under the GPL-3.0 license \
18-
🏠️ **Local friendly**—zero tool-calling design suits small models \
19-
🌱 **Efficient**—carry cached prefill (input tokens) across tasks \
20-
🔒 **Privacy-focused**—runs 100% on your machine
12+
👉️ **Apply responses**—changes integration in all edit formats with easy rollback \
13+
👉️ **Fully featured**—refactorings, code completions, commit messages, and more \
14+
❤️ **Free and open-source**—released under the GPL-3.0 license
2115

2216
<p>
2317
<img src="https://github.com/robertpiosik/CodeWebChat/raw/HEAD/packages/shared/src/media/screenshot.png" alt="Screenshot" />
2418
</p>
2519

2620
## Introduction
2721

28-
**LLMs are brilliant, yet mindless pattern matchers.** Because they lack properties similar to mental models, they can't imagine how the correct output should look like before their context is filled with relevant files.
29-
30-
To mitigate this limitation, other, agentic tools ask you to prepare extensive markdown-based plans and feature descriptions, so the system based on a keyword matching (via _grep_ tool calling) can do a better job at automated context compilation.
31-
32-
Code Web Chat proposes an alternative, more mindful 🧠 approach of **model guidance through context ownership.** With it come big wins—your instructions are simple, responses fast, accuracy can't get any better, and because all the recently modified files are placed at the very end of the message, **prompt cache is hit for most of its length enabling 10X cost savings.**
33-
34-
### **Context-first approach**
22+
**LLMs are brilliant, yet mindless pattern matchers.** Because they lack properties similar to mental models, they can't _imagine_ how the correct output should look like before their context is filled with relevant files.
3523

36-
Meet a simple and effective workflow—select files, enter instructions, and send message with your favorite chatbot or a model provider of choice.
24+
To address this limitation, **Code Web Chat lets you guide the model with context**. By having it static, you automatically use [prompt caching](https://platform.openai.com/docs/guides/prompt-caching) for substantial 50-90% discount on input tokens.
3725

38-
Constructed prompt is straightforward and focus the model's whole attention on the task. Example:
26+
**Messages are simple**, constructed from selected files, chosen edit format, and prompt:
3927

4028
```
4129
<system>
42-
Whenever showing a new, updated, renamed or deleted file...
30+
Whenever showing a new, updated, renamed or deleted file, provide a brief explanation...
4331
</system>
4432
<files>
4533
<file path="src/calculator.ts">
4634
export const addNumbers = (a: number, b: number) => a + b;
4735
</file>
4836
</files>
4937
<system>
50-
Whenever showing a new, updated, renamed or deleted file...
38+
Whenever showing a new, updated, renamed or deleted file, provide a brief explanation...
5139
</system>
5240
Implement a subtract function.
5341
```
5442

55-
Once the response is generated, a built-in parser extracts code blocks with file edits for a one-click, interactive changes integration.
43+
Once the response is ready, all changes can be integrated in a fully revertible way.
5644

5745
## Browser integration
5846

‎packages/vscode/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat",
4-
"description": "CWC, the context-first AI coding",
5-
"version": "1.692.0",
4+
"description": "CWC, the autofill for chatbots",
5+
"version": "1.694.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "rimraf out && npm run compile",

‎packages/vscode/src/views/panel/frontend/Home/Home.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const Home: React.FC<Props> = (props) => {
100100

101101
<div className={styles.inner__mode}>
102102
<ModeButton
103-
pre="Auto-fill"
103+
pre="Autofill"
104104
label="Chatbots"
105105
on_click={props.on_chatbots_click}
106106
/>

0 commit comments

Comments
 (0)