@goodandready/dsh-voice 0.9.39 → 0.9.41
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/lib/client.js +9 -0
- package/lib/index.js +7 -2
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -786,6 +786,12 @@ window.__ModuleLoader__.load({
|
|
|
786
786
|
const undoIcon = () => React.createElement('svg', ic,
|
|
787
787
|
React.createElement('path', { d: 'M9 14L4 9l5-5' }),
|
|
788
788
|
React.createElement('path', { d: 'M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v.5' }))
|
|
789
|
+
const editIcon = () => React.createElement('svg', ic,
|
|
790
|
+
React.createElement('path', { d: 'M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7' }),
|
|
791
|
+
React.createElement('path', { d: 'M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z' }))
|
|
792
|
+
const sendIcon = () => React.createElement('svg', ic,
|
|
793
|
+
React.createElement('line', { x1: 22, y1: 2, x2: 11, y2: 13 }),
|
|
794
|
+
React.createElement('polygon', { points: '22 2 15 22 11 13 2 9 22 2' }))
|
|
789
795
|
const chevronIcon = () => (
|
|
790
796
|
ChevronIcon
|
|
791
797
|
? React.createElement(ChevronIcon, { className: 'dvo-chev-icon' })
|
|
@@ -5529,6 +5535,9 @@ function MacrosSection(props) {
|
|
|
5529
5535
|
cancelPendingPreview,
|
|
5530
5536
|
keepPendingPreview,
|
|
5531
5537
|
submitPendingPreview,
|
|
5538
|
+
renderEditablePreviewPill,
|
|
5539
|
+
editIcon,
|
|
5540
|
+
sendIcon,
|
|
5532
5541
|
loadWebGpuWhisper,
|
|
5533
5542
|
isWebGpuSupported,
|
|
5534
5543
|
isWasmSupported,
|
package/lib/index.js
CHANGED
|
@@ -93,11 +93,16 @@ export function apply(ctx, baseConfig) {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Resolve one environment reference to its secret.
|
|
98
|
+
* `ref` is a plain string (e.g. `DEEPGRAM_API_KEY`); `credentials.resolve()`
|
|
99
|
+
* answers `{ value, source }`, so the value is unwrapped here.
|
|
100
|
+
*/
|
|
96
101
|
const resolveKey = async (ref) => {
|
|
97
|
-
if (!ref ||
|
|
102
|
+
if (!ref || typeof ref !== 'string') return ''
|
|
98
103
|
try {
|
|
99
104
|
const resolved = await ctx.credentials.resolve(credentialRef(ref))
|
|
100
|
-
return resolved || ''
|
|
105
|
+
return (typeof resolved === 'string' ? resolved : resolved?.value) || ''
|
|
101
106
|
} catch {
|
|
102
107
|
return ''
|
|
103
108
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-voice",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.41",
|
|
4
4
|
"description": "Voice input for DeepSeek Harness: dictation chunked by pauses and voice messages, each with its own provider fallback chain (Deepgram, Groq, HuggingFace, local whisper.cpp, plus any OpenAI-compatible API of your own).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|