@tanagram/lore 0.1.8 → 0.1.10

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 +14 -0
  2. package/dist/index.js +81 -41
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -10,6 +10,10 @@ The Lore CLI.
10
10
  - `lore logout` — removes the stored CLI token.
11
11
  - `lore health` — calls the API health endpoint.
12
12
  - `lore logs` — prints the path to the log file.
13
+ - `lore enable` — installs and starts the macOS background uploader.
14
+ - `lore disable` — stops and removes the macOS background uploader.
15
+ - `lore restart` — restarts the macOS background uploader.
16
+ - `lore status` / `lore status --json` — shows background uploader health.
13
17
 
14
18
  ## Dev vs prod
15
19
 
@@ -25,6 +29,11 @@ dirs so they don't stomp each other:
25
29
  | prod | `~/.lore/` | `~/.lore/log.txt` |
26
30
  | dev | `~/.lore-dev/` | `~/.lore-dev/log.txt` |
27
31
 
32
+ The macOS background uploader is also environment-specific: prod writes
33
+ `~/Library/LaunchAgents/ai.tanagram.lore.plist`, while non-prod builds append
34
+ the active environment name (for example,
35
+ `~/Library/LaunchAgents/ai.tanagram.lore.dev.plist`).
36
+
28
37
  `lore login` stores its token in the active state dir as `token` (for example,
29
38
  `~/.lore-dev/token` in local dev). The CLI does not read token environment
30
39
  variables; use `lore logout` to remove the stored token.
@@ -33,5 +42,10 @@ Run `lore logs` to print the active log file path. In dev, log lines also
33
42
  tee to stderr so you see them while iterating; in prod the file is the only
34
43
  sink so installed users don't see noise on every command.
35
44
 
45
+ Run `lore enable` to have launchd watch Claude Code history and upload finished
46
+ sessions in the background. The uploader snapshots transcript files to a temp
47
+ location before creating upload sessions so file contents cannot change between
48
+ MD5 calculation and presigned upload.
49
+
36
50
  `pnpm dev` runs the CLI postinstall hook before starting so bundled dev skills
37
51
  are refreshed in `~/.claude/skills` on each dev session.