types: include sessionKey in embedded tool handler params

This commit is contained in:
Vincent Koc
2026-03-02 12:23:12 -08:00
parent c63c179278
commit 65b1bebe7d

View File

@@ -132,7 +132,7 @@ export type EmbeddedPiSubscribeContext = {
*/
export type ToolHandlerParams = Pick<
SubscribeEmbeddedPiSessionParams,
"runId" | "onBlockReplyFlush" | "onAgentEvent" | "onToolResult"
"runId" | "sessionKey" | "onBlockReplyFlush" | "onAgentEvent" | "onToolResult"
>;
export type ToolHandlerState = Pick<