@dxos/plugin-transcription 0.8.4-main.f9ba587 → 0.8.4-main.fcfe5033a5
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.
- package/dist/lib/browser/blueprints/index.mjs +31 -0
- package/dist/lib/browser/blueprints/index.mjs.map +7 -0
- package/dist/lib/browser/chunk-5LWSJZTZ.mjs +17 -0
- package/dist/lib/browser/chunk-5LWSJZTZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-HOOPZ7EM.mjs +35 -0
- package/dist/lib/browser/chunk-HOOPZ7EM.mjs.map +7 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-KOX4WNAR.mjs +111 -0
- package/dist/lib/browser/chunk-KOX4WNAR.mjs.map +7 -0
- package/dist/lib/browser/create-BTWYQ6IM.mjs +21 -0
- package/dist/lib/browser/create-BTWYQ6IM.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1181 -93
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/open-CYRYIEZI.mjs +27 -0
- package/dist/lib/browser/open-CYRYIEZI.mjs.map +7 -0
- package/dist/lib/browser/operations/index.mjs +13 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/summarize-X2ZYTN7S.mjs +79 -0
- package/dist/lib/browser/summarize-X2ZYTN7S.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +4 -8
- package/dist/lib/node-esm/blueprints/index.mjs +32 -0
- package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-MT5I4NH5.mjs +112 -0
- package/dist/lib/node-esm/chunk-MT5I4NH5.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-NVM2QUMX.mjs +37 -0
- package/dist/lib/node-esm/chunk-NVM2QUMX.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-X74WYCCE.mjs +19 -0
- package/dist/lib/node-esm/chunk-X74WYCCE.mjs.map +7 -0
- package/dist/lib/node-esm/create-MLUFPST2.mjs +22 -0
- package/dist/lib/node-esm/create-MLUFPST2.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1181 -93
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/open-5IOC2U4Z.mjs +28 -0
- package/dist/lib/node-esm/open-5IOC2U4Z.mjs.map +7 -0
- package/dist/lib/node-esm/operations/index.mjs +14 -0
- package/dist/lib/node-esm/operations/index.mjs.map +7 -0
- package/dist/lib/node-esm/summarize-IORITU7T.mjs +80 -0
- package/dist/lib/node-esm/summarize-IORITU7T.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +4 -8
- package/dist/types/src/TranscriptionPlugin.d.ts +2 -1
- package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +2 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/transcription-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/transcription-blueprint.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts +6 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +6 -4
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +3 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/transcriber.d.ts +4 -3
- package/dist/types/src/capabilities/transcriber.d.ts.map +1 -1
- package/dist/types/src/components/Transcription/Transcription.d.ts +18 -0
- package/dist/types/src/components/Transcription/Transcription.d.ts.map +1 -0
- package/dist/types/src/components/Transcription/Transcription.stories.d.ts +40 -0
- package/dist/types/src/components/Transcription/Transcription.stories.d.ts.map +1 -0
- package/dist/types/src/components/Transcription/index.d.ts +2 -0
- package/dist/types/src/components/Transcription/index.d.ts.map +1 -0
- package/dist/types/src/components/Transcription/transcription-extension.d.ts +15 -0
- package/dist/types/src/components/Transcription/transcription-extension.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -3
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts +8 -7
- package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +10 -6
- package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +11 -10
- package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
- package/dist/types/src/components/stories/TranscriptionStory.d.ts +4 -3
- package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +1 -1
- package/dist/types/src/containers/TranscriptionContainer/TranscriptionContainer.d.ts +6 -0
- package/dist/types/src/containers/TranscriptionContainer/TranscriptionContainer.d.ts.map +1 -0
- package/dist/types/src/containers/TranscriptionContainer/index.d.ts +2 -0
- package/dist/types/src/containers/TranscriptionContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +3 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/hooks/useAudioFile.d.ts.map +1 -1
- package/dist/types/src/hooks/useQueueModelAdapter.d.ts +1 -1
- package/dist/types/src/hooks/useQueueModelAdapter.d.ts.map +1 -1
- package/dist/types/src/hooks/useTranscriber.d.ts +1 -1
- package/dist/types/src/hooks/useTranscriber.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/create.d.ts +5 -0
- package/dist/types/src/operations/create.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +917 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/open.d.ts +5 -0
- package/dist/types/src/operations/open.d.ts.map +1 -0
- package/dist/types/src/operations/summarize.d.ts +8 -0
- package/dist/types/src/operations/summarize.d.ts.map +1 -0
- package/dist/types/src/segments-normalization/message-normalizer.d.ts +5 -5
- package/dist/types/src/segments-normalization/message-normalizer.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/normalization.d.ts +363 -328
- package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/utils.d.ts +2 -2
- package/dist/types/src/segments-normalization/utils.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +10 -10
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/transcriber/index.d.ts +1 -1
- package/dist/types/src/transcriber/index.d.ts.map +1 -1
- package/dist/types/src/transcriber/media-stream-recorder.d.ts +3 -3
- package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcriber.d.ts +4 -4
- package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
- package/dist/types/src/transcriber/transcription-manager.d.ts +12 -13
- package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +7 -7
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +18 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +1 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +0 -26
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +1 -0
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/render-byline.d.ts +4 -0
- package/dist/types/src/util/render-byline.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +109 -73
- package/src/TranscriptionPlugin.tsx +46 -59
- package/src/blueprints/index.ts +5 -0
- package/src/blueprints/transcription-blueprint.ts +30 -0
- package/src/capabilities/blueprint-definition.ts +17 -0
- package/src/capabilities/index.ts +9 -6
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-surface.tsx +23 -14
- package/src/capabilities/transcriber.ts +52 -42
- package/src/components/{Transcript/Transcript.stories.tsx → Transcription/Transcription.stories.tsx} +73 -66
- package/src/components/Transcription/Transcription.tsx +64 -0
- package/src/components/{Transcript → Transcription}/index.ts +1 -1
- package/src/components/{Transcript/transcript-extension.ts → Transcription/transcription-extension.ts} +15 -48
- package/src/components/index.ts +1 -6
- package/src/components/stories/FileTranscription.stories.tsx +78 -70
- package/src/components/stories/KeyWordRecognition.stories.tsx +17 -13
- package/src/components/stories/MicrophoneTranscription.stories.tsx +84 -100
- package/src/components/stories/TranscriptionStory.tsx +15 -13
- package/src/containers/TranscriptionContainer/TranscriptionContainer.tsx +35 -0
- package/src/containers/TranscriptionContainer/index.ts +5 -0
- package/src/containers/index.ts +7 -0
- package/src/hooks/useAudioFile.ts +49 -53
- package/src/hooks/useQueueModelAdapter.ts +1 -1
- package/src/hooks/useTranscriber.ts +9 -3
- package/src/hooks/useVoiceInput.ts +3 -3
- package/src/index.ts +1 -1
- package/src/meta.ts +9 -6
- package/src/model/model.test.ts +27 -21
- package/src/operations/create.ts +24 -0
- package/src/operations/definitions.ts +101 -0
- package/src/operations/index.ts +13 -0
- package/src/operations/open.ts +28 -0
- package/src/operations/summarize.ts +102 -0
- package/src/segments-normalization/message-normalizer.ts +19 -14
- package/src/segments-normalization/normalization.test.ts +26 -33
- package/src/segments-normalization/normalization.ts +67 -96
- package/src/segments-normalization/utils.ts +2 -2
- package/src/testing/testing.ts +41 -41
- package/src/transcriber/index.ts +1 -1
- package/src/transcriber/media-stream-recorder.ts +4 -4
- package/src/transcriber/transcriber.browser.test.ts +5 -5
- package/src/transcriber/transcriber.ts +10 -12
- package/src/transcriber/transcription-manager.ts +37 -52
- package/src/translations.ts +7 -7
- package/src/types/capabilities.ts +34 -0
- package/src/types/index.ts +1 -1
- package/src/types/types.ts +0 -23
- package/src/util/index.ts +1 -0
- package/src/util/render-byline.ts +33 -0
- package/dist/lib/browser/TranscriptContainer-E5NBJPAY.mjs +0 -11
- package/dist/lib/browser/chunk-5WH45KBY.mjs +0 -19
- package/dist/lib/browser/chunk-5WH45KBY.mjs.map +0 -7
- package/dist/lib/browser/chunk-EQBICGOD.mjs +0 -8
- package/dist/lib/browser/chunk-EQBICGOD.mjs.map +0 -7
- package/dist/lib/browser/chunk-F2WY3YTD.mjs +0 -764
- package/dist/lib/browser/chunk-F2WY3YTD.mjs.map +0 -7
- package/dist/lib/browser/chunk-R7INNNUQ.mjs +0 -55
- package/dist/lib/browser/chunk-R7INNNUQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-U6QBOGTN.mjs +0 -16
- package/dist/lib/browser/chunk-U6QBOGTN.mjs.map +0 -7
- package/dist/lib/browser/chunk-VDKDOZRR.mjs +0 -495
- package/dist/lib/browser/chunk-VDKDOZRR.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-3O33MMP5.mjs +0 -30
- package/dist/lib/browser/intent-resolver-3O33MMP5.mjs.map +0 -7
- package/dist/lib/browser/react-surface-FJTMNF3K.mjs +0 -34
- package/dist/lib/browser/react-surface-FJTMNF3K.mjs.map +0 -7
- package/dist/lib/browser/transcriber-YVOTUBKQ.mjs +0 -56
- package/dist/lib/browser/transcriber-YVOTUBKQ.mjs.map +0 -7
- package/dist/lib/node-esm/TranscriptContainer-UOS7JG72.mjs +0 -12
- package/dist/lib/node-esm/chunk-DN522SAP.mjs +0 -10
- package/dist/lib/node-esm/chunk-DN522SAP.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSCG4XPR.mjs +0 -496
- package/dist/lib/node-esm/chunk-HSCG4XPR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-Q3JKLPTW.mjs +0 -765
- package/dist/lib/node-esm/chunk-Q3JKLPTW.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-RHF2ALML.mjs +0 -17
- package/dist/lib/node-esm/chunk-RHF2ALML.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-U65ZWK3L.mjs +0 -56
- package/dist/lib/node-esm/chunk-U65ZWK3L.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-XMUCZBP3.mjs +0 -21
- package/dist/lib/node-esm/chunk-XMUCZBP3.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-YMN5SXNC.mjs +0 -31
- package/dist/lib/node-esm/intent-resolver-YMN5SXNC.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-57TSIDR2.mjs +0 -35
- package/dist/lib/node-esm/react-surface-57TSIDR2.mjs.map +0 -7
- package/dist/lib/node-esm/transcriber-GPBV52ZR.mjs +0 -57
- package/dist/lib/node-esm/transcriber-GPBV52ZR.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -17
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/Transcript/Transcript.d.ts +0 -20
- package/dist/types/src/components/Transcript/Transcript.d.ts.map +0 -1
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts +0 -24
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +0 -1
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +0 -28
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +0 -1
- package/dist/types/src/components/Transcript/index.d.ts +0 -2
- package/dist/types/src/components/Transcript/index.d.ts.map +0 -1
- package/dist/types/src/components/Transcript/transcript-extension.d.ts +0 -19
- package/dist/types/src/components/Transcript/transcript-extension.d.ts.map +0 -1
- package/dist/types/src/components/TranscriptContainer.d.ts +0 -9
- package/dist/types/src/components/TranscriptContainer.d.ts.map +0 -1
- package/dist/types/src/types/schema.d.ts +0 -41
- package/dist/types/src/types/schema.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -33
- package/src/capabilities/intent-resolver.ts +0 -24
- package/src/components/Transcript/Transcript.tsx +0 -100
- package/src/components/Transcript/deprecated/OldTranscript.tsx +0 -260
- package/src/components/TranscriptContainer.tsx +0 -35
- package/src/types/schema.ts +0 -41
- /package/dist/lib/browser/{TranscriptContainer-E5NBJPAY.mjs.map → chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/node-esm/{TranscriptContainer-UOS7JG72.mjs.map → chunk-HSLMI22Q.mjs.map} +0 -0
package/package.json
CHANGED
|
@@ -1,27 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-transcription",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.fcfe5033a5",
|
|
4
4
|
"description": "Voice transcription.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/dxos/dxos"
|
|
10
|
+
},
|
|
7
11
|
"license": "MIT",
|
|
8
12
|
"author": "DXOS.org",
|
|
9
13
|
"type": "module",
|
|
14
|
+
"imports": {
|
|
15
|
+
"#blueprints": "./src/blueprints/index.ts",
|
|
16
|
+
"#capabilities": "./src/capabilities/index.ts",
|
|
17
|
+
"#components": "./src/components/index.ts",
|
|
18
|
+
"#containers": "./src/containers/index.ts",
|
|
19
|
+
"#hooks": "./src/hooks/index.ts",
|
|
20
|
+
"#meta": "./src/meta.ts",
|
|
21
|
+
"#operations": "./src/operations/index.ts",
|
|
22
|
+
"#testing": "./src/testing/index.ts",
|
|
23
|
+
"#types": "./src/types/index.ts"
|
|
24
|
+
},
|
|
10
25
|
"exports": {
|
|
11
26
|
".": {
|
|
12
|
-
"
|
|
27
|
+
"source": "./src/index.ts",
|
|
13
28
|
"browser": "./dist/lib/browser/index.mjs",
|
|
14
|
-
"node": "./dist/lib/node-esm/index.mjs"
|
|
29
|
+
"node": "./dist/lib/node-esm/index.mjs",
|
|
30
|
+
"types": "./dist/types/src/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./blueprints": {
|
|
33
|
+
"source": "./src/blueprints/index.ts",
|
|
34
|
+
"browser": "./dist/lib/browser/blueprints/index.mjs",
|
|
35
|
+
"node": "./dist/lib/node-esm/blueprints/index.mjs",
|
|
36
|
+
"types": "./dist/types/src/blueprints/index.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./operations": {
|
|
39
|
+
"source": "./src/operations/index.ts",
|
|
40
|
+
"browser": "./dist/lib/browser/operations/index.mjs",
|
|
41
|
+
"node": "./dist/lib/node-esm/operations/index.mjs",
|
|
42
|
+
"types": "./dist/types/src/operations/index.d.ts"
|
|
15
43
|
},
|
|
16
44
|
"./types": {
|
|
17
|
-
"
|
|
45
|
+
"source": "./src/types/index.ts",
|
|
18
46
|
"browser": "./dist/lib/browser/types/index.mjs",
|
|
19
|
-
"node": "./dist/lib/node-esm/types/index.mjs"
|
|
47
|
+
"node": "./dist/lib/node-esm/types/index.mjs",
|
|
48
|
+
"types": "./dist/types/src/types/index.d.ts"
|
|
20
49
|
}
|
|
21
50
|
},
|
|
22
51
|
"types": "dist/types/src/index.d.ts",
|
|
23
52
|
"typesVersions": {
|
|
24
53
|
"*": {
|
|
54
|
+
"blueprints": [
|
|
55
|
+
"dist/types/src/blueprints/index.d.ts"
|
|
56
|
+
],
|
|
57
|
+
"operations": [
|
|
58
|
+
"dist/types/src/operations/index.d.ts"
|
|
59
|
+
],
|
|
25
60
|
"types": [
|
|
26
61
|
"dist/types/src/types/index.d.ts"
|
|
27
62
|
]
|
|
@@ -32,85 +67,86 @@
|
|
|
32
67
|
"src"
|
|
33
68
|
],
|
|
34
69
|
"dependencies": {
|
|
35
|
-
"@codemirror/state": "^6.
|
|
36
|
-
"@codemirror/view": "^6.
|
|
37
|
-
"
|
|
38
|
-
"@preact/signals-core": "^1.9.0",
|
|
39
|
-
"date-fns": "^3.3.1",
|
|
70
|
+
"@codemirror/state": "^6.5.2",
|
|
71
|
+
"@codemirror/view": "^6.38.4",
|
|
72
|
+
"date-fns": "^3.6.0",
|
|
40
73
|
"extendable-media-recorder": "^9.2.19",
|
|
41
74
|
"extendable-media-recorder-wav-encoder": "^7.0.123",
|
|
42
75
|
"main-thread-scheduling": "^14.1.1",
|
|
43
76
|
"react-resize-detector": "^11.0.1",
|
|
44
|
-
"react-router-dom": "^6.
|
|
77
|
+
"react-router-dom": "^6.30.3",
|
|
45
78
|
"react-use": "^17.5.1",
|
|
46
79
|
"wavefile": "^11.0.0",
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/app-
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/assistant": "0.8.4-main.
|
|
51
|
-
"@dxos/async": "0.8.4-main.
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/
|
|
57
|
-
"@dxos/echo": "0.8.4-main.
|
|
58
|
-
"@dxos/echo-db": "0.8.4-main.
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/keys": "0.8.4-main.
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/plugin-client": "0.8.4-main.
|
|
67
|
-
"@dxos/plugin-deck": "0.8.4-main.
|
|
68
|
-
"@dxos/plugin-graph": "0.8.4-main.
|
|
69
|
-
"@dxos/plugin-
|
|
70
|
-
"@dxos/plugin-
|
|
71
|
-
"@dxos/plugin-thread": "0.8.4-main.
|
|
72
|
-
"@dxos/protocols": "0.8.4-main.
|
|
73
|
-
"@dxos/react-client": "0.8.4-main.
|
|
74
|
-
"@dxos/react-
|
|
75
|
-
"@dxos/react-ui-
|
|
76
|
-
"@dxos/react-
|
|
77
|
-
"@dxos/react-ui-
|
|
78
|
-
"@dxos/react-ui-form": "0.8.4-main.
|
|
79
|
-
"@dxos/react-ui-grid": "0.8.4-main.
|
|
80
|
-
"@dxos/react-ui-
|
|
81
|
-
"@dxos/react-ui-
|
|
82
|
-
"@dxos/
|
|
83
|
-
"@dxos/
|
|
84
|
-
"@dxos/
|
|
80
|
+
"@dxos/app-framework": "0.8.4-main.fcfe5033a5",
|
|
81
|
+
"@dxos/app-toolkit": "0.8.4-main.fcfe5033a5",
|
|
82
|
+
"@dxos/ai": "0.8.4-main.fcfe5033a5",
|
|
83
|
+
"@dxos/assistant": "0.8.4-main.fcfe5033a5",
|
|
84
|
+
"@dxos/async": "0.8.4-main.fcfe5033a5",
|
|
85
|
+
"@dxos/blueprints": "0.8.4-main.fcfe5033a5",
|
|
86
|
+
"@dxos/codec-protobuf": "0.8.4-main.fcfe5033a5",
|
|
87
|
+
"@dxos/client": "0.8.4-main.fcfe5033a5",
|
|
88
|
+
"@dxos/display-name": "0.8.4-main.fcfe5033a5",
|
|
89
|
+
"@dxos/debug": "0.8.4-main.fcfe5033a5",
|
|
90
|
+
"@dxos/echo": "0.8.4-main.fcfe5033a5",
|
|
91
|
+
"@dxos/echo-db": "0.8.4-main.fcfe5033a5",
|
|
92
|
+
"@dxos/functions": "0.8.4-main.fcfe5033a5",
|
|
93
|
+
"@dxos/context": "0.8.4-main.fcfe5033a5",
|
|
94
|
+
"@dxos/functions-runtime": "0.8.4-main.fcfe5033a5",
|
|
95
|
+
"@dxos/keys": "0.8.4-main.fcfe5033a5",
|
|
96
|
+
"@dxos/log": "0.8.4-main.fcfe5033a5",
|
|
97
|
+
"@dxos/invariant": "0.8.4-main.fcfe5033a5",
|
|
98
|
+
"@dxos/operation": "0.8.4-main.fcfe5033a5",
|
|
99
|
+
"@dxos/plugin-client": "0.8.4-main.fcfe5033a5",
|
|
100
|
+
"@dxos/plugin-deck": "0.8.4-main.fcfe5033a5",
|
|
101
|
+
"@dxos/plugin-graph": "0.8.4-main.fcfe5033a5",
|
|
102
|
+
"@dxos/plugin-space": "0.8.4-main.fcfe5033a5",
|
|
103
|
+
"@dxos/plugin-markdown": "0.8.4-main.fcfe5033a5",
|
|
104
|
+
"@dxos/plugin-thread": "0.8.4-main.fcfe5033a5",
|
|
105
|
+
"@dxos/protocols": "0.8.4-main.fcfe5033a5",
|
|
106
|
+
"@dxos/react-edge-client": "0.8.4-main.fcfe5033a5",
|
|
107
|
+
"@dxos/react-ui-editor": "0.8.4-main.fcfe5033a5",
|
|
108
|
+
"@dxos/react-ui-components": "0.8.4-main.fcfe5033a5",
|
|
109
|
+
"@dxos/react-client": "0.8.4-main.fcfe5033a5",
|
|
110
|
+
"@dxos/react-ui-attention": "0.8.4-main.fcfe5033a5",
|
|
111
|
+
"@dxos/react-ui-form": "0.8.4-main.fcfe5033a5",
|
|
112
|
+
"@dxos/react-ui-grid": "0.8.4-main.fcfe5033a5",
|
|
113
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.fcfe5033a5",
|
|
114
|
+
"@dxos/react-ui-sfx": "0.8.4-main.fcfe5033a5",
|
|
115
|
+
"@dxos/react-ui-stack": "0.8.4-main.fcfe5033a5",
|
|
116
|
+
"@dxos/schema": "0.8.4-main.fcfe5033a5",
|
|
117
|
+
"@dxos/tracing": "0.8.4-main.fcfe5033a5",
|
|
118
|
+
"@dxos/types": "0.8.4-main.fcfe5033a5",
|
|
119
|
+
"@dxos/ui-editor": "0.8.4-main.fcfe5033a5",
|
|
120
|
+
"@dxos/util": "0.8.4-main.fcfe5033a5"
|
|
85
121
|
},
|
|
86
122
|
"devDependencies": {
|
|
87
|
-
"@effect-
|
|
88
|
-
"@effect/platform": "0.
|
|
123
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
124
|
+
"@effect/platform": "0.94.4",
|
|
89
125
|
"@types/dom-speech-recognition": "^0.0.6",
|
|
90
|
-
"@types/react": "~
|
|
91
|
-
"effect": "3.
|
|
92
|
-
"react": "~
|
|
93
|
-
"react-dom": "~
|
|
94
|
-
"tailwindcss": "
|
|
95
|
-
"@dxos/plugin-preview": "0.8.4-main.
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/plugin-
|
|
98
|
-
"@dxos/random": "0.8.4-main.
|
|
99
|
-
"@dxos/react-ui-form": "0.8.4-main.
|
|
100
|
-
"@dxos/
|
|
101
|
-
"@dxos/
|
|
102
|
-
"@dxos/
|
|
103
|
-
"@dxos/
|
|
104
|
-
"@dxos/
|
|
126
|
+
"@types/react": "~19.2.7",
|
|
127
|
+
"effect": "3.20.0",
|
|
128
|
+
"react": "~19.2.3",
|
|
129
|
+
"react-dom": "~19.2.3",
|
|
130
|
+
"tailwindcss": "^4.2.0",
|
|
131
|
+
"@dxos/plugin-preview": "0.8.4-main.fcfe5033a5",
|
|
132
|
+
"@dxos/react-ui": "0.8.4-main.fcfe5033a5",
|
|
133
|
+
"@dxos/plugin-testing": "0.8.4-main.fcfe5033a5",
|
|
134
|
+
"@dxos/random": "0.8.4-main.fcfe5033a5",
|
|
135
|
+
"@dxos/react-ui-form": "0.8.4-main.fcfe5033a5",
|
|
136
|
+
"@dxos/storybook-utils": "0.8.4-main.fcfe5033a5",
|
|
137
|
+
"@dxos/plugin-theme": "0.8.4-main.fcfe5033a5",
|
|
138
|
+
"@dxos/test-utils": "0.8.4-main.fcfe5033a5",
|
|
139
|
+
"@dxos/ui-theme": "0.8.4-main.fcfe5033a5",
|
|
140
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.fcfe5033a5"
|
|
105
141
|
},
|
|
106
142
|
"peerDependencies": {
|
|
107
|
-
"@effect-
|
|
108
|
-
"@effect/platform": "
|
|
109
|
-
"effect": "
|
|
110
|
-
"react": "~
|
|
111
|
-
"react-dom": "~
|
|
112
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
113
|
-
"@dxos/
|
|
143
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
144
|
+
"@effect/platform": "0.94.4",
|
|
145
|
+
"effect": "3.20.0",
|
|
146
|
+
"react": "~19.2.3",
|
|
147
|
+
"react-dom": "~19.2.3",
|
|
148
|
+
"@dxos/react-ui": "0.8.4-main.fcfe5033a5",
|
|
149
|
+
"@dxos/ui-theme": "0.8.4-main.fcfe5033a5"
|
|
114
150
|
},
|
|
115
151
|
"publishConfig": {
|
|
116
152
|
"access": "public"
|
|
@@ -2,66 +2,53 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import {
|
|
5
|
+
import * as Option from 'effect/Option';
|
|
6
|
+
|
|
7
|
+
import { Plugin } from '@dxos/app-framework';
|
|
8
|
+
import { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';
|
|
9
|
+
import { Annotation, Feed, Obj } from '@dxos/echo';
|
|
8
10
|
import { getSpace } from '@dxos/react-client/echo';
|
|
9
|
-
import {
|
|
11
|
+
import { Message, Transcript } from '@dxos/types';
|
|
12
|
+
|
|
13
|
+
import { BlueprintDefinition, OperationHandler, ReactSurface, Transcriber } from '#capabilities';
|
|
14
|
+
import { meta } from '#meta';
|
|
10
15
|
|
|
11
|
-
import { IntentResolver, ReactSurface, Transcriber } from './capabilities';
|
|
12
|
-
import { renderMarkdown } from './components';
|
|
13
|
-
import { meta } from './meta';
|
|
14
16
|
import { translations } from './translations';
|
|
15
|
-
import {
|
|
17
|
+
import { renderByline } from './util';
|
|
16
18
|
|
|
17
|
-
export const TranscriptionPlugin = ()
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
id: `${meta.id}/module/react-surface`,
|
|
54
|
-
activatesOn: Events.SetupReactSurface,
|
|
55
|
-
activate: ReactSurface,
|
|
56
|
-
}),
|
|
57
|
-
defineModule({
|
|
58
|
-
id: `${meta.id}/module/intent-resolver`,
|
|
59
|
-
activatesOn: Events.SetupIntentResolver,
|
|
60
|
-
activate: IntentResolver,
|
|
61
|
-
}),
|
|
62
|
-
defineModule({
|
|
63
|
-
id: `${meta.id}/module/transcription`,
|
|
64
|
-
activatesOn: Events.SetupAppGraph,
|
|
65
|
-
activate: Transcriber,
|
|
66
|
-
}),
|
|
67
|
-
]);
|
|
19
|
+
export const TranscriptionPlugin = Plugin.define(meta).pipe(
|
|
20
|
+
AppPlugin.addBlueprintDefinitionModule({ activate: BlueprintDefinition }),
|
|
21
|
+
AppPlugin.addMetadataModule({
|
|
22
|
+
metadata: {
|
|
23
|
+
id: Transcript.Transcript.typename,
|
|
24
|
+
metadata: {
|
|
25
|
+
icon: Annotation.IconAnnotation.get(Transcript.Transcript).pipe(Option.getOrThrow).icon,
|
|
26
|
+
iconHue: Annotation.IconAnnotation.get(Transcript.Transcript).pipe(Option.getOrThrow).hue ?? 'white',
|
|
27
|
+
// TODO(wittjosiah): Factor out. Artifact? Separate capability?
|
|
28
|
+
getTextContent: async (transcript: Transcript.Transcript) => {
|
|
29
|
+
const space = getSpace(transcript);
|
|
30
|
+
const members = space?.members.get().map((member) => member.identity) ?? [];
|
|
31
|
+
const feed = await transcript.feed.load();
|
|
32
|
+
const queueDxn = Feed.getQueueDxn(feed);
|
|
33
|
+
const queue = queueDxn ? space?.queues.get<Message.Message>(queueDxn) : undefined;
|
|
34
|
+
await queue?.refresh();
|
|
35
|
+
const content = queue?.objects
|
|
36
|
+
.filter((message) => Obj.instanceOf(Message.Message, message))
|
|
37
|
+
.flatMap((message, index) => renderByline(members)(message, index))
|
|
38
|
+
.join('\n\n');
|
|
39
|
+
return content;
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
}),
|
|
44
|
+
AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
|
|
45
|
+
AppPlugin.addSchemaModule({ schema: [Transcript.Transcript] }),
|
|
46
|
+
AppPlugin.addSurfaceModule({ activate: ReactSurface }),
|
|
47
|
+
AppPlugin.addTranslationsModule({ translations }),
|
|
48
|
+
Plugin.addModule({
|
|
49
|
+
id: 'transcription',
|
|
50
|
+
activatesOn: AppActivationEvents.SetupAppGraph,
|
|
51
|
+
activate: Transcriber,
|
|
52
|
+
}),
|
|
53
|
+
Plugin.make,
|
|
54
|
+
);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { type AppCapabilities } from '@dxos/app-toolkit';
|
|
6
|
+
import { Blueprint, Template } from '@dxos/blueprints';
|
|
7
|
+
import { trim } from '@dxos/util';
|
|
8
|
+
|
|
9
|
+
import { TranscriptOperation } from '#operations';
|
|
10
|
+
|
|
11
|
+
const BLUEPRINT_KEY = 'org.dxos.blueprint.transcription';
|
|
12
|
+
|
|
13
|
+
const make = () =>
|
|
14
|
+
Blueprint.make({
|
|
15
|
+
key: BLUEPRINT_KEY,
|
|
16
|
+
name: 'Transcription',
|
|
17
|
+
tools: Blueprint.toolDefinitions({ operations: [TranscriptOperation.Open, TranscriptOperation.Summarize] }),
|
|
18
|
+
instructions: Template.make({
|
|
19
|
+
source: trim`
|
|
20
|
+
You can open and summarize a meeting transcript.
|
|
21
|
+
`,
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const blueprint: AppCapabilities.BlueprintDefinition = {
|
|
26
|
+
key: BLUEPRINT_KEY,
|
|
27
|
+
make,
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export default blueprint;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capability } from '@dxos/app-framework';
|
|
8
|
+
import { AppCapabilities } from '@dxos/app-toolkit';
|
|
9
|
+
|
|
10
|
+
import { TranscriptionBlueprint } from '#blueprints';
|
|
11
|
+
|
|
12
|
+
const blueprintDefinition = Capability.makeModule<
|
|
13
|
+
[],
|
|
14
|
+
Capability.Capability<typeof AppCapabilities.BlueprintDefinition>[]
|
|
15
|
+
>(() => Effect.succeed([Capability.contributes(AppCapabilities.BlueprintDefinition, TranscriptionBlueprint)]));
|
|
16
|
+
|
|
17
|
+
export default blueprintDefinition;
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { Capability } from '@dxos/app-framework';
|
|
6
|
+
import { OperationHandlerSet } from '@dxos/operation';
|
|
6
7
|
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
export const BlueprintDefinition = Capability.lazy('BlueprintDefinition', () => import('./blueprint-definition'));
|
|
9
|
+
export const OperationHandler = Capability.lazy<OperationHandlerSet.OperationHandlerSet>(
|
|
10
|
+
'OperationHandler',
|
|
11
|
+
() => import('./operation-handler'),
|
|
12
|
+
);
|
|
13
|
+
export const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));
|
|
14
|
+
export const Transcriber = Capability.lazy('Transcriber', () => import('./transcriber'));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
8
|
+
import type { OperationHandlerSet } from '@dxos/operation';
|
|
9
|
+
|
|
10
|
+
import { TranscriptionOperationHandlerSet } from '#operations';
|
|
11
|
+
|
|
12
|
+
export default Capability.makeModule<OperationHandlerSet.OperationHandlerSet>(
|
|
13
|
+
Effect.fnUntraced(function* () {
|
|
14
|
+
return Capability.contributes(Capabilities.OperationHandler, TranscriptionOperationHandlerSet);
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
@@ -2,21 +2,30 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
5
6
|
import React from 'react';
|
|
6
7
|
|
|
7
|
-
import { Capabilities,
|
|
8
|
-
import {
|
|
8
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
9
|
+
import { Surface } from '@dxos/app-framework/ui';
|
|
10
|
+
import { AppSurface } from '@dxos/app-toolkit/ui';
|
|
11
|
+
import { Transcript } from '@dxos/types';
|
|
9
12
|
|
|
10
|
-
import { TranscriptionContainer } from '
|
|
11
|
-
import { meta } from '../meta';
|
|
12
|
-
import { TranscriptType } from '../types';
|
|
13
|
+
import { TranscriptionContainer } from '#containers';
|
|
13
14
|
|
|
14
|
-
export default () =>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
export default Capability.makeModule(() =>
|
|
16
|
+
Effect.succeed(
|
|
17
|
+
Capability.contributes(Capabilities.ReactSurface, [
|
|
18
|
+
Surface.create({
|
|
19
|
+
id: 'article.transcript',
|
|
20
|
+
// TODO(wittjosiah): Split into multiple surfaces if this filter proves too strict for non-article roles.
|
|
21
|
+
filter: AppSurface.oneOf(
|
|
22
|
+
AppSurface.object(AppSurface.Article, Transcript.Transcript),
|
|
23
|
+
AppSurface.object(AppSurface.Section, Transcript.Transcript),
|
|
24
|
+
),
|
|
25
|
+
component: ({ data, role }) => (
|
|
26
|
+
<TranscriptionContainer role={role} subject={data.subject} attendableId={data.attendableId} />
|
|
27
|
+
),
|
|
28
|
+
}),
|
|
29
|
+
]),
|
|
30
|
+
),
|
|
31
|
+
);
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
8
|
+
import { ClientCapabilities } from '@dxos/plugin-client/types';
|
|
9
|
+
|
|
10
|
+
import { TranscriptionCapabilities } from '#types';
|
|
7
11
|
|
|
8
|
-
import { TranscriptionCapabilities } from './capabilities';
|
|
9
12
|
import { MediaStreamRecorder, Transcriber, TranscriptionManager } from '../transcriber';
|
|
10
13
|
|
|
11
14
|
// TODO(burdon): Move to config?
|
|
@@ -29,48 +32,55 @@ const TRANSCRIBE_AFTER_CHUNKS_AMOUNT = 50;
|
|
|
29
32
|
/**
|
|
30
33
|
* Records audio while user is speaking and transcribes it after user is done speaking.
|
|
31
34
|
*/
|
|
32
|
-
export default (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
recorder: new MediaStreamRecorder({
|
|
47
|
-
mediaStreamTrack: audioStreamTrack,
|
|
35
|
+
export default Capability.makeModule(
|
|
36
|
+
Effect.fnUntraced(function* () {
|
|
37
|
+
// Get context for lazy capability access in callbacks.
|
|
38
|
+
const capabilities = yield* Capability.Service;
|
|
39
|
+
const registry = yield* Capability.get(Capabilities.AtomRegistry);
|
|
40
|
+
|
|
41
|
+
const getTranscriber: TranscriptionCapabilities.GetTranscriber = ({
|
|
42
|
+
audioStreamTrack,
|
|
43
|
+
onSegments,
|
|
44
|
+
transcriberConfig,
|
|
45
|
+
recorderConfig,
|
|
46
|
+
}) => {
|
|
47
|
+
// Initialize audio transcription.
|
|
48
|
+
return new Transcriber({
|
|
48
49
|
config: {
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
transcribeAfterChunksAmount: TRANSCRIBE_AFTER_CHUNKS_AMOUNT,
|
|
51
|
+
prefixBufferChunksAmount: PREFIXED_CHUNKS_AMOUNT,
|
|
52
|
+
...transcriberConfig,
|
|
51
53
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
recorder: new MediaStreamRecorder({
|
|
55
|
+
mediaStreamTrack: audioStreamTrack,
|
|
56
|
+
config: {
|
|
57
|
+
interval: RECORD_INTERVAL,
|
|
58
|
+
...recorderConfig,
|
|
59
|
+
},
|
|
60
|
+
}),
|
|
61
|
+
onSegments,
|
|
62
|
+
});
|
|
63
|
+
};
|
|
56
64
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
65
|
+
const getTranscriptionManager: TranscriptionCapabilities.GetTranscriptionManager = ({ messageEnricher }) => {
|
|
66
|
+
const client = capabilities.get(ClientCapabilities.Client);
|
|
67
|
+
const transcriptionManager = new TranscriptionManager({
|
|
68
|
+
edgeClient: client.edge.http,
|
|
69
|
+
messageEnricher,
|
|
70
|
+
registry,
|
|
71
|
+
});
|
|
63
72
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
73
|
+
const identity = client.halo.identity.get();
|
|
74
|
+
if (identity) {
|
|
75
|
+
transcriptionManager.setIdentityDid(identity.did);
|
|
76
|
+
}
|
|
68
77
|
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
return transcriptionManager;
|
|
79
|
+
};
|
|
71
80
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
81
|
+
return [
|
|
82
|
+
Capability.contributes(TranscriptionCapabilities.Transcriber, getTranscriber),
|
|
83
|
+
Capability.contributes(TranscriptionCapabilities.TranscriptionManager, getTranscriptionManager),
|
|
84
|
+
];
|
|
85
|
+
}),
|
|
86
|
+
);
|