@indra.ai/deva 1.26.0 → 1.27.1
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 +9 -8
- package/README.md +1 -1
- package/_config.yml +1 -1
- package/config/actions.json +1 -1
- package/config/beliefs.json +1 -1
- package/config/events.json +1 -1
- package/config/features.json +1 -1
- package/config/index.js +1 -1
- package/config/intents.json +1 -1
- package/config/msgs.json +1 -1
- package/config/states.json +1 -1
- package/config/zones.json +1 -1
- package/examples/agent.json +7 -9
- package/examples/client.json +7 -9
- package/examples/hello-world.js +1 -1
- package/index.js +16 -12
- package/lib/index.js +1 -1
- package/package.json +9 -11
- package/tests/agent.json +6 -8
- package/tests/client.json +6 -8
- package/tests/index.js +2 -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:** 72599000613318234275
|
|
5
|
+
**Date:** Friday, November 21, 2025 - 5:57:47 PM
|
|
6
6
|
**Owner:** Quinn A Michaels
|
|
7
7
|
**Company:** Inside The Net, Inc.
|
|
8
8
|
**Email:** quinn@indra.ai
|
|
@@ -183,11 +183,12 @@ warning: ⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhas
|
|
|
183
183
|
copyright: Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
184
184
|
::end:license:hash:18025500157527139488
|
|
185
185
|
|
|
186
|
-
::begin:license:uid:
|
|
187
|
-
uid:
|
|
188
|
-
time:
|
|
189
|
-
date:
|
|
190
|
-
fingerprint:
|
|
186
|
+
::begin:license:uid:72599000613318234275
|
|
187
|
+
uid: 72599000613318234275
|
|
188
|
+
time: 1763776667850
|
|
189
|
+
date: Friday, November 21, 2025 - 5:57:47 PM
|
|
190
|
+
fingerprint: znbg594Uyhh8v5qLI/RQdD3X/gvIZS0tGGdtDOEprlM=
|
|
191
191
|
warning: ⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.
|
|
192
|
+
license: 19805757887465280873
|
|
192
193
|
copyright: Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
193
|
-
::end:license:uid:
|
|
194
|
+
::end:license:uid:72599000613318234275
|
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
|
Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
487
487
|
Legal Signature Required For Lawful Use.
|
|
488
|
-
Distributed under VLA:
|
|
488
|
+
Distributed under VLA:72599000613318234275 LICENSE.md
|
package/_config.yml
CHANGED
package/config/actions.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "60721547193585923944",
|
|
3
3
|
"title": "Deva Core Actions",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "72599000613318234275",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"consent": "✍️ Consent",
|
|
8
8
|
"client": "👨 Client",
|
package/config/beliefs.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "19434356359269778749",
|
|
3
3
|
"title": "Deva Core Beliefs",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved.",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "72599000613318234275",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"positive": "🧸 Positive",
|
|
8
8
|
"negative": "☠️ Negative",
|
package/config/events.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "53350871362784776361",
|
|
3
3
|
"title": "Deva Core Events",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "72599000613318234275",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"prompt": "devacore:prompt",
|
|
8
8
|
"error": "devacore:error",
|
package/config/features.json
CHANGED
package/config/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:72599000613318234275 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/intents.json
CHANGED
package/config/msgs.json
CHANGED
package/config/states.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "36004651258304827118",
|
|
3
3
|
"title": "Deva Core States",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved. ",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "72599000613318234275",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"online": "🤩 Online",
|
|
8
8
|
"offline": "😴 Offline",
|
package/config/zones.json
CHANGED
package/examples/agent.json
CHANGED
|
@@ -2,20 +2,18 @@
|
|
|
2
2
|
"name": "AGENT",
|
|
3
3
|
"describe": "AGENT FILE",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn Michaels. All rights reserved.",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "72599000613318234275",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 5380514963421,
|
|
8
8
|
"key": "deva",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "
|
|
13
|
-
"fingerprint": "
|
|
10
|
+
"uid": "72599000613318234275",
|
|
11
|
+
"time": 1763776667850,
|
|
12
|
+
"date": "Friday, November 21, 2025 - 5:57:47 PM",
|
|
13
|
+
"fingerprint": "znbg594Uyhh8v5qLI/RQdD3X/gvIZS0tGGdtDOEprlM=",
|
|
14
14
|
"warning": "⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"sha256": "kUllmuBVsEODbPU97lbtt1URY4QigkiUxdH9mkCHpTI=",
|
|
18
|
-
"sha512": "ddYHSgNVfNZ8/9RejjLvmxvil7lH8B+V7e/h9jTVdVxTdXiTQ6/u9t17O1ysp+GqjFNNSsSvTEiskWPG21H7eg=="
|
|
15
|
+
"license": "19805757887465280873",
|
|
16
|
+
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved."
|
|
19
17
|
},
|
|
20
18
|
"prompt": {
|
|
21
19
|
"emoji": "🍏",
|
package/examples/client.json
CHANGED
|
@@ -2,20 +2,18 @@
|
|
|
2
2
|
"name": "CLIENT",
|
|
3
3
|
"describe": "CLIENT FILE",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn Michaels. All rights reserved.",
|
|
5
|
-
"VLA": "
|
|
5
|
+
"VLA": "72599000613318234275",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"id": 3123155399059,
|
|
8
8
|
"key": "test",
|
|
9
9
|
"VLA": {
|
|
10
|
-
"uid": "
|
|
11
|
-
"time":
|
|
12
|
-
"date": "
|
|
13
|
-
"fingerprint": "
|
|
10
|
+
"uid": "72599000613318234275",
|
|
11
|
+
"time": 1763776667850,
|
|
12
|
+
"date": "Friday, November 21, 2025 - 5:57:47 PM",
|
|
13
|
+
"fingerprint": "znbg594Uyhh8v5qLI/RQdD3X/gvIZS0tGGdtDOEprlM=",
|
|
14
14
|
"warning": "⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"sha256": "kUllmuBVsEODbPU97lbtt1URY4QigkiUxdH9mkCHpTI=",
|
|
18
|
-
"sha512": "ddYHSgNVfNZ8/9RejjLvmxvil7lH8B+V7e/h9jTVdVxTdXiTQ6/u9t17O1ysp+GqjFNNSsSvTEiskWPG21H7eg=="
|
|
15
|
+
"license": "19805757887465280873",
|
|
16
|
+
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved."
|
|
19
17
|
},
|
|
20
18
|
"prompt": {
|
|
21
19
|
"emoji": "🧪",
|
package/examples/hello-world.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:72599000613318234275 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
|
// Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:72599000613318234275 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import {EventEmitter} from 'node:events';
|
|
7
7
|
import {createHash,randomUUID} from 'crypto';
|
|
@@ -2438,22 +2438,25 @@ class Deva {
|
|
|
2438
2438
|
uid(guid=false) {
|
|
2439
2439
|
const time = Date.now(); // set time to local constant
|
|
2440
2440
|
const date = this.lib.formatDate(time, 'long', true); // set date to local constant
|
|
2441
|
-
const
|
|
2441
|
+
const license = this._info.VLA ? this._info.VLA.uid : false;
|
|
2442
|
+
const client = this.client(); // get the client
|
|
2443
|
+
const agent = this.agent(); // get the agent
|
|
2444
|
+
const {profile} = agent;
|
|
2445
|
+
const machine = this.machine(); // get the machine hash
|
|
2446
|
+
|
|
2442
2447
|
const core_hash = this.hash(this._core, 'sha256');
|
|
2443
|
-
const machine_hash = this.machine().sha256; // get the machine hash
|
|
2444
2448
|
|
|
2445
|
-
const client_hash = this.client().sha256; // get client hash
|
|
2446
|
-
const agent_hash = this.agent().sha256; // get agent hash
|
|
2447
2449
|
const warning = this.vars.warning || this._agent.profile.warning || this._messages.warning; // agent or default warning
|
|
2448
2450
|
const copyright = this._agent.profile.copyright || this._core.copyright; // agent or default copyright
|
|
2449
2451
|
|
|
2450
2452
|
const status = this._agent.profile.status || this._messages.status;
|
|
2451
2453
|
|
|
2452
2454
|
const fingerprint_data = {
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
+
license,
|
|
2456
|
+
client: client.sha256,
|
|
2457
|
+
agent: agent.sha256,
|
|
2458
|
+
machine: machine.sha256,
|
|
2455
2459
|
core_hash,
|
|
2456
|
-
machine_hash,
|
|
2457
2460
|
};
|
|
2458
2461
|
const fingerprint = this.hash(fingerprint_data, 'sha256');
|
|
2459
2462
|
|
|
@@ -2461,11 +2464,12 @@ class Deva {
|
|
|
2461
2464
|
uid: false,
|
|
2462
2465
|
time,
|
|
2463
2466
|
date,
|
|
2467
|
+
license,
|
|
2464
2468
|
fingerprint,
|
|
2465
|
-
client:
|
|
2466
|
-
agent:
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
+
client: client.sha256,
|
|
2470
|
+
agent: agent.sha256,
|
|
2471
|
+
machine: machine.sha256,
|
|
2472
|
+
core_hash,
|
|
2469
2473
|
status,
|
|
2470
2474
|
warning,
|
|
2471
2475
|
copyright,
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:72599000613318234275 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
import fs from 'fs';
|
package/package.json
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "72599000613318234275",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.27.1",
|
|
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:72599000613318234275 LICENSE.md",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "
|
|
12
|
-
"fingerprint": "
|
|
9
|
+
"uid": "72599000613318234275",
|
|
10
|
+
"time": 1763776667850,
|
|
11
|
+
"date": "Friday, November 21, 2025 - 5:57:47 PM",
|
|
12
|
+
"fingerprint": "znbg594Uyhh8v5qLI/RQdD3X/gvIZS0tGGdtDOEprlM=",
|
|
13
13
|
"warning": "⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"sha256": "kUllmuBVsEODbPU97lbtt1URY4QigkiUxdH9mkCHpTI=",
|
|
17
|
-
"sha512": "ddYHSgNVfNZ8/9RejjLvmxvil7lH8B+V7e/h9jTVdVxTdXiTQ6/u9t17O1ysp+GqjFNNSsSvTEiskWPG21H7eg=="
|
|
14
|
+
"license": "19805757887465280873",
|
|
15
|
+
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved."
|
|
18
16
|
},
|
|
19
17
|
"author": {
|
|
20
18
|
"name": "Quinn A Michaels",
|
package/tests/agent.json
CHANGED
|
@@ -3,15 +3,13 @@
|
|
|
3
3
|
"describe": "AGENT FILE",
|
|
4
4
|
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved.",
|
|
5
5
|
"VLA": {
|
|
6
|
-
"uid": "
|
|
7
|
-
"time":
|
|
8
|
-
"date": "
|
|
9
|
-
"fingerprint": "
|
|
6
|
+
"uid": "72599000613318234275",
|
|
7
|
+
"time": 1763776667850,
|
|
8
|
+
"date": "Friday, November 21, 2025 - 5:57:47 PM",
|
|
9
|
+
"fingerprint": "znbg594Uyhh8v5qLI/RQdD3X/gvIZS0tGGdtDOEprlM=",
|
|
10
10
|
"warning": "⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"sha256": "kUllmuBVsEODbPU97lbtt1URY4QigkiUxdH9mkCHpTI=",
|
|
14
|
-
"sha512": "ddYHSgNVfNZ8/9RejjLvmxvil7lH8B+V7e/h9jTVdVxTdXiTQ6/u9t17O1ysp+GqjFNNSsSvTEiskWPG21H7eg=="
|
|
11
|
+
"license": "19805757887465280873",
|
|
12
|
+
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved."
|
|
15
13
|
},
|
|
16
14
|
"DATA": {
|
|
17
15
|
"id": "52593981315505592029",
|
package/tests/client.json
CHANGED
|
@@ -6,15 +6,13 @@
|
|
|
6
6
|
"id": "44091450722329207445",
|
|
7
7
|
"key": "test",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"date": "
|
|
12
|
-
"fingerprint": "
|
|
9
|
+
"uid": "72599000613318234275",
|
|
10
|
+
"time": 1763776667850,
|
|
11
|
+
"date": "Friday, November 21, 2025 - 5:57:47 PM",
|
|
12
|
+
"fingerprint": "znbg594Uyhh8v5qLI/RQdD3X/gvIZS0tGGdtDOEprlM=",
|
|
13
13
|
"warning": "⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"sha256": "kUllmuBVsEODbPU97lbtt1URY4QigkiUxdH9mkCHpTI=",
|
|
17
|
-
"sha512": "ddYHSgNVfNZ8/9RejjLvmxvil7lH8B+V7e/h9jTVdVxTdXiTQ6/u9t17O1ysp+GqjFNNSsSvTEiskWPG21H7eg=="
|
|
14
|
+
"license": "19805757887465280873",
|
|
15
|
+
"copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved."
|
|
18
16
|
},
|
|
19
17
|
"prompt": {
|
|
20
18
|
"emoji": "🧪",
|
package/tests/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
|
|
3
3
|
// Legal Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
4
|
+
// Distributed under VLA:72599000613318234275 LICENSE.md
|
|
5
5
|
|
|
6
6
|
import Client from './client.json' with {type:'json'};
|
|
7
7
|
const client = Client.DATA;
|
|
@@ -27,6 +27,7 @@ const info = {
|
|
|
27
27
|
dir: __dirname,
|
|
28
28
|
git: pkg.repository.url,
|
|
29
29
|
bugs: pkg.bugs.url,
|
|
30
|
+
VLA: pkg.VLA,
|
|
30
31
|
license: 'TESTING ONLY',
|
|
31
32
|
};
|
|
32
33
|
|