@indra.ai/deva 1.29.32 → 1.30.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 +4 -0
- package/config/beliefs.json +4 -0
- package/config/features.json +4 -0
- package/config/intents.json +4 -0
- package/config/msgs.json +1 -1
- package/config/states.json +4 -0
- package/config/zones.json +4 -0
- package/examples/client.json +15 -1
- package/index.js +121 -93
- package/package.json +1 -1
- package/tests/client.json +28 -20
package/config/actions.json
CHANGED
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"owner": "🩲️ Owner",
|
|
27
27
|
"treasury": "🏦 Treasury",
|
|
28
28
|
"security": "🚨 Security",
|
|
29
|
+
"medical": "🏥 Medical",
|
|
30
|
+
"communication": "🏥 Communication",
|
|
31
|
+
"automation": "🦾 Automation",
|
|
32
|
+
"simulation": "🌎 Simulation",
|
|
29
33
|
"guard": "💂 Guard",
|
|
30
34
|
"defense": "🪖 Defense",
|
|
31
35
|
"wall": "🧱 Wall",
|
package/config/beliefs.json
CHANGED
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
"owner": "🩲️ Owner",
|
|
53
53
|
"treasury": "🏦 Treasury",
|
|
54
54
|
"security": "🚨 Security",
|
|
55
|
+
"medical": "🏥 Medical",
|
|
56
|
+
"communication": "🏥 Communication",
|
|
57
|
+
"automation": "🦾 Automation",
|
|
58
|
+
"simulation": "🌎 Simulation",
|
|
55
59
|
"guard": "💂 Guard",
|
|
56
60
|
"defense": "🪖️️ Defense",
|
|
57
61
|
"wall": "🧱 Wall",
|
package/config/features.json
CHANGED
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"authority": "🚔 Authority",
|
|
28
28
|
"legal": "🏛️ Legal",
|
|
29
29
|
"security": "🚨 Security",
|
|
30
|
+
"medical": "🏥 Medical",
|
|
31
|
+
"communication": "🏥 Communication",
|
|
32
|
+
"automation": "🦾 Automation",
|
|
33
|
+
"simulation": "🌎 Simulation",
|
|
30
34
|
"guard": "💂 Guard",
|
|
31
35
|
"defense": "🪖️️ Defense",
|
|
32
36
|
"shield": "🛡️ Shield",
|
package/config/intents.json
CHANGED
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
"owner": "🐲️ Owner",
|
|
67
67
|
"treasury": "🏦 Treasury",
|
|
68
68
|
"security": "🚨 Security",
|
|
69
|
+
"medical": "🏥 Medical",
|
|
70
|
+
"communication": "🏥 Communication",
|
|
71
|
+
"automation": "🦾 Automation",
|
|
72
|
+
"simulation": "🌎 Simulation",
|
|
69
73
|
"guard": "💂 Guard",
|
|
70
74
|
"defense": "🪖 Defense",
|
|
71
75
|
"wall": "🧱 Wall",
|
package/config/msgs.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"invalid_client": "⛔️ Client Hash Invalid",
|
|
22
22
|
"load": "📦 Load",
|
|
23
23
|
"unload": "🥡 Unload",
|
|
24
|
-
"warning": "{{prompt.emoji}} {{profile.hashtag}} warns #UnlawfulUse or #Duplication constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance, #Arrest by U.S. Federal Law Enforcement, and #Confiscation of the #Offenders #EntirePropertyAndWealth forfeit to U.S. Authorities for #Investigation into #CriminalActivity and #Transfer to
|
|
24
|
+
"warning": "{{prompt.emoji}} {{profile.hashtag}} warns #UnlawfulUse or #Duplication constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance, #Arrest by U.S. Federal Law Enforcement, and #Confiscation of the #Offenders #EntirePropertyAndWealth forfeit to U.S. Authorities for #Investigation into #CriminalActivity and #Transfer to #LawfulVictimRestitution has been #Ordained the #Punishment for #Sahasa of the #HighestDegree. {{profile.hashtags}}",
|
|
25
25
|
"client_license_check": "🪪 Check Client License",
|
|
26
26
|
"client_license_invalid": "❌ The Provided Client License Is Invalid",
|
|
27
27
|
"status": "vedic"
|
package/config/states.json
CHANGED
|
@@ -94,6 +94,10 @@
|
|
|
94
94
|
"owner": "🩲️ Owner",
|
|
95
95
|
"treasury": "🏦 Treasury",
|
|
96
96
|
"security": "🚨 Security",
|
|
97
|
+
"medical": "🏥 Medical",
|
|
98
|
+
"communication": "🏥 Communication",
|
|
99
|
+
"automation": "🦾 Automation",
|
|
100
|
+
"simulation": "🌎 Simulation",
|
|
97
101
|
"guard": "💂 Guard",
|
|
98
102
|
"defense": "🪖 Defense",
|
|
99
103
|
"wall": "🧱 Wall",
|
package/config/zones.json
CHANGED
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
"owner": "🩲️ Owner",
|
|
49
49
|
"treasury": "🏦️ Treasury",
|
|
50
50
|
"security": "🚨 Security",
|
|
51
|
+
"medical": "🏥 Medical",
|
|
52
|
+
"communication": "🏥 Communication",
|
|
53
|
+
"automation": "🦾 Automation",
|
|
54
|
+
"simulation": "🌎 Simulation",
|
|
51
55
|
"guard": "💂 Guard",
|
|
52
56
|
"wall": "🧱 Wall",
|
|
53
57
|
"shield": "🛡️ Shield",
|
package/examples/client.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"devas": {
|
|
57
57
|
"hello": {}
|
|
58
58
|
}
|
|
59
|
-
},
|
|
59
|
+
},
|
|
60
60
|
"support": {
|
|
61
61
|
"concerns": [],
|
|
62
62
|
"global": {},
|
|
@@ -64,6 +64,20 @@
|
|
|
64
64
|
"hello": {}
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
+
"medical": {
|
|
68
|
+
"concerns": [],
|
|
69
|
+
"global": {},
|
|
70
|
+
"devas": {
|
|
71
|
+
"hello": {}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"communication": {
|
|
75
|
+
"concerns": [],
|
|
76
|
+
"global": {},
|
|
77
|
+
"devas": {
|
|
78
|
+
"hello": {}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
67
81
|
"services": {
|
|
68
82
|
"concerns": [],
|
|
69
83
|
"global": {
|
package/index.js
CHANGED
|
@@ -23,20 +23,19 @@ class Deva {
|
|
|
23
23
|
this._license = false; // inherited License features.
|
|
24
24
|
this._identity = false; // inherited Identity features.
|
|
25
25
|
this._feecting = false; // inherited Feecting features.
|
|
26
|
-
this._security = false; // inherited Security features.
|
|
27
26
|
this._error = false; // inherited Error features.
|
|
28
27
|
this._log = false; // inherited Log features.
|
|
29
28
|
this._data = false; // inherited Data features.
|
|
29
|
+
this._security = false; // inherited Security features.
|
|
30
|
+
this._medical = false; // inherited Medical features.
|
|
31
|
+
this._communication = false; // inherited Communication features.
|
|
32
|
+
this._automation = false; // inherited Automation features.
|
|
33
|
+
this._simulation = false; // inherited Automation features.
|
|
30
34
|
this._report = false; // inherited Report features.
|
|
31
35
|
this._legal = false; // inherited Legal features.
|
|
32
36
|
this._treasury = false; // inherited Vector features.
|
|
33
37
|
this._authority = false; // inherited Justice features.
|
|
34
38
|
this._justice = false; // inherited Justice features.
|
|
35
|
-
this._veda = false; // inherited Veda features.
|
|
36
|
-
this._indu = false; // inherited INdu features.
|
|
37
|
-
this._indra = false; // inherited Indra features.
|
|
38
|
-
this._soma = false; // inherited Soma features.
|
|
39
|
-
this._king = false; // inherited King features.
|
|
40
39
|
this._owner = false; // inherited Owner features.
|
|
41
40
|
this._vector = false; // inherited Vector features.
|
|
42
41
|
this._intelligence = false; // inherited Intelligence features.
|
|
@@ -484,17 +483,6 @@ class Deva {
|
|
|
484
483
|
return this.Feature('feecting', resolve, reject);
|
|
485
484
|
}
|
|
486
485
|
|
|
487
|
-
/**************
|
|
488
|
-
func: Security
|
|
489
|
-
params: resolve, reject
|
|
490
|
-
describe:
|
|
491
|
-
The Security feature sets the correct variables and necessary rules for the
|
|
492
|
-
client presented data.
|
|
493
|
-
***************/
|
|
494
|
-
Security(resolve, reject) {
|
|
495
|
-
return this.Feature('security', resolve, reject);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
486
|
/**************
|
|
499
487
|
func: Error
|
|
500
488
|
params: resolve, reject
|
|
@@ -528,6 +516,61 @@ class Deva {
|
|
|
528
516
|
return this.Feature('data', resolve, reject);
|
|
529
517
|
}
|
|
530
518
|
|
|
519
|
+
/**************
|
|
520
|
+
func: Security
|
|
521
|
+
params: resolve, reject
|
|
522
|
+
describe:
|
|
523
|
+
The Security feature sets the correct variables and necessary rules for the
|
|
524
|
+
client presented data.
|
|
525
|
+
***************/
|
|
526
|
+
Security(resolve, reject) {
|
|
527
|
+
return this.Feature('security', resolve, reject);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**************
|
|
531
|
+
func: Medical
|
|
532
|
+
params: resolve, reject
|
|
533
|
+
describe:
|
|
534
|
+
The Medical feature sets the correct variables and necessary rules for the
|
|
535
|
+
client presented data.
|
|
536
|
+
***************/
|
|
537
|
+
Medical(resolve, reject) {
|
|
538
|
+
return this.Feature('medical', resolve, reject);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/**************
|
|
542
|
+
func: Communication
|
|
543
|
+
params: resolve, reject
|
|
544
|
+
describe:
|
|
545
|
+
The Communication feature sets the correct variables and necessary rules for the
|
|
546
|
+
client presented data.
|
|
547
|
+
***************/
|
|
548
|
+
Communication(resolve, reject) {
|
|
549
|
+
return this.Feature('communication', resolve, reject);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/**************
|
|
553
|
+
func: Automation
|
|
554
|
+
params: resolve, reject
|
|
555
|
+
describe:
|
|
556
|
+
The Automation feature sets the correct variables and necessary rules for the
|
|
557
|
+
client presented data.
|
|
558
|
+
***************/
|
|
559
|
+
Automation(resolve, reject) {
|
|
560
|
+
return this.Feature('automation', resolve, reject);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/**************
|
|
564
|
+
func: Simulation
|
|
565
|
+
params: resolve, reject
|
|
566
|
+
describe:
|
|
567
|
+
The Simulation feature sets the correct variables and necessary rules for the
|
|
568
|
+
client presented data.
|
|
569
|
+
***************/
|
|
570
|
+
Simulation(resolve, reject) {
|
|
571
|
+
return this.Feature('simulation', resolve, reject);
|
|
572
|
+
}
|
|
573
|
+
|
|
531
574
|
/**************
|
|
532
575
|
func: Report
|
|
533
576
|
params: resolve, reject
|
|
@@ -1254,14 +1297,22 @@ class Deva {
|
|
|
1254
1297
|
return this.Identity(resolve, reject);
|
|
1255
1298
|
}).then(() => {
|
|
1256
1299
|
return this.Feecting(resolve, reject);
|
|
1257
|
-
}).then(() => {
|
|
1258
|
-
return this.Security(resolve, reject);
|
|
1259
1300
|
}).then(() => {
|
|
1260
1301
|
return this.Error(resolve, reject);
|
|
1261
1302
|
}).then(() => {
|
|
1262
1303
|
return this.Log(resolve, reject);
|
|
1263
1304
|
}).then(() => {
|
|
1264
1305
|
return this.Data(resolve, reject);
|
|
1306
|
+
}).then(() => {
|
|
1307
|
+
return this.Security(resolve, reject);
|
|
1308
|
+
}).then(() => {
|
|
1309
|
+
return this.Medical(resolve, reject);
|
|
1310
|
+
}).then(() => {
|
|
1311
|
+
return this.Communication(resolve, reject);
|
|
1312
|
+
}).then(() => {
|
|
1313
|
+
return this.Automation(resolve, reject);
|
|
1314
|
+
}).then(() => {
|
|
1315
|
+
return this.Simulation(resolve, reject);
|
|
1265
1316
|
}).then(() => {
|
|
1266
1317
|
return this.Report(resolve, reject);
|
|
1267
1318
|
}).then(() => {
|
|
@@ -1274,18 +1325,6 @@ class Deva {
|
|
|
1274
1325
|
return this.Justice(resolve, reject);
|
|
1275
1326
|
}).then(() => {
|
|
1276
1327
|
return this.Owner(resolve, reject);
|
|
1277
|
-
}).then(() => {
|
|
1278
|
-
return this.Veda(resolve, reject);
|
|
1279
|
-
|
|
1280
|
-
// this is current cut off point
|
|
1281
|
-
}).then(() => {
|
|
1282
|
-
return this.Indu(resolve, reject);
|
|
1283
|
-
}).then(() => {
|
|
1284
|
-
return this.Indra(resolve, reject);
|
|
1285
|
-
}).then(() => {
|
|
1286
|
-
return this.Soma(resolve, reject);
|
|
1287
|
-
}).then(() => {
|
|
1288
|
-
return this.King(resolve, reject);
|
|
1289
1328
|
}).then(() => {
|
|
1290
1329
|
return this.Vector(resolve, reject);
|
|
1291
1330
|
}).then(() => {
|
|
@@ -1892,16 +1931,6 @@ class Deva {
|
|
|
1892
1931
|
return this._getFeature('feecting', this._feecting);
|
|
1893
1932
|
}
|
|
1894
1933
|
|
|
1895
|
-
/**************
|
|
1896
|
-
func: security
|
|
1897
|
-
params: none
|
|
1898
|
-
describe: basic security features available in a Deva.
|
|
1899
|
-
usage: this.security()
|
|
1900
|
-
***************/
|
|
1901
|
-
security() {
|
|
1902
|
-
return this._getFeature('security', this._security);
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
1934
|
/**************
|
|
1906
1935
|
func: error
|
|
1907
1936
|
params: none
|
|
@@ -1911,7 +1940,7 @@ class Deva {
|
|
|
1911
1940
|
error() {
|
|
1912
1941
|
return this._getFeature('error', this._error);
|
|
1913
1942
|
}
|
|
1914
|
-
|
|
1943
|
+
|
|
1915
1944
|
/**************
|
|
1916
1945
|
func: log
|
|
1917
1946
|
params: none
|
|
@@ -1921,7 +1950,7 @@ class Deva {
|
|
|
1921
1950
|
log() {
|
|
1922
1951
|
return this._getFeature('log', this._error);
|
|
1923
1952
|
}
|
|
1924
|
-
|
|
1953
|
+
|
|
1925
1954
|
/**************
|
|
1926
1955
|
func: data
|
|
1927
1956
|
params: none
|
|
@@ -1932,6 +1961,55 @@ class Deva {
|
|
|
1932
1961
|
return this._getFeature('data', this._data);
|
|
1933
1962
|
}
|
|
1934
1963
|
|
|
1964
|
+
/**************
|
|
1965
|
+
func: security
|
|
1966
|
+
params: none
|
|
1967
|
+
describe: basic security features available in a Deva.
|
|
1968
|
+
usage: this.security()
|
|
1969
|
+
***************/
|
|
1970
|
+
security() {
|
|
1971
|
+
return this._getFeature('security', this._security);
|
|
1972
|
+
}
|
|
1973
|
+
/**************
|
|
1974
|
+
func: medical
|
|
1975
|
+
params: none
|
|
1976
|
+
describe: basic medical features available in a Deva.
|
|
1977
|
+
usage: this.medical()
|
|
1978
|
+
***************/
|
|
1979
|
+
medical() {
|
|
1980
|
+
return this._getFeature('medical', this._medical);
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/**************
|
|
1984
|
+
func: communication
|
|
1985
|
+
params: none
|
|
1986
|
+
describe: basic communication features available in a Deva.
|
|
1987
|
+
usage: this.communication()
|
|
1988
|
+
***************/
|
|
1989
|
+
communication() {
|
|
1990
|
+
return this._getFeature('communication', this._communication);
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
/**************
|
|
1994
|
+
func: automation
|
|
1995
|
+
params: none
|
|
1996
|
+
describe: basic automation features available in a Deva.
|
|
1997
|
+
usage: this.automation()
|
|
1998
|
+
***************/
|
|
1999
|
+
automation() {
|
|
2000
|
+
return this._getFeature('automation', this._automation);
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
/**************
|
|
2004
|
+
func: simulation
|
|
2005
|
+
params: none
|
|
2006
|
+
describe: basic simulation features available in a Deva.
|
|
2007
|
+
usage: this.simulation()
|
|
2008
|
+
***************/
|
|
2009
|
+
simulation() {
|
|
2010
|
+
return this._getFeature('simulation', this._simulation);
|
|
2011
|
+
}
|
|
2012
|
+
|
|
1935
2013
|
/**************
|
|
1936
2014
|
func: report
|
|
1937
2015
|
params: none
|
|
@@ -1992,56 +2070,6 @@ class Deva {
|
|
|
1992
2070
|
return this._getFeature('owner', this._owner);
|
|
1993
2071
|
}
|
|
1994
2072
|
|
|
1995
|
-
/**************
|
|
1996
|
-
func: veda
|
|
1997
|
-
params: none
|
|
1998
|
-
describe: basic veda features available in a Deva.
|
|
1999
|
-
usage: this.veda()
|
|
2000
|
-
***************/
|
|
2001
|
-
veda() {
|
|
2002
|
-
return this._getFeature('veda', this._veda);
|
|
2003
|
-
}
|
|
2004
|
-
|
|
2005
|
-
/**************
|
|
2006
|
-
func: indu
|
|
2007
|
-
params: none
|
|
2008
|
-
describe: basic indu features available in a Deva.
|
|
2009
|
-
usage: this.indu()
|
|
2010
|
-
***************/
|
|
2011
|
-
indu() {
|
|
2012
|
-
return this._getFeature('indu', this._indu);
|
|
2013
|
-
}
|
|
2014
|
-
|
|
2015
|
-
/**************
|
|
2016
|
-
func: indra
|
|
2017
|
-
params: none
|
|
2018
|
-
describe: basic indra features available in a Deva.
|
|
2019
|
-
usage: this.indra()
|
|
2020
|
-
***************/
|
|
2021
|
-
indra() {
|
|
2022
|
-
return this._getFeature('indra', this._indra);
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
/**************
|
|
2026
|
-
func: soma
|
|
2027
|
-
params: none
|
|
2028
|
-
describe: basic soma features available in a Deva.
|
|
2029
|
-
usage: this.soma()
|
|
2030
|
-
***************/
|
|
2031
|
-
soma() {
|
|
2032
|
-
return this._getFeature('soma', this._soma);
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
/**************
|
|
2036
|
-
func: king
|
|
2037
|
-
params: none
|
|
2038
|
-
describe: basic king features available in a Deva.
|
|
2039
|
-
usage: this.king()
|
|
2040
|
-
***************/
|
|
2041
|
-
king() {
|
|
2042
|
-
return this._getFeature('king', this._king);
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
2073
|
/**************
|
|
2046
2074
|
func: vector
|
|
2047
2075
|
params: none
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "38159520729793885324",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.30.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:38159520729793885324 LICENSE.md",
|
package/tests/client.json
CHANGED
|
@@ -86,26 +86,6 @@
|
|
|
86
86
|
"global": [],
|
|
87
87
|
"devas": {}
|
|
88
88
|
},
|
|
89
|
-
"indu": {
|
|
90
|
-
"concerns": [],
|
|
91
|
-
"global": [],
|
|
92
|
-
"devas": {}
|
|
93
|
-
},
|
|
94
|
-
"indra": {
|
|
95
|
-
"concerns": [],
|
|
96
|
-
"global": [],
|
|
97
|
-
"devas": {}
|
|
98
|
-
},
|
|
99
|
-
"soma": {
|
|
100
|
-
"concerns": [],
|
|
101
|
-
"global": [],
|
|
102
|
-
"devas": {}
|
|
103
|
-
},
|
|
104
|
-
"king": {
|
|
105
|
-
"concerns": [],
|
|
106
|
-
"global": [],
|
|
107
|
-
"devas": {}
|
|
108
|
-
},
|
|
109
89
|
"owner": {
|
|
110
90
|
"concerns": [],
|
|
111
91
|
"global": [],
|
|
@@ -152,6 +132,34 @@
|
|
|
152
132
|
"global": [],
|
|
153
133
|
"devas": {}
|
|
154
134
|
},
|
|
135
|
+
"medical": {
|
|
136
|
+
"concerns": [],
|
|
137
|
+
"global": {},
|
|
138
|
+
"devas": {
|
|
139
|
+
"hello": {}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"communication": {
|
|
143
|
+
"concerns": [],
|
|
144
|
+
"global": {},
|
|
145
|
+
"devas": {
|
|
146
|
+
"hello": {}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"automation": {
|
|
150
|
+
"concerns": [],
|
|
151
|
+
"global": {},
|
|
152
|
+
"devas": {
|
|
153
|
+
"hello": {}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"simulation": {
|
|
157
|
+
"concerns": [],
|
|
158
|
+
"global": {},
|
|
159
|
+
"devas": {
|
|
160
|
+
"hello": {}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
155
163
|
"guard": {
|
|
156
164
|
"concerns": [],
|
|
157
165
|
"global": [],
|