@indra.ai/deva 1.6.89 → 1.6.91
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/LICENSE.md +14 -14
- package/config/actions.json +2 -2
- package/config/events.json +2 -2
- package/config/features.json +2 -2
- package/config/index.js +2 -2
- package/config/msgs.json +3 -3
- package/config/states.json +2 -2
- package/config/zones.json +15 -30
- package/examples/agent.json +12 -12
- package/examples/client.json +11 -11
- package/examples/hello-world.js +2 -2
- package/index.js +43 -14
- package/lib/index.js +2 -2
- package/package.json +13 -13
- package/tests/agent.json +11 -11
- package/tests/client.json +12 -12
- package/tests/index.js +2 -2
package/LICENSE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Vedic License Agreement
|
|
2
2
|
|
|
3
3
|
**Version:** 1.4.1
|
|
4
|
-
**VLA:**
|
|
5
|
-
**Date:** Saturday, September 20, 2025 -
|
|
4
|
+
**VLA:** 44091450722329207445
|
|
5
|
+
**Date:** Saturday, September 20, 2025 - 1:00:04 PM
|
|
6
6
|
**Owner:** Quinn A Michaels
|
|
7
7
|
**Company:** Inside The Net, Inc.
|
|
8
8
|
**Email:** quinn@indra.ai
|
|
@@ -161,17 +161,17 @@ By using the Software, you acknowledge that you have read, understood, and agree
|
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
164
|
-
::begin:uid:
|
|
165
|
-
uid:
|
|
166
|
-
time:
|
|
167
|
-
date: Saturday, September 20, 2025 -
|
|
168
|
-
client:
|
|
164
|
+
::begin:deva:uid:44091450722329207445
|
|
165
|
+
uid: 44091450722329207445
|
|
166
|
+
time: 1758398404188
|
|
167
|
+
date: Saturday, September 20, 2025 - 1:00:04 PM
|
|
168
|
+
client: BeqqTomnO0OgcMc3awWznhlYHXzrJZMlKFJKW5XXTik=
|
|
169
169
|
agent: z8kjEPFgrzqzWexGLytilCOm6pWUrax9sMiEn7e/AEQ=
|
|
170
|
-
core:
|
|
171
|
-
machine:
|
|
172
|
-
warning: ⚠️
|
|
170
|
+
core: /4qaz4nUYW0trAiLReyHp+geBdfs8+lCE5OwCz8R/Ro=
|
|
171
|
+
machine: 5rsoKxx+vmGZmMigExjtk21iBfGrmw12s1qKbYrUTv4=
|
|
172
|
+
warning: ⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.
|
|
173
173
|
copyright: Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
174
|
-
md5:
|
|
175
|
-
sha256:
|
|
176
|
-
sha512:
|
|
177
|
-
::end:uid:
|
|
174
|
+
md5: UafSXknvuVnwE5zK3DeE+g==
|
|
175
|
+
sha256: ai+4pk2Ijep02R0htDtlqdUcxiehAtnLieG91ys3Ic8=
|
|
176
|
+
sha512: lSi87rE4z3Rhw/pMNPLBW8lw54T6Zcir9GSPQ9OE8lGOPQWyDzgniSrzQ6w/AHKjv26fA40Gv8pFV7PHj/sXNA==
|
|
177
|
+
::end:deva:uid:44091450722329207445
|
package/config/actions.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "60721547193585923944",
|
|
3
3
|
"title": "Deva Core Actions",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"consent": "✍️ Consent",
|
|
8
8
|
"client": "👨 Client",
|
package/config/events.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "53350871362784776361",
|
|
3
3
|
"title": "Deva Core Events",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"prompt": "devacore:prompt",
|
|
8
8
|
"error": "devacore:error",
|
package/config/features.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "34305236605464648459",
|
|
3
3
|
"title": "Deva Core Features",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
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
|
-
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:44091450722329207445 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "68958311949534832213",
|
|
3
3
|
"title": "Deva Core Messages",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"init": "🟠 INIT",
|
|
8
8
|
"start": "🟢 START",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"invalid_client": "⛔️ Client Hash Invalid",
|
|
22
22
|
"load": "📦 Load",
|
|
23
23
|
"unload": "🥡 Unload",
|
|
24
|
-
"uid_warning": "⚠️
|
|
24
|
+
"uid_warning": "⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
25
25
|
"client_license_check": "🪪 Check Client License",
|
|
26
26
|
"client_license_invalid": "❌ The Provided Client License Is Invalid"
|
|
27
27
|
}
|
package/config/states.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "36004651258304827118",
|
|
3
3
|
"title": "Deva Core States",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"online": "🤩 Online",
|
|
8
8
|
"offline": "😴 Offline",
|
package/config/zones.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "51218010190589512338",
|
|
3
3
|
"title": "Deva Core Zones",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved.",
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"deva": "✨ Deva",
|
|
8
8
|
"agent": "🤖 Agent",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"unload": "🥡 Unload",
|
|
22
22
|
"init": "🟠 Init",
|
|
23
23
|
"start": "🟢 Start",
|
|
24
|
+
"stop": "🔴 Stop",
|
|
24
25
|
"enter": "🚪 Enter",
|
|
25
|
-
"
|
|
26
|
-
"ready": "⭐️ Ready",
|
|
26
|
+
"exit": "🚪 Exit",
|
|
27
27
|
"finish": "🏁 Finish",
|
|
28
28
|
"complete": "✅ Complete",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
29
|
+
"done": "☑️ Done",
|
|
30
|
+
"ready": "⭐️ Ready",
|
|
31
31
|
"license": "🪪 License",
|
|
32
32
|
"indra": "⚡️ Indra",
|
|
33
33
|
"veda": "🕉️ Veda",
|
|
@@ -52,33 +52,18 @@
|
|
|
52
52
|
"services": "🛠️ Services",
|
|
53
53
|
"systems": "🖥️️ Systems",
|
|
54
54
|
"networks": "📡 Networks",
|
|
55
|
-
"help": "💚 Help",
|
|
56
|
-
"emergency": "🛟 Emergency",
|
|
57
|
-
"danger": "⛔️ Danger",
|
|
58
|
-
"crisis": "😱 Crisis",
|
|
59
|
-
"irs": "🧾 Internal Revenue Service",
|
|
60
|
-
"flec": "👮 Federal Law Enforcement Community",
|
|
61
|
-
"usic": "👂 United States Intelligence Community",
|
|
62
|
-
"fbi": "👮 Federal Bureau of Investigation",
|
|
63
|
-
"doj": "🏛️ Departhment of Jutice",
|
|
64
|
-
"nsa": "👀️ National Security Agency",
|
|
65
|
-
"css": "👀️ Central Security Service",
|
|
66
|
-
"cia": "👀️ Central Intelligence Agency",
|
|
67
|
-
"dia": "👀️ Defense Intelligence Agency",
|
|
68
|
-
"war": "🧙️ Department of War",
|
|
69
|
-
"dod": "🧙️ Department of Defense",
|
|
70
|
-
"marines": "🗡️ U.S. Marines",
|
|
71
|
-
"army": "🪖️ U.S. Army",
|
|
72
|
-
"airforce": "✈️ U.S. Air Force",
|
|
73
|
-
"navy": "⚓️ U.S. Navy",
|
|
74
|
-
"blackmarket": "🏴 Blackmarket",
|
|
75
|
-
"shadow": "👤 Shadow",
|
|
76
|
-
"dharma": "☸️ Dharma",
|
|
77
|
-
"adharma": "👹️ Adharma",
|
|
78
55
|
"householder": "🏡 Householder",
|
|
79
56
|
"brahmana": "🕉️ Brahmana",
|
|
80
57
|
"kshatriya": "🛡️ Kshatriya",
|
|
81
58
|
"vaisya": "💼️ Vaisya",
|
|
82
|
-
"sudra": "️🧺 Sudra"
|
|
59
|
+
"sudra": "️🧺 Sudra",
|
|
60
|
+
"help": "💚 Help",
|
|
61
|
+
"emergency": "🛟 Emergency",
|
|
62
|
+
"danger": "⛔️ Danger",
|
|
63
|
+
"crisis": "😱 Crisis",
|
|
64
|
+
"private": "🤫 Private",
|
|
65
|
+
"public": "😀 Public",
|
|
66
|
+
"merit": "➕ Merit",
|
|
67
|
+
"demerit": "➖ Demerit"
|
|
83
68
|
}
|
|
84
69
|
}
|
package/examples/agent.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "AGENT",
|
|
3
3
|
"describe": "AGENT FILE",
|
|
4
|
-
"copyright": "Copyright
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn Michaels. All rights reserved.",
|
|
5
|
+
"VLA": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 5380514963421,
|
|
8
8
|
"key": "deva",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "Saturday, September 20, 2025 -
|
|
13
|
-
"client": "
|
|
10
|
+
"uid": "44091450722329207445",
|
|
11
|
+
"time": 1758398404188,
|
|
12
|
+
"date": "Saturday, September 20, 2025 - 1:00:04 PM",
|
|
13
|
+
"client": "BeqqTomnO0OgcMc3awWznhlYHXzrJZMlKFJKW5XXTik=",
|
|
14
14
|
"agent": "z8kjEPFgrzqzWexGLytilCOm6pWUrax9sMiEn7e/AEQ=",
|
|
15
|
-
"core": "
|
|
16
|
-
"machine": "
|
|
17
|
-
"warning": "⚠️
|
|
15
|
+
"core": "/4qaz4nUYW0trAiLReyHp+geBdfs8+lCE5OwCz8R/Ro=",
|
|
16
|
+
"machine": "5rsoKxx+vmGZmMigExjtk21iBfGrmw12s1qKbYrUTv4=",
|
|
17
|
+
"warning": "⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
18
18
|
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
19
|
-
"md5": "
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha512": "
|
|
19
|
+
"md5": "UafSXknvuVnwE5zK3DeE+g==",
|
|
20
|
+
"sha256": "ai+4pk2Ijep02R0htDtlqdUcxiehAtnLieG91ys3Ic8=",
|
|
21
|
+
"sha512": "lSi87rE4z3Rhw/pMNPLBW8lw54T6Zcir9GSPQ9OE8lGOPQWyDzgniSrzQ6w/AHKjv26fA40Gv8pFV7PHj/sXNA=="
|
|
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": "44091450722329207445",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 3123155399059,
|
|
8
8
|
"key": "test",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "Saturday, September 20, 2025 -
|
|
13
|
-
"client": "
|
|
10
|
+
"uid": "44091450722329207445",
|
|
11
|
+
"time": 1758398404188,
|
|
12
|
+
"date": "Saturday, September 20, 2025 - 1:00:04 PM",
|
|
13
|
+
"client": "BeqqTomnO0OgcMc3awWznhlYHXzrJZMlKFJKW5XXTik=",
|
|
14
14
|
"agent": "z8kjEPFgrzqzWexGLytilCOm6pWUrax9sMiEn7e/AEQ=",
|
|
15
|
-
"core": "
|
|
16
|
-
"machine": "
|
|
17
|
-
"warning": "⚠️
|
|
15
|
+
"core": "/4qaz4nUYW0trAiLReyHp+geBdfs8+lCE5OwCz8R/Ro=",
|
|
16
|
+
"machine": "5rsoKxx+vmGZmMigExjtk21iBfGrmw12s1qKbYrUTv4=",
|
|
17
|
+
"warning": "⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
18
18
|
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
19
|
-
"md5": "
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha512": "
|
|
19
|
+
"md5": "UafSXknvuVnwE5zK3DeE+g==",
|
|
20
|
+
"sha256": "ai+4pk2Ijep02R0htDtlqdUcxiehAtnLieG91ys3Ic8=",
|
|
21
|
+
"sha512": "lSi87rE4z3Rhw/pMNPLBW8lw54T6Zcir9GSPQ9OE8lGOPQWyDzgniSrzQ6w/AHKjv26fA40Gv8pFV7PHj/sXNA=="
|
|
22
22
|
},
|
|
23
23
|
"prompt": {
|
|
24
24
|
"emoji": "🧪",
|
package/examples/hello-world.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:44091450722329207445 LICENSE.md
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
const client = require('./client.json').DATA;
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:44091450722329207445 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import {EventEmitter} from 'node:events';
|
|
7
7
|
import {createHash,randomUUID} from 'crypto';
|
|
@@ -1169,11 +1169,12 @@ class Deva {
|
|
|
1169
1169
|
usage: this.ready(data, resolve)
|
|
1170
1170
|
***************/
|
|
1171
1171
|
ready(data, resolve) {
|
|
1172
|
+
if (!this._active) return resolve(this._messages.offline);
|
|
1172
1173
|
this.context('ready', data.id.uid);
|
|
1173
1174
|
this.zone('ready', data.id.uid);
|
|
1174
|
-
if (!this._active) return resolve(this._messages.offline);
|
|
1175
|
-
|
|
1176
1175
|
this.action('ready', data.id.uid);
|
|
1176
|
+
this.state('ready', data.id.uid);
|
|
1177
|
+
|
|
1177
1178
|
const hasOnReady = this.onReady && typeof this.onReady === 'function';
|
|
1178
1179
|
|
|
1179
1180
|
// Delete previous data hashes
|
|
@@ -1187,9 +1188,9 @@ class Deva {
|
|
|
1187
1188
|
data.sha256 = this.hash(data, 'sha256');
|
|
1188
1189
|
data.sha512 = this.hash(data, 'sha512');
|
|
1189
1190
|
|
|
1190
|
-
this.state('ready', data.id.uid);
|
|
1191
1191
|
this.talk(this._events.ready, data);
|
|
1192
|
-
|
|
1192
|
+
|
|
1193
|
+
this.action('return', `ready:${data.id.uid}`); // return action ready
|
|
1193
1194
|
return hasOnReady ? this.onReady(data, resolve) : resolve(data);
|
|
1194
1195
|
}
|
|
1195
1196
|
|
|
@@ -1205,22 +1206,35 @@ class Deva {
|
|
|
1205
1206
|
if (!this._active) return resolve(this._messages.offline); //
|
|
1206
1207
|
this.context('finish', data.id.uid);
|
|
1207
1208
|
this.zone('finish', data.id.uid); // enter finish zone
|
|
1208
|
-
|
|
1209
1209
|
this.action('finish', data.id.uid); // start finish action
|
|
1210
|
-
|
|
1210
|
+
this.state('finish', data.id.uid); // set finish state
|
|
1211
1211
|
|
|
1212
|
+
this.action('delete', `answer:md5:${data.id.uid}`);
|
|
1212
1213
|
delete data.md5;
|
|
1214
|
+
this.action('delete', `answer:sha256:${data.id.uid}`);
|
|
1213
1215
|
delete data.sha256;
|
|
1216
|
+
this.action('delete', `answer:sha512:${data.id.uid}`);
|
|
1214
1217
|
delete data.sha512;
|
|
1215
1218
|
|
|
1216
1219
|
data.finish = Date.now(); // set the finish timestamp
|
|
1220
|
+
this.state('set', `data:finish:${data.finish}:${data.id.uid}`)
|
|
1217
1221
|
|
|
1222
|
+
this.action('hash', `finish:md5:${data.id.uid}`);
|
|
1218
1223
|
data.md5 = this.hash(data);
|
|
1224
|
+
this.action('hash', `finish:sha256:${data.id.uid}`)
|
|
1219
1225
|
data.sha256 = this.hash(data, 'sha256');
|
|
1226
|
+
|
|
1227
|
+
this.action('hash', `finish:sha512:${data.id.uid}`)
|
|
1220
1228
|
data.sha512 = this.hash(data, 'sha512');
|
|
1221
1229
|
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1230
|
+
const hasOnFinish = this.onFinish && typeof this.onFinish === 'function';
|
|
1231
|
+
if (hasOnFinish) this.state('set', `hasOnFinish:${data.id.uid}`); // state set to watch OnFinish
|
|
1232
|
+
|
|
1233
|
+
// setup the finish talk event
|
|
1234
|
+
this.action('talk', `${this._events.finish}:${data.id.uid}`);
|
|
1235
|
+
this.talk(this._events.finish, data);
|
|
1236
|
+
|
|
1237
|
+
this.action('return', `finish:${data.id.uid}`); // return action finish
|
|
1224
1238
|
return hasOnFinish ? this.onFinish(data, resolve) : this.complete(data, resolve);
|
|
1225
1239
|
}
|
|
1226
1240
|
|
|
@@ -1237,21 +1251,36 @@ class Deva {
|
|
|
1237
1251
|
if (!this._active) return Promise.resolve(this._messages.offline);
|
|
1238
1252
|
this.context('complete', data.id.uid);
|
|
1239
1253
|
this.zone('complete', data.id.uid);
|
|
1240
|
-
|
|
1241
1254
|
this.action('complete', data.id.uid);
|
|
1242
|
-
|
|
1255
|
+
this.state('complete', data.id.uid);
|
|
1243
1256
|
|
|
1257
|
+
this.action('delete', `finish:md5:${data.id.uid}`);
|
|
1244
1258
|
delete data.md5;
|
|
1259
|
+
this.action('delete', `finish:sha256:${data.id.uid}`);
|
|
1245
1260
|
delete data.sha256;
|
|
1261
|
+
this.action('delete', `finish:sha512:${data.id.uid}`);
|
|
1246
1262
|
delete data.sha512;
|
|
1247
1263
|
|
|
1248
1264
|
data.complete = Date.now();// set the complete date on the whole data.
|
|
1265
|
+
this.state('set', `data:complete:${data.complete}:${data.id.uid}`)
|
|
1266
|
+
|
|
1267
|
+
this.action('hash', `complete:md5:${data.id.uid}`);
|
|
1249
1268
|
data.md5 = this.hash(data);
|
|
1269
|
+
this.action('hash', `complete:sha256:${data.id.uid}`)
|
|
1250
1270
|
data.sha256 = this.hash(data, 'sha256');
|
|
1271
|
+
|
|
1272
|
+
this.action('hash', `complete:sha512:${data.id.uid}`)
|
|
1251
1273
|
data.sha512 = this.hash(data, 'sha512');
|
|
1252
1274
|
|
|
1253
|
-
|
|
1254
|
-
this.
|
|
1275
|
+
// determine if there is an onComplete function for the entity.
|
|
1276
|
+
const hasOnComplete = this.onComplete && typeof this.onComplete === 'function';
|
|
1277
|
+
if (hasOnComplete) this.state('set', `hasOnComplete:${data.id.uid}`); // state set to watch OnFinish
|
|
1278
|
+
|
|
1279
|
+
// setup the complete talk event
|
|
1280
|
+
this.action('talk', `${this._events.complete}:${data.id.uid}`); // action talk for the event.
|
|
1281
|
+
this.talk(this._events.complete, data); // talk the complete event
|
|
1282
|
+
|
|
1283
|
+
this.action('return', `complete:${data.id.uid}`); // return action complete
|
|
1255
1284
|
return hasOnComplete ? this.onComplete(data, resolve) : resolve(data);
|
|
1256
1285
|
}
|
|
1257
1286
|
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:44091450722329207445 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
import fs from 'fs';
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "44091450722329207445",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.91",
|
|
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:44091450722329207445 LICENSE.md",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "Saturday, September 20, 2025 -
|
|
12
|
-
"client": "
|
|
9
|
+
"uid": "44091450722329207445",
|
|
10
|
+
"time": 1758398404188,
|
|
11
|
+
"date": "Saturday, September 20, 2025 - 1:00:04 PM",
|
|
12
|
+
"client": "BeqqTomnO0OgcMc3awWznhlYHXzrJZMlKFJKW5XXTik=",
|
|
13
13
|
"agent": "z8kjEPFgrzqzWexGLytilCOm6pWUrax9sMiEn7e/AEQ=",
|
|
14
|
-
"core": "
|
|
15
|
-
"machine": "
|
|
16
|
-
"warning": "⚠️
|
|
14
|
+
"core": "/4qaz4nUYW0trAiLReyHp+geBdfs8+lCE5OwCz8R/Ro=",
|
|
15
|
+
"machine": "5rsoKxx+vmGZmMigExjtk21iBfGrmw12s1qKbYrUTv4=",
|
|
16
|
+
"warning": "⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
17
17
|
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
18
|
-
"md5": "
|
|
19
|
-
"sha256": "
|
|
20
|
-
"sha512": "
|
|
18
|
+
"md5": "UafSXknvuVnwE5zK3DeE+g==",
|
|
19
|
+
"sha256": "ai+4pk2Ijep02R0htDtlqdUcxiehAtnLieG91ys3Ic8=",
|
|
20
|
+
"sha512": "lSi87rE4z3Rhw/pMNPLBW8lw54T6Zcir9GSPQ9OE8lGOPQWyDzgniSrzQ6w/AHKjv26fA40Gv8pFV7PHj/sXNA=="
|
|
21
21
|
},
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "Quinn A Michaels",
|
package/tests/agent.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "AGENT",
|
|
3
3
|
"describe": "AGENT FILE",
|
|
4
|
-
"copyright": "Copyright
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
5
5
|
"VLA": {
|
|
6
|
-
"uid": "
|
|
7
|
-
"time":
|
|
8
|
-
"date": "Saturday, September 20, 2025 -
|
|
9
|
-
"client": "
|
|
6
|
+
"uid": "44091450722329207445",
|
|
7
|
+
"time": 1758398404188,
|
|
8
|
+
"date": "Saturday, September 20, 2025 - 1:00:04 PM",
|
|
9
|
+
"client": "BeqqTomnO0OgcMc3awWznhlYHXzrJZMlKFJKW5XXTik=",
|
|
10
10
|
"agent": "z8kjEPFgrzqzWexGLytilCOm6pWUrax9sMiEn7e/AEQ=",
|
|
11
|
-
"core": "
|
|
12
|
-
"machine": "
|
|
13
|
-
"warning": "⚠️
|
|
11
|
+
"core": "/4qaz4nUYW0trAiLReyHp+geBdfs8+lCE5OwCz8R/Ro=",
|
|
12
|
+
"machine": "5rsoKxx+vmGZmMigExjtk21iBfGrmw12s1qKbYrUTv4=",
|
|
13
|
+
"warning": "⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
14
14
|
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
15
|
-
"md5": "
|
|
16
|
-
"sha256": "
|
|
17
|
-
"sha512": "
|
|
15
|
+
"md5": "UafSXknvuVnwE5zK3DeE+g==",
|
|
16
|
+
"sha256": "ai+4pk2Ijep02R0htDtlqdUcxiehAtnLieG91ys3Ic8=",
|
|
17
|
+
"sha512": "lSi87rE4z3Rhw/pMNPLBW8lw54T6Zcir9GSPQ9OE8lGOPQWyDzgniSrzQ6w/AHKjv26fA40Gv8pFV7PHj/sXNA=="
|
|
18
18
|
},
|
|
19
19
|
"DATA": {
|
|
20
20
|
"id": "52593981315505592029",
|
package/tests/client.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "CLIENT",
|
|
3
3
|
"describe": "CLIENT FILE",
|
|
4
|
-
"copyright": "©2025 Quinn A Michaels; All rights reserved.",
|
|
4
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
5
5
|
"DATA": {
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "44091450722329207445",
|
|
7
7
|
"key": "test",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "Saturday, September 20, 2025 -
|
|
12
|
-
"client": "
|
|
9
|
+
"uid": "44091450722329207445",
|
|
10
|
+
"time": 1758398404188,
|
|
11
|
+
"date": "Saturday, September 20, 2025 - 1:00:04 PM",
|
|
12
|
+
"client": "BeqqTomnO0OgcMc3awWznhlYHXzrJZMlKFJKW5XXTik=",
|
|
13
13
|
"agent": "z8kjEPFgrzqzWexGLytilCOm6pWUrax9sMiEn7e/AEQ=",
|
|
14
|
-
"core": "
|
|
15
|
-
"machine": "
|
|
16
|
-
"warning": "⚠️
|
|
14
|
+
"core": "/4qaz4nUYW0trAiLReyHp+geBdfs8+lCE5OwCz8R/Ro=",
|
|
15
|
+
"machine": "5rsoKxx+vmGZmMigExjtk21iBfGrmw12s1qKbYrUTv4=",
|
|
16
|
+
"warning": "⚠️ Vedic Law Sâhasa/Theft/Crime of the highest degree, a fine amounting to no less than a thousand Panas (1 pana = 3.5 grams of gold) is ordained owed to Quinn A Michaels. Moreover corporal punishment and confiscation of the entire property forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
17
17
|
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
18
|
-
"md5": "
|
|
19
|
-
"sha256": "
|
|
20
|
-
"sha512": "
|
|
18
|
+
"md5": "UafSXknvuVnwE5zK3DeE+g==",
|
|
19
|
+
"sha256": "ai+4pk2Ijep02R0htDtlqdUcxiehAtnLieG91ys3Ic8=",
|
|
20
|
+
"sha512": "lSi87rE4z3Rhw/pMNPLBW8lw54T6Zcir9GSPQ9OE8lGOPQWyDzgniSrzQ6w/AHKjv26fA40Gv8pFV7PHj/sXNA=="
|
|
21
21
|
},
|
|
22
22
|
"prompt": {
|
|
23
23
|
"emoji": "🧪",
|
package/tests/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:44091450722329207445 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import Client from './client.json' with {type:'json'};
|
|
7
7
|
const client = Client.DATA;
|