chore: bump version to v5.2.7

Changes in v5.2.7:
- Security fix: pass env vars via process environment instead of command line
- Prevents ANTHROPIC_API_KEY leakage in ps/logs
- Add SetEnv() interface to commandRunner
- Type-safe env parsing with 1MB file size limit
- Comprehensive test coverage for loadMinimalEnvSettings()

Related: #89, PR #92

Generated with SWE-Agent.ai

Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
This commit is contained in:
cexll
2025-12-21 20:25:23 +08:00
parent 4d69c8aef1
commit 0ceb819419
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ import (
)
const (
version = "5.2.6"
version = "5.2.7"
defaultWorkdir = "."
defaultTimeout = 7200 // seconds (2 hours)
codexLogLineLimit = 1000

View File

@@ -3017,7 +3017,7 @@ func TestVersionFlag(t *testing.T) {
t.Errorf("exit = %d, want 0", code)
}
})
want := "codeagent-wrapper version 5.2.6\n"
want := "codeagent-wrapper version 5.2.7\n"
if output != want {
t.Fatalf("output = %q, want %q", output, want)
}
@@ -3031,7 +3031,7 @@ func TestVersionShortFlag(t *testing.T) {
t.Errorf("exit = %d, want 0", code)
}
})
want := "codeagent-wrapper version 5.2.6\n"
want := "codeagent-wrapper version 5.2.7\n"
if output != want {
t.Fatalf("output = %q, want %q", output, want)
}
@@ -3045,7 +3045,7 @@ func TestVersionLegacyAlias(t *testing.T) {
t.Errorf("exit = %d, want 0", code)
}
})
want := "codex-wrapper version 5.2.6\n"
want := "codex-wrapper version 5.2.7\n"
if output != want {
t.Fatalf("output = %q, want %q", output, want)
}