estatehelm 1.0.0

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/README.md ADDED
@@ -0,0 +1,181 @@
1
+ # EstateHelm CLI
2
+
3
+ Command-line tools for EstateHelm, including an MCP (Model Context Protocol) server for AI assistants like Claude Code.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -g estatehelm
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ### 1. Login
14
+
15
+ ```bash
16
+ estatehelm login
17
+ ```
18
+
19
+ This will:
20
+ 1. Open your browser for OAuth authentication
21
+ 2. Prompt for your Recovery Key
22
+ 3. Register this device as a trusted device
23
+ 4. Sync your encrypted data locally
24
+
25
+ ### 2. Configure Claude Code
26
+
27
+ Add to your `~/.claude.json` (or Claude Code settings):
28
+
29
+ ```json
30
+ {
31
+ "mcpServers": {
32
+ "estatehelm": {
33
+ "command": "estatehelm",
34
+ "args": ["mcp"]
35
+ }
36
+ }
37
+ }
38
+ ```
39
+
40
+ ### 3. Use with Claude Code
41
+
42
+ Start Claude Code and you can now ask questions like:
43
+ - "What pets do I have?"
44
+ - "Show me upcoming maintenance tasks"
45
+ - "What's the WiFi password for the cabin?"
46
+ - "What insurance policies are expiring soon?"
47
+
48
+ ## Commands
49
+
50
+ ### `estatehelm login`
51
+
52
+ Authenticate with EstateHelm and register this device.
53
+
54
+ ### `estatehelm logout`
55
+
56
+ Remove credentials and revoke device access.
57
+
58
+ ### `estatehelm mcp [options]`
59
+
60
+ Start the MCP server.
61
+
62
+ Options:
63
+ - `-m, --mode <mode>` - Privacy mode: `full` (default) or `safe`
64
+ - `--poll <interval>` - Background sync interval (e.g., `15m`)
65
+
66
+ ### `estatehelm status`
67
+
68
+ Show current login status and cache information.
69
+
70
+ ### `estatehelm sync`
71
+
72
+ Force sync cache from server.
73
+
74
+ ### `estatehelm cache clear`
75
+
76
+ Clear local cache (keeps credentials).
77
+
78
+ ### `estatehelm cache stats`
79
+
80
+ Show cache statistics.
81
+
82
+ ### `estatehelm config set <key> <value>`
83
+
84
+ Set a configuration value.
85
+
86
+ Available keys:
87
+ - `defaultMode` - Default privacy mode (`full` or `safe`)
88
+
89
+ ### `estatehelm config get [key]`
90
+
91
+ Get configuration value(s).
92
+
93
+ ## Privacy Modes
94
+
95
+ ### Full Mode (default)
96
+
97
+ All data is returned as-is. Use this when you're alone and want full access.
98
+
99
+ ```bash
100
+ estatehelm mcp --mode full
101
+ ```
102
+
103
+ ### Safe Mode
104
+
105
+ Sensitive fields (passwords, account numbers, etc.) are redacted. Use this when sharing your screen or when uncertain.
106
+
107
+ ```bash
108
+ estatehelm mcp --mode safe
109
+ ```
110
+
111
+ Redacted fields by entity type:
112
+ - `password`: password, notes
113
+ - `identity`: password, recoveryKey, securityAnswers
114
+ - `bank_account`: accountNumber, routingNumber
115
+ - `investment`: accountNumber
116
+ - `access_code`: code, pin
117
+ - `credential`: documentNumber (shows last 4)
118
+
119
+ ## MCP Resources
120
+
121
+ The server exposes your EstateHelm data as MCP resources:
122
+
123
+ - `estatehelm://households` - List all households
124
+ - `estatehelm://households/{id}` - Specific household
125
+ - `estatehelm://households/{id}/pets` - Pets in household
126
+ - `estatehelm://households/{id}/properties` - Properties
127
+ - `estatehelm://households/{id}/vehicles` - Vehicles
128
+ - `estatehelm://households/{id}/contacts` - Contacts
129
+ - `estatehelm://households/{id}/insurance` - Insurance policies
130
+ - `estatehelm://households/{id}/bank_account` - Bank accounts
131
+ - And more...
132
+
133
+ ## MCP Tools
134
+
135
+ - `search_entities` - Full-text search across entities
136
+ - `get_household_summary` - Overview with counts
137
+ - `get_expiring_items` - Items expiring soon
138
+ - `refresh` - Force re-sync from server
139
+
140
+ ## Security
141
+
142
+ - **Zero-knowledge**: Your data is encrypted locally. The server never sees plaintext.
143
+ - **Recovery key**: Only used locally for key derivation. Never uploaded.
144
+ - **Device revocable**: Remove from Settings → Trusted Devices in EstateHelm
145
+ - **OS keychain**: Credentials stored securely in your OS keychain
146
+ - **Safe mode**: Optional field-level redaction for sensitive data
147
+
148
+ ## Data Location
149
+
150
+ ```
151
+ macOS: ~/Library/Application Support/estatehelm/
152
+ Windows: C:\Users\<name>\AppData\Roaming\estatehelm\
153
+ Linux: ~/.local/share/estatehelm/
154
+
155
+ Contents:
156
+ ├── cache.db # SQLite database (encrypted entities)
157
+ ├── config.json # User preferences
158
+ └── .device-id # Device identifier
159
+ ```
160
+
161
+ ## Troubleshooting
162
+
163
+ ### "Not logged in"
164
+
165
+ Run `estatehelm login` to authenticate.
166
+
167
+ ### "Failed to load encryption keys"
168
+
169
+ Your credentials may have been revoked. Run `estatehelm logout` then `estatehelm login` again.
170
+
171
+ ### "Device was removed"
172
+
173
+ The device was revoked from EstateHelm settings. Run `estatehelm login` to re-register.
174
+
175
+ ### Cache issues
176
+
177
+ Try clearing the cache: `estatehelm cache clear`, then `estatehelm sync`.
178
+
179
+ ## License
180
+
181
+ Proprietary. Copyright EstateHelm.