packages feed

shikumi-tools 0.4.2.1 → 0.4.2.2

raw patch · 3 files changed

+22/−8 lines, 3 filesdep ~baikaidep ~shikumidep ~shikumi-cachePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: baikai, shikumi, shikumi-cache, shikumi-tools

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -2,6 +2,16 @@  ## Unreleased +## 0.4.2.2 — 2026-11-23++### Changed++- Upgrade `mori://shinzui/baikai/packages/baikai` to `>=0.11.0.0 && <0.12`.++### Fixed++- Preserve the original OpenAI Responses function-call item when a saved ReAct session resumes.+ ## 0.4.2.1 — 2026-11-03  ### Changed
shikumi-tools.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: shikumi-tools-version: 0.4.2.1+version: 0.4.2.2 synopsis:   Typed tools and ReAct agents for shikumi LM programs (EP-11) @@ -68,7 +68,7 @@    build-depends:     aeson >=2.2 && <2.3,-    baikai >=0.10.0.0 && <0.11,+    baikai >=0.11.0.0 && <0.12,     base >=4.20 && <5,     bytestring >=0.11 && <0.13,     containers >=0.6 && <0.9,@@ -82,7 +82,7 @@     lens ^>=5.3,     process >=1.6 && <1.7,     regex-tdfa >=1.3 && <1.4,-    shikumi ^>=0.5.1.0,+    shikumi ^>=0.5.1.1,     text ^>=2.1,     vector >=0.13 && <0.14, @@ -123,7 +123,7 @@    build-depends:     aeson,-    baikai >=0.10.0.0 && <0.11,+    baikai >=0.11.0.0 && <0.12,     base,     bytestring,     containers,@@ -132,10 +132,10 @@     filepath,     generic-lens,     lens,-    shikumi ^>=0.5.1.0,-    shikumi-cache ^>=0.2.1.0,+    shikumi ^>=0.5.1.1,+    shikumi-cache ^>=0.2.1.2,     shikumi-testing ^>=0.1.0.0,-    shikumi-tools ^>=0.4.2.1,+    shikumi-tools ^>=0.4.2.2,     tasty,     tasty-hunit,     text,
test/ResponsesIntegrationSpec.hs view
@@ -55,8 +55,11 @@   L.Complete m c o -> L.complete m c o   L.Stream m c o -> L.stream m c o +lookupItem :: Value+lookupItem = functionItem "item-lookup" "call-lookup" "lookup" (object [])+ firstReply :: Reply-firstReply = sseReply [completed [reasoningItem, functionItem "item-lookup" "call-lookup" "lookup" (object [])]]+firstReply = sseReply [completed [reasoningItem, lookupItem]]  lastReply :: Reply lastReply = sseReply [completed [functionItem "item-final" "call-final" R.finalToolName (object ["answer" .= String "Paris", "confidence" .= (0.9 :: Double)])]]@@ -100,6 +103,7 @@             [_, Object second] -> case KM.lookup "input" second of               Just (Array items) -> do                 assertBool "opaque reasoning item is byte-structurally intact" (reasoningItem `elem` V.toList items)+                assertBool "the original function-call item survives checkpoint replay" (lookupItem `elem` items)                 let typed kind = [o | Object o <- V.toList items, KM.lookup "type" o == Just (String kind)]                 map (KM.lookup "call_id") (typed "function_call") @?= [Just (String "call-lookup")]                 map (KM.lookup "call_id") (typed "function_call_output") @?= [Just (String "call-lookup")]