@dxos/plugin-transcription 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/types/src/blueprints/transcription-blueprint.d.ts +6 -6
- package/dist/types/src/blueprints/transcription-blueprint.d.ts.map +1 -1
- package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/normalization.d.ts +267 -267
- package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +53 -53
- package/src/components/Transcript/Transcript.stories.tsx +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-transcription",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.9735255",
|
|
4
4
|
"description": "Voice transcription.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -57,46 +57,46 @@
|
|
|
57
57
|
"react-router-dom": "^6.4.0",
|
|
58
58
|
"react-use": "^17.5.1",
|
|
59
59
|
"wavefile": "^11.0.0",
|
|
60
|
-
"@dxos/ai": "0.8.4-main.
|
|
61
|
-
"@dxos/app-framework": "0.8.4-main.
|
|
62
|
-
"@dxos/assistant": "0.8.4-main.
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/client": "0.8.4-main.
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/debug": "0.8.4-main.
|
|
69
|
-
"@dxos/display-name": "0.8.4-main.
|
|
70
|
-
"@dxos/echo": "0.8.4-main.
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/plugin-client": "0.8.4-main.
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/plugin-
|
|
80
|
-
"@dxos/plugin-
|
|
81
|
-
"@dxos/plugin-
|
|
82
|
-
"@dxos/plugin-
|
|
83
|
-
"@dxos/
|
|
84
|
-
"@dxos/
|
|
85
|
-
"@dxos/react-client": "0.8.4-main.
|
|
86
|
-
"@dxos/react-
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/react-ui-components": "0.8.4-main.
|
|
89
|
-
"@dxos/react-ui-editor": "0.8.4-main.
|
|
90
|
-
"@dxos/react-ui-form": "0.8.4-main.
|
|
91
|
-
"@dxos/react-ui-grid": "0.8.4-main.
|
|
92
|
-
"@dxos/react-ui-
|
|
93
|
-
"@dxos/react-ui-
|
|
94
|
-
"@dxos/react-ui-stack": "0.8.4-main.
|
|
95
|
-
"@dxos/
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/
|
|
98
|
-
"@dxos/
|
|
99
|
-
"@dxos/
|
|
60
|
+
"@dxos/ai": "0.8.4-main.9735255",
|
|
61
|
+
"@dxos/app-framework": "0.8.4-main.9735255",
|
|
62
|
+
"@dxos/assistant": "0.8.4-main.9735255",
|
|
63
|
+
"@dxos/blueprints": "0.8.4-main.9735255",
|
|
64
|
+
"@dxos/async": "0.8.4-main.9735255",
|
|
65
|
+
"@dxos/client": "0.8.4-main.9735255",
|
|
66
|
+
"@dxos/codec-protobuf": "0.8.4-main.9735255",
|
|
67
|
+
"@dxos/context": "0.8.4-main.9735255",
|
|
68
|
+
"@dxos/debug": "0.8.4-main.9735255",
|
|
69
|
+
"@dxos/display-name": "0.8.4-main.9735255",
|
|
70
|
+
"@dxos/echo": "0.8.4-main.9735255",
|
|
71
|
+
"@dxos/echo-db": "0.8.4-main.9735255",
|
|
72
|
+
"@dxos/functions": "0.8.4-main.9735255",
|
|
73
|
+
"@dxos/invariant": "0.8.4-main.9735255",
|
|
74
|
+
"@dxos/functions-runtime": "0.8.4-main.9735255",
|
|
75
|
+
"@dxos/keys": "0.8.4-main.9735255",
|
|
76
|
+
"@dxos/log": "0.8.4-main.9735255",
|
|
77
|
+
"@dxos/plugin-client": "0.8.4-main.9735255",
|
|
78
|
+
"@dxos/operation": "0.8.4-main.9735255",
|
|
79
|
+
"@dxos/plugin-graph": "0.8.4-main.9735255",
|
|
80
|
+
"@dxos/plugin-deck": "0.8.4-main.9735255",
|
|
81
|
+
"@dxos/plugin-markdown": "0.8.4-main.9735255",
|
|
82
|
+
"@dxos/plugin-space": "0.8.4-main.9735255",
|
|
83
|
+
"@dxos/plugin-thread": "0.8.4-main.9735255",
|
|
84
|
+
"@dxos/react-client": "0.8.4-main.9735255",
|
|
85
|
+
"@dxos/react-edge-client": "0.8.4-main.9735255",
|
|
86
|
+
"@dxos/react-ui-attention": "0.8.4-main.9735255",
|
|
87
|
+
"@dxos/protocols": "0.8.4-main.9735255",
|
|
88
|
+
"@dxos/react-ui-components": "0.8.4-main.9735255",
|
|
89
|
+
"@dxos/react-ui-editor": "0.8.4-main.9735255",
|
|
90
|
+
"@dxos/react-ui-form": "0.8.4-main.9735255",
|
|
91
|
+
"@dxos/react-ui-grid": "0.8.4-main.9735255",
|
|
92
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.9735255",
|
|
93
|
+
"@dxos/react-ui-sfx": "0.8.4-main.9735255",
|
|
94
|
+
"@dxos/react-ui-stack": "0.8.4-main.9735255",
|
|
95
|
+
"@dxos/tracing": "0.8.4-main.9735255",
|
|
96
|
+
"@dxos/schema": "0.8.4-main.9735255",
|
|
97
|
+
"@dxos/ui-editor": "0.8.4-main.9735255",
|
|
98
|
+
"@dxos/types": "0.8.4-main.9735255",
|
|
99
|
+
"@dxos/util": "0.8.4-main.9735255"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@effect-atom/atom-react": "^0.4.6",
|
|
@@ -107,16 +107,16 @@
|
|
|
107
107
|
"react": "~19.2.3",
|
|
108
108
|
"react-dom": "~19.2.3",
|
|
109
109
|
"tailwindcss": "~3.4.1",
|
|
110
|
-
"@dxos/plugin-
|
|
111
|
-
"@dxos/plugin-
|
|
112
|
-
"@dxos/
|
|
113
|
-
"@dxos/
|
|
114
|
-
"@dxos/react-ui
|
|
115
|
-
"@dxos/
|
|
116
|
-
"@dxos/
|
|
117
|
-
"@dxos/
|
|
118
|
-
"@dxos/
|
|
119
|
-
"@dxos/
|
|
110
|
+
"@dxos/plugin-testing": "0.8.4-main.9735255",
|
|
111
|
+
"@dxos/plugin-preview": "0.8.4-main.9735255",
|
|
112
|
+
"@dxos/plugin-theme": "0.8.4-main.9735255",
|
|
113
|
+
"@dxos/random": "0.8.4-main.9735255",
|
|
114
|
+
"@dxos/react-ui": "0.8.4-main.9735255",
|
|
115
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.9735255",
|
|
116
|
+
"@dxos/react-ui-form": "0.8.4-main.9735255",
|
|
117
|
+
"@dxos/storybook-utils": "0.8.4-main.9735255",
|
|
118
|
+
"@dxos/test-utils": "0.8.4-main.9735255",
|
|
119
|
+
"@dxos/ui-theme": "0.8.4-main.9735255"
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
122
122
|
"@effect-atom/atom-react": "^0.4.6",
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
"effect": "3.19.11",
|
|
125
125
|
"react": "~19.2.3",
|
|
126
126
|
"react-dom": "~19.2.3",
|
|
127
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
128
|
-
"@dxos/ui-theme": "0.8.4-main.
|
|
127
|
+
"@dxos/react-ui": "0.8.4-main.9735255",
|
|
128
|
+
"@dxos/ui-theme": "0.8.4-main.9735255"
|
|
129
129
|
},
|
|
130
130
|
"publishConfig": {
|
|
131
131
|
"access": "public"
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
6
6
|
import * as Effect from 'effect/Effect';
|
|
7
|
+
import type * as Types from 'effect/Types';
|
|
7
8
|
import React, { type FC, useEffect, useMemo, useState } from 'react';
|
|
8
9
|
|
|
9
10
|
import { withPluginManager } from '@dxos/app-framework/testing';
|
|
@@ -17,7 +18,7 @@ import { IconButton, Toolbar } from '@dxos/react-ui';
|
|
|
17
18
|
import { withTheme } from '@dxos/react-ui/testing';
|
|
18
19
|
import { SyntaxHighlighter } from '@dxos/react-ui-syntax-highlighter';
|
|
19
20
|
import { TestSchema } from '@dxos/schema/testing';
|
|
20
|
-
import { type Message, Organization, Person } from '@dxos/types';
|
|
21
|
+
import { type ContentBlock, type Message, Organization, Person } from '@dxos/types';
|
|
21
22
|
|
|
22
23
|
import { useQueueModelAdapter } from '../../hooks';
|
|
23
24
|
import { SerializationModel } from '../../model';
|
|
@@ -79,7 +80,8 @@ const BasicStory = ({ messages: initialMessages = [], ...props }: StoryProps) =>
|
|
|
79
80
|
[initialMessages, reset],
|
|
80
81
|
);
|
|
81
82
|
const [running, setRunning] = useState(true);
|
|
82
|
-
|
|
83
|
+
// Use mutable type for local message building (not ECHO-managed).
|
|
84
|
+
const [currentMessage, setCurrentMessage] = useState<Types.Mutable<Message.Message> | null>(null);
|
|
83
85
|
useEffect(() => {
|
|
84
86
|
if (!running) {
|
|
85
87
|
return;
|
|
@@ -100,7 +102,7 @@ const BasicStory = ({ messages: initialMessages = [], ...props }: StoryProps) =>
|
|
|
100
102
|
return;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
|
-
currentMessage.blocks.push(builder.createBlock());
|
|
105
|
+
(currentMessage.blocks as ContentBlock.Any[]).push(builder.createBlock());
|
|
104
106
|
model.updateChunk(currentMessage);
|
|
105
107
|
}, 3_000);
|
|
106
108
|
|