@indra.ai/deva 1.18.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/LICENSE.md CHANGED
@@ -171,4 +171,24 @@ copyright: Copyright Β©2025 Quinn A Michaels; All rights reserved.
171
171
  md5: ZA0acpqDmamiLscbakYnVQ==
172
172
  sha256: kALbh2r8uKzeVrAbVMQxjTXWqu3hhAMy56Nw/VcoXNA=
173
173
  sha512: csERqQG6LBWfWL8+rBK7YsPdUV5A6/1rZsR5S6U5ECGryfehxb+5fzgeFGJJX+h9UfjgtnvakpjCa/QWpAUFqA==
174
- ::end:deva:vedic:uid:64907438819979111427
174
+ ::end:deva:vedic:uid:64907438819979111427
175
+
176
+ ::begin:sign:deva:21434514811868996161
177
+ sign: Quinn Arjuna Arjika America Michaels πŸ€πŸ«‘πŸ•‰πŸ›•πŸͺΆπŸ‡ΊπŸ‡Έ
178
+ uid: 21434514811868996161
179
+ time: 1761515910313
180
+ expires: none
181
+ fingerprint: jjKiTj9GNkg0BZGoHa9swHP+Sl5y96t4+XKzW8h9u0s=
182
+ name: Quinn A Michaels
183
+ fullname: Quinn Arjuna Arjika America Michaels
184
+ company: Inside The Net, Inc.
185
+ caseid: FM-20250622-5114
186
+ agent: undefined
187
+ token: NCI5utqYPmFSWfwAWJpNeauQSxHKKiWJJfn2FjL5SZY=
188
+ warning: ⚠️ Unlawful use or duplication of this uid constitutes Vedic SÒhasa/Theft/Crime of the highest degree where a fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each occurance is owed and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for SÒhasa of the highest degree under Vedic Religious Law.
189
+ created: undefined
190
+ copyright: Copyright Β©2025 Quinn A Michaels; All rights reserved.
191
+ md5: icf3cGFR3J9JK5aRKUEa1w==
192
+ sha256: 3siVnj/XOxQxFOxJy8l2dYQdmhkU26BsV4WDq3PE5Bo=
193
+ sha512: CNUUePRLC4wlgPXIvvYjQBuYOuxXPUFkRuNsQqDmqnPmFtQOoJ2DASKlezaQ5wbANUDsHOzsyy5YIGenenSOOA==
194
+ ::end:sign:deva:21434514811868996161
@@ -8,8 +8,11 @@
8
8
  "client": "πŸ‘¨ Client",
9
9
  "agent": "πŸ•΅οΈβ€β™‚οΈ Agent",
10
10
  "license": "πŸͺͺ License",
11
+ "feecting": "πŸ„ Feecting",
11
12
  "intelligence": "🧠 Intelligence",
12
- "indra": "πŸ’« Indra",
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": "🐲️ Owner",
23
+ "owner": "🩲️ Owner",
21
24
  "treasury": "🏦 Treasury",
22
25
  "security": "🚨 Security",
23
26
  "guard": "πŸ’‚ Guard",
@@ -36,8 +36,11 @@
36
36
  "romance": "🌹 Romance",
37
37
  "other": "πŸ€” Other",
38
38
  "license": "πŸͺͺ License",
39
+ "feecting": "πŸ„ Feecting",
39
40
  "intelligence": "🧠 Intelligence",
40
- "indra": "πŸ’« Indra",
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": "🐲️ Owner",
51
+ "owner": "🩲️ Owner",
49
52
  "treasury": "🏦 Treasury",
50
53
  "security": "🚨 Security",
51
54
  "guard": "πŸ’‚ Guard",
@@ -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": "🐲️ 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
- '_data',
103
+ '_feecting',
106
104
  '_error',
107
105
  '_log',
106
+ '_data',
108
107
  '_report',
109
- '_vector',
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',
@@ -50,8 +50,11 @@
50
50
  "exit": "πŸšͺ Exit",
51
51
  "shutdown": "πŸ”Œ Shutdown",
52
52
  "license": "πŸͺͺ License",
53
+ "feecting": "πŸ„ Feecting",
53
54
  "intelligence": "🧠 Intelligence",
54
- "indra": "πŸ’« Indra",
55
+ "indu": "πŸ’§οΈ Indu",
56
+ "indra": "⚑️ Indra",
57
+ "soma": "🌱️ Soma",
55
58
  "veda": "πŸ•‰οΈ Veda",
56
59
  "data": "πŸ’Ύ Data",
57
60
  "error": "❌ Error",
@@ -78,8 +78,11 @@
78
78
  "finally": "πŸ† Finally",
79
79
  "view": "πŸ‘“ View",
80
80
  "license": "πŸͺͺ License",
81
+ "feecting": "πŸ„ Feecting",
81
82
  "intelligence": "🧠 Intelligence",
82
- "indra": "πŸ’« Indra",
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": "🐲️ 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": "βŽ† 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": "🐲️ 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._data = false; // inherited Data features.
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._vector = false; // inherited Vector features.
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: Vector
518
+ func: Veda
502
519
  params: resolve, reject
503
520
  describe:
504
- The Vector feature sets the correct variables and necessary rules for the
521
+ The Veda feature sets the correct variables and necessary rules for the
505
522
  client presented data.
506
523
  ***************/
507
- Vector(resolve, reject) {
508
- return this.Feature('vector', resolve, reject);
524
+ Veda(resolve, reject) {
525
+ return this.Feature('veda', resolve, reject);
509
526
  }
510
-
527
+
511
528
  /**************
512
- func: Intelligence
529
+ func: Indu
513
530
  params: resolve, reject
514
531
  describe:
515
- The Intelligence feature sets the correct variables and necessary rules for the
532
+ The Indu feature sets the correct variables and necessary rules for the
516
533
  client presented data.
517
534
  ***************/
518
- Intelligence(resolve, reject) {
519
- return this.Feature('intelligence', resolve, reject);
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: Veda
551
+ func: Soma
535
552
  params: resolve, reject
536
553
  describe:
537
- The Veda feature sets the correct variables and necessary rules for the
554
+ The Soma feature sets the correct variables and necessary rules for the
538
555
  client presented data.
539
556
  ***************/
540
- Veda(resolve, reject) {
541
- return this.Feature('veda', resolve, reject);
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: Proxy
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
- Proxy(resolve, reject) {
662
- return this.Feature('proxy', resolve, reject);
700
+ Wall(resolve, reject) {
701
+ return this.Feature('wall', resolve, reject);
663
702
  }
664
703
 
665
704
  /**************
666
- func: Legal
705
+ func: Proxy
667
706
  params: resolve, reject
668
707
  describe:
669
- The Legal feature sets the correct variables and necessary rules for the
708
+ The Defense feature sets the correct variables and necessary rules for the
670
709
  client presented data.
671
710
  ***************/
672
- Legal(resolve, reject) {
673
- return this.Feature('legal', resolve, reject);
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.Vector(resolve, reject);
1247
+ return this.Veda(resolve, reject);
1207
1248
  }).then(() => {
1208
- return this.Intelligence(resolve, reject);
1249
+ return this.Indu(resolve, reject);
1209
1250
  }).then(() => {
1210
1251
  return this.Indra(resolve, reject);
1211
1252
  }).then(() => {
1212
- return this.Veda(resolve, reject);
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.Proxy(resolve, reject);
1279
+ return this.Wall(resolve, reject);
1235
1280
  }).then(() => {
1236
- return this.Legal(resolve, reject);
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: vector
1884
+ func: veda
1831
1885
  params: none
1832
- describe: basic vector features available in a Deva.
1833
- usage: this.vector()
1886
+ describe: basic veda features available in a Deva.
1887
+ usage: this.veda()
1834
1888
  ***************/
1835
- vector() {
1836
- return this._getFeature('vector', this._vector);
1889
+ veda() {
1890
+ return this._getFeature('veda', this._veda);
1837
1891
  }
1838
-
1892
+
1839
1893
  /**************
1840
- func: intelligence
1894
+ func: indu
1841
1895
  params: none
1842
- describe: basic intelligence features available in a Deva.
1843
- usage: this.intelligence()
1896
+ describe: basic indu features available in a Deva.
1897
+ usage: this.indu()
1844
1898
  ***************/
1845
- intelligence() {
1846
- return this._getFeature('intelligence', this._vector);
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: veda
1914
+ func: soma
1862
1915
  params: none
1863
- describe: basic veda features available in a Deva.
1864
- usage: this.veda()
1916
+ describe: basic soma features available in a Deva.
1917
+ usage: this.soma()
1865
1918
  ***************/
1866
- veda() {
1867
- return this._getFeature('veda', this._veda);
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
@@ -2442,13 +2515,17 @@ class Deva {
2442
2515
 
2443
2516
  const container = `OM:O:${key.toUpperCase()}:${id.uid}`; // set container string.
2444
2517
 
2518
+ this.action('hash', `${key}:packet:sha256:${id.uid}`);
2445
2519
  const packet_hash = this.hash(packet, 'sha256');
2520
+
2521
+ this.action('hash', `${key}:token:sha256:${id.uid}`);
2446
2522
  const token = this.hash(`${key} client:${client.profile.id} fullname:${client.profile.fullname} uid:${id.uid}`, 'sha256');
2447
2523
 
2448
2524
  const warning = agent.profile.warning || this._messages.warning;
2449
2525
  const copyright = agent.profile.copyright || this._core.copyright;
2450
2526
 
2451
2527
  // build the main data packet.
2528
+ this.state('data', `${key}:sign:${id.uid}`); // set state data
2452
2529
  const data = {
2453
2530
  id,
2454
2531
  key,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "64907438819979111427",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.18.0",
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
- "intelligence": {
56
+ "feecting": {
57
57
  "concerns": [],
58
58
  "global": [],
59
59
  "devas": {}
60
60
  },
61
- "indra": {
61
+ "error": {
62
62
  "concerns": [],
63
63
  "global": [],
64
64
  "devas": {}
65
65
  },
66
- "veda": {
66
+ "log": {
67
67
  "concerns": [],
68
68
  "global": [],
69
69
  "devas": {}
@@ -73,22 +73,27 @@
73
73
  "global": [],
74
74
  "devas": {}
75
75
  },
76
- "error": {
76
+ "report": {
77
77
  "concerns": [],
78
78
  "global": [],
79
79
  "devas": {}
80
80
  },
81
- "log": {
81
+ "veda": {
82
82
  "concerns": [],
83
83
  "global": [],
84
84
  "devas": {}
85
85
  },
86
- "report": {
86
+ "indu": {
87
87
  "concerns": [],
88
88
  "global": [],
89
89
  "devas": {}
90
90
  },
91
- "vector": {
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
- "security": {
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
- "guard": {
131
+ "justice": {
123
132
  "concerns": [],
124
133
  "global": [],
125
134
  "devas": {}
126
135
  },
127
- "defense": {
136
+ "legal": {
128
137
  "concerns": [],
129
138
  "global": [],
130
139
  "devas": {}
131
140
  },
132
- "wall": {
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
- "shield": {
152
+ "guard": {
138
153
  "concerns": [],
139
154
  "global": [],
140
155
  "devas": {}
141
156
  },
142
- "proxy": {
157
+ "defense": {
143
158
  "concerns": [],
144
159
  "global": [],
145
160
  "devas": {}
146
161
  },
147
- "legal": {
162
+ "wall": {
148
163
  "concerns": [],
149
164
  "global": [],
150
165
  "devas": {}
151
166
  },
152
- "authority": {
167
+ "shield": {
153
168
  "concerns": [],
154
169
  "global": [],
155
170
  "devas": {}
156
171
  },
157
- "justice": {
172
+ "proxy": {
158
173
  "concerns": [],
159
174
  "global": [],
160
175
  "devas": {}