Under the hood
System prompt and tool schema extraction is now cached and hashed instead of reparsed each time
What
The internal function that extracts the active system prompt, tools, and tool schemas now caches its parsed result instead of redoing the work on every call, and adds a systemPromptHash field computed by a new hashing function.
Why
Caching avoids repeatedly re-parsing the same system prompt and tool information, and the new hash gives a quick way to check whether the system prompt has changed.