Files
cline/docs
Juan Pablo FloresandCandiedUniverse b296706bc0 docs: add guidance for handling strings with quotes in JSON payloads for hooks (#7396)
* docs: add guidance for handling strings with quotes in JSON payloads in hooks documentation

- Introduced a new section on using jq's --arg flag for proper escaping of unescaped quote characters in JSON output.
- Provided a code example demonstrating how to handle complex strings or nested JSON structures safely.

This update enhances the documentation by clarifying how to manage JSON payloads effectively within hooks.

* docs: clarify context modification behavior in hooks documentation

- Updated the explanation regarding context modifications and their effect on AI decisions.
- Emphasized the need to return `cancel: true` in PreToolUse hooks to block actions effectively.

This change enhances the clarity of the documentation, ensuring users understand how to implement immediate effects in their hooks.

---------

Co-authored-by: CandiedUniverse <132302818+candieduniverse@users.noreply.github.com>
2025-11-11 15:24:52 -08:00
..
2025-10-16 11:51:20 -07:00
2025-11-05 16:49:57 -08:00
2025-10-16 11:51:20 -07:00
2025-10-16 11:51:20 -07:00
2025-10-16 11:51:20 -07:00
2025-10-16 11:51:20 -07:00
2025-10-16 11:51:20 -07:00
2025-11-05 16:50:22 -08:00
2025-09-22 23:36:50 -07:00
2025-07-18 19:29:28 -07:00