refactor: tighten plugin sdk channel seams

This commit is contained in:
Peter Steinberger
2026-03-16 01:05:18 -07:00
parent 7a09255361
commit f11589b311
72 changed files with 319 additions and 125 deletions

View File

@@ -1,3 +1,4 @@
/** Extract the canonical send target fields from tool arguments when the action matches. */
export function extractToolSend(
args: Record<string, unknown>,
expectedAction = "sendMessage",