Skip to content

Commit 0e8a394

Browse files
vveerrggclaude
andcommitted
build: update Chrome and Safari distros
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 98be2e0 commit 0e8a394

31 files changed

Lines changed: 582843 additions & 244 deletions

distros/chrome/api-keys/api-keys.build.js

Lines changed: 592 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/chrome/background-sw.build.js

Lines changed: 47542 additions & 8 deletions
Large diffs are not rendered by default.

distros/chrome/background.build.js

Lines changed: 47526 additions & 8 deletions
Large diffs are not rendered by default.

distros/chrome/content.build.js

Lines changed: 236 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/chrome/event_history/event_history.build.js

Lines changed: 41295 additions & 11 deletions
Large diffs are not rendered by default.

distros/chrome/experimental/experimental.build.js

Lines changed: 193 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/chrome/full_settings.html

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,24 @@ <h2 class="section-header">Keys</h2>
131131
</div>
132132
</div>
133133

134-
<!-- Normal save button (hidden when ncryptsec is detected) -->
134+
<!-- Seed phrase import: shows when space-separated words detected -->
135+
<div data-section="seedphrase-import" class="mt-3 p-3 border-2 border-monokai-brown rounded" style="display:none;">
136+
<p class="text-sm font-bold">Seed phrase detected (BIP39 mnemonic).</p>
137+
<p class="text-sm italic mt-1">Import your private key from this 24-word seed phrase.</p>
138+
<div
139+
id="seedphrase-import-error"
140+
class="text-red-500 text-sm font-bold mt-1"
141+
style="display:none;"
142+
></div>
143+
<div class="mt-2">
144+
<button
145+
class="button"
146+
data-action="importSeedPhrase"
147+
>Import from Seed Phrase</button>
148+
</div>
149+
</div>
150+
151+
<!-- Normal save button (hidden when ncryptsec or seed phrase is detected) -->
135152
<div class="mt-3">
136153
<button
137154
class="button"
@@ -225,6 +242,38 @@ <h3 class="subsection-header">Export Encrypted Key (NIP-49)</h3>
225242
</div>
226243
</div>
227244

245+
<!-- Seed phrase export -->
246+
<div class="mt-4" id="seedphrase-export-section" style="display:none;">
247+
<h3 class="subsection-header">Show Seed Phrase (BIP39)</h3>
248+
<p class="text-sm italic mt-1">
249+
Export your private key as a 24-word seed phrase you can write
250+
on paper. Keep it secret — anyone with these words controls your key.
251+
</p>
252+
<div class="mt-2">
253+
<button
254+
class="button"
255+
data-action="revealSeedPhrase"
256+
>Reveal Seed Phrase</button>
257+
</div>
258+
<div
259+
id="seedphrase-export-reveal"
260+
class="mt-2 p-3 border-2 border-red-700 rounded bg-red-50"
261+
style="display:none;"
262+
>
263+
<p class="text-red-800 text-sm font-bold">Secret seed phrase — keep this safe!</p>
264+
<textarea
265+
id="seedphrase-export-text"
266+
class="input w-full font-mono text-xs mt-2"
267+
rows="3"
268+
readonly
269+
></textarea>
270+
<div class="mt-2 flex gap-2">
271+
<button class="button" data-action="copySeedPhrase">Copy</button>
272+
<button class="button" data-action="hideSeedPhrase">Hide</button>
273+
</div>
274+
</div>
275+
</div>
276+
228277
<!-- BUNKER CONNECTION (bunker profiles only) -->
229278
<div class="section" data-section="bunker" style="display:none;">
230279
<h2 class="section-header">Bunker Connection</h2>

distros/chrome/nostr.build.js

Lines changed: 91 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

distros/chrome/options.build.css

Lines changed: 1922 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)