fleet-memory/hindsight-clients/go/internal/ogenapi
Eliah Rusin 2a47389f2c
feat: add Go client SDK with ogen code generation (#375)
Add a Go client for the Hindsight API using ogen for strongly-typed code
generation from the OpenAPI 3.1 spec. The client provides a high-level
wrapper with functional options around the generated code, covering all
core operations (retain, recall, reflect, bank management).

Includes:
- ogen-based code generation with OpenAPI 3.1 spec preprocessing
- High-level Client wrapper with idiomatic Go API
- Functional options for all operations (WithBudget, WithTags, etc.)
- OgenClient() escape hatch for advanced operations
- Integration tests and godoc examples
- Go SDK reference docs and cookbook entries (quickstart, concurrent
  pipeline, memory-augmented API service)
- Updated generate-clients.sh with Go generation step

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 11:35:40 +01:00
..
.gitignore feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_cfg_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_client_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_defaults_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_interfaces_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_json_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_operations_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_parameters_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_request_encoders_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_response_decoders_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_schemas_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00
oas_validators_gen.go feat: add Go client SDK with ogen code generation (#375) 2026-02-16 11:35:40 +01:00