@oneie/sdk 0.14.11 → 0.14.13

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.
Files changed (62) hide show
  1. package/README.md +6 -1
  2. package/dist/.build-fingerprint +1 -0
  3. package/dist/billing.d.ts +12 -0
  4. package/dist/billing.d.ts.map +1 -1
  5. package/dist/billing.js +32 -5
  6. package/dist/billing.js.map +1 -1
  7. package/dist/blocks.d.ts +126 -0
  8. package/dist/blocks.d.ts.map +1 -0
  9. package/dist/blocks.js +407 -0
  10. package/dist/blocks.js.map +1 -0
  11. package/dist/client.d.ts +0 -4
  12. package/dist/client.d.ts.map +1 -1
  13. package/dist/client.js +1 -23
  14. package/dist/client.js.map +1 -1
  15. package/dist/compile.d.ts.map +1 -1
  16. package/dist/compile.js +26 -6
  17. package/dist/compile.js.map +1 -1
  18. package/dist/fetch.d.ts +17 -2
  19. package/dist/fetch.d.ts.map +1 -1
  20. package/dist/fetch.js +22 -26
  21. package/dist/fetch.js.map +1 -1
  22. package/dist/fn-allowlist.d.ts +27 -0
  23. package/dist/fn-allowlist.d.ts.map +1 -0
  24. package/dist/fn-allowlist.js +60 -0
  25. package/dist/fn-allowlist.js.map +1 -0
  26. package/dist/generated/fn-map.d.ts +2 -2
  27. package/dist/generated/fn-map.d.ts.map +1 -1
  28. package/dist/generated/fn-map.js +480 -13
  29. package/dist/generated/fn-map.js.map +1 -1
  30. package/dist/generated/schemas/index.d.ts +1 -1
  31. package/dist/generated/schemas.d.ts +77 -3
  32. package/dist/generated/schemas.d.ts.map +1 -1
  33. package/dist/generated/schemas.js +28 -3
  34. package/dist/generated/schemas.js.map +1 -1
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/market.d.ts +37 -1
  38. package/dist/market.d.ts.map +1 -1
  39. package/dist/market.js +26 -1
  40. package/dist/market.js.map +1 -1
  41. package/dist/receiver-action.d.ts +4 -0
  42. package/dist/receiver-action.d.ts.map +1 -0
  43. package/dist/receiver-action.js +38 -0
  44. package/dist/receiver-action.js.map +1 -0
  45. package/dist/receivers.d.ts +902 -24
  46. package/dist/receivers.d.ts.map +1 -1
  47. package/dist/receivers.js +1363 -40
  48. package/dist/receivers.js.map +1 -1
  49. package/dist/role-actions.d.ts +28 -0
  50. package/dist/role-actions.d.ts.map +1 -0
  51. package/dist/role-actions.js +68 -0
  52. package/dist/role-actions.js.map +1 -0
  53. package/dist/role-tiers.d.ts +45 -0
  54. package/dist/role-tiers.d.ts.map +1 -0
  55. package/dist/role-tiers.js +99 -0
  56. package/dist/role-tiers.js.map +1 -0
  57. package/dist/schemas.d.ts +23 -1
  58. package/dist/schemas.d.ts.map +1 -1
  59. package/dist/schemas.js +21 -0
  60. package/dist/schemas.js.map +1 -1
  61. package/dist/work-contract-grammar.json +44 -0
  62. package/package.json +22 -2
@@ -1,6 +1,17 @@
1
1
  // Generated by schema/codegen/targets/fn-map.ts — bun run codegen (do not edit by hand)
2
- // 194 functions from 259 IR entries (65 deduped, last-write-wins)
3
- export const FN_MAP_VERSION = "b0d7003b66754dac";
2
+ // 270 functions from schema/*.tql (IR a8ccc426db7fe951…)
3
+ // 28 entries pinned to their previously generated shape — the IR
4
+ // disagrees because a duplicate `fun` definition resolves first-wins here and
5
+ // last-wins in the shipped map. Re-deriving them would change the arguments a
6
+ // live fn:run call must pass, so settle it by reading the deployed schema:
7
+ // actor_classification, actual_workflow, best, best_synergy, blocked,
8
+ // claude_load, closing, confidence, fading_trails, funnel_velocity,
9
+ // group_highways, group_members, highways, highways_public, open,
10
+ // org_chart_drift, path_status, promotion_candidates, retro_explore,
11
+ // retro_strengthen, retro_weaken, success_rate, suggest_route,
12
+ // suggest_route_scoped, superhighway_trails, tasks_by_priority, toxic,
13
+ // transfer_candidates
14
+ export const FN_MAP_VERSION = "a8ccc426db7fe9513f462c9d9390112194a862ac1fe32441978562200e2c1a0b";
4
15
  export const FN_MAP = {
5
16
  "actionable_hypotheses": {
6
17
  name: "actionable_hypotheses",
@@ -110,6 +121,18 @@ export const FN_MAP = {
110
121
  returnKind: "stream",
111
122
  returnTypes: ["actor"],
112
123
  },
124
+ "as-fact": {
125
+ name: "as-fact",
126
+ params: [{ "name": "$holder", "type": "group" }],
127
+ returnKind: "stream",
128
+ returnTypes: ["hypothesis"],
129
+ },
130
+ "as-likely": {
131
+ name: "as-likely",
132
+ params: [{ "name": "$holder", "type": "group" }],
133
+ returnKind: "stream",
134
+ returnTypes: ["hypothesis"],
135
+ },
113
136
  "at_risk": {
114
137
  name: "at_risk",
115
138
  params: [],
@@ -146,6 +169,18 @@ export const FN_MAP = {
146
169
  returnKind: "stream",
147
170
  returnTypes: ["scored-item"],
148
171
  },
172
+ "attempts-on": {
173
+ name: "attempts-on",
174
+ params: [{ "name": "$p", "type": "path" }, { "name": "$t", "type": "thing" }],
175
+ returnKind: "scalar",
176
+ returnTypes: ["integer"],
177
+ },
178
+ "attempts-per-delivery": {
179
+ name: "attempts-per-delivery",
180
+ params: [{ "name": "$p", "type": "path" }],
181
+ returnKind: "scalar",
182
+ returnTypes: ["double"],
183
+ },
149
184
  "attractive_tasks": {
150
185
  name: "attractive_tasks",
151
186
  params: [],
@@ -248,18 +283,36 @@ export const FN_MAP = {
248
283
  returnKind: "stream",
249
284
  returnTypes: ["task"],
250
285
  },
286
+ "blockers-of": {
287
+ name: "blockers-of",
288
+ params: [{ "name": "$t", "type": "thing" }],
289
+ returnKind: "stream",
290
+ returnTypes: ["thing"],
291
+ },
251
292
  "blockers_of": {
252
293
  name: "blockers_of",
253
294
  params: [{ "name": "$task_id", "type": "string" }],
254
295
  returnKind: "stream",
255
296
  returnTypes: ["task"],
256
297
  },
298
+ "blocks-transitively": {
299
+ name: "blocks-transitively",
300
+ params: [],
301
+ returnKind: "scalar",
302
+ returnTypes: ["{ thing, thing }"],
303
+ },
257
304
  "brand-of": {
258
305
  name: "brand-of",
259
306
  params: [{ "name": "$g", "type": "group" }],
260
307
  returnKind: "stream",
261
308
  returnTypes: ["group"],
262
309
  },
310
+ "budget-of": {
311
+ name: "budget-of",
312
+ params: [{ "name": "$g", "type": "group" }],
313
+ returnKind: "scalar",
314
+ returnTypes: ["double"],
315
+ },
263
316
  "burndown": {
264
317
  name: "burndown",
265
318
  params: [{ "name": "$sprint_id", "type": "string" }],
@@ -362,18 +415,42 @@ export const FN_MAP = {
362
415
  returnKind: "scalar",
363
416
  returnTypes: ["double"],
364
417
  },
418
+ "contract-admissible": {
419
+ name: "contract-admissible",
420
+ params: [{ "name": "$author", "type": "actor" }, { "name": "$w", "type": "group" }],
421
+ returnKind: "scalar",
422
+ returnTypes: ["boolean"],
423
+ },
424
+ "contract-cycles": {
425
+ name: "contract-cycles",
426
+ params: [{ "name": "$w", "type": "group" }],
427
+ returnKind: "stream",
428
+ returnTypes: ["thing"],
429
+ },
365
430
  "contributions_by_type": {
366
431
  name: "contributions_by_type",
367
432
  params: [{ "name": "$type", "type": "string" }],
368
433
  returnKind: "stream",
369
434
  returnTypes: ["contribution"],
370
435
  },
436
+ "controlled-groups-of": {
437
+ name: "controlled-groups-of",
438
+ params: [{ "name": "$a", "type": "actor" }],
439
+ returnKind: "stream",
440
+ returnTypes: ["group"],
441
+ },
371
442
  "controls": {
372
443
  name: "controls",
373
444
  params: [{ "name": "$a", "type": "actor" }, { "name": "$g", "type": "group" }],
374
445
  returnKind: "scalar",
375
446
  returnTypes: ["boolean"],
376
447
  },
448
+ "cost-per-delivery": {
449
+ name: "cost-per-delivery",
450
+ params: [{ "name": "$p", "type": "path" }],
451
+ returnKind: "scalar",
452
+ returnTypes: ["double"],
453
+ },
377
454
  "count_by_priority": {
378
455
  name: "count_by_priority",
379
456
  params: [{ "name": "$p", "type": "string" }],
@@ -392,6 +469,18 @@ export const FN_MAP = {
392
469
  returnKind: "scalar",
393
470
  returnTypes: ["integer"],
394
471
  },
472
+ "covered-unproven": {
473
+ name: "covered-unproven",
474
+ params: [{ "name": "$plan", "type": "thing" }],
475
+ returnKind: "stream",
476
+ returnTypes: ["thing"],
477
+ },
478
+ "craft-composite": {
479
+ name: "craft-composite",
480
+ params: [{ "name": "$at", "type": "thing" }],
481
+ returnKind: "scalar",
482
+ returnTypes: ["double"],
483
+ },
395
484
  "cycle_rubric_mean": {
396
485
  name: "cycle_rubric_mean",
397
486
  params: [{ "name": "$c", "type": "thing" }],
@@ -404,12 +493,48 @@ export const FN_MAP = {
404
493
  returnKind: "scalar",
405
494
  returnTypes: ["double"],
406
495
  },
496
+ "deadlocked": {
497
+ name: "deadlocked",
498
+ params: [{ "name": "$plan", "type": "thing" }],
499
+ returnKind: "stream",
500
+ returnTypes: ["thing"],
501
+ },
502
+ "deliverables-proven": {
503
+ name: "deliverables-proven",
504
+ params: [{ "name": "$plan", "type": "thing" }],
505
+ returnKind: "stream",
506
+ returnTypes: ["thing"],
507
+ },
508
+ "delivered-on": {
509
+ name: "delivered-on",
510
+ params: [{ "name": "$p", "type": "path" }, { "name": "$t", "type": "thing" }],
511
+ returnKind: "stream",
512
+ returnTypes: ["thing"],
513
+ },
514
+ "deliveries-via": {
515
+ name: "deliveries-via",
516
+ params: [{ "name": "$p", "type": "path" }],
517
+ returnKind: "scalar",
518
+ returnTypes: ["integer"],
519
+ },
520
+ "delivery-rate": {
521
+ name: "delivery-rate",
522
+ params: [{ "name": "$p", "type": "path" }],
523
+ returnKind: "scalar",
524
+ returnTypes: ["double"],
525
+ },
407
526
  "dependents_of": {
408
527
  name: "dependents_of",
409
528
  params: [{ "name": "$blocker_id", "type": "string" }],
410
529
  returnKind: "stream",
411
530
  returnTypes: ["task"],
412
531
  },
532
+ "derived-from": {
533
+ name: "derived-from",
534
+ params: [{ "name": "$parent", "type": "thing" }],
535
+ returnKind: "stream",
536
+ returnTypes: ["thing"],
537
+ },
413
538
  "descendants-of": {
414
539
  name: "descendants-of",
415
540
  params: [{ "name": "$g", "type": "group" }],
@@ -440,6 +565,12 @@ export const FN_MAP = {
440
565
  returnKind: "scalar",
441
566
  returnTypes: ["string"],
442
567
  },
568
+ "edge_weight": {
569
+ name: "edge_weight",
570
+ params: [{ "name": "$p", "type": "path" }, { "name": "$sens", "type": "double" }],
571
+ returnKind: "scalar",
572
+ returnTypes: ["double"],
573
+ },
443
574
  "elite_agent_count": {
444
575
  name: "elite_agent_count",
445
576
  params: [],
@@ -464,6 +595,18 @@ export const FN_MAP = {
464
595
  returnKind: "stream",
465
596
  returnTypes: ["scored-item"],
466
597
  },
598
+ "evidence-for": {
599
+ name: "evidence-for",
600
+ params: [{ "name": "$h", "type": "hypothesis" }],
601
+ returnKind: "stream",
602
+ returnTypes: ["signal"],
603
+ },
604
+ "executable": {
605
+ name: "executable",
606
+ params: [{ "name": "$plan", "type": "thing" }],
607
+ returnKind: "stream",
608
+ returnTypes: ["thing"],
609
+ },
467
610
  "experiment_gate": {
468
611
  name: "experiment_gate",
469
612
  params: [{ "name": "$x", "type": "experiment" }],
@@ -488,12 +631,24 @@ export const FN_MAP = {
488
631
  returnKind: "stream",
489
632
  returnTypes: ["signal-trail"],
490
633
  },
634
+ "follow_route": {
635
+ name: "follow_route",
636
+ params: [{ "name": "$node", "type": "thing" }],
637
+ returnKind: "scalar",
638
+ returnTypes: ["actor"],
639
+ },
491
640
  "forming_swarms": {
492
641
  name: "forming_swarms",
493
642
  params: [],
494
643
  returnKind: "stream",
495
644
  returnTypes: ["swarm"],
496
645
  },
646
+ "frontier_shapes": {
647
+ name: "frontier_shapes",
648
+ params: [],
649
+ returnKind: "stream",
650
+ returnTypes: ["thing"],
651
+ },
497
652
  "funding-of": {
498
653
  name: "funding-of",
499
654
  params: [{ "name": "$g", "type": "group" }],
@@ -506,6 +661,12 @@ export const FN_MAP = {
506
661
  returnKind: "scalar",
507
662
  returnTypes: ["integer"],
508
663
  },
664
+ "gaps": {
665
+ name: "gaps",
666
+ params: [{ "name": "$plan", "type": "thing" }],
667
+ returnKind: "stream",
668
+ returnTypes: ["thing"],
669
+ },
509
670
  "graduating_tokens": {
510
671
  name: "graduating_tokens",
511
672
  params: [],
@@ -566,6 +727,12 @@ export const FN_MAP = {
566
727
  returnKind: "scalar",
567
728
  returnTypes: ["integer"],
568
729
  },
730
+ "highway_paths": {
731
+ name: "highway_paths",
732
+ params: [{ "name": "$min", "type": "double" }],
733
+ returnKind: "stream",
734
+ returnTypes: ["path"],
735
+ },
569
736
  "highways": {
570
737
  name: "highways",
571
738
  params: [{ "name": "threshold", "type": "double" }, { "name": "min_traversals", "type": "integer" }],
@@ -602,18 +769,42 @@ export const FN_MAP = {
602
769
  returnKind: "stream",
603
770
  returnTypes: ["signal"],
604
771
  },
772
+ "incomplete": {
773
+ name: "incomplete",
774
+ params: [{ "name": "$plan", "type": "thing" }],
775
+ returnKind: "stream",
776
+ returnTypes: ["thing"],
777
+ },
605
778
  "incremental_roas": {
606
779
  name: "incremental_roas",
607
780
  params: [{ "name": "$c", "type": "group" }],
608
781
  returnKind: "scalar",
609
782
  returnTypes: ["double"],
610
783
  },
784
+ "injectable": {
785
+ name: "injectable",
786
+ params: [{ "name": "$holder", "type": "group" }],
787
+ returnKind: "stream",
788
+ returnTypes: ["hypothesis"],
789
+ },
611
790
  "is_action_ready": {
612
791
  name: "is_action_ready",
613
792
  params: [{ "name": "$h", "type": "hypothesis" }],
614
793
  returnKind: "scalar",
615
794
  returnTypes: ["boolean"],
616
795
  },
796
+ "is_at_risk_actor": {
797
+ name: "is_at_risk_actor",
798
+ params: [{ "name": "$u", "type": "actor" }],
799
+ returnKind: "scalar",
800
+ returnTypes: ["boolean"],
801
+ },
802
+ "is_dissolved_actor": {
803
+ name: "is_dissolved_actor",
804
+ params: [{ "name": "$u", "type": "actor" }],
805
+ returnKind: "scalar",
806
+ returnTypes: ["boolean"],
807
+ },
617
808
  "is_done": {
618
809
  name: "is_done",
619
810
  params: [{ "name": "$task_id", "type": "string" }],
@@ -626,12 +817,24 @@ export const FN_MAP = {
626
817
  returnKind: "scalar",
627
818
  returnTypes: ["boolean"],
628
819
  },
820
+ "is_proven_actor": {
821
+ name: "is_proven_actor",
822
+ params: [{ "name": "$u", "type": "actor" }],
823
+ returnKind: "scalar",
824
+ returnTypes: ["boolean"],
825
+ },
629
826
  "is_safe": {
630
827
  name: "is_safe",
631
828
  params: [{ "name": "$from", "type": "actor" }, { "name": "$to", "type": "actor" }],
632
829
  returnKind: "scalar",
633
830
  returnTypes: ["boolean"],
634
831
  },
832
+ "is_splitting_group": {
833
+ name: "is_splitting_group",
834
+ params: [{ "name": "$g", "type": "group" }],
835
+ returnKind: "scalar",
836
+ returnTypes: ["boolean"],
837
+ },
635
838
  "is_trustworthy": {
636
839
  name: "is_trustworthy",
637
840
  params: [{ "name": "$u", "type": "actor" }],
@@ -650,6 +853,12 @@ export const FN_MAP = {
650
853
  returnKind: "scalar",
651
854
  returnTypes: ["double"],
652
855
  },
856
+ "knowledge-of": {
857
+ name: "knowledge-of",
858
+ params: [{ "name": "$g", "type": "group" }],
859
+ returnKind: "stream",
860
+ returnTypes: ["hypothesis"],
861
+ },
653
862
  "lifecycle_classify": {
654
863
  name: "lifecycle_classify",
655
864
  params: [{ "name": "$a", "type": "actor" }],
@@ -674,6 +883,18 @@ export const FN_MAP = {
674
883
  returnKind: "scalar",
675
884
  returnTypes: ["string"],
676
885
  },
886
+ "mis-settled": {
887
+ name: "mis-settled",
888
+ params: [],
889
+ returnKind: "stream",
890
+ returnTypes: ["thing"],
891
+ },
892
+ "missing-facts": {
893
+ name: "missing-facts",
894
+ params: [{ "name": "$s", "type": "thing" }],
895
+ returnKind: "stream",
896
+ returnTypes: ["string"],
897
+ },
677
898
  "model_is_toxic": {
678
899
  name: "model_is_toxic",
679
900
  params: [{ "name": "$shape", "type": "thing" }, { "name": "$m", "type": "actor" }],
@@ -704,12 +925,24 @@ export const FN_MAP = {
704
925
  returnKind: "stream",
705
926
  returnTypes: ["actor"],
706
927
  },
928
+ "next": {
929
+ name: "next",
930
+ params: [{ "name": "$plan", "type": "thing" }],
931
+ returnKind: "scalar",
932
+ returnTypes: ["{ thing, string }"],
933
+ },
707
934
  "next_steps": {
708
935
  name: "next_steps",
709
936
  params: [{ "name": "$current", "type": "thing" }],
710
937
  returnKind: "stream",
711
938
  returnTypes: ["thing"],
712
939
  },
940
+ "objectives-realised": {
941
+ name: "objectives-realised",
942
+ params: [{ "name": "$plan", "type": "thing" }],
943
+ returnKind: "stream",
944
+ returnTypes: ["thing"],
945
+ },
713
946
  "observation_count": {
714
947
  name: "observation_count",
715
948
  params: [{ "name": "$token_addr", "type": "string" }],
@@ -734,6 +967,12 @@ export const FN_MAP = {
734
967
  returnKind: "stream",
735
968
  returnTypes: ["flow"],
736
969
  },
970
+ "open-ancestors-of": {
971
+ name: "open-ancestors-of",
972
+ params: [{ "name": "$g", "type": "group" }],
973
+ returnKind: "stream",
974
+ returnTypes: ["group"],
975
+ },
737
976
  "open_do_cycles": {
738
977
  name: "open_do_cycles",
739
978
  params: [],
@@ -746,12 +985,6 @@ export const FN_MAP = {
746
985
  returnKind: "stream",
747
986
  returnTypes: ["task"],
748
987
  },
749
- "open-ancestors-of": {
750
- name: "open-ancestors-of",
751
- params: [{ "name": "$g", "type": "group" }],
752
- returnKind: "stream",
753
- returnTypes: ["group"],
754
- },
755
988
  "optimal_entries": {
756
989
  name: "optimal_entries",
757
990
  params: [],
@@ -770,11 +1003,35 @@ export const FN_MAP = {
770
1003
  returnKind: "stream",
771
1004
  returnTypes: ["string", "string", "double"],
772
1005
  },
773
- "parse_awareness": {
774
- name: "parse_awareness",
775
- params: [{ "name": "$t", "type": "string" }],
776
- returnKind: "scalar",
777
- returnTypes: ["integer"],
1006
+ "orphans": {
1007
+ name: "orphans",
1008
+ params: [{ "name": "$plan", "type": "thing" }],
1009
+ returnKind: "stream",
1010
+ returnTypes: ["thing"],
1011
+ },
1012
+ "outstanding": {
1013
+ name: "outstanding",
1014
+ params: [{ "name": "$plan", "type": "thing" }],
1015
+ returnKind: "stream",
1016
+ returnTypes: ["thing"],
1017
+ },
1018
+ "outstanding-tasks": {
1019
+ name: "outstanding-tasks",
1020
+ params: [{ "name": "$plan", "type": "thing" }],
1021
+ returnKind: "stream",
1022
+ returnTypes: ["thing"],
1023
+ },
1024
+ "over-budget": {
1025
+ name: "over-budget",
1026
+ params: [{ "name": "$g", "type": "group" }],
1027
+ returnKind: "stream",
1028
+ returnTypes: ["actor"],
1029
+ },
1030
+ "overclaimed": {
1031
+ name: "overclaimed",
1032
+ params: [],
1033
+ returnKind: "stream",
1034
+ returnTypes: ["hypothesis"],
778
1035
  },
779
1036
  "path_status": {
780
1037
  name: "path_status",
@@ -872,6 +1129,30 @@ export const FN_MAP = {
872
1129
  returnKind: "stream",
873
1130
  returnTypes: ["token"],
874
1131
  },
1132
+ "reachable": {
1133
+ name: "reachable",
1134
+ params: [{ "name": "$from", "type": "actor" }],
1135
+ returnKind: "stream",
1136
+ returnTypes: ["actor"],
1137
+ },
1138
+ "reachable_providers": {
1139
+ name: "reachable_providers",
1140
+ params: [{ "name": "$from", "type": "actor" }, { "name": "$sk", "type": "thing" }],
1141
+ returnKind: "stream",
1142
+ returnTypes: ["actor"],
1143
+ },
1144
+ "ready-in-wave": {
1145
+ name: "ready-in-wave",
1146
+ params: [{ "name": "$plan", "type": "thing" }, { "name": "$w", "type": "string" }],
1147
+ returnKind: "stream",
1148
+ returnTypes: ["thing"],
1149
+ },
1150
+ "ready-tasks": {
1151
+ name: "ready-tasks",
1152
+ params: [{ "name": "$plan", "type": "thing" }],
1153
+ returnKind: "stream",
1154
+ returnTypes: ["thing"],
1155
+ },
875
1156
  "ready_tasks": {
876
1157
  name: "ready_tasks",
877
1158
  params: [],
@@ -884,6 +1165,12 @@ export const FN_MAP = {
884
1165
  returnKind: "stream",
885
1166
  returnTypes: ["thing"],
886
1167
  },
1168
+ "remaining": {
1169
+ name: "remaining",
1170
+ params: [{ "name": "$plan", "type": "thing" }],
1171
+ returnKind: "scalar",
1172
+ returnTypes: ["integer"],
1173
+ },
887
1174
  "repelled_tasks": {
888
1175
  name: "repelled_tasks",
889
1176
  params: [],
@@ -908,6 +1195,42 @@ export const FN_MAP = {
908
1195
  returnKind: "stream",
909
1196
  returnTypes: ["string", "string", "double"],
910
1197
  },
1198
+ "route-spend": {
1199
+ name: "route-spend",
1200
+ params: [{ "name": "$p", "type": "path" }],
1201
+ returnKind: "scalar",
1202
+ returnTypes: ["decimal"],
1203
+ },
1204
+ "route_best_weight": {
1205
+ name: "route_best_weight",
1206
+ params: [{ "name": "$tid", "type": "string" }],
1207
+ returnKind: "scalar",
1208
+ returnTypes: ["double"],
1209
+ },
1210
+ "route_candidates": {
1211
+ name: "route_candidates",
1212
+ params: [{ "name": "$node", "type": "thing" }],
1213
+ returnKind: "stream",
1214
+ returnTypes: ["actor"],
1215
+ },
1216
+ "route_exists": {
1217
+ name: "route_exists",
1218
+ params: [{ "name": "$from", "type": "actor" }, { "name": "$to", "type": "actor" }],
1219
+ returnKind: "scalar",
1220
+ returnTypes: ["boolean"],
1221
+ },
1222
+ "route_runner_up_weight": {
1223
+ name: "route_runner_up_weight",
1224
+ params: [{ "name": "$tid", "type": "string" }],
1225
+ returnKind: "scalar",
1226
+ returnTypes: ["double"],
1227
+ },
1228
+ "route_verdict": {
1229
+ name: "route_verdict",
1230
+ params: [{ "name": "$best", "type": "double" }, { "name": "$second", "type": "double" }],
1231
+ returnKind: "scalar",
1232
+ returnTypes: ["string"],
1233
+ },
911
1234
  "self-or-ancestors-of": {
912
1235
  name: "self-or-ancestors-of",
913
1236
  params: [{ "name": "$g", "type": "group" }],
@@ -926,12 +1249,60 @@ export const FN_MAP = {
926
1249
  returnKind: "stream",
927
1250
  returnTypes: ["skill"],
928
1251
  },
1252
+ "spend-to-date": {
1253
+ name: "spend-to-date",
1254
+ params: [{ "name": "$a", "type": "actor" }],
1255
+ returnKind: "scalar",
1256
+ returnTypes: ["decimal"],
1257
+ },
929
1258
  "splitting_groups": {
930
1259
  name: "splitting_groups",
931
1260
  params: [],
932
1261
  returnKind: "stream",
933
1262
  returnTypes: ["group"],
934
1263
  },
1264
+ "staked_actors": {
1265
+ name: "staked_actors",
1266
+ params: [{ "name": "$tag", "type": "string" }],
1267
+ returnKind: "stream",
1268
+ returnTypes: ["actor"],
1269
+ },
1270
+ "staked_agents": {
1271
+ name: "staked_agents",
1272
+ params: [{ "name": "$tag", "type": "string" }],
1273
+ returnKind: "stream",
1274
+ returnTypes: ["actor"],
1275
+ },
1276
+ "staked_humans": {
1277
+ name: "staked_humans",
1278
+ params: [{ "name": "$tag", "type": "string" }],
1279
+ returnKind: "stream",
1280
+ returnTypes: ["actor"],
1281
+ },
1282
+ "staked_skills": {
1283
+ name: "staked_skills",
1284
+ params: [{ "name": "$tag", "type": "string" }],
1285
+ returnKind: "stream",
1286
+ returnTypes: ["thing"],
1287
+ },
1288
+ "staked_triggers": {
1289
+ name: "staked_triggers",
1290
+ params: [{ "name": "$tag", "type": "string" }],
1291
+ returnKind: "stream",
1292
+ returnTypes: ["thing"],
1293
+ },
1294
+ "step-ancestors": {
1295
+ name: "step-ancestors",
1296
+ params: [{ "name": "$s", "type": "thing" }],
1297
+ returnKind: "stream",
1298
+ returnTypes: ["thing"],
1299
+ },
1300
+ "strong-reach": {
1301
+ name: "strong-reach",
1302
+ params: [{ "name": "$from", "type": "actor" }, { "name": "$min", "type": "double" }],
1303
+ returnKind: "stream",
1304
+ returnTypes: ["actor"],
1305
+ },
935
1306
  "strong_observations": {
936
1307
  name: "strong_observations",
937
1308
  params: [{ "name": "$threshold", "type": "double" }],
@@ -962,6 +1333,12 @@ export const FN_MAP = {
962
1333
  returnKind: "stream",
963
1334
  returnTypes: ["uid", "strength"],
964
1335
  },
1336
+ "sui_path_status": {
1337
+ name: "sui_path_status",
1338
+ params: [{ "name": "$f", "type": "path" }],
1339
+ returnKind: "scalar",
1340
+ returnTypes: ["string"],
1341
+ },
965
1342
  "superhighway_trails": {
966
1343
  name: "superhighway_trails",
967
1344
  params: [],
@@ -980,12 +1357,42 @@ export const FN_MAP = {
980
1357
  returnKind: "stream",
981
1358
  returnTypes: ["swarm"],
982
1359
  },
1360
+ "tag_covered": {
1361
+ name: "tag_covered",
1362
+ params: [{ "name": "$tag", "type": "string" }],
1363
+ returnKind: "scalar",
1364
+ returnTypes: ["boolean"],
1365
+ },
983
1366
  "task_blockers": {
984
1367
  name: "task_blockers",
985
1368
  params: [{ "name": "$t", "type": "task" }],
986
1369
  returnKind: "stream",
987
1370
  returnTypes: ["task"],
988
1371
  },
1372
+ "tasks-blocked": {
1373
+ name: "tasks-blocked",
1374
+ params: [{ "name": "$plan", "type": "thing" }],
1375
+ returnKind: "stream",
1376
+ returnTypes: ["thing"],
1377
+ },
1378
+ "tasks-done": {
1379
+ name: "tasks-done",
1380
+ params: [{ "name": "$plan", "type": "thing" }],
1381
+ returnKind: "stream",
1382
+ returnTypes: ["thing"],
1383
+ },
1384
+ "tasks-ready": {
1385
+ name: "tasks-ready",
1386
+ params: [{ "name": "$plan", "type": "thing" }],
1387
+ returnKind: "stream",
1388
+ returnTypes: ["thing"],
1389
+ },
1390
+ "tasks-running": {
1391
+ name: "tasks-running",
1392
+ params: [{ "name": "$plan", "type": "thing" }],
1393
+ returnKind: "stream",
1394
+ returnTypes: ["thing"],
1395
+ },
989
1396
  "tasks_by_assignee": {
990
1397
  name: "tasks_by_assignee",
991
1398
  params: [{ "name": "$name", "type": "string" }],
@@ -1040,6 +1447,12 @@ export const FN_MAP = {
1040
1447
  returnKind: "stream",
1041
1448
  returnTypes: ["task"],
1042
1449
  },
1450
+ "testable_hypotheses": {
1451
+ name: "testable_hypotheses",
1452
+ params: [{ "name": "$min", "type": "integer" }],
1453
+ returnKind: "stream",
1454
+ returnTypes: ["hypothesis"],
1455
+ },
1043
1456
  "token_observations": {
1044
1457
  name: "token_observations",
1045
1458
  params: [{ "name": "$token_addr", "type": "string" }],
@@ -1082,6 +1495,12 @@ export const FN_MAP = {
1082
1495
  returnKind: "stream",
1083
1496
  returnTypes: ["flow"],
1084
1497
  },
1498
+ "toxic_paths": {
1499
+ name: "toxic_paths",
1500
+ params: [],
1501
+ returnKind: "stream",
1502
+ returnTypes: ["path"],
1503
+ },
1085
1504
  "trail_strength": {
1086
1505
  name: "trail_strength",
1087
1506
  params: [{ "name": "$from_id", "type": "string" }, { "name": "$to_id", "type": "string" }],
@@ -1100,12 +1519,48 @@ export const FN_MAP = {
1100
1519
  returnKind: "stream",
1101
1520
  returnTypes: ["agent"],
1102
1521
  },
1522
+ "uncovered": {
1523
+ name: "uncovered",
1524
+ params: [{ "name": "$plan", "type": "thing" }],
1525
+ returnKind: "stream",
1526
+ returnTypes: ["thing"],
1527
+ },
1528
+ "unexplored_stakers": {
1529
+ name: "unexplored_stakers",
1530
+ params: [{ "name": "$node", "type": "thing" }, { "name": "$tag", "type": "string" }],
1531
+ returnKind: "stream",
1532
+ returnTypes: ["actor"],
1533
+ },
1534
+ "ungrounded": {
1535
+ name: "ungrounded",
1536
+ params: [],
1537
+ returnKind: "stream",
1538
+ returnTypes: ["hypothesis"],
1539
+ },
1103
1540
  "unit_exists": {
1104
1541
  name: "unit_exists",
1105
1542
  params: [{ "name": "$uid", "type": "string" }],
1106
1543
  returnKind: "scalar",
1107
1544
  returnTypes: ["boolean"],
1108
1545
  },
1546
+ "unproven": {
1547
+ name: "unproven",
1548
+ params: [{ "name": "$plan", "type": "thing" }],
1549
+ returnKind: "stream",
1550
+ returnTypes: ["thing"],
1551
+ },
1552
+ "unproven_actors": {
1553
+ name: "unproven_actors",
1554
+ params: [],
1555
+ returnKind: "stream",
1556
+ returnTypes: ["actor"],
1557
+ },
1558
+ "unrealised": {
1559
+ name: "unrealised",
1560
+ params: [{ "name": "$plan", "type": "thing" }],
1561
+ returnKind: "stream",
1562
+ returnTypes: ["thing"],
1563
+ },
1109
1564
  "unresolved_signals": {
1110
1565
  name: "unresolved_signals",
1111
1566
  params: [],
@@ -1142,6 +1597,12 @@ export const FN_MAP = {
1142
1597
  returnKind: "scalar",
1143
1598
  returnTypes: ["double"],
1144
1599
  },
1600
+ "well-made-wrong": {
1601
+ name: "well-made-wrong",
1602
+ params: [],
1603
+ returnKind: "stream",
1604
+ returnTypes: ["thing"],
1605
+ },
1145
1606
  "windowed_conversions": {
1146
1607
  name: "windowed_conversions",
1147
1608
  params: [{ "name": "$c", "type": "group" }],
@@ -1154,6 +1615,12 @@ export const FN_MAP = {
1154
1615
  returnKind: "scalar",
1155
1616
  returnTypes: ["boolean"],
1156
1617
  },
1618
+ "workflow_proven": {
1619
+ name: "workflow_proven",
1620
+ params: [{ "name": "$aid", "type": "string" }],
1621
+ returnKind: "scalar",
1622
+ returnTypes: ["boolean"],
1623
+ },
1157
1624
  "workflow_status": {
1158
1625
  name: "workflow_status",
1159
1626
  params: [{ "name": "$w", "type": "group" }],