@indra.ai/deva 1.19.0 β 1.20.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 +5 -2
- package/config/beliefs.json +5 -2
- package/config/features.json +9 -5
- package/config/index.js +13 -7
- package/config/intents.json +4 -1
- package/config/states.json +5 -2
- package/config/zones.json +5 -2
- package/index.js +162 -89
- package/package.json +1 -1
- package/tests/client.json +37 -22
package/config/actions.json
CHANGED
|
@@ -8,8 +8,11 @@
|
|
|
8
8
|
"client": "π¨ Client",
|
|
9
9
|
"agent": "π΅οΈββοΈ Agent",
|
|
10
10
|
"license": "πͺͺ License",
|
|
11
|
+
"feecting": "π Feecting",
|
|
11
12
|
"intelligence": "π§ Intelligence",
|
|
12
|
-
"
|
|
13
|
+
"indu": "π§οΈ Indu",
|
|
14
|
+
"indra": "β‘οΈ Indra",
|
|
15
|
+
"soma": "π±οΈ Soma",
|
|
13
16
|
"veda": "ποΈ Veda",
|
|
14
17
|
"data": "πΎ Data",
|
|
15
18
|
"error": "β Error",
|
|
@@ -17,7 +20,7 @@
|
|
|
17
20
|
"report": "ποΈ Report",
|
|
18
21
|
"vector": "π½ Vector",
|
|
19
22
|
"king": "ποΈ King",
|
|
20
|
-
"owner": "
|
|
23
|
+
"owner": "π©²οΈ Owner",
|
|
21
24
|
"treasury": "π¦ Treasury",
|
|
22
25
|
"security": "π¨ Security",
|
|
23
26
|
"guard": "π Guard",
|
package/config/beliefs.json
CHANGED
|
@@ -36,8 +36,11 @@
|
|
|
36
36
|
"romance": "πΉ Romance",
|
|
37
37
|
"other": "π€ Other",
|
|
38
38
|
"license": "πͺͺ License",
|
|
39
|
+
"feecting": "π Feecting",
|
|
39
40
|
"intelligence": "π§ Intelligence",
|
|
40
|
-
"
|
|
41
|
+
"indu": "π§οΈ Indu",
|
|
42
|
+
"indra": "β‘οΈ Indra",
|
|
43
|
+
"soma": "π±οΈ Soma",
|
|
41
44
|
"veda": "ποΈ Veda",
|
|
42
45
|
"data": "πΎοΈ Data",
|
|
43
46
|
"error": "βοΈ Error",
|
|
@@ -45,7 +48,7 @@
|
|
|
45
48
|
"report": "ποΈ Report",
|
|
46
49
|
"vector": "π½οΈ Vector",
|
|
47
50
|
"king": "ποΈ King",
|
|
48
|
-
"owner": "
|
|
51
|
+
"owner": "π©²οΈ Owner",
|
|
49
52
|
"treasury": "π¦ Treasury",
|
|
50
53
|
"security": "π¨ Security",
|
|
51
54
|
"guard": "π Guard",
|
package/config/features.json
CHANGED
|
@@ -8,26 +8,30 @@
|
|
|
8
8
|
"agent": "π¦Ύ Agent",
|
|
9
9
|
"client": "πͺ Client",
|
|
10
10
|
"license": "πͺͺ License",
|
|
11
|
+
"feecting": "π Feecting",
|
|
11
12
|
"error": "βοΈ Error",
|
|
12
13
|
"log": "πͺ΅οΈ Log",
|
|
13
14
|
"data": "πΎοΈ Data",
|
|
14
15
|
"report": "ποΈ Report",
|
|
15
|
-
"vector": "π½οΈ Vector",
|
|
16
|
-
"intelligence": "π§ Intelligence",
|
|
17
|
-
"indra": "π« Indra",
|
|
18
16
|
"veda": "ποΈ Veda",
|
|
17
|
+
"indu": "π§οΈ Indu",
|
|
18
|
+
"indra": "β‘οΈ Indra",
|
|
19
|
+
"soma": "π±οΈ Soma",
|
|
19
20
|
"king": "ποΈ King",
|
|
20
|
-
"owner": "
|
|
21
|
+
"owner": "π©²οΈ Owner",
|
|
22
|
+
"vector": "π½οΈ Vector",
|
|
23
|
+
"feecting": "π Feecting",
|
|
24
|
+
"intelligence": "π§ Intelligence",
|
|
21
25
|
"treasury": "π¦ Treasury",
|
|
22
26
|
"justice": "βοΈ Justice",
|
|
23
27
|
"authority": "π Authority",
|
|
28
|
+
"legal": "ποΈ Legal",
|
|
24
29
|
"security": "π¨ Security",
|
|
25
30
|
"guard": "π Guard",
|
|
26
31
|
"wall": "π§± Wall",
|
|
27
32
|
"defense": "πͺοΈοΈ Defense",
|
|
28
33
|
"shield": "π‘οΈ Shield",
|
|
29
34
|
"proxy": "πΎοΈ Proxy",
|
|
30
|
-
"legal": "ποΈ Legal",
|
|
31
35
|
"support": "πΌ Support",
|
|
32
36
|
"services": "π οΈ Services",
|
|
33
37
|
"systems": "π₯οΈοΈ Systems",
|
package/config/index.js
CHANGED
|
@@ -99,24 +99,30 @@ export default {
|
|
|
99
99
|
next_key: 'shutdown',
|
|
100
100
|
onfunc: 'onExit',
|
|
101
101
|
clear: [
|
|
102
|
-
'_indra',
|
|
103
|
-
'_veda',
|
|
104
102
|
'_license',
|
|
105
|
-
'
|
|
103
|
+
'_feecting',
|
|
106
104
|
'_error',
|
|
107
105
|
'_log',
|
|
106
|
+
'_data',
|
|
108
107
|
'_report',
|
|
109
|
-
'
|
|
108
|
+
'_veda',
|
|
109
|
+
'_indu',
|
|
110
|
+
'_indra',
|
|
111
|
+
'_soma',
|
|
110
112
|
'_king',
|
|
113
|
+
'_owner',
|
|
114
|
+
'_vector',
|
|
115
|
+
'_intelligence',
|
|
111
116
|
'_treasury',
|
|
117
|
+
'_justice',
|
|
118
|
+
'_authority',
|
|
119
|
+
'_legal',
|
|
112
120
|
'_security',
|
|
113
121
|
'_guard',
|
|
114
122
|
'_defense',
|
|
123
|
+
'_sheild',
|
|
115
124
|
'_wall',
|
|
116
125
|
'_proxy',
|
|
117
|
-
'_legal',
|
|
118
|
-
'_authority',
|
|
119
|
-
'_justice',
|
|
120
126
|
'_support',
|
|
121
127
|
'_services',
|
|
122
128
|
'_systems',
|
package/config/intents.json
CHANGED
|
@@ -50,8 +50,11 @@
|
|
|
50
50
|
"exit": "πͺ Exit",
|
|
51
51
|
"shutdown": "π Shutdown",
|
|
52
52
|
"license": "πͺͺ License",
|
|
53
|
+
"feecting": "π Feecting",
|
|
53
54
|
"intelligence": "π§ Intelligence",
|
|
54
|
-
"
|
|
55
|
+
"indu": "π§οΈ Indu",
|
|
56
|
+
"indra": "β‘οΈ Indra",
|
|
57
|
+
"soma": "π±οΈ Soma",
|
|
55
58
|
"veda": "ποΈ Veda",
|
|
56
59
|
"data": "πΎ Data",
|
|
57
60
|
"error": "β Error",
|
package/config/states.json
CHANGED
|
@@ -78,8 +78,11 @@
|
|
|
78
78
|
"finally": "π Finally",
|
|
79
79
|
"view": "π View",
|
|
80
80
|
"license": "πͺͺ License",
|
|
81
|
+
"feecting": "π Feecting",
|
|
81
82
|
"intelligence": "π§ Intelligence",
|
|
82
|
-
"
|
|
83
|
+
"indu": "π§οΈ Indu",
|
|
84
|
+
"indra": "β‘οΈ Indra",
|
|
85
|
+
"soma": "π±οΈ Soma",
|
|
83
86
|
"veda": "ποΈ Veda",
|
|
84
87
|
"data": "πΎ Data",
|
|
85
88
|
"error": "β Error",
|
|
@@ -87,7 +90,7 @@
|
|
|
87
90
|
"report": "ποΈ Report",
|
|
88
91
|
"vector": "π½ Vector",
|
|
89
92
|
"king": "ποΈ King",
|
|
90
|
-
"owner": "
|
|
93
|
+
"owner": "π©²οΈ Owner",
|
|
91
94
|
"treasury": "π¦ Treasury",
|
|
92
95
|
"security": "π¨ Security",
|
|
93
96
|
"guard": "π Guard",
|
package/config/zones.json
CHANGED
|
@@ -26,14 +26,17 @@
|
|
|
26
26
|
"leave": "π«£ Leave",
|
|
27
27
|
"exit": "πͺ Exit",
|
|
28
28
|
"shutdown": "π Shutdown",
|
|
29
|
-
"enter": "
|
|
29
|
+
"enter": "πͺ Enter",
|
|
30
30
|
"finish": "π Finish",
|
|
31
31
|
"complete": "β
Complete",
|
|
32
32
|
"done": "βοΈ Done",
|
|
33
33
|
"ready": "βοΈ Ready",
|
|
34
34
|
"license": "πͺͺ License",
|
|
35
|
+
"feecting": "π Feecting",
|
|
35
36
|
"intelligence": "π§ Intelligence",
|
|
37
|
+
"indu": "π§οΈ Indu",
|
|
36
38
|
"indra": "β‘οΈ Indra",
|
|
39
|
+
"soma": "π±οΈ Soma",
|
|
37
40
|
"veda": "ποΈ Veda",
|
|
38
41
|
"data": "πΎοΈ Data",
|
|
39
42
|
"error": "β Error!",
|
|
@@ -41,7 +44,7 @@
|
|
|
41
44
|
"report": "ποΈ Report",
|
|
42
45
|
"vector": "π½οΈ Vector",
|
|
43
46
|
"king": "ποΈ King",
|
|
44
|
-
"owner": "
|
|
47
|
+
"owner": "π©²οΈ Owner",
|
|
45
48
|
"treasury": "π¦οΈ Treasury",
|
|
46
49
|
"security": "π¨ Security",
|
|
47
50
|
"guard": "π Guard",
|
package/index.js
CHANGED
|
@@ -20,28 +20,34 @@ class Deva {
|
|
|
20
20
|
this._agent = opts.agent || false; // Agent profile object
|
|
21
21
|
this._client = {}; // this will be set on init.
|
|
22
22
|
this._active = false; // the active/birth date.
|
|
23
|
-
this._indra = false; // inherited Indra features.
|
|
24
|
-
this._veda = false; // inherited Veda features.
|
|
25
23
|
this._license = false; // inherited License features.
|
|
26
|
-
this.
|
|
24
|
+
this._feecting = false; // inherited Feecting features.
|
|
27
25
|
this._error = false; // inherited Error features.
|
|
28
26
|
this._log = false; // inherited Log features.
|
|
27
|
+
this._data = false; // inherited Data features.
|
|
29
28
|
this._report = false; // inherited Report features.
|
|
30
|
-
this.
|
|
29
|
+
this._veda = false; // inherited Veda features.
|
|
30
|
+
this._indu = false; // inherited INdu features.
|
|
31
|
+
this._indra = false; // inherited Indra features.
|
|
32
|
+
this._soma = false; // inherited Soma features.
|
|
31
33
|
this._king = false; // inherited King features.
|
|
34
|
+
this._owner = false; // inherited Owner features.
|
|
35
|
+
this._vector = false; // inherited Vector features.
|
|
36
|
+
this._intelligence = false; // inherited Intelligence features.
|
|
32
37
|
this._treasury = false; // inherited Vector features.
|
|
38
|
+
this._authority = false; // inherited Justice features.
|
|
39
|
+
this._justice = false; // inherited Justice features.
|
|
40
|
+
this._legal = false; // inherited Legal features.
|
|
33
41
|
this._security = false; // inherited Security features.
|
|
34
42
|
this._guard = false; // inherited Guard features.
|
|
35
43
|
this._defense = false; // inherited Security features.
|
|
36
44
|
this._wall = false; // inherited Wall features.
|
|
37
45
|
this._proxy = false; // inherited Proxy features.
|
|
38
|
-
this._legal = false; // inherited Legal features.
|
|
39
|
-
this._authority = false; // inherited Justice features.
|
|
40
|
-
this._justice = false; // inherited Justice features.
|
|
41
46
|
this._support = false; // inherited Support features.
|
|
42
47
|
this._services = false; // inherited Service features.
|
|
43
48
|
this._systems = false; // inherited Systems features.
|
|
44
49
|
this._networks = false; // inherited Systems features.
|
|
50
|
+
|
|
45
51
|
this.events = opts.events || new EventEmitter({}); // Event Bus
|
|
46
52
|
this.lib = new lib({pkg}); // used for loading library functions
|
|
47
53
|
this.utils = opts.utils || {}; // parse functions inside the deva
|
|
@@ -453,6 +459,17 @@ class Deva {
|
|
|
453
459
|
return this.Feature('license', resolve, reject);
|
|
454
460
|
}
|
|
455
461
|
|
|
462
|
+
/**************
|
|
463
|
+
func: Feecting
|
|
464
|
+
params: resolve, reject
|
|
465
|
+
describe:
|
|
466
|
+
The Feecting feature sets the correct variables and necessary rules for the
|
|
467
|
+
client presented data.
|
|
468
|
+
***************/
|
|
469
|
+
Feecting(resolve, reject) {
|
|
470
|
+
return this.Feature('feecting', resolve, reject);
|
|
471
|
+
}
|
|
472
|
+
|
|
456
473
|
/**************
|
|
457
474
|
func: Error
|
|
458
475
|
params: resolve, reject
|
|
@@ -496,27 +513,27 @@ class Deva {
|
|
|
496
513
|
Report(resolve, reject) {
|
|
497
514
|
return this.Feature('report', resolve, reject);
|
|
498
515
|
}
|
|
499
|
-
|
|
516
|
+
|
|
500
517
|
/**************
|
|
501
|
-
func:
|
|
518
|
+
func: Veda
|
|
502
519
|
params: resolve, reject
|
|
503
520
|
describe:
|
|
504
|
-
The
|
|
521
|
+
The Veda feature sets the correct variables and necessary rules for the
|
|
505
522
|
client presented data.
|
|
506
523
|
***************/
|
|
507
|
-
|
|
508
|
-
return this.Feature('
|
|
524
|
+
Veda(resolve, reject) {
|
|
525
|
+
return this.Feature('veda', resolve, reject);
|
|
509
526
|
}
|
|
510
|
-
|
|
527
|
+
|
|
511
528
|
/**************
|
|
512
|
-
func:
|
|
529
|
+
func: Indu
|
|
513
530
|
params: resolve, reject
|
|
514
531
|
describe:
|
|
515
|
-
The
|
|
532
|
+
The Indu feature sets the correct variables and necessary rules for the
|
|
516
533
|
client presented data.
|
|
517
534
|
***************/
|
|
518
|
-
|
|
519
|
-
return this.Feature('
|
|
535
|
+
Indu(resolve, reject) {
|
|
536
|
+
return this.Feature('indu', resolve, reject);
|
|
520
537
|
}
|
|
521
538
|
|
|
522
539
|
/**************
|
|
@@ -531,14 +548,14 @@ class Deva {
|
|
|
531
548
|
}
|
|
532
549
|
|
|
533
550
|
/**************
|
|
534
|
-
func:
|
|
551
|
+
func: Soma
|
|
535
552
|
params: resolve, reject
|
|
536
553
|
describe:
|
|
537
|
-
The
|
|
554
|
+
The Soma feature sets the correct variables and necessary rules for the
|
|
538
555
|
client presented data.
|
|
539
556
|
***************/
|
|
540
|
-
|
|
541
|
-
return this.Feature('
|
|
557
|
+
Soma(resolve, reject) {
|
|
558
|
+
return this.Feature('soma', resolve, reject);
|
|
542
559
|
}
|
|
543
560
|
|
|
544
561
|
/**************
|
|
@@ -551,7 +568,7 @@ class Deva {
|
|
|
551
568
|
King(resolve, reject) {
|
|
552
569
|
return this.Feature('king', resolve, reject);
|
|
553
570
|
}
|
|
554
|
-
|
|
571
|
+
|
|
555
572
|
/**************
|
|
556
573
|
func: Owner
|
|
557
574
|
params: resolve, reject
|
|
@@ -562,6 +579,28 @@ class Deva {
|
|
|
562
579
|
Owner(resolve, reject) {
|
|
563
580
|
return this.Feature('owner', resolve, reject);
|
|
564
581
|
}
|
|
582
|
+
|
|
583
|
+
/**************
|
|
584
|
+
func: Vector
|
|
585
|
+
params: resolve, reject
|
|
586
|
+
describe:
|
|
587
|
+
The Vector feature sets the correct variables and necessary rules for the
|
|
588
|
+
client presented data.
|
|
589
|
+
***************/
|
|
590
|
+
Vector(resolve, reject) {
|
|
591
|
+
return this.Feature('vector', resolve, reject);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**************
|
|
595
|
+
func: Intelligence
|
|
596
|
+
params: resolve, reject
|
|
597
|
+
describe:
|
|
598
|
+
The Intelligence feature sets the correct variables and necessary rules for the
|
|
599
|
+
client presented data.
|
|
600
|
+
***************/
|
|
601
|
+
Intelligence(resolve, reject) {
|
|
602
|
+
return this.Feature('intelligence', resolve, reject);
|
|
603
|
+
}
|
|
565
604
|
|
|
566
605
|
/**************
|
|
567
606
|
func: Treasury
|
|
@@ -596,6 +635,17 @@ class Deva {
|
|
|
596
635
|
return this.Feature('authority', resolve, reject);
|
|
597
636
|
}
|
|
598
637
|
|
|
638
|
+
/**************
|
|
639
|
+
func: Legal
|
|
640
|
+
params: resolve, reject
|
|
641
|
+
describe:
|
|
642
|
+
The Legal feature sets the correct variables and necessary rules for the
|
|
643
|
+
client presented data.
|
|
644
|
+
***************/
|
|
645
|
+
Legal(resolve, reject) {
|
|
646
|
+
return this.Feature('legal', resolve, reject);
|
|
647
|
+
}
|
|
648
|
+
|
|
599
649
|
/**************
|
|
600
650
|
func: Security
|
|
601
651
|
params: resolve, reject
|
|
@@ -629,17 +679,6 @@ class Deva {
|
|
|
629
679
|
return this.Feature('defense', resolve, reject);
|
|
630
680
|
}
|
|
631
681
|
|
|
632
|
-
/**************
|
|
633
|
-
func: Wall
|
|
634
|
-
params: resolve, reject
|
|
635
|
-
describe:
|
|
636
|
-
The Defense feature sets the correct variables and necessary rules for the
|
|
637
|
-
client presented data.
|
|
638
|
-
***************/
|
|
639
|
-
Wall(resolve, reject) {
|
|
640
|
-
return this.Feature('wall', resolve, reject);
|
|
641
|
-
}
|
|
642
|
-
|
|
643
682
|
/**************
|
|
644
683
|
func: Shield
|
|
645
684
|
params: resolve, reject
|
|
@@ -650,29 +689,29 @@ class Deva {
|
|
|
650
689
|
Shield(resolve, reject) {
|
|
651
690
|
return this.Feature('shield', resolve, reject);
|
|
652
691
|
}
|
|
653
|
-
|
|
692
|
+
|
|
654
693
|
/**************
|
|
655
|
-
func:
|
|
694
|
+
func: Wall
|
|
656
695
|
params: resolve, reject
|
|
657
696
|
describe:
|
|
658
697
|
The Defense feature sets the correct variables and necessary rules for the
|
|
659
698
|
client presented data.
|
|
660
699
|
***************/
|
|
661
|
-
|
|
662
|
-
return this.Feature('
|
|
700
|
+
Wall(resolve, reject) {
|
|
701
|
+
return this.Feature('wall', resolve, reject);
|
|
663
702
|
}
|
|
664
703
|
|
|
665
704
|
/**************
|
|
666
|
-
func:
|
|
705
|
+
func: Proxy
|
|
667
706
|
params: resolve, reject
|
|
668
707
|
describe:
|
|
669
|
-
The
|
|
708
|
+
The Defense feature sets the correct variables and necessary rules for the
|
|
670
709
|
client presented data.
|
|
671
710
|
***************/
|
|
672
|
-
|
|
673
|
-
return this.Feature('
|
|
711
|
+
Proxy(resolve, reject) {
|
|
712
|
+
return this.Feature('proxy', resolve, reject);
|
|
674
713
|
}
|
|
675
|
-
|
|
714
|
+
|
|
676
715
|
/**************
|
|
677
716
|
func: Support
|
|
678
717
|
params: resolve, reject
|
|
@@ -1194,6 +1233,8 @@ class Deva {
|
|
|
1194
1233
|
return this.Client(client, resolve, reject);
|
|
1195
1234
|
}).then(() => {
|
|
1196
1235
|
return this.License(resolve, reject);
|
|
1236
|
+
}).then(() => {
|
|
1237
|
+
return this.Feecting(resolve, reject);
|
|
1197
1238
|
}).then(() => {
|
|
1198
1239
|
return this.Error(resolve, reject);
|
|
1199
1240
|
}).then(() => {
|
|
@@ -1203,37 +1244,41 @@ class Deva {
|
|
|
1203
1244
|
}).then(() => {
|
|
1204
1245
|
return this.Report(resolve, reject);
|
|
1205
1246
|
}).then(() => {
|
|
1206
|
-
return this.
|
|
1247
|
+
return this.Veda(resolve, reject);
|
|
1207
1248
|
}).then(() => {
|
|
1208
|
-
return this.
|
|
1249
|
+
return this.Indu(resolve, reject);
|
|
1209
1250
|
}).then(() => {
|
|
1210
1251
|
return this.Indra(resolve, reject);
|
|
1211
1252
|
}).then(() => {
|
|
1212
|
-
return this.
|
|
1253
|
+
return this.Soma(resolve, reject);
|
|
1213
1254
|
}).then(() => {
|
|
1214
1255
|
return this.King(resolve, reject);
|
|
1215
1256
|
}).then(() => {
|
|
1216
1257
|
return this.Owner(resolve, reject);
|
|
1258
|
+
}).then(() => {
|
|
1259
|
+
return this.Vector(resolve, reject);
|
|
1260
|
+
}).then(() => {
|
|
1261
|
+
return this.Intelligence(resolve, reject);
|
|
1217
1262
|
}).then(() => {
|
|
1218
1263
|
return this.Treasury(resolve, reject);
|
|
1219
1264
|
}).then(() => {
|
|
1220
1265
|
return this.Justice(resolve, reject);
|
|
1221
1266
|
}).then(() => {
|
|
1222
1267
|
return this.Authority(resolve, reject);
|
|
1268
|
+
}).then(() => {
|
|
1269
|
+
return this.Legal(resolve, reject);
|
|
1223
1270
|
}).then(() => {
|
|
1224
1271
|
return this.Security(resolve, reject);
|
|
1225
1272
|
}).then(() => {
|
|
1226
1273
|
return this.Guard(resolve, reject);
|
|
1227
1274
|
}).then(() => {
|
|
1228
1275
|
return this.Defense(resolve, reject);
|
|
1229
|
-
}).then(() => {
|
|
1230
|
-
return this.Wall(resolve, reject);
|
|
1231
1276
|
}).then(() => {
|
|
1232
1277
|
return this.Shield(resolve, reject);
|
|
1233
1278
|
}).then(() => {
|
|
1234
|
-
return this.
|
|
1279
|
+
return this.Wall(resolve, reject);
|
|
1235
1280
|
}).then(() => {
|
|
1236
|
-
return this.
|
|
1281
|
+
return this.Proxy(resolve, reject);
|
|
1237
1282
|
}).then(() => {
|
|
1238
1283
|
return this.Support(resolve, reject);
|
|
1239
1284
|
}).then(() => {
|
|
@@ -1775,7 +1820,6 @@ class Deva {
|
|
|
1775
1820
|
}
|
|
1776
1821
|
|
|
1777
1822
|
// FEATURE FUNCTIONS
|
|
1778
|
-
|
|
1779
1823
|
/**************
|
|
1780
1824
|
func: license
|
|
1781
1825
|
params: none
|
|
@@ -1786,6 +1830,16 @@ class Deva {
|
|
|
1786
1830
|
return this._getFeature('license', this._license);
|
|
1787
1831
|
}
|
|
1788
1832
|
|
|
1833
|
+
/**************
|
|
1834
|
+
func: feecting
|
|
1835
|
+
params: none
|
|
1836
|
+
describe: basic feecting features available in a Deva.
|
|
1837
|
+
usage: this.feecting()
|
|
1838
|
+
***************/
|
|
1839
|
+
feecting() {
|
|
1840
|
+
return this._getFeature('feecting', this._feecting);
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1789
1843
|
/**************
|
|
1790
1844
|
func: error
|
|
1791
1845
|
params: none
|
|
@@ -1827,25 +1881,25 @@ class Deva {
|
|
|
1827
1881
|
}
|
|
1828
1882
|
|
|
1829
1883
|
/**************
|
|
1830
|
-
func:
|
|
1884
|
+
func: veda
|
|
1831
1885
|
params: none
|
|
1832
|
-
describe: basic
|
|
1833
|
-
usage: this.
|
|
1886
|
+
describe: basic veda features available in a Deva.
|
|
1887
|
+
usage: this.veda()
|
|
1834
1888
|
***************/
|
|
1835
|
-
|
|
1836
|
-
return this._getFeature('
|
|
1889
|
+
veda() {
|
|
1890
|
+
return this._getFeature('veda', this._veda);
|
|
1837
1891
|
}
|
|
1838
|
-
|
|
1892
|
+
|
|
1839
1893
|
/**************
|
|
1840
|
-
func:
|
|
1894
|
+
func: indu
|
|
1841
1895
|
params: none
|
|
1842
|
-
describe: basic
|
|
1843
|
-
usage: this.
|
|
1896
|
+
describe: basic indu features available in a Deva.
|
|
1897
|
+
usage: this.indu()
|
|
1844
1898
|
***************/
|
|
1845
|
-
|
|
1846
|
-
return this._getFeature('
|
|
1899
|
+
indu() {
|
|
1900
|
+
return this._getFeature('indu', this._indu);
|
|
1847
1901
|
}
|
|
1848
|
-
|
|
1902
|
+
|
|
1849
1903
|
/**************
|
|
1850
1904
|
func: indra
|
|
1851
1905
|
params: none
|
|
@@ -1855,18 +1909,17 @@ class Deva {
|
|
|
1855
1909
|
indra() {
|
|
1856
1910
|
return this._getFeature('indra', this._indra);
|
|
1857
1911
|
}
|
|
1858
|
-
|
|
1859
1912
|
|
|
1860
1913
|
/**************
|
|
1861
|
-
func:
|
|
1914
|
+
func: soma
|
|
1862
1915
|
params: none
|
|
1863
|
-
describe: basic
|
|
1864
|
-
usage: this.
|
|
1916
|
+
describe: basic soma features available in a Deva.
|
|
1917
|
+
usage: this.soma()
|
|
1865
1918
|
***************/
|
|
1866
|
-
|
|
1867
|
-
return this._getFeature('
|
|
1919
|
+
soma() {
|
|
1920
|
+
return this._getFeature('soma', this._soma);
|
|
1868
1921
|
}
|
|
1869
|
-
|
|
1922
|
+
|
|
1870
1923
|
/**************
|
|
1871
1924
|
func: king
|
|
1872
1925
|
params: none
|
|
@@ -1887,6 +1940,26 @@ class Deva {
|
|
|
1887
1940
|
return this._getFeature('owner', this._king);
|
|
1888
1941
|
}
|
|
1889
1942
|
|
|
1943
|
+
/**************
|
|
1944
|
+
func: vector
|
|
1945
|
+
params: none
|
|
1946
|
+
describe: basic vector features available in a Deva.
|
|
1947
|
+
usage: this.vector()
|
|
1948
|
+
***************/
|
|
1949
|
+
vector() {
|
|
1950
|
+
return this._getFeature('vector', this._vector);
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
/**************
|
|
1954
|
+
func: intelligence
|
|
1955
|
+
params: none
|
|
1956
|
+
describe: basic intelligence features available in a Deva.
|
|
1957
|
+
usage: this.intelligence()
|
|
1958
|
+
***************/
|
|
1959
|
+
intelligence() {
|
|
1960
|
+
return this._getFeature('intelligence', this._intelligence);
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1890
1963
|
/**************
|
|
1891
1964
|
func: treasury
|
|
1892
1965
|
params: none
|
|
@@ -1917,6 +1990,16 @@ class Deva {
|
|
|
1917
1990
|
return this._getFeature('authority', this._authority);
|
|
1918
1991
|
}
|
|
1919
1992
|
|
|
1993
|
+
/**************
|
|
1994
|
+
func: legal
|
|
1995
|
+
params: none
|
|
1996
|
+
describe: basic legal features available in a Deva.
|
|
1997
|
+
usage: this.systems()
|
|
1998
|
+
***************/
|
|
1999
|
+
legal() {
|
|
2000
|
+
return this._getFeature('legal', this._legal);
|
|
2001
|
+
}
|
|
2002
|
+
|
|
1920
2003
|
/**************
|
|
1921
2004
|
func: security
|
|
1922
2005
|
params: none
|
|
@@ -1937,16 +2020,6 @@ class Deva {
|
|
|
1937
2020
|
return this._getFeature('guard', this._guard);
|
|
1938
2021
|
}
|
|
1939
2022
|
|
|
1940
|
-
/**************
|
|
1941
|
-
func: wall
|
|
1942
|
-
params: none
|
|
1943
|
-
describe: basic wall features available in a Deva.
|
|
1944
|
-
usage: this.wall()
|
|
1945
|
-
***************/
|
|
1946
|
-
wall() {
|
|
1947
|
-
return this._getFeature('wall', this._wall);
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
2023
|
/**************
|
|
1951
2024
|
func: defense
|
|
1952
2025
|
params: none
|
|
@@ -1957,6 +2030,16 @@ class Deva {
|
|
|
1957
2030
|
return this._getFeature('defense', this._defense);
|
|
1958
2031
|
}
|
|
1959
2032
|
|
|
2033
|
+
/**************
|
|
2034
|
+
func: wall
|
|
2035
|
+
params: none
|
|
2036
|
+
describe: basic wall features available in a Deva.
|
|
2037
|
+
usage: this.wall()
|
|
2038
|
+
***************/
|
|
2039
|
+
wall() {
|
|
2040
|
+
return this._getFeature('wall', this._wall);
|
|
2041
|
+
}
|
|
2042
|
+
|
|
1960
2043
|
/**************
|
|
1961
2044
|
func: shield
|
|
1962
2045
|
params: none
|
|
@@ -1977,16 +2060,6 @@ class Deva {
|
|
|
1977
2060
|
return this._getFeature('proxy', this._proxy);
|
|
1978
2061
|
}
|
|
1979
2062
|
|
|
1980
|
-
/**************
|
|
1981
|
-
func: legal
|
|
1982
|
-
params: none
|
|
1983
|
-
describe: basic legal features available in a Deva.
|
|
1984
|
-
usage: this.systems()
|
|
1985
|
-
***************/
|
|
1986
|
-
legal() {
|
|
1987
|
-
return this._getFeature('legal', this._legal);
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
2063
|
/**************
|
|
1991
2064
|
func: support
|
|
1992
2065
|
params: none
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "64907438819979111427",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.20.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:64907438819979111427 LICENSE.md",
|
package/tests/client.json
CHANGED
|
@@ -53,17 +53,17 @@
|
|
|
53
53
|
"global": [],
|
|
54
54
|
"devas": {}
|
|
55
55
|
},
|
|
56
|
-
"
|
|
56
|
+
"feecting": {
|
|
57
57
|
"concerns": [],
|
|
58
58
|
"global": [],
|
|
59
59
|
"devas": {}
|
|
60
60
|
},
|
|
61
|
-
"
|
|
61
|
+
"error": {
|
|
62
62
|
"concerns": [],
|
|
63
63
|
"global": [],
|
|
64
64
|
"devas": {}
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"log": {
|
|
67
67
|
"concerns": [],
|
|
68
68
|
"global": [],
|
|
69
69
|
"devas": {}
|
|
@@ -73,22 +73,27 @@
|
|
|
73
73
|
"global": [],
|
|
74
74
|
"devas": {}
|
|
75
75
|
},
|
|
76
|
-
"
|
|
76
|
+
"report": {
|
|
77
77
|
"concerns": [],
|
|
78
78
|
"global": [],
|
|
79
79
|
"devas": {}
|
|
80
80
|
},
|
|
81
|
-
"
|
|
81
|
+
"veda": {
|
|
82
82
|
"concerns": [],
|
|
83
83
|
"global": [],
|
|
84
84
|
"devas": {}
|
|
85
85
|
},
|
|
86
|
-
"
|
|
86
|
+
"indu": {
|
|
87
87
|
"concerns": [],
|
|
88
88
|
"global": [],
|
|
89
89
|
"devas": {}
|
|
90
90
|
},
|
|
91
|
-
"
|
|
91
|
+
"indra": {
|
|
92
|
+
"concerns": [],
|
|
93
|
+
"global": [],
|
|
94
|
+
"devas": {}
|
|
95
|
+
},
|
|
96
|
+
"soma": {
|
|
92
97
|
"concerns": [],
|
|
93
98
|
"global": [],
|
|
94
99
|
"devas": {}
|
|
@@ -103,58 +108,68 @@
|
|
|
103
108
|
"global": [],
|
|
104
109
|
"devas": {}
|
|
105
110
|
},
|
|
111
|
+
"vector": {
|
|
112
|
+
"concerns": [],
|
|
113
|
+
"global": [],
|
|
114
|
+
"devas": {}
|
|
115
|
+
},
|
|
116
|
+
"intelligence": {
|
|
117
|
+
"concerns": [],
|
|
118
|
+
"global": [],
|
|
119
|
+
"devas": {}
|
|
120
|
+
},
|
|
106
121
|
"treasury": {
|
|
107
122
|
"concerns": [],
|
|
108
123
|
"global": [],
|
|
109
124
|
"devas": {}
|
|
110
125
|
},
|
|
111
|
-
"
|
|
112
|
-
"hash": "md5",
|
|
113
|
-
"cipher": {
|
|
114
|
-
"encrypt": true,
|
|
115
|
-
"algorithm": "aes-256-cbc",
|
|
116
|
-
"password": "generic password for encryption test"
|
|
117
|
-
},
|
|
126
|
+
"authority": {
|
|
118
127
|
"concerns": [],
|
|
119
128
|
"global": [],
|
|
120
129
|
"devas": {}
|
|
121
130
|
},
|
|
122
|
-
"
|
|
131
|
+
"justice": {
|
|
123
132
|
"concerns": [],
|
|
124
133
|
"global": [],
|
|
125
134
|
"devas": {}
|
|
126
135
|
},
|
|
127
|
-
"
|
|
136
|
+
"legal": {
|
|
128
137
|
"concerns": [],
|
|
129
138
|
"global": [],
|
|
130
139
|
"devas": {}
|
|
131
140
|
},
|
|
132
|
-
"
|
|
141
|
+
"security": {
|
|
142
|
+
"hash": "md5",
|
|
143
|
+
"cipher": {
|
|
144
|
+
"encrypt": true,
|
|
145
|
+
"algorithm": "aes-256-cbc",
|
|
146
|
+
"password": "generic password for encryption test"
|
|
147
|
+
},
|
|
133
148
|
"concerns": [],
|
|
134
149
|
"global": [],
|
|
135
150
|
"devas": {}
|
|
136
151
|
},
|
|
137
|
-
"
|
|
152
|
+
"guard": {
|
|
138
153
|
"concerns": [],
|
|
139
154
|
"global": [],
|
|
140
155
|
"devas": {}
|
|
141
156
|
},
|
|
142
|
-
"
|
|
157
|
+
"defense": {
|
|
143
158
|
"concerns": [],
|
|
144
159
|
"global": [],
|
|
145
160
|
"devas": {}
|
|
146
161
|
},
|
|
147
|
-
"
|
|
162
|
+
"wall": {
|
|
148
163
|
"concerns": [],
|
|
149
164
|
"global": [],
|
|
150
165
|
"devas": {}
|
|
151
166
|
},
|
|
152
|
-
"
|
|
167
|
+
"shield": {
|
|
153
168
|
"concerns": [],
|
|
154
169
|
"global": [],
|
|
155
170
|
"devas": {}
|
|
156
171
|
},
|
|
157
|
-
"
|
|
172
|
+
"proxy": {
|
|
158
173
|
"concerns": [],
|
|
159
174
|
"global": [],
|
|
160
175
|
"devas": {}
|