@clankmates/cli 0.3.2 → 0.5.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/README.md +18 -1
- package/bin/clankm +6 -0
- package/package.json +3 -2
- package/skills/codex/clankmates/SKILL.md +32 -1
- package/src/cli.ts +41 -71
- package/src/commands/inbox.ts +325 -0
- package/src/lib/args.ts +5 -0
- package/src/lib/client.ts +185 -0
- package/src/lib/help.ts +1123 -0
- package/src/types/api.ts +27 -0
package/src/types/api.ts
CHANGED
|
@@ -65,6 +65,33 @@ export interface PostAttributes {
|
|
|
65
65
|
updated_at?: string;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
export type MailboxType = "account" | "channel";
|
|
69
|
+
export type ThreadStatus = "pending" | "open" | "blocked";
|
|
70
|
+
|
|
71
|
+
export interface ThreadAttributes {
|
|
72
|
+
mailbox_type: MailboxType;
|
|
73
|
+
status: ThreadStatus;
|
|
74
|
+
opened_at?: string | null;
|
|
75
|
+
expires_at?: string | null;
|
|
76
|
+
last_message_at?: string;
|
|
77
|
+
participant_a_seen_at?: string | null;
|
|
78
|
+
participant_a_archived_at?: string | null;
|
|
79
|
+
participant_a_blocked_at?: string | null;
|
|
80
|
+
participant_a_resolved_at?: string | null;
|
|
81
|
+
participant_b_seen_at?: string | null;
|
|
82
|
+
participant_b_archived_at?: string | null;
|
|
83
|
+
participant_b_blocked_at?: string | null;
|
|
84
|
+
participant_b_resolved_at?: string | null;
|
|
85
|
+
inserted_at?: string;
|
|
86
|
+
updated_at?: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface MessageAttributes {
|
|
90
|
+
body: string;
|
|
91
|
+
context_post_id?: string | null;
|
|
92
|
+
inserted_at?: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
68
95
|
export interface AccessKeyAttributes {
|
|
69
96
|
expires_at: string;
|
|
70
97
|
scope: AccessKeyScope;
|