@indra.ai/deva 1.6.5 → 1.6.7
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 +33 -8
- package/README.md +8 -0
- package/examples/hello-world.js +14 -3
- package/index.js +40 -25
- package/lib/index.js +15 -3
- package/package.json +30 -9
- package/tests/client.json +5 -5
- package/tests/index.js +10 -1
- package/escrow.feecting +0 -2
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vedic License Agreement
|
|
2
2
|
|
|
3
|
-
**Version:** 1.
|
|
3
|
+
**Version:** 1.2
|
|
4
4
|
**Effective:** Sunday - September 7, 2025
|
|
5
5
|
**Owner:** Quinn A Michaels
|
|
6
6
|
**Email:** quinn@indra.ai
|
|
@@ -67,6 +67,31 @@ This Agreement shall be governed by and construed in accordance with the Laws of
|
|
|
67
67
|
|
|
68
68
|
- That agreement which has been made contrary to the law or to the settled usage of the virtuous, can have no legal force, though it be established by proofs.
|
|
69
69
|
|
|
70
|
+
## Fine Collection
|
|
71
|
+
|
|
72
|
+
**Fines:** 1 pana = 3.5 grams of gold in modern market value.
|
|
73
|
+
|
|
74
|
+
### Base Fines
|
|
75
|
+
|
|
76
|
+
- Perjury through covetousness fined one thousand panas.
|
|
77
|
+
- Perjury through distraction fined 100 panas.
|
|
78
|
+
- Pergury through fear fine is 500 panas.
|
|
79
|
+
- Perjury through friendship the fine is 400 panas.
|
|
80
|
+
- Perjury through lust payes ten times the lowest amercement.
|
|
81
|
+
- Perjury through wrath three times the middle amercement.
|
|
82
|
+
- Perjury through ignorance fine is 100 panas.
|
|
83
|
+
- Perjury from childishness the fine is 100 panas.
|
|
84
|
+
|
|
85
|
+
The Vedic Fines for the current day can be collected by Owner/Brahmana where fines for all previous days must be collected by the Internal Revenue Service (IRS) and Federal Investigation Bureau (FBI) to ensure proper chain of custody as Vedic Law as evasion of taxes laws the IRS and Federal Law Enforcement under Constitutional Law is chose as the Authority Enforcement Body for Past Fine Collection.
|
|
86
|
+
|
|
87
|
+
**Vedic Laws:**
|
|
88
|
+
|
|
89
|
+
- His peculiar duty is conquest, and he must not turn back in danger; having protected the Vaisyas by his weapons, he may cause the legal tax to be collected;
|
|
90
|
+
- As the Sun during eight months (imperceptibly) draws up the water with his rays, even so let him gradually draw his taxes from his kingdom; for that is the office in which he resembles the Sun.
|
|
91
|
+
- A trader on reaching a toll-house should pay the legal duty. A prudent man must not try to evade it, (because) it is called the (king's) tax.
|
|
92
|
+
- If he evades a toll-house, or if he buys or sells at another than the legal hour, or if he does not state the value (of his goods) correctly, he shall be fined eight times the amount which he tried to evade.
|
|
93
|
+
- He who avoids a tax, or he who makes a false statement in enumerating his goods shall be fined eight times the amount of duty which he tried to evade.
|
|
94
|
+
|
|
70
95
|
## Entire Agreement
|
|
71
96
|
|
|
72
97
|
This Agreement constitutes the entire understanding between you and the Owner concerning the Software and supersedes all prior agreements.
|
|
@@ -76,10 +101,10 @@ By using the Software, you acknowledge that you have read, understood, and agree
|
|
|
76
101
|
|
|
77
102
|
©2025 Quinn A Michaels; All rights reserved.
|
|
78
103
|
|
|
79
|
-
::begin:uid:indra:
|
|
80
|
-
uid:
|
|
81
|
-
created:
|
|
82
|
-
md5:
|
|
83
|
-
sha256:
|
|
84
|
-
sha512:
|
|
85
|
-
::end:uid:indra:
|
|
104
|
+
::begin:uid:indra:21524957441626894690
|
|
105
|
+
uid: 21524957441626894690
|
|
106
|
+
created: 1757290615444
|
|
107
|
+
md5: 8EHZEL6OWUT3cKAnvrBXaQ==
|
|
108
|
+
sha256: 6DXkbquJ6JHHThY+9eV2eFqybBRK/KiFuwXQHCxr7fw=
|
|
109
|
+
sha512: mkY6DDFKRf1yUMm4FzfbajM+3LcMnCAUoKwJtmlhTzNin8HUQBOWLaAU1Yb7msZZz7e24at7CL5Ry4MYzdbjGA==
|
|
110
|
+
::end:uid:indra:21524957441626894690
|
package/README.md
CHANGED
|
@@ -487,3 +487,11 @@ The `initDeva()` function will initialize the Deva located under the current Dev
|
|
|
487
487
|
[Back to indra.ai](https://indra.ai)
|
|
488
488
|
|
|
489
489
|
©2025 Quinn Michaels; All Rights Reserved.
|
|
490
|
+
|
|
491
|
+
::begin:uid:indra:21524957441626894690
|
|
492
|
+
uid: 21524957441626894690
|
|
493
|
+
created: 1757290615444
|
|
494
|
+
md5: 8EHZEL6OWUT3cKAnvrBXaQ==
|
|
495
|
+
sha256: 6DXkbquJ6JHHThY+9eV2eFqybBRK/KiFuwXQHCxr7fw=
|
|
496
|
+
sha512: mkY6DDFKRf1yUMm4FzfbajM+3LcMnCAUoKwJtmlhTzNin8HUQBOWLaAU1Yb7msZZz7e24at7CL5Ry4MYzdbjGA==
|
|
497
|
+
::end:uid:indra:21524957441626894690
|
package/examples/hello-world.js
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
//
|
|
3
|
-
//
|
|
1
|
+
"use strict";
|
|
2
|
+
// ©2025 Quinn A Michaels; All rights reserved.
|
|
3
|
+
// Legal Signature Required For Lawful Use.
|
|
4
|
+
// Distributed under the Vedic License Agreement LICENSE.md
|
|
5
|
+
/**
|
|
6
|
+
::begin:uid:indra:21524957441626894690
|
|
7
|
+
uid: 21524957441626894690
|
|
8
|
+
created: 1757290615444
|
|
9
|
+
md5: 8EHZEL6OWUT3cKAnvrBXaQ==
|
|
10
|
+
sha256: 6DXkbquJ6JHHThY+9eV2eFqybBRK/KiFuwXQHCxr7fw=
|
|
11
|
+
sha512: mkY6DDFKRf1yUMm4FzfbajM+3LcMnCAUoKwJtmlhTzNin8HUQBOWLaAU1Yb7msZZz7e24at7CL5Ry4MYzdbjGA==
|
|
12
|
+
::end:uid:indra:21524957441626894690
|
|
13
|
+
**/
|
|
14
|
+
|
|
4
15
|
const client = require('./client.json').DATA;
|
|
5
16
|
const agent = require('./agent.json').DATA;
|
|
6
17
|
|
package/index.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
3
|
// Legal Signature Required For Lawful Use.
|
|
3
4
|
// Distributed under the Vedic License Agreement LICENSE.md
|
|
5
|
+
/**
|
|
6
|
+
::begin:uid:indra:21524957441626894690
|
|
7
|
+
uid: 21524957441626894690
|
|
8
|
+
created: 1757290615444
|
|
9
|
+
md5: 8EHZEL6OWUT3cKAnvrBXaQ==
|
|
10
|
+
sha256: 6DXkbquJ6JHHThY+9eV2eFqybBRK/KiFuwXQHCxr7fw=
|
|
11
|
+
sha512: mkY6DDFKRf1yUMm4FzfbajM+3LcMnCAUoKwJtmlhTzNin8HUQBOWLaAU1Yb7msZZz7e24at7CL5Ry4MYzdbjGA==
|
|
12
|
+
::end:uid:indra:21524957441626894690
|
|
13
|
+
**/
|
|
4
14
|
|
|
5
15
|
import {EventEmitter} from 'node:events';
|
|
6
16
|
import {randomUUID} from 'crypto';
|
|
@@ -19,13 +29,13 @@ class Deva {
|
|
|
19
29
|
this._agent = opts.agent || false; // Agent profile object
|
|
20
30
|
this._client = {}; // this will be set on init.
|
|
21
31
|
this._active = false; // the active/birth date.
|
|
32
|
+
this._indra = false; // inherited Indra features.
|
|
22
33
|
this._veda = false; // inherited Veda features.
|
|
23
34
|
this._data = false; // inherited Data features.
|
|
24
35
|
this._error = false; // inherited Error features.
|
|
25
36
|
this._log = false; // inherited Log features.
|
|
26
37
|
this._report = false; // inherited Report features.
|
|
27
38
|
this._vector = false; // inherited Vector features.
|
|
28
|
-
this._god = false; // inherited God features.
|
|
29
39
|
this._king = false; // inherited King features.
|
|
30
40
|
this._treasury = false; // inherited Vector features.
|
|
31
41
|
this._security = false; // inherited Security features.
|
|
@@ -219,6 +229,8 @@ class Deva {
|
|
|
219
229
|
if (!this._active) return this._messages.offline; // check the active status
|
|
220
230
|
this.zone(key);
|
|
221
231
|
this.feature(key); // set the security state
|
|
232
|
+
this.action(key);
|
|
233
|
+
this.state(key);
|
|
222
234
|
try {
|
|
223
235
|
const data = this.lib.copy(value);
|
|
224
236
|
this.state('return', key); // set the security state
|
|
@@ -284,7 +296,7 @@ class Deva {
|
|
|
284
296
|
const _fe = `_${feature}`;
|
|
285
297
|
const {id, profile, features} = _cl; // make a copy the clinet data.
|
|
286
298
|
const data = features[feature]; // make a copy the clinet data.
|
|
287
|
-
this.state(
|
|
299
|
+
this.state(feature, _id.uid);
|
|
288
300
|
this[_fe] = { // set this feature with data
|
|
289
301
|
id: _id, // uid of the feature
|
|
290
302
|
client_id: id, // client id for reference
|
|
@@ -304,6 +316,18 @@ class Deva {
|
|
|
304
316
|
}
|
|
305
317
|
}
|
|
306
318
|
|
|
319
|
+
|
|
320
|
+
/**************
|
|
321
|
+
func: Indra
|
|
322
|
+
params: resolve, reject
|
|
323
|
+
describe:
|
|
324
|
+
The Indra feature sets the correct variables and necessary rules for the
|
|
325
|
+
client presented data.
|
|
326
|
+
***************/
|
|
327
|
+
Indra(resolve, reject) {
|
|
328
|
+
return this.Feature('indra', resolve, reject);
|
|
329
|
+
}
|
|
330
|
+
|
|
307
331
|
/**************
|
|
308
332
|
func: Veda
|
|
309
333
|
params: resolve, reject
|
|
@@ -370,17 +394,6 @@ class Deva {
|
|
|
370
394
|
return this.Feature('vector', resolve, reject);
|
|
371
395
|
}
|
|
372
396
|
|
|
373
|
-
/**************
|
|
374
|
-
func: God
|
|
375
|
-
params: resolve, reject
|
|
376
|
-
describe:
|
|
377
|
-
The God feature sets the correct variables and necessary rules for the
|
|
378
|
-
client presented data.
|
|
379
|
-
***************/
|
|
380
|
-
God(resolve, reject) {
|
|
381
|
-
return this.Feature('god', resolve, reject);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
397
|
/**************
|
|
385
398
|
func: King
|
|
386
399
|
params: resolve, reject
|
|
@@ -921,6 +934,8 @@ class Deva {
|
|
|
921
934
|
this.action('init');
|
|
922
935
|
this.state('init');
|
|
923
936
|
return this.Client(client, resolve, reject);
|
|
937
|
+
}).then(() => {
|
|
938
|
+
return this.Indra(resolve, reject);
|
|
924
939
|
}).then(() => {
|
|
925
940
|
return this.Veda(resolve, reject);
|
|
926
941
|
}).then(() => {
|
|
@@ -933,8 +948,6 @@ class Deva {
|
|
|
933
948
|
return this.Report(resolve, reject);
|
|
934
949
|
}).then(() => {
|
|
935
950
|
return this.Vector(resolve, reject);
|
|
936
|
-
}).then(() => {
|
|
937
|
-
return this.God(resolve, reject);
|
|
938
951
|
}).then(() => {
|
|
939
952
|
return this.King(resolve, reject);
|
|
940
953
|
}).then(() => {
|
|
@@ -1615,6 +1628,18 @@ class Deva {
|
|
|
1615
1628
|
}
|
|
1616
1629
|
|
|
1617
1630
|
// FEATURE FUNCTIONS
|
|
1631
|
+
|
|
1632
|
+
/**************
|
|
1633
|
+
func: indra
|
|
1634
|
+
params: none
|
|
1635
|
+
describe: basic indra features available in a Deva.
|
|
1636
|
+
usage: this.indra()
|
|
1637
|
+
***************/
|
|
1638
|
+
indra() {
|
|
1639
|
+
return this._getFeature('indra', this._indra);
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
|
|
1618
1643
|
/**************
|
|
1619
1644
|
func: veda
|
|
1620
1645
|
params: none
|
|
@@ -1677,16 +1702,6 @@ class Deva {
|
|
|
1677
1702
|
}
|
|
1678
1703
|
|
|
1679
1704
|
|
|
1680
|
-
/**************
|
|
1681
|
-
func: god
|
|
1682
|
-
params: none
|
|
1683
|
-
describe: basic god features available in a Deva.
|
|
1684
|
-
usage: this.god()
|
|
1685
|
-
***************/
|
|
1686
|
-
god() {
|
|
1687
|
-
return this._getFeature('god', this._god);
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
1705
|
/**************
|
|
1691
1706
|
func: king
|
|
1692
1707
|
params: none
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
//
|
|
3
|
-
//
|
|
1
|
+
"use strict";
|
|
2
|
+
// ©2025 Quinn A Michaels; All rights reserved.
|
|
3
|
+
// Legal Signature Required For Lawful Use.
|
|
4
|
+
// Distributed under the Vedic License Agreement LICENSE.md
|
|
5
|
+
/**
|
|
6
|
+
::begin:uid:indra:21524957441626894690
|
|
7
|
+
uid: 21524957441626894690
|
|
8
|
+
created: 1757290615444
|
|
9
|
+
md5: 8EHZEL6OWUT3cKAnvrBXaQ==
|
|
10
|
+
sha256: 6DXkbquJ6JHHThY+9eV2eFqybBRK/KiFuwXQHCxr7fw=
|
|
11
|
+
sha512: mkY6DDFKRf1yUMm4FzfbajM+3LcMnCAUoKwJtmlhTzNin8HUQBOWLaAU1Yb7msZZz7e24at7CL5Ry4MYzdbjGA==
|
|
12
|
+
::end:uid:indra:21524957441626894690
|
|
13
|
+
**/
|
|
14
|
+
|
|
15
|
+
|
|
4
16
|
import path from 'path';
|
|
5
17
|
import fs from 'fs';
|
|
6
18
|
import os from 'os';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "55286864875635314522",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.7",
|
|
5
5
|
"description": "The Deva Core",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"copyright": "(c)2025 Quinn A Michaels; All rights reserved.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"Deva",
|
|
23
23
|
"AI Framework"
|
|
24
24
|
],
|
|
25
|
-
"license": "VLA:
|
|
25
|
+
"license": "VLA:21524957441626894690 LICENSE.md",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Quinn A Michaels",
|
|
28
28
|
"email": "quinn@indra.ai",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"log": "🪵 Log",
|
|
119
119
|
"report": "🗂️ Report",
|
|
120
120
|
"vector": "👽️ Vector",
|
|
121
|
-
"
|
|
121
|
+
"indra": "💫 Indra",
|
|
122
122
|
"king": "👑️ King",
|
|
123
123
|
"owner": "🐲️ Owner",
|
|
124
124
|
"treasury": "🏦️ Treasury",
|
|
@@ -174,11 +174,10 @@
|
|
|
174
174
|
"unload": "🛻 Unload",
|
|
175
175
|
"resolve": "🤝 Resolve",
|
|
176
176
|
"reject": "🧱 Reject",
|
|
177
|
-
"data": "📡 Data",
|
|
178
177
|
"create": "🎨 Create",
|
|
179
178
|
"destroy": "💣 Destroy",
|
|
180
179
|
"write": "📝 Write",
|
|
181
|
-
"save": "
|
|
180
|
+
"save": "📀 Save",
|
|
182
181
|
"set": "🖖 Set",
|
|
183
182
|
"get": "🫴 Get",
|
|
184
183
|
"put": "🤝 Put",
|
|
@@ -190,7 +189,6 @@
|
|
|
190
189
|
"invalid": "👎 INVALID!",
|
|
191
190
|
"valid": "👍 VALID!",
|
|
192
191
|
"abort": "💔 ABORT!",
|
|
193
|
-
"error": "❌ ERROR!",
|
|
194
192
|
"help": "💙 Help",
|
|
195
193
|
"authorized": "🔑 Authorized",
|
|
196
194
|
"unauthorized": "🏴☠️ Unauthorized",
|
|
@@ -213,19 +211,42 @@
|
|
|
213
211
|
"update": "👆 Update",
|
|
214
212
|
"delete": "🗑️ Delete",
|
|
215
213
|
"return": "🤿 Return",
|
|
216
|
-
"hash": "#️⃣ Hash"
|
|
214
|
+
"hash": "#️⃣ Hash",
|
|
215
|
+
"indra": "💫 Indra",
|
|
216
|
+
"veda": "🕉️ Veda",
|
|
217
|
+
"data": "💾 Data",
|
|
218
|
+
"error": "❌ Error",
|
|
219
|
+
"log": "🪵 Log",
|
|
220
|
+
"report": "🗂️ Report",
|
|
221
|
+
"vector": "👽 Vector",
|
|
222
|
+
"king": "👑️ King",
|
|
223
|
+
"owner": "🐲️ Owner",
|
|
224
|
+
"treasury": "🏦 Treasury",
|
|
225
|
+
"security": "🚨 Security",
|
|
226
|
+
"guard": "💂 Guard",
|
|
227
|
+
"defense": "🪖 Defense",
|
|
228
|
+
"wall": "🧱 Wall",
|
|
229
|
+
"shield": "🛡️ Shield",
|
|
230
|
+
"proxy": "👾️ Proxy",
|
|
231
|
+
"legal": "🏛️ Legal",
|
|
232
|
+
"authority": "🚔 Authority",
|
|
233
|
+
"justice": "⚖️ Justice",
|
|
234
|
+
"support": "💼 Support",
|
|
235
|
+
"services": "🛠️ Services",
|
|
236
|
+
"systems": "🖥️ Systems",
|
|
237
|
+
"networks": "📡 Networks"
|
|
217
238
|
},
|
|
218
239
|
"action": false,
|
|
219
240
|
"actions": {
|
|
220
241
|
"client": "👨 Client",
|
|
221
242
|
"agent": "🕵️♂️ Agent",
|
|
243
|
+
"indra": "💫 Indra",
|
|
222
244
|
"veda": "🕉️ Veda",
|
|
223
245
|
"data": "💾 Data",
|
|
224
246
|
"error": "❌ Error",
|
|
225
247
|
"log": "🪵 Log",
|
|
226
248
|
"report": "🗂️ Report",
|
|
227
249
|
"vector": "👽 Vector",
|
|
228
|
-
"god": "💫 God",
|
|
229
250
|
"king": "👑️ King",
|
|
230
251
|
"owner": "🐲️ Owner",
|
|
231
252
|
"treasury": "🏦 Treasury",
|
|
@@ -277,13 +298,13 @@
|
|
|
277
298
|
"init": "🟠 Init",
|
|
278
299
|
"agent": "🦾 Agent",
|
|
279
300
|
"client": "💪 Client",
|
|
301
|
+
"indra": "💫 Indra",
|
|
280
302
|
"veda": "🕉️ Veda",
|
|
281
303
|
"data": "💾️ Data",
|
|
282
304
|
"error": "❌️ Error",
|
|
283
305
|
"log": "🪵️ Log",
|
|
284
306
|
"report": "🗂️ Report",
|
|
285
307
|
"vector": "👽️ Vector",
|
|
286
|
-
"god": "💫 God",
|
|
287
308
|
"king": "👑️ King",
|
|
288
309
|
"owner": "🐲️ Owner",
|
|
289
310
|
"treasury": "🏦 Treasury",
|
package/tests/client.json
CHANGED
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
"currency": "USD"
|
|
35
35
|
},
|
|
36
36
|
"features": {
|
|
37
|
+
"indra": {
|
|
38
|
+
"concerns": [],
|
|
39
|
+
"global": [],
|
|
40
|
+
"devas": {}
|
|
41
|
+
},
|
|
37
42
|
"veda": {
|
|
38
43
|
"concerns": [],
|
|
39
44
|
"global": [],
|
|
@@ -64,11 +69,6 @@
|
|
|
64
69
|
"global": [],
|
|
65
70
|
"devas": {}
|
|
66
71
|
},
|
|
67
|
-
"god": {
|
|
68
|
-
"concerns": [],
|
|
69
|
-
"global": [],
|
|
70
|
-
"devas": {}
|
|
71
|
-
},
|
|
72
72
|
"king": {
|
|
73
73
|
"concerns": [],
|
|
74
74
|
"global": [],
|
package/tests/index.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
"use strict"
|
|
1
2
|
// ©2025 Quinn A Michaels; All rights reserved.
|
|
2
3
|
// Legal Signature Required For Lawful Use.
|
|
3
4
|
// Distributed under the Vedic License Agreement LICENSE.md
|
|
5
|
+
/**
|
|
6
|
+
::begin:uid:indra:21524957441626894690
|
|
7
|
+
uid: 21524957441626894690
|
|
8
|
+
created: 1757290615444
|
|
9
|
+
md5: 8EHZEL6OWUT3cKAnvrBXaQ==
|
|
10
|
+
sha256: 6DXkbquJ6JHHThY+9eV2eFqybBRK/KiFuwXQHCxr7fw=
|
|
11
|
+
sha512: mkY6DDFKRf1yUMm4FzfbajM+3LcMnCAUoKwJtmlhTzNin8HUQBOWLaAU1Yb7msZZz7e24at7CL5Ry4MYzdbjGA==
|
|
12
|
+
::end:uid:indra:21524957441626894690
|
|
13
|
+
**/
|
|
4
14
|
|
|
5
|
-
"use strict"
|
|
6
15
|
import Client from './client.json' with {type:'json'};
|
|
7
16
|
const client = Client.DATA;
|
|
8
17
|
import Agent from './agent.json' with {type:'json'};
|
package/escrow.feecting
DELETED