speechflow 2.0.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +47 -15
- package/etc/speechflow.yaml +20 -48
- package/etc/stx.conf +2 -2
- package/package.json +6 -6
- package/speechflow-cli/dst/speechflow-node-a2a-gtcrn-wt.d.ts +1 -0
- package/speechflow-cli/dst/speechflow-node-a2a-gtcrn-wt.js +60 -0
- package/speechflow-cli/dst/speechflow-node-a2a-gtcrn-wt.js.map +1 -0
- package/speechflow-cli/dst/speechflow-node-a2a-gtcrn.d.ts +15 -0
- package/speechflow-cli/dst/speechflow-node-a2a-gtcrn.js +234 -0
- package/speechflow-cli/dst/speechflow-node-a2a-gtcrn.js.map +1 -0
- package/speechflow-cli/dst/speechflow-node-a2a-meter.js +2 -2
- package/speechflow-cli/dst/speechflow-node-a2a-meter.js.map +1 -1
- package/speechflow-cli/dst/speechflow-node-a2t-deepgram.js +42 -21
- package/speechflow-cli/dst/speechflow-node-a2t-deepgram.js.map +1 -1
- package/speechflow-cli/dst/speechflow-node-t2t-deepl.js +1 -1
- package/speechflow-cli/dst/speechflow-node-t2t-deepl.js.map +1 -1
- package/speechflow-cli/dst/speechflow-node-t2t-profanity.js +26 -6
- package/speechflow-cli/dst/speechflow-node-t2t-profanity.js.map +1 -1
- package/speechflow-cli/dst/speechflow-node-t2t-sentence.d.ts +3 -2
- package/speechflow-cli/dst/speechflow-node-t2t-sentence.js +135 -51
- package/speechflow-cli/dst/speechflow-node-t2t-sentence.js.map +1 -1
- package/speechflow-cli/dst/speechflow-node-t2t-simulator.d.ts +11 -0
- package/speechflow-cli/dst/speechflow-node-t2t-simulator.js +128 -0
- package/speechflow-cli/dst/speechflow-node-t2t-simulator.js.map +1 -0
- package/speechflow-cli/dst/speechflow-util-queue.d.ts +9 -3
- package/speechflow-cli/dst/speechflow-util-queue.js +39 -17
- package/speechflow-cli/dst/speechflow-util-queue.js.map +1 -1
- package/speechflow-cli/etc/oxlint.jsonc +1 -0
- package/speechflow-cli/package.d/sherpa-onnx+1.12.25.patch +12 -0
- package/speechflow-cli/package.json +32 -26
- package/speechflow-cli/src/lib.d.ts +30 -4
- package/speechflow-cli/src/speechflow-node-a2a-gtcrn-wt.ts +68 -0
- package/speechflow-cli/src/speechflow-node-a2a-gtcrn.ts +219 -0
- package/speechflow-cli/src/speechflow-node-a2a-meter.ts +2 -2
- package/speechflow-cli/src/speechflow-node-a2t-deepgram.ts +48 -27
- package/speechflow-cli/src/speechflow-node-t2t-deepl.ts +1 -1
- package/speechflow-cli/src/speechflow-node-t2t-profanity.ts +30 -11
- package/speechflow-cli/src/speechflow-node-t2t-sentence.ts +152 -60
- package/speechflow-cli/src/speechflow-util-queue.ts +44 -19
- package/speechflow-ui-db/dst/app-font-fa-brands-400.woff2 +0 -0
- package/speechflow-ui-db/dst/app-font-fa-regular-400.woff2 +0 -0
- package/speechflow-ui-db/dst/app-font-fa-solid-900.woff2 +0 -0
- package/speechflow-ui-db/dst/app-font-fa-v4compatibility.woff2 +0 -0
- package/speechflow-ui-db/dst/index.css +1 -1
- package/speechflow-ui-db/dst/index.js +47 -46
- package/speechflow-ui-db/package.json +21 -18
- package/speechflow-ui-db/src/app.vue +64 -19
- package/speechflow-ui-st/dst/app-font-fa-brands-400.woff2 +0 -0
- package/speechflow-ui-st/dst/app-font-fa-regular-400.woff2 +0 -0
- package/speechflow-ui-st/dst/app-font-fa-solid-900.woff2 +0 -0
- package/speechflow-ui-st/dst/app-font-fa-v4compatibility.woff2 +0 -0
- package/speechflow-ui-st/dst/index.css +1 -1
- package/speechflow-ui-st/dst/index.js +65 -64
- package/speechflow-ui-st/package.json +22 -19
- package/speechflow-ui-st/src/app.vue +9 -8
|
@@ -14,39 +14,39 @@
|
|
|
14
14
|
"url": "http://engelschall.com"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"vue": "3.5.
|
|
17
|
+
"vue": "3.5.28",
|
|
18
18
|
"vue3-spinners": "1.3.3",
|
|
19
19
|
"luxon": "3.7.2",
|
|
20
20
|
"@opensumi/reconnecting-websocket": "4.4.0",
|
|
21
|
-
"axios": "1.13.
|
|
21
|
+
"axios": "1.13.5",
|
|
22
22
|
"typopro-web": "4.2.8",
|
|
23
|
-
"@fortawesome/fontawesome-free": "7.
|
|
23
|
+
"@fortawesome/fontawesome-free": "7.2.0",
|
|
24
24
|
"patch-package": "8.0.1",
|
|
25
25
|
"@rse/stx": "1.1.4",
|
|
26
|
-
"animejs": "4.
|
|
26
|
+
"animejs": "4.3.6"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"vite": "7.3.1",
|
|
30
|
-
"typescript-eslint": "8.
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
32
|
-
"@typescript-eslint/parser": "8.
|
|
33
|
-
"@vitejs/plugin-vue": "6.0.
|
|
30
|
+
"typescript-eslint": "8.56.0",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "8.56.0",
|
|
32
|
+
"@typescript-eslint/parser": "8.56.0",
|
|
33
|
+
"@vitejs/plugin-vue": "6.0.4",
|
|
34
34
|
"@rollup/plugin-yaml": "4.1.2",
|
|
35
35
|
"vite-plugin-node-polyfills": "0.25.0",
|
|
36
36
|
"vite-svg-loader": "5.1.0",
|
|
37
37
|
"@liuli-util/vite-plugin-node": "0.10.0",
|
|
38
38
|
"mkdirp": "3.0.1",
|
|
39
39
|
|
|
40
|
-
"@vue/eslint-config-typescript": "14.
|
|
41
|
-
"vue-eslint-parser": "10.
|
|
42
|
-
"eslint": "
|
|
43
|
-
"@eslint/js": "
|
|
40
|
+
"@vue/eslint-config-typescript": "14.7.0",
|
|
41
|
+
"vue-eslint-parser": "10.4.0",
|
|
42
|
+
"eslint": "10.0.0",
|
|
43
|
+
"@eslint/js": "10.0.1",
|
|
44
44
|
"neostandard": "0.12.2",
|
|
45
45
|
"eslint-plugin-import": "2.32.0",
|
|
46
|
-
"eslint-plugin-vue": "10.
|
|
46
|
+
"eslint-plugin-vue": "10.8.0",
|
|
47
47
|
|
|
48
|
-
"oxlint": "1.
|
|
49
|
-
"eslint-plugin-oxlint": "1.
|
|
48
|
+
"oxlint": "1.48.0",
|
|
49
|
+
"eslint-plugin-oxlint": "1.48.0",
|
|
50
50
|
|
|
51
51
|
"htmllint": "0.8.0",
|
|
52
52
|
"htmllint-cli": "0.0.7",
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"check-dependencies": "2.0.0",
|
|
55
55
|
"nodemon": "3.1.11",
|
|
56
56
|
"shx": "0.4.0",
|
|
57
|
-
"stylelint": "
|
|
57
|
+
"stylelint": "17.3.0",
|
|
58
58
|
"stylelint-config-html": "1.1.0",
|
|
59
59
|
"stylelint-config-recommended-vue": "1.6.1",
|
|
60
|
-
"stylelint-config-standard": "
|
|
60
|
+
"stylelint-config-standard": "40.0.0",
|
|
61
61
|
"stylelint-config-standard-vue": "1.0.0",
|
|
62
62
|
"stylelint-stylus": "1.0.0",
|
|
63
63
|
"postcss-html": "1.8.1",
|
|
64
64
|
"stylus": "0.64.0",
|
|
65
65
|
"typescript": "5.9.3",
|
|
66
|
-
"vue-tsc": "3.2.
|
|
66
|
+
"vue-tsc": "3.2.4",
|
|
67
67
|
"delay-cli": "3.0.0",
|
|
68
68
|
"cross-env": "10.1.0",
|
|
69
69
|
"serve": "14.2.5",
|
|
@@ -72,7 +72,10 @@
|
|
|
72
72
|
"@types/animejs": "3.1.13"
|
|
73
73
|
},
|
|
74
74
|
"overrides": {
|
|
75
|
-
"@liuli-util/vite-plugin-node": { "vite": ">=6.0.0" }
|
|
75
|
+
"@liuli-util/vite-plugin-node": { "vite": ">=6.0.0" },
|
|
76
|
+
"stylelint-stylus": { "stylelint": "^17.0.0" },
|
|
77
|
+
"eslint-plugin-import": { "eslint": ">=9.0.0" },
|
|
78
|
+
"neostandard": { "eslint": ">=9.0.0" }
|
|
76
79
|
},
|
|
77
80
|
"engines" : {
|
|
78
81
|
"npm": ">=10.0.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
v-bind:ref="`chunk-${chunk.id}`">
|
|
18
18
|
{{ chunk.text }}
|
|
19
19
|
<span class="cursor" v-if="idx === (text.length - 1) && chunk.kind === 'intermediate'">
|
|
20
|
-
<spinner-grid class="spinner-grid" size="
|
|
20
|
+
<spinner-grid class="spinner-grid" size="30"/>
|
|
21
21
|
</span>
|
|
22
22
|
</span>
|
|
23
23
|
</div>
|
|
@@ -63,20 +63,21 @@
|
|
|
63
63
|
|
|
64
64
|
/* content chunk */
|
|
65
65
|
.chunk
|
|
66
|
-
color: #
|
|
67
|
-
background-color: #
|
|
68
|
-
text-shadow: 0 0 0.20vw #000000
|
|
69
|
-
-webkit-text-stroke: 0.05vw #000000
|
|
66
|
+
color: #ffffff
|
|
67
|
+
background-color: #000000e0
|
|
70
68
|
font-size: 2.0vw
|
|
71
69
|
font-weight: 600
|
|
72
|
-
line-height: 1.
|
|
70
|
+
line-height: 1.5
|
|
73
71
|
padding-left: 0.20vw
|
|
74
72
|
padding-right: 0.20vw
|
|
75
73
|
.cursor
|
|
74
|
+
position: relative
|
|
76
75
|
display: inline-block
|
|
77
76
|
margin-left: 10px
|
|
77
|
+
margin-right: 10px
|
|
78
|
+
top: -5px
|
|
78
79
|
&.intermediate:last-child
|
|
79
|
-
color: #
|
|
80
|
+
color: #ffe0c0
|
|
80
81
|
&.removed
|
|
81
82
|
opacity: 0
|
|
82
83
|
</style>
|
|
@@ -125,7 +126,7 @@ export default defineComponent({
|
|
|
125
126
|
/* optically remove outdated text chunks */
|
|
126
127
|
this.cleanupIntervalId = setInterval(() => {
|
|
127
128
|
for (const chunk of this.text) {
|
|
128
|
-
if (chunk.timestamp < DateTime.now().minus({ seconds:
|
|
129
|
+
if (chunk.timestamp < DateTime.now().minus({ seconds: 10 }) && !chunk.removing && !chunk.removed) {
|
|
129
130
|
const el = this.$refs[`chunk-${chunk.id}`] as HTMLSpanElement
|
|
130
131
|
if (!el)
|
|
131
132
|
continue
|