Repository navigation
Expand file tree
/
Copy path__dlg.html
More file actions
30 lines (30 loc) · 2.4 KB
/
Copy path__dlg.html
File metadata and controls
30 lines (30 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!doctype html><html><head><style>
*{box-sizing:border-box;margin:0}
html,body{height:100%}
/* DialogContent = base + guide override, after tailwind-merge */
#content{
position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);
display:grid;grid-template-rows:auto 1fr auto;
width:min(672px,92vw);max-height:88vh;
border:1px solid #888;background:#111;color:#eee;outline:none;z-index:1100;
}
/* DialogHeader */
#hdr{border-bottom:1px solid #444;padding:12px 16px}
/* guide body */
#body{display:flex;min-height:0;flex-direction:column;gap:24px;overflow-y:auto;padding:16px;font-size:12px;line-height:1.6}
/* DialogFooter */
#ftr{display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid #444;padding:12px 16px}
.step{display:flex;flex-direction:column;gap:8px}
.shot{height:128px;width:100%;border:1px dashed #555}
</style></head><body>
<div id="content">
<div id="hdr"><div>Configure Voice Dictation</div><div style="margin-top:4px;font-size:11px">Agent Code's inline dictation streams audio to Deepgram for transcription. New Deepgram accounts get $200 in free credits, which is generally enough for very long-term personal use.</div></div>
<div id="body">
<section class="step"><h3>1 Create a Deepgram account</h3><p>Open console.deepgram.com/signup and finish the signup — the $200 credit is applied automatically.</p><div class="shot"></div></section>
<section class="step"><h3>2 Create a project API key</h3><p>From the console, open API Keys in the sidebar, click Create a New API Key, give it the scope Member or broader, copy the string that appears once.</p><div class="shot"></div></section>
<section class="step"><h3>3 Paste the key into Settings</h3><p>In Agent Code, open Settings → Voice Dictation, paste the key into the Deepgram API Key row, and press Save. Your key is encrypted with your system keyring.</p><div class="shot"></div></section>
<div style="border:1px solid #444;padding:8px 12px;font-size:11px"><p style="font-weight:600">A note on the hotkey.</p><p>Dictation is triggered with Cmd+Shift+D by default: press once to record and again to finish, with no OS permission required. If you prefer holding Fn like macOS system dictation, switch the shortcut in Settings; macOS will then prompt for Accessibility permission the first time you enable dictation.</p></div>
</div>
<div id="ftr"><button style="height:28px">Done</button></div>
</div>
</body></html>