pi-minimal-footer 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/extensions/index.ts +1 -1
- package/extensions/lib/usage-providers.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.7.1] - 2026-10-16
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Use the correct Copilot account credentials when displaying quota usage
|
|
15
|
+
- Keep extension statuses on one footer line when they contain newlines or tabs
|
|
16
|
+
|
|
17
|
+
- Cover Pi 1.3.0 in compatibility checks
|
|
18
|
+
|
|
10
19
|
## [0.7.0] - 2026-10-13
|
|
11
20
|
|
|
12
21
|
### Fixed
|
|
@@ -254,7 +263,8 @@ First npm-ready release.
|
|
|
254
263
|
|
|
255
264
|
- Project scaffold — `extensions/index.ts` with basic footer structure, `package.json` with pi extension manifest, `README.md`, `LICENSE` (MIT)
|
|
256
265
|
|
|
257
|
-
[Unreleased]: https://github.com/Ryu-CZ/pi-minimal-footer/compare/v0.7.
|
|
266
|
+
[Unreleased]: https://github.com/Ryu-CZ/pi-minimal-footer/compare/v0.7.1...HEAD
|
|
267
|
+
[0.7.1]: https://github.com/Ryu-CZ/pi-minimal-footer/compare/v0.7.0...v0.7.1
|
|
258
268
|
[0.7.0]: https://github.com/Ryu-CZ/pi-minimal-footer/compare/v0.6.0...v0.7.0
|
|
259
269
|
[0.6.0]: https://github.com/Ryu-CZ/pi-minimal-footer/compare/v0.5.3...v0.6.0
|
|
260
270
|
[0.5.3]: https://github.com/Ryu-CZ/pi-minimal-footer/compare/v0.5.2...v0.5.3
|
package/extensions/index.ts
CHANGED
|
@@ -384,7 +384,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
384
384
|
return {
|
|
385
385
|
render(width: number): string[] {
|
|
386
386
|
const statuses = config.showSkills
|
|
387
|
-
? [...footerData.getExtensionStatuses().values()].filter((s) => s.trim())
|
|
387
|
+
? [...footerData.getExtensionStatuses().values()].map((s) => s.replace(/[\r\n\t]/g, " ")).filter((s) => s.trim())
|
|
388
388
|
: [];
|
|
389
389
|
const branch = config.showGitBranch ? footerData.getGitBranch() : null;
|
|
390
390
|
const branchText = branch ? ` ${branch}${state.gitSync}` : "";
|
|
@@ -98,7 +98,9 @@ export async function usageRequest(ctx: ExtensionContext, model: NonNullable<Ext
|
|
|
98
98
|
} else if (provider === "github-copilot") {
|
|
99
99
|
// Quota API needs the GitHub login token, not the exchanged inference token.
|
|
100
100
|
const refresh = storedOAuth(provider).refresh;
|
|
101
|
-
|
|
101
|
+
if (ctx.modelRegistry.isUsingOAuth?.(model) ?? typeof refresh === "string") {
|
|
102
|
+
token = typeof refresh === "string" ? refresh : undefined;
|
|
103
|
+
}
|
|
102
104
|
Object.assign(headers, { "Editor-Version": "vscode/1.96.2", "User-Agent": "GitHubCopilotChat/0.26.7", "X-Github-Api-Version": "2025-04-01" });
|
|
103
105
|
} else if (provider === "google-gemini-cli" && token?.startsWith("{")) {
|
|
104
106
|
const credentials = record(JSON.parse(token));
|
package/package.json
CHANGED