Stability
The part of Tandem's API that gets no breaking changes before 1.0.
Tandem is 0.x. Its core API gets no breaking changes before 1.0. Each release can add optional parameters and new members to the core. Nothing in the core is removed or renamed, and it keeps the behaviour its docs describe.
Everything outside the core can still change in a minor release. Each such change has a Breaking: entry with the upgrade steps in the package's CHANGELOG. Upgrade from 0.3 collects them for 0.4.
The core
The core is everything that the quick start uses, as in the README. Its code is one file, quick_start., and quick_start_test. tests it.
- The agent list:
@TandemAgent(),AgentCapability.,sees .andcalls ., and thecallsWithApproval agentCapabilitiesandchangesofAgentSurface. - The screen:
TandemScopewithagent:, andTandemScope..connected TandemApprovals.,callback .andfromState ., thenone ApprovalCallbacksignature, andapprove,rejectanddecideofTandemSession. The scope keeps itsthread:andonEvent:parameters, but the types they take are outside the core. - Views:
TandemViewwithcatalog:andwhenUnavailable:, and@TandemCatalog([.with its doc comment, which holds the guidelines and a required JSON example.. . ]) - Generated code: the
_$Classmixins and the<Class>Toolenums thattandem_generatorwrites. Keeptandemandtandem_generatoron the same minor, and rundartafter moving to a new minor. The code your app wrote against them keeps compiling.run build_runner build - Debug:
TandemBridge..enable()
Outside the core
TandemThread.- The chat and status types:
ChatItem,SessionStatus,TandemEventand their cases. - Connections and the AG-UI wire format.
- The JSON of
ext.andtandem. describe ext..tandem. call ScriptedAgentand the rest ofpackage:tandem/.testing. dart - The
tandem_firebase_aipackage.
What breaking means
A change to the core is breaking when code that uses it as documented stops compiling or does something else. A new optional parameter or a new member is not breaking.