Commit Graph

67 Commits

Author SHA1 Message Date
krishdef7 6704b384ea fix(core): propagate BeforeModel hook model override end-to-end (#24784)
Signed-off-by: krishdef7 <gargkrish06@gmail.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2026-04-07 17:49:26 +00:00
Michael Bleigh 9725f1ed37 feat(hooks): display hook system messages in UI (#24616) 2026-04-07 17:42:39 +00:00
krishdef7 a81d55fcd3 fix(core): handle partial llm_request in BeforeModel hook override (#22326) 2026-04-06 20:11:38 +00:00
Emily Hedlund 23e67f855d test: fix Windows CI execution and resolve exposed platform failures (#24476) 2026-04-03 15:50:29 +00:00
Alisa 72a6cbed5f Unused error variables in catch block are not allowed (#24487) 2026-04-02 04:33:07 +00:00
Jarrod Whelan eaec0f1f2c feat(ui): implement refreshed UX for Composer layout (#21212)
Co-authored-by: Keith Guerin <keithguerin@gmail.com>
2026-03-24 02:30:48 +00:00
Christian Gunderman 148b8f3ebd fix(hooks): support 'ask' decision for BeforeTool hooks (#21146) 2026-03-21 03:52:39 +00:00
joshualitt 92cca24bc9 feat(core): Fully migrate packages/core to AgentLoopContext. (#22115) 2026-03-13 01:56:31 +00:00
Christian Gunderman d8e8afd0c3 Disallow underspecified types (#21485) 2026-03-07 21:05:38 +00:00
nityam 9c0ff50664 fix: merge duplicate imports in packages/core (3/4) (#20928) 2026-03-04 00:12:59 +00:00
Aswin Ashok addb3797e7 Build binary (#18933)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
2026-03-03 01:02:19 +00:00
Sandy Tao 40f1f52560 feat(telemetry): Add context breakdown to API response event (#19699) 2026-02-24 23:26:28 +00:00
Michael Bleigh e653e2888f feat(hooks): adds support for RuntimeHook functions. (#19598) 2026-02-24 21:03:36 +00:00
Steven Robertson f672c1b8cb feat: implement AfterTool tail tool calls (#18486) 2026-02-24 03:57:00 +00:00
Abhi deb202e185 chore(lint): fix lint errors seen when running npm run lint (#19844) 2026-02-21 18:33:25 +00:00
Christian Gunderman 981e9a978e Disallow and suppress unsafe assignment (#19736) 2026-02-20 22:28:55 +00:00
N. Taylor Mullen 8449bdda6c test: fix hook integration test flakiness on Windows CI (#18665) 2026-02-15 19:42:13 +00:00
Christian Gunderman c369147b32 Disallow unsafe type assertions (#18688) 2026-02-10 00:10:15 +00:00
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