You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+31-29Lines changed: 31 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,8 @@ The popup deliberately keeps **two separate password values** in state (`randomP
49
49
50
50
### Pure logic (`src/utils/`)
51
51
52
-
-`password.ts` — all cryptographic generation, scoring, color interpolation. Pure functions, no DOM or chrome.* dependencies. **This is the security-critical module.** All tests live in `__tests__/password.test.ts`.
53
-
-`wordlist.ts` — frozen 2,048-word list (BIP39-style). The exact size is load-bearing for `calculatePassphraseEntropy` (entropy = wordCount * log2(2048) = 11 bits/word).
52
+
-`password.ts` — all cryptographic generation, scoring, color interpolation. Pure functions, no DOM or chrome.\* dependencies. **This is the security-critical module.** All tests live in `__tests__/password.test.ts`.
53
+
-`wordlist.ts` — frozen 2,048-word list (BIP39-style). The exact size is load-bearing for `calculatePassphraseEntropy` (entropy = wordCount \* log2(2048) = 11 bits/word).
54
54
-`defaults.ts` — `Settings` interface, `DEFAULT_SETTINGS`, and `STORAGE_KEY` constant. The whole settings object is stored under one sync-storage key; do not split across keys.
55
55
56
56
### Settings persistence
@@ -84,6 +84,7 @@ When touching `password.ts`, run `pnpm test` before considering the change done.
84
84
- Svelte 5 runes only (`$state`, `$derived`, `$effect`). Do not introduce stores or Svelte 4 reactive `$:` syntax.
85
85
86
86
<!-- gitnexus:start -->
87
+
87
88
# GitNexus — Code Intelligence
88
89
89
90
This project is indexed by GitNexus as **PasswordGenerator** (82 symbols, 95 relationships, 1 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
@@ -120,35 +121,36 @@ This project is indexed by GitNexus as **PasswordGenerator** (82 symbols, 95 rel
120
121
121
122
## Tools Quick Reference
122
123
123
-
| Tool | When to use | Command |
124
-
|------|-------------|---------|
125
-
|`query`| Find code by concept |`gitnexus_query({query: "auth validation"})`|
126
-
|`context`| 360-degree view of one symbol |`gitnexus_context({name: "validateUser"})`|
127
-
|`impact`| Blast radius before editing |`gitnexus_impact({target: "X", direction: "upstream"})`|
0 commit comments