safishamsi and Claude Opus 4.8
85f9fac7f7
Fix: port the Gemini CLI BeforeTool graph-nudge hook to be shell-agnostic too ( #522 )
...
The Gemini hook was a `python -c "..."` one-liner that (a) depended on a bare
`python` being on PATH (frequently `python`/`py` or absent on Windows) and
(b) embedded backticks + escaped quotes that Windows PowerShell mangles. Same
fix as the Claude/Codebuddy hooks: it now invokes `graphify hook-guard gemini`
via the absolute exe path.
The gemini mode always returns {"decision":"allow"} (never blocks a tool) and
appends the graph nudge as additionalContext only when graph.json exists — the
BeforeTool contract Gemini expects, byte-identical to the old payload. It takes
no stdin, honors GRAPHIFY_OUT, and the matcher stays "read_file|list_directory"
so install/uninstall find and replace old hooks unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-06 16:43:21 +01:00
..
2026-07-04 11:26:55 +01:00
2026-06-27 23:57:39 +01:00
2026-07-05 11:41:18 +01:00
2026-06-23 17:26:49 +01:00
2026-06-16 01:41:15 +01:00
2026-07-01 11:14:48 +01:00
2026-06-28 17:52:34 +01:00
2026-06-29 13:14:37 +01:00
2026-06-11 15:08:36 -06:00
2026-07-01 15:09:42 +01:00
2026-07-06 12:42:39 +01:00
2026-07-02 22:29:30 +01:00
2026-07-02 22:29:29 +01:00
2026-06-07 14:34:13 +01:00
2026-07-01 11:52:50 +01:00
2026-07-01 10:49:43 +01:00
2026-06-30 18:30:05 +01:00
2026-07-02 23:25:54 +01:00
2026-06-30 19:32:10 +01:00
2026-06-11 19:52:56 +03:00
2026-07-01 10:47:10 +01:00
2026-07-06 16:00:31 +01:00
2026-06-26 10:23:10 +01:00
2026-06-30 11:19:54 +01:00
2026-06-30 11:19:54 +01:00
2026-06-28 16:17:21 +01:00
2026-07-06 00:09:11 +01:00
2026-06-28 16:57:00 +01:00
2026-06-07 15:03:49 +03:00
2026-06-28 16:57:00 +01:00
2026-06-18 01:55:56 +01:00
2026-07-06 16:43:21 +01:00
2026-06-11 09:36:38 +02:00
2026-07-02 11:50:12 +01:00
2026-06-30 16:58:23 +01:00
2026-06-18 22:55:44 +01:00
2026-07-02 22:29:32 +01:00
2026-06-28 19:29:51 +01:00
2026-06-30 23:26:13 +01:00
2026-07-01 10:30:47 +01:00
2026-07-01 11:43:05 +01:00
2026-06-24 11:43:13 +01:00
2026-06-13 15:13:23 +01:00
2026-07-06 16:43:21 +01:00
2026-07-06 16:38:42 +01:00
2026-07-06 16:38:42 +01:00
2026-07-06 01:01:53 +01:00
2026-07-05 10:42:09 +01:00
2026-06-18 22:50:52 +01:00
2026-07-06 12:46:12 +01:00
2026-06-29 09:40:22 +01:00
2026-07-06 01:01:53 +01:00
2026-07-06 16:02:45 +01:00
2026-07-02 22:29:30 +01:00
2026-07-04 22:12:47 +01:00
2026-06-19 10:25:09 +01:00
2026-07-02 11:25:51 +01:00
2026-06-10 15:50:38 +01:00
2026-07-01 13:45:53 +01:00
2026-07-03 18:34:41 +01:00
2026-07-04 22:12:47 +01:00
2026-07-06 12:44:47 +01:00
2026-06-16 01:41:15 +01:00
2026-06-30 16:59:16 +01:00
2026-07-05 10:42:09 +01:00
2026-07-04 21:22:39 +01:00
2026-07-04 03:12:23 +01:00
2026-06-03 21:04:01 +01:00
2026-07-06 00:45:51 +01:00
2026-07-06 16:38:42 +01:00
2026-06-30 12:57:33 +01:00
2026-07-06 12:36:12 +01:00
2026-07-04 22:43:31 +01:00
2026-07-05 11:41:18 +01:00
2026-07-06 16:38:42 +01:00
2026-06-22 17:02:29 +01:00
2026-06-30 16:58:23 +01:00
2026-07-04 03:12:23 +01:00
2026-07-03 00:32:24 +01:00
2026-07-02 12:11:51 +01:00
2026-07-03 10:14:57 +01:00
2026-06-30 23:15:52 +01:00
2026-07-04 22:43:31 +01:00
2026-07-02 11:46:22 +01:00
2026-06-16 03:06:43 +01:00
2026-06-30 16:59:16 +01:00
2026-06-05 21:46:25 +01:00
2026-07-02 22:38:29 +01:00
2026-07-02 22:38:28 +01:00
2026-07-04 03:12:23 +01:00
2026-07-02 22:38:29 +01:00
2026-07-03 16:03:18 +01:00
2026-07-02 22:29:31 +01:00
2026-06-24 08:54:11 +01:00
2026-06-26 10:20:53 +01:00
2026-07-03 10:30:27 +01:00
2026-06-23 17:26:49 +01:00
2026-06-27 10:19:15 +01:00
2026-07-04 22:12:47 +01:00
2026-07-05 10:33:07 +01:00