qlogicagent 2.15.4 → 2.15.6

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.
@@ -11,6 +11,7 @@
11
11
  import type { ChatMessage, LocalizedToolText, ToolCapabilityCategory } from "./chat-types.js";
12
12
  import type { GatewayRpcMethodMap } from "./gateway-rpc.js";
13
13
  import type { WireTokenUsage } from "./notification-payloads.js";
14
+ import type { SoloEvaluation, SoloMessageParams, SoloEvaluateParams, SoloDeleteParams, ProductPlan, ProductPlanParams, ProductConfirmParams, ProductMessageParams, ProductIdParams, ProductDeleteParams, AgentsGetGatewayResult, AgentsListConfiguredItem, AgentsProcessInfo, AgentsKillParams, AgentsGetLogParams, AgentsGetLogResult, AgentsTestConnectionParams, AgentsTestConnectionResult } from "./acp-agent-management.js";
14
15
  export type AgentCategory = "sub-agent" | "teammate";
15
16
  export type AgentProtocol = "internal" | "acp";
16
17
  export type AgentStatus = "available" | "unavailable" | "handshake_failed" | "not_installed";
@@ -561,4 +562,1231 @@ export interface AgentRpcMethodMap extends GatewayRpcMethodMap {
561
562
  params: undefined;
562
563
  result: ProductSummary[];
563
564
  };
565
+ "thread.user_response": {
566
+ params: {
567
+ requestId: string;
568
+ declined?: boolean;
569
+ answers?: Record<string, string>;
570
+ };
571
+ result: {
572
+ received: boolean;
573
+ };
574
+ };
575
+ "session.resolve": {
576
+ params: {
577
+ platform?: string;
578
+ chatId?: string;
579
+ chatType?: string;
580
+ userId?: string;
581
+ groupName?: string;
582
+ projectId?: string;
583
+ title?: string;
584
+ };
585
+ result: {
586
+ sessionId: string;
587
+ title?: string;
588
+ type: string;
589
+ agentId?: string;
590
+ ownerPlatform?: string;
591
+ ownerId?: string;
592
+ groupKey?: string;
593
+ groupPlatform?: string;
594
+ groupName?: string;
595
+ projectId?: string;
596
+ };
597
+ };
598
+ "session.focus": {
599
+ params: {
600
+ sessionId: string;
601
+ projectName?: string;
602
+ };
603
+ result: {
604
+ ok: false;
605
+ } | {
606
+ ok: true;
607
+ projectId: string;
608
+ };
609
+ };
610
+ "memory.atlas": GatewayRpcMethodMap["memory.atlas"];
611
+ "memory.activity": GatewayRpcMethodMap["memory.activity"];
612
+ "memory.observe": GatewayRpcMethodMap["memory.observe"];
613
+ "memory.propose": GatewayRpcMethodMap["memory.propose"];
614
+ "memory.consolidate": GatewayRpcMethodMap["memory.consolidate"];
615
+ "memory.update": GatewayRpcMethodMap["memory.update"];
616
+ "memory.attachment.adopt": GatewayRpcMethodMap["memory.attachment.adopt"];
617
+ "memory.attachment.locate": GatewayRpcMethodMap["memory.attachment.locate"];
618
+ "media.cancel": {
619
+ params: {
620
+ taskId: string;
621
+ provider?: string;
622
+ };
623
+ result: {
624
+ ok: true;
625
+ } | {
626
+ ok: false;
627
+ message: string;
628
+ };
629
+ };
630
+ "media.status": {
631
+ params: {
632
+ taskId: string;
633
+ provider?: string;
634
+ };
635
+ result: {
636
+ status: unknown;
637
+ message?: string;
638
+ };
639
+ };
640
+ "media.stt": {
641
+ params: {
642
+ audioBase64: string;
643
+ mimeType?: string;
644
+ language?: string;
645
+ };
646
+ result: {
647
+ text: string;
648
+ model?: string;
649
+ };
650
+ };
651
+ "settings.listProviders": {
652
+ params: undefined;
653
+ result: {
654
+ providers: Array<{
655
+ id: string;
656
+ displayName: string;
657
+ baseUrl: string;
658
+ modelCount: number;
659
+ }>;
660
+ };
661
+ };
662
+ "settings.addKey": {
663
+ params: {
664
+ providerId: string;
665
+ key: string;
666
+ label?: string;
667
+ };
668
+ result: {
669
+ keyId: string;
670
+ providerId: string;
671
+ };
672
+ };
673
+ "settings.removeKey": {
674
+ params: {
675
+ keyId: string;
676
+ };
677
+ result: {
678
+ ok: true;
679
+ };
680
+ };
681
+ "settings.getKey": {
682
+ params: {
683
+ keyId: string;
684
+ };
685
+ result: {
686
+ key: string;
687
+ };
688
+ };
689
+ "settings.copyKey": {
690
+ params: {
691
+ keyId: string;
692
+ };
693
+ result: {
694
+ ok: true;
695
+ };
696
+ };
697
+ "settings.toggleKey": {
698
+ params: {
699
+ keyId: string;
700
+ enabled: boolean;
701
+ };
702
+ result: {
703
+ ok: true;
704
+ };
705
+ };
706
+ "settings.toggleModel": {
707
+ params: {
708
+ modelId: string;
709
+ enabled: boolean;
710
+ };
711
+ result: {
712
+ ok: true;
713
+ };
714
+ };
715
+ "settings.listModels": {
716
+ params: {
717
+ purpose?: string;
718
+ provider?: string;
719
+ };
720
+ result: {
721
+ models: unknown[];
722
+ grouped: Record<string, unknown[]>;
723
+ };
724
+ };
725
+ "settings.setActiveModel": {
726
+ params: {
727
+ purpose: string;
728
+ modelId: string;
729
+ };
730
+ result: {
731
+ ok: true;
732
+ };
733
+ };
734
+ "settings.getActiveModel": {
735
+ params: {
736
+ purpose: string;
737
+ };
738
+ result: {
739
+ model: {
740
+ id: string;
741
+ provider: string;
742
+ model: string;
743
+ displayName: string;
744
+ routeIntents: string[];
745
+ capabilityProfile?: Record<string, unknown>;
746
+ enabled: boolean;
747
+ } | null;
748
+ available: boolean;
749
+ };
750
+ };
751
+ "settings.getOverview": {
752
+ params: undefined;
753
+ result: {
754
+ providers: Array<{
755
+ providerId: string;
756
+ baseUrl?: string;
757
+ keyCount: number;
758
+ healthyKeys: number;
759
+ totalKeys: number;
760
+ }>;
761
+ purposes: Record<string, {
762
+ bound: boolean;
763
+ modelId?: string;
764
+ modelName?: string;
765
+ available: boolean;
766
+ }>;
767
+ };
768
+ };
769
+ "settings.refreshModels": {
770
+ params: undefined;
771
+ result: {
772
+ ok: true;
773
+ catalogRefreshed?: boolean;
774
+ };
775
+ };
776
+ "settings.validateKey": {
777
+ params: {
778
+ providerId: string;
779
+ apiKey: string;
780
+ baseUrl?: string;
781
+ };
782
+ result: {
783
+ valid: boolean;
784
+ status: number;
785
+ error?: string;
786
+ };
787
+ };
788
+ "provider.list": {
789
+ params: undefined;
790
+ result: {
791
+ providers: Array<{
792
+ group: string;
793
+ variants: Array<{
794
+ id: string;
795
+ name: string;
796
+ transport: string;
797
+ baseUrl: string;
798
+ defaultModel?: string;
799
+ modelCount: number;
800
+ available: boolean;
801
+ }>;
802
+ }>;
803
+ };
804
+ };
805
+ "config.tunables": {
806
+ params: undefined;
807
+ result: {
808
+ defaults: Record<string, unknown>;
809
+ overrides: Record<string, unknown>;
810
+ };
811
+ };
812
+ "config.updateTunable": {
813
+ params: {
814
+ key: string;
815
+ value?: unknown;
816
+ };
817
+ result: {
818
+ ok: true;
819
+ key: string;
820
+ value: unknown;
821
+ };
822
+ };
823
+ "community.getConsent": {
824
+ params: undefined;
825
+ result: {
826
+ ok: boolean;
827
+ remoteAvailable: boolean;
828
+ consent: {
829
+ enabled: boolean;
830
+ methodSharingEnabled: boolean;
831
+ signalsEnabled: boolean;
832
+ encounterEnabled: boolean;
833
+ remoteSynced: boolean;
834
+ };
835
+ error?: string;
836
+ };
837
+ };
838
+ "community.setConsent": {
839
+ params: {
840
+ enabled: boolean;
841
+ methodSharingEnabled?: boolean;
842
+ signalsEnabled?: boolean;
843
+ encounterEnabled?: boolean;
844
+ };
845
+ result: {
846
+ ok: boolean;
847
+ remoteAvailable: boolean;
848
+ consent: Record<string, unknown>;
849
+ warning?: string;
850
+ };
851
+ };
852
+ "community.matchRegistry": {
853
+ params: {
854
+ intent: string;
855
+ topK?: 1 | 2 | 3;
856
+ preferOfficial?: boolean;
857
+ };
858
+ result: {
859
+ ok: boolean;
860
+ matches: Array<Record<string, unknown>>;
861
+ };
862
+ };
863
+ "community.listShared": {
864
+ params: undefined;
865
+ result: {
866
+ ok: boolean;
867
+ resources: Array<Record<string, unknown>>;
868
+ };
869
+ };
870
+ "community.withdrawShared": {
871
+ params: {
872
+ resourceId: string;
873
+ reason?: string;
874
+ };
875
+ result: {
876
+ ok: boolean;
877
+ resource: Record<string, unknown>;
878
+ };
879
+ };
880
+ "community.withdrawAllShared": {
881
+ params: {
882
+ reason?: string;
883
+ };
884
+ result: {
885
+ ok: boolean;
886
+ resources: Array<Record<string, unknown>>;
887
+ };
888
+ };
889
+ "community.listNotices": {
890
+ params: {
891
+ includeRead?: boolean;
892
+ };
893
+ result: {
894
+ ok: boolean;
895
+ notices: Array<Record<string, unknown>>;
896
+ };
897
+ };
898
+ "community.markNoticeRead": {
899
+ params: {
900
+ noticeId: number;
901
+ };
902
+ result: {
903
+ ok: boolean;
904
+ notice: Record<string, unknown>;
905
+ };
906
+ };
907
+ "community.listPublishAudit": {
908
+ params: {
909
+ limit?: number;
910
+ };
911
+ result: {
912
+ ok: boolean;
913
+ entries: Array<Record<string, unknown>>;
914
+ };
915
+ };
916
+ "community.resolveInstall": {
917
+ params: {
918
+ resourceId: string;
919
+ version?: string;
920
+ explicitInstallConsent: true;
921
+ explicitHighRiskConsent?: true;
922
+ };
923
+ result: {
924
+ ok: boolean;
925
+ install: Record<string, unknown>;
926
+ };
927
+ };
928
+ "community.listResourceVersions": {
929
+ params: {
930
+ resourceId: string;
931
+ };
932
+ result: {
933
+ ok: true;
934
+ versions: unknown;
935
+ };
936
+ };
937
+ "community.getRatingSummary": {
938
+ params: {
939
+ resourceId: string;
940
+ };
941
+ result: {
942
+ ok: true;
943
+ summary: unknown;
944
+ };
945
+ };
946
+ "community.rateResource": {
947
+ params: {
948
+ resourceId: string;
949
+ stars: number;
950
+ };
951
+ result: {
952
+ ok: true;
953
+ summary: unknown;
954
+ };
955
+ };
956
+ "community.reportResource": {
957
+ params: {
958
+ resourceId: string;
959
+ reason?: string;
960
+ };
961
+ result: {
962
+ ok: true;
963
+ };
964
+ };
965
+ "community.listComments": {
966
+ params: {
967
+ resourceId: string;
968
+ };
969
+ result: {
970
+ ok: true;
971
+ comments: unknown;
972
+ };
973
+ };
974
+ "community.postComment": {
975
+ params: {
976
+ resourceId: string;
977
+ body: string;
978
+ };
979
+ result: {
980
+ ok: true;
981
+ comment: unknown;
982
+ };
983
+ };
984
+ "community.installResource": {
985
+ params: {
986
+ resourceId: string;
987
+ version?: string;
988
+ explicitInstallConsent: true;
989
+ };
990
+ result: {
991
+ ok: boolean;
992
+ installed?: Record<string, unknown>;
993
+ preview?: Record<string, unknown>;
994
+ signalWarning?: string;
995
+ };
996
+ };
997
+ "community.runtimeStatus": {
998
+ params: {
999
+ ids: string[];
1000
+ };
1001
+ result: {
1002
+ ok: boolean;
1003
+ items: Array<Record<string, unknown>>;
1004
+ };
1005
+ };
1006
+ "community.installRuntime": {
1007
+ params: {
1008
+ id: string;
1009
+ };
1010
+ result: {
1011
+ ok: boolean;
1012
+ id: string;
1013
+ version?: string;
1014
+ binPath?: string;
1015
+ };
1016
+ };
1017
+ "community.publishSkill": {
1018
+ params: {
1019
+ id: string;
1020
+ title: string;
1021
+ summary: string;
1022
+ visibility?: "public" | "private";
1023
+ tags?: string[];
1024
+ manifest: Record<string, unknown>;
1025
+ version?: string;
1026
+ packageGzipBase64?: string;
1027
+ };
1028
+ result: {
1029
+ ok: boolean;
1030
+ resource: Record<string, unknown>;
1031
+ version?: Record<string, unknown>;
1032
+ };
1033
+ };
1034
+ "community.publishPet": {
1035
+ params: {
1036
+ id: string;
1037
+ name: string;
1038
+ summary: string;
1039
+ persona: string;
1040
+ visibility?: "public" | "private";
1041
+ tags?: string[];
1042
+ traits?: string[];
1043
+ assets?: Array<{
1044
+ kind: string;
1045
+ path: string;
1046
+ }>;
1047
+ };
1048
+ result: {
1049
+ ok: boolean;
1050
+ resource: Record<string, unknown>;
1051
+ version?: Record<string, unknown>;
1052
+ };
1053
+ };
1054
+ "community.recordSignal": {
1055
+ params: {
1056
+ resourceId: string;
1057
+ event: string;
1058
+ attribution?: string;
1059
+ metadata?: Record<string, unknown>;
1060
+ };
1061
+ result: {
1062
+ ok: boolean;
1063
+ accepted: true;
1064
+ };
1065
+ };
1066
+ "community.recordTelemetry": {
1067
+ params: {
1068
+ event: string;
1069
+ metadata?: Record<string, unknown>;
1070
+ };
1071
+ result: {
1072
+ ok: boolean;
1073
+ accepted: true;
1074
+ };
1075
+ };
1076
+ "agent.health": GatewayRpcMethodMap["agent.health"];
1077
+ "agent.metrics": GatewayRpcMethodMap["agent.metrics"];
1078
+ "agent.cancel": GatewayRpcMethodMap["agent.cancel"];
1079
+ "agents.catalog": {
1080
+ params: undefined;
1081
+ result: {
1082
+ catalog: Array<{
1083
+ id: string;
1084
+ name: string;
1085
+ brandId: string;
1086
+ category: string;
1087
+ integration: string;
1088
+ authMode: string;
1089
+ note?: string;
1090
+ status: string;
1091
+ version: string | undefined;
1092
+ install: {
1093
+ docsUrl?: string;
1094
+ command?: string;
1095
+ };
1096
+ }>;
1097
+ };
1098
+ };
1099
+ "agents.checkUpdates": {
1100
+ params: undefined;
1101
+ result: {
1102
+ updates: unknown[];
1103
+ };
1104
+ };
1105
+ "agents.install": {
1106
+ params: {
1107
+ agentId: string;
1108
+ mirror?: string;
1109
+ };
1110
+ result: {
1111
+ ok: boolean;
1112
+ error?: string;
1113
+ };
1114
+ };
1115
+ "agents.prompt": {
1116
+ params: {
1117
+ agentId: string;
1118
+ prompt: string;
1119
+ cwd?: string;
1120
+ timeoutMs?: number;
1121
+ systemPrompt?: string;
1122
+ sessionId?: string;
1123
+ turnId?: string;
1124
+ requestId?: string;
1125
+ projectId?: string;
1126
+ };
1127
+ result: {
1128
+ ok: true;
1129
+ agentId: string;
1130
+ content: string;
1131
+ streamed: boolean;
1132
+ stopReason?: string;
1133
+ usage?: {
1134
+ inputTokens: number;
1135
+ outputTokens: number;
1136
+ totalTokens: number;
1137
+ cacheRead: number;
1138
+ thoughtTokens: number;
1139
+ cost: number;
1140
+ };
1141
+ };
1142
+ };
1143
+ "agents.approvalResponse": {
1144
+ params: {
1145
+ approvalId?: string;
1146
+ optionId?: string;
1147
+ };
1148
+ result: {
1149
+ ok: boolean;
1150
+ };
1151
+ };
1152
+ "agents.warm": {
1153
+ params: {
1154
+ agentId?: string;
1155
+ };
1156
+ result: {
1157
+ ok: boolean;
1158
+ warmed: boolean;
1159
+ error?: string;
1160
+ };
1161
+ };
1162
+ "agents.getGateway": {
1163
+ params: undefined;
1164
+ result: AgentsGetGatewayResult;
1165
+ };
1166
+ "agents.processes": {
1167
+ params: undefined;
1168
+ result: AgentsProcessInfo[];
1169
+ };
1170
+ "agents.kill": {
1171
+ params: AgentsKillParams;
1172
+ result: {
1173
+ ok: boolean;
1174
+ };
1175
+ };
1176
+ "agents.listConfigured": {
1177
+ params: undefined;
1178
+ result: AgentsListConfiguredItem[];
1179
+ };
1180
+ "agents.getLog": {
1181
+ params: AgentsGetLogParams;
1182
+ result: AgentsGetLogResult;
1183
+ };
1184
+ "agents.testConnection": {
1185
+ params: AgentsTestConnectionParams;
1186
+ result: AgentsTestConnectionResult;
1187
+ };
1188
+ "solo.list": {
1189
+ params: undefined;
1190
+ result: SoloStatus[];
1191
+ };
1192
+ "solo.delete": {
1193
+ params: SoloDeleteParams;
1194
+ result: {
1195
+ ok: true;
1196
+ };
1197
+ };
1198
+ "solo.message": {
1199
+ params: SoloMessageParams;
1200
+ result: {
1201
+ resultText: string;
1202
+ };
1203
+ };
1204
+ "solo.evaluate": {
1205
+ params: SoloEvaluateParams;
1206
+ result: SoloEvaluation;
1207
+ };
1208
+ "product.plan": {
1209
+ params: ProductPlanParams;
1210
+ result: {
1211
+ productId: string;
1212
+ plan: ProductPlan;
1213
+ };
1214
+ };
1215
+ "product.confirm": {
1216
+ params: ProductConfirmParams;
1217
+ result: {
1218
+ productId: string;
1219
+ ok: true;
1220
+ };
1221
+ };
1222
+ "product.message": {
1223
+ params: ProductMessageParams;
1224
+ result: {
1225
+ response: string;
1226
+ plan?: ProductPlan;
1227
+ mutations?: Array<{
1228
+ type: string;
1229
+ taskId: string;
1230
+ }>;
1231
+ };
1232
+ };
1233
+ "product.delete": {
1234
+ params: ProductDeleteParams;
1235
+ result: {
1236
+ ok: true;
1237
+ };
1238
+ };
1239
+ "product.cancel": {
1240
+ params: ProductIdParams;
1241
+ result: {
1242
+ ok: true;
1243
+ };
1244
+ };
1245
+ "product.rollback": {
1246
+ params: ProductIdParams & {
1247
+ checkpoint?: string;
1248
+ };
1249
+ result: {
1250
+ ok: true;
1251
+ };
1252
+ };
1253
+ "workflow.create": {
1254
+ params: Record<string, unknown>;
1255
+ result: Record<string, unknown>;
1256
+ };
1257
+ "workflow.get": {
1258
+ params: {
1259
+ id: string;
1260
+ projectId?: string;
1261
+ includePublished?: boolean;
1262
+ };
1263
+ result: Record<string, unknown>;
1264
+ };
1265
+ "workflow.describe": {
1266
+ params: {
1267
+ id: string;
1268
+ projectId?: string;
1269
+ };
1270
+ result: {
1271
+ rendered: string;
1272
+ };
1273
+ };
1274
+ "workflow.patch": {
1275
+ params: Record<string, unknown>;
1276
+ result: Record<string, unknown>;
1277
+ };
1278
+ "workflow.run": {
1279
+ params: Record<string, unknown>;
1280
+ result: Record<string, unknown>;
1281
+ };
1282
+ "workflow.setActive": {
1283
+ params: {
1284
+ id: string;
1285
+ active: boolean;
1286
+ projectId?: string;
1287
+ };
1288
+ result: Record<string, unknown>;
1289
+ };
1290
+ "workflow.list": {
1291
+ params: {
1292
+ projectId?: string;
1293
+ };
1294
+ result: {
1295
+ workflows: Array<Record<string, unknown>>;
1296
+ };
1297
+ };
1298
+ "workflow.delete": {
1299
+ params: {
1300
+ id: string;
1301
+ projectId?: string;
1302
+ };
1303
+ result: {
1304
+ ok: true;
1305
+ };
1306
+ };
1307
+ "workflow.onImMessage": {
1308
+ params: {
1309
+ channel: string;
1310
+ text: string;
1311
+ payload?: Record<string, unknown>;
1312
+ };
1313
+ result: {
1314
+ outcomes: unknown[];
1315
+ errors?: Array<{
1316
+ projectId?: string;
1317
+ error: string;
1318
+ }>;
1319
+ };
1320
+ };
1321
+ "workflow.onWebhook": {
1322
+ params: {
1323
+ path: string;
1324
+ payload?: Record<string, unknown>;
1325
+ };
1326
+ result: {
1327
+ outcomes: unknown[];
1328
+ errors?: Array<{
1329
+ projectId?: string;
1330
+ error: string;
1331
+ }>;
1332
+ wokenWaits?: number;
1333
+ };
1334
+ };
1335
+ "workflow.revisions": {
1336
+ params: {
1337
+ id: string;
1338
+ projectId?: string;
1339
+ };
1340
+ result: {
1341
+ revisions: unknown;
1342
+ };
1343
+ };
1344
+ "workflow.revert": {
1345
+ params: {
1346
+ id: string;
1347
+ rev: number;
1348
+ projectId?: string;
1349
+ };
1350
+ result: Record<string, unknown>;
1351
+ };
1352
+ "workflow.runs": {
1353
+ params: {
1354
+ id: string;
1355
+ projectId?: string;
1356
+ };
1357
+ result: {
1358
+ runs: unknown;
1359
+ };
1360
+ };
1361
+ "workflow.runDetail": {
1362
+ params: {
1363
+ id: string;
1364
+ runId: string;
1365
+ projectId?: string;
1366
+ };
1367
+ result: {
1368
+ run: unknown;
1369
+ };
1370
+ };
1371
+ "workflow.export": {
1372
+ params: {
1373
+ id: string;
1374
+ projectId?: string;
1375
+ };
1376
+ result: {
1377
+ bundle: unknown;
1378
+ };
1379
+ };
1380
+ "workflow.import": {
1381
+ params: {
1382
+ payload: unknown;
1383
+ format?: "n8n";
1384
+ targetWorkflowId?: string;
1385
+ id?: string;
1386
+ name?: string;
1387
+ projectId?: string;
1388
+ };
1389
+ result: Record<string, unknown>;
1390
+ };
1391
+ "workflow.duplicate": {
1392
+ params: {
1393
+ id: string;
1394
+ targetProjectId?: string;
1395
+ name?: string;
1396
+ projectId?: string;
1397
+ };
1398
+ result: Record<string, unknown>;
1399
+ };
1400
+ "workflow.update": {
1401
+ params: Record<string, unknown>;
1402
+ result: Record<string, unknown>;
1403
+ };
1404
+ "workflow.capabilities": {
1405
+ params: {
1406
+ projectId?: string;
1407
+ };
1408
+ result: {
1409
+ capabilities: unknown;
1410
+ };
1411
+ };
1412
+ "workflow.onIntent": {
1413
+ params: {
1414
+ workflowId: string;
1415
+ text: string;
1416
+ surface?: string;
1417
+ matchedPhrase?: string;
1418
+ projectId?: string;
1419
+ };
1420
+ result: unknown;
1421
+ };
1422
+ "workflow.intentIndex": {
1423
+ params: undefined;
1424
+ result: {
1425
+ intents: Array<{
1426
+ workflowId: string;
1427
+ projectId?: string;
1428
+ name: string;
1429
+ trigger: Record<string, unknown>;
1430
+ }>;
1431
+ };
1432
+ };
1433
+ "workflow.cancelRun": {
1434
+ params: {
1435
+ id: string;
1436
+ runId?: string;
1437
+ reason?: string;
1438
+ projectId?: string;
1439
+ };
1440
+ result: Record<string, unknown>;
1441
+ };
1442
+ "workflow.setPermissionScope": {
1443
+ params: {
1444
+ id: string;
1445
+ allowUnattendedKinds: string[] | null;
1446
+ projectId?: string;
1447
+ };
1448
+ result: Record<string, unknown>;
1449
+ };
1450
+ "workflow.publish": {
1451
+ params: {
1452
+ id: string;
1453
+ projectId?: string;
1454
+ };
1455
+ result: Record<string, unknown>;
1456
+ };
1457
+ "workflow.publishHub": {
1458
+ params: {
1459
+ id: string;
1460
+ slug: string;
1461
+ summary: string;
1462
+ description?: string;
1463
+ tags?: string[];
1464
+ visibility?: "private" | "public";
1465
+ category?: string;
1466
+ version?: string;
1467
+ projectId?: string;
1468
+ };
1469
+ result: {
1470
+ ok: true;
1471
+ } & Record<string, unknown>;
1472
+ };
1473
+ "workflow.audit": {
1474
+ params: {
1475
+ id?: string;
1476
+ limit?: number;
1477
+ projectId?: string;
1478
+ };
1479
+ result: {
1480
+ entries: unknown;
1481
+ };
1482
+ };
1483
+ "workflow.archive": {
1484
+ params: {
1485
+ id: string;
1486
+ archived: boolean;
1487
+ projectId?: string;
1488
+ };
1489
+ result: Record<string, unknown>;
1490
+ };
1491
+ "workflow.dryRun": {
1492
+ params: {
1493
+ id: string;
1494
+ payload?: Record<string, unknown>;
1495
+ projectId?: string;
1496
+ };
1497
+ result: Record<string, unknown>;
1498
+ };
1499
+ "workflow.metrics": {
1500
+ params: {
1501
+ id: string;
1502
+ projectId?: string;
1503
+ };
1504
+ result: {
1505
+ metrics: Record<string, unknown>;
1506
+ };
1507
+ };
1508
+ "workflow.approve": {
1509
+ params: {
1510
+ approvalId: string;
1511
+ approved: boolean;
1512
+ note?: string;
1513
+ };
1514
+ result: {
1515
+ ok: true;
1516
+ };
1517
+ };
1518
+ "workflow.approvals": {
1519
+ params: undefined;
1520
+ result: {
1521
+ approvals: Array<Record<string, unknown>>;
1522
+ };
1523
+ };
1524
+ "workflow.onForm": {
1525
+ params: {
1526
+ workflowId: string;
1527
+ values: Record<string, unknown>;
1528
+ projectId?: string;
1529
+ };
1530
+ result: unknown;
1531
+ };
1532
+ "credential.list": {
1533
+ params: undefined;
1534
+ result: {
1535
+ credentials: Array<Record<string, unknown>>;
1536
+ };
1537
+ };
1538
+ "credential.create": {
1539
+ params: {
1540
+ type: string;
1541
+ label: string;
1542
+ data: Record<string, unknown>;
1543
+ meta?: Record<string, unknown>;
1544
+ };
1545
+ result: Record<string, unknown>;
1546
+ };
1547
+ "credential.delete": {
1548
+ params: {
1549
+ id: string;
1550
+ };
1551
+ result: {
1552
+ ok: boolean;
1553
+ };
1554
+ };
1555
+ "credential.oauthStart": {
1556
+ params: {
1557
+ label: string;
1558
+ authUrl: string;
1559
+ tokenUrl: string;
1560
+ clientId: string;
1561
+ redirectUri: string;
1562
+ scopes?: string;
1563
+ clientSecret?: string;
1564
+ };
1565
+ result: {
1566
+ credentialId: string;
1567
+ authorizeUrl: string;
1568
+ state: string;
1569
+ };
1570
+ };
1571
+ "credential.oauthComplete": {
1572
+ params: {
1573
+ state: string;
1574
+ code: string;
1575
+ };
1576
+ result: {
1577
+ ok: true;
1578
+ credentialId: string;
1579
+ };
1580
+ };
1581
+ "project.purgeAll": GatewayRpcMethodMap["project.purgeAll"];
1582
+ "session.moveToProject": GatewayRpcMethodMap["session.moveToProject"];
1583
+ "instructions.list": GatewayRpcMethodMap["instructions.list"];
1584
+ "instructions.read": GatewayRpcMethodMap["instructions.read"];
1585
+ "instructions.write": GatewayRpcMethodMap["instructions.write"];
1586
+ "instructions.delete": GatewayRpcMethodMap["instructions.delete"];
1587
+ "plans.list": {
1588
+ params: {
1589
+ projectId?: string;
1590
+ };
1591
+ result: {
1592
+ plans: Array<{
1593
+ slug: string;
1594
+ name: string;
1595
+ title: string;
1596
+ status?: string;
1597
+ path: string;
1598
+ size: number;
1599
+ }>;
1600
+ };
1601
+ };
1602
+ "skills.activate": {
1603
+ params: {
1604
+ name: string;
1605
+ };
1606
+ result: {
1607
+ ok: true;
1608
+ already: boolean;
1609
+ };
1610
+ };
1611
+ "skills.deactivate": {
1612
+ params: {
1613
+ name: string;
1614
+ };
1615
+ result: {
1616
+ ok: true;
1617
+ already: boolean;
1618
+ };
1619
+ };
1620
+ "skills.delete": {
1621
+ params: {
1622
+ name: string;
1623
+ scope?: "project" | "global";
1624
+ };
1625
+ result: {
1626
+ ok: true;
1627
+ deleted: string;
1628
+ scope: string;
1629
+ signalStatus?: string;
1630
+ };
1631
+ };
1632
+ "skills.promote": {
1633
+ params: {
1634
+ name: string;
1635
+ keepLocal?: boolean;
1636
+ };
1637
+ result: {
1638
+ ok: true;
1639
+ promoted: string;
1640
+ scope: "global";
1641
+ globalPath: string;
1642
+ removedFromProject: boolean;
1643
+ };
1644
+ };
1645
+ "skills.stats": {
1646
+ params: {
1647
+ name?: string;
1648
+ };
1649
+ result: {
1650
+ name?: string;
1651
+ stats: unknown;
1652
+ };
1653
+ };
1654
+ "skills.pin": {
1655
+ params: {
1656
+ name: string;
1657
+ };
1658
+ result: {
1659
+ name: string;
1660
+ pinned: true;
1661
+ };
1662
+ };
1663
+ "skills.unpin": {
1664
+ params: {
1665
+ name: string;
1666
+ };
1667
+ result: {
1668
+ name: string;
1669
+ pinned: false;
1670
+ };
1671
+ };
1672
+ "skills.curator": {
1673
+ params: undefined;
1674
+ result: Record<string, unknown>;
1675
+ };
1676
+ "skills.lifecycle": {
1677
+ params: {
1678
+ state?: string;
1679
+ name?: string;
1680
+ };
1681
+ result: {
1682
+ record?: unknown;
1683
+ } | {
1684
+ records: unknown[];
1685
+ };
1686
+ };
1687
+ "pet.interact": {
1688
+ params: {
1689
+ action?: string;
1690
+ };
1691
+ result: {
1692
+ ok: true;
1693
+ action: string;
1694
+ level: number;
1695
+ experience: number;
1696
+ events: Array<{
1697
+ type: string;
1698
+ level: number;
1699
+ }>;
1700
+ reaction: {
1701
+ text: string;
1702
+ style: "normal" | "thinking" | "excited" | "sleepy";
1703
+ } | null;
1704
+ };
1705
+ };
1706
+ "pet.status": {
1707
+ params: undefined;
1708
+ result: {
1709
+ ok: true;
1710
+ } & Record<string, unknown>;
1711
+ };
1712
+ "pet.forge": {
1713
+ params: {
1714
+ description?: string;
1715
+ imageBase64?: string;
1716
+ imageMimeType?: string;
1717
+ imageFileName?: string;
1718
+ mode?: string;
1719
+ basePetId?: string;
1720
+ basePetName?: string;
1721
+ };
1722
+ result: {
1723
+ ok: true;
1724
+ asset: Record<string, unknown>;
1725
+ manifest: unknown;
1726
+ productionRun: unknown;
1727
+ profile: Record<string, unknown>;
1728
+ status: "complete";
1729
+ };
1730
+ };
1731
+ "pet.asset.import": {
1732
+ params: {
1733
+ fileName?: string;
1734
+ contentType?: string;
1735
+ packageBase64: string;
1736
+ };
1737
+ result: {
1738
+ ok: true;
1739
+ asset: Record<string, unknown>;
1740
+ } & Record<string, unknown>;
1741
+ };
1742
+ "pet.preferences.update": {
1743
+ params: {
1744
+ enabled?: boolean;
1745
+ selectedPetAssetId?: string;
1746
+ };
1747
+ result: {
1748
+ ok: true;
1749
+ } & Record<string, unknown>;
1750
+ };
1751
+ "pet.journey.snapshot": {
1752
+ params: Record<string, unknown>;
1753
+ result: {
1754
+ ok: true;
1755
+ profile: Record<string, unknown>;
1756
+ dates: unknown;
1757
+ };
1758
+ };
1759
+ "pet.journey.list": {
1760
+ params: undefined;
1761
+ result: {
1762
+ ok: true;
1763
+ dates: string[];
1764
+ };
1765
+ };
1766
+ "pet.journey.get": {
1767
+ params: {
1768
+ date?: string;
1769
+ };
1770
+ result: {
1771
+ ok: true;
1772
+ snapshot: unknown | null;
1773
+ };
1774
+ };
1775
+ "pet.custom.delete": {
1776
+ params: {
1777
+ id: string;
1778
+ };
1779
+ result: {
1780
+ ok: true;
1781
+ } & Record<string, unknown>;
1782
+ };
1783
+ "pet.confirm_response": {
1784
+ params: {
1785
+ confirmId: string;
1786
+ approved: boolean;
1787
+ };
1788
+ result: {
1789
+ ok: true;
1790
+ };
1791
+ };
564
1792
  }