OneTwo 0.6.0 was published on November 20, 2026 at 18:01 UTC. Core decorators preserve signatures and return types previously hidden behind Any.
A deferred computation has its own type
ot.make_executable retains its runtime behavior but returns a typed FunctionExecWrapper[T]. Using that wrapper as its eventual value now triggers type-checking failures. The release requires Python 3.13+, parentheses for @tracing.trace(), and asynchronous methods for cache_method.
Agent tools gain a separate recovery question
The release adds a model-native function-calling agent and HTTP or stdio MCP tools, preserving sessions across failing calls. These are documented changes, not test results from this digest.
The README states that OneTwo is not an official Google product. Its tagged Apache-2.0 license was checked. No upstream implementation is reproduced here.
A proposed exercise separating a computation from its result
Original exercise, not executed: define a synthetic function whose eventual output is a small mapping containing a count. First treat its deferred executable as though it were already that mapping. Compare the static diagnostics with a version that resolves the executable before accessing the count.
Keep the expected output fixed, so the exercise tests the type distinction rather than a model's answer quality. In a separate mock MCP sequence, return an intentional error and then issue a valid call. Record session identity and the second result to inspect recovery independently of type checking.
These two checks address different claims: a useful static error cannot demonstrate session recovery, and a successful second tool call cannot establish complete type coverage.
Sources accessed November 21, 2026. Views are my own and do not represent any employer, past or present.
Sources and evidence
Keep deferred computations distinct from their eventual values, and test MCP session recovery separately from static type checks.