rice-node-sdk 1.0.4 → 1.0.5

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/index.d.ts CHANGED
@@ -36,6 +36,9 @@ declare const _default: {
36
36
  actionDetails?: undefined;
37
37
  limit?: undefined;
38
38
  actionTypeFilter?: undefined;
39
+ schema?: undefined;
40
+ candidates?: undefined;
41
+ skillName?: undefined;
39
42
  };
40
43
  required: string[];
41
44
  };
@@ -64,6 +67,9 @@ declare const _default: {
64
67
  actionDetails?: undefined;
65
68
  limit?: undefined;
66
69
  actionTypeFilter?: undefined;
70
+ schema?: undefined;
71
+ candidates?: undefined;
72
+ skillName?: undefined;
67
73
  };
68
74
  required: string[];
69
75
  };
@@ -98,6 +104,9 @@ declare const _default: {
98
104
  actionDetails?: undefined;
99
105
  limit?: undefined;
100
106
  actionTypeFilter?: undefined;
107
+ schema?: undefined;
108
+ candidates?: undefined;
109
+ skillName?: undefined;
101
110
  };
102
111
  required: string[];
103
112
  };
@@ -126,6 +135,9 @@ declare const _default: {
126
135
  actionDetails?: undefined;
127
136
  limit?: undefined;
128
137
  actionTypeFilter?: undefined;
138
+ schema?: undefined;
139
+ candidates?: undefined;
140
+ skillName?: undefined;
129
141
  };
130
142
  required: string[];
131
143
  };
@@ -151,6 +163,9 @@ declare const _default: {
151
163
  actionDetails?: undefined;
152
164
  limit?: undefined;
153
165
  actionTypeFilter?: undefined;
166
+ schema?: undefined;
167
+ candidates?: undefined;
168
+ skillName?: undefined;
154
169
  };
155
170
  required?: undefined;
156
171
  };
@@ -185,6 +200,9 @@ declare const _default: {
185
200
  actionDetails?: undefined;
186
201
  limit?: undefined;
187
202
  actionTypeFilter?: undefined;
203
+ schema?: undefined;
204
+ candidates?: undefined;
205
+ skillName?: undefined;
188
206
  };
189
207
  required: string[];
190
208
  };
@@ -216,6 +234,9 @@ declare const _default: {
216
234
  actionDetails?: undefined;
217
235
  limit?: undefined;
218
236
  actionTypeFilter?: undefined;
237
+ schema?: undefined;
238
+ candidates?: undefined;
239
+ skillName?: undefined;
219
240
  };
220
241
  required: string[];
221
242
  };
@@ -244,6 +265,9 @@ declare const _default: {
244
265
  actionDetails?: undefined;
245
266
  limit?: undefined;
246
267
  actionTypeFilter?: undefined;
268
+ schema?: undefined;
269
+ candidates?: undefined;
270
+ skillName?: undefined;
247
271
  };
248
272
  required?: undefined;
249
273
  };
@@ -278,6 +302,9 @@ declare const _default: {
278
302
  statusFilter?: undefined;
279
303
  limit?: undefined;
280
304
  actionTypeFilter?: undefined;
305
+ schema?: undefined;
306
+ candidates?: undefined;
307
+ skillName?: undefined;
281
308
  };
282
309
  required: string[];
283
310
  };
@@ -309,9 +336,142 @@ declare const _default: {
309
336
  agentId?: undefined;
310
337
  actionType?: undefined;
311
338
  actionDetails?: undefined;
339
+ schema?: undefined;
340
+ candidates?: undefined;
341
+ skillName?: undefined;
312
342
  };
313
343
  required?: undefined;
314
344
  };
345
+ } | {
346
+ name: string;
347
+ description: string;
348
+ parameters: {
349
+ type: string;
350
+ properties: {
351
+ name: {
352
+ type: string;
353
+ description: string;
354
+ };
355
+ schema: {
356
+ type: string;
357
+ description: string;
358
+ };
359
+ content?: undefined;
360
+ query?: undefined;
361
+ value?: undefined;
362
+ source?: undefined;
363
+ description?: undefined;
364
+ priority?: undefined;
365
+ parentId?: undefined;
366
+ goalId?: undefined;
367
+ status?: undefined;
368
+ statusFilter?: undefined;
369
+ agentId?: undefined;
370
+ actionType?: undefined;
371
+ actionDetails?: undefined;
372
+ limit?: undefined;
373
+ actionTypeFilter?: undefined;
374
+ candidates?: undefined;
375
+ skillName?: undefined;
376
+ };
377
+ required: string[];
378
+ };
379
+ } | {
380
+ name: string;
381
+ description: string;
382
+ parameters: {
383
+ type: string;
384
+ properties: {
385
+ agentId: {
386
+ type: string;
387
+ description: string;
388
+ };
389
+ candidates: {
390
+ type: string;
391
+ description: string;
392
+ };
393
+ content?: undefined;
394
+ query?: undefined;
395
+ name?: undefined;
396
+ value?: undefined;
397
+ source?: undefined;
398
+ description?: undefined;
399
+ priority?: undefined;
400
+ parentId?: undefined;
401
+ goalId?: undefined;
402
+ status?: undefined;
403
+ statusFilter?: undefined;
404
+ actionType?: undefined;
405
+ actionDetails?: undefined;
406
+ limit?: undefined;
407
+ actionTypeFilter?: undefined;
408
+ schema?: undefined;
409
+ skillName?: undefined;
410
+ };
411
+ required: string[];
412
+ };
413
+ } | {
414
+ name: string;
415
+ description: string;
416
+ parameters: {
417
+ type: string;
418
+ properties: {
419
+ limit: {
420
+ type: string;
421
+ description: string;
422
+ };
423
+ content?: undefined;
424
+ query?: undefined;
425
+ name?: undefined;
426
+ value?: undefined;
427
+ source?: undefined;
428
+ description?: undefined;
429
+ priority?: undefined;
430
+ parentId?: undefined;
431
+ goalId?: undefined;
432
+ status?: undefined;
433
+ statusFilter?: undefined;
434
+ agentId?: undefined;
435
+ actionType?: undefined;
436
+ actionDetails?: undefined;
437
+ actionTypeFilter?: undefined;
438
+ schema?: undefined;
439
+ candidates?: undefined;
440
+ skillName?: undefined;
441
+ };
442
+ required?: undefined;
443
+ };
444
+ } | {
445
+ name: string;
446
+ description: string;
447
+ parameters: {
448
+ type: string;
449
+ properties: {
450
+ skillName: {
451
+ type: string;
452
+ description: string;
453
+ };
454
+ content?: undefined;
455
+ query?: undefined;
456
+ name?: undefined;
457
+ value?: undefined;
458
+ source?: undefined;
459
+ description?: undefined;
460
+ priority?: undefined;
461
+ parentId?: undefined;
462
+ goalId?: undefined;
463
+ status?: undefined;
464
+ statusFilter?: undefined;
465
+ agentId?: undefined;
466
+ actionType?: undefined;
467
+ actionDetails?: undefined;
468
+ limit?: undefined;
469
+ actionTypeFilter?: undefined;
470
+ schema?: undefined;
471
+ candidates?: undefined;
472
+ };
473
+ required: string[];
474
+ };
315
475
  })[];
316
476
  openai: ({
317
477
  type: string;
@@ -340,6 +500,9 @@ declare const _default: {
340
500
  actionDetails?: undefined;
341
501
  limit?: undefined;
342
502
  actionTypeFilter?: undefined;
503
+ schema?: undefined;
504
+ candidates?: undefined;
505
+ skillName?: undefined;
343
506
  };
344
507
  required: string[];
345
508
  };
@@ -371,6 +534,9 @@ declare const _default: {
371
534
  actionDetails?: undefined;
372
535
  limit?: undefined;
373
536
  actionTypeFilter?: undefined;
537
+ schema?: undefined;
538
+ candidates?: undefined;
539
+ skillName?: undefined;
374
540
  };
375
541
  required: string[];
376
542
  };
@@ -407,6 +573,9 @@ declare const _default: {
407
573
  actionDetails?: undefined;
408
574
  limit?: undefined;
409
575
  actionTypeFilter?: undefined;
576
+ schema?: undefined;
577
+ candidates?: undefined;
578
+ skillName?: undefined;
410
579
  };
411
580
  required: string[];
412
581
  };
@@ -438,6 +607,9 @@ declare const _default: {
438
607
  actionDetails?: undefined;
439
608
  limit?: undefined;
440
609
  actionTypeFilter?: undefined;
610
+ schema?: undefined;
611
+ candidates?: undefined;
612
+ skillName?: undefined;
441
613
  };
442
614
  required: string[];
443
615
  };
@@ -466,6 +638,9 @@ declare const _default: {
466
638
  actionDetails?: undefined;
467
639
  limit?: undefined;
468
640
  actionTypeFilter?: undefined;
641
+ schema?: undefined;
642
+ candidates?: undefined;
643
+ skillName?: undefined;
469
644
  };
470
645
  required?: undefined;
471
646
  };
@@ -503,6 +678,9 @@ declare const _default: {
503
678
  actionDetails?: undefined;
504
679
  limit?: undefined;
505
680
  actionTypeFilter?: undefined;
681
+ schema?: undefined;
682
+ candidates?: undefined;
683
+ skillName?: undefined;
506
684
  };
507
685
  required: string[];
508
686
  };
@@ -537,6 +715,9 @@ declare const _default: {
537
715
  actionDetails?: undefined;
538
716
  limit?: undefined;
539
717
  actionTypeFilter?: undefined;
718
+ schema?: undefined;
719
+ candidates?: undefined;
720
+ skillName?: undefined;
540
721
  };
541
722
  required: string[];
542
723
  };
@@ -568,6 +749,9 @@ declare const _default: {
568
749
  actionDetails?: undefined;
569
750
  limit?: undefined;
570
751
  actionTypeFilter?: undefined;
752
+ schema?: undefined;
753
+ candidates?: undefined;
754
+ skillName?: undefined;
571
755
  };
572
756
  required?: undefined;
573
757
  };
@@ -604,6 +788,9 @@ declare const _default: {
604
788
  statusFilter?: undefined;
605
789
  limit?: undefined;
606
790
  actionTypeFilter?: undefined;
791
+ schema?: undefined;
792
+ candidates?: undefined;
793
+ skillName?: undefined;
607
794
  };
608
795
  required: string[];
609
796
  };
@@ -638,10 +825,174 @@ declare const _default: {
638
825
  agentId?: undefined;
639
826
  actionType?: undefined;
640
827
  actionDetails?: undefined;
828
+ schema?: undefined;
829
+ candidates?: undefined;
830
+ skillName?: undefined;
831
+ };
832
+ required?: undefined;
833
+ };
834
+ };
835
+ } | {
836
+ type: string;
837
+ function: {
838
+ name: string;
839
+ description: string;
840
+ parameters: {
841
+ type: string;
842
+ properties: {
843
+ name: {
844
+ type: string;
845
+ description: string;
846
+ };
847
+ schema: {
848
+ description: string;
849
+ };
850
+ content?: undefined;
851
+ query?: undefined;
852
+ value?: undefined;
853
+ source?: undefined;
854
+ description?: undefined;
855
+ priority?: undefined;
856
+ parentId?: undefined;
857
+ goalId?: undefined;
858
+ status?: undefined;
859
+ statusFilter?: undefined;
860
+ agentId?: undefined;
861
+ actionType?: undefined;
862
+ actionDetails?: undefined;
863
+ limit?: undefined;
864
+ actionTypeFilter?: undefined;
865
+ candidates?: undefined;
866
+ skillName?: undefined;
867
+ };
868
+ required: string[];
869
+ };
870
+ };
871
+ } | {
872
+ type: string;
873
+ function: {
874
+ name: string;
875
+ description: string;
876
+ parameters: {
877
+ type: string;
878
+ properties: {
879
+ agentId: {
880
+ type: string;
881
+ description: string;
882
+ };
883
+ candidates: {
884
+ type: string;
885
+ description: string;
886
+ items: {
887
+ type: string;
888
+ properties: {
889
+ actionType: {
890
+ type: string;
891
+ description: string;
892
+ };
893
+ action: {
894
+ description: string;
895
+ };
896
+ score: {
897
+ type: string;
898
+ description: string;
899
+ };
900
+ rationale: {
901
+ type: string;
902
+ description: string;
903
+ };
904
+ };
905
+ };
906
+ };
907
+ content?: undefined;
908
+ query?: undefined;
909
+ name?: undefined;
910
+ value?: undefined;
911
+ source?: undefined;
912
+ description?: undefined;
913
+ priority?: undefined;
914
+ parentId?: undefined;
915
+ goalId?: undefined;
916
+ status?: undefined;
917
+ statusFilter?: undefined;
918
+ actionType?: undefined;
919
+ actionDetails?: undefined;
920
+ limit?: undefined;
921
+ actionTypeFilter?: undefined;
922
+ schema?: undefined;
923
+ skillName?: undefined;
924
+ };
925
+ required: string[];
926
+ };
927
+ };
928
+ } | {
929
+ type: string;
930
+ function: {
931
+ name: string;
932
+ description: string;
933
+ parameters: {
934
+ type: string;
935
+ properties: {
936
+ limit: {
937
+ type: string;
938
+ description: string;
939
+ };
940
+ content?: undefined;
941
+ query?: undefined;
942
+ name?: undefined;
943
+ value?: undefined;
944
+ source?: undefined;
945
+ description?: undefined;
946
+ priority?: undefined;
947
+ parentId?: undefined;
948
+ goalId?: undefined;
949
+ status?: undefined;
950
+ statusFilter?: undefined;
951
+ agentId?: undefined;
952
+ actionType?: undefined;
953
+ actionDetails?: undefined;
954
+ actionTypeFilter?: undefined;
955
+ schema?: undefined;
956
+ candidates?: undefined;
957
+ skillName?: undefined;
641
958
  };
642
959
  required?: undefined;
643
960
  };
644
961
  };
962
+ } | {
963
+ type: string;
964
+ function: {
965
+ name: string;
966
+ description: string;
967
+ parameters: {
968
+ type: string;
969
+ properties: {
970
+ skillName: {
971
+ type: string;
972
+ description: string;
973
+ };
974
+ content?: undefined;
975
+ query?: undefined;
976
+ name?: undefined;
977
+ value?: undefined;
978
+ source?: undefined;
979
+ description?: undefined;
980
+ priority?: undefined;
981
+ parentId?: undefined;
982
+ goalId?: undefined;
983
+ status?: undefined;
984
+ statusFilter?: undefined;
985
+ agentId?: undefined;
986
+ actionType?: undefined;
987
+ actionDetails?: undefined;
988
+ limit?: undefined;
989
+ actionTypeFilter?: undefined;
990
+ schema?: undefined;
991
+ candidates?: undefined;
992
+ };
993
+ required: string[];
994
+ };
995
+ };
645
996
  })[];
646
997
  anthropic: ({
647
998
  name: string;
@@ -668,6 +1019,9 @@ declare const _default: {
668
1019
  actionDetails?: undefined;
669
1020
  limit?: undefined;
670
1021
  actionTypeFilter?: undefined;
1022
+ schema?: undefined;
1023
+ candidates?: undefined;
1024
+ skillName?: undefined;
671
1025
  };
672
1026
  required: string[];
673
1027
  };
@@ -696,6 +1050,9 @@ declare const _default: {
696
1050
  actionDetails?: undefined;
697
1051
  limit?: undefined;
698
1052
  actionTypeFilter?: undefined;
1053
+ schema?: undefined;
1054
+ candidates?: undefined;
1055
+ skillName?: undefined;
699
1056
  };
700
1057
  required: string[];
701
1058
  };
@@ -729,6 +1086,9 @@ declare const _default: {
729
1086
  actionDetails?: undefined;
730
1087
  limit?: undefined;
731
1088
  actionTypeFilter?: undefined;
1089
+ schema?: undefined;
1090
+ candidates?: undefined;
1091
+ skillName?: undefined;
732
1092
  };
733
1093
  required: string[];
734
1094
  };
@@ -757,6 +1117,9 @@ declare const _default: {
757
1117
  actionDetails?: undefined;
758
1118
  limit?: undefined;
759
1119
  actionTypeFilter?: undefined;
1120
+ schema?: undefined;
1121
+ candidates?: undefined;
1122
+ skillName?: undefined;
760
1123
  };
761
1124
  required: string[];
762
1125
  };
@@ -782,6 +1145,9 @@ declare const _default: {
782
1145
  actionDetails?: undefined;
783
1146
  limit?: undefined;
784
1147
  actionTypeFilter?: undefined;
1148
+ schema?: undefined;
1149
+ candidates?: undefined;
1150
+ skillName?: undefined;
785
1151
  };
786
1152
  required?: undefined;
787
1153
  };
@@ -816,6 +1182,9 @@ declare const _default: {
816
1182
  actionDetails?: undefined;
817
1183
  limit?: undefined;
818
1184
  actionTypeFilter?: undefined;
1185
+ schema?: undefined;
1186
+ candidates?: undefined;
1187
+ skillName?: undefined;
819
1188
  };
820
1189
  required: string[];
821
1190
  };
@@ -847,6 +1216,9 @@ declare const _default: {
847
1216
  actionDetails?: undefined;
848
1217
  limit?: undefined;
849
1218
  actionTypeFilter?: undefined;
1219
+ schema?: undefined;
1220
+ candidates?: undefined;
1221
+ skillName?: undefined;
850
1222
  };
851
1223
  required: string[];
852
1224
  };
@@ -875,6 +1247,9 @@ declare const _default: {
875
1247
  actionDetails?: undefined;
876
1248
  limit?: undefined;
877
1249
  actionTypeFilter?: undefined;
1250
+ schema?: undefined;
1251
+ candidates?: undefined;
1252
+ skillName?: undefined;
878
1253
  };
879
1254
  required?: undefined;
880
1255
  };
@@ -908,6 +1283,9 @@ declare const _default: {
908
1283
  statusFilter?: undefined;
909
1284
  limit?: undefined;
910
1285
  actionTypeFilter?: undefined;
1286
+ schema?: undefined;
1287
+ candidates?: undefined;
1288
+ skillName?: undefined;
911
1289
  };
912
1290
  required: string[];
913
1291
  };
@@ -939,9 +1317,161 @@ declare const _default: {
939
1317
  agentId?: undefined;
940
1318
  actionType?: undefined;
941
1319
  actionDetails?: undefined;
1320
+ schema?: undefined;
1321
+ candidates?: undefined;
1322
+ skillName?: undefined;
942
1323
  };
943
1324
  required?: undefined;
944
1325
  };
1326
+ } | {
1327
+ name: string;
1328
+ description: string;
1329
+ input_schema: {
1330
+ type: string;
1331
+ properties: {
1332
+ name: {
1333
+ type: string;
1334
+ description: string;
1335
+ };
1336
+ schema: {
1337
+ description: string;
1338
+ };
1339
+ content?: undefined;
1340
+ query?: undefined;
1341
+ value?: undefined;
1342
+ source?: undefined;
1343
+ description?: undefined;
1344
+ priority?: undefined;
1345
+ parentId?: undefined;
1346
+ goalId?: undefined;
1347
+ status?: undefined;
1348
+ statusFilter?: undefined;
1349
+ agentId?: undefined;
1350
+ actionType?: undefined;
1351
+ actionDetails?: undefined;
1352
+ limit?: undefined;
1353
+ actionTypeFilter?: undefined;
1354
+ candidates?: undefined;
1355
+ skillName?: undefined;
1356
+ };
1357
+ required: string[];
1358
+ };
1359
+ } | {
1360
+ name: string;
1361
+ description: string;
1362
+ input_schema: {
1363
+ type: string;
1364
+ properties: {
1365
+ agentId: {
1366
+ type: string;
1367
+ description: string;
1368
+ };
1369
+ candidates: {
1370
+ type: string;
1371
+ description: string;
1372
+ items: {
1373
+ type: string;
1374
+ properties: {
1375
+ actionType: {
1376
+ type: string;
1377
+ description: string;
1378
+ };
1379
+ action: {
1380
+ description: string;
1381
+ };
1382
+ score: {
1383
+ type: string;
1384
+ description: string;
1385
+ };
1386
+ rationale: {
1387
+ type: string;
1388
+ description: string;
1389
+ };
1390
+ };
1391
+ };
1392
+ };
1393
+ content?: undefined;
1394
+ query?: undefined;
1395
+ name?: undefined;
1396
+ value?: undefined;
1397
+ source?: undefined;
1398
+ description?: undefined;
1399
+ priority?: undefined;
1400
+ parentId?: undefined;
1401
+ goalId?: undefined;
1402
+ status?: undefined;
1403
+ statusFilter?: undefined;
1404
+ actionType?: undefined;
1405
+ actionDetails?: undefined;
1406
+ limit?: undefined;
1407
+ actionTypeFilter?: undefined;
1408
+ schema?: undefined;
1409
+ skillName?: undefined;
1410
+ };
1411
+ required: string[];
1412
+ };
1413
+ } | {
1414
+ name: string;
1415
+ description: string;
1416
+ input_schema: {
1417
+ type: string;
1418
+ properties: {
1419
+ limit: {
1420
+ type: string;
1421
+ description: string;
1422
+ };
1423
+ content?: undefined;
1424
+ query?: undefined;
1425
+ name?: undefined;
1426
+ value?: undefined;
1427
+ source?: undefined;
1428
+ description?: undefined;
1429
+ priority?: undefined;
1430
+ parentId?: undefined;
1431
+ goalId?: undefined;
1432
+ status?: undefined;
1433
+ statusFilter?: undefined;
1434
+ agentId?: undefined;
1435
+ actionType?: undefined;
1436
+ actionDetails?: undefined;
1437
+ actionTypeFilter?: undefined;
1438
+ schema?: undefined;
1439
+ candidates?: undefined;
1440
+ skillName?: undefined;
1441
+ };
1442
+ required?: undefined;
1443
+ };
1444
+ } | {
1445
+ name: string;
1446
+ description: string;
1447
+ input_schema: {
1448
+ type: string;
1449
+ properties: {
1450
+ skillName: {
1451
+ type: string;
1452
+ description: string;
1453
+ };
1454
+ content?: undefined;
1455
+ query?: undefined;
1456
+ name?: undefined;
1457
+ value?: undefined;
1458
+ source?: undefined;
1459
+ description?: undefined;
1460
+ priority?: undefined;
1461
+ parentId?: undefined;
1462
+ goalId?: undefined;
1463
+ status?: undefined;
1464
+ statusFilter?: undefined;
1465
+ agentId?: undefined;
1466
+ actionType?: undefined;
1467
+ actionDetails?: undefined;
1468
+ limit?: undefined;
1469
+ actionTypeFilter?: undefined;
1470
+ schema?: undefined;
1471
+ candidates?: undefined;
1472
+ };
1473
+ required: string[];
1474
+ };
945
1475
  })[];
946
1476
  execute: typeof import("./tools/execute").execute;
947
1477
  };