Skip to content

Commit 3a9b939

Browse files
committed
Update README to clarify context engineering approach and improve settings UI styling and layout
1 parent 1b71a8f commit 3a9b939

4 files changed

Lines changed: 13 additions & 14 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ Code Web Chat (CWC) is a free and open-source AI coding extension designed for s
3232

3333
**With its focus on context engineering, CWC addresses pitfalls of coding agents.**
3434

35-
We believe that automatic inclusion of files in the context window is a context-polluting approach caused by an inherent characteristics of the model—its inability to know about a file's purpose before reading it. That may make the model reason about wrong things, possibly leading to regressions. These could be overwhelmingly hard to fix with the very approach that created them.
35+
We believe that tool-calling based search for files is a bad, context-polluting design caused by an inherent characteristics of the model, that is, its inability to know about a file's purpose before reading it. That may make the model reason about wrong things, possibly leading to regressions. These could be overwhelmingly hard to fix with the very approach that created them.
3636

37-
Although taking care about what the model sees sounds like a chore, the benefits are big. Simple instructions just work and the model is easy to guide with examples.
37+
Taking care about context window may sound time consuming, but CWC's _Prune Context_ prompt type will help you find what's needed in seconds.
38+
39+
With the non-agentic approach simple instructions just work and the model is easy to guide with examples.
3840

3941
Code with AI in a way that foster codebase understanding and gets you fast and accurate edits!
4042

‎packages/ui/src/components/editor/settings/Section/Section.module.scss‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,8 @@
4343
}
4444

4545
&__group {
46-
position: absolute;
47-
top: 38px;
48-
background-color: var(--vscode-button-background);
49-
color: var(--vscode-button-foreground);
50-
font-size: 12px;
51-
border-radius: 999px;
52-
padding: 2px 8px;
46+
font-weight: 400;
47+
color: var(--vscode-textLink-foreground);
5348
}
5449

5550
&__title {

‎packages/ui/src/components/editor/settings/Section/Section.tsx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ export const Section = forwardRef<HTMLDivElement, Props>((props, ref) => {
9090
})}
9191
>
9292
<div className={styles.header__marker} ref={marker_ref} />
93-
{props.group && (
94-
<div className={styles.header__group}>{props.group}</div>
95-
)}
96-
<div className={styles.header__title}>{props.title}</div>
93+
<div className={styles.header__title}>
94+
{props.group && (
95+
<span className={styles.header__group}>{props.group}: </span>
96+
)}
97+
{props.title}
98+
</div>
9799
<div className={styles.header__subtitle}>{props.subtitle}</div>
98100
</div>
99101
{props.children}

‎packages/vscode/src/views/settings/frontend/Home/sections/GeneralSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const GeneralSection = forwardRef<HTMLDivElement, Props>(
9797
<Section
9898
ref={ref}
9999
title="General"
100-
subtitle="Configure your experience with CWC."
100+
subtitle="Configure your experience."
101101
on_stuck_change={props.on_stuck_change}
102102
>
103103
<Group>

0 commit comments

Comments
 (0)