jevhooks.git / plugin / CLAUDE.md
1@README.md
2
3## Notes for agents
4
5**Imports in the plugin are relative only**, plus `claude-code`; no dynamic import, no
6Node, no DOM. `TextEncoder` and `TextDecoder` exist (measured on 2.1.287).
7
8**Type-check with `tsc -p plugin`** once the engine has laid `.claude-plugin/types/`
9(gitignored). `tsconfig.json` adds `allowImportingTsExtensions`, because mod imports
10name the `.ts` file.
11
12**`.mcp.json` carries no `env`.** The key must never be written into it; the daemon
13gets it from the environment that starts it, or from `op-env-run` (see
14`crates/jevhooks-daemon/`).
15
16**`bin/` is a build product.** `just daemon` copies the binary here with `install`; do
17not replace it with a symlink into `target/`, and do not commit it.