chat-logbook 0.7.1 → 0.9.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 +12 -8
- package/api/dist/drizzle/0002_rename_sessions_meta_to_chats_meta.sql +1 -0
- package/api/dist/drizzle/archive/0005_rename_session_to_chat.sql +17 -0
- package/api/dist/drizzle/archive/0006_add_project_path.sql +1 -0
- package/api/dist/drizzle/archive/meta/_journal.json +14 -0
- package/api/dist/drizzle/meta/_journal.json +7 -0
- package/api/dist/index.js +144 -128
- package/package.json +1 -1
- package/web/dist/assets/index-BCIIypHs.js +57 -0
- package/web/dist/assets/index-rSLP4i1P.css +2 -0
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BCVd1SRQ.css +0 -2
- package/web/dist/assets/index-Cl7dcz04.js +0 -46
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,
|
|
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,17 +58,21 @@ 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
|
|
61
|
+
- **Soft delete with Trash.** Hide chats you don't want to see; restore
|
|
62
62
|
them anytime.
|
|
63
|
-
- **Custom
|
|
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
|
-
|
|
69
|
-
- **Live updates.** While Claude Code is actively writing to a
|
|
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
|
+
- **Chat metadata at a glance.** A ⓘ button on the conversation
|
|
73
|
+
header opens a popover showing when the chat started, when it was
|
|
74
|
+
last updated, the agent, the project working directory, and the
|
|
75
|
+
chat's IDs — with one-click copy.
|
|
72
76
|
|
|
73
77
|
## Quick start
|
|
74
78
|
|
|
@@ -94,7 +98,7 @@ chat-logbook is running at http://localhost:3100
|
|
|
94
98
|
```
|
|
95
99
|
|
|
96
100
|
A browser window opens automatically, showing a list of your Claude Code
|
|
97
|
-
|
|
101
|
+
chats on the left and conversation content on the right.
|
|
98
102
|
|
|
99
103
|
### Troubleshooting
|
|
100
104
|
|
|
@@ -156,13 +160,13 @@ doesn't talk to their servers and isn't endorsed by them.
|
|
|
156
160
|
|
|
157
161
|
Two phases of work are in flight, in this order.
|
|
158
162
|
|
|
159
|
-
**Custom titles and tags.** Rename a
|
|
163
|
+
**Custom titles and tags.** Rename a chat to something you'll
|
|
160
164
|
recognize, attach tags with custom colors, and filter the list by tag or
|
|
161
165
|
by project. This is the path from "I have a lot of conversations" to
|
|
162
166
|
"I can find the one I need."
|
|
163
167
|
|
|
164
168
|
**Spotlight search.** A keyboard-driven overlay (`⌘K` or `/`) that
|
|
165
|
-
searches across
|
|
169
|
+
searches across chats, messages, tags, and projects from one input.
|
|
166
170
|
A match lands you on the exact message with the term highlighted, and
|
|
167
171
|
you can jump between every match without leaving the overlay.
|
|
168
172
|
|
|
@@ -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`);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE `chats` ADD `project_path` text;
|
|
@@ -36,6 +36,20 @@
|
|
|
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
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"idx": 6,
|
|
49
|
+
"version": "6",
|
|
50
|
+
"when": 1779100000000,
|
|
51
|
+
"tag": "0006_add_project_path",
|
|
52
|
+
"breakpoints": true
|
|
39
53
|
}
|
|
40
54
|
]
|
|
41
55
|
}
|