chore(changelog): normalized unreleased entries

This commit is contained in:
can1357
2026-08-05 02:40:47 +02:00
parent e9c5bc9130
commit b361bbde20
4 changed files with 5 additions and 2247 deletions
+4 -3
View File
@@ -6,6 +6,10 @@
- Renamed `compareVersions` to `compareChangelogEntries` in `@oh-my-pi/pi-coding-agent/utils/changelog`. The function signature and behavior are unchanged; update imports to use the new name.
### Added
- Added automatic detection of common Ungoogled Chromium Linux installations for the browser tool.
### Changed
- Restored the legacy project-scoped session directory naming scheme and removed its automatic migration ([#7646](https://github.com/can1357/oh-my-pi/issues/7646)).
@@ -64,9 +68,6 @@
- Fixed install.sh falsely reporting success on musl-based systems (such as Alpine Linux) when the binary fails to start; the installer now smoke-tests the binary, exits non-zero on failure, and provides remediation steps.
- Fixed Codex config.toml discovery incorrectly importing MCP servers that are configured with enabled = false.
- Fixed bash.patterns allow rules rejecting valid commands when quoted arguments contained shell metacharacters (such as Cargo benchmark regex filters).
### Added
- Added automatic detection of common Ungoogled Chromium Linux installations for the browser tool.
## [17.2.6] - 2026-08-03
@@ -850,30 +850,6 @@ describe("AgentSession handoff", () => {
expect(promptSpy).toHaveBeenCalledTimes(1);
});
it("does not switch providers after provider-native auto-compaction fails", async () => {
session.settings.set("compaction.strategy", "context-full");
session.settings.set("compaction.thresholdTokens", 50);
session.settings.set("compaction.keepRecentTokens", 1);
session.settings.set("contextPromotion.enabled", false);
const attemptedCandidates: string[] = [];
vi.spyOn(compactionModule, "compact").mockImplementation(async (_preparation, candidate) => {
attemptedCandidates.push(`${candidate.provider}/${candidate.id}`);
throw new compactionModule.NativeCompactionError(new Error("native compaction transport failed"));
});
await session.prompt("pending prompt ".repeat(120));
await waitFor(() =>
events.some(
event =>
event.type === "auto_compaction_end" &&
event.errorMessage?.includes("native compaction transport failed") === true,
),
);
expect(attemptedCandidates.length).toBeGreaterThan(0);
expect(new Set(attemptedCandidates.map(candidate => candidate.split("/", 1)[0]))).toHaveLength(1);
});
it("keeps pre-prompt context-full checks aligned with provider-anchored usage", async () => {
await session.dispose();
authStorage.setRuntimeApiKey("openai", "test-key");
@@ -1,6 +1,5 @@
import { describe, expect, it } from "bun:test";
import * as path from "node:path";
import {
stealthIgnoreDefaultArgsForTest,
@@ -55,9 +54,7 @@ describe("system Chromium candidates", () => {
expect(candidates).toContain("/usr/bin/ungoogled-chromium");
expect(candidates).toContain("/usr/bin/ungoogled-chromium-browser");
expect(candidates).toContain(`/var/lib/flatpak/exports/bin/${UNGOOGLED_CHROMIUM_FLATPAK_ID}`);
expect(candidates).toContain(
`/home/test/.local/share/flatpak/exports/bin/${UNGOOGLED_CHROMIUM_FLATPAK_ID}`,
);
expect(candidates).toContain(`/home/test/.local/share/flatpak/exports/bin/${UNGOOGLED_CHROMIUM_FLATPAK_ID}`);
});
it("keeps the previously supported Linux executables", () => {
File diff suppressed because it is too large Load Diff