@dxos/plugin-transcription 0.8.3 → 0.8.4-main.28f8d3d

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 (140) hide show
  1. package/dist/lib/browser/TranscriptContainer-FH7VAWYA.mjs +11 -0
  2. package/dist/lib/browser/{chunk-GOF7MJNV.mjs → chunk-5WH45KBY.mjs} +2 -2
  3. package/dist/lib/browser/{chunk-53AXUEIQ.mjs → chunk-BJWYA2BU.mjs} +332 -314
  4. package/dist/lib/browser/chunk-BJWYA2BU.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-IQ5ZRMHZ.mjs → chunk-KJIQQHJB.mjs} +45 -34
  6. package/dist/lib/browser/chunk-KJIQQHJB.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-OSISJM2F.mjs → chunk-KWOOVS5G.mjs} +4 -4
  8. package/dist/lib/browser/{chunk-OSISJM2F.mjs.map → chunk-KWOOVS5G.mjs.map} +2 -2
  9. package/dist/lib/browser/{chunk-W2KNYJD6.mjs → chunk-SREIAQSP.mjs} +3 -3
  10. package/dist/lib/browser/{chunk-W2KNYJD6.mjs.map → chunk-SREIAQSP.mjs.map} +1 -1
  11. package/dist/lib/browser/{chunk-UDCCT32F.mjs → chunk-UKUSJTQW.mjs} +3 -3
  12. package/dist/lib/browser/index.mjs +12 -12
  13. package/dist/lib/browser/index.mjs.map +3 -3
  14. package/dist/lib/browser/{intent-resolver-BGADCHVM.mjs → intent-resolver-AOVQ7JI4.mjs} +4 -4
  15. package/dist/lib/{node-esm/intent-resolver-5LVCYSJS.mjs.map → browser/intent-resolver-AOVQ7JI4.mjs.map} +2 -2
  16. package/dist/lib/browser/meta.json +1 -1
  17. package/dist/lib/browser/{react-surface-HMJS5FSS.mjs → react-surface-4MEJMKYQ.mjs} +7 -7
  18. package/dist/lib/browser/{transcriber-OYPLZFG5.mjs → transcriber-V77CN7XX.mjs} +6 -6
  19. package/dist/lib/browser/transcriber-V77CN7XX.mjs.map +7 -0
  20. package/dist/lib/browser/types/index.mjs +2 -2
  21. package/dist/lib/node-esm/{TranscriptContainer-G75LDEO5.mjs → TranscriptContainer-GEUOOYHX.mjs} +4 -4
  22. package/dist/lib/node-esm/{chunk-PRL64SRU.mjs → chunk-A33GNR44.mjs} +45 -34
  23. package/dist/lib/node-esm/chunk-A33GNR44.mjs.map +7 -0
  24. package/dist/lib/node-esm/{chunk-FH75X4JC.mjs → chunk-IKQMDRY6.mjs} +4 -4
  25. package/dist/lib/node-esm/{chunk-FH75X4JC.mjs.map → chunk-IKQMDRY6.mjs.map} +2 -2
  26. package/dist/lib/node-esm/{chunk-MFJO7EKD.mjs → chunk-PHP7MCAY.mjs} +3 -3
  27. package/dist/lib/node-esm/{chunk-MFJPEIVB.mjs → chunk-TM2ASOZA.mjs} +3 -3
  28. package/dist/lib/node-esm/{chunk-MFJPEIVB.mjs.map → chunk-TM2ASOZA.mjs.map} +1 -1
  29. package/dist/lib/node-esm/{chunk-TXMDLLBR.mjs → chunk-XMUCZBP3.mjs} +2 -2
  30. package/dist/lib/node-esm/{chunk-56QHOX4A.mjs → chunk-Y7PCJ34K.mjs} +332 -314
  31. package/dist/lib/node-esm/chunk-Y7PCJ34K.mjs.map +7 -0
  32. package/dist/lib/node-esm/index.mjs +12 -12
  33. package/dist/lib/node-esm/index.mjs.map +3 -3
  34. package/dist/lib/node-esm/{intent-resolver-5LVCYSJS.mjs → intent-resolver-P4XPIKQF.mjs} +4 -4
  35. package/dist/lib/{browser/intent-resolver-BGADCHVM.mjs.map → node-esm/intent-resolver-P4XPIKQF.mjs.map} +2 -2
  36. package/dist/lib/node-esm/meta.json +1 -1
  37. package/dist/lib/node-esm/{react-surface-JGQSYGRR.mjs → react-surface-EZUPNHUC.mjs} +7 -7
  38. package/dist/lib/node-esm/{transcriber-TVG2MBBN.mjs → transcriber-3SX3DNLV.mjs} +6 -6
  39. package/dist/lib/node-esm/transcriber-3SX3DNLV.mjs.map +7 -0
  40. package/dist/lib/node-esm/types/index.mjs +2 -2
  41. package/dist/types/src/capabilities/capabilities.d.ts +3 -3
  42. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  43. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  44. package/dist/types/src/capabilities/transcriber.d.ts.map +1 -1
  45. package/dist/types/src/components/Transcript/Transcript.d.ts.map +1 -1
  46. package/dist/types/src/components/Transcript/Transcript.stories.d.ts +1 -1
  47. package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
  48. package/dist/types/src/components/TranscriptContainer.d.ts +4 -3
  49. package/dist/types/src/components/TranscriptContainer.d.ts.map +1 -1
  50. package/dist/types/src/components/index.d.ts +1 -4
  51. package/dist/types/src/components/index.d.ts.map +1 -1
  52. package/dist/types/src/components/stories/FileTranscription.stories.d.ts +1 -1
  53. package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
  54. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +1 -1
  55. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
  56. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +1 -1
  57. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
  58. package/dist/types/src/hooks/useTranscriber.d.ts +1 -1
  59. package/dist/types/src/hooks/useVoiceInput.d.ts.map +1 -1
  60. package/dist/types/src/segments-normalization/normalization.d.ts +159 -66
  61. package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
  62. package/dist/types/src/testing/testing.d.ts +1 -1
  63. package/dist/types/src/testing/testing.d.ts.map +1 -1
  64. package/dist/types/src/transcriber/index.d.ts +1 -1
  65. package/dist/types/src/transcriber/index.d.ts.map +1 -1
  66. package/dist/types/src/transcriber/media-stream-recorder.d.ts +1 -1
  67. package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
  68. package/dist/types/src/transcriber/transcriber.d.ts +1 -1
  69. package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
  70. package/dist/types/src/translations.d.ts +11 -11
  71. package/dist/types/src/translations.d.ts.map +1 -1
  72. package/dist/types/src/types/types.d.ts.map +1 -1
  73. package/dist/types/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +59 -57
  75. package/src/TranscriptionPlugin.tsx +1 -1
  76. package/src/capabilities/capabilities.ts +5 -5
  77. package/src/capabilities/intent-resolver.ts +2 -2
  78. package/src/capabilities/transcriber.ts +3 -2
  79. package/src/components/Transcript/Transcript.stories.tsx +5 -4
  80. package/src/components/Transcript/Transcript.tsx +5 -4
  81. package/src/components/Transcript/deprecated/OldTranscript.tsx +2 -2
  82. package/src/components/Transcript/transcript-extension.ts +2 -2
  83. package/src/components/TranscriptContainer.tsx +10 -4
  84. package/src/components/stories/FileTranscription.stories.tsx +23 -19
  85. package/src/components/stories/KeyWordRecognition.stories.tsx +1 -1
  86. package/src/components/stories/MicrophoneTranscription.stories.tsx +18 -15
  87. package/src/hooks/useTranscriber.ts +5 -5
  88. package/src/hooks/useVoiceInput.ts +3 -2
  89. package/src/model/model.test.ts +9 -9
  90. package/src/segments-normalization/message-normalizer.ts +1 -1
  91. package/src/segments-normalization/normalization.test.ts +19 -21
  92. package/src/segments-normalization/normalization.ts +54 -44
  93. package/src/testing/testing.ts +11 -11
  94. package/src/transcriber/index.ts +1 -1
  95. package/src/transcriber/media-stream-recorder.ts +1 -1
  96. package/src/transcriber/transcriber.browser.test.ts +4 -3
  97. package/src/transcriber/transcriber.ts +5 -7
  98. package/src/transcriber/transcription-manager.ts +3 -3
  99. package/src/translations.ts +6 -4
  100. package/src/types/types.ts +2 -1
  101. package/dist/lib/browser/TranscriptContainer-H3AZQ4CQ.mjs +0 -11
  102. package/dist/lib/browser/chunk-53AXUEIQ.mjs.map +0 -7
  103. package/dist/lib/browser/chunk-IQ5ZRMHZ.mjs.map +0 -7
  104. package/dist/lib/browser/transcriber-OYPLZFG5.mjs.map +0 -7
  105. package/dist/lib/node/TranscriptContainer-KIG3GMAB.cjs +0 -32
  106. package/dist/lib/node/TranscriptContainer-KIG3GMAB.cjs.map +0 -7
  107. package/dist/lib/node/chunk-3PYT3BDM.cjs +0 -40
  108. package/dist/lib/node/chunk-3PYT3BDM.cjs.map +0 -7
  109. package/dist/lib/node/chunk-6LW5RA3K.cjs +0 -75
  110. package/dist/lib/node/chunk-6LW5RA3K.cjs.map +0 -7
  111. package/dist/lib/node/chunk-AFUZI63A.cjs +0 -42
  112. package/dist/lib/node/chunk-AFUZI63A.cjs.map +0 -7
  113. package/dist/lib/node/chunk-CVUN3UO7.cjs +0 -778
  114. package/dist/lib/node/chunk-CVUN3UO7.cjs.map +0 -7
  115. package/dist/lib/node/chunk-FKDJNJ57.cjs +0 -35
  116. package/dist/lib/node/chunk-FKDJNJ57.cjs.map +0 -7
  117. package/dist/lib/node/chunk-ZFAUMZXE.cjs +0 -518
  118. package/dist/lib/node/chunk-ZFAUMZXE.cjs.map +0 -7
  119. package/dist/lib/node/index.cjs +0 -133
  120. package/dist/lib/node/index.cjs.map +0 -7
  121. package/dist/lib/node/intent-resolver-LL3TTI4H.cjs +0 -45
  122. package/dist/lib/node/intent-resolver-LL3TTI4H.cjs.map +0 -7
  123. package/dist/lib/node/meta.json +0 -1
  124. package/dist/lib/node/react-surface-N25TBBG4.cjs +0 -56
  125. package/dist/lib/node/react-surface-N25TBBG4.cjs.map +0 -7
  126. package/dist/lib/node/transcriber-6J4FVFSZ.cjs +0 -68
  127. package/dist/lib/node/transcriber-6J4FVFSZ.cjs.map +0 -7
  128. package/dist/lib/node/types/index.cjs +0 -36
  129. package/dist/lib/node/types/index.cjs.map +0 -7
  130. package/dist/lib/node-esm/chunk-56QHOX4A.mjs.map +0 -7
  131. package/dist/lib/node-esm/chunk-PRL64SRU.mjs.map +0 -7
  132. package/dist/lib/node-esm/transcriber-TVG2MBBN.mjs.map +0 -7
  133. /package/dist/lib/browser/{TranscriptContainer-H3AZQ4CQ.mjs.map → TranscriptContainer-FH7VAWYA.mjs.map} +0 -0
  134. /package/dist/lib/browser/{chunk-GOF7MJNV.mjs.map → chunk-5WH45KBY.mjs.map} +0 -0
  135. /package/dist/lib/browser/{chunk-UDCCT32F.mjs.map → chunk-UKUSJTQW.mjs.map} +0 -0
  136. /package/dist/lib/browser/{react-surface-HMJS5FSS.mjs.map → react-surface-4MEJMKYQ.mjs.map} +0 -0
  137. /package/dist/lib/node-esm/{TranscriptContainer-G75LDEO5.mjs.map → TranscriptContainer-GEUOOYHX.mjs.map} +0 -0
  138. /package/dist/lib/node-esm/{chunk-MFJO7EKD.mjs.map → chunk-PHP7MCAY.mjs.map} +0 -0
  139. /package/dist/lib/node-esm/{chunk-TXMDLLBR.mjs.map → chunk-XMUCZBP3.mjs.map} +0 -0
  140. /package/dist/lib/node-esm/{react-surface-JGQSYGRR.mjs.map → react-surface-EZUPNHUC.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC/B,MAAM,gBAAgB,CAAC;AAExB,yBAAiB,yBAAyB,CAAC;IACzC,KAAY,mBAAmB,GAAG;QAChC,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;QACzD,cAAc,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC/D,CAAC;IACF,KAAY,cAAc,GAAG,CAAC,KAAK,EAAE,mBAAmB,KAAK,WAAW,CAAC;IAClE,MAAM,WAAW,4DAAqF,CAAC;IAE9G,KAAY,4BAA4B,GAAG;QACzC,eAAe,CAAC,EAAE,yBAAyB,CAAC;KAC7C,CAAC;IACF,KAAY,uBAAuB,GAAG,CAAC,KAAK,EAAE,4BAA4B,KAAK,oBAAoB,CAAC;IAC7F,MAAM,oBAAoB,qEAEhC,CAAC;CACH"}
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EAC1B,MAAM,gBAAgB,CAAC;AAExB,yBAAiB,yBAAyB,CAAC;IACzC,KAAY,mBAAmB,GAAG;QAChC,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,cAAc,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC9D,iBAAiB,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;QACzD,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;KAC7C,CAAC;IACF,KAAY,cAAc,GAAG,CAAC,KAAK,EAAE,mBAAmB,KAAK,WAAW,CAAC;IAClE,MAAM,WAAW,4DAAqF,CAAC;IAE9G,KAAY,4BAA4B,GAAG;QACzC,eAAe,CAAC,EAAE,yBAAyB,CAAC;KAC7C,CAAC;IACF,KAAY,uBAAuB,GAAG,CAAC,KAAK,EAAE,4BAA4B,KAAK,oBAAoB,CAAC;IAC7F,MAAM,oBAAoB,qEAEhC,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAA+B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAMpF,SAAS,aAAa;AAAtC,wBAaK"}
1
+ {"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,EAA+B,MAAM,qBAAqB,CAAC;yBAMpF,SAAS,aAAa;AAAtC,wBAaK"}
@@ -1 +1 @@
1
- {"version":3,"file":"transcriber.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/transcriber.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAqB3D;;GAEG;yBACa,SAAS,aAAa;AAAtC,wBA4CE"}
1
+ {"version":3,"file":"transcriber.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/transcriber.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;AAKtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAoB3D;;GAEG;yBACa,SAAS,aAAa;AAAtC,wBA4CE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Transcript.d.ts","sourceRoot":"","sources":["../../../../../src/components/Transcript/Transcript.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAc,KAAK,eAAe,EAAmB,MAAM,gBAAgB,CAAC;AAYnF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,cAAc,GACxB,YAAY,QAAQ,EAAE,MACtB,SAAS,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,EAAE,eAAa,KAAG,M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AAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,kFAOxB,eAAe,sBA4BjB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@dxos-theme';
2
- import { type Meta, type StoryObj } from '@storybook/react';
2
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
3
3
  import React from 'react';
4
4
  import { Key } from '@dxos/echo';
5
5
  import { DataType } from '@dxos/schema';
@@ -1 +1 @@
1
- {"version":3,"file":"Transcript.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Transcript/Transcript.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAgD,MAAM,OAAO,CAAC;AAIrE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWjC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAIxC,OAAO,EAA8B,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AA6ChF,KAAK,UAAU,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAA;CAAE,GAAG,IAAI,CAAC,eAAe,EAAE,iBAAiB,GAAG,cAAc,CAAC,CAAC;AA0DhH;;GAEG;AACH,QAAA,MAAM,UAAU,GAAI,2DAKjB,UAAU,GAAG;IAAE,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,sBAiB7D,CAAC;AA0BF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAwBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAMvC,CAAC"}
1
+ {"version":3,"file":"Transcript.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Transcript/Transcript.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAgD,MAAM,OAAO,CAAC;AAIrE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWjC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAcxC,OAAO,EAAc,KAAK,eAAe,EAAkB,MAAM,cAAc,CAAC;AAoChF,KAAK,UAAU,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAA;CAAE,GAAG,IAAI,CAAC,eAAe,EAAE,iBAAiB,GAAG,cAAc,CAAC,CAAC;AA0DhH;;GAEG;AACH,QAAA,MAAM,UAAU,GAAI,2DAKjB,UAAU,GAAG;IAAE,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,sBAiB7D,CAAC;AA0BF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAwBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAMvC,CAAC"}
@@ -1,8 +1,9 @@
1
- import { type FC } from 'react';
1
+ import React from 'react';
2
2
  import { type TranscriptType } from '../types';
3
- export declare const TranscriptionContainer: FC<{
3
+ export type TranscriptionContainerProps = {
4
4
  role: string;
5
5
  transcript: TranscriptType;
6
- }>;
6
+ };
7
+ export declare const TranscriptionContainer: ({ transcript }: TranscriptionContainerProps) => React.JSX.Element;
7
8
  export default TranscriptionContainer;
8
9
  //# sourceMappingURL=TranscriptContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TranscriptContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/TranscriptContainer.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AASvC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,cAAc,CAAA;CAAE,CAYnF,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"TranscriptContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/TranscriptContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAI/C,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,cAAc,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,2BAA2B,sBAYjF,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,7 +1,4 @@
1
1
  export * from './Transcript';
2
2
  export * from './TranscriptContainer';
3
- export declare const TranscriptContainer: import("react").LazyExoticComponent<import("react").FC<{
4
- role: string;
5
- transcript: import("../types").TranscriptType;
6
- }>>;
3
+ export declare const TranscriptContainer: import("react").LazyExoticComponent<({ transcript }: import("./TranscriptContainer").TranscriptionContainerProps) => import("react").JSX.Element>;
7
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;GAA8C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,mBAAmB,mJAA8C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@dxos-theme';
2
- import { type Meta, type StoryObj } from '@storybook/react';
2
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
3
3
  import React from 'react';
4
4
  import { type MediaStreamRecorderParams, type TranscriberParams } from '../../transcriber';
5
5
  declare const AudioFile: ({ detectSpeaking, audioUrl, normalizeSentences, transcriberConfig, recorderConfig, audioConstraints, }: {
@@ -1 +1 @@
1
- {"version":3,"file":"FileTranscription.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/stories/FileTranscription.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAA4D,MAAM,OAAO,CAAC;AA6BjF,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3F,QAAA,MAAM,SAAS,GAAI,wGAOhB;IACD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACrD,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC1C,sBA0HA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA2BhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAYpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,SAAS,CAU9C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,OAAO,SAAS,CAWhE,CAAC"}
1
+ {"version":3,"file":"FileTranscription.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/stories/FileTranscription.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA4D,MAAM,OAAO,CAAC;AAwBjF,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAO3F,QAAA,MAAM,SAAS,GAAI,wGAOhB;IACD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACrD,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC1C,sBA+HA,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA2BhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAYpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,SAAS,CAU9C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,OAAO,SAAS,CAWhE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@dxos-theme';
2
- import { type StoryObj, type Meta } from '@storybook/react';
2
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
3
3
  import React from 'react';
4
4
  declare const SpeechRecognition: ({ keywords }: {
5
5
  keywords: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"KeyWordRecognition.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/stories/KeyWordRecognition.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,QAAA,MAAM,iBAAiB,GAAI,cAAc;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,sBA8F9D,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,OAAO,iBAAiB,CAKnE,CAAC"}
1
+ {"version":3,"file":"KeyWordRecognition.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/stories/KeyWordRecognition.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,QAAA,MAAM,iBAAiB,GAAI,cAAc;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,sBA8F9D,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,OAAO,iBAAiB,CAKnE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@dxos-theme';
2
- import { type Meta, type StoryObj } from '@storybook/react';
2
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
3
3
  import React from 'react';
4
4
  import { type MediaStreamRecorderParams, type TranscriberParams } from '../../transcriber';
5
5
  type StoryProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"MicrophoneTranscription.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/stories/MicrophoneTranscription.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAoD,MAAM,OAAO,CAAC;AAmCzE,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAY3F,KAAK,UAAU,GAAG;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC/C,cAAc,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACpD,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,gBAAgB,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;CAC1C,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,4FAMnB,UAAU,sBA0HZ,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAyCnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAY9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
1
+ {"version":3,"file":"MicrophoneTranscription.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/stories/MicrophoneTranscription.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAoD,MAAM,OAAO,CAAC;AA8BzE,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAgB3F,KAAK,UAAU,GAAG;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC/C,cAAc,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACpD,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,gBAAgB,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;CAC1C,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,4FAMnB,UAAU,sBA8HZ,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAyCnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAY9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
@@ -3,5 +3,5 @@ import { type Transcriber } from '../transcriber';
3
3
  /**
4
4
  * Records audio while user is speaking and transcribes it after user is done speaking.
5
5
  */
6
- export declare const useTranscriber: ({ audioStreamTrack, onSegments, transcriberConfig, recorderConfig, }: Partial<TranscriptionCapabilities.GetTranscriberProps>) => Transcriber | undefined;
6
+ export declare const useTranscriber: ({ audioStreamTrack, recorderConfig, transcriberConfig, onSegments, }: Partial<TranscriptionCapabilities.GetTranscriberProps>) => Transcriber | undefined;
7
7
  //# sourceMappingURL=useTranscriber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useVoiceInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useVoiceInput.ts"],"names":[],"mappings":"AAeA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,sBAAsB,kBAAkB;;CA0CrE,CAAC"}
1
+ {"version":3,"file":"useVoiceInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useVoiceInput.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,sBAAsB,kBAAkB;;CA0CrE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { Schema } from 'effect';
2
2
  declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
3
3
  id: import("@dxos/keys").ObjectIdClass;
4
+ parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
4
5
  created: import("effect/Schema").SchemaClass<string, string, never>;
5
6
  sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
6
7
  contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
@@ -9,9 +10,9 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
9
10
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
10
11
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
12
  organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
12
- description?: string | undefined;
13
13
  id: string;
14
14
  name?: string | undefined;
15
+ description?: string | undefined;
15
16
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
16
17
  image?: string | undefined;
17
18
  website?: string | undefined;
@@ -47,7 +48,7 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
47
48
  label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
48
49
  value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
49
50
  }>>>>;
50
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
51
+ birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
51
52
  fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
52
53
  category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
53
54
  label: typeof import("effect/Schema").String;
@@ -60,22 +61,17 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
60
61
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
62
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
62
63
  }>>;
63
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
64
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
64
65
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
65
- }>, import("effect/Schema").Struct<{
66
- type: import("effect/Schema").Literal<["text"]>;
67
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
68
- text: typeof import("effect/Schema").String;
69
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
66
+ objectId: import("@dxos/keys").ObjectIdClass;
67
+ version: typeof import("effect/Schema").Unknown;
68
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
70
69
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
71
- }>, import("effect/Schema").Struct<{
72
- type: import("effect/Schema").Literal<["json"]>;
73
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
74
- data: typeof import("effect/Schema").String;
75
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
70
+ url: typeof import("effect/Schema").String;
71
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
72
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
73
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
76
74
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
77
- }>, import("effect/Schema").Struct<{
78
- type: import("effect/Schema").Literal<["image"]>;
79
75
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
80
76
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
81
77
  type: import("effect/Schema").Literal<["base64"]>;
@@ -85,21 +81,56 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Sc
85
81
  type: import("effect/Schema").Literal<["http"]>;
86
82
  url: typeof import("effect/Schema").String;
87
83
  }>>]>>;
88
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
84
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
85
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
86
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
87
+ data: typeof import("effect/Schema").String;
88
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
89
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
90
+ text: typeof import("effect/Schema").String;
91
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
92
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
93
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
94
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
95
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
96
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
89
97
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
90
- }>, import("effect/Schema").Struct<{
91
- type: import("effect/Schema").Literal<["reference"]>;
92
98
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
93
99
  [x: string]: any;
94
100
  id: string;
95
101
  }, never>>;
96
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
102
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
103
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
104
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
105
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
106
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
107
+ statusText: typeof import("effect/Schema").String;
108
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
109
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
110
+ text: typeof import("effect/Schema").String;
111
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
112
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
113
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
114
+ text: typeof import("effect/Schema").String;
115
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
116
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
117
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
118
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
119
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
120
+ toolCallId: typeof import("effect/Schema").String;
121
+ name: typeof import("effect/Schema").String;
122
+ input: typeof import("effect/Schema").Unknown;
123
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
124
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
125
+ toolCallId: typeof import("effect/Schema").String;
126
+ name: typeof import("effect/Schema").String;
127
+ result: typeof import("effect/Schema").Unknown;
128
+ error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
129
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
97
130
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
98
- }>, import("effect/Schema").Struct<{
99
- type: import("effect/Schema").Literal<["transcription"]>;
100
131
  started: typeof import("effect/Schema").String;
101
132
  text: typeof import("effect/Schema").String;
102
- }>>>]>>>;
133
+ }>>]>>>;
103
134
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
104
135
  }>>, Schema.Struct<{
105
136
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -109,6 +140,7 @@ export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWit
109
140
  export declare const NormalizationInput: Schema.Struct<{
110
141
  messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
111
142
  id: import("@dxos/keys").ObjectIdClass;
143
+ parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
112
144
  created: import("effect/Schema").SchemaClass<string, string, never>;
113
145
  sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
114
146
  contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
@@ -117,9 +149,9 @@ export declare const NormalizationInput: Schema.Struct<{
117
149
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
118
150
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
119
151
  organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
120
- description?: string | undefined;
121
152
  id: string;
122
153
  name?: string | undefined;
154
+ description?: string | undefined;
123
155
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
124
156
  image?: string | undefined;
125
157
  website?: string | undefined;
@@ -155,7 +187,7 @@ export declare const NormalizationInput: Schema.Struct<{
155
187
  label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
156
188
  value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
157
189
  }>>>>;
158
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
190
+ birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
159
191
  fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
160
192
  category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
161
193
  label: typeof import("effect/Schema").String;
@@ -168,22 +200,17 @@ export declare const NormalizationInput: Schema.Struct<{
168
200
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
169
201
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
170
202
  }>>;
171
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
203
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
172
204
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
173
- }>, import("effect/Schema").Struct<{
174
- type: import("effect/Schema").Literal<["text"]>;
175
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
176
- text: typeof import("effect/Schema").String;
177
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
205
+ objectId: import("@dxos/keys").ObjectIdClass;
206
+ version: typeof import("effect/Schema").Unknown;
207
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
178
208
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
179
- }>, import("effect/Schema").Struct<{
180
- type: import("effect/Schema").Literal<["json"]>;
181
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
182
- data: typeof import("effect/Schema").String;
183
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
209
+ url: typeof import("effect/Schema").String;
210
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
211
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
212
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
184
213
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
185
- }>, import("effect/Schema").Struct<{
186
- type: import("effect/Schema").Literal<["image"]>;
187
214
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
188
215
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
189
216
  type: import("effect/Schema").Literal<["base64"]>;
@@ -193,21 +220,56 @@ export declare const NormalizationInput: Schema.Struct<{
193
220
  type: import("effect/Schema").Literal<["http"]>;
194
221
  url: typeof import("effect/Schema").String;
195
222
  }>>]>>;
196
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
223
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
224
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
225
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
226
+ data: typeof import("effect/Schema").String;
227
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
228
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
+ text: typeof import("effect/Schema").String;
230
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
231
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
232
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
233
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
234
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
235
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
197
236
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
198
- }>, import("effect/Schema").Struct<{
199
- type: import("effect/Schema").Literal<["reference"]>;
200
237
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
201
238
  [x: string]: any;
202
239
  id: string;
203
240
  }, never>>;
204
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
241
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
242
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
243
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
244
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
245
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
246
+ statusText: typeof import("effect/Schema").String;
247
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
248
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
249
+ text: typeof import("effect/Schema").String;
250
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
251
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
252
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
253
+ text: typeof import("effect/Schema").String;
254
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
255
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
256
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
257
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
258
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
+ toolCallId: typeof import("effect/Schema").String;
260
+ name: typeof import("effect/Schema").String;
261
+ input: typeof import("effect/Schema").Unknown;
262
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
263
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
264
+ toolCallId: typeof import("effect/Schema").String;
265
+ name: typeof import("effect/Schema").String;
266
+ result: typeof import("effect/Schema").Unknown;
267
+ error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
268
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
205
269
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
206
- }>, import("effect/Schema").Struct<{
207
- type: import("effect/Schema").Literal<["transcription"]>;
208
270
  started: typeof import("effect/Schema").String;
209
271
  text: typeof import("effect/Schema").String;
210
- }>>>]>>>;
272
+ }>>]>>>;
211
273
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
212
274
  }>>, Schema.Struct<{
213
275
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -218,6 +280,7 @@ export interface NormalizationInput extends Schema.Schema.Type<typeof Normalizat
218
280
  export declare const NormalizationOutput: Schema.Struct<{
219
281
  sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
220
282
  id: import("@dxos/keys").ObjectIdClass;
283
+ parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
221
284
  created: import("effect/Schema").SchemaClass<string, string, never>;
222
285
  sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
223
286
  contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
@@ -226,9 +289,9 @@ export declare const NormalizationOutput: Schema.Struct<{
226
289
  nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
227
290
  image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
228
291
  organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
229
- description?: string | undefined;
230
292
  id: string;
231
293
  name?: string | undefined;
294
+ description?: string | undefined;
232
295
  status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
233
296
  image?: string | undefined;
234
297
  website?: string | undefined;
@@ -264,7 +327,7 @@ export declare const NormalizationOutput: Schema.Struct<{
264
327
  label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
265
328
  value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
266
329
  }>>>>;
267
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
330
+ birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
268
331
  fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
269
332
  category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
270
333
  label: typeof import("effect/Schema").String;
@@ -277,22 +340,17 @@ export declare const NormalizationOutput: Schema.Struct<{
277
340
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
278
341
  role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
279
342
  }>>;
280
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
343
+ blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
281
344
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
282
- }>, import("effect/Schema").Struct<{
283
- type: import("effect/Schema").Literal<["text"]>;
284
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
285
- text: typeof import("effect/Schema").String;
286
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
345
+ objectId: import("@dxos/keys").ObjectIdClass;
346
+ version: typeof import("effect/Schema").Unknown;
347
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
287
348
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
288
- }>, import("effect/Schema").Struct<{
289
- type: import("effect/Schema").Literal<["json"]>;
290
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
291
- data: typeof import("effect/Schema").String;
292
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
349
+ url: typeof import("effect/Schema").String;
350
+ name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
351
+ mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
352
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
293
353
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
294
- }>, import("effect/Schema").Struct<{
295
- type: import("effect/Schema").Literal<["image"]>;
296
354
  id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
297
355
  source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
298
356
  type: import("effect/Schema").Literal<["base64"]>;
@@ -302,21 +360,56 @@ export declare const NormalizationOutput: Schema.Struct<{
302
360
  type: import("effect/Schema").Literal<["http"]>;
303
361
  url: typeof import("effect/Schema").String;
304
362
  }>>]>>;
305
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
363
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
364
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
365
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
366
+ data: typeof import("effect/Schema").String;
367
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
368
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
369
+ text: typeof import("effect/Schema").String;
370
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
371
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
372
+ reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
373
+ redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
374
+ signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
375
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
306
376
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
307
- }>, import("effect/Schema").Struct<{
308
- type: import("effect/Schema").Literal<["reference"]>;
309
377
  reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
310
378
  [x: string]: any;
311
379
  id: string;
312
380
  }, never>>;
313
- }>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
381
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
382
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
383
+ options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
384
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
385
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
386
+ statusText: typeof import("effect/Schema").String;
387
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
388
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
389
+ text: typeof import("effect/Schema").String;
390
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
391
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
392
+ mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
393
+ text: typeof import("effect/Schema").String;
394
+ disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
395
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
396
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
397
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
398
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
399
+ toolCallId: typeof import("effect/Schema").String;
400
+ name: typeof import("effect/Schema").String;
401
+ input: typeof import("effect/Schema").Unknown;
402
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
403
+ pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
404
+ toolCallId: typeof import("effect/Schema").String;
405
+ name: typeof import("effect/Schema").String;
406
+ result: typeof import("effect/Schema").Unknown;
407
+ error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
408
+ }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
314
409
  pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
315
- }>, import("effect/Schema").Struct<{
316
- type: import("effect/Schema").Literal<["transcription"]>;
317
410
  started: typeof import("effect/Schema").String;
318
411
  text: typeof import("effect/Schema").String;
319
- }>>>]>>>;
412
+ }>>]>>>;
320
413
  properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
321
414
  }>>, Schema.Struct<{
322
415
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -1 +1 @@
1
- {"version":3,"file":"normalization.d.ts","sourceRoot":"","sources":["../../../../src/segments-normalization/normalization.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAUhC,QAAA,MAAM,kB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,CAAC;qBAAkG,CAAC;uBAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAzFt9d,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;wBAqF2rd,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAhFr9d,CAAC;AACH,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;wBA6E0rd,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAzEr9d,CAAC;AACH,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAE9F,eAAO,MAAM,qBAAqB,uFAmChC,CAAC"}
@@ -24,7 +24,7 @@ export declare class MessageBuilder extends AbstractMessageBuilder {
24
24
  start: Date;
25
25
  constructor(_space?: Space | undefined);
26
26
  createMessage(numSegments?: number): Promise<DataType.Message>;
27
- createBlock(): DataType.MessageBlock.Transcription;
27
+ createBlock(): DataType.MessageBlock.Transcript;
28
28
  next(): Date;
29
29
  }
30
30
  type UseTestTranscriptionQueue = (space: Space | undefined, queueId?: Key.ObjectId, running?: boolean, interval?: number) => Queue<DataType.Message> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/testing/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAOhC,OAAO,EAAU,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,KAAK,GAAG,EAAY,IAAI,EAAE,MAAM,YAAY,CAAC;AAMtD,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAIxC,eAAO,MAAM,QAAQ;;;GAcpB,CAAC;AAGF,uBAAe,sBAAsB;IACnC,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;CACxE;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,sBAAsB;IAW5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;IAVpC,MAAM,CAAC,QAAQ,CAAC,SAAS,iBAAwB;IAEjD,KAAK;;;;QAID;IAEJ,KAAK,OAAgD;gBAExB,MAAM,CAAC,EAAE,KAAK,YAAA;IAI5B,aAAa,CAAC,WAAW,SAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;IAQxE,WAAW,IAAI,QAAQ,CAAC,YAAY,CAAC,aAAa;IAkBlD,IAAI,IAAI,IAAI;CAIb;AA8CD,KAAK,yBAAyB,GAAG,CAC/B,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,OAAO,CAAC,EAAE,GAAG,CAAC,QAAQ,EACtB,OAAO,CAAC,EAAE,OAAO,EACjB,QAAQ,CAAC,EAAE,MAAM,KAC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,CAAC,EAAE,MAAM,KACd,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,yBAyBvC,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,6CAA6C,EAAE,yBAoC3D,CAAC"}
@@ -1,4 +1,4 @@
1
- export * from './audio-recorder';
1
+ export type * from './audio-recorder';
2
2
  export * from './media-stream-recorder';
3
3
  export * from './transcriber';
4
4
  export * from './transcription-manager';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/index.ts"],"names":[],"mappings":"AAIA,mBAAmB,kBAAkB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type WavConfig, type AudioChunk, type AudioRecorder } from './audio-recorder';
1
+ import { type AudioChunk, type AudioRecorder, type WavConfig } from './audio-recorder';
2
2
  export type MediaStreamRecorderParams = {
3
3
  mediaStreamTrack: MediaStreamTrack;
4
4
  config: {
@@ -1 +1 @@
1
- {"version":3,"file":"media-stream-recorder.d.ts","sourceRoot":"","sources":["../../../../src/transcriber/media-stream-recorder.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AASvF,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF;;;;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