speechflow 2.0.4 → 2.1.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +34 -5
  3. package/etc/speechflow.yaml +20 -48
  4. package/etc/stx.conf +2 -2
  5. package/package.json +3 -3
  6. package/speechflow-cli/dst/speechflow-node-a2a-gtcrn-wt.d.ts +1 -0
  7. package/speechflow-cli/dst/speechflow-node-a2a-gtcrn-wt.js +60 -0
  8. package/speechflow-cli/dst/speechflow-node-a2a-gtcrn-wt.js.map +1 -0
  9. package/speechflow-cli/dst/speechflow-node-a2a-gtcrn.d.ts +15 -0
  10. package/speechflow-cli/dst/speechflow-node-a2a-gtcrn.js +234 -0
  11. package/speechflow-cli/dst/speechflow-node-a2a-gtcrn.js.map +1 -0
  12. package/speechflow-cli/dst/speechflow-node-a2a-meter.js +2 -2
  13. package/speechflow-cli/dst/speechflow-node-a2a-meter.js.map +1 -1
  14. package/speechflow-cli/dst/speechflow-node-a2t-assemblyai.d.ts +16 -0
  15. package/speechflow-cli/dst/speechflow-node-a2t-assemblyai.js +275 -0
  16. package/speechflow-cli/dst/speechflow-node-a2t-assemblyai.js.map +1 -0
  17. package/speechflow-cli/dst/speechflow-node-a2t-deepgram.js +32 -15
  18. package/speechflow-cli/dst/speechflow-node-a2t-deepgram.js.map +1 -1
  19. package/speechflow-cli/dst/speechflow-node-t2t-deepl.js +1 -1
  20. package/speechflow-cli/dst/speechflow-node-t2t-deepl.js.map +1 -1
  21. package/speechflow-cli/dst/speechflow-node-t2t-profanity.js +26 -6
  22. package/speechflow-cli/dst/speechflow-node-t2t-profanity.js.map +1 -1
  23. package/speechflow-cli/dst/speechflow-node-t2t-sentence.d.ts +1 -0
  24. package/speechflow-cli/dst/speechflow-node-t2t-sentence.js +72 -5
  25. package/speechflow-cli/dst/speechflow-node-t2t-sentence.js.map +1 -1
  26. package/speechflow-cli/etc/oxlint.jsonc +1 -0
  27. package/speechflow-cli/package.d/sherpa-onnx+1.12.23.patch +12 -0
  28. package/speechflow-cli/package.json +20 -17
  29. package/speechflow-cli/src/lib.d.ts +30 -4
  30. package/speechflow-cli/src/speechflow-node-a2a-gtcrn-wt.ts +68 -0
  31. package/speechflow-cli/src/speechflow-node-a2a-gtcrn.ts +219 -0
  32. package/speechflow-cli/src/speechflow-node-a2a-meter.ts +2 -2
  33. package/speechflow-cli/src/speechflow-node-a2t-deepgram.ts +33 -15
  34. package/speechflow-cli/src/speechflow-node-t2t-deepl.ts +1 -1
  35. package/speechflow-cli/src/speechflow-node-t2t-profanity.ts +30 -11
  36. package/speechflow-cli/src/speechflow-node-t2t-sentence.ts +86 -10
  37. package/speechflow-ui-db/dst/index.css +1 -1
  38. package/speechflow-ui-db/dst/index.js +13 -13
  39. package/speechflow-ui-db/package.json +12 -11
  40. package/speechflow-ui-db/src/app.vue +62 -17
  41. package/speechflow-ui-st/dst/index.css +1 -1
  42. package/speechflow-ui-st/dst/index.js +32 -32
  43. package/speechflow-ui-st/package.json +13 -12
  44. package/speechflow-ui-st/src/app.vue +9 -8
@@ -14,22 +14,22 @@
14
14
  "url": "http://engelschall.com"
15
15
  },
16
16
  "dependencies": {
17
- "vue": "3.5.26",
17
+ "vue": "3.5.27",
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.2",
21
+ "axios": "1.13.3",
22
22
  "typopro-web": "4.2.8",
23
23
  "@fortawesome/fontawesome-free": "7.1.0",
24
24
  "patch-package": "8.0.1",
25
25
  "@rse/stx": "1.1.4",
26
- "animejs": "4.2.2"
26
+ "animejs": "4.3.5"
27
27
  },
28
28
  "devDependencies": {
29
29
  "vite": "7.3.1",
30
- "typescript-eslint": "8.53.0",
31
- "@typescript-eslint/eslint-plugin": "8.53.0",
32
- "@typescript-eslint/parser": "8.53.0",
30
+ "typescript-eslint": "8.54.0",
31
+ "@typescript-eslint/eslint-plugin": "8.54.0",
32
+ "@typescript-eslint/parser": "8.54.0",
33
33
  "@vitejs/plugin-vue": "6.0.3",
34
34
  "@rollup/plugin-yaml": "4.1.2",
35
35
  "vite-plugin-node-polyfills": "0.25.0",
@@ -45,8 +45,8 @@
45
45
  "eslint-plugin-import": "2.32.0",
46
46
  "eslint-plugin-vue": "10.7.0",
47
47
 
48
- "oxlint": "1.39.0",
49
- "eslint-plugin-oxlint": "1.39.0",
48
+ "oxlint": "1.42.0",
49
+ "eslint-plugin-oxlint": "1.42.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": "16.26.1",
57
+ "stylelint": "17.0.0",
58
58
  "stylelint-config-html": "1.1.0",
59
59
  "stylelint-config-recommended-vue": "1.6.1",
60
- "stylelint-config-standard": "39.0.1",
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.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,8 @@
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" }
76
77
  },
77
78
  "engines" : {
78
79
  "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="50"/>
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: #eeeeee
67
- background-color: #000000b0
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.4
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: #ffffff
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: 20 }) && !chunk.removing && !chunk.removed) {
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