@indra.ai/deva 1.29.32 → 1.29.33
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 +2 -0
- package/config/beliefs.json +2 -0
- package/config/features.json +2 -0
- package/config/intents.json +2 -0
- package/config/msgs.json +1 -1
- package/config/states.json +2 -0
- package/config/zones.json +2 -0
- package/examples/client.json +15 -1
- package/index.js +46 -67
- package/package.json +1 -1
- package/tests/client.json +14 -0
package/config/actions.json
CHANGED
package/config/beliefs.json
CHANGED
package/config/features.json
CHANGED
package/config/intents.json
CHANGED
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
package/config/zones.json
CHANGED
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
|
@@ -24,6 +24,8 @@ class Deva {
|
|
|
24
24
|
this._identity = false; // inherited Identity features.
|
|
25
25
|
this._feecting = false; // inherited Feecting features.
|
|
26
26
|
this._security = false; // inherited Security features.
|
|
27
|
+
this._medical = false; // inherited Medical features.
|
|
28
|
+
this._communication = false; // inherited Communication features.
|
|
27
29
|
this._error = false; // inherited Error features.
|
|
28
30
|
this._log = false; // inherited Log features.
|
|
29
31
|
this._data = false; // inherited Data features.
|
|
@@ -32,11 +34,6 @@ class Deva {
|
|
|
32
34
|
this._treasury = false; // inherited Vector features.
|
|
33
35
|
this._authority = false; // inherited Justice features.
|
|
34
36
|
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
37
|
this._owner = false; // inherited Owner features.
|
|
41
38
|
this._vector = false; // inherited Vector features.
|
|
42
39
|
this._intelligence = false; // inherited Intelligence features.
|
|
@@ -495,6 +492,28 @@ class Deva {
|
|
|
495
492
|
return this.Feature('security', resolve, reject);
|
|
496
493
|
}
|
|
497
494
|
|
|
495
|
+
/**************
|
|
496
|
+
func: Medical
|
|
497
|
+
params: resolve, reject
|
|
498
|
+
describe:
|
|
499
|
+
The Medical feature sets the correct variables and necessary rules for the
|
|
500
|
+
client presented data.
|
|
501
|
+
***************/
|
|
502
|
+
Medical(resolve, reject) {
|
|
503
|
+
return this.Feature('medical', resolve, reject);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**************
|
|
507
|
+
func: Communication
|
|
508
|
+
params: resolve, reject
|
|
509
|
+
describe:
|
|
510
|
+
The Communication feature sets the correct variables and necessary rules for the
|
|
511
|
+
client presented data.
|
|
512
|
+
***************/
|
|
513
|
+
Communication(resolve, reject) {
|
|
514
|
+
return this.Feature('communication', resolve, reject);
|
|
515
|
+
}
|
|
516
|
+
|
|
498
517
|
/**************
|
|
499
518
|
func: Error
|
|
500
519
|
params: resolve, reject
|
|
@@ -1256,6 +1275,10 @@ class Deva {
|
|
|
1256
1275
|
return this.Feecting(resolve, reject);
|
|
1257
1276
|
}).then(() => {
|
|
1258
1277
|
return this.Security(resolve, reject);
|
|
1278
|
+
}).then(() => {
|
|
1279
|
+
return this.Medical(resolve, reject);
|
|
1280
|
+
}).then(() => {
|
|
1281
|
+
return this.Communication(resolve, reject);
|
|
1259
1282
|
}).then(() => {
|
|
1260
1283
|
return this.Error(resolve, reject);
|
|
1261
1284
|
}).then(() => {
|
|
@@ -1274,18 +1297,6 @@ class Deva {
|
|
|
1274
1297
|
return this.Justice(resolve, reject);
|
|
1275
1298
|
}).then(() => {
|
|
1276
1299
|
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
1300
|
}).then(() => {
|
|
1290
1301
|
return this.Vector(resolve, reject);
|
|
1291
1302
|
}).then(() => {
|
|
@@ -1901,6 +1912,24 @@ class Deva {
|
|
|
1901
1912
|
security() {
|
|
1902
1913
|
return this._getFeature('security', this._security);
|
|
1903
1914
|
}
|
|
1915
|
+
/**************
|
|
1916
|
+
func: medical
|
|
1917
|
+
params: none
|
|
1918
|
+
describe: basic medical features available in a Deva.
|
|
1919
|
+
usage: this.medical()
|
|
1920
|
+
***************/
|
|
1921
|
+
medical() {
|
|
1922
|
+
return this._getFeature('medical', this._medical);
|
|
1923
|
+
}
|
|
1924
|
+
/**************
|
|
1925
|
+
func: communication
|
|
1926
|
+
params: none
|
|
1927
|
+
describe: basic communication features available in a Deva.
|
|
1928
|
+
usage: this.communication()
|
|
1929
|
+
***************/
|
|
1930
|
+
communication() {
|
|
1931
|
+
return this._getFeature('communication', this._communication);
|
|
1932
|
+
}
|
|
1904
1933
|
|
|
1905
1934
|
/**************
|
|
1906
1935
|
func: error
|
|
@@ -1992,56 +2021,6 @@ class Deva {
|
|
|
1992
2021
|
return this._getFeature('owner', this._owner);
|
|
1993
2022
|
}
|
|
1994
2023
|
|
|
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
2024
|
/**************
|
|
2046
2025
|
func: vector
|
|
2047
2026
|
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.29.
|
|
4
|
+
"version": "1.29.33",
|
|
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
|
@@ -152,6 +152,20 @@
|
|
|
152
152
|
"global": [],
|
|
153
153
|
"devas": {}
|
|
154
154
|
},
|
|
155
|
+
"medical": {
|
|
156
|
+
"concerns": [],
|
|
157
|
+
"global": {},
|
|
158
|
+
"devas": {
|
|
159
|
+
"hello": {}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"communication": {
|
|
163
|
+
"concerns": [],
|
|
164
|
+
"global": {},
|
|
165
|
+
"devas": {
|
|
166
|
+
"hello": {}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
155
169
|
"guard": {
|
|
156
170
|
"concerns": [],
|
|
157
171
|
"global": [],
|