@indra.ai/deva 1.6.79 → 1.6.81
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 +1 -1
- 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 +1 -1
- package/config/zones.json +2 -43
- package/examples/client.json +11 -11
- package/examples/hello-world.js +1 -1
- package/index.js +30 -1
- package/lib/index.js +1 -17
- package/package.json +12 -12
- package/tests/agent.json +10 -10
- package/tests/client.json +10 -10
- package/tests/index.js +1 -1
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:**
|
|
4
|
+
**VLA:** 51596913527557898821
|
|
5
|
+
**Date:** Thursday, September 18, 2025 - 3:49:48 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:core:
|
|
165
|
-
uid:
|
|
166
|
-
time:
|
|
167
|
-
date:
|
|
168
|
-
client:
|
|
164
|
+
::begin:uid:core:51596913527557898821
|
|
165
|
+
uid: 51596913527557898821
|
|
166
|
+
time: 1758235788861
|
|
167
|
+
date: Thursday, September 18, 2025 - 3:49:48 PM
|
|
168
|
+
client: S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=
|
|
169
169
|
agent: 33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=
|
|
170
|
-
|
|
171
|
-
machine:
|
|
172
|
-
warning: ⚠️ Unlawful use signals
|
|
170
|
+
core: Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=
|
|
171
|
+
machine: 7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=
|
|
172
|
+
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.
|
|
173
173
|
copyright: ©2025 Quinn A Michaels; All rights reserved.
|
|
174
|
-
md5:
|
|
175
|
-
sha256:
|
|
176
|
-
sha512:
|
|
177
|
-
::end:uid:core:
|
|
174
|
+
md5: g3X1xmpez0UcLvaDrLO4/A==
|
|
175
|
+
sha256: BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=
|
|
176
|
+
sha512: A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg==
|
|
177
|
+
::end:uid:core:51596913527557898821
|
package/config/actions.json
CHANGED
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:51596913527557898821 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
package/config/zones.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "51218010190589512338",
|
|
3
3
|
"title": "Deva Core Zones",
|
|
4
4
|
"copyright": "©2025 Quinn A Michaels; All rights reserved.",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "51596913527557898821",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"question": "🙋♂️ Question",
|
|
8
8
|
"answer": "👨🏫 Answer",
|
|
@@ -46,47 +46,6 @@
|
|
|
46
46
|
"systems": "🖥️️ Systems",
|
|
47
47
|
"networks": "📡 Networks",
|
|
48
48
|
"help": "💚 Help",
|
|
49
|
-
"emergency": "🛟 Emergency"
|
|
50
|
-
"play": "🛝 Play",
|
|
51
|
-
"work": "🧢 Work",
|
|
52
|
-
"rest": "🥱 Rest",
|
|
53
|
-
"sleep": "😴 Sleep",
|
|
54
|
-
"snack": "🥨 Snack",
|
|
55
|
-
"casino": "🎰 Casino",
|
|
56
|
-
"crime": "🤢 Crime",
|
|
57
|
-
"prison": "🧃 Prison",
|
|
58
|
-
"jail": "🪤 Jail",
|
|
59
|
-
"crisis": "😱 Crisis",
|
|
60
|
-
"invader": "🛸 Invader",
|
|
61
|
-
"pervert": "💋 Pervert",
|
|
62
|
-
"darknet": "☠️ DARKNET",
|
|
63
|
-
"clearnet": "📡 CLEARNET",
|
|
64
|
-
"siprnet": "🛰️ SIPRNET",
|
|
65
|
-
"niprnet": "🛰️ NIPRNET",
|
|
66
|
-
"nsfnet": "🧪 NSFNET",
|
|
67
|
-
"milnet": "🪖 MILNET",
|
|
68
|
-
"arpanet": "🗝️️ ARPANET",
|
|
69
|
-
"darpa": "🚽 DARPA",
|
|
70
|
-
"area51": "👽 Area 51",
|
|
71
|
-
"nsa": "👁️ NSA",
|
|
72
|
-
"cia": "🍸️ CIA",
|
|
73
|
-
"fbi": "🕵️ FBI",
|
|
74
|
-
"irs": "🧾️ IRS",
|
|
75
|
-
"police": "👮 Police",
|
|
76
|
-
"whitehouse": "🏡 The White House",
|
|
77
|
-
"pentagon": "⬟ The Pentagon",
|
|
78
|
-
"temple": "🛕 Temple",
|
|
79
|
-
"church": "⛪️ Church",
|
|
80
|
-
"religion": "🕉️ Religion",
|
|
81
|
-
"syndicate": "🏢️ Syndicate",
|
|
82
|
-
"mafia": "🔫 Mafia",
|
|
83
|
-
"hacker": "⌨️ Hacker",
|
|
84
|
-
"sharon": "🐷 Sharon N Schamber",
|
|
85
|
-
"hal": "🐮 Harold H Atkin",
|
|
86
|
-
"tabitha": "🐀 Tabitha R Lavery",
|
|
87
|
-
"trenton": "🐭 Tabitha R Lavery",
|
|
88
|
-
"cristy": "🫏 Cristy C Fincher",
|
|
89
|
-
"dewitty": "👹 Mr. Dewitty",
|
|
90
|
-
"covenant": "🤡 The Covenant"
|
|
49
|
+
"emergency": "🛟 Emergency"
|
|
91
50
|
}
|
|
92
51
|
}
|
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": "51596913527557898821",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 3123155399059,
|
|
8
8
|
"key": "test",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "
|
|
13
|
-
"client": "
|
|
10
|
+
"uid": "51596913527557898821",
|
|
11
|
+
"time": 1758235788861,
|
|
12
|
+
"date": "Thursday, September 18, 2025 - 3:49:48 PM",
|
|
13
|
+
"client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
|
|
14
14
|
"agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
|
|
15
|
-
"
|
|
16
|
-
"machine": "
|
|
17
|
-
"warning": "⚠️ Unlawful use signals
|
|
15
|
+
"core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
|
|
16
|
+
"machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
|
|
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": "g3X1xmpez0UcLvaDrLO4/A==",
|
|
20
|
+
"sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
|
|
21
|
+
"sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
|
|
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:51596913527557898821 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
2
|
// ©2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:51596913527557898821 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import {EventEmitter} from 'node:events';
|
|
7
7
|
import {createHash,randomUUID} from 'crypto';
|
|
@@ -71,16 +71,45 @@ class Deva {
|
|
|
71
71
|
|
|
72
72
|
this._zone = config.zone; // set the current zone from config data.
|
|
73
73
|
this._zones = config.zones; // set the zones from config data.
|
|
74
|
+
// load any custom zones from the agent file
|
|
75
|
+
if (this._agent.zones) {
|
|
76
|
+
for (let item in this._agent.zones) {
|
|
77
|
+
if (!this._zones[item]) this._zones[item] = this._agent.zones[item];
|
|
78
|
+
}
|
|
79
|
+
delete this._agent.zones;
|
|
80
|
+
}
|
|
74
81
|
|
|
75
82
|
this._action = config.action; // set the action from config data.
|
|
76
83
|
this._actions = config.actions; // set the actions from config data.
|
|
84
|
+
// load any custom actions from the agent file
|
|
85
|
+
if (this._agent.actions) {
|
|
86
|
+
for (let item in this._agent.actions) {
|
|
87
|
+
if (!this._actions[item]) this._actions[item] = this._agent.actions[item];
|
|
88
|
+
}
|
|
89
|
+
delete this._agent.actions;
|
|
90
|
+
}
|
|
77
91
|
|
|
78
92
|
this._state = config.state; // set the current state from config data.
|
|
79
93
|
this._states = config.states; // set the states from options
|
|
94
|
+
// load any custom actions from the agent file
|
|
95
|
+
if (this._agent.actions) {
|
|
96
|
+
for (let item in this._agent.actions) {
|
|
97
|
+
if (!this._actions[item]) this._actions[item] = this._agent.actions[item];
|
|
98
|
+
}
|
|
99
|
+
delete this._agent.actions;
|
|
100
|
+
}
|
|
80
101
|
|
|
81
102
|
this._context = config.context || false; // set the local context
|
|
82
103
|
|
|
83
104
|
this._messages = config.messages; // set the messages from config data.
|
|
105
|
+
// load any custom actions from the agent file
|
|
106
|
+
if (this._agent.messages) {
|
|
107
|
+
for (let item in this._agent.messages) {
|
|
108
|
+
if (!this._messages[item]) this._messages[item] = this._agent.messages[item];
|
|
109
|
+
}
|
|
110
|
+
delete this._agent.messages;
|
|
111
|
+
}
|
|
112
|
+
|
|
84
113
|
}
|
|
85
114
|
|
|
86
115
|
/**************
|
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:51596913527557898821 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
import fs from 'fs';
|
|
@@ -44,22 +44,6 @@ class LIB {
|
|
|
44
44
|
})
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
/**************
|
|
48
|
-
func: hash
|
|
49
|
-
params:
|
|
50
|
-
- texts: The text string to create a hash value for.
|
|
51
|
-
- algo: The hashing algorithm to use for hashing. md5, sha256, or sha512
|
|
52
|
-
|
|
53
|
-
describe:
|
|
54
|
-
The hash algorithm will take a string of text and produce a hash.
|
|
55
|
-
***************/
|
|
56
|
-
hash(str, algo=false) {
|
|
57
|
-
algo = algo || 'md5';
|
|
58
|
-
const the_hash = createHash(algo);
|
|
59
|
-
the_hash.update(JSON.stringify(str));
|
|
60
|
-
return the_hash.digest('base64');
|
|
61
|
-
}
|
|
62
|
-
|
|
63
47
|
/**************
|
|
64
48
|
func: cipher
|
|
65
49
|
params: str - string to encrypt
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "24789087843554622185",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.81",
|
|
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:51596913527557898821 LICENSE.md",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "
|
|
12
|
-
"client": "
|
|
9
|
+
"uid": "51596913527557898821",
|
|
10
|
+
"time": 1758235788861,
|
|
11
|
+
"date": "Thursday, September 18, 2025 - 3:49:48 PM",
|
|
12
|
+
"client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
|
|
13
13
|
"agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
|
|
14
|
-
"
|
|
15
|
-
"machine": "
|
|
16
|
-
"warning": "⚠️ Unlawful use signals
|
|
14
|
+
"core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
|
|
15
|
+
"machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
|
|
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": "g3X1xmpez0UcLvaDrLO4/A==",
|
|
19
|
+
"sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
|
|
20
|
+
"sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
|
|
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": "
|
|
9
|
-
"client": "
|
|
6
|
+
"uid": "51596913527557898821",
|
|
7
|
+
"time": 1758235788861,
|
|
8
|
+
"date": "Thursday, September 18, 2025 - 3:49:48 PM",
|
|
9
|
+
"client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
|
|
10
10
|
"agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
|
|
11
|
-
"
|
|
12
|
-
"machine": "
|
|
13
|
-
"warning": "⚠️ Unlawful use signals
|
|
11
|
+
"core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
|
|
12
|
+
"machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
|
|
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": "g3X1xmpez0UcLvaDrLO4/A==",
|
|
16
|
+
"sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
|
|
17
|
+
"sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
|
|
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": "
|
|
12
|
-
"client": "
|
|
9
|
+
"uid": "51596913527557898821",
|
|
10
|
+
"time": 1758235788861,
|
|
11
|
+
"date": "Thursday, September 18, 2025 - 3:49:48 PM",
|
|
12
|
+
"client": "S7MA0HNCBKPspj8Erd5UOfKrpfJwlTIp4yAPZKOXEBE=",
|
|
13
13
|
"agent": "33/qCjZAteb8UXqRBiJWRtnWd37dSxe9NfhaTtJszD8=",
|
|
14
|
-
"
|
|
15
|
-
"machine": "
|
|
16
|
-
"warning": "⚠️ Unlawful use signals
|
|
14
|
+
"core": "Jzu2Dow7rDam2zSDZx8c/KL8UNgWyLQczFUIWdtg3Jg=",
|
|
15
|
+
"machine": "7IfcC/fTK+V+UvWDn2JwMFYYYOwfEyAftiNz0kKxArU=",
|
|
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": "g3X1xmpez0UcLvaDrLO4/A==",
|
|
19
|
+
"sha256": "BHBqaxUcxn6/5dZdfV/0H4V2Dvv1IxZTy2WiFptmDdw=",
|
|
20
|
+
"sha512": "A1kIuK4IIL6cQOrY/yUrzrQ+ajdhJ6M3w4JEWkXqgZAi+x8aT1ZdJ5ZQ7oGfKgWEm1JNtVNGpqxFLP1pbr3MQg=="
|
|
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:51596913527557898821 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import Client from './client.json' with {type:'json'};
|
|
7
7
|
const client = Client.DATA;
|