@ravi-os/sdk 0.260716.1 → 0.260724.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,112 +1543,374 @@ 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: {};
1120
- readonly properties: {
1121
- readonly agent: {
1122
- readonly additionalProperties: {};
1123
- readonly properties: {};
1124
- readonly type: "object";
1125
- };
1126
- readonly permissionsCommand: {
1127
- readonly type: "string";
1128
- };
1129
- };
1130
- readonly required: readonly ["agent", "permissionsCommand"];
1131
- readonly type: "object";
1132
- };
1133
- /** JSON Schema for the input body of `agents.spec-mode`. */
1134
- export declare const AgentsSpecModeInputSchema: {
1135
- readonly additionalProperties: false;
1136
- readonly properties: {
1137
- readonly enabled: {
1138
- readonly description: "true/false";
1139
- readonly type: "string";
1140
- };
1141
- readonly id: {
1142
- readonly description: "Agent ID";
1143
- readonly type: "string";
1144
- };
1145
- };
1146
- readonly required: readonly ["id"];
1147
- readonly type: "object";
1148
- };
1149
- /** JSON Schema for the return shape of `agents.spec-mode`. */
1150
- export declare const AgentsSpecModeReturnSchema: {
1151
- readonly additionalProperties: {};
1152
- readonly properties: {
1153
- readonly action: {
1154
- readonly type: "string";
1155
- };
1156
- readonly agentId: {
1157
- readonly type: "string";
1158
- };
1159
- readonly changed: {
1160
- readonly type: "boolean";
1161
- };
1162
- readonly specMode: {
1163
- readonly type: "boolean";
1164
- };
1165
- };
1166
- readonly required: readonly ["agentId", "specMode"];
1167
- readonly type: "object";
1168
- };
1169
- /** JSON Schema for the input body of `agents.sync-instructions`. */
1170
- export declare const AgentsSyncInstructionsInputSchema: {
1171
- readonly additionalProperties: false;
1172
- readonly properties: {
1173
- readonly agent: {
1174
- readonly description: "Sync only one agent";
1175
- readonly type: "string";
1176
- };
1177
- readonly materializeMissing: {
1178
- readonly description: "Create a default AGENTS.md stub when both instruction files are missing";
1179
- readonly type: "boolean";
1180
- };
1181
- };
1182
- readonly type: "object";
1183
- };
1184
- /** JSON Schema for the return shape of `agents.sync-instructions`. */
1185
- export declare const AgentsSyncInstructionsReturnSchema: {
1186
- readonly additionalProperties: {};
1187
- readonly properties: {
1188
- readonly alreadyCanonical: {
1189
- readonly type: "number";
1190
- };
1191
- readonly incomplete: {
1192
- readonly type: "number";
1193
- };
1194
- readonly manualReview: {
1195
- readonly type: "number";
1196
- };
1197
- readonly migrated: {
1198
- readonly type: "number";
1199
- };
1200
- readonly missing: {
1201
- readonly type: "number";
1202
- };
1203
- readonly results: {
1204
- readonly items: {
1205
- readonly additionalProperties: {};
1206
- readonly properties: {};
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
+ };
1207
1570
  readonly type: "object";
1208
- };
1209
- readonly type: "array";
1210
- };
1211
- readonly total: {
1212
- readonly type: "number";
1571
+ }];
1213
1572
  };
1214
1573
  };
1215
- readonly required: readonly ["total", "migrated", "alreadyCanonical", "missing", "manualReview", "incomplete", "results"];
1216
- readonly type: "object";
1217
- };
1218
- /** JSON Schema for the input body of `apps.check`. */
1219
- export declare const AppsCheckInputSchema: {
1220
1574
  readonly additionalProperties: false;
1221
1575
  readonly properties: {
1222
- readonly id: {
1223
- readonly description: "Optional app id. Omit to check all discovered apps.";
1224
- readonly type: "string";
1576
+ readonly agent: {
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"];
1774
+ readonly type: "object";
1775
+ };
1776
+ readonly permissionsCommand: {
1777
+ readonly type: "string";
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
+ };
1818
+ };
1819
+ readonly required: readonly ["agent", "runtimePermissions", "permissionsCommand"];
1820
+ readonly type: "object";
1821
+ };
1822
+ /** JSON Schema for the input body of `agents.spec-mode`. */
1823
+ export declare const AgentsSpecModeInputSchema: {
1824
+ readonly additionalProperties: false;
1825
+ readonly properties: {
1826
+ readonly enabled: {
1827
+ readonly description: "true/false";
1828
+ readonly type: "string";
1829
+ };
1830
+ readonly id: {
1831
+ readonly description: "Agent ID";
1832
+ readonly type: "string";
1833
+ };
1834
+ };
1835
+ readonly required: readonly ["id"];
1836
+ readonly type: "object";
1837
+ };
1838
+ /** JSON Schema for the return shape of `agents.spec-mode`. */
1839
+ export declare const AgentsSpecModeReturnSchema: {
1840
+ readonly additionalProperties: {};
1841
+ readonly properties: {
1842
+ readonly action: {
1843
+ readonly type: "string";
1844
+ };
1845
+ readonly agentId: {
1846
+ readonly type: "string";
1847
+ };
1848
+ readonly changed: {
1849
+ readonly type: "boolean";
1850
+ };
1851
+ readonly specMode: {
1852
+ readonly type: "boolean";
1853
+ };
1854
+ };
1855
+ readonly required: readonly ["agentId", "specMode"];
1856
+ readonly type: "object";
1857
+ };
1858
+ /** JSON Schema for the input body of `agents.sync-instructions`. */
1859
+ export declare const AgentsSyncInstructionsInputSchema: {
1860
+ readonly additionalProperties: false;
1861
+ readonly properties: {
1862
+ readonly agent: {
1863
+ readonly description: "Sync only one agent";
1864
+ readonly type: "string";
1865
+ };
1866
+ readonly materializeMissing: {
1867
+ readonly description: "Create a default AGENTS.md stub when both instruction files are missing";
1868
+ readonly type: "boolean";
1869
+ };
1870
+ };
1871
+ readonly type: "object";
1872
+ };
1873
+ /** JSON Schema for the return shape of `agents.sync-instructions`. */
1874
+ export declare const AgentsSyncInstructionsReturnSchema: {
1875
+ readonly additionalProperties: {};
1876
+ readonly properties: {
1877
+ readonly alreadyCanonical: {
1878
+ readonly type: "number";
1879
+ };
1880
+ readonly incomplete: {
1881
+ readonly type: "number";
1882
+ };
1883
+ readonly manualReview: {
1884
+ readonly type: "number";
1885
+ };
1886
+ readonly migrated: {
1887
+ readonly type: "number";
1888
+ };
1889
+ readonly missing: {
1890
+ readonly type: "number";
1891
+ };
1892
+ readonly results: {
1893
+ readonly items: {
1894
+ readonly additionalProperties: {};
1895
+ readonly properties: {};
1896
+ readonly type: "object";
1897
+ };
1898
+ readonly type: "array";
1899
+ };
1900
+ readonly total: {
1901
+ readonly type: "number";
1902
+ };
1903
+ };
1904
+ readonly required: readonly ["total", "migrated", "alreadyCanonical", "missing", "manualReview", "incomplete", "results"];
1905
+ readonly type: "object";
1906
+ };
1907
+ /** JSON Schema for the input body of `apps.check`. */
1908
+ export declare const AppsCheckInputSchema: {
1909
+ readonly additionalProperties: false;
1910
+ readonly properties: {
1911
+ readonly id: {
1912
+ readonly description: "Optional app id. Omit to check all discovered apps.";
1913
+ readonly type: "string";
1225
1914
  };
1226
1915
  };
1227
1916
  readonly type: "object";
@@ -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
  };
@@ -9599,6 +10288,26 @@ export declare const ChannelsRestartReturnSchema: {
9599
10288
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
9600
10289
  readonly type: "object";
9601
10290
  };
10291
+ readonly health: {
10292
+ readonly additionalProperties: false;
10293
+ readonly properties: {
10294
+ readonly checkedAt: {
10295
+ readonly type: "number";
10296
+ };
10297
+ readonly reachable: {
10298
+ readonly type: "boolean";
10299
+ };
10300
+ readonly reason: {
10301
+ readonly type: "string";
10302
+ };
10303
+ readonly status: {
10304
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
10305
+ readonly type: "string";
10306
+ };
10307
+ };
10308
+ readonly required: readonly ["status", "reachable", "checkedAt"];
10309
+ readonly type: "object";
10310
+ };
9602
10311
  readonly pm2Available: {
9603
10312
  readonly type: "boolean";
9604
10313
  };
@@ -9662,6 +10371,149 @@ export declare const ChannelsRestartReturnSchema: {
9662
10371
  };
9663
10372
  readonly type: "array";
9664
10373
  };
10374
+ readonly runner: {
10375
+ readonly anyOf: readonly [{
10376
+ readonly additionalProperties: false;
10377
+ readonly properties: {
10378
+ readonly adapters: {
10379
+ readonly items: {
10380
+ readonly additionalProperties: false;
10381
+ readonly properties: {
10382
+ readonly channelId: {
10383
+ readonly type: "string";
10384
+ };
10385
+ readonly connectedAt: {
10386
+ readonly type: "number";
10387
+ };
10388
+ readonly id: {
10389
+ readonly type: "string";
10390
+ };
10391
+ readonly lastPongAt: {
10392
+ readonly type: "number";
10393
+ };
10394
+ readonly reason: {
10395
+ readonly type: "string";
10396
+ };
10397
+ readonly reconnectCount: {
10398
+ readonly maximum: 9007199254740991;
10399
+ readonly minimum: 0;
10400
+ readonly type: "integer";
10401
+ };
10402
+ readonly status: {
10403
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
10404
+ readonly type: "string";
10405
+ };
10406
+ };
10407
+ readonly required: readonly ["id", "channelId", "status"];
10408
+ readonly type: "object";
10409
+ };
10410
+ readonly type: "array";
10411
+ };
10412
+ readonly observedAt: {
10413
+ readonly type: "number";
10414
+ };
10415
+ readonly outbound: {
10416
+ readonly additionalProperties: false;
10417
+ readonly properties: {
10418
+ readonly consumer: {
10419
+ readonly type: "string";
10420
+ };
10421
+ readonly consuming: {
10422
+ readonly type: "boolean";
10423
+ };
10424
+ readonly enabled: {
10425
+ readonly type: "boolean";
10426
+ };
10427
+ readonly infrastructureReady: {
10428
+ readonly type: "boolean";
10429
+ };
10430
+ readonly lastError: {
10431
+ readonly additionalProperties: false;
10432
+ readonly properties: {
10433
+ readonly at: {
10434
+ readonly type: "number";
10435
+ };
10436
+ readonly message: {
10437
+ readonly type: "string";
10438
+ };
10439
+ readonly phase: {
10440
+ readonly const: "consume_loop";
10441
+ readonly type: "string";
10442
+ };
10443
+ };
10444
+ readonly required: readonly ["phase", "message", "at"];
10445
+ readonly type: "object";
10446
+ };
10447
+ readonly lastMessageAt: {
10448
+ readonly type: "number";
10449
+ };
10450
+ readonly publishOutbox: {
10451
+ readonly additionalProperties: false;
10452
+ readonly properties: {
10453
+ readonly lastError: {
10454
+ readonly additionalProperties: false;
10455
+ readonly properties: {
10456
+ readonly at: {
10457
+ readonly type: "number";
10458
+ };
10459
+ readonly message: {
10460
+ readonly type: "string";
10461
+ };
10462
+ };
10463
+ readonly required: readonly ["message", "at"];
10464
+ readonly type: "object";
10465
+ };
10466
+ readonly lastPublishedAt: {
10467
+ readonly type: "number";
10468
+ };
10469
+ readonly nextAttemptAt: {
10470
+ readonly type: "number";
10471
+ };
10472
+ readonly oldestPendingAt: {
10473
+ readonly type: "number";
10474
+ };
10475
+ readonly pendingCount: {
10476
+ readonly maximum: 9007199254740991;
10477
+ readonly minimum: 0;
10478
+ readonly type: "integer";
10479
+ };
10480
+ };
10481
+ readonly required: readonly ["pendingCount"];
10482
+ readonly type: "object";
10483
+ };
10484
+ readonly stream: {
10485
+ readonly type: "string";
10486
+ };
10487
+ };
10488
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
10489
+ readonly type: "object";
10490
+ };
10491
+ readonly pid: {
10492
+ readonly exclusiveMinimum: 0;
10493
+ readonly maximum: 9007199254740991;
10494
+ readonly type: "integer";
10495
+ };
10496
+ readonly running: {
10497
+ readonly type: "boolean";
10498
+ };
10499
+ readonly schemaVersion: {
10500
+ readonly const: 1;
10501
+ readonly type: "number";
10502
+ };
10503
+ readonly startedAt: {
10504
+ readonly anyOf: readonly [{
10505
+ readonly type: "number";
10506
+ }, {
10507
+ readonly type: "null";
10508
+ }];
10509
+ };
10510
+ };
10511
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
10512
+ readonly type: "object";
10513
+ }, {
10514
+ readonly type: "null";
10515
+ }];
10516
+ };
9665
10517
  };
9666
10518
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
9667
10519
  readonly type: "object";
@@ -9964,6 +10816,26 @@ export declare const ChannelsStartReturnSchema: {
9964
10816
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
9965
10817
  readonly type: "object";
9966
10818
  };
10819
+ readonly health: {
10820
+ readonly additionalProperties: false;
10821
+ readonly properties: {
10822
+ readonly checkedAt: {
10823
+ readonly type: "number";
10824
+ };
10825
+ readonly reachable: {
10826
+ readonly type: "boolean";
10827
+ };
10828
+ readonly reason: {
10829
+ readonly type: "string";
10830
+ };
10831
+ readonly status: {
10832
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
10833
+ readonly type: "string";
10834
+ };
10835
+ };
10836
+ readonly required: readonly ["status", "reachable", "checkedAt"];
10837
+ readonly type: "object";
10838
+ };
9967
10839
  readonly pm2Available: {
9968
10840
  readonly type: "boolean";
9969
10841
  };
@@ -10027,6 +10899,149 @@ export declare const ChannelsStartReturnSchema: {
10027
10899
  };
10028
10900
  readonly type: "array";
10029
10901
  };
10902
+ readonly runner: {
10903
+ readonly anyOf: readonly [{
10904
+ readonly additionalProperties: false;
10905
+ readonly properties: {
10906
+ readonly adapters: {
10907
+ readonly items: {
10908
+ readonly additionalProperties: false;
10909
+ readonly properties: {
10910
+ readonly channelId: {
10911
+ readonly type: "string";
10912
+ };
10913
+ readonly connectedAt: {
10914
+ readonly type: "number";
10915
+ };
10916
+ readonly id: {
10917
+ readonly type: "string";
10918
+ };
10919
+ readonly lastPongAt: {
10920
+ readonly type: "number";
10921
+ };
10922
+ readonly reason: {
10923
+ readonly type: "string";
10924
+ };
10925
+ readonly reconnectCount: {
10926
+ readonly maximum: 9007199254740991;
10927
+ readonly minimum: 0;
10928
+ readonly type: "integer";
10929
+ };
10930
+ readonly status: {
10931
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
10932
+ readonly type: "string";
10933
+ };
10934
+ };
10935
+ readonly required: readonly ["id", "channelId", "status"];
10936
+ readonly type: "object";
10937
+ };
10938
+ readonly type: "array";
10939
+ };
10940
+ readonly observedAt: {
10941
+ readonly type: "number";
10942
+ };
10943
+ readonly outbound: {
10944
+ readonly additionalProperties: false;
10945
+ readonly properties: {
10946
+ readonly consumer: {
10947
+ readonly type: "string";
10948
+ };
10949
+ readonly consuming: {
10950
+ readonly type: "boolean";
10951
+ };
10952
+ readonly enabled: {
10953
+ readonly type: "boolean";
10954
+ };
10955
+ readonly infrastructureReady: {
10956
+ readonly type: "boolean";
10957
+ };
10958
+ readonly lastError: {
10959
+ readonly additionalProperties: false;
10960
+ readonly properties: {
10961
+ readonly at: {
10962
+ readonly type: "number";
10963
+ };
10964
+ readonly message: {
10965
+ readonly type: "string";
10966
+ };
10967
+ readonly phase: {
10968
+ readonly const: "consume_loop";
10969
+ readonly type: "string";
10970
+ };
10971
+ };
10972
+ readonly required: readonly ["phase", "message", "at"];
10973
+ readonly type: "object";
10974
+ };
10975
+ readonly lastMessageAt: {
10976
+ readonly type: "number";
10977
+ };
10978
+ readonly publishOutbox: {
10979
+ readonly additionalProperties: false;
10980
+ readonly properties: {
10981
+ readonly lastError: {
10982
+ readonly additionalProperties: false;
10983
+ readonly properties: {
10984
+ readonly at: {
10985
+ readonly type: "number";
10986
+ };
10987
+ readonly message: {
10988
+ readonly type: "string";
10989
+ };
10990
+ };
10991
+ readonly required: readonly ["message", "at"];
10992
+ readonly type: "object";
10993
+ };
10994
+ readonly lastPublishedAt: {
10995
+ readonly type: "number";
10996
+ };
10997
+ readonly nextAttemptAt: {
10998
+ readonly type: "number";
10999
+ };
11000
+ readonly oldestPendingAt: {
11001
+ readonly type: "number";
11002
+ };
11003
+ readonly pendingCount: {
11004
+ readonly maximum: 9007199254740991;
11005
+ readonly minimum: 0;
11006
+ readonly type: "integer";
11007
+ };
11008
+ };
11009
+ readonly required: readonly ["pendingCount"];
11010
+ readonly type: "object";
11011
+ };
11012
+ readonly stream: {
11013
+ readonly type: "string";
11014
+ };
11015
+ };
11016
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
11017
+ readonly type: "object";
11018
+ };
11019
+ readonly pid: {
11020
+ readonly exclusiveMinimum: 0;
11021
+ readonly maximum: 9007199254740991;
11022
+ readonly type: "integer";
11023
+ };
11024
+ readonly running: {
11025
+ readonly type: "boolean";
11026
+ };
11027
+ readonly schemaVersion: {
11028
+ readonly const: 1;
11029
+ readonly type: "number";
11030
+ };
11031
+ readonly startedAt: {
11032
+ readonly anyOf: readonly [{
11033
+ readonly type: "number";
11034
+ }, {
11035
+ readonly type: "null";
11036
+ }];
11037
+ };
11038
+ };
11039
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
11040
+ readonly type: "object";
11041
+ }, {
11042
+ readonly type: "null";
11043
+ }];
11044
+ };
10030
11045
  };
10031
11046
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
10032
11047
  readonly type: "object";
@@ -10115,6 +11130,26 @@ export declare const ChannelsStatusReturnSchema: {
10115
11130
  readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
10116
11131
  readonly type: "object";
10117
11132
  };
11133
+ readonly health: {
11134
+ readonly additionalProperties: false;
11135
+ readonly properties: {
11136
+ readonly checkedAt: {
11137
+ readonly type: "number";
11138
+ };
11139
+ readonly reachable: {
11140
+ readonly type: "boolean";
11141
+ };
11142
+ readonly reason: {
11143
+ readonly type: "string";
11144
+ };
11145
+ readonly status: {
11146
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
11147
+ readonly type: "string";
11148
+ };
11149
+ };
11150
+ readonly required: readonly ["status", "reachable", "checkedAt"];
11151
+ readonly type: "object";
11152
+ };
10118
11153
  readonly pm2Available: {
10119
11154
  readonly type: "boolean";
10120
11155
  };
@@ -10178,6 +11213,149 @@ export declare const ChannelsStatusReturnSchema: {
10178
11213
  };
10179
11214
  readonly type: "array";
10180
11215
  };
11216
+ readonly runner: {
11217
+ readonly anyOf: readonly [{
11218
+ readonly additionalProperties: false;
11219
+ readonly properties: {
11220
+ readonly adapters: {
11221
+ readonly items: {
11222
+ readonly additionalProperties: false;
11223
+ readonly properties: {
11224
+ readonly channelId: {
11225
+ readonly type: "string";
11226
+ };
11227
+ readonly connectedAt: {
11228
+ readonly type: "number";
11229
+ };
11230
+ readonly id: {
11231
+ readonly type: "string";
11232
+ };
11233
+ readonly lastPongAt: {
11234
+ readonly type: "number";
11235
+ };
11236
+ readonly reason: {
11237
+ readonly type: "string";
11238
+ };
11239
+ readonly reconnectCount: {
11240
+ readonly maximum: 9007199254740991;
11241
+ readonly minimum: 0;
11242
+ readonly type: "integer";
11243
+ };
11244
+ readonly status: {
11245
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
11246
+ readonly type: "string";
11247
+ };
11248
+ };
11249
+ readonly required: readonly ["id", "channelId", "status"];
11250
+ readonly type: "object";
11251
+ };
11252
+ readonly type: "array";
11253
+ };
11254
+ readonly observedAt: {
11255
+ readonly type: "number";
11256
+ };
11257
+ readonly outbound: {
11258
+ readonly additionalProperties: false;
11259
+ readonly properties: {
11260
+ readonly consumer: {
11261
+ readonly type: "string";
11262
+ };
11263
+ readonly consuming: {
11264
+ readonly type: "boolean";
11265
+ };
11266
+ readonly enabled: {
11267
+ readonly type: "boolean";
11268
+ };
11269
+ readonly infrastructureReady: {
11270
+ readonly type: "boolean";
11271
+ };
11272
+ readonly lastError: {
11273
+ readonly additionalProperties: false;
11274
+ readonly properties: {
11275
+ readonly at: {
11276
+ readonly type: "number";
11277
+ };
11278
+ readonly message: {
11279
+ readonly type: "string";
11280
+ };
11281
+ readonly phase: {
11282
+ readonly const: "consume_loop";
11283
+ readonly type: "string";
11284
+ };
11285
+ };
11286
+ readonly required: readonly ["phase", "message", "at"];
11287
+ readonly type: "object";
11288
+ };
11289
+ readonly lastMessageAt: {
11290
+ readonly type: "number";
11291
+ };
11292
+ readonly publishOutbox: {
11293
+ readonly additionalProperties: false;
11294
+ readonly properties: {
11295
+ readonly lastError: {
11296
+ readonly additionalProperties: false;
11297
+ readonly properties: {
11298
+ readonly at: {
11299
+ readonly type: "number";
11300
+ };
11301
+ readonly message: {
11302
+ readonly type: "string";
11303
+ };
11304
+ };
11305
+ readonly required: readonly ["message", "at"];
11306
+ readonly type: "object";
11307
+ };
11308
+ readonly lastPublishedAt: {
11309
+ readonly type: "number";
11310
+ };
11311
+ readonly nextAttemptAt: {
11312
+ readonly type: "number";
11313
+ };
11314
+ readonly oldestPendingAt: {
11315
+ readonly type: "number";
11316
+ };
11317
+ readonly pendingCount: {
11318
+ readonly maximum: 9007199254740991;
11319
+ readonly minimum: 0;
11320
+ readonly type: "integer";
11321
+ };
11322
+ };
11323
+ readonly required: readonly ["pendingCount"];
11324
+ readonly type: "object";
11325
+ };
11326
+ readonly stream: {
11327
+ readonly type: "string";
11328
+ };
11329
+ };
11330
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
11331
+ readonly type: "object";
11332
+ };
11333
+ readonly pid: {
11334
+ readonly exclusiveMinimum: 0;
11335
+ readonly maximum: 9007199254740991;
11336
+ readonly type: "integer";
11337
+ };
11338
+ readonly running: {
11339
+ readonly type: "boolean";
11340
+ };
11341
+ readonly schemaVersion: {
11342
+ readonly const: 1;
11343
+ readonly type: "number";
11344
+ };
11345
+ readonly startedAt: {
11346
+ readonly anyOf: readonly [{
11347
+ readonly type: "number";
11348
+ }, {
11349
+ readonly type: "null";
11350
+ }];
11351
+ };
11352
+ };
11353
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
11354
+ readonly type: "object";
11355
+ }, {
11356
+ readonly type: "null";
11357
+ }];
11358
+ };
10181
11359
  };
10182
11360
  readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
10183
11361
  readonly type: "object";
@@ -10275,168 +11453,722 @@ export declare const ChannelsStopReturnSchema: {
10275
11453
  readonly type: "string";
10276
11454
  };
10277
11455
  };
10278
- readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
10279
- readonly type: "object";
10280
- };
10281
- readonly pm2Available: {
10282
- readonly type: "boolean";
10283
- };
10284
- readonly processName: {
10285
- readonly type: "string";
11456
+ readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
11457
+ readonly type: "object";
11458
+ };
11459
+ readonly health: {
11460
+ readonly additionalProperties: false;
11461
+ readonly properties: {
11462
+ readonly checkedAt: {
11463
+ readonly type: "number";
11464
+ };
11465
+ readonly reachable: {
11466
+ readonly type: "boolean";
11467
+ };
11468
+ readonly reason: {
11469
+ readonly type: "string";
11470
+ };
11471
+ readonly status: {
11472
+ readonly enum: readonly ["ready", "starting", "degraded", "unreachable", "stopped"];
11473
+ readonly type: "string";
11474
+ };
11475
+ };
11476
+ readonly required: readonly ["status", "reachable", "checkedAt"];
11477
+ readonly type: "object";
11478
+ };
11479
+ readonly pm2Available: {
11480
+ readonly type: "boolean";
11481
+ };
11482
+ readonly processName: {
11483
+ readonly type: "string";
11484
+ };
11485
+ readonly processes: {
11486
+ readonly items: {
11487
+ readonly additionalProperties: false;
11488
+ readonly properties: {
11489
+ readonly cpu: {
11490
+ readonly anyOf: readonly [{
11491
+ readonly type: "number";
11492
+ }, {
11493
+ readonly type: "null";
11494
+ }];
11495
+ };
11496
+ readonly managed: {
11497
+ readonly type: "boolean";
11498
+ };
11499
+ readonly memoryBytes: {
11500
+ readonly anyOf: readonly [{
11501
+ readonly type: "number";
11502
+ }, {
11503
+ readonly type: "null";
11504
+ }];
11505
+ };
11506
+ readonly memoryMb: {
11507
+ readonly anyOf: readonly [{
11508
+ readonly type: "number";
11509
+ }, {
11510
+ readonly type: "null";
11511
+ }];
11512
+ };
11513
+ readonly name: {
11514
+ readonly type: "string";
11515
+ };
11516
+ readonly pid: {
11517
+ readonly anyOf: readonly [{
11518
+ readonly type: "number";
11519
+ }, {
11520
+ readonly type: "null";
11521
+ }];
11522
+ };
11523
+ readonly pmId: {
11524
+ readonly anyOf: readonly [{
11525
+ readonly type: "number";
11526
+ }, {
11527
+ readonly type: "null";
11528
+ }];
11529
+ };
11530
+ readonly running: {
11531
+ readonly type: "boolean";
11532
+ };
11533
+ readonly status: {
11534
+ readonly type: "string";
11535
+ };
11536
+ };
11537
+ readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
11538
+ readonly type: "object";
11539
+ };
11540
+ readonly type: "array";
11541
+ };
11542
+ readonly runner: {
11543
+ readonly anyOf: readonly [{
11544
+ readonly additionalProperties: false;
11545
+ readonly properties: {
11546
+ readonly adapters: {
11547
+ readonly items: {
11548
+ readonly additionalProperties: false;
11549
+ readonly properties: {
11550
+ readonly channelId: {
11551
+ readonly type: "string";
11552
+ };
11553
+ readonly connectedAt: {
11554
+ readonly type: "number";
11555
+ };
11556
+ readonly id: {
11557
+ readonly type: "string";
11558
+ };
11559
+ readonly lastPongAt: {
11560
+ readonly type: "number";
11561
+ };
11562
+ readonly reason: {
11563
+ readonly type: "string";
11564
+ };
11565
+ readonly reconnectCount: {
11566
+ readonly maximum: 9007199254740991;
11567
+ readonly minimum: 0;
11568
+ readonly type: "integer";
11569
+ };
11570
+ readonly status: {
11571
+ readonly enum: readonly ["disabled", "starting", "connected", "degraded", "reconnecting", "disconnected", "failed"];
11572
+ readonly type: "string";
11573
+ };
11574
+ };
11575
+ readonly required: readonly ["id", "channelId", "status"];
11576
+ readonly type: "object";
11577
+ };
11578
+ readonly type: "array";
11579
+ };
11580
+ readonly observedAt: {
11581
+ readonly type: "number";
11582
+ };
11583
+ readonly outbound: {
11584
+ readonly additionalProperties: false;
11585
+ readonly properties: {
11586
+ readonly consumer: {
11587
+ readonly type: "string";
11588
+ };
11589
+ readonly consuming: {
11590
+ readonly type: "boolean";
11591
+ };
11592
+ readonly enabled: {
11593
+ readonly type: "boolean";
11594
+ };
11595
+ readonly infrastructureReady: {
11596
+ readonly type: "boolean";
11597
+ };
11598
+ readonly lastError: {
11599
+ readonly additionalProperties: false;
11600
+ readonly properties: {
11601
+ readonly at: {
11602
+ readonly type: "number";
11603
+ };
11604
+ readonly message: {
11605
+ readonly type: "string";
11606
+ };
11607
+ readonly phase: {
11608
+ readonly const: "consume_loop";
11609
+ readonly type: "string";
11610
+ };
11611
+ };
11612
+ readonly required: readonly ["phase", "message", "at"];
11613
+ readonly type: "object";
11614
+ };
11615
+ readonly lastMessageAt: {
11616
+ readonly type: "number";
11617
+ };
11618
+ readonly publishOutbox: {
11619
+ readonly additionalProperties: false;
11620
+ readonly properties: {
11621
+ readonly lastError: {
11622
+ readonly additionalProperties: false;
11623
+ readonly properties: {
11624
+ readonly at: {
11625
+ readonly type: "number";
11626
+ };
11627
+ readonly message: {
11628
+ readonly type: "string";
11629
+ };
11630
+ };
11631
+ readonly required: readonly ["message", "at"];
11632
+ readonly type: "object";
11633
+ };
11634
+ readonly lastPublishedAt: {
11635
+ readonly type: "number";
11636
+ };
11637
+ readonly nextAttemptAt: {
11638
+ readonly type: "number";
11639
+ };
11640
+ readonly oldestPendingAt: {
11641
+ readonly type: "number";
11642
+ };
11643
+ readonly pendingCount: {
11644
+ readonly maximum: 9007199254740991;
11645
+ readonly minimum: 0;
11646
+ readonly type: "integer";
11647
+ };
11648
+ };
11649
+ readonly required: readonly ["pendingCount"];
11650
+ readonly type: "object";
11651
+ };
11652
+ readonly stream: {
11653
+ readonly type: "string";
11654
+ };
11655
+ };
11656
+ readonly required: readonly ["stream", "consumer", "enabled", "infrastructureReady", "consuming"];
11657
+ readonly type: "object";
11658
+ };
11659
+ readonly pid: {
11660
+ readonly exclusiveMinimum: 0;
11661
+ readonly maximum: 9007199254740991;
11662
+ readonly type: "integer";
11663
+ };
11664
+ readonly running: {
11665
+ readonly type: "boolean";
11666
+ };
11667
+ readonly schemaVersion: {
11668
+ readonly const: 1;
11669
+ readonly type: "number";
11670
+ };
11671
+ readonly startedAt: {
11672
+ readonly anyOf: readonly [{
11673
+ readonly type: "number";
11674
+ }, {
11675
+ readonly type: "null";
11676
+ }];
11677
+ };
11678
+ };
11679
+ readonly required: readonly ["schemaVersion", "observedAt", "running", "startedAt", "pid", "outbound", "adapters"];
11680
+ readonly type: "object";
11681
+ }, {
11682
+ readonly type: "null";
11683
+ }];
11684
+ };
11685
+ };
11686
+ readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
11687
+ readonly type: "object";
11688
+ };
11689
+ readonly target: {
11690
+ readonly additionalProperties: false;
11691
+ readonly properties: {
11692
+ readonly bundlePath: {
11693
+ readonly type: "string";
11694
+ };
11695
+ readonly cwd: {
11696
+ readonly type: "string";
11697
+ };
11698
+ readonly sourceProjectRoot: {
11699
+ readonly type: "string";
11700
+ };
11701
+ };
11702
+ readonly required: readonly ["bundlePath", "cwd"];
11703
+ readonly type: "object";
11704
+ };
11705
+ };
11706
+ readonly required: readonly ["action", "changed"];
11707
+ readonly type: "object";
11708
+ };
11709
+ /** JSON Schema for the input body of `chats.backfill-provider-timestamps`. */
11710
+ export declare const ChatsBackfillProviderTimestampsInputSchema: {
11711
+ readonly additionalProperties: false;
11712
+ readonly properties: {
11713
+ readonly apply: {
11714
+ readonly description: "Write corrected provider timestamps. Without this, runs dry-run.";
11715
+ readonly type: "boolean";
11716
+ };
11717
+ readonly dryRun: {
11718
+ readonly description: "Force preview mode even if --apply is present";
11719
+ readonly type: "boolean";
11720
+ };
11721
+ readonly limit: {
11722
+ readonly description: "Maximum matching messages to inspect/apply";
11723
+ readonly type: "string";
11724
+ };
11725
+ };
11726
+ readonly type: "object";
11727
+ };
11728
+ /** JSON Schema for the return shape of `chats.backfill-provider-timestamps`. */
11729
+ export declare const ChatsBackfillProviderTimestampsReturnSchema: {
11730
+ readonly additionalProperties: {};
11731
+ readonly properties: {};
11732
+ readonly type: "object";
11733
+ };
11734
+ /** JSON Schema for the input body of `chats.list`. */
11735
+ export declare const ChatsListInputSchema: {
11736
+ readonly additionalProperties: false;
11737
+ readonly properties: {
11738
+ readonly agent: {
11739
+ readonly description: "Filter by agent id";
11740
+ readonly type: "string";
11741
+ };
11742
+ readonly channel: {
11743
+ readonly description: "Filter by channel, e.g. whatsapp";
11744
+ readonly type: "string";
11745
+ };
11746
+ readonly contact: {
11747
+ readonly description: "Filter by contact id, phone, or identity";
11748
+ readonly type: "string";
11749
+ };
11750
+ readonly includeRaw: {
11751
+ readonly description: "Include raw provider ids and provenance in JSON output";
11752
+ readonly type: "boolean";
11753
+ };
11754
+ readonly instance: {
11755
+ readonly description: "Filter by instance name or Omni instance id";
11756
+ readonly type: "string";
11757
+ };
11758
+ readonly limit: {
11759
+ readonly description: "Page size (default: 25, max: 500)";
11760
+ readonly type: "string";
11761
+ };
11762
+ readonly offset: {
11763
+ readonly description: "Number of matching chats to skip (default: 0)";
11764
+ readonly type: "string";
11765
+ };
11766
+ readonly query: {
11767
+ readonly description: "Search chat ids, titles, and message content";
11768
+ readonly type: "string";
11769
+ };
11770
+ readonly type: {
11771
+ readonly description: "Filter by chat type: dm|group|thread|room";
11772
+ readonly type: "string";
11773
+ };
11774
+ };
11775
+ readonly type: "object";
11776
+ };
11777
+ /** JSON Schema for the return shape of `chats.list`. */
11778
+ export declare const ChatsListReturnSchema: {
11779
+ readonly $defs: {
11780
+ readonly __schema0: {
11781
+ readonly anyOf: readonly [{
11782
+ readonly anyOf: readonly [{
11783
+ readonly type: "string";
11784
+ }, {
11785
+ readonly type: "number";
11786
+ }, {
11787
+ readonly type: "boolean";
11788
+ }, {
11789
+ readonly type: "null";
11790
+ }];
11791
+ }, {
11792
+ readonly items: {
11793
+ readonly $ref: "#/$defs/__schema0";
11794
+ };
11795
+ readonly type: "array";
11796
+ }, {
11797
+ readonly additionalProperties: {
11798
+ readonly $ref: "#/$defs/__schema0";
11799
+ };
11800
+ readonly propertyNames: {
11801
+ readonly type: "string";
11802
+ };
11803
+ readonly type: "object";
11804
+ }];
11805
+ };
11806
+ };
11807
+ readonly additionalProperties: false;
11808
+ readonly properties: {
11809
+ readonly chats: {
11810
+ readonly items: {
11811
+ readonly additionalProperties: false;
11812
+ readonly properties: {
11813
+ readonly chat: {
11814
+ readonly additionalProperties: false;
11815
+ readonly properties: {
11816
+ readonly avatarUrl: {
11817
+ readonly type: "string";
11818
+ };
11819
+ readonly channel: {
11820
+ readonly type: "string";
11821
+ };
11822
+ readonly chatType: {
11823
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
11824
+ readonly type: "string";
11825
+ };
11826
+ readonly createdAt: {
11827
+ readonly type: "number";
11828
+ };
11829
+ readonly firstSeenAt: {
11830
+ readonly type: "number";
11831
+ };
11832
+ readonly id: {
11833
+ readonly type: "string";
11834
+ };
11835
+ readonly instanceId: {
11836
+ readonly type: "string";
11837
+ };
11838
+ readonly lastSeenAt: {
11839
+ readonly type: "number";
11840
+ };
11841
+ readonly metadata: {
11842
+ readonly additionalProperties: {
11843
+ readonly $ref: "#/$defs/__schema0";
11844
+ };
11845
+ readonly propertyNames: {
11846
+ readonly type: "string";
11847
+ };
11848
+ readonly type: "object";
11849
+ };
11850
+ readonly normalizedChatId: {
11851
+ readonly type: "string";
11852
+ };
11853
+ readonly platformChatId: {
11854
+ readonly type: "string";
11855
+ };
11856
+ readonly rawProvenance: {
11857
+ readonly additionalProperties: {
11858
+ readonly $ref: "#/$defs/__schema0";
11859
+ };
11860
+ readonly propertyNames: {
11861
+ readonly type: "string";
11862
+ };
11863
+ readonly type: "object";
11864
+ };
11865
+ readonly title: {
11866
+ readonly type: "string";
11867
+ };
11868
+ readonly updatedAt: {
11869
+ readonly type: "number";
11870
+ };
11871
+ };
11872
+ readonly required: readonly ["id", "channel", "instanceId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
11873
+ readonly type: "object";
11874
+ };
11875
+ readonly lastMessage: {
11876
+ readonly anyOf: readonly [{
11877
+ readonly additionalProperties: false;
11878
+ readonly properties: {
11879
+ readonly actorType: {
11880
+ readonly type: "string";
11881
+ };
11882
+ readonly agentId: {
11883
+ readonly type: "string";
11884
+ };
11885
+ readonly channel: {
11886
+ readonly type: "string";
11887
+ };
11888
+ readonly chatId: {
11889
+ readonly type: "string";
11890
+ };
11891
+ readonly contactId: {
11892
+ readonly type: "string";
11893
+ };
11894
+ readonly content: {
11895
+ readonly additionalProperties: {
11896
+ readonly $ref: "#/$defs/__schema0";
11897
+ };
11898
+ readonly propertyNames: {
11899
+ readonly type: "string";
11900
+ };
11901
+ readonly type: "object";
11902
+ };
11903
+ readonly createdAt: {
11904
+ readonly type: "number";
11905
+ };
11906
+ readonly id: {
11907
+ readonly type: "string";
11908
+ };
11909
+ readonly ingestedAt: {
11910
+ readonly type: "number";
11911
+ };
11912
+ readonly instanceId: {
11913
+ readonly type: "string";
11914
+ };
11915
+ readonly messageType: {
11916
+ readonly type: "string";
11917
+ };
11918
+ readonly normalizedSenderId: {
11919
+ readonly type: "string";
11920
+ };
11921
+ readonly platformIdentityId: {
11922
+ readonly type: "string";
11923
+ };
11924
+ readonly providerMessageId: {
11925
+ readonly type: "string";
11926
+ };
11927
+ readonly providerTimestamp: {
11928
+ readonly type: "number";
11929
+ };
11930
+ readonly rawChatId: {
11931
+ readonly type: "string";
11932
+ };
11933
+ readonly rawProvenance: {
11934
+ readonly additionalProperties: {
11935
+ readonly $ref: "#/$defs/__schema0";
11936
+ };
11937
+ readonly propertyNames: {
11938
+ readonly type: "string";
11939
+ };
11940
+ readonly type: "object";
11941
+ };
11942
+ readonly rawSenderId: {
11943
+ readonly type: "string";
11944
+ };
11945
+ readonly sortKey: {
11946
+ readonly type: "string";
11947
+ };
11948
+ readonly updatedAt: {
11949
+ readonly type: "number";
11950
+ };
11951
+ };
11952
+ readonly required: readonly ["id", "chatId", "actorType", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
11953
+ readonly type: "object";
11954
+ }, {
11955
+ readonly type: "null";
11956
+ }];
11957
+ };
11958
+ readonly messageCount: {
11959
+ readonly type: "number";
11960
+ };
11961
+ readonly participantCount: {
11962
+ readonly type: "number";
11963
+ };
10286
11964
  };
10287
- readonly processes: {
10288
- readonly items: {
11965
+ readonly required: readonly ["chat", "messageCount", "participantCount", "lastMessage"];
11966
+ readonly type: "object";
11967
+ };
11968
+ readonly type: "array";
11969
+ };
11970
+ readonly items: {
11971
+ readonly items: {
11972
+ readonly additionalProperties: false;
11973
+ readonly properties: {
11974
+ readonly chat: {
10289
11975
  readonly additionalProperties: false;
10290
11976
  readonly properties: {
10291
- readonly cpu: {
10292
- readonly anyOf: readonly [{
10293
- readonly type: "number";
10294
- }, {
10295
- readonly type: "null";
10296
- }];
11977
+ readonly avatarUrl: {
11978
+ readonly type: "string";
10297
11979
  };
10298
- readonly managed: {
10299
- readonly type: "boolean";
11980
+ readonly channel: {
11981
+ readonly type: "string";
10300
11982
  };
10301
- readonly memoryBytes: {
10302
- readonly anyOf: readonly [{
10303
- readonly type: "number";
10304
- }, {
10305
- readonly type: "null";
10306
- }];
11983
+ readonly chatType: {
11984
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
11985
+ readonly type: "string";
10307
11986
  };
10308
- readonly memoryMb: {
10309
- readonly anyOf: readonly [{
10310
- readonly type: "number";
10311
- }, {
10312
- readonly type: "null";
10313
- }];
11987
+ readonly createdAt: {
11988
+ readonly type: "number";
10314
11989
  };
10315
- readonly name: {
11990
+ readonly firstSeenAt: {
11991
+ readonly type: "number";
11992
+ };
11993
+ readonly id: {
10316
11994
  readonly type: "string";
10317
11995
  };
10318
- readonly pid: {
10319
- readonly anyOf: readonly [{
10320
- readonly type: "number";
10321
- }, {
10322
- readonly type: "null";
10323
- }];
11996
+ readonly instanceId: {
11997
+ readonly type: "string";
10324
11998
  };
10325
- readonly pmId: {
10326
- readonly anyOf: readonly [{
10327
- readonly type: "number";
10328
- }, {
10329
- readonly type: "null";
10330
- }];
11999
+ readonly lastSeenAt: {
12000
+ readonly type: "number";
10331
12001
  };
10332
- readonly running: {
10333
- readonly type: "boolean";
12002
+ readonly metadata: {
12003
+ readonly additionalProperties: {
12004
+ readonly $ref: "#/$defs/__schema0";
12005
+ };
12006
+ readonly propertyNames: {
12007
+ readonly type: "string";
12008
+ };
12009
+ readonly type: "object";
10334
12010
  };
10335
- readonly status: {
12011
+ readonly normalizedChatId: {
12012
+ readonly type: "string";
12013
+ };
12014
+ readonly platformChatId: {
12015
+ readonly type: "string";
12016
+ };
12017
+ readonly rawProvenance: {
12018
+ readonly additionalProperties: {
12019
+ readonly $ref: "#/$defs/__schema0";
12020
+ };
12021
+ readonly propertyNames: {
12022
+ readonly type: "string";
12023
+ };
12024
+ readonly type: "object";
12025
+ };
12026
+ readonly title: {
10336
12027
  readonly type: "string";
10337
12028
  };
12029
+ readonly updatedAt: {
12030
+ readonly type: "number";
12031
+ };
10338
12032
  };
10339
- readonly required: readonly ["name", "managed", "running", "status", "pid", "pmId", "cpu", "memoryBytes", "memoryMb"];
12033
+ readonly required: readonly ["id", "channel", "instanceId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
10340
12034
  readonly type: "object";
10341
12035
  };
10342
- readonly type: "array";
12036
+ readonly lastMessage: {
12037
+ readonly anyOf: readonly [{
12038
+ readonly additionalProperties: false;
12039
+ readonly properties: {
12040
+ readonly actorType: {
12041
+ readonly type: "string";
12042
+ };
12043
+ readonly agentId: {
12044
+ readonly type: "string";
12045
+ };
12046
+ readonly channel: {
12047
+ readonly type: "string";
12048
+ };
12049
+ readonly chatId: {
12050
+ readonly type: "string";
12051
+ };
12052
+ readonly contactId: {
12053
+ readonly type: "string";
12054
+ };
12055
+ readonly content: {
12056
+ readonly additionalProperties: {
12057
+ readonly $ref: "#/$defs/__schema0";
12058
+ };
12059
+ readonly propertyNames: {
12060
+ readonly type: "string";
12061
+ };
12062
+ readonly type: "object";
12063
+ };
12064
+ readonly createdAt: {
12065
+ readonly type: "number";
12066
+ };
12067
+ readonly id: {
12068
+ readonly type: "string";
12069
+ };
12070
+ readonly ingestedAt: {
12071
+ readonly type: "number";
12072
+ };
12073
+ readonly instanceId: {
12074
+ readonly type: "string";
12075
+ };
12076
+ readonly messageType: {
12077
+ readonly type: "string";
12078
+ };
12079
+ readonly normalizedSenderId: {
12080
+ readonly type: "string";
12081
+ };
12082
+ readonly platformIdentityId: {
12083
+ readonly type: "string";
12084
+ };
12085
+ readonly providerMessageId: {
12086
+ readonly type: "string";
12087
+ };
12088
+ readonly providerTimestamp: {
12089
+ readonly type: "number";
12090
+ };
12091
+ readonly rawChatId: {
12092
+ readonly type: "string";
12093
+ };
12094
+ readonly rawProvenance: {
12095
+ readonly additionalProperties: {
12096
+ readonly $ref: "#/$defs/__schema0";
12097
+ };
12098
+ readonly propertyNames: {
12099
+ readonly type: "string";
12100
+ };
12101
+ readonly type: "object";
12102
+ };
12103
+ readonly rawSenderId: {
12104
+ readonly type: "string";
12105
+ };
12106
+ readonly sortKey: {
12107
+ readonly type: "string";
12108
+ };
12109
+ readonly updatedAt: {
12110
+ readonly type: "number";
12111
+ };
12112
+ };
12113
+ readonly required: readonly ["id", "chatId", "actorType", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
12114
+ readonly type: "object";
12115
+ }, {
12116
+ readonly type: "null";
12117
+ }];
12118
+ };
12119
+ readonly messageCount: {
12120
+ readonly type: "number";
12121
+ };
12122
+ readonly participantCount: {
12123
+ readonly type: "number";
12124
+ };
10343
12125
  };
12126
+ readonly required: readonly ["chat", "messageCount", "participantCount", "lastMessage"];
12127
+ readonly type: "object";
10344
12128
  };
10345
- readonly required: readonly ["pm2Available", "processName", "channels", "processes"];
10346
- readonly type: "object";
12129
+ readonly type: "array";
10347
12130
  };
10348
- readonly target: {
12131
+ readonly pagination: {
10349
12132
  readonly additionalProperties: false;
10350
12133
  readonly properties: {
10351
- readonly bundlePath: {
10352
- readonly type: "string";
12134
+ readonly hasMore: {
12135
+ readonly type: "boolean";
10353
12136
  };
10354
- readonly cwd: {
10355
- readonly type: "string";
12137
+ readonly limit: {
12138
+ readonly type: "number";
10356
12139
  };
10357
- readonly sourceProjectRoot: {
10358
- readonly type: "string";
12140
+ readonly nextCommand: {
12141
+ readonly anyOf: readonly [{
12142
+ readonly type: "string";
12143
+ }, {
12144
+ readonly type: "null";
12145
+ }];
12146
+ };
12147
+ readonly nextOffset: {
12148
+ readonly anyOf: readonly [{
12149
+ readonly type: "number";
12150
+ }, {
12151
+ readonly type: "null";
12152
+ }];
12153
+ };
12154
+ readonly offset: {
12155
+ readonly type: "number";
12156
+ };
12157
+ readonly returned: {
12158
+ readonly type: "number";
12159
+ };
12160
+ readonly total: {
12161
+ readonly type: "number";
10359
12162
  };
10360
12163
  };
10361
- readonly required: readonly ["bundlePath", "cwd"];
12164
+ readonly required: readonly ["limit", "offset", "returned", "total"];
10362
12165
  readonly type: "object";
10363
12166
  };
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";
10379
- };
10380
- readonly limit: {
10381
- readonly description: "Maximum matching messages to inspect/apply";
10382
- readonly type: "string";
10383
- };
10384
- };
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: {};
10391
- readonly type: "object";
10392
- };
10393
- /** JSON Schema for the input body of `chats.list`. */
10394
- export declare const ChatsListInputSchema: {
10395
- readonly additionalProperties: false;
10396
- readonly properties: {
10397
- readonly agent: {
10398
- readonly description: "Filter by agent id";
10399
- readonly type: "string";
10400
- };
10401
- readonly channel: {
10402
- readonly description: "Filter by channel, e.g. whatsapp";
10403
- readonly type: "string";
10404
- };
10405
- readonly contact: {
10406
- readonly description: "Filter by contact id, phone, or identity";
10407
- readonly type: "string";
10408
- };
10409
- readonly includeRaw: {
10410
- readonly description: "Include raw provider ids and provenance in JSON output";
10411
- readonly type: "boolean";
10412
- };
10413
- readonly instance: {
10414
- readonly description: "Filter by instance name or Omni instance id";
10415
- readonly type: "string";
10416
- };
10417
- readonly limit: {
10418
- readonly description: "Page size (default: 25, max: 500)";
10419
- readonly type: "string";
10420
- };
10421
- readonly offset: {
10422
- readonly description: "Number of matching chats to skip (default: 0)";
10423
- readonly type: "string";
10424
- };
10425
- readonly query: {
10426
- readonly description: "Search chat ids, titles, and message content";
10427
- readonly type: "string";
10428
- };
10429
- readonly type: {
10430
- readonly description: "Filter by chat type: dm|group|thread|room";
10431
- readonly type: "string";
12167
+ readonly total: {
12168
+ readonly type: "number";
10432
12169
  };
10433
12170
  };
10434
- readonly type: "object";
10435
- };
10436
- /** JSON Schema for the return shape of `chats.list`. */
10437
- export declare const ChatsListReturnSchema: {
10438
- readonly additionalProperties: {};
10439
- readonly properties: {};
12171
+ readonly required: readonly ["total", "pagination", "items", "chats"];
10440
12172
  readonly type: "object";
10441
12173
  };
10442
12174
  /** JSON Schema for the input body of `chats.lists.add`. */
@@ -11247,8 +12979,221 @@ export declare const ChatsReadInputSchema: {
11247
12979
  };
11248
12980
  /** JSON Schema for the return shape of `chats.read`. */
11249
12981
  export declare const ChatsReadReturnSchema: {
11250
- readonly additionalProperties: {};
11251
- readonly properties: {};
12982
+ readonly $defs: {
12983
+ readonly __schema0: {
12984
+ readonly anyOf: readonly [{
12985
+ readonly anyOf: readonly [{
12986
+ readonly type: "string";
12987
+ }, {
12988
+ readonly type: "number";
12989
+ }, {
12990
+ readonly type: "boolean";
12991
+ }, {
12992
+ readonly type: "null";
12993
+ }];
12994
+ }, {
12995
+ readonly items: {
12996
+ readonly $ref: "#/$defs/__schema0";
12997
+ };
12998
+ readonly type: "array";
12999
+ }, {
13000
+ readonly additionalProperties: {
13001
+ readonly $ref: "#/$defs/__schema0";
13002
+ };
13003
+ readonly propertyNames: {
13004
+ readonly type: "string";
13005
+ };
13006
+ readonly type: "object";
13007
+ }];
13008
+ };
13009
+ };
13010
+ readonly additionalProperties: false;
13011
+ readonly properties: {
13012
+ readonly chat: {
13013
+ readonly additionalProperties: false;
13014
+ readonly properties: {
13015
+ readonly avatarUrl: {
13016
+ readonly type: "string";
13017
+ };
13018
+ readonly channel: {
13019
+ readonly type: "string";
13020
+ };
13021
+ readonly chatType: {
13022
+ readonly enum: readonly ["dm", "group", "room", "thread", "channel", "unknown"];
13023
+ readonly type: "string";
13024
+ };
13025
+ readonly createdAt: {
13026
+ readonly type: "number";
13027
+ };
13028
+ readonly firstSeenAt: {
13029
+ readonly type: "number";
13030
+ };
13031
+ readonly id: {
13032
+ readonly type: "string";
13033
+ };
13034
+ readonly instanceId: {
13035
+ readonly type: "string";
13036
+ };
13037
+ readonly lastSeenAt: {
13038
+ readonly type: "number";
13039
+ };
13040
+ readonly metadata: {
13041
+ readonly additionalProperties: {
13042
+ readonly $ref: "#/$defs/__schema0";
13043
+ };
13044
+ readonly propertyNames: {
13045
+ readonly type: "string";
13046
+ };
13047
+ readonly type: "object";
13048
+ };
13049
+ readonly normalizedChatId: {
13050
+ readonly type: "string";
13051
+ };
13052
+ readonly platformChatId: {
13053
+ readonly type: "string";
13054
+ };
13055
+ readonly rawProvenance: {
13056
+ readonly additionalProperties: {
13057
+ readonly $ref: "#/$defs/__schema0";
13058
+ };
13059
+ readonly propertyNames: {
13060
+ readonly type: "string";
13061
+ };
13062
+ readonly type: "object";
13063
+ };
13064
+ readonly title: {
13065
+ readonly type: "string";
13066
+ };
13067
+ readonly updatedAt: {
13068
+ readonly type: "number";
13069
+ };
13070
+ };
13071
+ readonly required: readonly ["id", "channel", "instanceId", "chatType", "firstSeenAt", "lastSeenAt", "createdAt", "updatedAt"];
13072
+ readonly type: "object";
13073
+ };
13074
+ readonly messages: {
13075
+ readonly items: {
13076
+ readonly additionalProperties: false;
13077
+ readonly properties: {
13078
+ readonly actorType: {
13079
+ readonly type: "string";
13080
+ };
13081
+ readonly agentId: {
13082
+ readonly type: "string";
13083
+ };
13084
+ readonly channel: {
13085
+ readonly type: "string";
13086
+ };
13087
+ readonly chatId: {
13088
+ readonly type: "string";
13089
+ };
13090
+ readonly contactId: {
13091
+ readonly type: "string";
13092
+ };
13093
+ readonly content: {
13094
+ readonly additionalProperties: {
13095
+ readonly $ref: "#/$defs/__schema0";
13096
+ };
13097
+ readonly propertyNames: {
13098
+ readonly type: "string";
13099
+ };
13100
+ readonly type: "object";
13101
+ };
13102
+ readonly createdAt: {
13103
+ readonly type: "number";
13104
+ };
13105
+ readonly id: {
13106
+ readonly type: "string";
13107
+ };
13108
+ readonly ingestedAt: {
13109
+ readonly type: "number";
13110
+ };
13111
+ readonly instanceId: {
13112
+ readonly type: "string";
13113
+ };
13114
+ readonly messageType: {
13115
+ readonly type: "string";
13116
+ };
13117
+ readonly normalizedSenderId: {
13118
+ readonly type: "string";
13119
+ };
13120
+ readonly platformIdentityId: {
13121
+ readonly type: "string";
13122
+ };
13123
+ readonly providerMessageId: {
13124
+ readonly type: "string";
13125
+ };
13126
+ readonly providerTimestamp: {
13127
+ readonly type: "number";
13128
+ };
13129
+ readonly rawChatId: {
13130
+ readonly type: "string";
13131
+ };
13132
+ readonly rawProvenance: {
13133
+ readonly additionalProperties: {
13134
+ readonly $ref: "#/$defs/__schema0";
13135
+ };
13136
+ readonly propertyNames: {
13137
+ readonly type: "string";
13138
+ };
13139
+ readonly type: "object";
13140
+ };
13141
+ readonly rawSenderId: {
13142
+ readonly type: "string";
13143
+ };
13144
+ readonly sortKey: {
13145
+ readonly type: "string";
13146
+ };
13147
+ readonly updatedAt: {
13148
+ readonly type: "number";
13149
+ };
13150
+ };
13151
+ readonly required: readonly ["id", "chatId", "actorType", "ingestedAt", "sortKey", "createdAt", "updatedAt"];
13152
+ readonly type: "object";
13153
+ };
13154
+ readonly type: "array";
13155
+ };
13156
+ readonly pagination: {
13157
+ readonly additionalProperties: false;
13158
+ readonly properties: {
13159
+ readonly hasMore: {
13160
+ readonly type: "boolean";
13161
+ };
13162
+ readonly limit: {
13163
+ readonly type: "number";
13164
+ };
13165
+ readonly nextCommand: {
13166
+ readonly anyOf: readonly [{
13167
+ readonly type: "string";
13168
+ }, {
13169
+ readonly type: "null";
13170
+ }];
13171
+ };
13172
+ readonly nextOffset: {
13173
+ readonly anyOf: readonly [{
13174
+ readonly type: "number";
13175
+ }, {
13176
+ readonly type: "null";
13177
+ }];
13178
+ };
13179
+ readonly offset: {
13180
+ readonly type: "number";
13181
+ };
13182
+ readonly returned: {
13183
+ readonly type: "number";
13184
+ };
13185
+ readonly total: {
13186
+ readonly type: "number";
13187
+ };
13188
+ };
13189
+ readonly required: readonly ["limit", "offset", "returned", "total"];
13190
+ readonly type: "object";
13191
+ };
13192
+ readonly total: {
13193
+ readonly type: "number";
13194
+ };
13195
+ };
13196
+ readonly required: readonly ["chat", "total", "pagination", "messages"];
11252
13197
  readonly type: "object";
11253
13198
  };
11254
13199
  /** JSON Schema for the input body of `cloud.projects.create`. */
@@ -15699,7 +17644,7 @@ export declare const ContextRevokeInputSchema: {
15699
17644
  readonly type: "string";
15700
17645
  };
15701
17646
  readonly noCascade: {
15702
- readonly default: true;
17647
+ readonly default: false;
15703
17648
  readonly description: "Do not revoke descendant contexts (use only for narrow rotation; emits a loud warning)";
15704
17649
  readonly type: "boolean";
15705
17650
  };
@@ -19752,6 +21697,10 @@ export declare const CronAddInputSchema: {
19752
21697
  readonly description: "Alias for --shell";
19753
21698
  readonly type: "string";
19754
21699
  };
21700
+ readonly idempotencyKey: {
21701
+ readonly description: "Durable create idempotency key";
21702
+ readonly type: "string";
21703
+ };
19755
21704
  readonly isolated: {
19756
21705
  readonly description: "Run in isolated session";
19757
21706
  readonly type: "boolean";
@@ -20208,7 +22157,7 @@ export declare const DaemonInitAdminKeyInputSchema: {
20208
22157
  readonly type: "string";
20209
22158
  };
20210
22159
  readonly noStore: {
20211
- readonly default: true;
22160
+ readonly default: false;
20212
22161
  readonly description: "Alias for --print-only (do not write to ~/.ravi/credentials.json)";
20213
22162
  readonly type: "boolean";
20214
22163
  };
@@ -20740,12 +22689,12 @@ export declare const DevinSessionsCreateInputSchema: {
20740
22689
  readonly type: "string";
20741
22690
  };
20742
22691
  readonly noMaxAcuLimit: {
20743
- readonly default: true;
22692
+ readonly default: false;
20744
22693
  readonly description: "Intentionally omit max_acu_limit";
20745
22694
  readonly type: "boolean";
20746
22695
  };
20747
22696
  readonly noResumable: {
20748
- readonly default: true;
22697
+ readonly default: false;
20749
22698
  readonly description: "Disposable session, do not preserve VM state";
20750
22699
  readonly type: "boolean";
20751
22700
  };
@@ -30670,7 +32619,7 @@ export declare const MeetingsFinalizeInputSchema: {
30670
32619
  readonly additionalProperties: false;
30671
32620
  readonly properties: {
30672
32621
  readonly noPostTranscribe: {
30673
- readonly default: true;
32622
+ readonly default: false;
30674
32623
  readonly description: "Skip post-call audio transcription";
30675
32624
  readonly type: "boolean";
30676
32625
  };
@@ -31774,6 +33723,10 @@ export declare const ObserversProfilesValidateReturnSchema: {
31774
33723
  export declare const ObserversRefreshInputSchema: {
31775
33724
  readonly additionalProperties: false;
31776
33725
  readonly properties: {
33726
+ readonly reconcile: {
33727
+ readonly description: "attach-missing|detach-disabled|refresh-profile|full-reconcile";
33728
+ readonly type: "string";
33729
+ };
31777
33730
  readonly session: {
31778
33731
  readonly description: "Source session name or key";
31779
33732
  readonly type: "string";
@@ -31802,6 +33755,26 @@ export declare const ObserversRefreshReturnSchema: {
31802
33755
  };
31803
33756
  readonly type: "array";
31804
33757
  };
33758
+ readonly disabled: {
33759
+ readonly items: {
33760
+ readonly additionalProperties: {};
33761
+ readonly properties: {};
33762
+ readonly type: "object";
33763
+ };
33764
+ readonly type: "array";
33765
+ };
33766
+ readonly mode: {
33767
+ readonly enum: readonly ["attach-missing", "detach-disabled", "refresh-profile", "full-reconcile"];
33768
+ readonly type: "string";
33769
+ };
33770
+ readonly refreshedProfiles: {
33771
+ readonly items: {
33772
+ readonly additionalProperties: {};
33773
+ readonly properties: {};
33774
+ readonly type: "object";
33775
+ };
33776
+ readonly type: "array";
33777
+ };
31805
33778
  readonly skipped: {
31806
33779
  readonly items: {
31807
33780
  readonly additionalProperties: {};
@@ -31811,15 +33784,19 @@ export declare const ObserversRefreshReturnSchema: {
31811
33784
  readonly type: "array";
31812
33785
  };
31813
33786
  readonly source: {
31814
- readonly additionalProperties: {};
31815
- readonly properties: {};
31816
- readonly type: "object";
33787
+ readonly anyOf: readonly [{
33788
+ readonly additionalProperties: {};
33789
+ readonly properties: {};
33790
+ readonly type: "object";
33791
+ }, {
33792
+ readonly type: "null";
33793
+ }];
31817
33794
  };
31818
33795
  readonly total: {
31819
33796
  readonly type: "number";
31820
33797
  };
31821
33798
  };
31822
- readonly required: readonly ["source", "total", "created", "bindings", "skipped"];
33799
+ readonly required: readonly ["source", "mode", "total", "created", "disabled", "refreshedProfiles", "bindings", "skipped"];
31823
33800
  readonly type: "object";
31824
33801
  };
31825
33802
  /** JSON Schema for the input body of `observers.rules.disable`. */
@@ -32084,6 +34061,10 @@ export declare const ObserversRulesSetInputSchema: {
32084
34061
  readonly description: "global|agent|session|task|profile|project|tag";
32085
34062
  readonly type: "string";
32086
34063
  };
34064
+ readonly selector: {
34065
+ readonly description: "Predicate over source.*, turn.* and event.*; use 'clear' to remove";
34066
+ readonly type: "string";
34067
+ };
32087
34068
  readonly sourceAgent: {
32088
34069
  readonly description: "Match source agent id";
32089
34070
  readonly type: "string";
@@ -32594,7 +34575,7 @@ export declare const PagesPublishInputSchema: {
32594
34575
  readonly type: "string";
32595
34576
  };
32596
34577
  readonly noActivate: {
32597
- readonly default: true;
34578
+ readonly default: false;
32598
34579
  readonly description: "Create publish records without activating a site release";
32599
34580
  readonly type: "boolean";
32600
34581
  };
@@ -37453,7 +39434,7 @@ export declare const SdkOpenapiEmitInputSchema: {
37453
39434
  readonly additionalProperties: false;
37454
39435
  readonly properties: {
37455
39436
  readonly out: {
37456
- readonly description: "Write spec JSON to this path";
39437
+ readonly description: "Write spec JSON to this path (default: docs/openapi.json)";
37457
39438
  readonly type: "string";
37458
39439
  };
37459
39440
  readonly stdout: {
@@ -52519,7 +54500,7 @@ export declare const WhatsappDmReadInputSchema: {
52519
54500
  readonly type: "string";
52520
54501
  };
52521
54502
  readonly noAck: {
52522
- readonly default: true;
54503
+ readonly default: false;
52523
54504
  readonly description: "Don't send read receipt";
52524
54505
  readonly type: "boolean";
52525
54506
  };