@tanagram/lore 0.1.10 → 0.1.12

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 +0 -35
  2. package/dist/index.js +42 -42
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,38 +14,3 @@ The Lore CLI.
14
14
  - `lore disable` — stops and removes the macOS background uploader.
15
15
  - `lore restart` — restarts the macOS background uploader.
16
16
  - `lore status` / `lore status --json` — shows background uploader health.
17
-
18
- ## Dev vs prod
19
-
20
- The CLI is environment-stamped at build time (esbuild `--define`), not via
21
- runtime env vars. The published `@tanagram/lore` on npm is pinned to prod;
22
- anything built locally (`pnpm build`, `tsx`, `pnpm dev`) is pinned to dev.
23
-
24
- Because both can be installed on the same machine, they keep separate state
25
- dirs so they don't stomp each other:
26
-
27
- | Env | State dir | Log file |
28
- | ---- | --------------- | --------------------- |
29
- | prod | `~/.lore/` | `~/.lore/log.txt` |
30
- | dev | `~/.lore-dev/` | `~/.lore-dev/log.txt` |
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
-
37
- `lore login` stores its token in the active state dir as `token` (for example,
38
- `~/.lore-dev/token` in local dev). The CLI does not read token environment
39
- variables; use `lore logout` to remove the stored token.
40
-
41
- Run `lore logs` to print the active log file path. In dev, log lines also
42
- tee to stderr so you see them while iterating; in prod the file is the only
43
- sink so installed users don't see noise on every command.
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
-
50
- `pnpm dev` runs the CLI postinstall hook before starting so bundled dev skills
51
- are refreshed in `~/.claude/skills` on each dev session.