@hasna/contacts 0.6.35 → 0.6.36
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 +10 -1
- package/dist/cli/commands/advanced.d.ts.map +1 -1
- package/dist/cli/index.js +1934 -533
- package/dist/db/database.d.ts +1 -1
- package/dist/db/database.d.ts.map +1 -1
- package/dist/db/paths.d.ts +12 -0
- package/dist/db/paths.d.ts.map +1 -1
- package/dist/index.js +192 -52
- package/dist/lib/vault.d.ts +5 -1
- package/dist/lib/vault.d.ts.map +1 -1
- package/dist/mcp/handlers/advanced.d.ts.map +1 -1
- package/dist/mcp/index.js +715 -264
- package/dist/mcp/tools.d.ts +3 -3
- package/dist/server/index.js +728 -286
- package/hasna.contract.json +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -139,7 +139,16 @@ database.
|
|
|
139
139
|
|
|
140
140
|
## Data Directory
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
On-box data resolves through the XDG dirs per `@hasna/paths`:
|
|
143
|
+
|
|
144
|
+
- documents, the SQLite store, `config.json` and the vault config live in the
|
|
145
|
+
**XDG data root**: `~/.local/share/hasna/contacts/` (or `$HASNA_DATA_HOME/contacts`).
|
|
146
|
+
- the vault session state lives in the **XDG state root**:
|
|
147
|
+
`~/.local/state/hasna/contacts/` (or `$HASNA_STATE_HOME/contacts`).
|
|
148
|
+
|
|
149
|
+
The legacy `~/.hasna/contacts/` home is never written to; on first use any
|
|
150
|
+
pre-existing legacy store is adopted into the XDG roots (never clobbering an
|
|
151
|
+
existing XDG store).
|
|
143
152
|
|
|
144
153
|
## License
|
|
145
154
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/advanced.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/advanced.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAs5B/D"}
|