Skip to content

Commit af9b5cf

Browse files
authored
0.148.0 (#8779)
1 parent ad908f0 commit af9b5cf

4 files changed

Lines changed: 71 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 0.148.0
4+
5+
### Changes
6+
7+
- Contribute YAML schema validation for GitHub issue template files under `.github/ISSUE_TEMPLATE/`.
8+
9+
### Fixes
10+
11+
- Comments panel discards `<img>` alt attribute, renders "Image: image". https://github.com/microsoft/vscode-pull-request-github/issues/8760
12+
- Merge button shows a separator even when there are no extra options. https://github.com/microsoft/vscode-pull-request-github/issues/8759
13+
- URI handler rejects PR URLs with underscores in the owner name. https://github.com/microsoft/vscode-pull-request-github/issues/8758
14+
- PR description is reset if the branch push fails. https://github.com/microsoft/vscode-pull-request-github/issues/8678
15+
16+
**_Thank You_**
17+
18+
* [@Malix-Labs](https://github.com/Malix-Labs): Contribute YAML schema validation for GitHub issue templates [PR #8761](https://github.com/microsoft/vscode-pull-request-github/pull/8761)
19+
320
## 0.146.0
421

522
### Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"treeItemMarkdownLabel",
4242
"treeViewMarkdownMessage"
4343
],
44-
"version": "0.146.0",
44+
"version": "0.148.0",
4545
"publisher": "GitHub",
4646
"engines": {
4747
"node": ">=20",

src/@types/vscode.proposed.chatParticipantPrivate.d.ts

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,55 @@ declare module 'vscode' {
468468
*/
469469
readonly fullReferenceName?: string;
470470
}
471+
472+
// #region Quota Sync
473+
474+
/**
475+
* A snapshot of quota usage for a single category (chat, completions, premium chat).
476+
*/
477+
export interface ChatQuotaSnapshot {
478+
readonly percentRemaining: number;
479+
readonly unlimited: boolean;
480+
readonly hasQuota?: boolean;
481+
readonly resetAt?: number;
482+
readonly usageBasedBilling?: boolean;
483+
readonly entitlement?: number;
484+
readonly quotaRemaining?: number;
485+
}
486+
487+
/**
488+
* A snapshot of rate limit usage for a category (session or weekly).
489+
*/
490+
export interface ChatRateLimitSnapshot {
491+
readonly percentRemaining: number;
492+
readonly unlimited: boolean;
493+
readonly resetDate?: string;
494+
}
495+
496+
/**
497+
* Quota snapshot data covering all categories.
498+
* Accepted by {@link chat.updateQuotas} for extension-to-core sync.
499+
*/
500+
export interface ChatQuotaSnapshots {
501+
readonly resetDate?: string;
502+
readonly resetDateHasTime?: boolean;
503+
readonly usageBasedBilling?: boolean;
504+
readonly canUpgradePlan?: boolean;
505+
readonly chat?: ChatQuotaSnapshot;
506+
readonly completions?: ChatQuotaSnapshot;
507+
readonly premiumChat?: ChatQuotaSnapshot;
508+
readonly additionalUsageEnabled?: boolean;
509+
readonly additionalUsageCount?: number;
510+
readonly sessionRateLimit?: ChatRateLimitSnapshot;
511+
readonly weeklyRateLimit?: ChatRateLimitSnapshot;
512+
}
513+
514+
export namespace chat {
515+
/**
516+
* Push quota snapshot data from the extension to the core workbench.
517+
*/
518+
export function updateQuotas(quotas: ChatQuotaSnapshots): void;
519+
}
520+
521+
// #endregion
471522
}

0 commit comments

Comments
 (0)