packages feed

baikai-kit 0.4.0.3 → 0.4.0.4

raw patch · 2 files changed

+148/−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,150 @@  ## [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.Trace.withTraceFold` and `withTraceFoldWith` own tracing across the+  entire consumer fold; `withTraceList` and `withTraceListWith` collect events.+  A healthy sink receives abort evidence before cancellation propagates,+  including cancellation between stream steps.++### Fixed++- `withTrace`, `withTraceWith`, and the traced call in `runRequestWith` and+  `runRequestWithRegistry` now finalize synchronously on cancellation. Cleanup+  resumes an interrupted terminal drain within the same one-second budget,+  preserves the original exception, and never duplicates terminal evidence.+  General-stream abandonment keeps its garbage-collection-eventual contract.++## [baikai-effectful 0.5.0.0] - 2026-11-03++### Added++- `streamCollectTraced` delegates traced event collection to core with bounded+  cleanup on cancellation. Re-export `TraceSink` for operation signatures.++### Changed (breaking)++- `Baikai` gains `StreamCollectTraced`. Third-party interpreters must handle+  this constructor. The binding requires `baikai ^>=0.10.1`.+ ## [baikai 0.10.0.0] - 2026-10-25  ### Added@@ -108,6 +252,8 @@  - Layered job configuration accepts `thinking "none"` through the shared   canonical parser, keeping explicit off distinct from an absent preference.+- The UTF-8 stdin test runs in a child process under an ASCII locale, avoiding+  shared-stdin descriptor races with parallel subprocess tests in the tarball.  ### Changed 
baikai-kit.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: baikai-kit-version: 0.4.0.3+version: 0.4.0.4 synopsis: Shared kit installer for AI-agent skills and subagents description:   Shared implementation of kit listing, installation, update, uninstall,@@ -78,7 +78,7 @@   other-modules: Baikai.Kit.Link   build-depends:     aeson ^>=2.2,-    baikai ^>=0.10.0,+    baikai ^>=0.11.0.0,     base >=4.20 && <5,     binary ^>=0.8,     bytestring ^>=0.12,