Commit Graph

14 Commits

Author SHA1 Message Date
huanghuoguoguo
301d036240 refactor(agent-runner): make agent binding and auth snapshot explicit 2026-06-03 18:45:27 +08:00
huanghuoguoguo
d0169e2888 refactor(agent-runner): simplify event-first entry path 2026-06-03 17:43:49 +08:00
huanghuoguoguo
f2153f736c refactor(agent-runner): align config with agent semantics 2026-06-03 17:42:39 +08:00
huanghuoguoguo
0705680ed7 docs(agent-runner): align runner protocol boundaries 2026-06-03 17:41:52 +08:00
huanghuoguoguo
b2c57dd67a docs(agent-runner): update pluginization design status 2026-06-03 17:41:52 +08:00
huanghuoguoguo
2ee4880ff6 refactor(agent-runner): tighten protocol v1 runtime boundaries 2026-06-03 17:41:52 +08:00
huanghuoguoguo
69c4749e84 feat(agent-runner): align protocol adapter terminology 2026-06-03 17:41:52 +08:00
huanghuoguoguo
cafbafde2a docs(agent-runner): split protocol and context design 2026-06-03 17:41:52 +08:00
huanghuoguoguo
bc4610a2a9 fix(agent-runner): package context for plugin execution 2026-06-03 17:41:52 +08:00
huanghuoguoguo
5b45c867b4 feat(agent): reserve stable runner event names 2026-06-03 17:40:35 +08:00
huanghuoguoguo
4e0a670fe2 feat(agent-runner): enrich plugin runner host context 2026-06-03 17:40:35 +08:00
huanghuoguoguo
dc82fb584a 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-03 17:38:33 +08:00
Junyan Qin
b01294b005 docs: record agent runner design decisions 2026-06-03 17:34:55 +08:00
Junyan Qin
015849e611 docs: design agent runner pluginization 2026-06-03 17:34:55 +08:00