@lmctl-ai/lmctl 0.1.271 → 0.1.273

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.
@@ -742,58 +742,6 @@ CREATE INDEX IF NOT EXISTS idx_tracked_invocation_scope_status_started
742
742
  CREATE INDEX IF NOT EXISTS idx_tracked_invocation_status_ended
743
743
  ON tracked_invocation(status, ended_at);
744
744
 
745
- -- v45: async Lead mailbox. Consume-on-read; rows present here are pending.
746
- CREATE TABLE IF NOT EXISTS agent_mailbox (
747
- id INTEGER PRIMARY KEY AUTOINCREMENT,
748
- receiver_teamfile TEXT NOT NULL,
749
- receiver_alias TEXT NOT NULL,
750
- sender_teamfile TEXT,
751
- sender_alias TEXT,
752
- root_teamfile TEXT,
753
- payload TEXT NOT NULL,
754
- created_at TEXT NOT NULL,
755
- remote_transport TEXT,
756
- remote_message_id TEXT,
757
- remote_thread_id TEXT,
758
- meta TEXT,
759
- delivered_at TEXT,
760
- receipt TEXT,
761
- delivering_at TEXT,
762
- delivery_holder_pid INTEGER,
763
- delivery_holder_host TEXT,
764
- waited_at TEXT,
765
- waited_by TEXT,
766
- message_type TEXT NOT NULL DEFAULT 'request' CHECK(message_type IN ('request','response')),
767
- reply_mode TEXT NOT NULL DEFAULT 'pull' CHECK(reply_mode IN ('push','pull')),
768
- request_mailbox_id INTEGER,
769
- CHECK(message_type <> 'response' OR request_mailbox_id IS NOT NULL)
770
- );
771
- CREATE INDEX IF NOT EXISTS idx_agent_mailbox_receiver_id
772
- ON agent_mailbox(receiver_teamfile, receiver_alias, id);
773
- CREATE INDEX IF NOT EXISTS idx_agent_mailbox_sender_created
774
- ON agent_mailbox(sender_teamfile, sender_alias, created_at);
775
- CREATE INDEX IF NOT EXISTS idx_agent_mailbox_created
776
- ON agent_mailbox(created_at);
777
- CREATE INDEX IF NOT EXISTS idx_agent_mailbox_sender_delivery_wait
778
- ON agent_mailbox(sender_teamfile, sender_alias, delivered_at, waited_at, id);
779
- CREATE INDEX IF NOT EXISTS idx_agent_mailbox_lane_delivery
780
- ON agent_mailbox(sender_teamfile, sender_alias, receiver_teamfile, receiver_alias, delivered_at, delivering_at, id);
781
- CREATE UNIQUE INDEX IF NOT EXISTS idx_agent_mailbox_response_request_unique
782
- ON agent_mailbox(request_mailbox_id)
783
- WHERE message_type = 'response' AND request_mailbox_id IS NOT NULL;
784
- CREATE TRIGGER IF NOT EXISTS trg_agent_mailbox_response_request_insert
785
- BEFORE INSERT ON agent_mailbox
786
- WHEN NEW.message_type = 'response' AND NEW.request_mailbox_id IS NULL
787
- BEGIN
788
- SELECT RAISE(ABORT, 'agent_mailbox response requires request_mailbox_id');
789
- END;
790
- CREATE TRIGGER IF NOT EXISTS trg_agent_mailbox_response_request_update
791
- BEFORE UPDATE OF message_type, request_mailbox_id ON agent_mailbox
792
- WHEN NEW.message_type = 'response' AND NEW.request_mailbox_id IS NULL
793
- BEGIN
794
- SELECT RAISE(ABORT, 'agent_mailbox response requires request_mailbox_id');
795
- END;
796
-
797
745
  -- v53: event-log message substrate (design:
798
746
  -- backlog/DESIGN-event-log-message-substrate-DRAFT.md §2/§4; impl plan:
799
747
  -- backlog/IMPL-PLAN-event-log-message-substrate.md Phase A). Additive only —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmctl-ai/lmctl",
3
- "version": "0.1.271",
3
+ "version": "0.1.273",
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",