Skip to content

Add userPromptTransformed hook to all SDKs - #2254

Merged
SteveSandersonMS merged 5 commits into
mainfrom
copilot/user-prompt-transformed-hook
Aug 4, 2026
Merged

Add userPromptTransformed hook to all SDKs#2254
SteveSandersonMS merged 5 commits into
mainfrom
copilot/user-prompt-transformed-hook

Conversation

@SteveSandersonMS

Copy link
Copy Markdown
Contributor

Summary

  • add typed userPromptTransformed hook APIs and dispatch across Node.js, Python, Go, .NET, Java, and Rust
  • expose the runtime-transformed prompt and support replacing the model-facing content before persistence
  • add shared replay E2E coverage for all six SDKs, focused serialization/unit coverage, and cross-language documentation

Implements SDK support for github/copilot-agent-runtime#12791. Supersedes the older Node-only approach in #1774 with the shipped hook contract.