Describe the feature or problem you'd like to solve
allow user level ~/.copilot/hooks as well as repo level hooks
Proposed solution
I am currently using copilot for work and want to store details in mempalace so I can keep an automatic diary. Gemini allows you to have a hooks file in ~/.gemini/ that can run commands. It looks like
{
"hooks": {
"PreCompress": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "/absolute/path/to/mempalace/hooks/mempal_precompact_hook.sh"
}
]
}
]
}
}
This will allow details to be automatically added. As a workaround I have put it into copilot instructions but those are not always followed or I have to remind it.
There are other useful hooks that can help people here at a personal rather than just in the repos.
Example prompts or workflows
No response
Additional context
No response
Describe the feature or problem you'd like to solve
allow user level ~/.copilot/hooks as well as repo level hooks
Proposed solution
I am currently using copilot for work and want to store details in mempalace so I can keep an automatic diary. Gemini allows you to have a hooks file in
~/.gemini/that can run commands. It looks like{ "hooks": { "PreCompress": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "/absolute/path/to/mempalace/hooks/mempal_precompact_hook.sh" } ] } ] } }This will allow details to be automatically added. As a workaround I have put it into copilot instructions but those are not always followed or I have to remind it.
There are other useful hooks that can help people here at a personal rather than just in the repos.
Example prompts or workflows
No response
Additional context
No response