Skip to content

argon v0.1.0-preview.4 (Developer Preview 4)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 02:12
· 39 commits to master since this release
5737d92

Fixes before the first release candidate; no new features.

Changed

  • Public types (Request, Result, Content and its blocks, Handler,
    Middleware, ToolMeta, Annotations, ResourceContents,
    PromptMessage, Role) are now defined in package argon instead of
    being aliases to an internal package, so their fields and documentation
    show in go doc and on pkg.go.dev. Names and behaviour are unchanged.

Fixed

  • Tools returning a pointer to a struct (*T) now declare T's output
    schema and send structured content, like tools returning T; a nil *T
    is reported as a tool error.
  • The Streamable HTTP handler now logs its errors through the server logger
    (Warn and above) instead of discarding them.

Added

  • Examples for pkg.go.dev and README badges.
  • Tests for Run (transport selection, SIGINT/SIGTERM, stdio EOF) and
    RunHTTP (graceful shutdown, listen errors).