A newer peer's session updates, content blocks and stop reasons are kept as Unknown*
records and open values instead of failing; dispatch with instanceof and a default branch,
compare open values with equals, and carry your own data in _meta. Runs in memory on
acp-core's InMemoryTransportPair. No API key required.
Changed in SDK 0.82.0: InMemoryTransportPair moved from acp-test to acp-core
(com.agentclientprotocol.sdk.agent.transport), so this module no longer depends on acp-test.
Full tutorial: https://lab.pollack.ai/docs/acp-java-sdk/tutorial/39-forward-compatibility
./mvnw compile -pl module-39-forward-compatibility -q
./mvnw exec:java -pl module-39-forward-compatibility