@seguelac/aca-cli 0.8.0 → 0.8.1
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/CHANGELOG.md +5 -0
- package/dist/commands/inbox.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `aca-cli` are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/).
|
|
4
4
|
|
|
5
|
+
## [0.8.1] - 2026-11-09
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **`aca inbox show` failed on every conversation** with `column crm_messages.sent_at does not exist`. It asked for `sent_at`, `received_at` and `sender_external_id`, which `crm_messages` doesn't have. It now reads `direction`, `sender_type`, `content`, `status`, `created_at`, `delivered_at` and `read_at`, newest last.
|
|
9
|
+
|
|
5
10
|
## [0.8.0] - 2026-11-04
|
|
6
11
|
|
|
7
12
|
### Added
|
package/dist/commands/inbox.js
CHANGED
|
@@ -29,7 +29,7 @@ export function registerInbox(program) {
|
|
|
29
29
|
.option('--json', 'Emit JSON')
|
|
30
30
|
.action(async (conversationId, opts) => {
|
|
31
31
|
const conv = await restGet(`crm_conversations?id=eq.${conversationId}&select=*,crm_contacts(display_name,company,primary_email,primary_linkedin_url)`);
|
|
32
|
-
const messages = await restGet(`crm_messages?conversation_id=eq.${conversationId}&select=id,direction,content,
|
|
32
|
+
const messages = await restGet(`crm_messages?conversation_id=eq.${conversationId}&select=id,direction,sender_type,content,status,created_at,delivered_at,read_at&order=created_at.desc&limit=${opts.limit}`);
|
|
33
33
|
output({ conversation: conv[0] ?? null, messages: messages.reverse() }, { json: opts.json });
|
|
34
34
|
});
|
|
35
35
|
inbox
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seguelac/aca-cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Command-line interface for ACA (Automated Client Acquisition) — push leads to campaigns, triage replies, manage contacts, all from your terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|