feat: vscode extension (#59)
* feat: add initial VS Code extension plan and implementation tasks * feat(vscode): added initial version of an Openchamber VSCode extension * feat(vscode): enhance VS Code extension with theme integration and session management * feat(vscode): implement connection status handling and overlay in VSCode layout * feat: move extension to secondary sidebar * chore: upgrade @opencode-ai/sdk to 1.0.150 * vscode: editor bridge, file picker, click-to-open in tool parts * vscode: layout session lifecycle, theme sync, typography overrides * ui: compact mode for vscode, model search, autocomplete width fixes * perf: scroll force flag, raf placeholder, git polling backoff * ui: tool output styling, markdown code block fix, gitignore * refactor: update typography handling for VSCode runtime, remove unused styles * docs: update README with VS Code extension details and add extension image * docs: update changelog with new features and performance improvements
This commit is contained in:
committed by
GitHub
parent
610ccf4c62
commit
bb72c0fb0c
@@ -1259,9 +1259,55 @@ html:not(.dark) .chat-scroll {
|
||||
Minimal overrides - fonts only, using Streamdown defaults
|
||||
============================================ */
|
||||
|
||||
/* VS Code webviews can inject default pre/code/blockquote backgrounds; tool input/output should inherit the card surface. */
|
||||
.tool-input-surface pre,
|
||||
.tool-input-surface code,
|
||||
.tool-input-surface blockquote,
|
||||
.tool-input-text {
|
||||
background: transparent !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* VSCode: tool cards should honor semantic code sizing, even when syntax themes inject sizes. */
|
||||
:root.vscode-runtime .tool-input-surface,
|
||||
:root.vscode-runtime .tool-output-surface {
|
||||
font-size: var(--text-code) !important;
|
||||
}
|
||||
|
||||
:root.vscode-runtime .tool-input-surface code,
|
||||
:root.vscode-runtime .tool-input-surface pre,
|
||||
:root.vscode-runtime .tool-output-surface code,
|
||||
:root.vscode-runtime .tool-output-surface pre {
|
||||
font-size: inherit !important;
|
||||
}
|
||||
|
||||
/* Model/agent controls: collapse labels in narrow containers (mobile + VSCode side panel). */
|
||||
@container model-controls (max-width: 15rem) {
|
||||
.model-controls__agent-label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@container model-controls (max-width: 12rem) {
|
||||
.model-controls__model-label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Text font: IBM Plex Sans */
|
||||
.streamdown-content {
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-markdown);
|
||||
}
|
||||
|
||||
/* Tool markdown should render at code size to match tool card typography. */
|
||||
.streamdown-content.streamdown-tool {
|
||||
font-size: var(--text-code) !important;
|
||||
}
|
||||
|
||||
.streamdown-content.streamdown-tool code,
|
||||
.streamdown-content.streamdown-tool pre {
|
||||
font-size: inherit !important;
|
||||
}
|
||||
|
||||
/* Code font: IBM Plex Mono */
|
||||
|
||||
Reference in New Issue
Block a user