@tanagram/lore 0.1.86 → 0.1.87

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.
Files changed (3) hide show
  1. package/README.md +21 -24
  2. package/dist/index.js +162 -162
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,27 +2,24 @@
2
2
 
3
3
  The command-line interface for Lore.
4
4
 
5
- ## Privacy: Lore only uploads from directories you allow
6
-
7
- By default the Lore daemon does **not** auto-upload any Claude Code
8
- session. You have to opt in per directory. This is the consent-first
9
- contract:
10
-
11
- - Sessions whose cwd is not under one of your upload directories are
12
- ignored by the daemon — they stay on your machine.
13
- - The explicit commands (`lore export`, `lore share-codex`,
14
- `lore share-cowork`) are user-initiated and bypass the upload-dir
15
- gate. You can always opt-in per session.
16
- - The allowlist lives in `~/.lore/upload_dirs.json` (`~/.lore-dev/` in
17
- dev), written with 0600 mode so other users on the same machine can't
18
- read it.
19
-
20
- Adding directories takes a single keystroke on first login — the TUI
21
- shows your most-recent Claude Code project cwds with the top three
22
- pre-checked, and pressing Enter accepts them. `lore listen configure`
23
- re-enters that same interactive flow any time (it's also one of the
24
- quick actions on the `lore` dashboard). For scripted/non-interactive
25
- edits, manage the list directly:
5
+ ## Privacy: Lore uploads according to your local filters
6
+
7
+ The Lore daemon evaluates `~/.lore/upload_filters.json` (`~/.lore-dev/`
8
+ in dev) before auto-uploading Claude Code sessions. Missing config or an
9
+ empty `include` allowlist means upload nothing. Non-empty `include`
10
+ dimensions (`cwd`, `repo`, `skills`) are ANDed together, values within a
11
+ dimension are ORed, and `exclude` rules override includes.
12
+
13
+ The explicit commands (`lore export`, `lore share-codex`,
14
+ `lore share-cowork`) are user-initiated and upload the requested session
15
+ directly.
16
+
17
+ Adding directories through the TUI is a convenience for writing cwd
18
+ include filters. The post-login wizard shows your most-recent Claude Code
19
+ project cwds with the top three pre-checked, and pressing Enter accepts
20
+ them. `lore listen configure` re-enters that same interactive flow any
21
+ time (it's also one of the quick actions on the `lore` dashboard). For
22
+ scripted/non-interactive edits, manage the cwd filters directly:
26
23
 
27
24
  ```sh
28
25
  lore listen configure # re-run the interactive wizard
@@ -34,7 +31,7 @@ lore listen update ~/work --workspace other-corp # reassign workspace
34
31
  lore listen delete ~/code/projectA # stop uploading from
35
32
  ```
36
33
 
37
- Matching uses path-separator-aware **prefix-tree** semantics, so adding
34
+ `cwd` matching uses path-separator-aware **prefix-tree** semantics, so adding
38
35
  `~/code` covers `~/code/projectA`, `~/code/projectA/src`, etc., but
39
36
  deliberately does **not** cover `~/code-other`. The most-specific
40
37
  matching entry wins, so you can have a broad personal `~/` allow plus a
@@ -79,8 +76,8 @@ through Ink in TTY mode:
79
76
  device code panel → polling), then a success box with the resolved
80
77
  LaunchAgent paths. Distinct copy for timed-out / denied / expired.
81
78
  On first login the device-code flow is followed by a one-screen
82
- "Configure upload directories" wizard so the daemon has explicit
83
- consent to upload anything (see Privacy section above).
79
+ "Configure upload directories" wizard that can write cwd include
80
+ filters for users who prefer a directory allowlist workflow.
84
81
  - **`lore enable` / `disable` / `restart`** — spinner with mode-specific
85
82
  copy while launchctl works, then a success or error MessageBox.
86
83
  - **`lore status`** — two-panel view (health on the left, paths on the