RFC: Typed transport/config ABI as a prerequisite for multi-language SDKs #75
lanycrost
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The Python and TypeScript SDK RFCs are open, but the transport/config ABI they will inherit is still too map-shaped and implicit. Before we scale SDK support across languages, we should decide which transport/config structures need a typed shared contract and where those types live.
Why this needs a discussion
This is not a
bubu-sdk-go-only cleanup. The same ABI currently crossestractatus,core,bobravoz-grpc, andbubu-sdk-go, and it will become much harder to change once multiple SDKs ship.Current evidence
bubu-sdk-go/engram/transport.gostill exposes transport config asmap[string]any.bubu-sdk-go/runtime/context.godecodes transport descriptors from env as untyped JSON-shaped objects.bubu-sdk-go/transport_envelope.gomirrors the same flexible shape into the streaming envelope path.tractatus#13,tractatus#14, andtractatus#15, while the higher-level SDK expansion discussions are#50and#51.Questions to settle
tractatus,core, or a split between the two?Desired outcome
A concrete cross-repo plan for tightening the transport/config ABI so new language SDKs do not inherit an overly Go-shaped or
map[string]any-heavy contract by accident.Beta Was this translation helpful? Give feedback.
All reactions