packages feed

baikai-mcp 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+28/−4 lines, 3 filesdep +ramdep ~crypton

Dependencies added: ram

Dependency ranges changed: crypton

Files

CHANGELOG.md view
@@ -13,6 +13,15 @@   `--with-codex-rules` to activate its command rules at project or user   scope and manage them through status, update, and uninstall. +## [baikai-mcp 0.1.0.1] - 2026-11-30++### Fixed++- Build with crypton 1.1, which moved its byte-array classes from `memory` to+  `ram`. An automatic `crypton-ram` flag selects crypton 1.1 with `ram`, or+  crypton 1.0 with `memory`, to match the rest of the build plan. The code is+  unchanged.+ ## [baikai-mcp 0.1.0.0] - 2026-11-30  ### Added
baikai-mcp.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: baikai-mcp-version: 0.1.0.0+version: 0.1.0.1 synopsis: Model Context Protocol client for Baikai description:   A bounded Model Context Protocol (MCP) client. Targets MCP 2026-07-28 over@@ -22,6 +22,14 @@   CHANGELOG.md   README.md +-- crypton 1.1 moved its byte-array classes from memory to ram. Both packages+-- provide Data.ByteArray, so the source is the same; the solver picks the+-- pair that matches the rest of the build plan.+flag crypton-ram+  description: Build with crypton 1.1 and ram instead of crypton 1.0 and memory.+  default: True+  manual: False+ common common-options   ghc-options:     -Wall@@ -80,11 +88,9 @@     bytestring ^>=0.12,     case-insensitive ^>=1.2,     containers ^>=0.7,-    crypton >=1.0 && <1.1,     http-client ^>=0.7,     http-client-tls >=0.3 && <0.5,     http-types ^>=0.12,-    memory ^>=0.18,     network ^>=3.2,     network-uri ^>=2.6,     regex-tdfa ^>=1.3.2,@@ -93,6 +99,15 @@     text ^>=2.1,     time ^>=1.14,     vector ^>=0.13,++  if flag(crypton-ram)+    build-depends:+      crypton >=1.1 && <1.2,+      ram >=0.20.1 && <0.23,+  else+    build-depends:+      crypton >=1.0 && <1.1,+      memory ^>=0.18,  test-suite baikai-mcp-test   import: common-options
test/ModernHttpSpec.hs view
@@ -41,7 +41,7 @@           rs <- stub.requests           methodsOf rs @?= ["server/discover"]           map (header "Accept") rs @?= [Just "application/json, text/event-stream"]-          KeyMap.lookup "io.modelcontextprotocol/clientInfo" (rpcMeta (rs !! 0)) @?= Just (object ["name" .= ("baikai-mcp" :: Text), "version" .= ("0.1.0.0" :: Text)])+          KeyMap.lookup "io.modelcontextprotocol/clientInfo" (rpcMeta (rs !! 0)) @?= Just (object ["name" .= ("baikai-mcp" :: Text), "version" .= defaultClientInfo.version])           closeMcp c,       testCase "the same discovery result arrives over split SSE frames" $ do         viaJson <- withStub (modernServer (\_ r _ _ -> pure (discover r))) $ \stub ->