@dxos/react-ui-transcription 0.0.0 → 0.10.0

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.
@@ -7,7 +7,7 @@ import { synchronized } from "@dxos/async";
7
7
  import { invariant } from "@dxos/invariant";
8
8
  import { log } from "@dxos/log";
9
9
  import { trace } from "@dxos/tracing";
10
- var __dxlog_file = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/capture/media-stream-recorder.ts";
10
+ var __dxlog_file = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/capture/media-stream-recorder.ts";
11
11
  function _ts_decorate(decorators, target, key, desc) {
12
12
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
13
13
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -249,7 +249,7 @@ import { Text } from "@codemirror/state";
249
249
  import { Event } from "@dxos/async";
250
250
  import { invariant as invariant2 } from "@dxos/invariant";
251
251
  import { log as log2 } from "@dxos/log";
252
- var __dxlog_file2 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/model/transcript-model.ts";
252
+ var __dxlog_file2 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/model/transcript-model.ts";
253
253
  var EditorChunkDocument = class {
254
254
  _view;
255
255
  constructor(_view) {
@@ -621,7 +621,7 @@ import { useEffect, useState } from "react";
621
621
  import { scheduleTask } from "@dxos/async";
622
622
  import { Context } from "@dxos/context";
623
623
  import { log as log3 } from "@dxos/log";
624
- var __dxlog_file3 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useAudioFile.ts";
624
+ var __dxlog_file3 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useAudioFile.ts";
625
625
  var useAudioFile = (audioUrl, constraints) => {
626
626
  const [{ audio, stream, track }, setStream] = useState({});
627
627
  useEffect(() => {
@@ -764,7 +764,7 @@ import { useEffect as useEffect4, useMemo as useMemo2, useState as useState3 } f
764
764
  import { scheduleTask as scheduleTask2 } from "@dxos/async";
765
765
  import { SpeakingMonitor } from "@dxos/av";
766
766
  import { Context as Context2 } from "@dxos/context";
767
- var __dxlog_file4 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useIsSpeaking.ts";
767
+ var __dxlog_file4 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useIsSpeaking.ts";
768
768
  var useIsSpeaking = (track) => {
769
769
  const [isSpeaking, setIsSpeaking] = useState3(false);
770
770
  const speakingMonitor = useMemo2(() => {
@@ -798,7 +798,7 @@ var useIsSpeaking = (track) => {
798
798
  import { useEffect as useEffect5, useMemo as useMemo3, useRef, useState as useState4 } from "react";
799
799
  import { log as log4 } from "@dxos/log";
800
800
  import { runAsrPipeline } from "@dxos/transcription-pipeline";
801
- var __dxlog_file5 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useRecordingPipeline.ts";
801
+ var __dxlog_file5 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useRecordingPipeline.ts";
802
802
  var RECORDER_INTERVAL_MS = 200;
803
803
  var DRAIN_SILENCE_MS = 5e3;
804
804
  var DEFAULT_TRANSCRIBE_CONFIG = {
@@ -891,7 +891,7 @@ var useRecordingPipeline = ({ active, microphone, track: externalTrack, audioCon
891
891
  // src/hooks/useSpeechRecognition.ts
892
892
  import { useEffect as useEffect6, useMemo as useMemo4 } from "react";
893
893
  import { log as log5 } from "@dxos/log";
894
- var __dxlog_file6 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useSpeechRecognition.ts";
894
+ var __dxlog_file6 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useSpeechRecognition.ts";
895
895
  var cleanText = (text) => text.toLowerCase().replace(/[.,!?]/g, "").replace(/\s+/g, " ").trim();
896
896
  var useSpeechRecognition = ({ active, onTranscript }) => {
897
897
  const recognition = useMemo4(() => {
@@ -1 +1 @@
1
- {"inputs":{"src/capture/media-stream-recorder.ts":{"bytes":16876,"imports":[{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true}],"format":"esm"},"src/capture/create-transcriber.ts":{"bytes":4899,"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/capture/index.ts":{"bytes":523,"imports":[{"path":"src/capture/create-transcriber.ts","kind":"import-statement","original":"./create-transcriber"},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/components/MicSettings/MicSettings.tsx":{"bytes":12439,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/MicSettings/index.ts":{"bytes":387,"imports":[{"path":"src/components/MicSettings/MicSettings.tsx","kind":"import-statement","original":"./MicSettings"}],"format":"esm"},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytes":7080,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/PipelineStatus/index.ts":{"bytes":394,"imports":[{"path":"src/components/PipelineStatus/PipelineStatus.tsx","kind":"import-statement","original":"./PipelineStatus"}],"format":"esm"},"src/model/transcript-model.ts":{"bytes":23265,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/model/index.ts":{"bytes":396,"imports":[{"path":"src/model/transcript-model.ts","kind":"import-statement","original":"./transcript-model"}],"format":"esm"},"src/components/Transcription/transcription-extension.ts":{"bytes":21401,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/Transcription/Transcription.tsx":{"bytes":7686,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/Transcription/index.ts":{"bytes":516,"imports":[{"path":"src/components/Transcription/Transcription.tsx","kind":"import-statement","original":"./Transcription"},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/index.ts":{"bytes":594,"imports":[{"path":"src/components/MicSettings/index.ts","kind":"import-statement","original":"./MicSettings"},{"path":"src/components/PipelineStatus/index.ts","kind":"import-statement","original":"./PipelineStatus"},{"path":"src/components/Transcription/index.ts","kind":"import-statement","original":"./Transcription"}],"format":"esm"},"src/hooks/useAudioFile.ts":{"bytes":9104,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useAudioTrack.ts":{"bytes":5954,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useFeedModelAdapter.ts":{"bytes":4236,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/hooks/useIsSpeaking.ts":{"bytes":3902,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useRecordingPipeline.ts":{"bytes":14859,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"}],"format":"esm"},"src/hooks/useSpeechRecognition.ts":{"bytes":5852,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useTranscriber.ts":{"bytes":3924,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"}],"format":"esm"},"src/hooks/index.ts":{"bytes":1051,"imports":[{"path":"src/hooks/useAudioFile.ts","kind":"import-statement","original":"./useAudioFile"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"},{"path":"src/hooks/useFeedModelAdapter.ts","kind":"import-statement","original":"./useFeedModelAdapter"},{"path":"src/hooks/useIsSpeaking.ts","kind":"import-statement","original":"./useIsSpeaking"},{"path":"src/hooks/useRecordingPipeline.ts","kind":"import-statement","original":"./useRecordingPipeline"},{"path":"src/hooks/useSpeechRecognition.ts","kind":"import-statement","original":"./useSpeechRecognition"},{"path":"src/hooks/useTranscriber.ts","kind":"import-statement","original":"./useTranscriber"}],"format":"esm"},"src/util/render-byline.ts":{"bytes":4251,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":389,"imports":[{"path":"src/util/render-byline.ts","kind":"import-statement","original":"./render-byline"}],"format":"esm"},"src/types.ts":{"bytes":519,"imports":[],"format":"esm"},"src/index.ts":{"bytes":788,"imports":[{"path":"src/capture/index.ts","kind":"import-statement","original":"./capture"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":71817},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["EditorChunkDocument","MediaStreamRecorder","MicSettings","PipelineStatus","TranscriptModel","Transcription","createTranscriber","renderByline","transcription","useAudioFile","useAudioTrack","useFeedModelAdapter","useIsSpeaking","useRecordingPipeline","useSpeechRecognition","useTranscriber"],"entryPoint":"src/index.ts","inputs":{"src/capture/create-transcriber.ts":{"bytesInOutput":641},"src/capture/media-stream-recorder.ts":{"bytesInOutput":4719},"src/capture/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/components/MicSettings/MicSettings.tsx":{"bytesInOutput":3041},"src/components/MicSettings/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytesInOutput":1889},"src/components/PipelineStatus/index.ts":{"bytesInOutput":0},"src/components/Transcription/Transcription.tsx":{"bytesInOutput":1761},"src/components/Transcription/transcription-extension.ts":{"bytesInOutput":4807},"src/model/transcript-model.ts":{"bytesInOutput":5170},"src/model/index.ts":{"bytesInOutput":0},"src/components/Transcription/index.ts":{"bytesInOutput":0},"src/hooks/useAudioFile.ts":{"bytesInOutput":2344},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useAudioTrack.ts":{"bytesInOutput":1006},"src/hooks/useFeedModelAdapter.ts":{"bytesInOutput":598},"src/hooks/useIsSpeaking.ts":{"bytesInOutput":1087},"src/hooks/useRecordingPipeline.ts":{"bytesInOutput":2558},"src/hooks/useSpeechRecognition.ts":{"bytesInOutput":1532},"src/hooks/useTranscriber.ts":{"bytesInOutput":676},"src/util/render-byline.ts":{"bytesInOutput":785},"src/util/index.ts":{"bytesInOutput":0}},"bytes":33707}}}
1
+ {"inputs":{"src/capture/media-stream-recorder.ts":{"bytes":16870,"imports":[{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true}],"format":"esm"},"src/capture/create-transcriber.ts":{"bytes":4899,"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/capture/index.ts":{"bytes":523,"imports":[{"path":"src/capture/create-transcriber.ts","kind":"import-statement","original":"./create-transcriber"},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/components/MicSettings/MicSettings.tsx":{"bytes":12439,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/MicSettings/index.ts":{"bytes":387,"imports":[{"path":"src/components/MicSettings/MicSettings.tsx","kind":"import-statement","original":"./MicSettings"}],"format":"esm"},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytes":7080,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/PipelineStatus/index.ts":{"bytes":394,"imports":[{"path":"src/components/PipelineStatus/PipelineStatus.tsx","kind":"import-statement","original":"./PipelineStatus"}],"format":"esm"},"src/model/transcript-model.ts":{"bytes":23259,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/model/index.ts":{"bytes":396,"imports":[{"path":"src/model/transcript-model.ts","kind":"import-statement","original":"./transcript-model"}],"format":"esm"},"src/components/Transcription/transcription-extension.ts":{"bytes":21401,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/Transcription/Transcription.tsx":{"bytes":7686,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/Transcription/index.ts":{"bytes":516,"imports":[{"path":"src/components/Transcription/Transcription.tsx","kind":"import-statement","original":"./Transcription"},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/index.ts":{"bytes":594,"imports":[{"path":"src/components/MicSettings/index.ts","kind":"import-statement","original":"./MicSettings"},{"path":"src/components/PipelineStatus/index.ts","kind":"import-statement","original":"./PipelineStatus"},{"path":"src/components/Transcription/index.ts","kind":"import-statement","original":"./Transcription"}],"format":"esm"},"src/hooks/useAudioFile.ts":{"bytes":9098,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useAudioTrack.ts":{"bytes":5954,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useFeedModelAdapter.ts":{"bytes":4236,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/hooks/useIsSpeaking.ts":{"bytes":3896,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useRecordingPipeline.ts":{"bytes":14853,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"}],"format":"esm"},"src/hooks/useSpeechRecognition.ts":{"bytes":5846,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useTranscriber.ts":{"bytes":3924,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"}],"format":"esm"},"src/hooks/index.ts":{"bytes":1051,"imports":[{"path":"src/hooks/useAudioFile.ts","kind":"import-statement","original":"./useAudioFile"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"},{"path":"src/hooks/useFeedModelAdapter.ts","kind":"import-statement","original":"./useFeedModelAdapter"},{"path":"src/hooks/useIsSpeaking.ts","kind":"import-statement","original":"./useIsSpeaking"},{"path":"src/hooks/useRecordingPipeline.ts","kind":"import-statement","original":"./useRecordingPipeline"},{"path":"src/hooks/useSpeechRecognition.ts","kind":"import-statement","original":"./useSpeechRecognition"},{"path":"src/hooks/useTranscriber.ts","kind":"import-statement","original":"./useTranscriber"}],"format":"esm"},"src/util/render-byline.ts":{"bytes":4251,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":389,"imports":[{"path":"src/util/render-byline.ts","kind":"import-statement","original":"./render-byline"}],"format":"esm"},"src/types.ts":{"bytes":519,"imports":[],"format":"esm"},"src/index.ts":{"bytes":788,"imports":[{"path":"src/capture/index.ts","kind":"import-statement","original":"./capture"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":71817},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["EditorChunkDocument","MediaStreamRecorder","MicSettings","PipelineStatus","TranscriptModel","Transcription","createTranscriber","renderByline","transcription","useAudioFile","useAudioTrack","useFeedModelAdapter","useIsSpeaking","useRecordingPipeline","useSpeechRecognition","useTranscriber"],"entryPoint":"src/index.ts","inputs":{"src/capture/create-transcriber.ts":{"bytesInOutput":641},"src/capture/media-stream-recorder.ts":{"bytesInOutput":4713},"src/capture/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/components/MicSettings/MicSettings.tsx":{"bytesInOutput":3041},"src/components/MicSettings/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytesInOutput":1889},"src/components/PipelineStatus/index.ts":{"bytesInOutput":0},"src/components/Transcription/Transcription.tsx":{"bytesInOutput":1761},"src/components/Transcription/transcription-extension.ts":{"bytesInOutput":4807},"src/model/transcript-model.ts":{"bytesInOutput":5164},"src/model/index.ts":{"bytesInOutput":0},"src/components/Transcription/index.ts":{"bytesInOutput":0},"src/hooks/useAudioFile.ts":{"bytesInOutput":2338},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useAudioTrack.ts":{"bytesInOutput":1006},"src/hooks/useFeedModelAdapter.ts":{"bytesInOutput":598},"src/hooks/useIsSpeaking.ts":{"bytesInOutput":1081},"src/hooks/useRecordingPipeline.ts":{"bytesInOutput":2552},"src/hooks/useSpeechRecognition.ts":{"bytesInOutput":1526},"src/hooks/useTranscriber.ts":{"bytesInOutput":676},"src/util/render-byline.ts":{"bytesInOutput":785},"src/util/index.ts":{"bytesInOutput":0}},"bytes":33671}}}
@@ -9,7 +9,7 @@ import { synchronized } from "@dxos/async";
9
9
  import { invariant } from "@dxos/invariant";
10
10
  import { log } from "@dxos/log";
11
11
  import { trace } from "@dxos/tracing";
12
- var __dxlog_file = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/capture/media-stream-recorder.ts";
12
+ var __dxlog_file = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/capture/media-stream-recorder.ts";
13
13
  function _ts_decorate(decorators, target, key, desc) {
14
14
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
15
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -251,7 +251,7 @@ import { Text } from "@codemirror/state";
251
251
  import { Event } from "@dxos/async";
252
252
  import { invariant as invariant2 } from "@dxos/invariant";
253
253
  import { log as log2 } from "@dxos/log";
254
- var __dxlog_file2 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/model/transcript-model.ts";
254
+ var __dxlog_file2 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/model/transcript-model.ts";
255
255
  var EditorChunkDocument = class {
256
256
  _view;
257
257
  constructor(_view) {
@@ -623,7 +623,7 @@ import { useEffect, useState } from "react";
623
623
  import { scheduleTask } from "@dxos/async";
624
624
  import { Context } from "@dxos/context";
625
625
  import { log as log3 } from "@dxos/log";
626
- var __dxlog_file3 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useAudioFile.ts";
626
+ var __dxlog_file3 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useAudioFile.ts";
627
627
  var useAudioFile = (audioUrl, constraints) => {
628
628
  const [{ audio, stream, track }, setStream] = useState({});
629
629
  useEffect(() => {
@@ -766,7 +766,7 @@ import { useEffect as useEffect4, useMemo as useMemo2, useState as useState3 } f
766
766
  import { scheduleTask as scheduleTask2 } from "@dxos/async";
767
767
  import { SpeakingMonitor } from "@dxos/av";
768
768
  import { Context as Context2 } from "@dxos/context";
769
- var __dxlog_file4 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useIsSpeaking.ts";
769
+ var __dxlog_file4 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useIsSpeaking.ts";
770
770
  var useIsSpeaking = (track) => {
771
771
  const [isSpeaking, setIsSpeaking] = useState3(false);
772
772
  const speakingMonitor = useMemo2(() => {
@@ -800,7 +800,7 @@ var useIsSpeaking = (track) => {
800
800
  import { useEffect as useEffect5, useMemo as useMemo3, useRef, useState as useState4 } from "react";
801
801
  import { log as log4 } from "@dxos/log";
802
802
  import { runAsrPipeline } from "@dxos/transcription-pipeline";
803
- var __dxlog_file5 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useRecordingPipeline.ts";
803
+ var __dxlog_file5 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useRecordingPipeline.ts";
804
804
  var RECORDER_INTERVAL_MS = 200;
805
805
  var DRAIN_SILENCE_MS = 5e3;
806
806
  var DEFAULT_TRANSCRIBE_CONFIG = {
@@ -893,7 +893,7 @@ var useRecordingPipeline = ({ active, microphone, track: externalTrack, audioCon
893
893
  // src/hooks/useSpeechRecognition.ts
894
894
  import { useEffect as useEffect6, useMemo as useMemo4 } from "react";
895
895
  import { log as log5 } from "@dxos/log";
896
- var __dxlog_file6 = "/Users/jdw/Code/dxos/packages/ui/react-ui-transcription/src/hooks/useSpeechRecognition.ts";
896
+ var __dxlog_file6 = "/__w/dxos/dxos/packages/ui/react-ui-transcription/src/hooks/useSpeechRecognition.ts";
897
897
  var cleanText = (text) => text.toLowerCase().replace(/[.,!?]/g, "").replace(/\s+/g, " ").trim();
898
898
  var useSpeechRecognition = ({ active, onTranscript }) => {
899
899
  const recognition = useMemo4(() => {
@@ -1 +1 @@
1
- {"inputs":{"src/capture/media-stream-recorder.ts":{"bytes":16876,"imports":[{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true}],"format":"esm"},"src/capture/create-transcriber.ts":{"bytes":4899,"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/capture/index.ts":{"bytes":523,"imports":[{"path":"src/capture/create-transcriber.ts","kind":"import-statement","original":"./create-transcriber"},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/components/MicSettings/MicSettings.tsx":{"bytes":12439,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/MicSettings/index.ts":{"bytes":387,"imports":[{"path":"src/components/MicSettings/MicSettings.tsx","kind":"import-statement","original":"./MicSettings"}],"format":"esm"},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytes":7080,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/PipelineStatus/index.ts":{"bytes":394,"imports":[{"path":"src/components/PipelineStatus/PipelineStatus.tsx","kind":"import-statement","original":"./PipelineStatus"}],"format":"esm"},"src/model/transcript-model.ts":{"bytes":23265,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/model/index.ts":{"bytes":396,"imports":[{"path":"src/model/transcript-model.ts","kind":"import-statement","original":"./transcript-model"}],"format":"esm"},"src/components/Transcription/transcription-extension.ts":{"bytes":21401,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/Transcription/Transcription.tsx":{"bytes":7686,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/Transcription/index.ts":{"bytes":516,"imports":[{"path":"src/components/Transcription/Transcription.tsx","kind":"import-statement","original":"./Transcription"},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/index.ts":{"bytes":594,"imports":[{"path":"src/components/MicSettings/index.ts","kind":"import-statement","original":"./MicSettings"},{"path":"src/components/PipelineStatus/index.ts","kind":"import-statement","original":"./PipelineStatus"},{"path":"src/components/Transcription/index.ts","kind":"import-statement","original":"./Transcription"}],"format":"esm"},"src/hooks/useAudioFile.ts":{"bytes":9104,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useAudioTrack.ts":{"bytes":5954,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useFeedModelAdapter.ts":{"bytes":4236,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/hooks/useIsSpeaking.ts":{"bytes":3902,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useRecordingPipeline.ts":{"bytes":14859,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"}],"format":"esm"},"src/hooks/useSpeechRecognition.ts":{"bytes":5852,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useTranscriber.ts":{"bytes":3924,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"}],"format":"esm"},"src/hooks/index.ts":{"bytes":1051,"imports":[{"path":"src/hooks/useAudioFile.ts","kind":"import-statement","original":"./useAudioFile"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"},{"path":"src/hooks/useFeedModelAdapter.ts","kind":"import-statement","original":"./useFeedModelAdapter"},{"path":"src/hooks/useIsSpeaking.ts","kind":"import-statement","original":"./useIsSpeaking"},{"path":"src/hooks/useRecordingPipeline.ts","kind":"import-statement","original":"./useRecordingPipeline"},{"path":"src/hooks/useSpeechRecognition.ts","kind":"import-statement","original":"./useSpeechRecognition"},{"path":"src/hooks/useTranscriber.ts","kind":"import-statement","original":"./useTranscriber"}],"format":"esm"},"src/util/render-byline.ts":{"bytes":4251,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":389,"imports":[{"path":"src/util/render-byline.ts","kind":"import-statement","original":"./render-byline"}],"format":"esm"},"src/types.ts":{"bytes":519,"imports":[],"format":"esm"},"src/index.ts":{"bytes":788,"imports":[{"path":"src/capture/index.ts","kind":"import-statement","original":"./capture"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":71819},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["EditorChunkDocument","MediaStreamRecorder","MicSettings","PipelineStatus","TranscriptModel","Transcription","createTranscriber","renderByline","transcription","useAudioFile","useAudioTrack","useFeedModelAdapter","useIsSpeaking","useRecordingPipeline","useSpeechRecognition","useTranscriber"],"entryPoint":"src/index.ts","inputs":{"src/capture/create-transcriber.ts":{"bytesInOutput":641},"src/capture/media-stream-recorder.ts":{"bytesInOutput":4719},"src/capture/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/components/MicSettings/MicSettings.tsx":{"bytesInOutput":3041},"src/components/MicSettings/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytesInOutput":1889},"src/components/PipelineStatus/index.ts":{"bytesInOutput":0},"src/components/Transcription/Transcription.tsx":{"bytesInOutput":1761},"src/components/Transcription/transcription-extension.ts":{"bytesInOutput":4807},"src/model/transcript-model.ts":{"bytesInOutput":5170},"src/model/index.ts":{"bytesInOutput":0},"src/components/Transcription/index.ts":{"bytesInOutput":0},"src/hooks/useAudioFile.ts":{"bytesInOutput":2344},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useAudioTrack.ts":{"bytesInOutput":1006},"src/hooks/useFeedModelAdapter.ts":{"bytesInOutput":598},"src/hooks/useIsSpeaking.ts":{"bytesInOutput":1087},"src/hooks/useRecordingPipeline.ts":{"bytesInOutput":2558},"src/hooks/useSpeechRecognition.ts":{"bytesInOutput":1532},"src/hooks/useTranscriber.ts":{"bytesInOutput":676},"src/util/render-byline.ts":{"bytesInOutput":785},"src/util/index.ts":{"bytesInOutput":0}},"bytes":33800}}}
1
+ {"inputs":{"src/capture/media-stream-recorder.ts":{"bytes":16870,"imports":[{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true}],"format":"esm"},"src/capture/create-transcriber.ts":{"bytes":4899,"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/capture/index.ts":{"bytes":523,"imports":[{"path":"src/capture/create-transcriber.ts","kind":"import-statement","original":"./create-transcriber"},{"path":"src/capture/media-stream-recorder.ts","kind":"import-statement","original":"./media-stream-recorder"}],"format":"esm"},"src/components/MicSettings/MicSettings.tsx":{"bytes":12439,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/MicSettings/index.ts":{"bytes":387,"imports":[{"path":"src/components/MicSettings/MicSettings.tsx","kind":"import-statement","original":"./MicSettings"}],"format":"esm"},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytes":7080,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/PipelineStatus/index.ts":{"bytes":394,"imports":[{"path":"src/components/PipelineStatus/PipelineStatus.tsx","kind":"import-statement","original":"./PipelineStatus"}],"format":"esm"},"src/model/transcript-model.ts":{"bytes":23259,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/model/index.ts":{"bytes":396,"imports":[{"path":"src/model/transcript-model.ts","kind":"import-statement","original":"./transcript-model"}],"format":"esm"},"src/components/Transcription/transcription-extension.ts":{"bytes":21401,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/Transcription/Transcription.tsx":{"bytes":7686,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/Transcription/index.ts":{"bytes":516,"imports":[{"path":"src/components/Transcription/Transcription.tsx","kind":"import-statement","original":"./Transcription"},{"path":"src/components/Transcription/transcription-extension.ts","kind":"import-statement","original":"./transcription-extension"}],"format":"esm"},"src/components/index.ts":{"bytes":594,"imports":[{"path":"src/components/MicSettings/index.ts","kind":"import-statement","original":"./MicSettings"},{"path":"src/components/PipelineStatus/index.ts","kind":"import-statement","original":"./PipelineStatus"},{"path":"src/components/Transcription/index.ts","kind":"import-statement","original":"./Transcription"}],"format":"esm"},"src/hooks/useAudioFile.ts":{"bytes":9098,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useAudioTrack.ts":{"bytes":5954,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useFeedModelAdapter.ts":{"bytes":4236,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/hooks/useIsSpeaking.ts":{"bytes":3896,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useRecordingPipeline.ts":{"bytes":14853,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"}],"format":"esm"},"src/hooks/useSpeechRecognition.ts":{"bytes":5846,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useTranscriber.ts":{"bytes":3924,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/capture/index.ts","kind":"import-statement","original":"../capture"}],"format":"esm"},"src/hooks/index.ts":{"bytes":1051,"imports":[{"path":"src/hooks/useAudioFile.ts","kind":"import-statement","original":"./useAudioFile"},{"path":"src/hooks/useAudioTrack.ts","kind":"import-statement","original":"./useAudioTrack"},{"path":"src/hooks/useFeedModelAdapter.ts","kind":"import-statement","original":"./useFeedModelAdapter"},{"path":"src/hooks/useIsSpeaking.ts","kind":"import-statement","original":"./useIsSpeaking"},{"path":"src/hooks/useRecordingPipeline.ts","kind":"import-statement","original":"./useRecordingPipeline"},{"path":"src/hooks/useSpeechRecognition.ts","kind":"import-statement","original":"./useSpeechRecognition"},{"path":"src/hooks/useTranscriber.ts","kind":"import-statement","original":"./useTranscriber"}],"format":"esm"},"src/util/render-byline.ts":{"bytes":4251,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":389,"imports":[{"path":"src/util/render-byline.ts","kind":"import-statement","original":"./render-byline"}],"format":"esm"},"src/types.ts":{"bytes":519,"imports":[],"format":"esm"},"src/index.ts":{"bytes":788,"imports":[{"path":"src/capture/index.ts","kind":"import-statement","original":"./capture"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/model/index.ts","kind":"import-statement","original":"./model"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"},{"path":"src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":71819},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"wavefile","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/tracing","kind":"import-statement","external":true},{"path":"extendable-media-recorder","kind":"dynamic-import","external":true},{"path":"extendable-media-recorder-wav-encoder","kind":"dynamic-import","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"date-fns/format","kind":"import-statement","external":true},{"path":"date-fns/intervalToDuration","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/av","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/transcription-pipeline","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["EditorChunkDocument","MediaStreamRecorder","MicSettings","PipelineStatus","TranscriptModel","Transcription","createTranscriber","renderByline","transcription","useAudioFile","useAudioTrack","useFeedModelAdapter","useIsSpeaking","useRecordingPipeline","useSpeechRecognition","useTranscriber"],"entryPoint":"src/index.ts","inputs":{"src/capture/create-transcriber.ts":{"bytesInOutput":641},"src/capture/media-stream-recorder.ts":{"bytesInOutput":4713},"src/capture/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/components/MicSettings/MicSettings.tsx":{"bytesInOutput":3041},"src/components/MicSettings/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/PipelineStatus/PipelineStatus.tsx":{"bytesInOutput":1889},"src/components/PipelineStatus/index.ts":{"bytesInOutput":0},"src/components/Transcription/Transcription.tsx":{"bytesInOutput":1761},"src/components/Transcription/transcription-extension.ts":{"bytesInOutput":4807},"src/model/transcript-model.ts":{"bytesInOutput":5164},"src/model/index.ts":{"bytesInOutput":0},"src/components/Transcription/index.ts":{"bytesInOutput":0},"src/hooks/useAudioFile.ts":{"bytesInOutput":2338},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useAudioTrack.ts":{"bytesInOutput":1006},"src/hooks/useFeedModelAdapter.ts":{"bytesInOutput":598},"src/hooks/useIsSpeaking.ts":{"bytesInOutput":1081},"src/hooks/useRecordingPipeline.ts":{"bytesInOutput":2552},"src/hooks/useSpeechRecognition.ts":{"bytesInOutput":1526},"src/hooks/useTranscriber.ts":{"bytesInOutput":676},"src/util/render-byline.ts":{"bytesInOutput":785},"src/util/index.ts":{"bytesInOutput":0}},"bytes":33764}}}