v0.2.13rc1
Pre-release
Pre-release
[0.2.13rc1] — 2026-04-24
Pre-release. Cuts the decomposed runtime and session-replay subsystem from main for integrator soak.
Added
- Session replay subsystem (
agentao/replay/): JSONL timeline of runtime events written to.agentao/replays/, with recorder, reader, redaction, retention, and sanitization. Wired throughtransport/events.pyand surfaced via the newcli/replay_commands.py/replay_render.py. Feature docs:docs/features/session-replay.md. Tests:tests/test_replay*,tests/test_replay_redact.py. agentao --help/agentao -h: explicit-h/--helphandler on the top-level CLI parser. Prints usage and exits0instead of silently falling through to interactive mode (the previousadd_help=False+parse_known_args()combination swallowed the flag). Regression coverage:tests/test_acp_cli_entrypoint.py::TestEntrypointArgparse::test_help_flag_prints_help_and_exitsandtest_short_help_flag_prints_help_and_exits.
Changed
- Runtime decomposition — four monolithic modules split into focused packages; public
Agentao.chat()/tool_runnercontract preserved (agentao/tool_runner.pykept as a compat shim):agentao/runtime/(new):chat_loop,tool_runner,model,llm_call,turnextracted fromagent.py(~660 net lines removed fromagent.py).agentao/acp_client/manager.py(2938 lines) →manager/package (connection,core,helpers,interactions,lifecycle,recovery,status,turns).agentao/cli/commands_ext.py(1688 lines) →commands_ext/package (acp,agents,crystallize,memory).agentao/cli/app.pyshrunk by ~800 lines; new CLI modulesinput_loop,ui,acp_inbox.agentao/prompts/(new):builder+sections+helpersfor system-prompt composition.agent._build_system_prompt()andagent._load_project_instructions()retained as thin facades so existing tests and external patches keep working.agentao/tooling/(new):registry,agent_tools,mcp_tools.
- Docs:
docs/ACP.mdversion examples bumped from0.2.10to0.2.13rc1. Developer-guidepart-2/2-constructor-reference.md,part-5/5-memory.md,part-5/6-system-prompt.md(en + zh mirrors) updated to reference the newprompts/builder.pylocation for system-prompt composition.
Notes for integrators
0.2.13rc1is the soak build for the0.2.13line. API surface for replay events and the new package layouts is expected to be stable through GA; file any breakage against the0.2.13milestone before the GA cut.