-
Notifications
You must be signed in to change notification settings - Fork 5
feat(vscode): editor-theme design system, config hub, and host UX #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "pythinker-code": patch | ||
| --- | ||
|
|
||
| Render long conversations with a virtualized list, fix control overlap at narrow sidebar widths, and make sign-out work from the command palette. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "pythinker-code": minor | ||
| --- | ||
|
|
||
| Combine permission mode, plan mode, and thinking effort into one composer menu, and answer approval prompts with number keys. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "pythinker-code": minor | ||
| --- | ||
|
|
||
| Add a config hub page that shows models, providers, MCP servers, the local config file, and extension settings in one place. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "pythinker-code": minor | ||
| --- | ||
|
|
||
| The extension UI now follows the editor color theme, including light, dark, and high-contrast themes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "pythinker-code": minor | ||
| --- | ||
|
|
||
| Add a status bar indicator, quick-fix code actions, terminal and editor context menu entries, a getting-started walkthrough, and a new-conversation keybinding. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| /** | ||
| * Host-side activity counters for the status bar and view badge. Streams are | ||
| * counted around the StreamChat handler; approvals and questions are counted | ||
| * in the reverse-RPC controller. No `vscode` import on purpose: the runtime | ||
| * files that call in here run under plain-node vitest. | ||
| */ | ||
|
|
||
| export interface ActivityStatus { | ||
| readonly activeStreams: number; | ||
| readonly pendingApprovals: number; | ||
| } | ||
|
|
||
| type ActivityListener = (status: ActivityStatus) => void; | ||
|
|
||
| let activeStreams = 0; | ||
| let pendingApprovals = 0; | ||
| const listeners = new Set<ActivityListener>(); | ||
|
|
||
| export function getActivity(): ActivityStatus { | ||
| return { activeStreams, pendingApprovals }; | ||
| } | ||
|
|
||
| export function onActivityChange(listener: ActivityListener): () => void { | ||
| listeners.add(listener); | ||
| return () => listeners.delete(listener); | ||
| } | ||
|
|
||
| export function trackStream(delta: number): void { | ||
| activeStreams = Math.max(0, activeStreams + delta); | ||
| fire(); | ||
| } | ||
|
|
||
| export function trackApprovals(delta: number): void { | ||
| if (delta === 0) return; | ||
| pendingApprovals = Math.max(0, pendingApprovals + delta); | ||
| fire(); | ||
| } | ||
|
|
||
| function fire(): void { | ||
| const status = getActivity(); | ||
| for (const listener of listeners) listener(status); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.