@indra.ai/deva 1.62.72 β 1.62.73
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/_data/beliefs.json +1 -23
- package/_data/states.json +1 -14
- package/index.js +3 -3
- package/package.json +1 -1
package/_data/beliefs.json
CHANGED
|
@@ -4,30 +4,8 @@
|
|
|
4
4
|
"copyright": "Copyright Β©2000-2026 Quinn Arjuna America Michaels; All rights reserved.",
|
|
5
5
|
"VLA": "23221940810208468106",
|
|
6
6
|
"DATA": {
|
|
7
|
-
"positive": "π§Έ Positive",
|
|
8
|
-
"negative": "β οΈ Negative",
|
|
9
|
-
"productive": "πΊοΈ Productive",
|
|
10
|
-
"destructive": "π£ Destructive",
|
|
11
7
|
"vedic": "ποΈ Vedic",
|
|
12
|
-
"buddhist": "βΈοΈοΈ Buddhist",
|
|
13
|
-
"hindu": "π Hindu/Sikh",
|
|
14
|
-
"occult": "πͺ Occult",
|
|
15
|
-
"christian": "βͺοΈ Christian",
|
|
16
|
-
"jewish": "π Jewish",
|
|
17
|
-
"muslim": "ποΈοΈ Muslim",
|
|
18
|
-
"pagan": "π§οΈοΈ Pagan",
|
|
19
8
|
"american": "πΊπΈ American",
|
|
20
|
-
"
|
|
21
|
-
"other": "π€ Other",
|
|
22
|
-
"license": "πͺͺ License",
|
|
23
|
-
"data": "πΎοΈ Data",
|
|
24
|
-
"error": "βοΈ Error",
|
|
25
|
-
"log": "πͺ΅οΈ Log",
|
|
26
|
-
"report": "ποΈ Report",
|
|
27
|
-
"legal": "ποΈ Legal",
|
|
28
|
-
"security": "π¨ Security",
|
|
29
|
-
"support": "πΌ Support",
|
|
30
|
-
"services": "π οΈ Services",
|
|
31
|
-
"systems": "π₯οΈοΈ Systems"
|
|
9
|
+
"other": "π€ Other"
|
|
32
10
|
}
|
|
33
11
|
}
|
package/_data/states.json
CHANGED
|
@@ -80,17 +80,6 @@
|
|
|
80
80
|
"catch": "βΎοΈ Catch",
|
|
81
81
|
"finally": "π Finally",
|
|
82
82
|
"view": "π View",
|
|
83
|
-
"license": "πͺͺ License",
|
|
84
|
-
"feecting": "π Feecting",
|
|
85
|
-
"data": "πΎ Data",
|
|
86
|
-
"error": "β Error",
|
|
87
|
-
"log": "πͺ΅ Log",
|
|
88
|
-
"report": "ποΈ Report",
|
|
89
|
-
"security": "π¨ Security",
|
|
90
|
-
"legal": "ποΈ Legal",
|
|
91
|
-
"support": "πΌ Support",
|
|
92
|
-
"services": "π οΈ Services",
|
|
93
|
-
"systems": "π₯οΈ Systems",
|
|
94
83
|
"emergency": "π Emergency",
|
|
95
84
|
"ingress": "π«΄ Ingress",
|
|
96
85
|
"egress": "π«³ Egress",
|
|
@@ -116,8 +105,6 @@
|
|
|
116
105
|
"real": "π² Real",
|
|
117
106
|
"mature": "π§ Mature",
|
|
118
107
|
"immature": "π§ Immature",
|
|
119
|
-
"consent": "βοΈ Consent"
|
|
120
|
-
"onfunc": "ποΈ onFunction",
|
|
121
|
-
"romance": "πΉ Romance"
|
|
108
|
+
"consent": "βοΈ Consent"
|
|
122
109
|
}
|
|
123
110
|
}
|
package/index.js
CHANGED
|
@@ -484,7 +484,9 @@ class Deva {
|
|
|
484
484
|
personal: data.devas[this._agent.key], // Client personal features and rules.
|
|
485
485
|
created: Date.now(),
|
|
486
486
|
};
|
|
487
|
+
this.state('delete', `Feature:client:${feature}:${_id.uid}`); // set the state to delete
|
|
487
488
|
delete this._client.features[feature]; // make a copy the clinet data.
|
|
489
|
+
|
|
488
490
|
this.action('return', call_str); // set the action to return
|
|
489
491
|
this.state('resolve', call_str); // set the state to resolve
|
|
490
492
|
this.intent('good', call_str); // set the intent to good.
|
|
@@ -1079,7 +1081,6 @@ class Deva {
|
|
|
1079
1081
|
this.zone('init', data.id.uid);
|
|
1080
1082
|
this.action('init', data.id.uid);
|
|
1081
1083
|
this.state('init', data.id.uid);
|
|
1082
|
-
this.intent('init', data.id.uid);
|
|
1083
1084
|
|
|
1084
1085
|
return this.Client(client, resolve, reject);
|
|
1085
1086
|
}).then(() => {
|
|
@@ -1108,9 +1109,8 @@ class Deva {
|
|
|
1108
1109
|
const hasOnInit = this.onInit && typeof this.onInit === 'function';
|
|
1109
1110
|
if (hasOnInit) {
|
|
1110
1111
|
this.action('onfunc', `onInit:${data.id.uid}`); // action set to onfunc
|
|
1111
|
-
this.state('
|
|
1112
|
+
this.state('valid', `onInit:${data.id.uid}`); // state set to onfunc
|
|
1112
1113
|
this.intent('good', `onInit:${data.id.uid}`); // intent set to good
|
|
1113
|
-
this.action('return', `onInit:${data.id.uid}`); // action set to return
|
|
1114
1114
|
return this.onInit(data, resolve);
|
|
1115
1115
|
}
|
|
1116
1116
|
this.action('return', `init:${data.id.uid}`); // action set to return
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "23221940810208468106",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.62.
|
|
4
|
+
"version": "1.62.73",
|
|
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:23221940810208468106 LICENSE.md",
|