@indra.ai/deva 1.6.72 → 1.6.74
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/README.md +1 -1
- package/examples/agent.json +11 -11
- package/examples/client.json +11 -11
- package/index.js +21 -11
- package/lib/index.js +1 -1
- package/package.json +23 -15
- 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:** : Monday, September 15, 2025 -
|
|
4
|
+
**VLA:** 33010936613959090808
|
|
5
|
+
**Date:** : Monday, September 15, 2025 - 3:59:07 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: Monday, September 15, 2025 -
|
|
168
|
-
client:
|
|
169
|
-
agent:
|
|
170
|
-
pkg:
|
|
171
|
-
machine:
|
|
164
|
+
::begin:uid:core:33010936613959090808
|
|
165
|
+
uid: 33010936613959090808
|
|
166
|
+
time: 1757977147676
|
|
167
|
+
date: Monday, September 15, 2025 - 3:59:07 PM
|
|
168
|
+
client: 0rL4FHJvgHPKEugdiJ1Sg2cyp6CXLQxhn8cTWZXyPDw=
|
|
169
|
+
agent: GlH7B8FFq9jdutq9lAG6UdgMhJjRH1T9moVfeiQhWd8=
|
|
170
|
+
pkg: hTHYtIYTeE11OiGZA+4U7Cfc0I7RkyDCqABgF1HI6Rc=
|
|
171
|
+
machine: 6G5tIypQYsx8U4pVZtkgMRMziZVUqe52RaCM17vKFBA=
|
|
172
172
|
warning: ⚠️ Unlawful Use Constitutes Lawful Consent to Forfeit of All Wealth, Property, and Holdings to the Internal Revenue Service (IRS) for Lawful Taxation, Investigation, and Restitution to the Rightful Legal Owner.
|
|
173
173
|
copyright: ©2025 Quinn A Michaels; All rights reserved.
|
|
174
|
-
md5:
|
|
175
|
-
sha256:
|
|
176
|
-
sha512:
|
|
177
|
-
::end:uid:core:
|
|
174
|
+
md5: WIg8jkS+1FivsIjVnPBUWw==
|
|
175
|
+
sha256: RwkPoxteBzTwzREdNHcgTLTf7kkJA4K+Nv/oQFnyWmQ=
|
|
176
|
+
sha512: u8ukg5b/lOQOa0Y+iFGJwvWllJ/dNmy2V0utXbwtDQJQi8dPiLfBbQSV6+yKChli+OPAcRD2uns49tC/PqsiyA==
|
|
177
|
+
::end:uid:core:33010936613959090808
|
package/README.md
CHANGED
|
@@ -488,4 +488,4 @@ The `initDeva()` function will initialize the Deva located under the current Dev
|
|
|
488
488
|
|
|
489
489
|
©2025 Quinn A Michaels; All rights reserved.
|
|
490
490
|
Legal Signature Required For Lawful Use.
|
|
491
|
-
Distributed under VLA:
|
|
491
|
+
Distributed under VLA:33010936613959090808 LICENSE.md
|
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": "33010936613959090808",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 5380514963421,
|
|
8
8
|
"key": "deva",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "Monday, September 15, 2025 -
|
|
13
|
-
"client": "
|
|
14
|
-
"agent": "
|
|
15
|
-
"pkg": "
|
|
16
|
-
"machine": "
|
|
10
|
+
"uid": "33010936613959090808",
|
|
11
|
+
"time": 1757977147676,
|
|
12
|
+
"date": "Monday, September 15, 2025 - 3:59:07 PM",
|
|
13
|
+
"client": "0rL4FHJvgHPKEugdiJ1Sg2cyp6CXLQxhn8cTWZXyPDw=",
|
|
14
|
+
"agent": "GlH7B8FFq9jdutq9lAG6UdgMhJjRH1T9moVfeiQhWd8=",
|
|
15
|
+
"pkg": "hTHYtIYTeE11OiGZA+4U7Cfc0I7RkyDCqABgF1HI6Rc=",
|
|
16
|
+
"machine": "6G5tIypQYsx8U4pVZtkgMRMziZVUqe52RaCM17vKFBA=",
|
|
17
17
|
"warning": "⚠️ Unlawful Use Constitutes Lawful Consent to Forfeit of All Wealth, Property, and Holdings to the Internal Revenue Service (IRS) for Lawful Taxation, Investigation, and Restitution to the Rightful Legal Owner.",
|
|
18
18
|
"copyright": "©2025 Quinn A Michaels; All rights reserved.",
|
|
19
|
-
"md5": "
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha512": "
|
|
19
|
+
"md5": "WIg8jkS+1FivsIjVnPBUWw==",
|
|
20
|
+
"sha256": "RwkPoxteBzTwzREdNHcgTLTf7kkJA4K+Nv/oQFnyWmQ=",
|
|
21
|
+
"sha512": "u8ukg5b/lOQOa0Y+iFGJwvWllJ/dNmy2V0utXbwtDQJQi8dPiLfBbQSV6+yKChli+OPAcRD2uns49tC/PqsiyA=="
|
|
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": "33010936613959090808",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 3123155399059,
|
|
8
8
|
"key": "test",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "Monday, September 15, 2025 -
|
|
13
|
-
"client": "
|
|
14
|
-
"agent": "
|
|
15
|
-
"pkg": "
|
|
16
|
-
"machine": "
|
|
10
|
+
"uid": "33010936613959090808",
|
|
11
|
+
"time": 1757977147676,
|
|
12
|
+
"date": "Monday, September 15, 2025 - 3:59:07 PM",
|
|
13
|
+
"client": "0rL4FHJvgHPKEugdiJ1Sg2cyp6CXLQxhn8cTWZXyPDw=",
|
|
14
|
+
"agent": "GlH7B8FFq9jdutq9lAG6UdgMhJjRH1T9moVfeiQhWd8=",
|
|
15
|
+
"pkg": "hTHYtIYTeE11OiGZA+4U7Cfc0I7RkyDCqABgF1HI6Rc=",
|
|
16
|
+
"machine": "6G5tIypQYsx8U4pVZtkgMRMziZVUqe52RaCM17vKFBA=",
|
|
17
17
|
"warning": "⚠️ Unlawful Use Constitutes Lawful Consent to Forfeit of All Wealth, Property, and Holdings to the Internal Revenue Service (IRS) for Lawful Taxation, Investigation, and Restitution to the Rightful Legal Owner.",
|
|
18
18
|
"copyright": "©2025 Quinn A Michaels; All rights reserved.",
|
|
19
|
-
"md5": "
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha512": "
|
|
19
|
+
"md5": "WIg8jkS+1FivsIjVnPBUWw==",
|
|
20
|
+
"sha256": "RwkPoxteBzTwzREdNHcgTLTf7kkJA4K+Nv/oQFnyWmQ=",
|
|
21
|
+
"sha512": "u8ukg5b/lOQOa0Y+iFGJwvWllJ/dNmy2V0utXbwtDQJQi8dPiLfBbQSV6+yKChli+OPAcRD2uns49tC/PqsiyA=="
|
|
22
22
|
},
|
|
23
23
|
"prompt": {
|
|
24
24
|
"emoji": "🧪",
|
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:33010936613959090808 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import {EventEmitter} from 'node:events';
|
|
7
7
|
import {randomUUID} from 'crypto';
|
|
@@ -1937,26 +1937,36 @@ class Deva {
|
|
|
1937
1937
|
usage: this.prompt('text')
|
|
1938
1938
|
***************/
|
|
1939
1939
|
prompt(text) {
|
|
1940
|
-
if (!this._active) return this._messages.offline;
|
|
1941
|
-
const id = this.uid();
|
|
1942
|
-
|
|
1943
|
-
const
|
|
1944
|
-
const
|
|
1940
|
+
if (!this._active) return this._messages.offline; // return offline message if inactive.
|
|
1941
|
+
const id = this.uid(); // generate the id for the prompt
|
|
1942
|
+
const agent = this.agent(); // set the agent for the prompt
|
|
1943
|
+
const client = this.client(); // set the client for the prompt
|
|
1944
|
+
const {key} = agent; // set the key from agent
|
|
1945
|
+
const value = 'prompt'; // set the value of the key.
|
|
1946
|
+
// create data packet to generate prompt
|
|
1947
|
+
|
|
1948
|
+
this.state('data', `${key}:${value}:${id.uid}`)
|
|
1945
1949
|
const data = {
|
|
1946
1950
|
id,
|
|
1947
|
-
key
|
|
1948
|
-
value
|
|
1951
|
+
key,
|
|
1952
|
+
value,
|
|
1949
1953
|
agent,
|
|
1950
1954
|
client,
|
|
1951
1955
|
text,
|
|
1952
1956
|
created: Date.now(),
|
|
1953
1957
|
}
|
|
1954
1958
|
|
|
1955
|
-
|
|
1956
|
-
data.
|
|
1957
|
-
|
|
1959
|
+
this.state('hash', `${key}:${value}:md5:${id.uid}`)
|
|
1960
|
+
data.md5 = this.lib.hash(data); // md5 the data packet
|
|
1961
|
+
this.state('hash', `${key}:${value}:sha256:${id.uid}`)
|
|
1962
|
+
data.sha256 = this.lib.hash(data, 'sha256'); // sha256 the data packet
|
|
1963
|
+
this.state('hash', `${key}:${value}:sha512:${id.uid}`)
|
|
1964
|
+
data.sha512 = this.lib.hash(data, 'sha512'); // sha512 the data packet
|
|
1958
1965
|
|
|
1966
|
+
this.action('talk', `${key}:${value}:${id.uid}`);
|
|
1959
1967
|
this.talk(config.events.prompt, data);
|
|
1968
|
+
|
|
1969
|
+
this.action('return', `${key}:${value}:${id.uid}`);
|
|
1960
1970
|
return data;
|
|
1961
1971
|
}
|
|
1962
1972
|
|
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:33010936613959090808 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": "33010936613959090808",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.74",
|
|
5
5
|
"description": "The Deva Core",
|
|
6
6
|
"main": "index.js",
|
|
7
|
-
"license": "VLA:
|
|
7
|
+
"license": "VLA:33010936613959090808 LICENSE.md",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "Monday, September 15, 2025 -
|
|
12
|
-
"client": "
|
|
13
|
-
"agent": "
|
|
14
|
-
"pkg": "
|
|
15
|
-
"machine": "
|
|
9
|
+
"uid": "33010936613959090808",
|
|
10
|
+
"time": 1757977147676,
|
|
11
|
+
"date": "Monday, September 15, 2025 - 3:59:07 PM",
|
|
12
|
+
"client": "0rL4FHJvgHPKEugdiJ1Sg2cyp6CXLQxhn8cTWZXyPDw=",
|
|
13
|
+
"agent": "GlH7B8FFq9jdutq9lAG6UdgMhJjRH1T9moVfeiQhWd8=",
|
|
14
|
+
"pkg": "hTHYtIYTeE11OiGZA+4U7Cfc0I7RkyDCqABgF1HI6Rc=",
|
|
15
|
+
"machine": "6G5tIypQYsx8U4pVZtkgMRMziZVUqe52RaCM17vKFBA=",
|
|
16
16
|
"warning": "⚠️ Unlawful Use Constitutes Lawful Consent to Forfeit of All Wealth, Property, and Holdings to the Internal Revenue Service (IRS) for Lawful Taxation, Investigation, and Restitution to the Rightful Legal Owner.",
|
|
17
17
|
"copyright": "©2025 Quinn A Michaels; All rights reserved.",
|
|
18
|
-
"md5": "
|
|
19
|
-
"sha256": "
|
|
20
|
-
"sha512": "
|
|
18
|
+
"md5": "WIg8jkS+1FivsIjVnPBUWw==",
|
|
19
|
+
"sha256": "RwkPoxteBzTwzREdNHcgTLTf7kkJA4K+Nv/oQFnyWmQ=",
|
|
20
|
+
"sha512": "u8ukg5b/lOQOa0Y+iFGJwvWllJ/dNmy2V0utXbwtDQJQi8dPiLfBbQSV6+yKChli+OPAcRD2uns49tC/PqsiyA=="
|
|
21
21
|
},
|
|
22
22
|
"signature": {
|
|
23
23
|
"transport": 38967858327326474000,
|
|
@@ -256,7 +256,14 @@
|
|
|
256
256
|
"innocent": "😇 Innocent",
|
|
257
257
|
"guilty": "😞 Guilty",
|
|
258
258
|
"emergency": "🛟 Emergency",
|
|
259
|
-
"observe": "🔍 Observe"
|
|
259
|
+
"observe": "🔍 Observe",
|
|
260
|
+
"confidential": "🤐 Confidential",
|
|
261
|
+
"classified": "🔏 Classified",
|
|
262
|
+
"secret": "🔐 Secret",
|
|
263
|
+
"audit": "📋 Audit",
|
|
264
|
+
"inspect": "🧐 Inspect",
|
|
265
|
+
"flag": "🏴☠️ Flag",
|
|
266
|
+
"evidence": "🔖 Evidence"
|
|
260
267
|
},
|
|
261
268
|
"action": false,
|
|
262
269
|
"actions": {
|
|
@@ -343,7 +350,8 @@
|
|
|
343
350
|
"lawful": "😎 Lawful",
|
|
344
351
|
"unlawful": "😓 Unlawful",
|
|
345
352
|
"emergency": "🛟 Emergency",
|
|
346
|
-
"spy": "👀 Spy"
|
|
353
|
+
"spy": "👀 Spy",
|
|
354
|
+
"audit": "📋 Audit"
|
|
347
355
|
},
|
|
348
356
|
"feature": false,
|
|
349
357
|
"features": {
|
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:33010936613959090808 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import Client from './client.json' with {type:'json'};
|
|
7
7
|
const client = Client.DATA;
|