@tanagram/lore 0.1.62 → 0.1.64

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/lore",
3
- "version": "0.1.62",
3
+ "version": "0.1.64",
4
4
  "description": "Lore CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -6,16 +6,16 @@ description: >-
6
6
  threads by filepath, author, or time range. Examples: "show me that Lore
7
7
  thread", "what did my coworker share on Lore last week", "find Lore
8
8
  threads that touched src/foo.ts", "list recent Lore sessions". Shells out
9
- to the `tanagram lore get` and `tanagram lore list` CLI commands.
9
+ to the `lore threads get` and `lore threads list` CLI commands.
10
10
  allowed-tools: Bash
11
11
  ---
12
12
 
13
13
  # Read from Lore
14
14
 
15
- Fetches data from Lore via the `tanagram` CLI. Two underlying commands:
15
+ Fetches data from Lore via the `lore` CLI. Two underlying commands:
16
16
 
17
- - `tanagram lore get <thread-id-or-url>` — fetch a single thread by ID or session URL.
18
- - `tanagram lore list [flags]` — list/search threads with optional filters.
17
+ - `lore threads get <thread-id-or-url>` — fetch a single thread by ID or session URL.
18
+ - `lore threads list [flags]` — list/search threads with optional filters.
19
19
 
20
20
  Both print a JSON payload on stdout. Parse the JSON and summarize for the user; only show raw JSON if they ask for it.
21
21
 
@@ -36,7 +36,7 @@ Do NOT run proactively. Only on explicit request.
36
36
  When the user gives a thread ID (`th_...`) or a Lore session URL (`https://lore.tanagram.ai/session/th_...`):
37
37
 
38
38
  ```bash
39
- tanagram lore get <thread-id-or-url>
39
+ lore threads get <thread-id-or-url>
40
40
  ```
41
41
 
42
42
  The argument can be either form — the CLI extracts the thread ID from a URL automatically.
@@ -44,18 +44,18 @@ The argument can be either form — the CLI extracts the thread ID from a URL au
44
44
  ## Listing / Searching Threads
45
45
 
46
46
  ```bash
47
- tanagram lore list [--before <cursor>] [--after <cursor>] \
48
- [--author-ids <id1,id2,...>] \
49
- [--created-at <unix> | <start>...<end>] \
50
- [--filepath-prefixes <prefix1,prefix2,...>]
47
+ lore threads list [--before <cursor>] [--after <cursor>] \
48
+ [--author_ids <id1,id2,...>] \
49
+ [--created_at <unix> | <start>...<end>] \
50
+ [--filepath_prefixes <prefix1,prefix2,...>]
51
51
  ```
52
52
 
53
53
  Flag reference:
54
54
 
55
- - `--filepath-prefixes` — comma-separated filepath prefixes. Matches threads whose sessions touched files under any of those prefixes. Use this for "threads about <some path>".
56
- - `--author-ids` — comma-separated **Lore user IDs** (not names or emails). If the user names a coworker, you need their Lore user ID; if you don't have it, ask the user or fetch a recent unfiltered list and look for their ID in the results before filtering.
57
- - `--created-at` — either a single Unix timestamp (seconds) or a `<start>...<end>` range of Unix timestamps. Convert any human time range ("last week", "since Monday") into Unix seconds before passing. Today is provided in the system context.
58
- - `--before` / `--after` — pagination cursors returned in a previous list response. Use these to page through large result sets, not for time filtering (that's `--created-at`).
55
+ - `--filepath_prefixes` — comma-separated filepath prefixes. Matches threads whose sessions touched files under any of those prefixes. Use this for "threads about <some path>".
56
+ - `--author_ids` — comma-separated **Lore user IDs** (not names or emails). If the user names a coworker, you need their Lore user ID; if you don't have it, ask the user or fetch a recent unfiltered list and look for their ID in the results before filtering.
57
+ - `--created_at` — either a single Unix timestamp (seconds) or a `<start>...<end>` range of Unix timestamps. Convert any human time range ("last week", "since Monday") into Unix seconds before passing. Today is provided in the system context.
58
+ - `--before` / `--after` — pagination cursors returned in a previous list response. Use these to page through large result sets, not for time filtering (that's `--created_at`).
59
59
 
60
60
  Combine flags freely — they AND together server-side.
61
61
 
@@ -70,9 +70,9 @@ Both commands emit a single JSON object/array on stdout. After running:
70
70
 
71
71
  ## Failure Modes
72
72
 
73
- - **Not logged in**: command returns `not logged in - run 'tanagram login' first`. Tell the user to run `tanagram login`.
74
- - **Bad thread ref**: `tanagram lore get` requires either a `th_...` ID or a Lore session URL. If the user passes something else, ask them to clarify or provide the URL.
75
- - **Unknown author**: `--author-ids` only accepts Lore user IDs. If the user gives a name/email and you don't have a mapping, run `tanagram lore list` without the author filter (optionally narrowed by `--created-at` or `--filepath-prefixes`) and find the ID from the results, or ask the user.
73
+ - **Not logged in**: command returns `not logged in run 'lore login' first`. Tell the user to run `lore login`.
74
+ - **Bad thread ref**: `lore threads get` requires either a `th_...` ID or a Lore session URL. If the user passes something else, ask them to clarify or provide the URL.
75
+ - **Unknown author**: `--author_ids` only accepts Lore user IDs. If the user gives a name/email and you don't have a mapping, run `lore threads list` without the author filter (optionally narrowed by `--created_at` or `--filepath_prefixes`) and find the ID from the results, or ask the user.
76
76
  - **Empty results**: not an error — tell the user no threads matched and suggest loosening filters.
77
77
 
78
78
  ## What This Does NOT Do