Commit Graph

39 Commits

Author SHA1 Message Date
huanghuoguoguo
9cf99815ba feat(agent-runner): audit steering injection 2026-06-13 17:46:50 +08:00
huanghuoguoguo
682f776bf7 docs(agent-runner): define compaction checkpoint state 2026-06-13 17:46:50 +08:00
huanghuoguoguo
54a2f7060d feat(agent-runner): support run steering 2026-06-13 17:46:50 +08:00
huanghuoguoguo
f92bd95cc8 docs(agent-runner): reconcile permissions status 2026-06-13 17:46:50 +08:00
huanghuoguoguo
c10ce6cc2e chore: commit workspace changes 2026-06-13 17:46:50 +08:00
huanghuoguoguo
4e016ad23e fix(agent-runner): harden state and event APIs 2026-06-13 17:46:31 +08:00
huanghuoguoguo
fd60125182 docs(agent-runner): remove progress tracking document for pluginization 2026-06-13 17:46:31 +08:00
huanghuoguoguo
edbb6c486f docs: update runtime control plane decision note 2026-06-13 17:46:31 +08:00
huanghuoguoguo
5831198f38 refactor(agent-runner): remove protocol_version from various components and update related documentation 2026-06-13 17:46:31 +08:00
huanghuoguoguo
d47de946ec docs(agent-runner): sync EBA and harness resource docs 2026-06-13 17:46:31 +08:00
huanghuoguoguo
c00a3e1de9 docs(agent-runner): update external harness security gate 2026-06-13 17:46:31 +08:00
huanghuoguoguo
54bba1a1f5 feat(agent-runner): expose skill resources through host context 2026-06-13 17:45:53 +08:00
huanghuoguoguo
d81f687e94 docs: reconcile agent runner protocol status 2026-06-13 17:45:53 +08:00
huanghuoguoguo
3773e3dfaf fix(agent-runner): align plugin runner runtime boundaries 2026-06-13 17:45:53 +08:00
huanghuoguoguo
058721cca3 feat(agent-runner): expose effective prompt and transcript history 2026-06-13 17:45:53 +08:00
huanghuoguoguo
e13a3b845c refactor(agent-runner): make agent binding and auth snapshot explicit 2026-06-13 17:45:53 +08:00
huanghuoguoguo
dc4cf5711e refactor(agent-runner): simplify event-first entry path 2026-06-13 17:45:53 +08:00
huanghuoguoguo
1384d328d6 refactor(agent-runner): align config with agent semantics 2026-06-13 17:45:14 +08:00
huanghuoguoguo
16faeca508 refactor(agent-runner): remove host context windowing 2026-06-13 17:45:14 +08:00
huanghuoguoguo
4852b21f9b feat(agent-runner): normalize binding config boundaries 2026-06-13 17:45:14 +08:00
huanghuoguoguo
0b9778abd9 fix: enforce agent run API permissions 2026-06-13 17:45:14 +08:00
huanghuoguoguo
f6deb4b322 docs(agent-runner): document external MCP bridge 2026-06-13 17:45:14 +08:00
huanghuoguoguo
94c0adc8a1 docs(agent-runner): align runner protocol boundaries 2026-06-13 17:45:14 +08:00
huanghuoguoguo
5c2026855c docs(agent-runner): record codex runner smoke 2026-06-13 17:45:14 +08:00
huanghuoguoguo
da8e403172 docs(agent-runner): update pluginization design status 2026-06-13 17:44:44 +08:00
huanghuoguoguo
819a2843e7 refactor(agent-runner): tighten protocol v1 runtime boundaries 2026-06-13 17:44:44 +08:00
huanghuoguoguo
96fa9e1eeb feat(agent-runner): align protocol adapter terminology 2026-06-13 17:44:44 +08:00
huanghuoguoguo
a968d7656b docs(agent-runner): split protocol and context design 2026-06-13 17:44:44 +08:00
huanghuoguoguo
c1dc5e3970 fix(agent-runner): package context for plugin execution 2026-06-13 17:44:44 +08:00
huanghuoguoguo
bbbbc05201 feat(agent): reserve stable runner event names 2026-06-13 17:42:59 +08:00
huanghuoguoguo
18cbe8570c docs: add phase1 qa report 2026-06-13 17:42:59 +08:00
huanghuoguoguo
752ac6e9d2 feat(agent-runner): enrich plugin runner host context 2026-06-13 17:42:59 +08:00
huanghuoguoguo
6d0e6dcc63 feat: support dynamic agent runner defaults 2026-06-13 17:42:21 +08:00
huanghuoguoguo
fa19a453ba docs: update PROGRESS.md - rerank support completed 2026-06-13 17:41:37 +08:00
huanghuoguoguo
811549e1c4 docs(runner): mark legacy runners and add PROGRESS.md
- Add DEPRECATED docstring to all legacy runners in pkg/provider/runners/
- Mark migration target for each runner (local-agent, dify, n8n, coze, dashscope, langflow, tbox)
- Add PROGRESS.md to track agent-runner-pluginization implementation status
- Remove completed PHASE0_INTEGRATION_RECORD.md
2026-06-13 17:41:37 +08:00
huanghuoguoguo
6ef40fbd68 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 17:41:37 +08:00
huanghuoguoguo
45f150da2d feat(agent-runner): integrate AgentRunner Protocol v1 with plugin system
Phase 0 integration complete - verified minimal loop with local-agent stub runner.

Changes:
- Add AgentRunOrchestrator for plugin-based agent execution
- Add AgentResultNormalizer for Protocol v1 result conversion
- Add AgentRunnerDescriptor for runner ID parsing (plugin:author/name/runner)
- Update chat handler to use new orchestrator instead of direct runner lookup
- Add plugin handler methods for list_agent_runners and run_agent
- Add connector methods for AgentRunner protocol forwarding
- Update pipeline API to include runner options in metadata
- Add integration docs and implementation plan

Integration verified:
- Runner: plugin:langbot/local-agent/default
- Input: "你好"
- Output: [stub] Echo: 你好
- Date: 2026-05-10 10:09

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-13 17:41:37 +08:00
Junyan Qin
94d3ebf137 docs: record agent runner design decisions 2026-06-13 17:40:45 +08:00
Junyan Qin
90eb711a74 docs: design agent runner pluginization 2026-06-13 17:40:45 +08:00