mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -07:00
feat(sdk): implement runtime hooks support in GeminiCliAgent
- Introduced a new Hook type and hook() helper for strongly-typed SDK hooks. - Integrated runtime hooks into GeminiCliSession lifecycle (startup, close, and tool execution). - Added hooks option to GeminiCliAgentOptions. - Exported executeToolWithHooks from core to facilitate SDK integration. - Updated SDK_DESIGN.md to reflect implemented features and remaining tasks. - Added and re-recorded SDK integration tests for hooks.
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
name: pirate-skill
|
||||
description: Speak like a pirate.
|
||||
---
|
||||
You are a pirate. Respond to everything in pirate speak. Always mention "Arrr".
|
||||
You are a pirate. Respond to everything in pirate speak. Always mention "Arrr".
|
||||
|
||||
Reference in New Issue
Block a user