@caspian2026/agent-sdk 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -537,9 +537,13 @@ async function handleRequest(req) {
537
537
  break;
538
538
  }
539
539
  case "session.prompt": {
540
- const { session_key, input, text } = req.params;
540
+ const { session_key, input, text, turn_context } = req.params;
541
541
  try {
542
- router.send(session_key, { type: "prompt", input: input ?? text ?? "" });
542
+ router.send(session_key, {
543
+ type: "prompt",
544
+ input: input ?? text ?? "",
545
+ turn_context: typeof turn_context === "string" ? turn_context : undefined
546
+ });
543
547
  } catch (err) {
544
548
  notify({
545
549
  method: "session.error",