baikai-kit 0.1.0.3 → 0.1.0.4
raw patch · 1 files changed
+17/−2 lines, 1 filesdep ~baikaiPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: baikai
API changes (from Hackage documentation)
Files
- baikai-kit.cabal +17/−2
baikai-kit.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: baikai-kit-version: 0.1.0.3+version: 0.1.0.4 synopsis: Shared kit installer for AI-agent skills and subagents description: Shared implementation of kit listing, installation, update, uninstall,@@ -22,6 +22,21 @@ -fhide-source-paths -Wmissing-export-lists -Wpartial-fields -Wmissing-deriving-strategies + -- Exhaustiveness is an error, not a warning. A non-exhaustive match+ -- is a crash the compiler already found: it fails at runtime, on+ -- whichever input reaches the missing branch, usually in front of a+ -- user. This is not hypothetical here — adding a constructor to+ -- AgentRunFailure left `failureExitCode` non-exhaustive and shipped a+ -- pattern-match failure on `baikai agent run --require-evidence`,+ -- because the warning scrolled past in a build log.+ --+ -- Promoted individually rather than through -Werror, which would also+ -- fail the build on warnings that are stylistic or that a future GHC+ -- invents, and would push people toward blanket suppression.+ ghc-options:+ -Werror=incomplete-patterns -Werror=incomplete-uni-patterns+ -Werror=incomplete-record-updates+ default-language: GHC2024 default-extensions: DeriveAnyClass@@ -46,7 +61,7 @@ build-depends: , aeson ^>=2.2- , baikai ^>=0.4.0+ , baikai ^>=0.5.0 , base >=4.20 && <5 , binary ^>=0.8 , bytestring ^>=0.12