mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 23:01:56 +00:00
Add file-trigger hook example
This commit is contained in:
parent
e7097d911a
commit
0ef73ad1dc
4 changed files with 62 additions and 0 deletions
|
|
@ -13,6 +13,9 @@ Creates git stash checkpoints at each turn, allowing code restoration when branc
|
|||
### protected-paths.ts
|
||||
Blocks writes to protected paths (.env, .git/, node_modules/).
|
||||
|
||||
### file-trigger.ts
|
||||
Watches a trigger file and injects its contents into the conversation. Useful for external systems (CI, file watchers, webhooks) to send messages to the agent.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue