@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
@@ -7144,6 +7144,12 @@ type VoiceDelegationResult = {
7144
7144
  status: VoiceDelegationStatus;
7145
7145
  /** The assistant text (Markdown allowed). */
7146
7146
  text: string;
7147
+ /**
7148
+ * `false` when no chat message carries this answer (it is only spoken), so
7149
+ * the voice model's read-back of it stays visible as a caption.
7150
+ * @default true
7151
+ */
7152
+ inChat?: boolean;
7147
7153
  /**
7148
7154
  * Set when the turn parked on approvals (`text` then asks for the decision).
7149
7155
  * Resolves with the terminal result once the visitor decides (or the
@@ -7144,6 +7144,12 @@ type VoiceDelegationResult = {
7144
7144
  status: VoiceDelegationStatus;
7145
7145
  /** The assistant text (Markdown allowed). */
7146
7146
  text: string;
7147
+ /**
7148
+ * `false` when no chat message carries this answer (it is only spoken), so
7149
+ * the voice model's read-back of it stays visible as a caption.
7150
+ * @default true
7151
+ */
7152
+ inChat?: boolean;
7147
7153
  /**
7148
7154
  * Set when the turn parked on approvals (`text` then asks for the decision).
7149
7155
  * Resolves with the terminal result once the visitor decides (or the
@@ -7413,6 +7413,12 @@ type VoiceDelegationResult = {
7413
7413
  status: VoiceDelegationStatus;
7414
7414
  /** The assistant text (Markdown allowed). */
7415
7415
  text: string;
7416
+ /**
7417
+ * `false` when no chat message carries this answer (it is only spoken), so
7418
+ * the voice model's read-back of it stays visible as a caption.
7419
+ * @default true
7420
+ */
7421
+ inChat?: boolean;
7416
7422
  /**
7417
7423
  * Set when the turn parked on approvals (`text` then asks for the decision).
7418
7424
  * Resolves with the terminal result once the visitor decides (or the
@@ -7413,6 +7413,12 @@ type VoiceDelegationResult = {
7413
7413
  status: VoiceDelegationStatus;
7414
7414
  /** The assistant text (Markdown allowed). */
7415
7415
  text: string;
7416
+ /**
7417
+ * `false` when no chat message carries this answer (it is only spoken), so
7418
+ * the voice model's read-back of it stays visible as a caption.
7419
+ * @default true
7420
+ */
7421
+ inChat?: boolean;
7416
7422
  /**
7417
7423
  * Set when the turn parked on approvals (`text` then asks for the decision).
7418
7424
  * Resolves with the terminal result once the visitor decides (or the