"hooks": {
"peon-session-start": {
"type": "sessionStart",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
},
"peon-session-end": {
"type": "sessionEnd",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
},
"peon-pre-request": {
"type": "preRequest",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
},
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/scripts/hook-handle-use.sh",
"timeout": 5000
}
]
},
"peon-post-request": {
"type": "postRequest",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
},
"peon-pre-tool-call": {
"type": "preToolCall",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
},
"peon-post-tool-call": {
"type": "postToolCall",
"visible": false,
"runOnError": true,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
},
"peon-chat-start": {
"type": "chatStart",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
},
"peon-subagent-post-request": {
"type": "subagentPostRequest",
"visible": false,
"actions": [
{
"type": "shell",
"file": "~/.config/eca/hooks/peon-ping/eca-adapter.sh",
"timeout": 10000
}
]
}
},
Editor Code Assistant (ECA) is an editor agnostic tool for LLM agents integration.
I have hacked together my own integration with it but official support would be nice, because I'm really enjoying the Peon sounds 😸
I also copied all the directories to .config/eca from .claude, which makes me think an editor / tool agnostic shold reside in a more generic install directory and hooks will refer to it.
Thanks
Hooks
adapter