@tanagram/lore 0.1.87 → 0.1.88

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 CHANGED
@@ -6,23 +6,26 @@ The command-line interface for Lore.
6
6
 
7
7
  The Lore daemon evaluates `~/.lore/upload_filters.json` (`~/.lore-dev/`
8
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.
9
+ empty `include` allowlist means upload nothing. The `cwd` and `repo`
10
+ allowlists are a union: a session is location-allowed if it matches a
11
+ `cwd` rule OR a `repo` rule (so a non-git directory uploads via its `cwd`
12
+ even when `repo` rules also exist). When set, `include.skills` further
13
+ narrows that set (ANDed). Values within a dimension are ORed, and
14
+ `exclude` rules override includes.
12
15
 
13
16
  The explicit commands (`lore export`, `lore share-codex`,
14
17
  `lore share-cowork`) are user-initiated and upload the requested session
15
18
  directly.
16
19
 
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
20
+ Adding repos and directories through the TUI is a convenience for writing
21
+ `repo` and `cwd` include filters. The post-login wizard shows your
22
+ most-recent Claude Code projects with the top three pre-checked: a project
23
+ inside a git repo is offered as its `origin` remote, and a non-repo
24
+ directory is offered by its path. Pressing Enter accepts them. `lore configure` re-enters that same interactive flow any time
25
+ (it's also one of the quick actions on the `lore` dashboard). For
22
26
  scripted/non-interactive edits, manage the cwd filters directly:
23
27
 
24
28
  ```sh
25
- lore listen configure # re-run the interactive wizard
26
29
  lore listen create ~/code/projectA # watch ~/code/projectA
27
30
  lore listen create ~/work --workspace acme # route work to a non-default workspace
28
31
  lore listen list # tabular output
@@ -76,8 +79,8 @@ through Ink in TTY mode:
76
79
  device code panel → polling), then a success box with the resolved
77
80
  LaunchAgent paths. Distinct copy for timed-out / denied / expired.
78
81
  On first login the device-code flow is followed by a one-screen
79
- "Configure upload directories" wizard that can write cwd include
80
- filters for users who prefer a directory allowlist workflow.
82
+ "Configure uploads" wizard that writes `repo` and `cwd` include
83
+ filters from your recent repos and directories.
81
84
  - **`lore enable` / `disable` / `restart`** — spinner with mode-specific
82
85
  copy while launchctl works, then a success or error MessageBox.
83
86
  - **`lore status`** — two-panel view (health on the left, paths on the
@@ -143,8 +146,8 @@ Esc to return to the sidebar, and q to exit.
143
146
  - `lore disable` — stops and removes the macOS background uploader.
144
147
  - `lore restart` — restarts the macOS background uploader.
145
148
  - `lore status` / `lore status --json` — shows background uploader health.
146
- - `lore listen configure` — re-enter the interactive wizard for picking
147
- the directories Lore auto-uploads from (the same flow shown on first
149
+ - `lore configure` — re-enter the interactive wizard for picking the
150
+ directories Lore auto-uploads from (the same flow shown on first
148
151
  login). Requires an interactive terminal.
149
152
  - `lore listen create <path> [--workspace <name>]` — allowlist a directory for
150
153
  daemon auto-uploads. Defaults to your active workspace; pass workspace
@@ -161,7 +164,9 @@ Esc to return to the sidebar, and q to exit.
161
164
  JSON object with the thread URL. Use `--session-id <id>` to pick a specific
162
165
  session, `--project <path>` to override the project lookup, and
163
166
  `--visibility private|workspace|public` to set the resulting thread's
164
- visibility. The URL is also copied to the system clipboard when a clipboard
167
+ visibility. Use `--highlight <description>` to have the API resolve a
168
+ natural-language share highlight and return a `/thread/<id>#tb_…` block
169
+ anchor or range when it finds a match. The URL is also copied to the system clipboard when a clipboard
165
170
  tool is available (`pbcopy` / `wl-copy` / `xclip` / `xsel` / `clip.exe`).
166
171
  - `lore share-cowork` — shares a Claude Cowork local-agent-mode session
167
172
  to Lore. Defaults to the current session when run from inside one
@@ -171,7 +176,7 @@ Esc to return to the sidebar, and q to exit.
171
176
  Use `--session <session-id>` to share a specific session by id, or
172
177
  `--list` to enumerate local sessions newest-first without sharing.
173
178
  Re-running for the same session converges to the same thread (md5
174
- dedup), so it's safe to retry. Prints the resulting `/session/<id>`
179
+ dedup), so it's safe to retry. Prints the resulting `/thread/<id>`
175
180
  URL on success.
176
181
 
177
182
  ## Dev vs prod