packages feed

agentic-aeson-0.2.0.0: agentic-aeson.cabal

cabal-version:      3.0
name:               agentic-aeson
version:            0.2.0.0
synopsis:           Conversions between agentic's values and aeson, and strict JSON Schema
description:
  Shared by the agentic provider packages: converts the core's Value to and from aeson, and lowers contracts to the strict JSON Schema that providers' structured outputs accept, keeping field order and sharing repeated types through $defs.
license:            BSD-2-Clause
license-file:       LICENSE
author:             Tom Wells
maintainer:         drshade@gmail.com
copyright:          2026 Tom Wells
category:           AI
homepage:           https://github.com/drshade/haskell-agentic
bug-reports:        https://github.com/drshade/haskell-agentic/issues
build-type:         Simple
extra-doc-files:    CHANGELOG.md
tested-with:        GHC ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2 || ==9.14.1

source-repository head
  type:     git
  location: https://github.com/drshade/haskell-agentic.git
  subdir:   agentic-aeson

library
  default-language: GHC2021
  default-extensions: LambdaCase OverloadedStrings
  ghc-options:      -Wall
  hs-source-dirs:   src
  exposed-modules:
    Agentic.Aeson
    Agentic.JsonSchema
  build-depends:
    , agentic          ==0.2.*
    , aeson       >=2.1 && <2.3
    , base        >=4.18 && <5
    , scientific       >=0.3 && <0.4
    , text             >=2.0 && <2.2
    , vector           >=0.12 && <0.14