@indra.ai/deva 1.9.1 β 1.11.0
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/config/actions.json +1 -0
- package/config/beliefs.json +2 -0
- package/config/features.json +7 -6
- package/config/intents.json +26 -1
- package/config/states.json +6 -2
- package/config/zones.json +1 -0
- package/index.js +148 -128
- package/package.json +1 -1
- package/tests/client.json +5 -0
package/config/actions.json
CHANGED
package/config/beliefs.json
CHANGED
package/config/features.json
CHANGED
|
@@ -8,25 +8,26 @@
|
|
|
8
8
|
"agent": "π¦Ύ Agent",
|
|
9
9
|
"client": "πͺ Client",
|
|
10
10
|
"license": "πͺͺ License",
|
|
11
|
-
"indra": "π« Indra",
|
|
12
|
-
"veda": "ποΈ Veda",
|
|
13
|
-
"data": "πΎοΈ Data",
|
|
14
11
|
"error": "βοΈ Error",
|
|
15
12
|
"log": "πͺ΅οΈ Log",
|
|
13
|
+
"data": "πΎοΈ Data",
|
|
16
14
|
"report": "ποΈ Report",
|
|
17
15
|
"vector": "π½οΈ Vector",
|
|
16
|
+
"intelligence": "π§ Intelligence",
|
|
17
|
+
"indra": "π« Indra",
|
|
18
|
+
"veda": "ποΈ Veda",
|
|
18
19
|
"king": "ποΈ King",
|
|
19
20
|
"owner": "π²οΈ Owner",
|
|
20
21
|
"treasury": "π¦ Treasury",
|
|
22
|
+
"justice": "βοΈ Justice",
|
|
23
|
+
"authority": "π Authority",
|
|
21
24
|
"security": "π¨ Security",
|
|
22
25
|
"guard": "π Guard",
|
|
23
|
-
"defense": "πͺοΈοΈ Defense",
|
|
24
26
|
"wall": "π§± Wall",
|
|
27
|
+
"defense": "πͺοΈοΈ Defense",
|
|
25
28
|
"shield": "π‘οΈ Shield",
|
|
26
29
|
"proxy": "πΎοΈ Proxy",
|
|
27
30
|
"legal": "ποΈ Legal",
|
|
28
|
-
"authority": "π Authority",
|
|
29
|
-
"justice": "βοΈ Justice",
|
|
30
31
|
"support": "πΌ Support",
|
|
31
32
|
"services": "π οΈ Services",
|
|
32
33
|
"systems": "π₯οΈοΈ Systems",
|
package/config/intents.json
CHANGED
|
@@ -48,6 +48,31 @@
|
|
|
48
48
|
"close": "π¦ Close",
|
|
49
49
|
"leave": "π«£ Leave",
|
|
50
50
|
"exit": "πͺ Exit",
|
|
51
|
-
"shutdown": "π Shutdown"
|
|
51
|
+
"shutdown": "π Shutdown",
|
|
52
|
+
"license": "πͺͺ License",
|
|
53
|
+
"intelligence": "π§ Intelligence",
|
|
54
|
+
"indra": "π« Indra",
|
|
55
|
+
"veda": "ποΈ Veda",
|
|
56
|
+
"data": "πΎ Data",
|
|
57
|
+
"error": "β Error",
|
|
58
|
+
"log": "πͺ΅ Log",
|
|
59
|
+
"report": "ποΈ Report",
|
|
60
|
+
"vector": "π½ Vector",
|
|
61
|
+
"king": "ποΈ King",
|
|
62
|
+
"owner": "π²οΈ Owner",
|
|
63
|
+
"treasury": "π¦ Treasury",
|
|
64
|
+
"security": "π¨ Security",
|
|
65
|
+
"guard": "π Guard",
|
|
66
|
+
"defense": "πͺ Defense",
|
|
67
|
+
"wall": "π§± Wall",
|
|
68
|
+
"shield": "π‘οΈ Shield",
|
|
69
|
+
"proxy": "πΎοΈ Proxy",
|
|
70
|
+
"legal": "ποΈ Legal",
|
|
71
|
+
"authority": "π Authority",
|
|
72
|
+
"justice": "βοΈ Justice",
|
|
73
|
+
"support": "πΌ Support",
|
|
74
|
+
"services": "π οΈ Services",
|
|
75
|
+
"systems": "π₯οΈ Systems",
|
|
76
|
+
"networks": "π‘ Networks"
|
|
52
77
|
}
|
|
53
78
|
}
|
package/config/states.json
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"cmd": "πͺ Command",
|
|
17
17
|
"answer": "π‘ Answer",
|
|
18
18
|
"wait": "β³ Wait",
|
|
19
|
-
"await": "βοΈ Await",
|
|
20
19
|
"pause": "βΈοΈ Pause",
|
|
21
20
|
"resume": "π Resume",
|
|
22
21
|
"pending": "β³ Pending",
|
|
@@ -43,13 +42,17 @@
|
|
|
43
42
|
"unload": "π₯‘ Unload",
|
|
44
43
|
"set": "π Set",
|
|
45
44
|
"let": "π₯¬ Let",
|
|
46
|
-
"const": "π©
|
|
45
|
+
"const": "π© Const",
|
|
47
46
|
"get": "π Get",
|
|
48
47
|
"put": "π€ Put",
|
|
49
48
|
"push": "π«Έ Push",
|
|
50
49
|
"pull": "π Pull",
|
|
51
50
|
"while": "π While",
|
|
52
51
|
"loop": "π Loop",
|
|
52
|
+
"async": "π¦Ώ Async",
|
|
53
|
+
"await": "π Await",
|
|
54
|
+
"continue": "β€οΈ Continue",
|
|
55
|
+
"break": "π Break",
|
|
53
56
|
"search": "π Search",
|
|
54
57
|
"memory": "π Memory",
|
|
55
58
|
"signature": "βοΈοΈ Signature",
|
|
@@ -75,6 +78,7 @@
|
|
|
75
78
|
"finally": "π Finally",
|
|
76
79
|
"view": "π View",
|
|
77
80
|
"license": "πͺͺ License",
|
|
81
|
+
"intelligence": "π§ Intelligence",
|
|
78
82
|
"indra": "π« Indra",
|
|
79
83
|
"veda": "ποΈ Veda",
|
|
80
84
|
"data": "πΎ Data",
|
package/config/zones.json
CHANGED
package/index.js
CHANGED
|
@@ -442,40 +442,39 @@ class Deva {
|
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
|
|
446
445
|
/**************
|
|
447
|
-
func:
|
|
446
|
+
func: License
|
|
448
447
|
params: resolve, reject
|
|
449
448
|
describe:
|
|
450
|
-
The
|
|
449
|
+
The License feature sets the correct variables and necessary rules for the
|
|
451
450
|
client presented data.
|
|
452
451
|
***************/
|
|
453
|
-
|
|
454
|
-
return this.Feature('
|
|
452
|
+
License(resolve, reject) {
|
|
453
|
+
return this.Feature('license', resolve, reject);
|
|
455
454
|
}
|
|
456
455
|
|
|
457
456
|
/**************
|
|
458
|
-
func:
|
|
457
|
+
func: Error
|
|
459
458
|
params: resolve, reject
|
|
460
459
|
describe:
|
|
461
|
-
The
|
|
460
|
+
The Error feature sets the correct variables and necessary rules for the
|
|
462
461
|
client presented data.
|
|
463
462
|
***************/
|
|
464
|
-
|
|
465
|
-
return this.Feature('
|
|
463
|
+
Error(resolve, reject) {
|
|
464
|
+
return this.Feature('error', resolve, reject);
|
|
466
465
|
}
|
|
467
|
-
|
|
466
|
+
|
|
468
467
|
/**************
|
|
469
|
-
func:
|
|
468
|
+
func: Log
|
|
470
469
|
params: resolve, reject
|
|
471
470
|
describe:
|
|
472
|
-
The
|
|
471
|
+
The Log feature sets the correct variables and necessary rules for the
|
|
473
472
|
client presented data.
|
|
474
473
|
***************/
|
|
475
|
-
|
|
476
|
-
return this.Feature('
|
|
474
|
+
Log(resolve, reject) {
|
|
475
|
+
return this.Feature('log', resolve, reject);
|
|
477
476
|
}
|
|
478
|
-
|
|
477
|
+
|
|
479
478
|
/**************
|
|
480
479
|
func: Data
|
|
481
480
|
params: resolve, reject
|
|
@@ -488,47 +487,58 @@ class Deva {
|
|
|
488
487
|
}
|
|
489
488
|
|
|
490
489
|
/**************
|
|
491
|
-
func:
|
|
490
|
+
func: Report
|
|
492
491
|
params: resolve, reject
|
|
493
492
|
describe:
|
|
494
|
-
The
|
|
493
|
+
The Report feature sets the correct variables and necessary rules for the
|
|
495
494
|
client presented data.
|
|
496
495
|
***************/
|
|
497
|
-
|
|
498
|
-
return this.Feature('
|
|
496
|
+
Report(resolve, reject) {
|
|
497
|
+
return this.Feature('report', resolve, reject);
|
|
499
498
|
}
|
|
500
|
-
|
|
499
|
+
|
|
501
500
|
/**************
|
|
502
|
-
func:
|
|
501
|
+
func: Vector
|
|
503
502
|
params: resolve, reject
|
|
504
503
|
describe:
|
|
505
|
-
The
|
|
504
|
+
The Vector feature sets the correct variables and necessary rules for the
|
|
506
505
|
client presented data.
|
|
507
506
|
***************/
|
|
508
|
-
|
|
509
|
-
return this.Feature('
|
|
507
|
+
Vector(resolve, reject) {
|
|
508
|
+
return this.Feature('vector', resolve, reject);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**************
|
|
512
|
+
func: Intelligence
|
|
513
|
+
params: resolve, reject
|
|
514
|
+
describe:
|
|
515
|
+
The Intelligence feature sets the correct variables and necessary rules for the
|
|
516
|
+
client presented data.
|
|
517
|
+
***************/
|
|
518
|
+
Intelligence(resolve, reject) {
|
|
519
|
+
return this.Feature('intelligence', resolve, reject);
|
|
510
520
|
}
|
|
511
521
|
|
|
512
522
|
/**************
|
|
513
|
-
func:
|
|
523
|
+
func: Indra
|
|
514
524
|
params: resolve, reject
|
|
515
525
|
describe:
|
|
516
|
-
The
|
|
526
|
+
The Indra feature sets the correct variables and necessary rules for the
|
|
517
527
|
client presented data.
|
|
518
528
|
***************/
|
|
519
|
-
|
|
520
|
-
return this.Feature('
|
|
529
|
+
Indra(resolve, reject) {
|
|
530
|
+
return this.Feature('indra', resolve, reject);
|
|
521
531
|
}
|
|
522
532
|
|
|
523
533
|
/**************
|
|
524
|
-
func:
|
|
534
|
+
func: Veda
|
|
525
535
|
params: resolve, reject
|
|
526
536
|
describe:
|
|
527
|
-
The
|
|
537
|
+
The Veda feature sets the correct variables and necessary rules for the
|
|
528
538
|
client presented data.
|
|
529
539
|
***************/
|
|
530
|
-
|
|
531
|
-
return this.Feature('
|
|
540
|
+
Veda(resolve, reject) {
|
|
541
|
+
return this.Feature('veda', resolve, reject);
|
|
532
542
|
}
|
|
533
543
|
|
|
534
544
|
/**************
|
|
@@ -564,6 +574,28 @@ class Deva {
|
|
|
564
574
|
return this.Feature('treasury', resolve, reject);
|
|
565
575
|
}
|
|
566
576
|
|
|
577
|
+
/**************
|
|
578
|
+
func: Justice
|
|
579
|
+
params: resolve, reject
|
|
580
|
+
describe:
|
|
581
|
+
The Justice feature sets the correct variables and necessary rules for the
|
|
582
|
+
client presented data.
|
|
583
|
+
***************/
|
|
584
|
+
Justice(resolve, reject) {
|
|
585
|
+
return this.Feature('justice', resolve, reject);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/**************
|
|
589
|
+
func: Authority
|
|
590
|
+
params: resolve, reject
|
|
591
|
+
describe:
|
|
592
|
+
The Authority feature sets the correct variables and necessary rules for the
|
|
593
|
+
client presented data.
|
|
594
|
+
***************/
|
|
595
|
+
Authority(resolve, reject) {
|
|
596
|
+
return this.Feature('authority', resolve, reject);
|
|
597
|
+
}
|
|
598
|
+
|
|
567
599
|
/**************
|
|
568
600
|
func: Security
|
|
569
601
|
params: resolve, reject
|
|
@@ -641,28 +673,6 @@ class Deva {
|
|
|
641
673
|
return this.Feature('legal', resolve, reject);
|
|
642
674
|
}
|
|
643
675
|
|
|
644
|
-
/**************
|
|
645
|
-
func: Justice
|
|
646
|
-
params: resolve, reject
|
|
647
|
-
describe:
|
|
648
|
-
The Justice feature sets the correct variables and necessary rules for the
|
|
649
|
-
client presented data.
|
|
650
|
-
***************/
|
|
651
|
-
Justice(resolve, reject) {
|
|
652
|
-
return this.Feature('justice', resolve, reject);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
/**************
|
|
656
|
-
func: Authority
|
|
657
|
-
params: resolve, reject
|
|
658
|
-
describe:
|
|
659
|
-
The Authority feature sets the correct variables and necessary rules for the
|
|
660
|
-
client presented data.
|
|
661
|
-
***************/
|
|
662
|
-
Authority(resolve, reject) {
|
|
663
|
-
return this.Feature('authority', resolve, reject);
|
|
664
|
-
}
|
|
665
|
-
|
|
666
676
|
/**************
|
|
667
677
|
func: Support
|
|
668
678
|
params: resolve, reject
|
|
@@ -892,7 +902,7 @@ class Deva {
|
|
|
892
902
|
catch(e) {
|
|
893
903
|
this.state('catch', `${method}:${id.uid}`);
|
|
894
904
|
this.intent('bad', `${method}:${id.uid}`); //set the answer state to the method
|
|
895
|
-
return this.err(e); // if a overall error happens this witll call this.err
|
|
905
|
+
return this.err(e, packet, reject); // if a overall error happens this witll call this.err
|
|
896
906
|
}
|
|
897
907
|
});
|
|
898
908
|
}
|
|
@@ -1182,28 +1192,34 @@ class Deva {
|
|
|
1182
1192
|
this.intent('init', data.id.uid);
|
|
1183
1193
|
}).then(() => {
|
|
1184
1194
|
return this.Client(client, resolve, reject);
|
|
1185
|
-
}).then(() => {
|
|
1186
|
-
return this.Indra(resolve, reject);
|
|
1187
|
-
}).then(() => {
|
|
1188
|
-
return this.Veda(resolve, reject);
|
|
1189
1195
|
}).then(() => {
|
|
1190
1196
|
return this.License(resolve, reject);
|
|
1191
|
-
}).then(() => {
|
|
1192
|
-
return this.Data(resolve, reject);
|
|
1193
1197
|
}).then(() => {
|
|
1194
1198
|
return this.Error(resolve, reject);
|
|
1195
1199
|
}).then(() => {
|
|
1196
1200
|
return this.Log(resolve, reject);
|
|
1201
|
+
}).then(() => {
|
|
1202
|
+
return this.Data(resolve, reject);
|
|
1197
1203
|
}).then(() => {
|
|
1198
1204
|
return this.Report(resolve, reject);
|
|
1199
1205
|
}).then(() => {
|
|
1200
1206
|
return this.Vector(resolve, reject);
|
|
1207
|
+
}).then(() => {
|
|
1208
|
+
return this.Intelligence(resolve, reject);
|
|
1209
|
+
}).then(() => {
|
|
1210
|
+
return this.Indra(resolve, reject);
|
|
1211
|
+
}).then(() => {
|
|
1212
|
+
return this.Veda(resolve, reject);
|
|
1201
1213
|
}).then(() => {
|
|
1202
1214
|
return this.King(resolve, reject);
|
|
1203
1215
|
}).then(() => {
|
|
1204
1216
|
return this.Owner(resolve, reject);
|
|
1205
1217
|
}).then(() => {
|
|
1206
1218
|
return this.Treasury(resolve, reject);
|
|
1219
|
+
}).then(() => {
|
|
1220
|
+
return this.Justice(resolve, reject);
|
|
1221
|
+
}).then(() => {
|
|
1222
|
+
return this.Authority(resolve, reject);
|
|
1207
1223
|
}).then(() => {
|
|
1208
1224
|
return this.Security(resolve, reject);
|
|
1209
1225
|
}).then(() => {
|
|
@@ -1218,10 +1234,6 @@ class Deva {
|
|
|
1218
1234
|
return this.Proxy(resolve, reject);
|
|
1219
1235
|
}).then(() => {
|
|
1220
1236
|
return this.Legal(resolve, reject);
|
|
1221
|
-
}).then(() => {
|
|
1222
|
-
return this.Authority(resolve, reject);
|
|
1223
|
-
}).then(() => {
|
|
1224
|
-
return this.Justice(resolve, reject);
|
|
1225
1237
|
}).then(() => {
|
|
1226
1238
|
return this.Support(resolve, reject);
|
|
1227
1239
|
}).then(() => {
|
|
@@ -1764,27 +1776,6 @@ class Deva {
|
|
|
1764
1776
|
|
|
1765
1777
|
// FEATURE FUNCTIONS
|
|
1766
1778
|
|
|
1767
|
-
/**************
|
|
1768
|
-
func: indra
|
|
1769
|
-
params: none
|
|
1770
|
-
describe: basic indra features available in a Deva.
|
|
1771
|
-
usage: this.indra()
|
|
1772
|
-
***************/
|
|
1773
|
-
indra() {
|
|
1774
|
-
return this._getFeature('indra', this._indra);
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
/**************
|
|
1779
|
-
func: veda
|
|
1780
|
-
params: none
|
|
1781
|
-
describe: basic veda features available in a Deva.
|
|
1782
|
-
usage: this.veda()
|
|
1783
|
-
***************/
|
|
1784
|
-
veda() {
|
|
1785
|
-
return this._getFeature('veda', this._veda);
|
|
1786
|
-
}
|
|
1787
|
-
|
|
1788
1779
|
/**************
|
|
1789
1780
|
func: license
|
|
1790
1781
|
params: none
|
|
@@ -1795,16 +1786,6 @@ class Deva {
|
|
|
1795
1786
|
return this._getFeature('license', this._license);
|
|
1796
1787
|
}
|
|
1797
1788
|
|
|
1798
|
-
/**************
|
|
1799
|
-
func: data
|
|
1800
|
-
params: none
|
|
1801
|
-
describe: basic data features available in a Deva.
|
|
1802
|
-
usage: this.data()
|
|
1803
|
-
***************/
|
|
1804
|
-
data() {
|
|
1805
|
-
return this._getFeature('data', this._data);
|
|
1806
|
-
}
|
|
1807
|
-
|
|
1808
1789
|
/**************
|
|
1809
1790
|
func: error
|
|
1810
1791
|
params: none
|
|
@@ -1825,6 +1806,16 @@ class Deva {
|
|
|
1825
1806
|
return this._getFeature('log', this._error);
|
|
1826
1807
|
}
|
|
1827
1808
|
|
|
1809
|
+
/**************
|
|
1810
|
+
func: data
|
|
1811
|
+
params: none
|
|
1812
|
+
describe: basic data features available in a Deva.
|
|
1813
|
+
usage: this.data()
|
|
1814
|
+
***************/
|
|
1815
|
+
data() {
|
|
1816
|
+
return this._getFeature('data', this._data);
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1828
1819
|
/**************
|
|
1829
1820
|
func: report
|
|
1830
1821
|
params: none
|
|
@@ -1835,7 +1826,6 @@ class Deva {
|
|
|
1835
1826
|
return this._getFeature('report', this._error);
|
|
1836
1827
|
}
|
|
1837
1828
|
|
|
1838
|
-
|
|
1839
1829
|
/**************
|
|
1840
1830
|
func: vector
|
|
1841
1831
|
params: none
|
|
@@ -1845,7 +1835,37 @@ class Deva {
|
|
|
1845
1835
|
vector() {
|
|
1846
1836
|
return this._getFeature('vector', this._vector);
|
|
1847
1837
|
}
|
|
1838
|
+
|
|
1839
|
+
/**************
|
|
1840
|
+
func: intelligence
|
|
1841
|
+
params: none
|
|
1842
|
+
describe: basic intelligence features available in a Deva.
|
|
1843
|
+
usage: this.intelligence()
|
|
1844
|
+
***************/
|
|
1845
|
+
intelligence() {
|
|
1846
|
+
return this._getFeature('intelligence', this._vector);
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
/**************
|
|
1850
|
+
func: indra
|
|
1851
|
+
params: none
|
|
1852
|
+
describe: basic indra features available in a Deva.
|
|
1853
|
+
usage: this.indra()
|
|
1854
|
+
***************/
|
|
1855
|
+
indra() {
|
|
1856
|
+
return this._getFeature('indra', this._indra);
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1848
1859
|
|
|
1860
|
+
/**************
|
|
1861
|
+
func: veda
|
|
1862
|
+
params: none
|
|
1863
|
+
describe: basic veda features available in a Deva.
|
|
1864
|
+
usage: this.veda()
|
|
1865
|
+
***************/
|
|
1866
|
+
veda() {
|
|
1867
|
+
return this._getFeature('veda', this._veda);
|
|
1868
|
+
}
|
|
1849
1869
|
|
|
1850
1870
|
/**************
|
|
1851
1871
|
func: king
|
|
@@ -1877,6 +1897,26 @@ class Deva {
|
|
|
1877
1897
|
return this._getFeature('treasury', this._treasury);
|
|
1878
1898
|
}
|
|
1879
1899
|
|
|
1900
|
+
/**************
|
|
1901
|
+
func: justice
|
|
1902
|
+
params: none
|
|
1903
|
+
describe: basic justice features available in a Deva.
|
|
1904
|
+
usage: this.systems()
|
|
1905
|
+
***************/
|
|
1906
|
+
justice() {
|
|
1907
|
+
return this._getFeature('justice', this._justice);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
/**************
|
|
1911
|
+
func: authority
|
|
1912
|
+
params: none
|
|
1913
|
+
describe: basic authority features available in a Deva.
|
|
1914
|
+
usage: this.systems()
|
|
1915
|
+
***************/
|
|
1916
|
+
authority() {
|
|
1917
|
+
return this._getFeature('authority', this._authority);
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1880
1920
|
/**************
|
|
1881
1921
|
func: security
|
|
1882
1922
|
params: none
|
|
@@ -1897,16 +1937,6 @@ class Deva {
|
|
|
1897
1937
|
return this._getFeature('guard', this._guard);
|
|
1898
1938
|
}
|
|
1899
1939
|
|
|
1900
|
-
/**************
|
|
1901
|
-
func: defense
|
|
1902
|
-
params: none
|
|
1903
|
-
describe: basic defense features available in a Deva.
|
|
1904
|
-
usage: this.defense()
|
|
1905
|
-
***************/
|
|
1906
|
-
defense() {
|
|
1907
|
-
return this._getFeature('defense', this._defense);
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
1940
|
/**************
|
|
1911
1941
|
func: wall
|
|
1912
1942
|
params: none
|
|
@@ -1917,6 +1947,16 @@ class Deva {
|
|
|
1917
1947
|
return this._getFeature('wall', this._wall);
|
|
1918
1948
|
}
|
|
1919
1949
|
|
|
1950
|
+
/**************
|
|
1951
|
+
func: defense
|
|
1952
|
+
params: none
|
|
1953
|
+
describe: basic defense features available in a Deva.
|
|
1954
|
+
usage: this.defense()
|
|
1955
|
+
***************/
|
|
1956
|
+
defense() {
|
|
1957
|
+
return this._getFeature('defense', this._defense);
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1920
1960
|
/**************
|
|
1921
1961
|
func: shield
|
|
1922
1962
|
params: none
|
|
@@ -1946,27 +1986,7 @@ class Deva {
|
|
|
1946
1986
|
legal() {
|
|
1947
1987
|
return this._getFeature('legal', this._legal);
|
|
1948
1988
|
}
|
|
1949
|
-
|
|
1950
|
-
/**************
|
|
1951
|
-
func: authority
|
|
1952
|
-
params: none
|
|
1953
|
-
describe: basic authority features available in a Deva.
|
|
1954
|
-
usage: this.systems()
|
|
1955
|
-
***************/
|
|
1956
|
-
authority() {
|
|
1957
|
-
return this._getFeature('authority', this._authority);
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
/**************
|
|
1961
|
-
func: justice
|
|
1962
|
-
params: none
|
|
1963
|
-
describe: basic justice features available in a Deva.
|
|
1964
|
-
usage: this.systems()
|
|
1965
|
-
***************/
|
|
1966
|
-
justice() {
|
|
1967
|
-
return this._getFeature('justice', this._justice);
|
|
1968
|
-
}
|
|
1969
|
-
|
|
1989
|
+
|
|
1970
1990
|
/**************
|
|
1971
1991
|
func: support
|
|
1972
1992
|
params: none
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "44091450722329207445",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.11.0",
|
|
5
5
|
"description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"license": "VLA:44091450722329207445 LICENSE.md",
|