@wowok/skills 1.1.9 → 1.1.11

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 (40) hide show
  1. package/LICENSE +36 -0
  2. package/README.md +1 -8
  3. package/dist/cli.js +4 -0
  4. package/dist/cli.js.map +1 -1
  5. package/dist/skills.d.ts.map +1 -1
  6. package/dist/skills.js +33 -0
  7. package/dist/skills.js.map +1 -1
  8. package/examples/Insurance/Insurance.md +218 -90
  9. package/examples/MyShop/MyShop.md +513 -245
  10. package/examples/MyShop/myshop_machine_nodes.json +87 -0
  11. package/examples/MyShop_Advanced/MyShop_Advanced.md +633 -228
  12. package/examples/ThreeBody_Signature/ThreeBody_Signature.md +195 -202
  13. package/examples/Travel/Travel.md +775 -487
  14. package/examples/Travel/calc-weather-timestamps.js +9 -5
  15. package/package.json +8 -3
  16. package/scripts/install.js +4 -0
  17. package/wowok-arbitrator/SKILL.md +542 -1
  18. package/wowok-auditor/SKILL.md +581 -0
  19. package/wowok-guard/SKILL.md +425 -1
  20. package/wowok-machine/SKILL.md +404 -1
  21. package/wowok-messenger/SKILL.md +551 -1
  22. package/wowok-onboard/SKILL.md +520 -0
  23. package/wowok-order/SKILL.md +528 -1
  24. package/wowok-output/SKILL.md +571 -0
  25. package/wowok-planner/SKILL.md +757 -0
  26. package/wowok-provider/SKILL.md +455 -1
  27. package/wowok-safety/SKILL.md +557 -0
  28. package/wowok-scenario/SKILL.md +585 -0
  29. package/wowok-tools/SKILL.md +423 -1
  30. package/examples/Insurance/Insurance_TestResults.md +0 -481
  31. package/examples/Insurance/insurance_complete_guard_v1.json +0 -50
  32. package/examples/MyShop/MyShop_TestResults.md +0 -1003
  33. package/examples/MyShop_Advanced/MyShop_Advanced_MerchantSystem_TestResults.md +0 -1297
  34. package/examples/MyShop_Advanced/MyShop_Advanced_OrderFlow_TestResults.md +0 -743
  35. package/examples/MyShop_Advanced/machine_nodes.json +0 -222
  36. package/examples/MyShop_Advanced/three_body_signature.wip +0 -30
  37. package/examples/ThreeBody_Signature/ThreeBody_Signature_TestResults.md +0 -599
  38. package/examples/Travel/Travel_TestResults.md +0 -743
  39. package/examples/Travel/travel_machine_v2_export.json +0 -104
  40. package/examples/Travel/weather_check_guard_v1.json +0 -51
@@ -0,0 +1,87 @@
1
+ [
2
+ {
3
+ "name": "Cancelled",
4
+ "pairs": [
5
+ {
6
+ "prev_node": "",
7
+ "threshold": 0,
8
+ "forwards": [
9
+ {
10
+ "name": "Cancel Order",
11
+ "weight": 1,
12
+ "namedOperator": "",
13
+ "permissionIndex": null
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "name": "Completed",
21
+ "pairs": [
22
+ {
23
+ "prev_node": "In Transit",
24
+ "threshold": 1,
25
+ "forwards": [
26
+ {
27
+ "name": "Complete Order",
28
+ "weight": 1,
29
+ "namedOperator": "",
30
+ "permissionIndex": null
31
+ }
32
+ ]
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "name": "In Transit",
38
+ "pairs": [
39
+ {
40
+ "prev_node": "Shipping",
41
+ "threshold": 1,
42
+ "forwards": [
43
+ {
44
+ "name": "Confirm Delivery",
45
+ "weight": 1,
46
+ "namedOperator": null,
47
+ "permissionIndex": 1002
48
+ }
49
+ ]
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "name": "Order Confirmation",
55
+ "pairs": [
56
+ {
57
+ "prev_node": "",
58
+ "threshold": 0,
59
+ "forwards": [
60
+ {
61
+ "name": "Confirm Order",
62
+ "weight": 1,
63
+ "namedOperator": null,
64
+ "permissionIndex": 1000
65
+ }
66
+ ]
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "name": "Shipping",
72
+ "pairs": [
73
+ {
74
+ "prev_node": "Order Confirmation",
75
+ "threshold": 1,
76
+ "forwards": [
77
+ {
78
+ "name": "Ship Goods",
79
+ "weight": 1,
80
+ "namedOperator": null,
81
+ "permissionIndex": 1001
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }
87
+ ]