@runtypelabs/persona 4.26.0 → 4.26.1

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.
Files changed (48) hide show
  1. package/dist/approval-ui.d.cts +6 -0
  2. package/dist/approval-ui.d.ts +6 -0
  3. package/dist/artifacts-ui.d.cts +6 -0
  4. package/dist/artifacts-ui.d.ts +6 -0
  5. package/dist/chunk-GKPCIQPB.js +1 -0
  6. package/dist/{client-history-YPEG45Q4.js → client-history-GOZWBDA5.js} +1 -1
  7. package/dist/client-history.js +1 -1
  8. package/dist/codegen.cjs +1 -1
  9. package/dist/codegen.js +1 -1
  10. package/dist/context-mentions.d.cts +6 -0
  11. package/dist/context-mentions.d.ts +6 -0
  12. package/dist/event-stream-view.d.cts +6 -0
  13. package/dist/event-stream-view.d.ts +6 -0
  14. package/dist/forms-ui.d.cts +6 -0
  15. package/dist/forms-ui.d.ts +6 -0
  16. package/dist/index.cjs +7 -7
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +6 -0
  19. package/dist/index.d.ts +6 -0
  20. package/dist/index.global.js +1 -1
  21. package/dist/index.global.js.map +1 -1
  22. package/dist/index.js +7 -7
  23. package/dist/index.js.map +1 -1
  24. package/dist/session-reconnect.d.cts +6 -0
  25. package/dist/session-reconnect.d.ts +6 -0
  26. package/dist/smart-dom-reader.d.cts +6 -0
  27. package/dist/smart-dom-reader.d.ts +6 -0
  28. package/dist/theme-editor-preview.cjs +14 -14
  29. package/dist/theme-editor-preview.d.cts +6 -0
  30. package/dist/theme-editor-preview.d.ts +6 -0
  31. package/dist/theme-editor-preview.js +5 -5
  32. package/dist/theme-editor.d.cts +6 -0
  33. package/dist/theme-editor.d.ts +6 -0
  34. package/dist/voice-runtime-XLU6YK2N.js +17 -0
  35. package/dist/voice-runtime.cjs +3 -3
  36. package/dist/voice-runtime.d.cts +6 -0
  37. package/dist/voice-runtime.d.ts +6 -0
  38. package/dist/voice-runtime.js +3 -3
  39. package/package.json +1 -1
  40. package/src/approval-paused-tool-settle.test.ts +108 -4
  41. package/src/session.ts +51 -10
  42. package/src/session.voice.test.ts +1 -0
  43. package/src/types.ts +6 -0
  44. package/src/voice/runtype-voice-provider.ts +19 -9
  45. package/src/voice/voice-delegation.ts +1 -1
  46. package/src/voice/voice.test.ts +81 -2
  47. package/dist/chunk-QPPJUSZH.js +0 -1
  48. package/dist/voice-runtime-UOQOFAFY.js +0 -17
@@ -7296,6 +7296,12 @@ type VoiceDelegationResult = {
7296
7296
  status: VoiceDelegationStatus;
7297
7297
  /** The assistant text (Markdown allowed). */
7298
7298
  text: string;
7299
+ /**
7300
+ * `false` when no chat message carries this answer (it is only spoken), so
7301
+ * the voice model's read-back of it stays visible as a caption.
7302
+ * @default true
7303
+ */
7304
+ inChat?: boolean;
7299
7305
  /**
7300
7306
  * Set when the turn parked on approvals (`text` then asks for the decision).
7301
7307
  * Resolves with the terminal result once the visitor decides (or the
@@ -7296,6 +7296,12 @@ type VoiceDelegationResult = {
7296
7296
  status: VoiceDelegationStatus;
7297
7297
  /** The assistant text (Markdown allowed). */
7298
7298
  text: string;
7299
+ /**
7300
+ * `false` when no chat message carries this answer (it is only spoken), so
7301
+ * the voice model's read-back of it stays visible as a caption.
7302
+ * @default true
7303
+ */
7304
+ inChat?: boolean;
7299
7305
  /**
7300
7306
  * Set when the turn parked on approvals (`text` then asks for the decision).
7301
7307
  * Resolves with the terminal result once the visitor decides (or the