From 1255f32fb6eea418725073c7ddc3469429b21c58 Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Tue, 14 Jul 2026 14:43:01 +0200 Subject: [PATCH] 0.158.0 --- CHANGELOG.md | 11 +++++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/@types/vscode.proposed.chatContextProvider.d.ts | 12 ++++++------ src/@types/vscode.proposed.chatSessionsProvider.d.ts | 6 ++++++ 5 files changed, 26 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51926665ed..c515aa3b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 0.158.0 + +### Changes + +- Display verified badges for commits in the pull request timeline. +- Adopt the updated chat context API. + +### Fixes + +- Correctly account for required approving reviews when determining whether a pull request is ready to merge. + ## 0.156.0 ### Fixes diff --git a/package-lock.json b/package-lock.json index 9b5a71ae85..e3962f6eb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-pull-request-github", - "version": "0.156.0", + "version": "0.158.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-pull-request-github", - "version": "0.156.0", + "version": "0.158.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index e33f921997..d1f7005605 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "treeItemMarkdownLabel", "treeViewMarkdownMessage" ], - "version": "0.156.0", + "version": "0.158.0", "publisher": "GitHub", "engines": { "node": ">=20", diff --git a/src/@types/vscode.proposed.chatContextProvider.d.ts b/src/@types/vscode.proposed.chatContextProvider.d.ts index 00f8a62081..709bb3deca 100644 --- a/src/@types/vscode.proposed.chatContextProvider.d.ts +++ b/src/@types/vscode.proposed.chatContextProvider.d.ts @@ -26,7 +26,7 @@ declare module 'vscode' { export function registerChatWorkspaceContextProvider(id: string, provider: ChatWorkspaceContextProvider): Disposable; /** - * Register a chat explicit context provider. Explicit context items are shown as options when the user explicitly attaches context use the "Attache Context" action in the chat input box. + * Register a chat explicit context provider. Explicit context items are shown as options when the user explicitly attaches context use the "Add Context" action in the chat input box. * * Explicit context providers should also be statically contributed in package.json using the `chatContext` contribution point. * @@ -65,11 +65,11 @@ declare module 'vscode' { export interface ChatContextItem { /** * Icon for the context item. - * - If `icon` is not defined, no icon is shown. - * - If `icon` is defined and is a file or folder icon, the icon is derived from {@link resourceUri} if `resourceUri` is defined. - * - Otherwise, `icon` is used. + * - If `iconPath` is not defined, no icon is shown. + * - If `iconPath` is a file or folder {@link ThemeIcon theme icon}, the icon is derived from {@link resourceUri} if `resourceUri` is defined. + * - Otherwise, `iconPath` is used. */ - icon?: ThemeIcon; + iconPath?: IconPath; /** * Human readable label for the context item. * If not set, the label is derived from {@link resourceUri}. @@ -98,7 +98,7 @@ declare module 'vscode' { */ command?: Command; } - + //@api should we rename to ChatGlobalContextProvider? export interface ChatWorkspaceContextProvider { /** diff --git a/src/@types/vscode.proposed.chatSessionsProvider.d.ts b/src/@types/vscode.proposed.chatSessionsProvider.d.ts index 1a34efa788..1003937f26 100644 --- a/src/@types/vscode.proposed.chatSessionsProvider.d.ts +++ b/src/@types/vscode.proposed.chatSessionsProvider.d.ts @@ -714,6 +714,12 @@ declare module 'vscode' { readonly longContextCacheCost?: number; readonly longContextCacheWriteCost?: number; readonly priceCategory?: string; + readonly promo?: { + readonly id: string; + readonly discountPercent: number; + readonly endsAt: string; + readonly message: string; + }; readonly maxInputTokens?: number; readonly maxOutputTokens?: number; readonly capabilities?: {