@ravi-os/sdk 0.260716.1 → 0.260725.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/dist/schemas.d.ts CHANGED
@@ -649,12 +649,235 @@ export declare const AgentsListInputSchema: {
649
649
  };
650
650
  /** JSON Schema for the return shape of `agents.list`. */
651
651
  export declare const AgentsListReturnSchema: {
652
- readonly additionalProperties: {};
652
+ readonly $defs: {
653
+ readonly __schema0: {
654
+ readonly anyOf: readonly [{
655
+ readonly anyOf: readonly [{
656
+ readonly type: "string";
657
+ }, {
658
+ readonly type: "number";
659
+ }, {
660
+ readonly type: "boolean";
661
+ }, {
662
+ readonly type: "null";
663
+ }];
664
+ }, {
665
+ readonly items: {
666
+ readonly $ref: "#/$defs/__schema0";
667
+ };
668
+ readonly type: "array";
669
+ }, {
670
+ readonly additionalProperties: {
671
+ readonly $ref: "#/$defs/__schema0";
672
+ };
673
+ readonly propertyNames: {
674
+ readonly type: "string";
675
+ };
676
+ readonly type: "object";
677
+ }];
678
+ };
679
+ };
680
+ readonly additionalProperties: false;
653
681
  readonly properties: {
654
682
  readonly agents: {
655
683
  readonly items: {
656
- readonly additionalProperties: {};
657
- readonly properties: {};
684
+ readonly additionalProperties: false;
685
+ readonly properties: {
686
+ readonly allowedSessions: {
687
+ readonly items: {
688
+ readonly type: "string";
689
+ };
690
+ readonly type: "array";
691
+ };
692
+ readonly contactScope: {
693
+ readonly type: "string";
694
+ };
695
+ readonly cwd: {
696
+ readonly type: "string";
697
+ };
698
+ readonly debounceMs: {
699
+ readonly type: "number";
700
+ };
701
+ readonly defaults: {
702
+ readonly anyOf: readonly [{
703
+ readonly additionalProperties: {
704
+ readonly $ref: "#/$defs/__schema0";
705
+ };
706
+ readonly propertyNames: {
707
+ readonly type: "string";
708
+ };
709
+ readonly type: "object";
710
+ }, {
711
+ readonly type: "null";
712
+ }];
713
+ };
714
+ readonly dmScope: {
715
+ readonly enum: readonly ["main", "per-peer", "per-channel-peer", "per-account-channel-peer"];
716
+ readonly type: "string";
717
+ };
718
+ readonly effectiveModel: {
719
+ readonly anyOf: readonly [{
720
+ readonly type: "string";
721
+ }, {
722
+ readonly type: "null";
723
+ }];
724
+ };
725
+ readonly effectiveProvider: {
726
+ readonly type: "string";
727
+ };
728
+ readonly effort: {
729
+ readonly enum: readonly ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
730
+ readonly type: "string";
731
+ };
732
+ readonly groupDebounceMs: {
733
+ readonly type: "number";
734
+ };
735
+ readonly heartbeat: {
736
+ readonly additionalProperties: false;
737
+ readonly properties: {
738
+ readonly accountId: {
739
+ readonly type: "string";
740
+ };
741
+ readonly activeEnd: {
742
+ readonly type: "string";
743
+ };
744
+ readonly activeStart: {
745
+ readonly type: "string";
746
+ };
747
+ readonly enabled: {
748
+ readonly type: "boolean";
749
+ };
750
+ readonly intervalMs: {
751
+ readonly type: "number";
752
+ };
753
+ readonly lastRunAt: {
754
+ readonly type: "number";
755
+ };
756
+ readonly model: {
757
+ readonly type: "string";
758
+ };
759
+ };
760
+ readonly required: readonly ["enabled", "intervalMs"];
761
+ readonly type: "object";
762
+ };
763
+ readonly id: {
764
+ readonly type: "string";
765
+ };
766
+ readonly isDefault: {
767
+ readonly type: "boolean";
768
+ };
769
+ readonly matrixAccount: {
770
+ readonly type: "string";
771
+ };
772
+ readonly memoryModel: {
773
+ readonly type: "string";
774
+ };
775
+ readonly mode: {
776
+ readonly enum: readonly ["active", "sentinel"];
777
+ readonly type: "string";
778
+ };
779
+ readonly model: {
780
+ readonly type: "string";
781
+ };
782
+ readonly modelPresetId: {
783
+ readonly anyOf: readonly [{
784
+ readonly type: "string";
785
+ }, {
786
+ readonly type: "null";
787
+ }];
788
+ };
789
+ readonly modelPresetVersion: {
790
+ readonly anyOf: readonly [{
791
+ readonly type: "number";
792
+ }, {
793
+ readonly type: "null";
794
+ }];
795
+ };
796
+ readonly modelSource: {
797
+ readonly anyOf: readonly [{
798
+ readonly enum: readonly ["agent_preset", "agent_default", "global_default"];
799
+ readonly type: "string";
800
+ }, {
801
+ readonly type: "null";
802
+ }];
803
+ };
804
+ readonly name: {
805
+ readonly type: "string";
806
+ };
807
+ readonly provider: {
808
+ readonly type: "string";
809
+ };
810
+ readonly remote: {
811
+ readonly type: "string";
812
+ };
813
+ readonly remoteUser: {
814
+ readonly type: "string";
815
+ };
816
+ readonly settingSources: {
817
+ readonly items: {
818
+ readonly enum: readonly ["user", "project"];
819
+ readonly type: "string";
820
+ };
821
+ readonly type: "array";
822
+ };
823
+ readonly specMode: {
824
+ readonly type: "boolean";
825
+ };
826
+ readonly systemPromptAppend: {
827
+ readonly type: "string";
828
+ };
829
+ readonly tags: {
830
+ readonly items: {
831
+ readonly additionalProperties: false;
832
+ readonly properties: {
833
+ readonly assetId: {
834
+ readonly type: "string";
835
+ };
836
+ readonly assetType: {
837
+ readonly enum: readonly ["agent", "automation", "app", "session", "task", "project", "profile", "contact", "chat", "route", "instance", "artifact", "insight", "workflow_spec", "workflow_run", "workflow_node", "cron_job", "trigger", "hook", "task_automation", "observer_rule", "observer_binding", "observer_profile", "command", "skill", "skill_gate_rule", "context", "call_profile", "call_request", "call_voice_agent", "call_tool", "outbound_queue", "outbound_entry", "spec", "devin_session"];
838
+ readonly type: "string";
839
+ };
840
+ readonly createdAt: {
841
+ readonly type: "number";
842
+ };
843
+ readonly createdBy: {
844
+ readonly type: "string";
845
+ };
846
+ readonly id: {
847
+ readonly type: "string";
848
+ };
849
+ readonly metadata: {
850
+ readonly additionalProperties: {
851
+ readonly $ref: "#/$defs/__schema0";
852
+ };
853
+ readonly propertyNames: {
854
+ readonly type: "string";
855
+ };
856
+ readonly type: "object";
857
+ };
858
+ readonly source: {
859
+ readonly type: "string";
860
+ };
861
+ readonly tagId: {
862
+ readonly type: "string";
863
+ };
864
+ readonly tagSlug: {
865
+ readonly type: "string";
866
+ };
867
+ readonly updatedAt: {
868
+ readonly type: "number";
869
+ };
870
+ readonly updatedBy: {
871
+ readonly type: "string";
872
+ };
873
+ };
874
+ readonly required: readonly ["id", "tagId", "tagSlug", "assetType", "assetId", "source", "createdAt", "updatedAt"];
875
+ readonly type: "object";
876
+ };
877
+ readonly type: "array";
878
+ };
879
+ };
880
+ readonly required: readonly ["id", "cwd", "modelPresetId", "isDefault", "effectiveProvider", "effectiveModel", "modelSource", "modelPresetVersion", "tags"];
658
881
  readonly type: "object";
659
882
  };
660
883
  readonly type: "array";
@@ -663,20 +886,224 @@ export declare const AgentsListReturnSchema: {
663
886
  readonly type: "string";
664
887
  };
665
888
  readonly filters: {
666
- readonly additionalProperties: {};
667
- readonly properties: {};
889
+ readonly additionalProperties: false;
890
+ readonly properties: {
891
+ readonly tag: {
892
+ readonly anyOf: readonly [{
893
+ readonly type: "string";
894
+ }, {
895
+ readonly type: "null";
896
+ }];
897
+ };
898
+ };
899
+ readonly required: readonly ["tag"];
668
900
  readonly type: "object";
669
901
  };
670
902
  readonly items: {
671
903
  readonly items: {
672
- readonly additionalProperties: {};
673
- readonly properties: {};
904
+ readonly additionalProperties: false;
905
+ readonly properties: {
906
+ readonly allowedSessions: {
907
+ readonly items: {
908
+ readonly type: "string";
909
+ };
910
+ readonly type: "array";
911
+ };
912
+ readonly contactScope: {
913
+ readonly type: "string";
914
+ };
915
+ readonly cwd: {
916
+ readonly type: "string";
917
+ };
918
+ readonly debounceMs: {
919
+ readonly type: "number";
920
+ };
921
+ readonly defaults: {
922
+ readonly anyOf: readonly [{
923
+ readonly additionalProperties: {
924
+ readonly $ref: "#/$defs/__schema0";
925
+ };
926
+ readonly propertyNames: {
927
+ readonly type: "string";
928
+ };
929
+ readonly type: "object";
930
+ }, {
931
+ readonly type: "null";
932
+ }];
933
+ };
934
+ readonly dmScope: {
935
+ readonly enum: readonly ["main", "per-peer", "per-channel-peer", "per-account-channel-peer"];
936
+ readonly type: "string";
937
+ };
938
+ readonly effectiveModel: {
939
+ readonly anyOf: readonly [{
940
+ readonly type: "string";
941
+ }, {
942
+ readonly type: "null";
943
+ }];
944
+ };
945
+ readonly effectiveProvider: {
946
+ readonly type: "string";
947
+ };
948
+ readonly effort: {
949
+ readonly enum: readonly ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
950
+ readonly type: "string";
951
+ };
952
+ readonly groupDebounceMs: {
953
+ readonly type: "number";
954
+ };
955
+ readonly heartbeat: {
956
+ readonly additionalProperties: false;
957
+ readonly properties: {
958
+ readonly accountId: {
959
+ readonly type: "string";
960
+ };
961
+ readonly activeEnd: {
962
+ readonly type: "string";
963
+ };
964
+ readonly activeStart: {
965
+ readonly type: "string";
966
+ };
967
+ readonly enabled: {
968
+ readonly type: "boolean";
969
+ };
970
+ readonly intervalMs: {
971
+ readonly type: "number";
972
+ };
973
+ readonly lastRunAt: {
974
+ readonly type: "number";
975
+ };
976
+ readonly model: {
977
+ readonly type: "string";
978
+ };
979
+ };
980
+ readonly required: readonly ["enabled", "intervalMs"];
981
+ readonly type: "object";
982
+ };
983
+ readonly id: {
984
+ readonly type: "string";
985
+ };
986
+ readonly isDefault: {
987
+ readonly type: "boolean";
988
+ };
989
+ readonly matrixAccount: {
990
+ readonly type: "string";
991
+ };
992
+ readonly memoryModel: {
993
+ readonly type: "string";
994
+ };
995
+ readonly mode: {
996
+ readonly enum: readonly ["active", "sentinel"];
997
+ readonly type: "string";
998
+ };
999
+ readonly model: {
1000
+ readonly type: "string";
1001
+ };
1002
+ readonly modelPresetId: {
1003
+ readonly anyOf: readonly [{
1004
+ readonly type: "string";
1005
+ }, {
1006
+ readonly type: "null";
1007
+ }];
1008
+ };
1009
+ readonly modelPresetVersion: {
1010
+ readonly anyOf: readonly [{
1011
+ readonly type: "number";
1012
+ }, {
1013
+ readonly type: "null";
1014
+ }];
1015
+ };
1016
+ readonly modelSource: {
1017
+ readonly anyOf: readonly [{
1018
+ readonly enum: readonly ["agent_preset", "agent_default", "global_default"];
1019
+ readonly type: "string";
1020
+ }, {
1021
+ readonly type: "null";
1022
+ }];
1023
+ };
1024
+ readonly name: {
1025
+ readonly type: "string";
1026
+ };
1027
+ readonly provider: {
1028
+ readonly type: "string";
1029
+ };
1030
+ readonly remote: {
1031
+ readonly type: "string";
1032
+ };
1033
+ readonly remoteUser: {
1034
+ readonly type: "string";
1035
+ };
1036
+ readonly settingSources: {
1037
+ readonly items: {
1038
+ readonly enum: readonly ["user", "project"];
1039
+ readonly type: "string";
1040
+ };
1041
+ readonly type: "array";
1042
+ };
1043
+ readonly specMode: {
1044
+ readonly type: "boolean";
1045
+ };
1046
+ readonly systemPromptAppend: {
1047
+ readonly type: "string";
1048
+ };
1049
+ readonly tags: {
1050
+ readonly items: {
1051
+ readonly additionalProperties: false;
1052
+ readonly properties: {
1053
+ readonly assetId: {
1054
+ readonly type: "string";
1055
+ };
1056
+ readonly assetType: {
1057
+ readonly enum: readonly ["agent", "automation", "app", "session", "task", "project", "profile", "contact", "chat", "route", "instance", "artifact", "insight", "workflow_spec", "workflow_run", "workflow_node", "cron_job", "trigger", "hook", "task_automation", "observer_rule", "observer_binding", "observer_profile", "command", "skill", "skill_gate_rule", "context", "call_profile", "call_request", "call_voice_agent", "call_tool", "outbound_queue", "outbound_entry", "spec", "devin_session"];
1058
+ readonly type: "string";
1059
+ };
1060
+ readonly createdAt: {
1061
+ readonly type: "number";
1062
+ };
1063
+ readonly createdBy: {
1064
+ readonly type: "string";
1065
+ };
1066
+ readonly id: {
1067
+ readonly type: "string";
1068
+ };
1069
+ readonly metadata: {
1070
+ readonly additionalProperties: {
1071
+ readonly $ref: "#/$defs/__schema0";
1072
+ };
1073
+ readonly propertyNames: {
1074
+ readonly type: "string";
1075
+ };
1076
+ readonly type: "object";
1077
+ };
1078
+ readonly source: {
1079
+ readonly type: "string";
1080
+ };
1081
+ readonly tagId: {
1082
+ readonly type: "string";
1083
+ };
1084
+ readonly tagSlug: {
1085
+ readonly type: "string";
1086
+ };
1087
+ readonly updatedAt: {
1088
+ readonly type: "number";
1089
+ };
1090
+ readonly updatedBy: {
1091
+ readonly type: "string";
1092
+ };
1093
+ };
1094
+ readonly required: readonly ["id", "tagId", "tagSlug", "assetType", "assetId", "source", "createdAt", "updatedAt"];
1095
+ readonly type: "object";
1096
+ };
1097
+ readonly type: "array";
1098
+ };
1099
+ };
1100
+ readonly required: readonly ["id", "cwd", "modelPresetId", "isDefault", "effectiveProvider", "effectiveModel", "modelSource", "modelPresetVersion", "tags"];
674
1101
  readonly type: "object";
675
1102
  };
676
1103
  readonly type: "array";
677
1104
  };
678
1105
  readonly pagination: {
679
- readonly additionalProperties: {};
1106
+ readonly additionalProperties: false;
680
1107
  readonly properties: {
681
1108
  readonly hasMore: {
682
1109
  readonly type: "boolean";
@@ -708,14 +1135,14 @@ export declare const AgentsListReturnSchema: {
708
1135
  readonly type: "number";
709
1136
  };
710
1137
  };
711
- readonly required: readonly ["limit", "offset", "returned", "total", "hasMore", "nextOffset", "nextCommand"];
1138
+ readonly required: readonly ["limit", "offset", "returned", "total"];
712
1139
  readonly type: "object";
713
1140
  };
714
1141
  readonly total: {
715
1142
  readonly type: "number";
716
1143
  };
717
1144
  };
718
- readonly required: readonly ["total", "pagination", "items", "defaultAgent", "filters", "agents"];
1145
+ readonly required: readonly ["total", "pagination", "defaultAgent", "filters", "items", "agents"];
719
1146
  readonly type: "object";
720
1147
  };
721
1148
  /** JSON Schema for the input body of `agents.permissions`. */
@@ -1116,18 +1543,280 @@ export declare const AgentsShowInputSchema: {
1116
1543
  };
1117
1544
  /** JSON Schema for the return shape of `agents.show`. */
1118
1545
  export declare const AgentsShowReturnSchema: {
1119
- readonly additionalProperties: {};
1546
+ readonly $defs: {
1547
+ readonly __schema0: {
1548
+ readonly anyOf: readonly [{
1549
+ readonly anyOf: readonly [{
1550
+ readonly type: "string";
1551
+ }, {
1552
+ readonly type: "number";
1553
+ }, {
1554
+ readonly type: "boolean";
1555
+ }, {
1556
+ readonly type: "null";
1557
+ }];
1558
+ }, {
1559
+ readonly items: {
1560
+ readonly $ref: "#/$defs/__schema0";
1561
+ };
1562
+ readonly type: "array";
1563
+ }, {
1564
+ readonly additionalProperties: {
1565
+ readonly $ref: "#/$defs/__schema0";
1566
+ };
1567
+ readonly propertyNames: {
1568
+ readonly type: "string";
1569
+ };
1570
+ readonly type: "object";
1571
+ }];
1572
+ };
1573
+ };
1574
+ readonly additionalProperties: false;
1120
1575
  readonly properties: {
1121
1576
  readonly agent: {
1122
- readonly additionalProperties: {};
1123
- readonly properties: {};
1577
+ readonly additionalProperties: false;
1578
+ readonly properties: {
1579
+ readonly allowedSessions: {
1580
+ readonly items: {
1581
+ readonly type: "string";
1582
+ };
1583
+ readonly type: "array";
1584
+ };
1585
+ readonly contactScope: {
1586
+ readonly type: "string";
1587
+ };
1588
+ readonly cwd: {
1589
+ readonly type: "string";
1590
+ };
1591
+ readonly debounceMs: {
1592
+ readonly type: "number";
1593
+ };
1594
+ readonly defaults: {
1595
+ readonly anyOf: readonly [{
1596
+ readonly additionalProperties: {
1597
+ readonly $ref: "#/$defs/__schema0";
1598
+ };
1599
+ readonly propertyNames: {
1600
+ readonly type: "string";
1601
+ };
1602
+ readonly type: "object";
1603
+ }, {
1604
+ readonly type: "null";
1605
+ }];
1606
+ };
1607
+ readonly dmScope: {
1608
+ readonly enum: readonly ["main", "per-peer", "per-channel-peer", "per-account-channel-peer"];
1609
+ readonly type: "string";
1610
+ };
1611
+ readonly effectiveModel: {
1612
+ readonly anyOf: readonly [{
1613
+ readonly type: "string";
1614
+ }, {
1615
+ readonly type: "null";
1616
+ }];
1617
+ };
1618
+ readonly effectiveProvider: {
1619
+ readonly type: "string";
1620
+ };
1621
+ readonly effort: {
1622
+ readonly enum: readonly ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
1623
+ readonly type: "string";
1624
+ };
1625
+ readonly groupDebounceMs: {
1626
+ readonly type: "number";
1627
+ };
1628
+ readonly heartbeat: {
1629
+ readonly additionalProperties: false;
1630
+ readonly properties: {
1631
+ readonly accountId: {
1632
+ readonly type: "string";
1633
+ };
1634
+ readonly activeEnd: {
1635
+ readonly type: "string";
1636
+ };
1637
+ readonly activeStart: {
1638
+ readonly type: "string";
1639
+ };
1640
+ readonly enabled: {
1641
+ readonly type: "boolean";
1642
+ };
1643
+ readonly intervalMs: {
1644
+ readonly type: "number";
1645
+ };
1646
+ readonly lastRunAt: {
1647
+ readonly type: "number";
1648
+ };
1649
+ readonly model: {
1650
+ readonly type: "string";
1651
+ };
1652
+ };
1653
+ readonly required: readonly ["enabled", "intervalMs"];
1654
+ readonly type: "object";
1655
+ };
1656
+ readonly id: {
1657
+ readonly type: "string";
1658
+ };
1659
+ readonly isDefault: {
1660
+ readonly type: "boolean";
1661
+ };
1662
+ readonly matrixAccount: {
1663
+ readonly type: "string";
1664
+ };
1665
+ readonly memoryModel: {
1666
+ readonly type: "string";
1667
+ };
1668
+ readonly mode: {
1669
+ readonly enum: readonly ["active", "sentinel"];
1670
+ readonly type: "string";
1671
+ };
1672
+ readonly model: {
1673
+ readonly type: "string";
1674
+ };
1675
+ readonly modelPresetId: {
1676
+ readonly anyOf: readonly [{
1677
+ readonly type: "string";
1678
+ }, {
1679
+ readonly type: "null";
1680
+ }];
1681
+ };
1682
+ readonly modelPresetVersion: {
1683
+ readonly anyOf: readonly [{
1684
+ readonly type: "number";
1685
+ }, {
1686
+ readonly type: "null";
1687
+ }];
1688
+ };
1689
+ readonly modelSource: {
1690
+ readonly anyOf: readonly [{
1691
+ readonly enum: readonly ["agent_preset", "agent_default", "global_default"];
1692
+ readonly type: "string";
1693
+ }, {
1694
+ readonly type: "null";
1695
+ }];
1696
+ };
1697
+ readonly name: {
1698
+ readonly type: "string";
1699
+ };
1700
+ readonly provider: {
1701
+ readonly type: "string";
1702
+ };
1703
+ readonly remote: {
1704
+ readonly type: "string";
1705
+ };
1706
+ readonly remoteUser: {
1707
+ readonly type: "string";
1708
+ };
1709
+ readonly settingSources: {
1710
+ readonly items: {
1711
+ readonly enum: readonly ["user", "project"];
1712
+ readonly type: "string";
1713
+ };
1714
+ readonly type: "array";
1715
+ };
1716
+ readonly specMode: {
1717
+ readonly type: "boolean";
1718
+ };
1719
+ readonly systemPromptAppend: {
1720
+ readonly type: "string";
1721
+ };
1722
+ readonly tags: {
1723
+ readonly items: {
1724
+ readonly additionalProperties: false;
1725
+ readonly properties: {
1726
+ readonly assetId: {
1727
+ readonly type: "string";
1728
+ };
1729
+ readonly assetType: {
1730
+ readonly enum: readonly ["agent", "automation", "app", "session", "task", "project", "profile", "contact", "chat", "route", "instance", "artifact", "insight", "workflow_spec", "workflow_run", "workflow_node", "cron_job", "trigger", "hook", "task_automation", "observer_rule", "observer_binding", "observer_profile", "command", "skill", "skill_gate_rule", "context", "call_profile", "call_request", "call_voice_agent", "call_tool", "outbound_queue", "outbound_entry", "spec", "devin_session"];
1731
+ readonly type: "string";
1732
+ };
1733
+ readonly createdAt: {
1734
+ readonly type: "number";
1735
+ };
1736
+ readonly createdBy: {
1737
+ readonly type: "string";
1738
+ };
1739
+ readonly id: {
1740
+ readonly type: "string";
1741
+ };
1742
+ readonly metadata: {
1743
+ readonly additionalProperties: {
1744
+ readonly $ref: "#/$defs/__schema0";
1745
+ };
1746
+ readonly propertyNames: {
1747
+ readonly type: "string";
1748
+ };
1749
+ readonly type: "object";
1750
+ };
1751
+ readonly source: {
1752
+ readonly type: "string";
1753
+ };
1754
+ readonly tagId: {
1755
+ readonly type: "string";
1756
+ };
1757
+ readonly tagSlug: {
1758
+ readonly type: "string";
1759
+ };
1760
+ readonly updatedAt: {
1761
+ readonly type: "number";
1762
+ };
1763
+ readonly updatedBy: {
1764
+ readonly type: "string";
1765
+ };
1766
+ };
1767
+ readonly required: readonly ["id", "tagId", "tagSlug", "assetType", "assetId", "source", "createdAt", "updatedAt"];
1768
+ readonly type: "object";
1769
+ };
1770
+ readonly type: "array";
1771
+ };
1772
+ };
1773
+ readonly required: readonly ["id", "cwd", "modelPresetId", "isDefault", "effectiveProvider", "effectiveModel", "modelSource", "modelPresetVersion", "tags"];
1124
1774
  readonly type: "object";
1125
1775
  };
1126
1776
  readonly permissionsCommand: {
1127
1777
  readonly type: "string";
1128
1778
  };
1779
+ readonly runtimePermissions: {
1780
+ readonly anyOf: readonly [{
1781
+ readonly additionalProperties: false;
1782
+ readonly properties: {
1783
+ readonly capabilities: {
1784
+ readonly items: {
1785
+ readonly anyOf: readonly [{
1786
+ readonly type: "string";
1787
+ }, {
1788
+ readonly additionalProperties: false;
1789
+ readonly properties: {
1790
+ readonly objectId: {
1791
+ readonly type: "string";
1792
+ };
1793
+ readonly objectType: {
1794
+ readonly type: "string";
1795
+ };
1796
+ readonly permission: {
1797
+ readonly type: "string";
1798
+ };
1799
+ readonly source: {
1800
+ readonly type: "string";
1801
+ };
1802
+ };
1803
+ readonly type: "object";
1804
+ }];
1805
+ };
1806
+ readonly type: "array";
1807
+ };
1808
+ readonly profile: {
1809
+ readonly enum: readonly ["bootstrap", "full-access"];
1810
+ readonly type: "string";
1811
+ };
1812
+ };
1813
+ readonly type: "object";
1814
+ }, {
1815
+ readonly type: "null";
1816
+ }];
1817
+ };
1129
1818
  };
1130
- readonly required: readonly ["agent", "permissionsCommand"];
1819
+ readonly required: readonly ["agent", "runtimePermissions", "permissionsCommand"];
1131
1820
  readonly type: "object";
1132
1821
  };
1133
1822
  /** JSON Schema for the input body of `agents.spec-mode`. */
@@ -3758,7 +4447,7 @@ export declare const ArtifactsPublishInputSchema: {
3758
4447
  readonly type: "string";
3759
4448
  };
3760
4449
  readonly noActivate: {
3761
- readonly default: true;
4450
+ readonly default: false;
3762
4451
  readonly description: "Create publish records without activating a site release";
3763
4452
  readonly type: "boolean";
3764
4453
  };
@@ -4859,7 +5548,7 @@ export declare const AudioTtsInputSchema: {
4859
5548
  readonly type: "string";
4860
5549
  };
4861
5550
  readonly noAutoplay: {
4862
- readonly default: true;
5551
+ readonly default: false;
4863
5552
  readonly description: "Do not autoplay in extension clients";
4864
5553
  readonly type: "boolean";
4865
5554
  };
@@ -9149,6 +9838,483 @@ export declare const CalendarsShowReturnSchema: {
9149
9838
  readonly required: readonly ["calendar"];
9150
9839
  readonly type: "object";
9151
9840
  };
9841
+ /** JSON Schema for the input body of `channels.backend.ingress`. */
9842
+ export declare const ChannelsBackendIngressInputSchema: {
9843
+ readonly additionalProperties: false;
9844
+ readonly properties: {
9845
+ readonly agentId: {
9846
+ readonly description: "Concrete local agent id used for authorization";
9847
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9848
+ readonly type: "string";
9849
+ };
9850
+ readonly request: {
9851
+ readonly additionalProperties: false;
9852
+ readonly description: "Channel ingress request object (JSON when invoked from the CLI)";
9853
+ readonly properties: {
9854
+ readonly agentId: {
9855
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9856
+ readonly type: "string";
9857
+ };
9858
+ readonly channelInstanceId: {
9859
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9860
+ readonly type: "string";
9861
+ };
9862
+ readonly content: {
9863
+ readonly items: {
9864
+ readonly oneOf: readonly [{
9865
+ readonly additionalProperties: false;
9866
+ readonly properties: {
9867
+ readonly text: {
9868
+ readonly type: "string";
9869
+ };
9870
+ readonly type: {
9871
+ readonly const: "text";
9872
+ readonly type: "string";
9873
+ };
9874
+ };
9875
+ readonly required: readonly ["type", "text"];
9876
+ readonly type: "object";
9877
+ }, {
9878
+ readonly additionalProperties: false;
9879
+ readonly properties: {
9880
+ readonly artifactId: {
9881
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9882
+ readonly type: "string";
9883
+ };
9884
+ readonly mediaType: {
9885
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]*\\/[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]*$";
9886
+ readonly type: "string";
9887
+ };
9888
+ readonly name: {
9889
+ readonly type: "string";
9890
+ };
9891
+ readonly sizeBytes: {
9892
+ readonly maximum: 9007199254740991;
9893
+ readonly minimum: 0;
9894
+ readonly type: "integer";
9895
+ };
9896
+ readonly type: {
9897
+ readonly const: "artifact";
9898
+ readonly type: "string";
9899
+ };
9900
+ };
9901
+ readonly required: readonly ["type", "artifactId"];
9902
+ readonly type: "object";
9903
+ }];
9904
+ };
9905
+ readonly maxItems: 256;
9906
+ readonly minItems: 1;
9907
+ readonly type: "array";
9908
+ };
9909
+ readonly external: {
9910
+ readonly additionalProperties: false;
9911
+ readonly properties: {
9912
+ readonly channelKind: {
9913
+ readonly pattern: "^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$";
9914
+ readonly type: "string";
9915
+ };
9916
+ readonly connectionId: {
9917
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9918
+ readonly type: "string";
9919
+ };
9920
+ readonly conversationId: {
9921
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9922
+ readonly type: "string";
9923
+ };
9924
+ readonly messageId: {
9925
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9926
+ readonly type: "string";
9927
+ };
9928
+ readonly senderId: {
9929
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9930
+ readonly type: "string";
9931
+ };
9932
+ };
9933
+ readonly required: readonly ["channelKind", "connectionId", "conversationId", "senderId", "messageId"];
9934
+ readonly type: "object";
9935
+ };
9936
+ readonly idempotencyKey: {
9937
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9938
+ readonly type: "string";
9939
+ };
9940
+ readonly localActorId: {
9941
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9942
+ readonly type: "string";
9943
+ };
9944
+ readonly protocol: {
9945
+ readonly const: "ravi.channel.backend";
9946
+ readonly type: "string";
9947
+ };
9948
+ readonly receivedAt: {
9949
+ readonly format: "date-time";
9950
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$";
9951
+ readonly type: "string";
9952
+ };
9953
+ readonly requestId: {
9954
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9955
+ readonly type: "string";
9956
+ };
9957
+ readonly schemaVersion: {
9958
+ readonly const: 1;
9959
+ readonly type: "number";
9960
+ };
9961
+ };
9962
+ readonly required: readonly ["protocol", "schemaVersion", "requestId", "idempotencyKey", "localActorId", "channelInstanceId", "agentId", "external", "content", "receivedAt"];
9963
+ readonly type: "object";
9964
+ };
9965
+ };
9966
+ readonly required: readonly ["agentId", "request"];
9967
+ readonly type: "object";
9968
+ };
9969
+ /** JSON Schema for the return shape of `channels.backend.ingress`. */
9970
+ export declare const ChannelsBackendIngressReturnSchema: {
9971
+ readonly additionalProperties: false;
9972
+ readonly properties: {
9973
+ readonly acceptedAt: {
9974
+ readonly format: "date-time";
9975
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$";
9976
+ readonly type: "string";
9977
+ };
9978
+ readonly binding: {
9979
+ readonly additionalProperties: false;
9980
+ readonly properties: {
9981
+ readonly agentId: {
9982
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9983
+ readonly type: "string";
9984
+ };
9985
+ readonly channelInstanceId: {
9986
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9987
+ readonly type: "string";
9988
+ };
9989
+ readonly chatId: {
9990
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9991
+ readonly type: "string";
9992
+ };
9993
+ readonly messageId: {
9994
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9995
+ readonly type: "string";
9996
+ };
9997
+ readonly sessionId: {
9998
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
9999
+ readonly type: "string";
10000
+ };
10001
+ readonly turnId: {
10002
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10003
+ readonly type: "string";
10004
+ };
10005
+ };
10006
+ readonly required: readonly ["channelInstanceId", "agentId", "chatId", "messageId", "sessionId", "turnId"];
10007
+ readonly type: "object";
10008
+ };
10009
+ readonly disposition: {
10010
+ readonly enum: readonly ["accepted", "duplicate", "rejected"];
10011
+ readonly type: "string";
10012
+ };
10013
+ readonly error: {
10014
+ readonly additionalProperties: false;
10015
+ readonly properties: {
10016
+ readonly category: {
10017
+ readonly enum: readonly ["validation", "authentication", "authorization", "capacity", "availability", "internal"];
10018
+ readonly type: "string";
10019
+ };
10020
+ readonly code: {
10021
+ readonly enum: readonly ["INVALID_REQUEST", "IDEMPOTENCY_CONFLICT", "UNAUTHENTICATED", "PERMISSION_DENIED", "LOCAL_PERMISSION_DENIED", "NOT_FOUND", "RATE_LIMITED", "OVERLOADED", "UNAVAILABLE", "INTERNAL"];
10022
+ readonly type: "string";
10023
+ };
10024
+ readonly correlationId: {
10025
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10026
+ readonly type: "string";
10027
+ };
10028
+ readonly retryAfterMs: {
10029
+ readonly exclusiveMinimum: 0;
10030
+ readonly maximum: 86400000;
10031
+ readonly type: "integer";
10032
+ };
10033
+ readonly retryable: {
10034
+ readonly type: "boolean";
10035
+ };
10036
+ };
10037
+ readonly required: readonly ["code", "category", "retryable"];
10038
+ readonly type: "object";
10039
+ };
10040
+ readonly protocol: {
10041
+ readonly const: "ravi.channel.backend";
10042
+ readonly type: "string";
10043
+ };
10044
+ readonly requestId: {
10045
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10046
+ readonly type: "string";
10047
+ };
10048
+ readonly schemaVersion: {
10049
+ readonly const: 1;
10050
+ readonly type: "number";
10051
+ };
10052
+ };
10053
+ readonly required: readonly ["protocol", "schemaVersion", "requestId", "disposition", "acceptedAt"];
10054
+ readonly type: "object";
10055
+ };
10056
+ /** JSON Schema for the input body of `channels.backend.runtime.interrupt`. */
10057
+ export declare const ChannelsBackendRuntimeInterruptInputSchema: {
10058
+ readonly additionalProperties: false;
10059
+ readonly properties: {
10060
+ readonly agentId: {
10061
+ readonly description: "Concrete local agent id used for authorization";
10062
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10063
+ readonly type: "string";
10064
+ };
10065
+ readonly request: {
10066
+ readonly additionalProperties: false;
10067
+ readonly description: "Channel runtime interrupt request object (JSON when invoked from the CLI)";
10068
+ readonly properties: {
10069
+ readonly binding: {
10070
+ readonly additionalProperties: false;
10071
+ readonly properties: {
10072
+ readonly agentId: {
10073
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10074
+ readonly type: "string";
10075
+ };
10076
+ readonly channelInstanceId: {
10077
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10078
+ readonly type: "string";
10079
+ };
10080
+ readonly chatId: {
10081
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10082
+ readonly type: "string";
10083
+ };
10084
+ readonly messageId: {
10085
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10086
+ readonly type: "string";
10087
+ };
10088
+ readonly sessionId: {
10089
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10090
+ readonly type: "string";
10091
+ };
10092
+ readonly turnId: {
10093
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10094
+ readonly type: "string";
10095
+ };
10096
+ };
10097
+ readonly required: readonly ["channelInstanceId", "agentId", "chatId", "messageId", "sessionId", "turnId"];
10098
+ readonly type: "object";
10099
+ };
10100
+ readonly idempotencyKey: {
10101
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10102
+ readonly type: "string";
10103
+ };
10104
+ readonly protocol: {
10105
+ readonly const: "ravi.channel.runtime-events";
10106
+ readonly type: "string";
10107
+ };
10108
+ readonly requestId: {
10109
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10110
+ readonly type: "string";
10111
+ };
10112
+ readonly requestedAt: {
10113
+ readonly format: "date-time";
10114
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$";
10115
+ readonly type: "string";
10116
+ };
10117
+ readonly schemaVersion: {
10118
+ readonly const: 1;
10119
+ readonly type: "number";
10120
+ };
10121
+ };
10122
+ readonly required: readonly ["protocol", "schemaVersion", "requestId", "idempotencyKey", "binding", "requestedAt"];
10123
+ readonly type: "object";
10124
+ };
10125
+ };
10126
+ readonly required: readonly ["agentId", "request"];
10127
+ readonly type: "object";
10128
+ };
10129
+ /** JSON Schema for the return shape of `channels.backend.runtime.interrupt`. */
10130
+ export declare const ChannelsBackendRuntimeInterruptReturnSchema: {
10131
+ readonly additionalProperties: false;
10132
+ readonly properties: {
10133
+ readonly acceptedAt: {
10134
+ readonly format: "date-time";
10135
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$";
10136
+ readonly type: "string";
10137
+ };
10138
+ readonly disposition: {
10139
+ readonly enum: readonly ["requested", "duplicate", "rejected"];
10140
+ readonly type: "string";
10141
+ };
10142
+ readonly error: {
10143
+ readonly additionalProperties: false;
10144
+ readonly properties: {
10145
+ readonly category: {
10146
+ readonly enum: readonly ["validation", "authentication", "authorization", "capacity", "availability", "internal"];
10147
+ readonly type: "string";
10148
+ };
10149
+ readonly code: {
10150
+ readonly enum: readonly ["INVALID_REQUEST", "IDEMPOTENCY_CONFLICT", "UNAUTHENTICATED", "PERMISSION_DENIED", "LOCAL_PERMISSION_DENIED", "NOT_FOUND", "RATE_LIMITED", "OVERLOADED", "UNAVAILABLE", "INTERNAL"];
10151
+ readonly type: "string";
10152
+ };
10153
+ readonly correlationId: {
10154
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10155
+ readonly type: "string";
10156
+ };
10157
+ readonly retryAfterMs: {
10158
+ readonly exclusiveMinimum: 0;
10159
+ readonly maximum: 86400000;
10160
+ readonly type: "integer";
10161
+ };
10162
+ readonly retryable: {
10163
+ readonly type: "boolean";
10164
+ };
10165
+ };
10166
+ readonly required: readonly ["code", "category", "retryable"];
10167
+ readonly type: "object";
10168
+ };
10169
+ readonly protocol: {
10170
+ readonly const: "ravi.channel.runtime-events";
10171
+ readonly type: "string";
10172
+ };
10173
+ readonly requestId: {
10174
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10175
+ readonly type: "string";
10176
+ };
10177
+ readonly schemaVersion: {
10178
+ readonly const: 1;
10179
+ readonly type: "number";
10180
+ };
10181
+ };
10182
+ readonly required: readonly ["protocol", "schemaVersion", "requestId", "disposition", "acceptedAt"];
10183
+ readonly type: "object";
10184
+ };
10185
+ /** JSON Schema for the input body of `channels.backend.runtime.readback`. */
10186
+ export declare const ChannelsBackendRuntimeReadbackInputSchema: {
10187
+ readonly additionalProperties: false;
10188
+ readonly properties: {
10189
+ readonly agentId: {
10190
+ readonly description: "Concrete local agent id used for authorization";
10191
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10192
+ readonly type: "string";
10193
+ };
10194
+ readonly request: {
10195
+ readonly additionalProperties: false;
10196
+ readonly description: "Channel runtime readback request object (JSON when invoked from the CLI)";
10197
+ readonly properties: {
10198
+ readonly binding: {
10199
+ readonly additionalProperties: false;
10200
+ readonly properties: {
10201
+ readonly agentId: {
10202
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10203
+ readonly type: "string";
10204
+ };
10205
+ readonly channelInstanceId: {
10206
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10207
+ readonly type: "string";
10208
+ };
10209
+ readonly chatId: {
10210
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10211
+ readonly type: "string";
10212
+ };
10213
+ readonly messageId: {
10214
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10215
+ readonly type: "string";
10216
+ };
10217
+ readonly sessionId: {
10218
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10219
+ readonly type: "string";
10220
+ };
10221
+ readonly turnId: {
10222
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10223
+ readonly type: "string";
10224
+ };
10225
+ };
10226
+ readonly required: readonly ["channelInstanceId", "agentId", "chatId", "messageId", "sessionId", "turnId"];
10227
+ readonly type: "object";
10228
+ };
10229
+ readonly protocol: {
10230
+ readonly const: "ravi.channel.runtime-events";
10231
+ readonly type: "string";
10232
+ };
10233
+ readonly requestId: {
10234
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10235
+ readonly type: "string";
10236
+ };
10237
+ readonly schemaVersion: {
10238
+ readonly const: 1;
10239
+ readonly type: "number";
10240
+ };
10241
+ };
10242
+ readonly required: readonly ["protocol", "schemaVersion", "requestId", "binding"];
10243
+ readonly type: "object";
10244
+ };
10245
+ };
10246
+ readonly required: readonly ["agentId", "request"];
10247
+ readonly type: "object";
10248
+ };
10249
+ /** JSON Schema for the return shape of `channels.backend.runtime.readback`. */
10250
+ export declare const ChannelsBackendRuntimeReadbackReturnSchema: {
10251
+ readonly additionalProperties: false;
10252
+ readonly properties: {
10253
+ readonly assistantMessageId: {
10254
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10255
+ readonly type: "string";
10256
+ };
10257
+ readonly binding: {
10258
+ readonly additionalProperties: false;
10259
+ readonly properties: {
10260
+ readonly agentId: {
10261
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10262
+ readonly type: "string";
10263
+ };
10264
+ readonly channelInstanceId: {
10265
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10266
+ readonly type: "string";
10267
+ };
10268
+ readonly chatId: {
10269
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10270
+ readonly type: "string";
10271
+ };
10272
+ readonly messageId: {
10273
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10274
+ readonly type: "string";
10275
+ };
10276
+ readonly sessionId: {
10277
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10278
+ readonly type: "string";
10279
+ };
10280
+ readonly turnId: {
10281
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10282
+ readonly type: "string";
10283
+ };
10284
+ };
10285
+ readonly required: readonly ["channelInstanceId", "agentId", "chatId", "messageId", "sessionId", "turnId"];
10286
+ readonly type: "object";
10287
+ };
10288
+ readonly lastSequence: {
10289
+ readonly maximum: 9007199254740991;
10290
+ readonly minimum: 0;
10291
+ readonly type: "integer";
10292
+ };
10293
+ readonly observedAt: {
10294
+ readonly format: "date-time";
10295
+ readonly pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$";
10296
+ readonly type: "string";
10297
+ };
10298
+ readonly protocol: {
10299
+ readonly const: "ravi.channel.runtime-events";
10300
+ readonly type: "string";
10301
+ };
10302
+ readonly requestId: {
10303
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]*$";
10304
+ readonly type: "string";
10305
+ };
10306
+ readonly schemaVersion: {
10307
+ readonly const: 1;
10308
+ readonly type: "number";
10309
+ };
10310
+ readonly state: {
10311
+ readonly enum: readonly ["accepted", "running", "waiting_approval", "completed", "failed", "interrupted"];
10312
+ readonly type: "string";
10313
+ };
10314
+ };
10315
+ readonly required: readonly ["protocol", "schemaVersion", "requestId", "binding", "state", "lastSequence", "observedAt"];
10316
+ readonly type: "object";
10317
+ };
9152
10318
  /** JSON Schema for the input body of `channels.create`. */
9153
10319
  export declare const ChannelsCreateInputSchema: {
9154
10320
  readonly additionalProperties: false;
@@ -9599,6 +10765,26 @@ export declare const ChannelsRestartReturnSchema: {
9599
10765
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
9600
10766
  readonly type: "object";
9601
10767
  };
10768
+ readonly health: {
10769
+ readonly additionalProperties: false;
10770
+ readonly properties: {
10771
+ readonly checkedAt: {
10772
+ readonly type: "number";
10773
+ };
10774
+ readonly reachable: {
10775
+ readonly type: "boolean";
10776
+ };
10777
+ readonly reason: {
10778
+ readonly type: "string";
10779
+ };
10780
+ readonly status: {
10781
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
10782
+ readonly type: "string";
10783
+ };
10784
+ };
10785
+ readonly required: readonly ["status", "reachable", "checkedAt"];
10786
+ readonly type: "object";
10787
+ };
9602
10788
  readonly pm2Available: {
9603
10789
  readonly type: "boolean";
9604
10790
  };
@@ -9626,41 +10812,184 @@ export declare const ChannelsRestartReturnSchema: {
9626
10812
  readonly type: "null";
9627
10813
  }];
9628
10814
  };
9629
- readonly memoryMb: {
9630
- readonly anyOf: readonly [{
9631
- readonly type: "number";
9632
- }, {
9633
- readonly type: "null";
9634
- }];
10815
+ readonly memoryMb: {
10816
+ readonly anyOf: readonly [{
10817
+ readonly type: "number";
10818
+ }, {
10819
+ readonly type: "null";
10820
+ }];
10821
+ };
10822
+ readonly name: {
10823
+ readonly type: "string";
10824
+ };
10825
+ readonly pid: {
10826
+ readonly anyOf: readonly [{
10827
+ readonly type: "number";
10828
+ }, {
10829
+ readonly type: "null";
10830
+ }];
10831
+ };
10832
+ readonly pmId: {
10833
+ readonly anyOf: readonly [{
10834
+ readonly type: "number";
10835
+ }, {
10836
+ readonly type: "null";
10837
+ }];
10838
+ };
10839
+ readonly running: {
10840
+ readonly type: "boolean";
10841
+ };
10842
+ readonly status: {
10843
+ readonly type: "string";
10844
+ };
10845
+ };
10846
+ readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
10847
+ readonly type: "object";
10848
+ };
10849
+ readonly type: "array";
10850
+ };
10851
+ readonly runner: {
10852
+ readonly anyOf: readonly [{
10853
+ readonly additionalProperties: false;
10854
+ readonly properties: {
10855
+ readonly adapters: {
10856
+ readonly items: {
10857
+ readonly additionalProperties: false;
10858
+ readonly properties: {
10859
+ readonly channelId: {
10860
+ readonly type: "string";
10861
+ };
10862
+ readonly connectedAt: {
10863
+ readonly type: "number";
10864
+ };
10865
+ readonly id: {
10866
+ readonly type: "string";
10867
+ };
10868
+ readonly lastPongAt: {
10869
+ readonly type: "number";
10870
+ };
10871
+ readonly reason: {
10872
+ readonly type: "string";
10873
+ };
10874
+ readonly reconnectCount: {
10875
+ readonly maximum: 9007199254740991;
10876
+ readonly minimum: 0;
10877
+ readonly type: "integer";
10878
+ };
10879
+ readonly status: {
10880
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
10881
+ readonly type: "string";
10882
+ };
10883
+ };
10884
+ readonly required: readonly ["id", "channelId", "status"];
10885
+ readonly type: "object";
10886
+ };
10887
+ readonly type: "array";
10888
+ };
10889
+ readonly observedAt: {
10890
+ readonly type: "number";
10891
+ };
10892
+ readonly outbound: {
10893
+ readonly additionalProperties: false;
10894
+ readonly properties: {
10895
+ readonly consumer: {
10896
+ readonly type: "string";
10897
+ };
10898
+ readonly consuming: {
10899
+ readonly type: "boolean";
10900
+ };
10901
+ readonly enabled: {
10902
+ readonly type: "boolean";
10903
+ };
10904
+ readonly infrastructureReady: {
10905
+ readonly type: "boolean";
10906
+ };
10907
+ readonly lastError: {
10908
+ readonly additionalProperties: false;
10909
+ readonly properties: {
10910
+ readonly at: {
10911
+ readonly type: "number";
10912
+ };
10913
+ readonly message: {
10914
+ readonly type: "string";
10915
+ };
10916
+ readonly phase: {
10917
+ readonly const: "consume_loop";
10918
+ readonly type: "string";
10919
+ };
10920
+ };
10921
+ readonly required: readonly ["phase", "message", "at"];
10922
+ readonly type: "object";
10923
+ };
10924
+ readonly lastMessageAt: {
10925
+ readonly type: "number";
10926
+ };
10927
+ readonly publishOutbox: {
10928
+ readonly additionalProperties: false;
10929
+ readonly properties: {
10930
+ readonly lastError: {
10931
+ readonly additionalProperties: false;
10932
+ readonly properties: {
10933
+ readonly at: {
10934
+ readonly type: "number";
10935
+ };
10936
+ readonly message: {
10937
+ readonly type: "string";
10938
+ };
10939
+ };
10940
+ readonly required: readonly ["message", "at"];
10941
+ readonly type: "object";
10942
+ };
10943
+ readonly lastPublishedAt: {
10944
+ readonly type: "number";
10945
+ };
10946
+ readonly nextAttemptAt: {
10947
+ readonly type: "number";
10948
+ };
10949
+ readonly oldestPendingAt: {
10950
+ readonly type: "number";
10951
+ };
10952
+ readonly pendingCount: {
10953
+ readonly maximum: 9007199254740991;
10954
+ readonly minimum: 0;
10955
+ readonly type: "integer";
10956
+ };
10957
+ };
10958
+ readonly required: readonly ["pendingCount"];
10959
+ readonly type: "object";
10960
+ };
10961
+ readonly stream: {
10962
+ readonly type: "string";
10963
+ };
10964
+ };
10965
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
10966
+ readonly type: "object";
10967
+ };
10968
+ readonly pid: {
10969
+ readonly exclusiveMinimum: 0;
10970
+ readonly maximum: 9007199254740991;
10971
+ readonly type: "integer";
9635
10972
  };
9636
- readonly name: {
9637
- readonly type: "string";
10973
+ readonly running: {
10974
+ readonly type: "boolean";
9638
10975
  };
9639
- readonly pid: {
9640
- readonly anyOf: readonly [{
9641
- readonly type: "number";
9642
- }, {
9643
- readonly type: "null";
9644
- }];
10976
+ readonly schemaVersion: {
10977
+ readonly const: 1;
10978
+ readonly type: "number";
9645
10979
  };
9646
- readonly pmId: {
10980
+ readonly startedAt: {
9647
10981
  readonly anyOf: readonly [{
9648
10982
  readonly type: "number";
9649
10983
  }, {
9650
10984
  readonly type: "null";
9651
10985
  }];
9652
10986
  };
9653
- readonly running: {
9654
- readonly type: "boolean";
9655
- };
9656
- readonly status: {
9657
- readonly type: "string";
9658
- };
9659
10987
  };
9660
- readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
10988
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
9661
10989
  readonly type: "object";
9662
- };
9663
- readonly type: "array";
10990
+ }, {
10991
+ readonly type: "null";
10992
+ }];
9664
10993
  };
9665
10994
  };
9666
10995
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
@@ -9964,6 +11293,26 @@ export declare const ChannelsStartReturnSchema: {
9964
11293
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
9965
11294
  readonly type: "object";
9966
11295
  };
11296
+ readonly health: {
11297
+ readonly additionalProperties: false;
11298
+ readonly properties: {
11299
+ readonly checkedAt: {
11300
+ readonly type: "number";
11301
+ };
11302
+ readonly reachable: {
11303
+ readonly type: "boolean";
11304
+ };
11305
+ readonly reason: {
11306
+ readonly type: "string";
11307
+ };
11308
+ readonly status: {
11309
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
11310
+ readonly type: "string";
11311
+ };
11312
+ };
11313
+ readonly required: readonly ["status", "reachable", "checkedAt"];
11314
+ readonly type: "object";
11315
+ };
9967
11316
  readonly pm2Available: {
9968
11317
  readonly type: "boolean";
9969
11318
  };
@@ -10027,6 +11376,149 @@ export declare const ChannelsStartReturnSchema: {
10027
11376
  };
10028
11377
  readonly type: "array";
10029
11378
  };
11379
+ readonly runner: {
11380
+ readonly anyOf: readonly [{
11381
+ readonly additionalProperties: false;
11382
+ readonly properties: {
11383
+ readonly adapters: {
11384
+ readonly items: {
11385
+ readonly additionalProperties: false;
11386
+ readonly properties: {
11387
+ readonly channelId: {
11388
+ readonly type: "string";
11389
+ };
11390
+ readonly connectedAt: {
11391
+ readonly type: "number";
11392
+ };
11393
+ readonly id: {
11394
+ readonly type: "string";
11395
+ };
11396
+ readonly lastPongAt: {
11397
+ readonly type: "number";
11398
+ };
11399
+ readonly reason: {
11400
+ readonly type: "string";
11401
+ };
11402
+ readonly reconnectCount: {
11403
+ readonly maximum: 9007199254740991;
11404
+ readonly minimum: 0;
11405
+ readonly type: "integer";
11406
+ };
11407
+ readonly status: {
11408
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
11409
+ readonly type: "string";
11410
+ };
11411
+ };
11412
+ readonly required: readonly ["id", "channelId", "status"];
11413
+ readonly type: "object";
11414
+ };
11415
+ readonly type: "array";
11416
+ };
11417
+ readonly observedAt: {
11418
+ readonly type: "number";
11419
+ };
11420
+ readonly outbound: {
11421
+ readonly additionalProperties: false;
11422
+ readonly properties: {
11423
+ readonly consumer: {
11424
+ readonly type: "string";
11425
+ };
11426
+ readonly consuming: {
11427
+ readonly type: "boolean";
11428
+ };
11429
+ readonly enabled: {
11430
+ readonly type: "boolean";
11431
+ };
11432
+ readonly infrastructureReady: {
11433
+ readonly type: "boolean";
11434
+ };
11435
+ readonly lastError: {
11436
+ readonly additionalProperties: false;
11437
+ readonly properties: {
11438
+ readonly at: {
11439
+ readonly type: "number";
11440
+ };
11441
+ readonly message: {
11442
+ readonly type: "string";
11443
+ };
11444
+ readonly phase: {
11445
+ readonly const: "consume_loop";
11446
+ readonly type: "string";
11447
+ };
11448
+ };
11449
+ readonly required: readonly ["phase", "message", "at"];
11450
+ readonly type: "object";
11451
+ };
11452
+ readonly lastMessageAt: {
11453
+ readonly type: "number";
11454
+ };
11455
+ readonly publishOutbox: {
11456
+ readonly additionalProperties: false;
11457
+ readonly properties: {
11458
+ readonly lastError: {
11459
+ readonly additionalProperties: false;
11460
+ readonly properties: {
11461
+ readonly at: {
11462
+ readonly type: "number";
11463
+ };
11464
+ readonly message: {
11465
+ readonly type: "string";
11466
+ };
11467
+ };
11468
+ readonly required: readonly ["message", "at"];
11469
+ readonly type: "object";
11470
+ };
11471
+ readonly lastPublishedAt: {
11472
+ readonly type: "number";
11473
+ };
11474
+ readonly nextAttemptAt: {
11475
+ readonly type: "number";
11476
+ };
11477
+ readonly oldestPendingAt: {
11478
+ readonly type: "number";
11479
+ };
11480
+ readonly pendingCount: {
11481
+ readonly maximum: 9007199254740991;
11482
+ readonly minimum: 0;
11483
+ readonly type: "integer";
11484
+ };
11485
+ };
11486
+ readonly required: readonly ["pendingCount"];
11487
+ readonly type: "object";
11488
+ };
11489
+ readonly stream: {
11490
+ readonly type: "string";
11491
+ };
11492
+ };
11493
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
11494
+ readonly type: "object";
11495
+ };
11496
+ readonly pid: {
11497
+ readonly exclusiveMinimum: 0;
11498
+ readonly maximum: 9007199254740991;
11499
+ readonly type: "integer";
11500
+ };
11501
+ readonly running: {
11502
+ readonly type: "boolean";
11503
+ };
11504
+ readonly schemaVersion: {
11505
+ readonly const: 1;
11506
+ readonly type: "number";
11507
+ };
11508
+ readonly startedAt: {
11509
+ readonly anyOf: readonly [{
11510
+ readonly type: "number";
11511
+ }, {
11512
+ readonly type: "null";
11513
+ }];
11514
+ };
11515
+ };
11516
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
11517
+ readonly type: "object";
11518
+ }, {
11519
+ readonly type: "null";
11520
+ }];
11521
+ };
10030
11522
  };
10031
11523
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
10032
11524
  readonly type: "object";
@@ -10115,6 +11607,26 @@ export declare const ChannelsStatusReturnSchema: {
10115
11607
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
10116
11608
  readonly type: "object";
10117
11609
  };
11610
+ readonly health: {
11611
+ readonly additionalProperties: false;
11612
+ readonly properties: {
11613
+ readonly checkedAt: {
11614
+ readonly type: "number";
11615
+ };
11616
+ readonly reachable: {
11617
+ readonly type: "boolean";
11618
+ };
11619
+ readonly reason: {
11620
+ readonly type: "string";
11621
+ };
11622
+ readonly status: {
11623
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
11624
+ readonly type: "string";
11625
+ };
11626
+ };
11627
+ readonly required: readonly ["status", "reachable", "checkedAt"];
11628
+ readonly type: "object";
11629
+ };
10118
11630
  readonly pm2Available: {
10119
11631
  readonly type: "boolean";
10120
11632
  };
@@ -10178,6 +11690,149 @@ export declare const ChannelsStatusReturnSchema: {
10178
11690
  };
10179
11691
  readonly type: "array";
10180
11692
  };
11693
+ readonly runner: {
11694
+ readonly anyOf: readonly [{
11695
+ readonly additionalProperties: false;
11696
+ readonly properties: {
11697
+ readonly adapters: {
11698
+ readonly items: {
11699
+ readonly additionalProperties: false;
11700
+ readonly properties: {
11701
+ readonly channelId: {
11702
+ readonly type: "string";
11703
+ };
11704
+ readonly connectedAt: {
11705
+ readonly type: "number";
11706
+ };
11707
+ readonly id: {
11708
+ readonly type: "string";
11709
+ };
11710
+ readonly lastPongAt: {
11711
+ readonly type: "number";
11712
+ };
11713
+ readonly reason: {
11714
+ readonly type: "string";
11715
+ };
11716
+ readonly reconnectCount: {
11717
+ readonly maximum: 9007199254740991;
11718
+ readonly minimum: 0;
11719
+ readonly type: "integer";
11720
+ };
11721
+ readonly status: {
11722
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
11723
+ readonly type: "string";
11724
+ };
11725
+ };
11726
+ readonly required: readonly ["id", "channelId", "status"];
11727
+ readonly type: "object";
11728
+ };
11729
+ readonly type: "array";
11730
+ };
11731
+ readonly observedAt: {
11732
+ readonly type: "number";
11733
+ };
11734
+ readonly outbound: {
11735
+ readonly additionalProperties: false;
11736
+ readonly properties: {
11737
+ readonly consumer: {
11738
+ readonly type: "string";
11739
+ };
11740
+ readonly consuming: {
11741
+ readonly type: "boolean";
11742
+ };
11743
+ readonly enabled: {
11744
+ readonly type: "boolean";
11745
+ };
11746
+ readonly infrastructureReady: {
11747
+ readonly type: "boolean";
11748
+ };
11749
+ readonly lastError: {
11750
+ readonly additionalProperties: false;
11751
+ readonly properties: {
11752
+ readonly at: {
11753
+ readonly type: "number";
11754
+ };
11755
+ readonly message: {
11756
+ readonly type: "string";
11757
+ };
11758
+ readonly phase: {
11759
+ readonly const: "consume_loop";
11760
+ readonly type: "string";
11761
+ };
11762
+ };
11763
+ readonly required: readonly ["phase", "message", "at"];
11764
+ readonly type: "object";
11765
+ };
11766
+ readonly lastMessageAt: {
11767
+ readonly type: "number";
11768
+ };
11769
+ readonly publishOutbox: {
11770
+ readonly additionalProperties: false;
11771
+ readonly properties: {
11772
+ readonly lastError: {
11773
+ readonly additionalProperties: false;
11774
+ readonly properties: {
11775
+ readonly at: {
11776
+ readonly type: "number";
11777
+ };
11778
+ readonly message: {
11779
+ readonly type: "string";
11780
+ };
11781
+ };
11782
+ readonly required: readonly ["message", "at"];
11783
+ readonly type: "object";
11784
+ };
11785
+ readonly lastPublishedAt: {
11786
+ readonly type: "number";
11787
+ };
11788
+ readonly nextAttemptAt: {
11789
+ readonly type: "number";
11790
+ };
11791
+ readonly oldestPendingAt: {
11792
+ readonly type: "number";
11793
+ };
11794
+ readonly pendingCount: {
11795
+ readonly maximum: 9007199254740991;
11796
+ readonly minimum: 0;
11797
+ readonly type: "integer";
11798
+ };
11799
+ };
11800
+ readonly required: readonly ["pendingCount"];
11801
+ readonly type: "object";
11802
+ };
11803
+ readonly stream: {
11804
+ readonly type: "string";
11805
+ };
11806
+ };
11807
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
11808
+ readonly type: "object";
11809
+ };
11810
+ readonly pid: {
11811
+ readonly exclusiveMinimum: 0;
11812
+ readonly maximum: 9007199254740991;
11813
+ readonly type: "integer";
11814
+ };
11815
+ readonly running: {
11816
+ readonly type: "boolean";
11817
+ };
11818
+ readonly schemaVersion: {
11819
+ readonly const: 1;
11820
+ readonly type: "number";
11821
+ };
11822
+ readonly startedAt: {
11823
+ readonly anyOf: readonly [{
11824
+ readonly type: "number";
11825
+ }, {
11826
+ readonly type: "null";
11827
+ }];
11828
+ };
11829
+ };
11830
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
11831
+ readonly type: "object";
11832
+ }, {
11833
+ readonly type: "null";
11834
+ }];
11835
+ };
10181
11836
  };
10182
11837
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
10183
11838
  readonly type: "object";
@@ -10278,6 +11933,26 @@ export declare const ChannelsStopReturnSchema: {
10278
11933
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
10279
11934
  readonly type: "object";
10280
11935
  };
11936
+ readonly health: {
11937
+ readonly additionalProperties: false;
11938
+ readonly properties: {
11939
+ readonly checkedAt: {
11940
+ readonly type: "number";
11941
+ };
11942
+ readonly reachable: {
11943
+ readonly type: "boolean";
11944
+ };
11945
+ readonly reason: {
11946
+ readonly type: "string";
11947
+ };
11948
+ readonly status: {
11949
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
11950
+ readonly type: "string";
11951
+ };
11952
+ };
11953
+ readonly required: readonly ["status", "reachable", "checkedAt"];
11954
+ readonly type: "object";
11955
+ };
10281
11956
  readonly pm2Available: {
10282
11957
  readonly type: "boolean";
10283
11958
  };
@@ -10341,6 +12016,149 @@ export declare const ChannelsStopReturnSchema: {
10341
12016
  };
10342
12017
  readonly type: "array";
10343
12018
  };
12019
+ readonly runner: {
12020
+ readonly anyOf: readonly [{
12021
+ readonly additionalProperties: false;
12022
+ readonly properties: {
12023
+ readonly adapters: {
12024
+ readonly items: {
12025
+ readonly additionalProperties: false;
12026
+ readonly properties: {
12027
+ readonly channelId: {
12028
+ readonly type: "string";
12029
+ };
12030
+ readonly connectedAt: {
12031
+ readonly type: "number";
12032
+ };
12033
+ readonly id: {
12034
+ readonly type: "string";
12035
+ };
12036
+ readonly lastPongAt: {
12037
+ readonly type: "number";
12038
+ };
12039
+ readonly reason: {
12040
+ readonly type: "string";
12041
+ };
12042
+ readonly reconnectCount: {
12043
+ readonly maximum: 9007199254740991;
12044
+ readonly minimum: 0;
12045
+ readonly type: "integer";
12046
+ };
12047
+ readonly status: {
12048
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
12049
+ readonly type: "string";
12050
+ };
12051
+ };
12052
+ readonly required: readonly ["id", "channelId", "status"];
12053
+ readonly type: "object";
12054
+ };
12055
+ readonly type: "array";
12056
+ };
12057
+ readonly observedAt: {
12058
+ readonly type: "number";
12059
+ };
12060
+ readonly outbound: {
12061
+ readonly additionalProperties: false;
12062
+ readonly properties: {
12063
+ readonly consumer: {
12064
+ readonly type: "string";
12065
+ };
12066
+ readonly consuming: {
12067
+ readonly type: "boolean";
12068
+ };
12069
+ readonly enabled: {
12070
+ readonly type: "boolean";
12071
+ };
12072
+ readonly infrastructureReady: {
12073
+ readonly type: "boolean";
12074
+ };
12075
+ readonly lastError: {
12076
+ readonly additionalProperties: false;
12077
+ readonly properties: {
12078
+ readonly at: {
12079
+ readonly type: "number";
12080
+ };
12081
+ readonly message: {
12082
+ readonly type: "string";
12083
+ };
12084
+ readonly phase: {
12085
+ readonly const: "consume_loop";
12086
+ readonly type: "string";
12087
+ };
12088
+ };
12089
+ readonly required: readonly ["phase", "message", "at"];
12090
+ readonly type: "object";
12091
+ };
12092
+ readonly lastMessageAt: {
12093
+ readonly type: "number";
12094
+ };
12095
+ readonly publishOutbox: {
12096
+ readonly additionalProperties: false;
12097
+ readonly properties: {
12098
+ readonly lastError: {
12099
+ readonly additionalProperties: false;
12100
+ readonly properties: {
12101
+ readonly at: {
12102
+ readonly type: "number";
12103
+ };
12104
+ readonly message: {
12105
+ readonly type: "string";
12106
+ };
12107
+ };
12108
+ readonly required: readonly ["message", "at"];
12109
+ readonly type: "object";
12110
+ };
12111
+ readonly lastPublishedAt: {
12112
+ readonly type: "number";
12113
+ };
12114
+ readonly nextAttemptAt: {
12115
+ readonly type: "number";
12116
+ };
12117
+ readonly oldestPendingAt: {
12118
+ readonly type: "number";
12119
+ };
12120
+ readonly pendingCount: {
12121
+ readonly maximum: 9007199254740991;
12122
+ readonly minimum: 0;
12123
+ readonly type: "integer";
12124
+ };
12125
+ };
12126
+ readonly required: readonly ["pendingCount"];
12127
+ readonly type: "object";
12128
+ };
12129
+ readonly stream: {
12130
+ readonly type: "string";
12131
+ };
12132
+ };
12133
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
12134
+ readonly type: "object";
12135
+ };
12136
+ readonly pid: {
12137
+ readonly exclusiveMinimum: 0;
12138
+ readonly maximum: 9007199254740991;
12139
+ readonly type: "integer";
12140
+ };
12141
+ readonly running: {
12142
+ readonly type: "boolean";
12143
+ };
12144
+ readonly schemaVersion: {
12145
+ readonly const: 1;
12146
+ readonly type: "number";
12147
+ };
12148
+ readonly startedAt: {
12149
+ readonly anyOf: readonly [{
12150
+ readonly type: "number";
12151
+ }, {
12152
+ readonly type: "null";
12153
+ }];
12154
+ };
12155
+ };
12156
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
12157
+ readonly type: "object";
12158
+ }, {
12159
+ readonly type: "null";
12160
+ }];
12161
+ };
10344
12162
  };
10345
12163
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
10346
12164
  readonly type: "object";
@@ -10361,33 +12179,173 @@ export declare const ChannelsStopReturnSchema: {
10361
12179
  readonly required: readonly ["bundlePath", "cwd"];
10362
12180
  readonly type: "object";
10363
12181
  };
10364
- };
10365
- readonly required: readonly ["action", "changed"];
10366
- readonly type: "object";
10367
- };
10368
- /** JSON Schema for the input body of `chats.backfill-provider-timestamps`. */
10369
- export declare const ChatsBackfillProviderTimestampsInputSchema: {
10370
- readonly additionalProperties: false;
10371
- readonly properties: {
10372
- readonly apply: {
10373
- readonly description: "Write corrected provider timestamps. Without this, runs dry-run.";
10374
- readonly type: "boolean";
10375
- };
10376
- readonly dryRun: {
10377
- readonly description: "Force preview mode even if --apply is present";
10378
- readonly type: "boolean";
12182
+ };
12183
+ readonly required: readonly ["action", "changed"];
12184
+ readonly type: "object";
12185
+ };
12186
+ /** JSON Schema for the input body of `chats.backfill-provider-timestamps`. */
12187
+ export declare const ChatsBackfillProviderTimestampsInputSchema: {
12188
+ readonly additionalProperties: false;
12189
+ readonly properties: {
12190
+ readonly apply: {
12191
+ readonly description: "Write corrected provider timestamps. Without this, runs dry-run.";
12192
+ readonly type: "boolean";
12193
+ };
12194
+ readonly dryRun: {
12195
+ readonly description: "Force preview mode even if --apply is present";
12196
+ readonly type: "boolean";
12197
+ };
12198
+ readonly limit: {
12199
+ readonly description: "Maximum matching messages to inspect/apply";
12200
+ readonly type: "string";
12201
+ };
12202
+ };
12203
+ readonly type: "object";
12204
+ };
12205
+ /** JSON Schema for the return shape of `chats.backfill-provider-timestamps`. */
12206
+ export declare const ChatsBackfillProviderTimestampsReturnSchema: {
12207
+ readonly additionalProperties: {};
12208
+ readonly properties: {};
12209
+ readonly type: "object";
12210
+ };
12211
+ /** JSON Schema for the input body of `chats.ensure`. */
12212
+ export declare const ChatsEnsureInputSchema: {
12213
+ readonly additionalProperties: false;
12214
+ readonly properties: {
12215
+ readonly actorId: {
12216
+ readonly description: "Canonical actor id";
12217
+ readonly maxLength: 128;
12218
+ readonly minLength: 1;
12219
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]{0,127}$";
12220
+ readonly type: "string";
12221
+ };
12222
+ readonly agentId: {
12223
+ readonly description: "Target agent id";
12224
+ readonly maxLength: 128;
12225
+ readonly minLength: 1;
12226
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]{0,127}$";
12227
+ readonly type: "string";
12228
+ };
12229
+ readonly clientRequestId: {
12230
+ readonly description: "Caller-owned request id";
12231
+ readonly maxLength: 128;
12232
+ readonly minLength: 1;
12233
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]{0,127}$";
12234
+ readonly type: "string";
12235
+ };
12236
+ };
12237
+ readonly required: readonly ["actorId", "agentId", "clientRequestId"];
12238
+ readonly type: "object";
12239
+ };
12240
+ /** JSON Schema for the return shape of `chats.ensure`. */
12241
+ export declare const ChatsEnsureReturnSchema: {
12242
+ readonly $defs: {
12243
+ readonly __schema0: {
12244
+ readonly anyOf: readonly [{
12245
+ readonly anyOf: readonly [{
12246
+ readonly type: "string";
12247
+ }, {
12248
+ readonly type: "number";
12249
+ }, {
12250
+ readonly type: "boolean";
12251
+ }, {
12252
+ readonly type: "null";
12253
+ }];
12254
+ }, {
12255
+ readonly items: {
12256
+ readonly $ref: "#/$defs/__schema0";
12257
+ };
12258
+ readonly type: "array";
12259
+ }, {
12260
+ readonly additionalProperties: {
12261
+ readonly $ref: "#/$defs/__schema0";
12262
+ };
12263
+ readonly propertyNames: {
12264
+ readonly type: "string";
12265
+ };
12266
+ readonly type: "object";
12267
+ }];
12268
+ };
12269
+ };
12270
+ readonly additionalProperties: false;
12271
+ readonly properties: {
12272
+ readonly chat: {
12273
+ readonly additionalProperties: false;
12274
+ readonly properties: {
12275
+ readonly actorId: {
12276
+ readonly type: "string";
12277
+ };
12278
+ readonly agentId: {
12279
+ readonly type: "string";
12280
+ };
12281
+ readonly avatarUrl: {
12282
+ readonly type: "string";
12283
+ };
12284
+ readonly channel: {
12285
+ readonly type: "string";
12286
+ };
12287
+ readonly chatType: {
12288
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
12289
+ readonly type: "string";
12290
+ };
12291
+ readonly createdAt: {
12292
+ readonly type: "number";
12293
+ };
12294
+ readonly firstSeenAt: {
12295
+ readonly type: "number";
12296
+ };
12297
+ readonly id: {
12298
+ readonly type: "string";
12299
+ };
12300
+ readonly instanceId: {
12301
+ readonly type: "string";
12302
+ };
12303
+ readonly lastSeenAt: {
12304
+ readonly type: "number";
12305
+ };
12306
+ readonly metadata: {
12307
+ readonly additionalProperties: {
12308
+ readonly $ref: "#/$defs/__schema0";
12309
+ };
12310
+ readonly propertyNames: {
12311
+ readonly type: "string";
12312
+ };
12313
+ readonly type: "object";
12314
+ };
12315
+ readonly normalizedChatId: {
12316
+ readonly type: "string";
12317
+ };
12318
+ readonly platformChatId: {
12319
+ readonly type: "string";
12320
+ };
12321
+ readonly rawProvenance: {
12322
+ readonly additionalProperties: {
12323
+ readonly $ref: "#/$defs/__schema0";
12324
+ };
12325
+ readonly propertyNames: {
12326
+ readonly type: "string";
12327
+ };
12328
+ readonly type: "object";
12329
+ };
12330
+ readonly title: {
12331
+ readonly type: "string";
12332
+ };
12333
+ readonly updatedAt: {
12334
+ readonly type: "number";
12335
+ };
12336
+ };
12337
+ readonly required: readonly ["id", "channel", "instanceId", "actorId", "agentId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
12338
+ readonly type: "object";
12339
+ };
12340
+ readonly clientRequestId: {
12341
+ readonly type: "string";
10379
12342
  };
10380
- readonly limit: {
10381
- readonly description: "Maximum matching messages to inspect/apply";
12343
+ readonly disposition: {
12344
+ readonly enum: readonly ["created", "existing"];
10382
12345
  readonly type: "string";
10383
12346
  };
10384
12347
  };
10385
- readonly type: "object";
10386
- };
10387
- /** JSON Schema for the return shape of `chats.backfill-provider-timestamps`. */
10388
- export declare const ChatsBackfillProviderTimestampsReturnSchema: {
10389
- readonly additionalProperties: {};
10390
- readonly properties: {};
12348
+ readonly required: readonly ["disposition", "clientRequestId", "chat"];
10391
12349
  readonly type: "object";
10392
12350
  };
10393
12351
  /** JSON Schema for the input body of `chats.list`. */
@@ -10435,8 +12393,439 @@ export declare const ChatsListInputSchema: {
10435
12393
  };
10436
12394
  /** JSON Schema for the return shape of `chats.list`. */
10437
12395
  export declare const ChatsListReturnSchema: {
10438
- readonly additionalProperties: {};
10439
- readonly properties: {};
12396
+ readonly $defs: {
12397
+ readonly __schema0: {
12398
+ readonly anyOf: readonly [{
12399
+ readonly anyOf: readonly [{
12400
+ readonly type: "string";
12401
+ }, {
12402
+ readonly type: "number";
12403
+ }, {
12404
+ readonly type: "boolean";
12405
+ }, {
12406
+ readonly type: "null";
12407
+ }];
12408
+ }, {
12409
+ readonly items: {
12410
+ readonly $ref: "#/$defs/__schema0";
12411
+ };
12412
+ readonly type: "array";
12413
+ }, {
12414
+ readonly additionalProperties: {
12415
+ readonly $ref: "#/$defs/__schema0";
12416
+ };
12417
+ readonly propertyNames: {
12418
+ readonly type: "string";
12419
+ };
12420
+ readonly type: "object";
12421
+ }];
12422
+ };
12423
+ };
12424
+ readonly additionalProperties: false;
12425
+ readonly properties: {
12426
+ readonly chats: {
12427
+ readonly items: {
12428
+ readonly additionalProperties: false;
12429
+ readonly properties: {
12430
+ readonly chat: {
12431
+ readonly additionalProperties: false;
12432
+ readonly properties: {
12433
+ readonly actorId: {
12434
+ readonly type: "string";
12435
+ };
12436
+ readonly agentId: {
12437
+ readonly type: "string";
12438
+ };
12439
+ readonly avatarUrl: {
12440
+ readonly type: "string";
12441
+ };
12442
+ readonly channel: {
12443
+ readonly type: "string";
12444
+ };
12445
+ readonly chatType: {
12446
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
12447
+ readonly type: "string";
12448
+ };
12449
+ readonly createdAt: {
12450
+ readonly type: "number";
12451
+ };
12452
+ readonly firstSeenAt: {
12453
+ readonly type: "number";
12454
+ };
12455
+ readonly id: {
12456
+ readonly type: "string";
12457
+ };
12458
+ readonly instanceId: {
12459
+ readonly type: "string";
12460
+ };
12461
+ readonly lastSeenAt: {
12462
+ readonly type: "number";
12463
+ };
12464
+ readonly metadata: {
12465
+ readonly additionalProperties: {
12466
+ readonly $ref: "#/$defs/__schema0";
12467
+ };
12468
+ readonly propertyNames: {
12469
+ readonly type: "string";
12470
+ };
12471
+ readonly type: "object";
12472
+ };
12473
+ readonly normalizedChatId: {
12474
+ readonly type: "string";
12475
+ };
12476
+ readonly platformChatId: {
12477
+ readonly type: "string";
12478
+ };
12479
+ readonly rawProvenance: {
12480
+ readonly additionalProperties: {
12481
+ readonly $ref: "#/$defs/__schema0";
12482
+ };
12483
+ readonly propertyNames: {
12484
+ readonly type: "string";
12485
+ };
12486
+ readonly type: "object";
12487
+ };
12488
+ readonly title: {
12489
+ readonly type: "string";
12490
+ };
12491
+ readonly updatedAt: {
12492
+ readonly type: "number";
12493
+ };
12494
+ };
12495
+ readonly required: readonly ["id", "channel", "instanceId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
12496
+ readonly type: "object";
12497
+ };
12498
+ readonly lastMessage: {
12499
+ readonly anyOf: readonly [{
12500
+ readonly additionalProperties: false;
12501
+ readonly properties: {
12502
+ readonly actorId: {
12503
+ readonly type: "string";
12504
+ };
12505
+ readonly actorType: {
12506
+ readonly type: "string";
12507
+ };
12508
+ readonly agentId: {
12509
+ readonly type: "string";
12510
+ };
12511
+ readonly channel: {
12512
+ readonly type: "string";
12513
+ };
12514
+ readonly chatId: {
12515
+ readonly type: "string";
12516
+ };
12517
+ readonly clientMessageId: {
12518
+ readonly type: "string";
12519
+ };
12520
+ readonly contactId: {
12521
+ readonly type: "string";
12522
+ };
12523
+ readonly content: {
12524
+ readonly additionalProperties: {
12525
+ readonly $ref: "#/$defs/__schema0";
12526
+ };
12527
+ readonly propertyNames: {
12528
+ readonly type: "string";
12529
+ };
12530
+ readonly type: "object";
12531
+ };
12532
+ readonly createdAt: {
12533
+ readonly type: "number";
12534
+ };
12535
+ readonly id: {
12536
+ readonly type: "string";
12537
+ };
12538
+ readonly ingestedAt: {
12539
+ readonly type: "number";
12540
+ };
12541
+ readonly instanceId: {
12542
+ readonly type: "string";
12543
+ };
12544
+ readonly messageType: {
12545
+ readonly type: "string";
12546
+ };
12547
+ readonly normalizedSenderId: {
12548
+ readonly type: "string";
12549
+ };
12550
+ readonly platformIdentityId: {
12551
+ readonly type: "string";
12552
+ };
12553
+ readonly providerMessageId: {
12554
+ readonly type: "string";
12555
+ };
12556
+ readonly providerTimestamp: {
12557
+ readonly type: "number";
12558
+ };
12559
+ readonly rawChatId: {
12560
+ readonly type: "string";
12561
+ };
12562
+ readonly rawProvenance: {
12563
+ readonly additionalProperties: {
12564
+ readonly $ref: "#/$defs/__schema0";
12565
+ };
12566
+ readonly propertyNames: {
12567
+ readonly type: "string";
12568
+ };
12569
+ readonly type: "object";
12570
+ };
12571
+ readonly rawSenderId: {
12572
+ readonly type: "string";
12573
+ };
12574
+ readonly revision: {
12575
+ readonly exclusiveMinimum: 0;
12576
+ readonly maximum: 9007199254740991;
12577
+ readonly type: "integer";
12578
+ };
12579
+ readonly sortKey: {
12580
+ readonly type: "string";
12581
+ };
12582
+ readonly state: {
12583
+ readonly type: "string";
12584
+ };
12585
+ readonly updatedAt: {
12586
+ readonly type: "number";
12587
+ };
12588
+ };
12589
+ readonly required: readonly ["id", "chatId", "actorType", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
12590
+ readonly type: "object";
12591
+ }, {
12592
+ readonly type: "null";
12593
+ }];
12594
+ };
12595
+ readonly messageCount: {
12596
+ readonly type: "number";
12597
+ };
12598
+ readonly participantCount: {
12599
+ readonly type: "number";
12600
+ };
12601
+ };
12602
+ readonly required: readonly ["chat", "messageCount", "participantCount", "lastMessage"];
12603
+ readonly type: "object";
12604
+ };
12605
+ readonly type: "array";
12606
+ };
12607
+ readonly items: {
12608
+ readonly items: {
12609
+ readonly additionalProperties: false;
12610
+ readonly properties: {
12611
+ readonly chat: {
12612
+ readonly additionalProperties: false;
12613
+ readonly properties: {
12614
+ readonly actorId: {
12615
+ readonly type: "string";
12616
+ };
12617
+ readonly agentId: {
12618
+ readonly type: "string";
12619
+ };
12620
+ readonly avatarUrl: {
12621
+ readonly type: "string";
12622
+ };
12623
+ readonly channel: {
12624
+ readonly type: "string";
12625
+ };
12626
+ readonly chatType: {
12627
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
12628
+ readonly type: "string";
12629
+ };
12630
+ readonly createdAt: {
12631
+ readonly type: "number";
12632
+ };
12633
+ readonly firstSeenAt: {
12634
+ readonly type: "number";
12635
+ };
12636
+ readonly id: {
12637
+ readonly type: "string";
12638
+ };
12639
+ readonly instanceId: {
12640
+ readonly type: "string";
12641
+ };
12642
+ readonly lastSeenAt: {
12643
+ readonly type: "number";
12644
+ };
12645
+ readonly metadata: {
12646
+ readonly additionalProperties: {
12647
+ readonly $ref: "#/$defs/__schema0";
12648
+ };
12649
+ readonly propertyNames: {
12650
+ readonly type: "string";
12651
+ };
12652
+ readonly type: "object";
12653
+ };
12654
+ readonly normalizedChatId: {
12655
+ readonly type: "string";
12656
+ };
12657
+ readonly platformChatId: {
12658
+ readonly type: "string";
12659
+ };
12660
+ readonly rawProvenance: {
12661
+ readonly additionalProperties: {
12662
+ readonly $ref: "#/$defs/__schema0";
12663
+ };
12664
+ readonly propertyNames: {
12665
+ readonly type: "string";
12666
+ };
12667
+ readonly type: "object";
12668
+ };
12669
+ readonly title: {
12670
+ readonly type: "string";
12671
+ };
12672
+ readonly updatedAt: {
12673
+ readonly type: "number";
12674
+ };
12675
+ };
12676
+ readonly required: readonly ["id", "channel", "instanceId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
12677
+ readonly type: "object";
12678
+ };
12679
+ readonly lastMessage: {
12680
+ readonly anyOf: readonly [{
12681
+ readonly additionalProperties: false;
12682
+ readonly properties: {
12683
+ readonly actorId: {
12684
+ readonly type: "string";
12685
+ };
12686
+ readonly actorType: {
12687
+ readonly type: "string";
12688
+ };
12689
+ readonly agentId: {
12690
+ readonly type: "string";
12691
+ };
12692
+ readonly channel: {
12693
+ readonly type: "string";
12694
+ };
12695
+ readonly chatId: {
12696
+ readonly type: "string";
12697
+ };
12698
+ readonly clientMessageId: {
12699
+ readonly type: "string";
12700
+ };
12701
+ readonly contactId: {
12702
+ readonly type: "string";
12703
+ };
12704
+ readonly content: {
12705
+ readonly additionalProperties: {
12706
+ readonly $ref: "#/$defs/__schema0";
12707
+ };
12708
+ readonly propertyNames: {
12709
+ readonly type: "string";
12710
+ };
12711
+ readonly type: "object";
12712
+ };
12713
+ readonly createdAt: {
12714
+ readonly type: "number";
12715
+ };
12716
+ readonly id: {
12717
+ readonly type: "string";
12718
+ };
12719
+ readonly ingestedAt: {
12720
+ readonly type: "number";
12721
+ };
12722
+ readonly instanceId: {
12723
+ readonly type: "string";
12724
+ };
12725
+ readonly messageType: {
12726
+ readonly type: "string";
12727
+ };
12728
+ readonly normalizedSenderId: {
12729
+ readonly type: "string";
12730
+ };
12731
+ readonly platformIdentityId: {
12732
+ readonly type: "string";
12733
+ };
12734
+ readonly providerMessageId: {
12735
+ readonly type: "string";
12736
+ };
12737
+ readonly providerTimestamp: {
12738
+ readonly type: "number";
12739
+ };
12740
+ readonly rawChatId: {
12741
+ readonly type: "string";
12742
+ };
12743
+ readonly rawProvenance: {
12744
+ readonly additionalProperties: {
12745
+ readonly $ref: "#/$defs/__schema0";
12746
+ };
12747
+ readonly propertyNames: {
12748
+ readonly type: "string";
12749
+ };
12750
+ readonly type: "object";
12751
+ };
12752
+ readonly rawSenderId: {
12753
+ readonly type: "string";
12754
+ };
12755
+ readonly revision: {
12756
+ readonly exclusiveMinimum: 0;
12757
+ readonly maximum: 9007199254740991;
12758
+ readonly type: "integer";
12759
+ };
12760
+ readonly sortKey: {
12761
+ readonly type: "string";
12762
+ };
12763
+ readonly state: {
12764
+ readonly type: "string";
12765
+ };
12766
+ readonly updatedAt: {
12767
+ readonly type: "number";
12768
+ };
12769
+ };
12770
+ readonly required: readonly ["id", "chatId", "actorType", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
12771
+ readonly type: "object";
12772
+ }, {
12773
+ readonly type: "null";
12774
+ }];
12775
+ };
12776
+ readonly messageCount: {
12777
+ readonly type: "number";
12778
+ };
12779
+ readonly participantCount: {
12780
+ readonly type: "number";
12781
+ };
12782
+ };
12783
+ readonly required: readonly ["chat", "messageCount", "participantCount", "lastMessage"];
12784
+ readonly type: "object";
12785
+ };
12786
+ readonly type: "array";
12787
+ };
12788
+ readonly pagination: {
12789
+ readonly additionalProperties: false;
12790
+ readonly properties: {
12791
+ readonly hasMore: {
12792
+ readonly type: "boolean";
12793
+ };
12794
+ readonly limit: {
12795
+ readonly type: "number";
12796
+ };
12797
+ readonly nextCommand: {
12798
+ readonly anyOf: readonly [{
12799
+ readonly type: "string";
12800
+ }, {
12801
+ readonly type: "null";
12802
+ }];
12803
+ };
12804
+ readonly nextOffset: {
12805
+ readonly anyOf: readonly [{
12806
+ readonly type: "number";
12807
+ }, {
12808
+ readonly type: "null";
12809
+ }];
12810
+ };
12811
+ readonly offset: {
12812
+ readonly type: "number";
12813
+ };
12814
+ readonly returned: {
12815
+ readonly type: "number";
12816
+ };
12817
+ readonly total: {
12818
+ readonly type: "number";
12819
+ };
12820
+ };
12821
+ readonly required: readonly ["limit", "offset", "returned", "total"];
12822
+ readonly type: "object";
12823
+ };
12824
+ readonly total: {
12825
+ readonly type: "number";
12826
+ };
12827
+ };
12828
+ readonly required: readonly ["total", "pagination", "items", "chats"];
10440
12829
  readonly type: "object";
10441
12830
  };
10442
12831
  /** JSON Schema for the input body of `chats.lists.add`. */
@@ -11205,6 +13594,179 @@ export declare const ChatsListsShowReturnSchema: {
11205
13594
  readonly required: readonly ["list", "validation", "current"];
11206
13595
  readonly type: "object";
11207
13596
  };
13597
+ /** JSON Schema for the input body of `chats.messages.create`. */
13598
+ export declare const ChatsMessagesCreateInputSchema: {
13599
+ readonly additionalProperties: false;
13600
+ readonly properties: {
13601
+ readonly actorId: {
13602
+ readonly description: "Canonical actor id";
13603
+ readonly maxLength: 128;
13604
+ readonly minLength: 1;
13605
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]{0,127}$";
13606
+ readonly type: "string";
13607
+ };
13608
+ readonly chatId: {
13609
+ readonly description: "Canonical chat id";
13610
+ readonly pattern: "^chat_[0-9a-f]{24}$";
13611
+ readonly type: "string";
13612
+ };
13613
+ readonly clientMessageId: {
13614
+ readonly description: "Caller-owned message id";
13615
+ readonly maxLength: 128;
13616
+ readonly minLength: 1;
13617
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~-]{0,127}$";
13618
+ readonly type: "string";
13619
+ };
13620
+ readonly content: {
13621
+ readonly description: "Message text";
13622
+ readonly maxLength: 1000000;
13623
+ readonly minLength: 1;
13624
+ readonly type: "string";
13625
+ };
13626
+ };
13627
+ readonly required: readonly ["actorId", "chatId", "clientMessageId", "content"];
13628
+ readonly type: "object";
13629
+ };
13630
+ /** JSON Schema for the return shape of `chats.messages.create`. */
13631
+ export declare const ChatsMessagesCreateReturnSchema: {
13632
+ readonly $defs: {
13633
+ readonly __schema0: {
13634
+ readonly anyOf: readonly [{
13635
+ readonly anyOf: readonly [{
13636
+ readonly type: "string";
13637
+ }, {
13638
+ readonly type: "number";
13639
+ }, {
13640
+ readonly type: "boolean";
13641
+ }, {
13642
+ readonly type: "null";
13643
+ }];
13644
+ }, {
13645
+ readonly items: {
13646
+ readonly $ref: "#/$defs/__schema0";
13647
+ };
13648
+ readonly type: "array";
13649
+ }, {
13650
+ readonly additionalProperties: {
13651
+ readonly $ref: "#/$defs/__schema0";
13652
+ };
13653
+ readonly propertyNames: {
13654
+ readonly type: "string";
13655
+ };
13656
+ readonly type: "object";
13657
+ }];
13658
+ };
13659
+ };
13660
+ readonly additionalProperties: false;
13661
+ readonly properties: {
13662
+ readonly clientMessageId: {
13663
+ readonly type: "string";
13664
+ };
13665
+ readonly disposition: {
13666
+ readonly enum: readonly ["created", "duplicate"];
13667
+ readonly type: "string";
13668
+ };
13669
+ readonly message: {
13670
+ readonly additionalProperties: false;
13671
+ readonly properties: {
13672
+ readonly actorId: {
13673
+ readonly type: "string";
13674
+ };
13675
+ readonly actorType: {
13676
+ readonly const: "actor";
13677
+ readonly type: "string";
13678
+ };
13679
+ readonly agentId: {
13680
+ readonly type: "string";
13681
+ };
13682
+ readonly channel: {
13683
+ readonly type: "string";
13684
+ };
13685
+ readonly chatId: {
13686
+ readonly type: "string";
13687
+ };
13688
+ readonly clientMessageId: {
13689
+ readonly type: "string";
13690
+ };
13691
+ readonly contactId: {
13692
+ readonly type: "string";
13693
+ };
13694
+ readonly content: {
13695
+ readonly additionalProperties: {
13696
+ readonly $ref: "#/$defs/__schema0";
13697
+ };
13698
+ readonly propertyNames: {
13699
+ readonly type: "string";
13700
+ };
13701
+ readonly type: "object";
13702
+ };
13703
+ readonly createdAt: {
13704
+ readonly type: "number";
13705
+ };
13706
+ readonly id: {
13707
+ readonly type: "string";
13708
+ };
13709
+ readonly ingestedAt: {
13710
+ readonly type: "number";
13711
+ };
13712
+ readonly instanceId: {
13713
+ readonly type: "string";
13714
+ };
13715
+ readonly messageType: {
13716
+ readonly type: "string";
13717
+ };
13718
+ readonly normalizedSenderId: {
13719
+ readonly type: "string";
13720
+ };
13721
+ readonly platformIdentityId: {
13722
+ readonly type: "string";
13723
+ };
13724
+ readonly providerMessageId: {
13725
+ readonly type: "string";
13726
+ };
13727
+ readonly providerTimestamp: {
13728
+ readonly type: "number";
13729
+ };
13730
+ readonly rawChatId: {
13731
+ readonly type: "string";
13732
+ };
13733
+ readonly rawProvenance: {
13734
+ readonly additionalProperties: {
13735
+ readonly $ref: "#/$defs/__schema0";
13736
+ };
13737
+ readonly propertyNames: {
13738
+ readonly type: "string";
13739
+ };
13740
+ readonly type: "object";
13741
+ };
13742
+ readonly rawSenderId: {
13743
+ readonly type: "string";
13744
+ };
13745
+ readonly revision: {
13746
+ readonly const: 1;
13747
+ readonly type: "number";
13748
+ };
13749
+ readonly sortKey: {
13750
+ readonly type: "string";
13751
+ };
13752
+ readonly state: {
13753
+ readonly const: "created";
13754
+ readonly type: "string";
13755
+ };
13756
+ readonly updatedAt: {
13757
+ readonly type: "number";
13758
+ };
13759
+ };
13760
+ readonly required: readonly ["id", "chatId", "clientMessageId", "actorType", "actorId", "content", "revision", "state", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
13761
+ readonly type: "object";
13762
+ };
13763
+ readonly messageId: {
13764
+ readonly type: "string";
13765
+ };
13766
+ };
13767
+ readonly required: readonly ["disposition", "clientMessageId", "messageId", "message"];
13768
+ readonly type: "object";
13769
+ };
11208
13770
  /** JSON Schema for the input body of `chats.read`. */
11209
13771
  export declare const ChatsReadInputSchema: {
11210
13772
  readonly additionalProperties: false;
@@ -11247,8 +13809,241 @@ export declare const ChatsReadInputSchema: {
11247
13809
  };
11248
13810
  /** JSON Schema for the return shape of `chats.read`. */
11249
13811
  export declare const ChatsReadReturnSchema: {
11250
- readonly additionalProperties: {};
11251
- readonly properties: {};
13812
+ readonly $defs: {
13813
+ readonly __schema0: {
13814
+ readonly anyOf: readonly [{
13815
+ readonly anyOf: readonly [{
13816
+ readonly type: "string";
13817
+ }, {
13818
+ readonly type: "number";
13819
+ }, {
13820
+ readonly type: "boolean";
13821
+ }, {
13822
+ readonly type: "null";
13823
+ }];
13824
+ }, {
13825
+ readonly items: {
13826
+ readonly $ref: "#/$defs/__schema0";
13827
+ };
13828
+ readonly type: "array";
13829
+ }, {
13830
+ readonly additionalProperties: {
13831
+ readonly $ref: "#/$defs/__schema0";
13832
+ };
13833
+ readonly propertyNames: {
13834
+ readonly type: "string";
13835
+ };
13836
+ readonly type: "object";
13837
+ }];
13838
+ };
13839
+ };
13840
+ readonly additionalProperties: false;
13841
+ readonly properties: {
13842
+ readonly chat: {
13843
+ readonly additionalProperties: false;
13844
+ readonly properties: {
13845
+ readonly actorId: {
13846
+ readonly type: "string";
13847
+ };
13848
+ readonly agentId: {
13849
+ readonly type: "string";
13850
+ };
13851
+ readonly avatarUrl: {
13852
+ readonly type: "string";
13853
+ };
13854
+ readonly channel: {
13855
+ readonly type: "string";
13856
+ };
13857
+ readonly chatType: {
13858
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
13859
+ readonly type: "string";
13860
+ };
13861
+ readonly createdAt: {
13862
+ readonly type: "number";
13863
+ };
13864
+ readonly firstSeenAt: {
13865
+ readonly type: "number";
13866
+ };
13867
+ readonly id: {
13868
+ readonly type: "string";
13869
+ };
13870
+ readonly instanceId: {
13871
+ readonly type: "string";
13872
+ };
13873
+ readonly lastSeenAt: {
13874
+ readonly type: "number";
13875
+ };
13876
+ readonly metadata: {
13877
+ readonly additionalProperties: {
13878
+ readonly $ref: "#/$defs/__schema0";
13879
+ };
13880
+ readonly propertyNames: {
13881
+ readonly type: "string";
13882
+ };
13883
+ readonly type: "object";
13884
+ };
13885
+ readonly normalizedChatId: {
13886
+ readonly type: "string";
13887
+ };
13888
+ readonly platformChatId: {
13889
+ readonly type: "string";
13890
+ };
13891
+ readonly rawProvenance: {
13892
+ readonly additionalProperties: {
13893
+ readonly $ref: "#/$defs/__schema0";
13894
+ };
13895
+ readonly propertyNames: {
13896
+ readonly type: "string";
13897
+ };
13898
+ readonly type: "object";
13899
+ };
13900
+ readonly title: {
13901
+ readonly type: "string";
13902
+ };
13903
+ readonly updatedAt: {
13904
+ readonly type: "number";
13905
+ };
13906
+ };
13907
+ readonly required: readonly ["id", "channel", "instanceId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
13908
+ readonly type: "object";
13909
+ };
13910
+ readonly messages: {
13911
+ readonly items: {
13912
+ readonly additionalProperties: false;
13913
+ readonly properties: {
13914
+ readonly actorId: {
13915
+ readonly type: "string";
13916
+ };
13917
+ readonly actorType: {
13918
+ readonly type: "string";
13919
+ };
13920
+ readonly agentId: {
13921
+ readonly type: "string";
13922
+ };
13923
+ readonly channel: {
13924
+ readonly type: "string";
13925
+ };
13926
+ readonly chatId: {
13927
+ readonly type: "string";
13928
+ };
13929
+ readonly clientMessageId: {
13930
+ readonly type: "string";
13931
+ };
13932
+ readonly contactId: {
13933
+ readonly type: "string";
13934
+ };
13935
+ readonly content: {
13936
+ readonly additionalProperties: {
13937
+ readonly $ref: "#/$defs/__schema0";
13938
+ };
13939
+ readonly propertyNames: {
13940
+ readonly type: "string";
13941
+ };
13942
+ readonly type: "object";
13943
+ };
13944
+ readonly createdAt: {
13945
+ readonly type: "number";
13946
+ };
13947
+ readonly id: {
13948
+ readonly type: "string";
13949
+ };
13950
+ readonly ingestedAt: {
13951
+ readonly type: "number";
13952
+ };
13953
+ readonly instanceId: {
13954
+ readonly type: "string";
13955
+ };
13956
+ readonly messageType: {
13957
+ readonly type: "string";
13958
+ };
13959
+ readonly normalizedSenderId: {
13960
+ readonly type: "string";
13961
+ };
13962
+ readonly platformIdentityId: {
13963
+ readonly type: "string";
13964
+ };
13965
+ readonly providerMessageId: {
13966
+ readonly type: "string";
13967
+ };
13968
+ readonly providerTimestamp: {
13969
+ readonly type: "number";
13970
+ };
13971
+ readonly rawChatId: {
13972
+ readonly type: "string";
13973
+ };
13974
+ readonly rawProvenance: {
13975
+ readonly additionalProperties: {
13976
+ readonly $ref: "#/$defs/__schema0";
13977
+ };
13978
+ readonly propertyNames: {
13979
+ readonly type: "string";
13980
+ };
13981
+ readonly type: "object";
13982
+ };
13983
+ readonly rawSenderId: {
13984
+ readonly type: "string";
13985
+ };
13986
+ readonly revision: {
13987
+ readonly exclusiveMinimum: 0;
13988
+ readonly maximum: 9007199254740991;
13989
+ readonly type: "integer";
13990
+ };
13991
+ readonly sortKey: {
13992
+ readonly type: "string";
13993
+ };
13994
+ readonly state: {
13995
+ readonly type: "string";
13996
+ };
13997
+ readonly updatedAt: {
13998
+ readonly type: "number";
13999
+ };
14000
+ };
14001
+ readonly required: readonly ["id", "chatId", "actorType", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
14002
+ readonly type: "object";
14003
+ };
14004
+ readonly type: "array";
14005
+ };
14006
+ readonly pagination: {
14007
+ readonly additionalProperties: false;
14008
+ readonly properties: {
14009
+ readonly hasMore: {
14010
+ readonly type: "boolean";
14011
+ };
14012
+ readonly limit: {
14013
+ readonly type: "number";
14014
+ };
14015
+ readonly nextCommand: {
14016
+ readonly anyOf: readonly [{
14017
+ readonly type: "string";
14018
+ }, {
14019
+ readonly type: "null";
14020
+ }];
14021
+ };
14022
+ readonly nextOffset: {
14023
+ readonly anyOf: readonly [{
14024
+ readonly type: "number";
14025
+ }, {
14026
+ readonly type: "null";
14027
+ }];
14028
+ };
14029
+ readonly offset: {
14030
+ readonly type: "number";
14031
+ };
14032
+ readonly returned: {
14033
+ readonly type: "number";
14034
+ };
14035
+ readonly total: {
14036
+ readonly type: "number";
14037
+ };
14038
+ };
14039
+ readonly required: readonly ["limit", "offset", "returned", "total"];
14040
+ readonly type: "object";
14041
+ };
14042
+ readonly total: {
14043
+ readonly type: "number";
14044
+ };
14045
+ };
14046
+ readonly required: readonly ["chat", "total", "pagination", "messages"];
11252
14047
  readonly type: "object";
11253
14048
  };
11254
14049
  /** JSON Schema for the input body of `cloud.projects.create`. */
@@ -15699,7 +18494,7 @@ export declare const ContextRevokeInputSchema: {
15699
18494
  readonly type: "string";
15700
18495
  };
15701
18496
  readonly noCascade: {
15702
- readonly default: true;
18497
+ readonly default: false;
15703
18498
  readonly description: "Do not revoke descendant contexts (use only for narrow rotation; emits a loud warning)";
15704
18499
  readonly type: "boolean";
15705
18500
  };
@@ -19752,6 +22547,10 @@ export declare const CronAddInputSchema: {
19752
22547
  readonly description: "Alias for --shell";
19753
22548
  readonly type: "string";
19754
22549
  };
22550
+ readonly idempotencyKey: {
22551
+ readonly description: "Durable create idempotency key";
22552
+ readonly type: "string";
22553
+ };
19755
22554
  readonly isolated: {
19756
22555
  readonly description: "Run in isolated session";
19757
22556
  readonly type: "boolean";
@@ -20208,7 +23007,7 @@ export declare const DaemonInitAdminKeyInputSchema: {
20208
23007
  readonly type: "string";
20209
23008
  };
20210
23009
  readonly noStore: {
20211
- readonly default: true;
23010
+ readonly default: false;
20212
23011
  readonly description: "Alias for --print-only (do not write to ~/.ravi/credentials.json)";
20213
23012
  readonly type: "boolean";
20214
23013
  };
@@ -20740,12 +23539,12 @@ export declare const DevinSessionsCreateInputSchema: {
20740
23539
  readonly type: "string";
20741
23540
  };
20742
23541
  readonly noMaxAcuLimit: {
20743
- readonly default: true;
23542
+ readonly default: false;
20744
23543
  readonly description: "Intentionally omit max_acu_limit";
20745
23544
  readonly type: "boolean";
20746
23545
  };
20747
23546
  readonly noResumable: {
20748
- readonly default: true;
23547
+ readonly default: false;
20749
23548
  readonly description: "Disposable session, do not preserve VM state";
20750
23549
  readonly type: "boolean";
20751
23550
  };
@@ -30670,7 +33469,7 @@ export declare const MeetingsFinalizeInputSchema: {
30670
33469
  readonly additionalProperties: false;
30671
33470
  readonly properties: {
30672
33471
  readonly noPostTranscribe: {
30673
- readonly default: true;
33472
+ readonly default: false;
30674
33473
  readonly description: "Skip post-call audio transcription";
30675
33474
  readonly type: "boolean";
30676
33475
  };
@@ -31774,6 +34573,10 @@ export declare const ObserversProfilesValidateReturnSchema: {
31774
34573
  export declare const ObserversRefreshInputSchema: {
31775
34574
  readonly additionalProperties: false;
31776
34575
  readonly properties: {
34576
+ readonly reconcile: {
34577
+ readonly description: "attach-missing|detach-disabled|refresh-profile|full-reconcile";
34578
+ readonly type: "string";
34579
+ };
31777
34580
  readonly session: {
31778
34581
  readonly description: "Source session name or key";
31779
34582
  readonly type: "string";
@@ -31802,6 +34605,26 @@ export declare const ObserversRefreshReturnSchema: {
31802
34605
  };
31803
34606
  readonly type: "array";
31804
34607
  };
34608
+ readonly disabled: {
34609
+ readonly items: {
34610
+ readonly additionalProperties: {};
34611
+ readonly properties: {};
34612
+ readonly type: "object";
34613
+ };
34614
+ readonly type: "array";
34615
+ };
34616
+ readonly mode: {
34617
+ readonly enum: readonly ["attach-missing", "detach-disabled", "refresh-profile", "full-reconcile"];
34618
+ readonly type: "string";
34619
+ };
34620
+ readonly refreshedProfiles: {
34621
+ readonly items: {
34622
+ readonly additionalProperties: {};
34623
+ readonly properties: {};
34624
+ readonly type: "object";
34625
+ };
34626
+ readonly type: "array";
34627
+ };
31805
34628
  readonly skipped: {
31806
34629
  readonly items: {
31807
34630
  readonly additionalProperties: {};
@@ -31811,15 +34634,19 @@ export declare const ObserversRefreshReturnSchema: {
31811
34634
  readonly type: "array";
31812
34635
  };
31813
34636
  readonly source: {
31814
- readonly additionalProperties: {};
31815
- readonly properties: {};
31816
- readonly type: "object";
34637
+ readonly anyOf: readonly [{
34638
+ readonly additionalProperties: {};
34639
+ readonly properties: {};
34640
+ readonly type: "object";
34641
+ }, {
34642
+ readonly type: "null";
34643
+ }];
31817
34644
  };
31818
34645
  readonly total: {
31819
34646
  readonly type: "number";
31820
34647
  };
31821
34648
  };
31822
- readonly required: readonly ["source", "total", "created", "bindings", "skipped"];
34649
+ readonly required: readonly ["source", "mode", "total", "created", "disabled", "refreshedProfiles", "bindings", "skipped"];
31823
34650
  readonly type: "object";
31824
34651
  };
31825
34652
  /** JSON Schema for the input body of `observers.rules.disable`. */
@@ -32084,6 +34911,10 @@ export declare const ObserversRulesSetInputSchema: {
32084
34911
  readonly description: "global|agent|session|task|profile|project|tag";
32085
34912
  readonly type: "string";
32086
34913
  };
34914
+ readonly selector: {
34915
+ readonly description: "Predicate over source.*, turn.* and event.*; use 'clear' to remove";
34916
+ readonly type: "string";
34917
+ };
32087
34918
  readonly sourceAgent: {
32088
34919
  readonly description: "Match source agent id";
32089
34920
  readonly type: "string";
@@ -32594,7 +35425,7 @@ export declare const PagesPublishInputSchema: {
32594
35425
  readonly type: "string";
32595
35426
  };
32596
35427
  readonly noActivate: {
32597
- readonly default: true;
35428
+ readonly default: false;
32598
35429
  readonly description: "Create publish records without activating a site release";
32599
35430
  readonly type: "boolean";
32600
35431
  };
@@ -35771,6 +38602,25 @@ export declare const ReactSendReturnSchema: {
35771
38602
  readonly required: readonly ["channel", "accountId", "chatId", "messageId", "emoji"];
35772
38603
  readonly type: "object";
35773
38604
  };
38605
+ readonly executionMode: {
38606
+ readonly enum: readonly ["durable", "legacy"];
38607
+ readonly type: "string";
38608
+ };
38609
+ readonly idempotencyKey: {
38610
+ readonly type: "string";
38611
+ };
38612
+ readonly nextAttemptAt: {
38613
+ readonly type: "number";
38614
+ };
38615
+ readonly publishPending: {
38616
+ readonly type: "boolean";
38617
+ };
38618
+ readonly publishedNow: {
38619
+ readonly type: "boolean";
38620
+ };
38621
+ readonly queued: {
38622
+ readonly type: "boolean";
38623
+ };
35774
38624
  readonly reaction: {
35775
38625
  readonly additionalProperties: false;
35776
38626
  readonly properties: {
@@ -35784,9 +38634,12 @@ export declare const ReactSendReturnSchema: {
35784
38634
  readonly required: readonly ["messageId", "emoji"];
35785
38635
  readonly type: "object";
35786
38636
  };
35787
- readonly success: {
35788
- readonly const: true;
35789
- readonly type: "boolean";
38637
+ readonly requestId: {
38638
+ readonly type: "string";
38639
+ };
38640
+ readonly status: {
38641
+ readonly enum: readonly ["queued", "accepted"];
38642
+ readonly type: "string";
35790
38643
  };
35791
38644
  readonly target: {
35792
38645
  readonly additionalProperties: false;
@@ -35805,11 +38658,10 @@ export declare const ReactSendReturnSchema: {
35805
38658
  readonly type: "object";
35806
38659
  };
35807
38660
  readonly topic: {
35808
- readonly const: "ravi.outbound.reaction";
35809
38661
  readonly type: "string";
35810
38662
  };
35811
38663
  };
35812
- readonly required: readonly ["success", "topic", "reaction", "target", "event"];
38664
+ readonly required: readonly ["status", "queued", "executionMode", "topic", "reaction", "target", "event"];
35813
38665
  readonly type: "object";
35814
38666
  };
35815
38667
  /** JSON Schema for the input body of `routes.explain`. */
@@ -37453,7 +40305,7 @@ export declare const SdkOpenapiEmitInputSchema: {
37453
40305
  readonly additionalProperties: false;
37454
40306
  readonly properties: {
37455
40307
  readonly out: {
37456
- readonly description: "Write spec JSON to this path";
40308
+ readonly description: "Write spec JSON to this path (default: docs/openapi.json)";
37457
40309
  readonly type: "string";
37458
40310
  };
37459
40311
  readonly stdout: {
@@ -52519,7 +55371,7 @@ export declare const WhatsappDmReadInputSchema: {
52519
55371
  readonly type: "string";
52520
55372
  };
52521
55373
  readonly noAck: {
52522
- readonly default: true;
55374
+ readonly default: false;
52523
55375
  readonly description: "Don't send read receipt";
52524
55376
  readonly type: "boolean";
52525
55377
  };