chat-logbook 0.7.1 → 0.8.0

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
@@ -50,7 +50,7 @@ The full problem statement, user stories, and direction live in the
50
50
 
51
51
  ## What works today
52
52
 
53
- - **Three-column layout.** Resizable panels for filters, session list,
53
+ - **Three-column layout.** Resizable panels for filters, chat list,
54
54
  and conversation content.
55
55
  - **Rich conversation rendering.** Markdown, syntax-highlighted code
56
56
  blocks, collapsible tool calls with one-line summaries, and collapsible
@@ -58,15 +58,15 @@ The full problem statement, user stories, and direction live in the
58
58
  - **Virtual scrolling.** Long conversations scroll smoothly.
59
59
  - **Solarized Dark theme.** Easy on the eyes, consistent with Claude
60
60
  Code's terminal look.
61
- - **Soft delete with Trash.** Hide sessions you don't want to see; restore
61
+ - **Soft delete with Trash.** Hide chats you don't want to see; restore
62
62
  them anytime.
63
- - **Custom session titles.** Rename any session — click its title in the
63
+ - **Custom chat titles.** Rename any chat — click its title in the
64
64
  list or conversation header, or select it and press `F2` / `↵`. Clear
65
65
  the title to fall back to the first message.
66
66
  - **Local archive.** Every conversation chat-logbook reads is copied into
67
67
  `~/.chat-logbook/archive.db`. The UI reads from the archive, so a
68
- session stays visible even after the source JSONL is gone.
69
- - **Live updates.** While Claude Code is actively writing to a session,
68
+ chat stays visible even after the source JSONL is gone.
69
+ - **Live updates.** While Claude Code is actively writing to a chat,
70
70
  new messages appear in chat-logbook within seconds — no restart
71
71
  needed.
72
72
 
@@ -94,7 +94,7 @@ chat-logbook is running at http://localhost:3100
94
94
  ```
95
95
 
96
96
  A browser window opens automatically, showing a list of your Claude Code
97
- sessions on the left and conversation content on the right.
97
+ chats on the left and conversation content on the right.
98
98
 
99
99
  ### Troubleshooting
100
100
 
@@ -156,13 +156,13 @@ doesn't talk to their servers and isn't endorsed by them.
156
156
 
157
157
  Two phases of work are in flight, in this order.
158
158
 
159
- **Custom titles and tags.** Rename a session to something you'll
159
+ **Custom titles and tags.** Rename a chat to something you'll
160
160
  recognize, attach tags with custom colors, and filter the list by tag or
161
161
  by project. This is the path from "I have a lot of conversations" to
162
162
  "I can find the one I need."
163
163
 
164
164
  **Spotlight search.** A keyboard-driven overlay (`⌘K` or `/`) that
165
- searches across sessions, messages, tags, and projects from one input.
165
+ searches across chats, messages, tags, and projects from one input.
166
166
  A match lands you on the exact message with the term highlighted, and
167
167
  you can jump between every match without leaving the overlay.
168
168
 
@@ -0,0 +1 @@
1
+ ALTER TABLE `sessions_meta` RENAME TO `chats_meta`;
@@ -0,0 +1,17 @@
1
+ ALTER TABLE `sessions` RENAME TO `chats`;--> statement-breakpoint
2
+ ALTER TABLE `chats` RENAME COLUMN `short_code` TO `chat_id`;--> statement-breakpoint
3
+ ALTER TABLE `chats` RENAME COLUMN `source_session_id` TO `source_id`;--> statement-breakpoint
4
+ ALTER TABLE `raw_messages` RENAME COLUMN `session_id` TO `source_id`;--> statement-breakpoint
5
+ DROP INDEX `raw_messages_idem_idx`;--> statement-breakpoint
6
+ CREATE UNIQUE INDEX `raw_messages_idem_idx` ON `raw_messages` (`agent`,`source_id`,`payload_hash`);--> statement-breakpoint
7
+ ALTER TABLE `messages` RENAME COLUMN `session_id` TO `source_id`;--> statement-breakpoint
8
+ DROP INDEX `messages_canonical_idx`;--> statement-breakpoint
9
+ CREATE UNIQUE INDEX `messages_canonical_idx` ON `messages` (`agent`,`source_id`,`message_id`);--> statement-breakpoint
10
+ ALTER TABLE `session_scan_state` RENAME COLUMN `session_id` TO `source_id`;--> statement-breakpoint
11
+ DROP INDEX `session_scan_state_idx`;--> statement-breakpoint
12
+ CREATE UNIQUE INDEX `session_scan_state_idx` ON `session_scan_state` (`agent`,`source_id`);--> statement-breakpoint
13
+ ALTER TABLE `ingestion_events` RENAME COLUMN `session_id` TO `source_id`;--> statement-breakpoint
14
+ DROP INDEX `sessions_agent_source_idx`;--> statement-breakpoint
15
+ CREATE UNIQUE INDEX `chats_agent_source_idx` ON `chats` (`agent`,`source_id`);--> statement-breakpoint
16
+ DROP INDEX `sessions_short_code_unique`;--> statement-breakpoint
17
+ CREATE UNIQUE INDEX `chats_chat_id_unique` ON `chats` (`chat_id`);
@@ -36,6 +36,13 @@
36
36
  "when": 1778671090820,
37
37
  "tag": "0004_worried_mojo",
38
38
  "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1779000000000,
44
+ "tag": "0005_rename_session_to_chat",
45
+ "breakpoints": true
39
46
  }
40
47
  ]
41
48
  }
@@ -15,6 +15,13 @@
15
15
  "when": 1778025600000,
16
16
  "tag": "0001_rekey_sessions_meta",
17
17
  "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1779000000000,
23
+ "tag": "0002_rename_sessions_meta_to_chats_meta",
24
+ "breakpoints": true
18
25
  }
19
26
  ]
20
27
  }