@indra.ai/deva 1.9.1 β†’ 1.10.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.
@@ -8,6 +8,7 @@
8
8
  "client": "πŸ‘¨ Client",
9
9
  "agent": "πŸ•΅οΈβ€β™‚οΈ Agent",
10
10
  "license": "πŸͺͺ License",
11
+ "intelligence": "🧠 Intelligence",
11
12
  "indra": "πŸ’« Indra",
12
13
  "veda": "πŸ•‰οΈ Veda",
13
14
  "data": "πŸ’Ύ Data",
@@ -35,6 +35,8 @@
35
35
  "pervert": "πŸ’‹ Pervert",
36
36
  "romance": "🌹 Romance",
37
37
  "other": "πŸ€” Other",
38
+ "license": "πŸͺͺ License",
39
+ "intelligence": "🧠 Intelligence",
38
40
  "indra": "πŸ’« Indra",
39
41
  "veda": "πŸ•‰οΈ Veda",
40
42
  "data": "πŸ’ΎοΈ Data",
@@ -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",
@@ -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
  }
@@ -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": "πŸ”© 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
@@ -32,6 +32,7 @@
32
32
  "done": "β˜‘οΈ Done",
33
33
  "ready": "⭐️ Ready",
34
34
  "license": "πŸͺͺ License",
35
+ "intelligence": "🧠 Intelligence",
35
36
  "indra": "⚑️ Indra",
36
37
  "veda": "πŸ•‰οΈ Veda",
37
38
  "data": "πŸ’ΎοΈ Data",
package/index.js CHANGED
@@ -442,40 +442,39 @@ class Deva {
442
442
  }
443
443
  }
444
444
 
445
-
446
445
  /**************
447
- func: Indra
446
+ func: License
448
447
  params: resolve, reject
449
448
  describe:
450
- The Indra feature sets the correct variables and necessary rules for the
449
+ The License feature sets the correct variables and necessary rules for the
451
450
  client presented data.
452
451
  ***************/
453
- Indra(resolve, reject) {
454
- return this.Feature('indra', resolve, reject);
452
+ License(resolve, reject) {
453
+ return this.Feature('license', resolve, reject);
455
454
  }
456
455
 
457
456
  /**************
458
- func: Veda
457
+ func: Error
459
458
  params: resolve, reject
460
459
  describe:
461
- The Veda feature sets the correct variables and necessary rules for the
460
+ The Error feature sets the correct variables and necessary rules for the
462
461
  client presented data.
463
462
  ***************/
464
- Veda(resolve, reject) {
465
- return this.Feature('veda', resolve, reject);
463
+ Error(resolve, reject) {
464
+ return this.Feature('error', resolve, reject);
466
465
  }
467
-
466
+
468
467
  /**************
469
- func: License
468
+ func: Log
470
469
  params: resolve, reject
471
470
  describe:
472
- The License feature sets the correct variables and necessary rules for the
471
+ The Log feature sets the correct variables and necessary rules for the
473
472
  client presented data.
474
473
  ***************/
475
- License(resolve, reject) {
476
- return this.Feature('license', resolve, reject);
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: Error
490
+ func: Report
492
491
  params: resolve, reject
493
492
  describe:
494
- The Error feature sets the correct variables and necessary rules for the
493
+ The Report feature sets the correct variables and necessary rules for the
495
494
  client presented data.
496
495
  ***************/
497
- Error(resolve, reject) {
498
- return this.Feature('error', resolve, reject);
496
+ Report(resolve, reject) {
497
+ return this.Feature('report', resolve, reject);
499
498
  }
500
-
499
+
501
500
  /**************
502
- func: Log
501
+ func: Vector
503
502
  params: resolve, reject
504
503
  describe:
505
- The Log feature sets the correct variables and necessary rules for the
504
+ The Vector feature sets the correct variables and necessary rules for the
506
505
  client presented data.
507
506
  ***************/
508
- Log(resolve, reject) {
509
- return this.Feature('log', resolve, reject);
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: Report
523
+ func: Indra
514
524
  params: resolve, reject
515
525
  describe:
516
- The Report feature sets the correct variables and necessary rules for the
526
+ The Indra feature sets the correct variables and necessary rules for the
517
527
  client presented data.
518
528
  ***************/
519
- Report(resolve, reject) {
520
- return this.Feature('report', resolve, reject);
529
+ Indra(resolve, reject) {
530
+ return this.Feature('indra', resolve, reject);
521
531
  }
522
532
 
523
533
  /**************
524
- func: Vector
534
+ func: Veda
525
535
  params: resolve, reject
526
536
  describe:
527
- The Vector feature sets the correct variables and necessary rules for the
537
+ The Veda feature sets the correct variables and necessary rules for the
528
538
  client presented data.
529
539
  ***************/
530
- Vector(resolve, reject) {
531
- return this.Feature('vector', resolve, reject);
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
@@ -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.9.1",
4
+ "version": "1.10.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",
package/tests/client.json CHANGED
@@ -56,6 +56,11 @@
56
56
  "global": [],
57
57
  "devas": {}
58
58
  },
59
+ "intelligence": {
60
+ "concerns": [],
61
+ "global": [],
62
+ "devas": {}
63
+ },
59
64
  "indra": {
60
65
  "concerns": [],
61
66
  "global": [],