packages feed

baikai-effectful 0.5.0.0 → 0.5.0.1

raw patch · 2 files changed

+117/−2 lines, 2 filesdep ~baikaiPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: baikai

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -7,6 +7,121 @@  ## [Unreleased] +## [baikai 0.11.0.0] - 2026-11-23++### Added++- Add `anthropic_claude_fable_5_2` on Claude Messages with adaptive thinking,+  client function tools, and structured output for eligible organizations.+  Standard rates per million tokens are $8 input, $40 output, $0.20 cache+  read, $10 five-minute cache write, and $16 one-hour cache write. Fast mode+  doubles those rates.+- Add `openai_gpt_6_2_astra` and `openai_gpt_6_2_sol` on OpenAI Responses+  with structured output, function tools, and Standard pricing for both+  cache durations and long-context requests.+- Add `openai_gpt_6_1_terra` on OpenAI Responses with explicit reasoning+  and cache compatibility, 30-minute and 12-hour cache-write prices, and+  whole-request pricing above 272,000 input tokens.++### Changed (breaking)++- `AssistantContent` changes its `Generic` representation to carry original+  Responses items. `AssistantText` and `AssistantToolCall` are bundled pattern+  synonyms. Existing persisted content still decodes.++### Fixed++- Apply the published long-context tier for GPT-5.6 Sol, its `gpt-5.6`+  alias, GPT-5.6 Terra, and GPT-5.6 Luna. Use the published one-hour write+  rates for eight Claude bindings that used the five-minute rate.++## [baikai-claude 0.7.3.1] - 2026-11-23++### Changed++- Use `claude-hs 0.1.0.0` for the Messages transport and require+  `baikai ^>=0.11.0.0`. Fable 5.2 tool continuations preserve signed+  thinking, including empty signed blocks.++### Fixed++- Reject unsupported assistant prefills before dispatch. Claude 4.5 accepts+  prefills with effective thinking off. Normal tool-result continuations+  preserve prior assistant history.++## [baikai-openai 0.7.4.0] - 2026-11-23++### Added++- Expose `Baikai.Provider.OpenAI.HookEvidence` for Codex app-server clients+  to verify a reviewed pre-tool handler and decode its completion outcome.+- Add scoped Codex batch completion with reviewed PreToolUse hooks and+  native denial evidence.++### Changed++- Require `baikai ^>=0.11.0.0` for persisted Responses replay.++### Fixed++- Preserve completed Responses message and function-call items in stateless+  history. GPT-6.2 keeps reusable system prompts at the head of the input+  across tool turns.++## [baikai-typesafe 0.1.0.2] - 2026-11-23++### Changed++- Build against `baikai ^>=0.11.0.0`.++## [baikai-trace-otel 0.4.1.2] - 2026-11-23++### Changed++- Build against `baikai ^>=0.11.0.0`.++## [baikai-effectful 0.5.0.1] - 2026-11-23++### Changed++- Build against `baikai ^>=0.11.0.0`.++## [baikai-kit 0.4.0.4] - 2026-11-23++### Changed++- Build against `baikai ^>=0.11.0.0`.++## [baikai-agent 0.3.0.0] - 2026-11-23++### Added++- `baikai agent review-codex-hooks` presents exact native declarations for+  approval. `baikai agent run --codex-hooks` reports denials from the+  checked app-server thread in the JSON result.++### Changed (breaking)++- `AgentCliCommand` gains `AgentReviewCodexHooks`. Add that case to+  exhaustive matches. The runner requires `baikai ^>=0.11.0.0` and+  `baikai-openai ^>=0.7.4.0`.++## [baikai-openai 0.7.3.1] - 2026-11-14++### Fixed++- Require `baikai ^>=0.10.1.1` in library and tests so new adapter consumers+  receive the Codex final-message correction.++## [baikai 0.10.1.1] - 2026-11-14++### Fixed++- `baikai`: the Codex batch parser returns the last completed agent message+  instead of concatenating complete messages, preserving structured JSON after+  intermediate commentary. Started and updated items cannot replace the final+  answer; usage and thread observations still cover the whole run ([BUG-2](docs/bug-reports/codex-concatenates-complete-agent-messages.md)).+ ## [baikai 0.10.1.0] - 2026-11-03  ### Added
baikai-effectful.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: baikai-effectful-version: 0.5.0.0+version: 0.5.0.1 synopsis: effectful binding for the baikai AI-provider transport description:   A thin, policy-free effectful binding over baikai's transport. Provides the dynamic@@ -60,7 +60,7 @@   hs-source-dirs: src   exposed-modules: Baikai.Effectful   build-depends:-    baikai ^>=0.10.1,+    baikai ^>=0.11.0.0,     base >=4.20 && <5,     effectful-core ^>=2.7,     streamly-core >=0.3 && <0.5,