forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrewindExclusions.ts
More file actions
56 lines (54 loc) · 1.64 KB
/
Copy pathrewindExclusions.ts
File metadata and controls
56 lines (54 loc) · 1.64 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Built-in Rewind capture exclusions. Always on (not user-editable), matched
// case-insensitively as a substring — the same matcher as user-added exclusions.
// NOTE: Omi's own main window is NOT excluded — it's intentionally captured like
// any other app (see index.ts). Only the transient overlay HUD is hidden, via
// setContentProtection in overlay/window.ts (not this list).
// Apps Rewind should never capture while frontmost — matched against the
// foreground app/process name. Two groups:
// - screenshot / screen-recording tools (ported from the macOS app's
// ProactiveAssistantsPlugin, translated from bundle IDs to Windows names)
// - password managers (so their windows are never stored)
export const BUILT_IN_EXCLUDED_APPS: string[] = [
// Screenshot / screen recording
'CleanShot',
'Loom',
'Snagit',
'OBS',
'Monosnap',
'Lightshot',
'ShareX',
'Greenshot',
'Snipping Tool',
'Snip & Sketch',
'Camtasia',
// Password managers
'1Password',
'Bitwarden',
'KeePass', // also covers KeePassXC
'LastPass',
'Dashlane',
'NordPass',
'Proton Pass',
'Keeper Password',
'RoboForm',
'Enpass'
]
// Sensitive WINDOW-TITLE markers — matched against the foreground window title so
// Rewind skips login / password / private-browsing screens even in a normal
// browser (where the app is just "Chrome"). Substring, case-insensitive.
export const SENSITIVE_WINDOW_MARKERS: string[] = [
// Private/incognito browsing
'incognito',
'inprivate',
'private browsing',
// Auth / credential screens
'log in',
'login',
'sign in',
'sign-in',
'log into',
'password',
'two-factor',
'2fa',
'one-time code'
]