Commit Graph

5 Commits

Author SHA1 Message Date
huanghuoguoguo
897a708a13 Fix agent runner host migration and runtime guards
Migrates legacy runner blocks into plugin runner configs, preserves run-scoped history boundaries, enforces operation/file authorization, and sanitizes inline attachment persistence. Also fixes plugin runner form dirty handling and adds regression coverage.
2026-06-13 00:31:54 +08:00
huanghuoguoguo
bd690a79f0 feat(agent-runner): expose effective prompt and transcript history 2026-06-13 00:27:57 +08:00
huanghuoguoguo
3dc579feb3 refactor(agent-runner): make agent binding and auth snapshot explicit 2026-06-13 00:27:57 +08:00
huanghuoguoguo
86d5148534 refactor(agent-runner): simplify event-first entry path 2026-06-13 00:27:57 +08:00
huanghuoguoguo
78e6b9866b 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 00:25:06 +08:00