compound-agent 1.4.1 → 1.4.2

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 CHANGED
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [1.4.2] - 2026-02-23
13
+
14
+ ### Fixed
15
+
16
+ - **Banner audio crash on headless Linux**: Async `ENOENT` error from missing `aplay` no longer crashes `ca setup --update`
17
+ - **PowerShell path injection on Windows**: Temp paths containing apostrophes no longer break or inject commands in `banner-audio.ts`
18
+ - **Banner audio test coverage**: Rewrote tests with proper mock isolation (`vi.spyOn` + file-scope `vi.mock`), covering async ENOENT, sync throw, stop() idempotency, and normal exit cleanup
19
+
12
20
  ## [1.4.1] - 2026-02-22
13
21
 
14
22
  ### Changed
package/dist/cli.js CHANGED
@@ -1957,7 +1957,7 @@ function spawnPlayer(filePath) {
1957
1957
  case "win32":
1958
1958
  return spawn("powershell", [
1959
1959
  "-c",
1960
- `(New-Object Media.SoundPlayer '${filePath}').PlaySync()`
1960
+ `(New-Object Media.SoundPlayer "${filePath.replace(/"/g, '`"')}").PlaySync()`
1961
1961
  ], { stdio: "ignore", detached: true });
1962
1962
  default:
1963
1963
  return null;
@@ -1990,6 +1990,12 @@ function playBannerAudio() {
1990
1990
  } catch {
1991
1991
  }
1992
1992
  };
1993
+ proc.on("error", () => {
1994
+ try {
1995
+ unlinkSync(tmpPath);
1996
+ } catch {
1997
+ }
1998
+ });
1993
1999
  proc.on("exit", () => {
1994
2000
  try {
1995
2001
  unlinkSync(tmpPath);
@@ -8589,7 +8595,15 @@ function registerVerifyGatesCommand(program2) {
8589
8595
  }
8590
8596
 
8591
8597
  // src/changelog-data.ts
8592
- var CHANGELOG_RECENT = `## [1.4.1] - 2026-02-22
8598
+ var CHANGELOG_RECENT = `## [1.4.2] - 2026-02-23
8599
+
8600
+ ### Fixed
8601
+
8602
+ - **Banner audio crash on headless Linux**: Async \`ENOENT\` error from missing \`aplay\` no longer crashes \`ca setup --update\`
8603
+ - **PowerShell path injection on Windows**: Temp paths containing apostrophes no longer break or inject commands in \`banner-audio.ts\`
8604
+ - **Banner audio test coverage**: Rewrote tests with proper mock isolation (\`vi.spyOn\` + file-scope \`vi.mock\`), covering async ENOENT, sync throw, stop() idempotency, and normal exit cleanup
8605
+
8606
+ ## [1.4.1] - 2026-02-22
8593
8607
 
8594
8608
  ### Changed
8595
8609
 
@@ -8603,16 +8617,7 @@ var CHANGELOG_RECENT = `## [1.4.1] - 2026-02-22
8603
8617
 
8604
8618
  ### Changed
8605
8619
 
8606
- - **Version consolidation**: Roll-up release of v1.3.7\u2013v1.3.9 production readiness fixes (test pipeline hardening, data integrity, two-phase vector search, FTS5 sanitization)
8607
-
8608
- ## [1.3.9] - 2026-02-22
8609
-
8610
- ### Fixed
8611
-
8612
- - **Integration test pipeline reliability**: Moved \`pnpm build\` from vitest globalSetup to npm script pre-step, eliminating EPERM errors from tsx/IPC conflicts inside vitest's process
8613
- - **Fail-fast globalSetup**: Missing \`dist/cli.js\` now throws a clear error instead of cascading 68+ test failures
8614
- - **Integration pool isolation**: Changed from \`threads\` to \`forks\` for integration tests \u2014 proper process isolation for subprocess-spawning tests
8615
- - **Timeout safety net**: Added \`testTimeout: 30_000\` to fallback vitest.config.ts, preventing 5s default under edge conditions`;
8620
+ - **Version consolidation**: Roll-up release of v1.3.7\u2013v1.3.9 production readiness fixes (test pipeline hardening, data integrity, two-phase vector search, FTS5 sanitization)`;
8616
8621
 
8617
8622
  // src/commands/about.ts
8618
8623
  function registerAboutCommand(program2) {