@lmctl-ai/lmctl 0.1.118 → 0.1.120
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/dist/cli/index.js +505 -487
- package/dist/cli/schema.sql +22 -2
- package/package.json +1 -1
package/dist/cli/schema.sql
CHANGED
|
@@ -729,7 +729,8 @@ CREATE TABLE IF NOT EXISTS tracked_invocation (
|
|
|
729
729
|
team_chat_log_id INTEGER,
|
|
730
730
|
meta TEXT,
|
|
731
731
|
notified_by TEXT,
|
|
732
|
-
notified_at TEXT
|
|
732
|
+
notified_at TEXT,
|
|
733
|
+
launch_source TEXT
|
|
733
734
|
);
|
|
734
735
|
CREATE INDEX IF NOT EXISTS idx_tracked_invocation_status_started
|
|
735
736
|
ON tracked_invocation(status, started_at);
|
|
@@ -760,7 +761,11 @@ CREATE TABLE IF NOT EXISTS agent_mailbox (
|
|
|
760
761
|
delivery_holder_pid INTEGER,
|
|
761
762
|
delivery_holder_host TEXT,
|
|
762
763
|
waited_at TEXT,
|
|
763
|
-
waited_by TEXT
|
|
764
|
+
waited_by TEXT,
|
|
765
|
+
message_type TEXT NOT NULL DEFAULT 'request' CHECK(message_type IN ('request','response')),
|
|
766
|
+
reply_mode TEXT NOT NULL DEFAULT 'pull' CHECK(reply_mode IN ('push','pull')),
|
|
767
|
+
request_mailbox_id INTEGER,
|
|
768
|
+
CHECK(message_type <> 'response' OR request_mailbox_id IS NOT NULL)
|
|
764
769
|
);
|
|
765
770
|
CREATE INDEX IF NOT EXISTS idx_agent_mailbox_receiver_id
|
|
766
771
|
ON agent_mailbox(receiver_teamfile, receiver_alias, id);
|
|
@@ -772,3 +777,18 @@ CREATE INDEX IF NOT EXISTS idx_agent_mailbox_sender_delivery_wait
|
|
|
772
777
|
ON agent_mailbox(sender_teamfile, sender_alias, delivered_at, waited_at, id);
|
|
773
778
|
CREATE INDEX IF NOT EXISTS idx_agent_mailbox_lane_delivery
|
|
774
779
|
ON agent_mailbox(sender_teamfile, sender_alias, receiver_teamfile, receiver_alias, delivered_at, delivering_at, id);
|
|
780
|
+
CREATE UNIQUE INDEX IF NOT EXISTS idx_agent_mailbox_response_request_unique
|
|
781
|
+
ON agent_mailbox(request_mailbox_id)
|
|
782
|
+
WHERE message_type = 'response' AND request_mailbox_id IS NOT NULL;
|
|
783
|
+
CREATE TRIGGER IF NOT EXISTS trg_agent_mailbox_response_request_insert
|
|
784
|
+
BEFORE INSERT ON agent_mailbox
|
|
785
|
+
WHEN NEW.message_type = 'response' AND NEW.request_mailbox_id IS NULL
|
|
786
|
+
BEGIN
|
|
787
|
+
SELECT RAISE(ABORT, 'agent_mailbox response requires request_mailbox_id');
|
|
788
|
+
END;
|
|
789
|
+
CREATE TRIGGER IF NOT EXISTS trg_agent_mailbox_response_request_update
|
|
790
|
+
BEFORE UPDATE OF message_type, request_mailbox_id ON agent_mailbox
|
|
791
|
+
WHEN NEW.message_type = 'response' AND NEW.request_mailbox_id IS NULL
|
|
792
|
+
BEGIN
|
|
793
|
+
SELECT RAISE(ABORT, 'agent_mailbox response requires request_mailbox_id');
|
|
794
|
+
END;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.120",
|
|
4
4
|
"description": "A provider-agnostic control plane for teams of AI coding agents — across providers, with independent review and durable memory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://lmctl.com",
|