@lmctl-ai/lmctl 0.1.210 → 0.1.212
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 +21 -5
- package/dist/cli/index.js +564 -529
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,7 @@ lmctl lint ./my-project/my-project.lmctl
|
|
|
46
46
|
lmctl seed ./my-project/my-project.lmctl
|
|
47
47
|
lmctl chat ./my-project/my-project.lmctl Lead "Inspect the repo and propose next steps."
|
|
48
48
|
lmctl mail sent --json
|
|
49
|
+
lmctl mail deliver msg_mbx_123 --json
|
|
49
50
|
lmctl mail sent --limit 100 --cursor "$NEXT_CURSOR" --json
|
|
50
51
|
```
|
|
51
52
|
|
|
@@ -84,11 +85,17 @@ sqlite3 ~/.lmctl/state.db "INSERT OR REPLACE INTO lmctl_config(key,value,updated
|
|
|
84
85
|
sqlite3 ~/.lmctl/state.db "INSERT OR REPLACE INTO lmctl_config(key,value,updated_at) VALUES('workspace.provider3','gemini',strftime('%Y-%m-%dT%H:%M:%fZ','now'));"
|
|
85
86
|
```
|
|
86
87
|
|
|
87
|
-
`lmctl mail` exposes
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
`lmctl mail` exposes low-level primitives over the event-log substrate: list
|
|
89
|
+
pending or sent messages, read event history/content, inspect historical
|
|
90
|
+
provider evidence and causal lineage, declare handling/acknowledgement, and
|
|
91
|
+
deliver one specifically addressed queued message. A `mail deliver` call is
|
|
92
|
+
one provider turn for only that message; same-lane messages stay queued for
|
|
93
|
+
separate calls, leaving ordering and retry policy to the external consumer.
|
|
94
|
+
Read commands stay event-substrate-only; deliver deliberately follows the
|
|
95
|
+
CREATE event's legacy mailbox-row reference into the existing live delivery
|
|
96
|
+
machinery until that write path is fully cut over.
|
|
97
|
+
Missing causal capture is shown as an explicit tree root rather than guessed
|
|
98
|
+
from timestamps.
|
|
92
99
|
For every `mail` subcommand, `--json` is the stable external contract and
|
|
93
100
|
includes `schema_version: 1`; default text output is for humans and may change.
|
|
94
101
|
JSON failures use `{status:"error", errorKind, message}`. The unbounded `sent`
|
|
@@ -104,6 +111,15 @@ Stable top-level success fields are:
|
|
|
104
111
|
- `history`: `schema_version`, `schema`, `message_id`, `events`.
|
|
105
112
|
- `seen`: `schema_version`, `schema`, `message_id`, `receiver`, `db`,
|
|
106
113
|
`transcript`, `answered`.
|
|
114
|
+
- `pending`: `schema_version`, `schema`, `filters`, `messages`.
|
|
115
|
+
- `read`: `schema_version`, `schema`, `message_id`, `message_type`,
|
|
116
|
+
`in_reply_to`, `sender`, `receiver`, `content`, `pending_state`.
|
|
117
|
+
- `deliver`: `schema_version`, `schema`, `message_id`, `message_type`,
|
|
118
|
+
`receiver`, `outcome`, `provider_status`, `message`.
|
|
119
|
+
- `handle`: `schema_version`, `schema`, `message_id`, `handling_by`,
|
|
120
|
+
`handling_at`, `appended`.
|
|
121
|
+
- `ack`: `schema_version`, `schema`, `message_id`, `acked_by`, `appended`,
|
|
122
|
+
`pending_outcome`.
|
|
107
123
|
- `tree`: `schema_version`, `schema`, `root`, `since`, `since_timestamp`,
|
|
108
124
|
`sent`, `next_cursor`, `orphan_policy`, `incomplete_capture_note`.
|
|
109
125
|
|