Commit Graph

49 Commits

Author SHA1 Message Date
Abhi
3aa869b662 fix(hooks): remove unnecessary logging for hook registration (#18332) 2026-02-04 19:48:33 +00:00
Abhi
11cd579881 fix(core): suppress duplicate hook failure warnings during streaming (#17727) 2026-01-28 16:40:44 +00:00
christine betts
9e9301ec2a Load extension settings for hooks, agents, skills (#17245) 2026-01-27 19:34:14 +00:00
Tommaso Sciortino
9024b57253 Clean up dead code (#17443) 2026-01-24 15:42:18 +00:00
Vedant Mahajan
abb4fb006c migrate fireToolNotificationHook to hookSystem (#17398)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-01-24 13:22:08 +00:00
Jack Wotherspoon
440e902953 feat: add clearContext to AfterAgent hooks (#16574) 2026-01-23 22:14:30 +00:00
Yuna Seol
bb4967b91c security(hooks): Wrap hook-injected context in distinct XML tags (#17237)
Co-authored-by: Yuna Seol <yunaseol@google.com>
2026-01-22 02:11:45 +00:00
Gal Zahavi
75b75f394b fix(core,cli): enable recursive directory access for (#17094) 2026-01-21 17:58:23 +00:00
Vedant Mahajan
d85fd9218f Migrate beforeTool and afterTool hooks to hookSystem (#17204)
Co-authored-by: Ishaan Gupta <ishaankone@gmail.com>
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-01-21 17:13:03 +00:00
Vedant Mahajan
b27230d761 Remove unused modelHooks and toolHooks (#17115)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-01-21 04:34:50 +00:00
joshualitt
f971d8e261 feat(core): Ensure all properties in hooks object are event names. (#16870) 2026-01-20 22:47:31 +00:00
Vedant Mahajan
785b143636 fix: migrate BeforeModel and AfterModel hooks to HookSystem (#16599)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-01-20 17:46:54 +00:00
Vedant Mahajan
de0d2cbc22 fix return type of fireSessionStartEvent to defaultHookOutput (#16833) 2026-01-20 03:25:43 +00:00
Sehoon Shon
2d51beba81 fix(core): surface warnings for invalid hook event names in configuration (#16788) (#16873) 2026-01-16 19:39:07 +00:00
Vedant Mahajan
d7bb3ba9f7 Refactor beforeAgent and afterAgent hookEvents to follow desired output (#16495) 2026-01-13 16:50:54 +00:00
Vedant Mahajan
d01eebc245 Add other hook wrapper methods to hooksystem (#16361) 2026-01-12 17:38:45 +00:00
Vedant Mahajan
0553c91d96 remove unused sessionHookTriggers and exports (#16324) 2026-01-10 16:49:15 +00:00
Sandy Tao
2a9fdbb168 feat(hooks): Support explicit stop and block execution control in model hooks (#15947)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2026-01-09 05:36:27 +00:00
Vijay Vasudevan
534c5f608a feat(hooks): add mcp_context to BeforeTool and AfterTool hook inputs (#15656)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2026-01-08 18:35:33 +00:00
joshualitt
caf8e73b07 bug(core): Fix spewie getter in hookTranslator.ts (#16108) 2026-01-08 18:12:11 +00:00
Vedant Mahajan
3d29dee79f feat(hooks): simplify hook firing with HookSystem wrapper methods (#15982)
Co-authored-by: Ishaan Gupta <ishaankone@gmail.com>
2026-01-07 19:11:49 +00:00
Abhi
07d674ff26 feat(ui): add visual indicators for hook execution (#15408) 2026-01-06 20:52:12 +00:00
Abhi
2411c3a674 feat(core,cli): enforce mandatory MessageBus injection (Phase 3 Hard Migration) (#15776) 2026-01-04 22:11:43 +00:00
Sandy Tao
3f17c6a6c3 feat(hooks): implement STOP_EXECUTION and enhance hook decision handling (#15685) 2025-12-30 23:22:53 +00:00
Christian Gunderman
10d3b65a51 Implement support for tool input modification (#15492) 2025-12-30 19:37:43 +00:00
Sehoon Shon
eca2317f86 Security: Project-level hook warnings (#15470) 2025-12-23 21:10:46 +00:00
Stoyan Dimitrov
9226413758 refactor(core): remove deprecated permission aliases from BeforeToolHookOutput (#14855)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2025-12-23 16:13:20 +00:00
Christian Gunderman
66fab0bea2 Implemented unified secrets sanitization and env. redaction options (#15348) 2025-12-23 03:18:27 +00:00
Sehoon Shon
d2b7335e58 Add Folder Trust Support To Hooks (#15325) 2025-12-22 16:46:38 +00:00
Abhi
3a958a2ca1 feat(telemetry): add clearcut logging for hooks (#15405) 2025-12-21 21:18:42 +00:00
Sandy Tao
46679f392f fix(core): sanitize hook command expansion and prevent injection (#15343) 2025-12-19 22:31:42 +00:00
Abhi
73955d05f6 feat(hooks): reduce log verbosity and improve error reporting in UI (#15297) 2025-12-19 00:30:45 +00:00
Abhi
464beedce2 feat(hooks): add support for friendly names and descriptions (#15174) 2025-12-18 16:09:24 +00:00
Christian Gunderman
bce7cd8bb3 Disallow redundant typecasts. (#15030) 2025-12-13 01:43:43 +00:00
Tommaso Sciortino
efcb72c6c8 Refresh hooks when refreshing extensions. (#14918) 2025-12-12 16:43:46 -08:00
Sasha Varlamov
d5e469c487 feat(core): Add support for transcript_path in hooks for git-ai/Gemini extension (#14663)
Co-authored-by: Christian Gunderman <gundermanc@gmail.com>
2025-12-10 20:44:30 +00:00
Christian Gunderman
69ae42bb1f Disallow floating promises. (#14605) 2025-12-06 00:12:49 +00:00
Edilmo Palencia
498e64ed61 feat(hooks): Hooks Commands Panel, Enable/Disable, and Migrate (#14225) 2025-12-03 18:01:57 +00:00
Edilmo Palencia
fc8ac73725 feat(hooks): Hook Session Lifecycle & Compression Integration (#14151) 2025-12-03 17:04:13 +00:00
CHAEWAN KIM
c7c043fb6d fix(async): prevent missed async errors from bypassing catch handlers (#13714)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2025-12-01 22:11:40 +00:00
Sandy Tao
efb2b43610 fix(core): handle EPIPE error in hook runner when writing to stdin (#14231) 2025-12-01 16:58:41 +00:00
Edilmo Palencia
67e001eccd feat(hooks): Hook Agent Lifecycle Integration (#9105) 2025-11-24 22:31:48 +00:00
Edilmo Palencia
6ae33cb892 feat(hooks): Hook Event Handling (#9097) 2025-11-24 21:51:39 +00:00
Edilmo Palencia
c67a34dc4b feat(hooks): Hook Result Aggregation (#9095) 2025-11-12 07:14:09 +00:00
Megha Bansal
b21cb4a57d Increase code coverage for core packages (#12872) 2025-11-12 04:06:43 +00:00
Edilmo Palencia
8fbb986eb0 feat(hooks): Hook Execution Engine (#9092) 2025-11-10 16:08:21 +00:00
Edilmo Palencia
a995942673 feat(hooks): Hook Execution Planning and Matching (#9090) 2025-11-04 06:25:43 +00:00
Edilmo Palencia
a8ab4b8430 feat(hooks): Hook Input/Output Contracts (#9080) 2025-11-04 02:47:23 +00:00
Edilmo Palencia
d3c50a895e feat(hooks): Hook Type Decoupling and Translation (#9078) 2025-11-03 23:56:53 +00:00