A-gent 0.11.0.16 → 0.11.0.17
raw patch · 4 files changed
+43/−17 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- A-gent.cabal +1/−1
- CHANGELOG.md +22/−0
- src/Agent/LLM.hs +10/−1
- src/Internal/RIO.hs +10/−15
A-gent.cabal view
@@ -9,7 +9,7 @@ build-type: Simple name: A-gent-version: 0.11.0.16+version: 0.11.0.17 synopsis: Polite & well educated LLM agent with excellent manners that always behaves well description: Polite and well educated LLM agent with excellent manners that always behaves well
CHANGELOG.md view
@@ -1,5 +1,22 @@ # Revision history for Λ-gent +## 0.11.0.17 -- 2026-05-18++* Inconsistency between `Linux` and `macOS` when it comes to default option for+ `pwd`:+ + * If no option is specified, `-P` is assumed (Linux)+ + * If no options are specified, the `-L` option is assumed (macOS)+ + ```+ -L, --logical use PWD from environment, even if it contains symlinks+ -P, --physical resolve all symlinks+ ```++* Removing exported helper functions from `Internal.RIO` that weren't used by+ any other module.+ ## 0.11.0.16 -- 2026-05-14 * The Action and Message modules need to expose used types from the internal LLM@@ -232,10 +249,15 @@ ## 0.11.0.2 -- 2026-03-05 * Fixed issue with Hackage. The project now builds for:+ * `ghc-9.4.8`+ * `ghc-9.6.7`+ * `ghc-9.8.4`+ * `ghc-9.10.3`+ * `ghc-9.12.2` ## 0.11.0.1 -- 2026-03-05
src/Agent/LLM.hs view
@@ -731,7 +731,16 @@ -- allow for logic like this to be simplified cwd = do- (exitcode, out, err) <- readProcessWithExitCode "pwd" [] []+ -- NOTE: inconsistency between `linux` and `macOS`:+ --+ -- - If no option is specified, -P is assumed (linux)+ --+ -- - If no options are specified, the -L option is assumed (macOS)+ --+ -- -L, --logical use PWD from environment, even if it contains symlinks+ --+ -- -P, --physical resolve all symlinks+ (exitcode, out, err) <- readProcessWithExitCode "pwd" [ "-P" ] [] case exitcode of ExitSuccess -> pure $ Right out
src/Internal/RIO.hs view
@@ -69,11 +69,6 @@ , llmPlanSeq, llmPlanGet , llmPlanKey, llmPlanAPI , llmPlanWeb- -- * Internal- , findFiles- , readFileStrict- -- * Temp- , timestampUTC ) where @@ -1271,6 +1266,16 @@ -- HELPERS (public) +getEnvVar+ :: String+ -> RIO (Maybe String)+getEnvVar =+ RestrictedIO . ENV.getEnv++--------------------------------------------------------------------------------++-- HELPERS (private)+ findFiles :: FilePath -> String@@ -1312,16 +1317,6 @@ , mask , "-print" ]--getEnvVar- :: String- -> RIO (Maybe String)-getEnvVar =- RestrictedIO . ENV.getEnv-------------------------------------------------------------------------------------- HELPERS (private) noLlmConf :: String noLlmConf =