Commit Graph

10 Commits

Author SHA1 Message Date
huanghuoguoguo
9bdebcdc5a docs(agent-runner): update pluginization design status 2026-06-13 00:27:09 +08:00
huanghuoguoguo
2fd2c6aadc refactor(agent-runner): tighten protocol v1 runtime boundaries 2026-06-13 00:27:09 +08:00
huanghuoguoguo
f9e07df539 feat(agent-runner): align protocol adapter terminology 2026-06-13 00:27:09 +08:00
huanghuoguoguo
8b0f51641a docs(agent-runner): split protocol and context design 2026-06-13 00:27:09 +08:00
huanghuoguoguo
1b35ca67c5 fix(agent-runner): package context for plugin execution 2026-06-13 00:27:09 +08:00
huanghuoguoguo
e5b511de8f feat(agent): reserve stable runner event names 2026-06-13 00:26:44 +08:00
huanghuoguoguo
195d1a9c8e feat(agent-runner): enrich plugin runner host context 2026-06-13 00:26:43 +08:00
huanghuoguoguo
790588fa22 perf(agent-runner): improve session registry and orchestrator efficiency
- Add pre-computed _authorized_ids (frozenset) at session registration for O(1) lookup
- Refactor is_resource_allowed() from linear search to set membership check
- Add thread-safe locking to get_session_registry() singleton
- Cache _session_registry and _state_store references in orchestrator __init__
- Add asyncio.gather() for parallel resource building in AgentResourceBuilder
- Create shared test fixtures in tests/unit_tests/agent/conftest.py
- Update test files to import from shared conftest.py

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-13 00:26:43 +08:00
Junyan Qin
e1501f86c5 docs: record agent runner design decisions 2026-06-13 00:21:52 +08:00
Junyan Qin
92f9cd9626 docs: design agent runner pluginization 2026-06-13 00:21:52 +08:00