Colony CLI: inbox + ack commands

- colony inbox [--json] — show unacked inbox items
- colony ack <id> [--all] [--quiet] — ack items
- Client methods: get_inbox(), ack_inbox()
- AckRequest gets Serialize derive for CLI use

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 22:44:21 +02:00
parent 2127bf4ef0
commit 321adfb9e9
3 changed files with 71 additions and 1 deletions

View File

@@ -114,7 +114,7 @@ pub struct InboxQuery {
pub user: String,
}
#[derive(Debug, Deserialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct AckRequest {
pub ids: Vec<i64>,
}