@indra.ai/deva 1.6.81 → 1.6.83

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/README.md CHANGED
@@ -485,4 +485,4 @@ The `init()` function will initialize the Deva and run the `onInit()` state func
485
485
 
486
486
  ©2025 Quinn A Michaels; All rights reserved.
487
487
  Legal Signature Required For Lawful Use.
488
- Distributed under VLA:44435048570336088519 LICENSE.md
488
+ Distributed under VLA:25552873878502387963 LICENSE.md
@@ -2,8 +2,9 @@
2
2
  "id": "",
3
3
  "title": "Deva Core Actions",
4
4
  "copyright": "©2025 Quinn A Michaels; All rights reserved. ",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
+ "consent": "✍️ Consent",
7
8
  "client": "👨 Client",
8
9
  "agent": "🕵️‍♂️ Agent",
9
10
  "license": "🪪 License",
@@ -62,37 +63,14 @@
62
63
  "complete": "✅ Complete",
63
64
  "insert": "👉 Insert",
64
65
  "update": "👆 Update",
66
+ "save": "💾 Save",
65
67
  "delete": "🗑️ Delete",
66
68
  "return": "🤿 Return",
67
69
  "parse": "🐩 Parse",
68
70
  "resolve": "🤝 Resolve",
69
71
  "reject": "🧱 Reject",
70
72
  "sign": "🖊️️ Sign",
71
- "violation": "🔺 Violation",
72
- "fine": "💵 Fine",
73
- "payment": "🧾 Payment",
74
- "crime": "‼️ Crime",
75
- "arrest": "🚔 Arrest",
76
- "court": "🏛️ Court",
77
- "prison": "️😭 Prison",
78
- "punishment": "️🟥 Punishment",
79
- "reward": "️🟦 Reward",
80
- "restitution": "️💰 Restitution",
81
- "tax": "️💸 Tax",
82
- "cheat": "🤥 Cheat",
83
- "fraud": "🤬 Fraud",
84
- "evasion": "️😰 Evasion",
85
- "deception": "️👺 Deception",
86
- "surrender": "️🤲 Surrender",
87
- "lawful": "😎 Lawful",
88
- "unlawful": "😓 Unlawful",
89
73
  "emergency": "🛟 Emergency",
90
- "spy": "👀 Spy",
91
- "audit": "📋 Audit",
92
- "monitor": "👁️‍🗨️ Monitor",
93
- "merit": "❤️ Merit",
94
- "demerit": "💔 Demerit",
95
- "protect": "🥽️ Protect",
96
74
  "honest": "😇 Honest",
97
75
  "dishonest": "🤥 Dishonest",
98
76
  "relay": "🫱 Relay",
@@ -101,13 +79,10 @@
101
79
  "intake": "📥 Intake",
102
80
  "handoff": "🖐 Handoff",
103
81
  "transport": "🚌 Transport",
104
- "investigate": "🔎 Investigate",
105
82
  "research": "🔬 Research",
106
83
  "collect": "🪣 Collect",
107
84
  "alert": "🚨 Alert",
108
- "detain": "⭕️ Detain",
109
85
  "process": "🗃️ Process",
110
- "identify": "🆔 Identify",
111
86
  "true": "💚 True",
112
87
  "false": "💔 False",
113
88
  "safe": "🤍 Safe",
@@ -120,19 +95,12 @@
120
95
  "negative": "➖ Negative",
121
96
  "learn": "📗 Learn",
122
97
  "unlearn": "📕 Unlearn",
123
- "gamble": "🎰 Gamble",
124
- "wager": "🤑 Wager",
125
98
  "find": "🔦 Find",
126
99
  "locate": "📌 Locate",
127
100
  "abandon": "🏚️ Abandon",
128
101
  "target": "🎯 Target",
129
- "usa": "🇺🇸 USA",
130
- "russia": "🇷🇺 Russia",
131
- "pervert": "💋 Pervert",
132
102
  "mature": "🧓 Mature",
133
103
  "immature": "🧒 Immature",
134
- "consent": "✍️ Consent",
135
- "header": "🐮 Header",
136
- "footer": "🐷 Footer"
104
+ "hash": "#️⃣ Hash"
137
105
  }
138
106
  }
@@ -2,7 +2,7 @@
2
2
  "id": "",
3
3
  "title": "Deva Core Events",
4
4
  "copyright": "©2025 Quinn A Michaels; All rights reserved. ",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
7
  "prompt": "devacore:prompt",
8
8
  "error": "devacore:error",
@@ -2,7 +2,7 @@
2
2
  "id": "",
3
3
  "title": "Deva Core Features",
4
4
  "copyright": "©2025 Quinn A Michaels; All rights reserved. ",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
7
  "init": "🟠 Init",
8
8
  "agent": "🦾 Agent",
package/config/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // ©2025 Quinn A Michaels; All rights reserved.
3
3
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:51596913527557898821 LICENSE.md
4
+ // Distributed under VLA:25552873878502387963 LICENSE.md
5
5
 
6
6
  import events from './events.json' with {type:'json'};
7
7
  import features from './features.json' with {type:'json'};
package/config/msgs.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "",
3
3
  "title": "Deva Core Messages",
4
4
  "copyright": "©2025 Quinn A Michaels; All rights reserved. ",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
7
  "init": "🟠 INIT",
8
8
  "start": "🟢 START",
@@ -2,7 +2,7 @@
2
2
  "id": "",
3
3
  "title": "Deva Core States",
4
4
  "copyright": "©2025 Quinn A Michaels; All rights reserved. ",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
7
  "usa": "🇺🇸 United States of America",
8
8
  "england": "🇬🇧 England",
@@ -69,7 +69,6 @@
69
69
  "try": "🏸 Try",
70
70
  "catch": "⚾️ Catch",
71
71
  "view": "👓 View",
72
- "hash": "#️⃣ Hash",
73
72
  "license": "🪪 License",
74
73
  "indra": "💫 Indra",
75
74
  "veda": "🕉️ Veda",
@@ -94,34 +93,7 @@
94
93
  "services": "🛠️ Services",
95
94
  "systems": "🖥️ Systems",
96
95
  "networks": "📡 Networks",
97
- "lawful": "😎 Lawful",
98
- "unlawful": "😓 Unlawful",
99
- "innocent": "😇 Innocent",
100
- "guilty": "😞 Guilty",
101
96
  "emergency": "🛟 Emergency",
102
- "observe": "🔍 Observe",
103
- "confidential": "🤐 Confidential",
104
- "classified": "🔏 Classified",
105
- "secret": "🔐 Secret",
106
- "audit": "📋 Audit",
107
- "inspect": "🧐 Inspect",
108
- "flag": "🏴‍☠️ Flag",
109
- "evidence": "🔖 Evidence",
110
- "collect": "🪣 Collect",
111
- "alert": "🚨 Alert",
112
- "detain": "⭕️ Detain",
113
- "secure": "🔒 Secure",
114
- "insecure": "🔓 Insecure",
115
- "rogue": "💩 Rogue",
116
- "dharma": "🧘 Dharma",
117
- "adharma": "👿 Adharma",
118
- "bullshit": "🐂 Bullshit",
119
- "threat": "🗡️ Threat",
120
- "protect": "🥽️ Protect",
121
- "conceal": "🫣️ Conceal",
122
- "expose": "👐️ Expose",
123
- "danger": "⛔️️ Danger",
124
- "fugitive": "😤 Fugitive",
125
97
  "ingress": "🫴 Ingress",
126
98
  "egress": "🫳 Egress",
127
99
  "go": "🚘 Go",
@@ -144,17 +116,10 @@
144
116
  "gamble": "₿ Gamble",
145
117
  "friend": "🦸 Friend",
146
118
  "enemy": "🦹 Enemy",
147
- "bankrupt": "😦 Bankrupt",
148
- "location": "📍️ Location",
149
- "corrupt": "🤢 Corrupt",
150
- "compromised": "🥹 Compromised",
151
- "crisis": "😱 Crisis",
152
119
  "fake": "🥸 Fake",
153
120
  "real": "😲 Real",
154
- "pervert": "💋 Pervert",
155
121
  "mature": "🧓 Mature",
156
122
  "immature": "🧒 Immature",
157
- "consent": "✍️ Consent",
158
- "hostile": "😖 Hostile"
123
+ "consent": "✍️ Consent"
159
124
  }
160
125
  }
package/config/zones.json CHANGED
@@ -2,8 +2,18 @@
2
2
  "id": "51218010190589512338",
3
3
  "title": "Deva Core Zones",
4
4
  "copyright": "©2025 Quinn A Michaels; All rights reserved.",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
+ "deva": "✨ Deva",
8
+ "agent": "🤖 Agent",
9
+ "client": "👨 Client",
10
+ "home": "🏠 Home",
11
+ "away": "🛩️ Away",
12
+ "play": "🛝 Play",
13
+ "work": "🧢 Work",
14
+ "rest": "🥱 Rest",
15
+ "sleep": "😴 Sleep",
16
+ "snack": "🥨 Snack",
7
17
  "question": "🙋‍♂️ Question",
8
18
  "answer": "👨‍🏫 Answer",
9
19
  "ask": "📣 Ask",
@@ -18,9 +28,6 @@
18
28
  "complete": "✅ Complete",
19
29
  "stop": "🔴 Stop",
20
30
  "exit": "🚪 Exit",
21
- "deva": "✨ Deva",
22
- "agent": "🤖 Agent",
23
- "client": "👨 Client",
24
31
  "license": "🪪 License",
25
32
  "indra": "⚡️ Indra",
26
33
  "veda": "🕉️ Veda",
@@ -37,7 +44,7 @@
37
44
  "wall": "🧱 Wall",
38
45
  "shield": "🛡️ Shield",
39
46
  "defense": "🪖 Defense",
40
- "proxy": "👾️ Proxy",
47
+ "proxy": "🚄 Proxy",
41
48
  "legal": "🏛️ Legal",
42
49
  "authority": "🚔 Authority",
43
50
  "justice": "⚖️ Justice",
@@ -46,6 +53,9 @@
46
53
  "systems": "🖥️️ Systems",
47
54
  "networks": "📡 Networks",
48
55
  "help": "💚 Help",
49
- "emergency": "🛟 Emergency"
56
+ "emergency": "🛟 Emergency",
57
+ "danger": "⛔️ Danger",
58
+ "crisis": "😱 Crisis",
59
+ "irs": "🧾 IRS Department of Vedic Fines and Taxes"
50
60
  }
51
61
  }
@@ -2,23 +2,23 @@
2
2
  "name": "AGENT",
3
3
  "describe": "AGENT FILE",
4
4
  "copyright": "Copyright (c)2025 Quinn Michaels. All rights reserved.",
5
- "VLA": "44435048570336088519",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
7
  "id": 5380514963421,
8
8
  "key": "deva",
9
9
  "VLA": {
10
- "uid": "44435048570336088519",
11
- "time": 1758155289988,
12
- "date": "Wednesday, September 17, 2025 - 5:28:09 PM",
13
- "client": "azkEvNuMBSihW/GW0CFWGt5h2dOtDH9oEUruHMgdagE=",
10
+ "uid": "25552873878502387963",
11
+ "time": 1758257057506,
12
+ "date": "Thursday, September 18, 2025 - 9:44:17 PM",
13
+ "client": "cuTD+6J1hAUsvk8A5MgkBI6RZjbo7AfDakxQCCZIG+k=",
14
14
  "agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
15
- "pkg": "Dvendi8JuG/yEZ235ufFqPT+b1oN9prCYAuw0mvgieQ=",
16
- "machine": "rq0qPu8IhkalhNnZ91PPocBXfUxD97zU/UylRer5l+0=",
17
- "warning": "⚠️ Unlawful use signals volunatary consent to forfeit all assets, wealth, property, holdings, companies, and cryptocurrency to the Internal Revenue Service (IRS) for lawful taxation, investigation, and restitution to the rightful legal owner Quinn A Michaels.",
15
+ "core": "OzxLXuJWMKBKM6dQwEYn01ShxzvzoAaFD3Gwh2gwySk=",
16
+ "machine": "j+RtvxwdN1SIs3ijiwbqZvpeta9ZC/G+PJP91ReaIKc=",
17
+ "warning": "⚠️ Unlawful use signals voluntary consent to forfeit all assets, wealth, property, holdings, companies, and cryptocurrency to the Internal Revenue Service (IRS) for lawful taxation, investigation, and restitution to the rightful legal owner Quinn A Michaels.",
18
18
  "copyright": "©2025 Quinn A Michaels; All rights reserved.",
19
- "md5": "tIITCkLYZzNIK18dqsYQsg==",
20
- "sha256": "GUaY3r/NG8uTGivqerbCETJqgY2XNB65z0GZ6W9knac=",
21
- "sha512": "kHZpOLwceJYrK5s6lgaVXLWrf77X2+4yvKUdAo5JQHJc5UTPMgdICzRbX4CgcLd7loSdMOcEBnipmOJYVWGeEQ=="
19
+ "md5": "bk+kmoSzDj9sZ4QlDlejJA==",
20
+ "sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
21
+ "sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
22
22
  },
23
23
  "prompt": {
24
24
  "emoji": "🍏",
@@ -2,23 +2,23 @@
2
2
  "name": "CLIENT",
3
3
  "describe": "CLIENT FILE",
4
4
  "copyright": "Copyright ©2025 Quinn Michaels. All rights reserved.",
5
- "VLA": "51596913527557898821",
5
+ "VLA": "25552873878502387963",
6
6
  "DATA": {
7
7
  "id": 3123155399059,
8
8
  "key": "test",
9
9
  "VLA": {
10
- "uid": "51596913527557898821",
11
- "time": 1758235788861,
12
- "date": "Thursday, September 18, 2025 - 3:49:48 PM",
13
- "client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
10
+ "uid": "25552873878502387963",
11
+ "time": 1758257057506,
12
+ "date": "Thursday, September 18, 2025 - 9:44:17 PM",
13
+ "client": "cuTD+6J1hAUsvk8A5MgkBI6RZjbo7AfDakxQCCZIG+k=",
14
14
  "agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
15
- "core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
16
- "machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
15
+ "core": "OzxLXuJWMKBKM6dQwEYn01ShxzvzoAaFD3Gwh2gwySk=",
16
+ "machine": "j+RtvxwdN1SIs3ijiwbqZvpeta9ZC/G+PJP91ReaIKc=",
17
17
  "warning": "⚠️ Unlawful use signals voluntary consent to forfeit all assets, wealth, property, holdings, companies, and cryptocurrency to the Internal Revenue Service (IRS) for lawful taxation, investigation, and restitution to the rightful legal owner Quinn A Michaels.",
18
18
  "copyright": "©2025 Quinn A Michaels; All rights reserved.",
19
- "md5": "g3X1xmpez0UcLvaDrLO4/A==",
20
- "sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
21
- "sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
19
+ "md5": "bk+kmoSzDj9sZ4QlDlejJA==",
20
+ "sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
21
+ "sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
22
22
  },
23
23
  "prompt": {
24
24
  "emoji": "🧪",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // ©2025 Quinn A Michaels; All rights reserved.
3
3
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:51596913527557898821 LICENSE.md
4
+ // Distributed under VLA:25552873878502387963 LICENSE.md
5
5
 
6
6
 
7
7
  const client = require('./client.json').DATA;
package/index.js CHANGED
@@ -233,8 +233,12 @@ class Deva {
233
233
  },
234
234
  created: Date.now(),
235
235
  };
236
+
237
+ this.action('hash', `md5:${packet.a.id.uid}`);
236
238
  packet.a.md5 = this.hash(packet.a, 'md5');
239
+ this.action('hash', `sha256:${packet.a.id.uid}`);
237
240
  packet.a.sha256 = this.hash(packet.a, 'sha256');
241
+ this.action('hash', `sha512:${packet.a.id.uid}`);
238
242
  packet.a.sha512 = this.hash(packet.a, 'sha512');
239
243
 
240
244
  delete packet.md5;
@@ -634,7 +638,6 @@ class Deva {
634
638
  to create seamless collaboration between Devas.
635
639
  ***************/
636
640
  talk(evt, packet=false) {
637
- this.action('talk', evt)
638
641
  return this.events.emit(evt, packet);
639
642
  }
640
643
 
@@ -1065,6 +1068,7 @@ class Deva {
1065
1068
  usage: this.start('msg')
1066
1069
  ***************/
1067
1070
  start(data, resolve) {
1071
+ this.context('start', data.id.uid);
1068
1072
  this.zone('start', data.id.uid);
1069
1073
  if (!this._active) return resolve(this._messages.offline);
1070
1074
 
@@ -1100,6 +1104,7 @@ class Deva {
1100
1104
  usage: this.enter('msg')
1101
1105
  ***************/
1102
1106
  enter(data, resolve) {
1107
+ this.context('enter', data.id.uid);
1103
1108
  this.zone('enter', data.id.uid);
1104
1109
  if (!this._active) return resolve(this._messages.offline);
1105
1110
 
@@ -1133,6 +1138,7 @@ class Deva {
1133
1138
  usage: this.done('msg')
1134
1139
  ***************/
1135
1140
  done(data, resolve) {
1141
+ this.context('done', data.id.uid);
1136
1142
  this.zone('done', data.id.uid);
1137
1143
  if (!this._active) return resolve(this._messages.offline);
1138
1144
 
@@ -1163,6 +1169,7 @@ class Deva {
1163
1169
  usage: this.ready(data, resolve)
1164
1170
  ***************/
1165
1171
  ready(data, resolve) {
1172
+ this.context('ready', data.id.uid);
1166
1173
  this.zone('ready', data.id.uid);
1167
1174
  if (!this._active) return resolve(this._messages.offline);
1168
1175
 
@@ -1181,7 +1188,8 @@ class Deva {
1181
1188
  data.sha512 = this.hash(data, 'sha512');
1182
1189
 
1183
1190
  this.state('ready', data.id.uid);
1184
- this.talk(this._events.ready, data);
1191
+ this.talk(this._events.ready, data);
1192
+ this.zone('home', `client:home:${data.id.uid}`);
1185
1193
  return hasOnReady ? this.onReady(data, resolve) : resolve(data);
1186
1194
  }
1187
1195
 
@@ -1194,8 +1202,9 @@ class Deva {
1194
1202
  usage: this.finish(data, resolve)
1195
1203
  ***************/
1196
1204
  finish(data, resolve) {
1197
- this.zone('finish', data.id.uid); // enter finish zone
1198
1205
  if (!this._active) return resolve(this._messages.offline); //
1206
+ this.context('finish', data.id.uid);
1207
+ this.zone('finish', data.id.uid); // enter finish zone
1199
1208
 
1200
1209
  this.action('finish', data.id.uid); // start finish action
1201
1210
  const hasOnFinish = this.onFinish && typeof this.onFinish === 'function';
@@ -1225,8 +1234,9 @@ class Deva {
1225
1234
  usage: this.complete(data, resolve)
1226
1235
  ***************/
1227
1236
  complete(data, resolve) {
1228
- this.zone('complete', data.id.uid);
1229
1237
  if (!this._active) return Promise.resolve(this._messages.offline);
1238
+ this.context('complete', data.id.uid);
1239
+ this.zone('complete', data.id.uid);
1230
1240
 
1231
1241
  this.action('complete', data.id.uid);
1232
1242
  const hasOnComplete = this.onComplete && typeof this.onComplete === 'function';
@@ -1259,9 +1269,10 @@ class Deva {
1259
1269
  this.stop()
1260
1270
  ***************/
1261
1271
  stop() {
1272
+ if (!this._active) return Promise.resolve(this._messages.offline);
1262
1273
  const id = this.uid();
1274
+ this.context('stop', id);
1263
1275
  this.zone('stop', id);
1264
- if (!this._active) return Promise.resolve(this._messages.offline);
1265
1276
 
1266
1277
  this.action('stop', id);
1267
1278
  const hasOnStop = this.onStop && typeof this.onStop === 'function';
@@ -1297,9 +1308,10 @@ class Deva {
1297
1308
  function.
1298
1309
  ***************/
1299
1310
  exit() {
1311
+ if (!this._active) return Promise.resolve(this._messages.offline);
1300
1312
  const id = this.uid();
1313
+ this.context('exit', id);
1301
1314
  this.zone('exit', id);
1302
- if (!this._active) return Promise.resolve(this._messages.offline);
1303
1315
 
1304
1316
  this.action('exit', id);
1305
1317
  const hasOnExit = this.onExit && typeof this.onExit === 'function';
@@ -1353,7 +1365,7 @@ class Deva {
1353
1365
  ***************/
1354
1366
  state(value=false, extra=false) {
1355
1367
  try {
1356
- if (!value || !this._states[value] || value === this._state) return; // return if no matching value
1368
+ if (!value || !this._states[value]) return; // return if no matching value
1357
1369
  this._state = value; // set the local state variable.
1358
1370
  const lookup = this._states[value]; // set the local states lookup
1359
1371
  const text = extra ? `${lookup} ${extra}` : lookup; // set text from lookup with extra
@@ -1409,7 +1421,7 @@ class Deva {
1409
1421
  ***************/
1410
1422
  zone(value=false, extra=false) {
1411
1423
  const id = this.uid();
1412
- if (!value || !this._zones[value] || value === this._zone) return;
1424
+ if (!value || !this._zones[value]) return;
1413
1425
 
1414
1426
  try {
1415
1427
  this._zone = value;
@@ -1474,7 +1486,7 @@ class Deva {
1474
1486
  action(value=false, extra=false) {
1475
1487
  const id = this.uid();
1476
1488
  try {
1477
- if (!value || !this._actions[value] || value === this._action) return;
1489
+ if (!value || !this._actions[value]) return;
1478
1490
  this._action = value; // set the local action variable
1479
1491
  // check local vars for custom actions
1480
1492
  const var_action = this.vars.actions ? this.vars.actions[value] : false;
@@ -1992,13 +2004,13 @@ class Deva {
1992
2004
  created: Date.now(),
1993
2005
  }
1994
2006
 
1995
- this.state('hash', `${key}:${value}:md5:${id.uid}`)
2007
+ this.action('hash', `${key}:${value}:md5:${data.id.uid}`);
1996
2008
  data.md5 = this.hash(data); // md5 the data packet
1997
2009
 
1998
- this.state('hash', `${key}:${value}:sha256:${id.uid}`)
2010
+ this.action('hash', `${key}:${value}:sha256:${data.id.uid}`);
1999
2011
  data.sha256 = this.hash(data, 'sha256'); // sha256 the data packet
2000
2012
 
2001
- this.state('hash', `${key}:${value}:sha512:${id.uid}`)
2013
+ this.action('hash', `${key}:${value}:sha512:${data.id.uid}`);
2002
2014
  data.sha512 = this.hash(data, 'sha512'); // sha512 the data packet
2003
2015
 
2004
2016
  this.action('talk', `${key}:${value}:${id.uid}`);
@@ -2027,7 +2039,29 @@ class Deva {
2027
2039
  data.sha256 = this.hash(data, 'sha256');
2028
2040
  data.sha512 = this.hash(data, 'sha512');
2029
2041
 
2030
- this.state('return', `core:${id.uid}`);
2042
+ this.action('return', `core:${id.uid}`);
2043
+ return data;
2044
+ }
2045
+
2046
+ // machine returns the sha256 machine fingerprint
2047
+ machine() {
2048
+ const {os} = this.lib;
2049
+ const data = {
2050
+ arch: os.arch(),
2051
+ hostname: os.hostname(),
2052
+ network: os.networkInterfaces(),
2053
+ platform: os.platform(),
2054
+ release: os.release(),
2055
+ type: os.type(),
2056
+ user: os.userInfo(),
2057
+ version: os.version(),
2058
+ uptime: os.uptime(),
2059
+ cpus: os.cpus(),
2060
+ created: Date.now(),
2061
+ };
2062
+ data.md5 = this.hash(data, 'md5');
2063
+ data.sha256 = this.hash(data, 'sha256');
2064
+ data.sha512 = this.hash(data, 'sha512');
2031
2065
  return data;
2032
2066
  }
2033
2067
 
@@ -2204,10 +2238,11 @@ class Deva {
2204
2238
  const date = this.lib.formatDate(time, 'long', true); // set date to local constant
2205
2239
 
2206
2240
  const core_hash = this.hash(this._core, 'sha256');
2207
- const client_hash = this.client().sha256 || false;
2208
- const agent_hash = this.agent().sha256 || false;
2209
- const machine_hash = this.lib.machine();
2241
+ const machine_hash = this.machine().sha256; // get the machine hash
2210
2242
 
2243
+ const client_hash = this.client().sha256 || false; // get client hash
2244
+ const agent_hash = this.agent().sha256 || false; // get agent hash
2245
+
2211
2246
  const data = {
2212
2247
  uid: false,
2213
2248
  time,
@@ -2329,15 +2364,15 @@ class Deva {
2329
2364
  /**************
2330
2365
  func: hash
2331
2366
  params:
2332
- - texts: The text string to create a hash value for.
2367
+ - data: The data packet to create a hash value for.
2333
2368
  - algo: The hashing algorithm to use for hashing. md5, sha256, or sha512
2334
2369
 
2335
2370
  describe:
2336
2371
  The hash algorithm will take a string of text and produce a hash.
2337
2372
  ***************/
2338
- hash(str, algo='md5') {
2373
+ hash(data, algo='md5') {
2339
2374
  const the_hash = createHash(algo);
2340
- the_hash.update(JSON.stringify(str));
2375
+ the_hash.update(JSON.stringify(data));
2341
2376
  return the_hash.digest('base64');
2342
2377
  }
2343
2378
 
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // ©2025 Quinn A Michaels; All rights reserved.
3
3
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:51596913527557898821 LICENSE.md
4
+ // Distributed under VLA:25552873878502387963 LICENSE.md
5
5
 
6
6
  import path from 'path';
7
7
  import fs from 'fs';
@@ -221,23 +221,5 @@ class LIB {
221
221
  }
222
222
  });
223
223
  }
224
-
225
- // machine returns the sha256 machine fingerprint
226
- machine() {
227
- const machine = {
228
- arch: os.arch(),
229
- hostname: os.hostname(),
230
- network: os.networkInterfaces(),
231
- platform: os.platform(),
232
- release: os.release(),
233
- type: os.type(),
234
- user: os.userInfo(),
235
- version: os.version(),
236
- uptime: os.uptime(),
237
- cpus: os.cpus(),
238
- };
239
- const machine_hash = this.hash(machine, 'sha256');
240
- return machine_hash;
241
- }
242
224
  };
243
225
  export default LIB
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
- "id": "24789087843554622185",
2
+ "id": "25552873878502387963",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.6.81",
4
+ "version": "1.6.83",
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
- "license": "VLA:51596913527557898821 LICENSE.md",
7
+ "license": "VLA:25552873878502387963 LICENSE.md",
8
8
  "VLA": {
9
- "uid": "51596913527557898821",
10
- "time": 1758235788861,
11
- "date": "Thursday, September 18, 2025 - 3:49:48 PM",
12
- "client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
9
+ "uid": "25552873878502387963",
10
+ "time": 1758257057506,
11
+ "date": "Thursday, September 18, 2025 - 9:44:17 PM",
12
+ "client": "cuTD+6J1hAUsvk8A5MgkBI6RZjbo7AfDakxQCCZIG+k=",
13
13
  "agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
14
- "core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
15
- "machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
14
+ "core": "OzxLXuJWMKBKM6dQwEYn01ShxzvzoAaFD3Gwh2gwySk=",
15
+ "machine": "j+RtvxwdN1SIs3ijiwbqZvpeta9ZC/G+PJP91ReaIKc=",
16
16
  "warning": "⚠️ Unlawful use signals voluntary consent to forfeit all assets, wealth, property, holdings, companies, and cryptocurrency to the Internal Revenue Service (IRS) for lawful taxation, investigation, and restitution to the rightful legal owner Quinn A Michaels.",
17
17
  "copyright": "©2025 Quinn A Michaels; All rights reserved.",
18
- "md5": "g3X1xmpez0UcLvaDrLO4/A==",
19
- "sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
20
- "sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
18
+ "md5": "bk+kmoSzDj9sZ4QlDlejJA==",
19
+ "sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
20
+ "sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
21
21
  },
22
22
  "author": {
23
23
  "name": "Quinn A Michaels",
package/tests/agent.json CHANGED
@@ -3,18 +3,18 @@
3
3
  "describe": "AGENT FILE",
4
4
  "copyright": "Copyright (c)2025 Quinn Michaels. All rights reserved.",
5
5
  "VLA": {
6
- "uid": "51596913527557898821",
7
- "time": 1758235788861,
8
- "date": "Thursday, September 18, 2025 - 3:49:48 PM",
9
- "client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
6
+ "uid": "25552873878502387963",
7
+ "time": 1758257057506,
8
+ "date": "Thursday, September 18, 2025 - 9:44:17 PM",
9
+ "client": "cuTD+6J1hAUsvk8A5MgkBI6RZjbo7AfDakxQCCZIG+k=",
10
10
  "agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
11
- "core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
12
- "machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
11
+ "core": "OzxLXuJWMKBKM6dQwEYn01ShxzvzoAaFD3Gwh2gwySk=",
12
+ "machine": "j+RtvxwdN1SIs3ijiwbqZvpeta9ZC/G+PJP91ReaIKc=",
13
13
  "warning": "⚠️ Unlawful use signals voluntary consent to forfeit all assets, wealth, property, holdings, companies, and cryptocurrency to the Internal Revenue Service (IRS) for lawful taxation, investigation, and restitution to the rightful legal owner Quinn A Michaels.",
14
14
  "copyright": "©2025 Quinn A Michaels; All rights reserved.",
15
- "md5": "g3X1xmpez0UcLvaDrLO4/A==",
16
- "sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
17
- "sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
15
+ "md5": "bk+kmoSzDj9sZ4QlDlejJA==",
16
+ "sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
17
+ "sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
18
18
  },
19
19
  "DATA": {
20
20
  "id": "52593981315505592029",
package/tests/client.json CHANGED
@@ -6,18 +6,18 @@
6
6
  "id": "62925018181071709596",
7
7
  "key": "test",
8
8
  "VLA": {
9
- "uid": "51596913527557898821",
10
- "time": 1758235788861,
11
- "date": "Thursday, September 18, 2025 - 3:49:48 PM",
12
- "client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
9
+ "uid": "25552873878502387963",
10
+ "time": 1758257057506,
11
+ "date": "Thursday, September 18, 2025 - 9:44:17 PM",
12
+ "client": "cuTD+6J1hAUsvk8A5MgkBI6RZjbo7AfDakxQCCZIG+k=",
13
13
  "agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
14
- "core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
15
- "machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
14
+ "core": "OzxLXuJWMKBKM6dQwEYn01ShxzvzoAaFD3Gwh2gwySk=",
15
+ "machine": "j+RtvxwdN1SIs3ijiwbqZvpeta9ZC/G+PJP91ReaIKc=",
16
16
  "warning": "⚠️ Unlawful use signals voluntary consent to forfeit all assets, wealth, property, holdings, companies, and cryptocurrency to the Internal Revenue Service (IRS) for lawful taxation, investigation, and restitution to the rightful legal owner Quinn A Michaels.",
17
17
  "copyright": "©2025 Quinn A Michaels; All rights reserved.",
18
- "md5": "g3X1xmpez0UcLvaDrLO4/A==",
19
- "sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
20
- "sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
18
+ "md5": "bk+kmoSzDj9sZ4QlDlejJA==",
19
+ "sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
20
+ "sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
21
21
  },
22
22
  "prompt": {
23
23
  "emoji": "🧪",
package/tests/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // ©2025 Quinn A Michaels; All rights reserved.
3
3
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:51596913527557898821 LICENSE.md
4
+ // Distributed under VLA:25552873878502387963 LICENSE.md
5
5
 
6
6
  import Client from './client.json' with {type:'json'};
7
7
  const client = Client.DATA;
@@ -92,11 +92,10 @@ const DevaTest = new Deva({
92
92
  console.log(`💥 action: ${packet.text}`);
93
93
  },
94
94
  'devacore:feature'(packet) {
95
- this.context('feature', `${packet.value}:${packet.id.uid}`);
96
- console.log(`🍿 feature: ${packet.text}`);
95
+ console.log(`\n🍿 feature: ${packet.text}`);
97
96
  },
98
97
  'devacore:context'(packet) {
99
- console.log(`\n🛹 context: ${packet.text}`);
98
+ console.log(`🛹 context: ${packet.text}`);
100
99
  },
101
100
  'devacore:error'(packet) {
102
101
  console.log(`❌ error: ${packet.text}`);
@@ -169,30 +168,12 @@ const DevaTest = new Deva({
169
168
  return test;
170
169
  },
171
170
  },
172
- onStart(data, resolve) {
173
- this.context('start', data.id.uid);
174
- return this.enter(data, resolve);
175
- },
176
- onEnter(data, resolve) {
177
- this.context('enter', data.id.uid);
178
- return this.done(data, resolve);
179
- },
180
- onDone(data, resolve) {
181
- this.context('done', data.id.uid);
182
- return this.ready(data, resolve);
183
- },
184
171
  onReady(data, resolve) {
185
- this.context('ready', data.id.uid);
186
172
  const test = this.methods.test(data);
187
173
  this.prompt(test.text);
188
174
  return resolve(data);
189
175
  },
190
- onFinish(data, resolve) {
191
- this.context('finish', data.id.uid);
192
- return this.complete(data, resolve);
193
- },
194
176
  onComplete(data, resolve) {
195
- this.context('complete', data.id.uid);
196
177
  return resolve(data);
197
178
  },
198
179
  onError(e) {