Commit f0bd425
committed
feat(providers): add generic ACP provider with hermes runtime
Introduces a runtime-agnostic Agent Client Protocol (ACP) provider via
`createAcpProvider(config)`. Registering a new ACP-compliant agent is a
one-row config entry in registry.ts; hermes is the first runtime to use
it. Existing claude/codex/gemini/copilot providers are left untouched
pending ACP protocol stabilization.
Also promotes `AgentProvider.getHistory` from optional to required so
every provider commits to a uniform contract. Gemini returns `[]` (no
exposed session store); ACP implements real history via `session/load`.1 parent 045c99c commit f0bd425
10 files changed
Lines changed: 1341 additions & 5 deletions
File tree
- packages
- cli
- src
- daemon
- providers
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments