Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Aug 21:21
c3ce3c8

First release carrying the rebuilt surface: sessions, files, the turn loop, block folding and client-side tools. The wire types are now generated from the vendored OpenAPI document behind an internal/api facade.

go get github.com/sei-protocol/omnigent-go-sdk@v0.2.0

Breaking changes from v0.1.x

Three exported fields changed type. In all three the generator is right and the hand-written type was wrong against the document.

PaginatedList.Data                  []map[string]any -> []interface{}
ReasoningData.Content / .Summary    []map[string]any -> []map[string]string
SessionResponse.TerminalLaunchArgs  gains ,omitempty

ReasoningData is not only a compile break — read this one twice. Narrowing to map[string]string also changes decoding. A reasoning block carrying a non-string value now fails json.Unmarshal where it previously decoded into any:

[]map[string]string  json: cannot unmarshal number into Go struct field
                     ReasoningData.content of type string
[]map[string]any     decodes: [map[confidence:0.91 type:text]]

A caller unmarshalling ConversationItem.Data into ReasoningData meets that at runtime, not at build time — so a clean rebuild is not evidence you are unaffected. The generated type is faithful to the document (items.additionalProperties.type: string).

Separately, the public types are now aliases into internal/api. A caller naming omnigent.AgentObject still compiles; gorelease reports the move as a type change regardless.

Built against

omnigent 179774eb (2026-08-19) — the v0.10.0 era, 22 commits past that tag and 3 behind the line that became v0.11.0. spec/README.md records the snapshot commit, which is this repository's only provenance for it.

The document's own info.version reads 0.1.0 and has not moved with the server, so it is not a usable version signal.


What's Changed

  • refactor: remove the implementation and its generator (alignment 1/4) by @bdchatham in #7
  • chore: finish the removal the first milestone left half-done by @bdchatham in #9
  • feat: core foundation implementation (2/4) by @bdchatham in #8
  • docs: record the wire-type generation question as ADR 0001 by @bdchatham in #13
  • feat: sessions and files namespaces (3/5) by @bdchatham in #10
  • feat: turn loop, block folding, transforms, tool dispatch and hooks (4/5) by @bdchatham in #11
  • ci: run the seidroid AI review and assistant on this repo by @bdchatham in #16
  • (feat): Generate types from upstream openapi spec (5/5) by @bdchatham in #14
  • test: make stream idle-timeout tests deterministic with an injectable clock by @bdchatham in #15

Full Changelog: v0.1.2...v0.2.0