@indra.ai/deva 1.6.81 → 1.6.82
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 +1 -1
- package/config/actions.json +4 -36
- package/config/events.json +1 -1
- package/config/features.json +1 -1
- package/config/index.js +1 -1
- package/config/msgs.json +1 -1
- package/config/states.json +2 -37
- package/config/zones.json +16 -6
- package/examples/agent.json +11 -11
- package/examples/client.json +10 -10
- package/examples/hello-world.js +1 -1
- package/index.js +38 -11
- package/lib/index.js +1 -19
- package/package.json +12 -12
- package/tests/agent.json +9 -9
- package/tests/client.json +9 -9
- package/tests/index.js +1 -1
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:
|
|
488
|
+
Distributed under VLA:25552873878502387963 LICENSE.md
|
package/config/actions.json
CHANGED
|
@@ -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": "
|
|
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
|
-
"
|
|
135
|
-
"header": "🐮 Header",
|
|
136
|
-
"footer": "🐷 Footer"
|
|
104
|
+
"hash": "#️⃣ Hash"
|
|
137
105
|
}
|
|
138
106
|
}
|
package/config/events.json
CHANGED
package/config/features.json
CHANGED
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:
|
|
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
package/config/states.json
CHANGED
|
@@ -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": "
|
|
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": "
|
|
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": "
|
|
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
|
}
|
package/examples/agent.json
CHANGED
|
@@ -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": "
|
|
5
|
+
"VLA": "25552873878502387963",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 5380514963421,
|
|
8
8
|
"key": "deva",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "
|
|
13
|
-
"client": "
|
|
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
|
-
"
|
|
16
|
-
"machine": "
|
|
17
|
-
"warning": "⚠️ Unlawful use signals
|
|
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": "
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha512": "
|
|
19
|
+
"md5": "bk+kmoSzDj9sZ4QlDlejJA==",
|
|
20
|
+
"sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
|
|
21
|
+
"sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
|
|
22
22
|
},
|
|
23
23
|
"prompt": {
|
|
24
24
|
"emoji": "🍏",
|
package/examples/client.json
CHANGED
|
@@ -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": "
|
|
5
|
+
"VLA": "25552873878502387963",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 3123155399059,
|
|
8
8
|
"key": "test",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "Thursday, September 18, 2025 -
|
|
13
|
-
"client": "
|
|
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": "
|
|
16
|
-
"machine": "
|
|
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": "
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha512": "
|
|
19
|
+
"md5": "bk+kmoSzDj9sZ4QlDlejJA==",
|
|
20
|
+
"sha256": "TKtmucXf5MptXUR/a0LF3Q7EbPBdgDxqbEEqv/s3T+s=",
|
|
21
|
+
"sha512": "SM3ukWNB71X/omcONwhj5pmYq3IFB9pqKbAsvGPHBP9rFuKKcDZGeNlaGFZbEmgJfPdJGCUoD9/QSEH/bXxBFA=="
|
|
22
22
|
},
|
|
23
23
|
"prompt": {
|
|
24
24
|
"emoji": "🧪",
|
package/examples/hello-world.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:
|
|
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
|
|
|
@@ -1181,7 +1184,8 @@ class Deva {
|
|
|
1181
1184
|
data.sha512 = this.hash(data, 'sha512');
|
|
1182
1185
|
|
|
1183
1186
|
this.state('ready', data.id.uid);
|
|
1184
|
-
this.talk(this._events.ready, data);
|
|
1187
|
+
this.talk(this._events.ready, data);
|
|
1188
|
+
this.zone('home', `client:home:${data.id.uid}`);
|
|
1185
1189
|
return hasOnReady ? this.onReady(data, resolve) : resolve(data);
|
|
1186
1190
|
}
|
|
1187
1191
|
|
|
@@ -1992,13 +1996,13 @@ class Deva {
|
|
|
1992
1996
|
created: Date.now(),
|
|
1993
1997
|
}
|
|
1994
1998
|
|
|
1995
|
-
this.
|
|
1999
|
+
this.action('hash', `md5:${data.id.uid}`);
|
|
1996
2000
|
data.md5 = this.hash(data); // md5 the data packet
|
|
1997
2001
|
|
|
1998
|
-
this.
|
|
2002
|
+
this.action('hash', `sha256:${data.id.uid}`);
|
|
1999
2003
|
data.sha256 = this.hash(data, 'sha256'); // sha256 the data packet
|
|
2000
2004
|
|
|
2001
|
-
this.
|
|
2005
|
+
this.action('hash', `sha512:${data.id.uid}`);
|
|
2002
2006
|
data.sha512 = this.hash(data, 'sha512'); // sha512 the data packet
|
|
2003
2007
|
|
|
2004
2008
|
this.action('talk', `${key}:${value}:${id.uid}`);
|
|
@@ -2027,7 +2031,29 @@ class Deva {
|
|
|
2027
2031
|
data.sha256 = this.hash(data, 'sha256');
|
|
2028
2032
|
data.sha512 = this.hash(data, 'sha512');
|
|
2029
2033
|
|
|
2030
|
-
this.
|
|
2034
|
+
this.action('return', `core:${id.uid}`);
|
|
2035
|
+
return data;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
// machine returns the sha256 machine fingerprint
|
|
2039
|
+
machine() {
|
|
2040
|
+
const {os} = this.lib;
|
|
2041
|
+
const data = {
|
|
2042
|
+
arch: os.arch(),
|
|
2043
|
+
hostname: os.hostname(),
|
|
2044
|
+
network: os.networkInterfaces(),
|
|
2045
|
+
platform: os.platform(),
|
|
2046
|
+
release: os.release(),
|
|
2047
|
+
type: os.type(),
|
|
2048
|
+
user: os.userInfo(),
|
|
2049
|
+
version: os.version(),
|
|
2050
|
+
uptime: os.uptime(),
|
|
2051
|
+
cpus: os.cpus(),
|
|
2052
|
+
created: Date.now(),
|
|
2053
|
+
};
|
|
2054
|
+
data.md5 = this.hash(data, 'md5');
|
|
2055
|
+
data.sha256 = this.hash(data, 'sha256');
|
|
2056
|
+
data.sha512 = this.hash(data, 'sha512');
|
|
2031
2057
|
return data;
|
|
2032
2058
|
}
|
|
2033
2059
|
|
|
@@ -2204,10 +2230,11 @@ class Deva {
|
|
|
2204
2230
|
const date = this.lib.formatDate(time, 'long', true); // set date to local constant
|
|
2205
2231
|
|
|
2206
2232
|
const core_hash = this.hash(this._core, 'sha256');
|
|
2233
|
+
const machine_hash = this.machine().sha256;
|
|
2234
|
+
|
|
2207
2235
|
const client_hash = this.client().sha256 || false;
|
|
2208
2236
|
const agent_hash = this.agent().sha256 || false;
|
|
2209
|
-
|
|
2210
|
-
|
|
2237
|
+
|
|
2211
2238
|
const data = {
|
|
2212
2239
|
uid: false,
|
|
2213
2240
|
time,
|
|
@@ -2329,15 +2356,15 @@ class Deva {
|
|
|
2329
2356
|
/**************
|
|
2330
2357
|
func: hash
|
|
2331
2358
|
params:
|
|
2332
|
-
-
|
|
2359
|
+
- data: The data packet to create a hash value for.
|
|
2333
2360
|
- algo: The hashing algorithm to use for hashing. md5, sha256, or sha512
|
|
2334
2361
|
|
|
2335
2362
|
describe:
|
|
2336
2363
|
The hash algorithm will take a string of text and produce a hash.
|
|
2337
2364
|
***************/
|
|
2338
|
-
hash(
|
|
2365
|
+
hash(data, algo='md5') {
|
|
2339
2366
|
const the_hash = createHash(algo);
|
|
2340
|
-
the_hash.update(JSON.stringify(
|
|
2367
|
+
the_hash.update(JSON.stringify(data));
|
|
2341
2368
|
return the_hash.digest('base64');
|
|
2342
2369
|
}
|
|
2343
2370
|
|
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:
|
|
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": "
|
|
2
|
+
"id": "25552873878502387963",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.82",
|
|
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:
|
|
7
|
+
"license": "VLA:25552873878502387963 LICENSE.md",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "Thursday, September 18, 2025 -
|
|
12
|
-
"client": "
|
|
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": "
|
|
15
|
-
"machine": "
|
|
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": "
|
|
19
|
-
"sha256": "
|
|
20
|
-
"sha512": "
|
|
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": "
|
|
7
|
-
"time":
|
|
8
|
-
"date": "Thursday, September 18, 2025 -
|
|
9
|
-
"client": "
|
|
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": "
|
|
12
|
-
"machine": "
|
|
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": "
|
|
16
|
-
"sha256": "
|
|
17
|
-
"sha512": "
|
|
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": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "Thursday, September 18, 2025 -
|
|
12
|
-
"client": "
|
|
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": "
|
|
15
|
-
"machine": "
|
|
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": "
|
|
19
|
-
"sha256": "
|
|
20
|
-
"sha512": "
|
|
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:
|
|
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;
|