@indra.ai/deva.security 0.14.5 → 0.16.0

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 CHANGED
@@ -1,13 +1,13 @@
1
1
  # Vedic License Agreement
2
2
 
3
3
  **Version:** 1.4.1
4
- **VLA:** 40899039373337698066
5
- **Effective:** Friday, November 21, 2025 - 9:12:59 PM
4
+ **VLA:** 72981472549283584069
5
+ **Effective:** Sunday, January 11, 2026 - 7:42:24 AM
6
6
  **Owner:** Quinn A Michaels
7
7
  **Company:** Inside The Net, Inc.
8
8
  **Email:** quinn@indra.ai
9
9
  **Link:** https://indra.ai
10
- **Copyright:** Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
10
+ **Copyright:** Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
11
11
 
12
12
  This license agreement (“Agreement”) governs the use of the Security Deva (“Software”). By accessing or using the Software, you agree to the terms and conditions set forth below. If you do not agree, you are prohibited from using the Software.
13
13
 
@@ -168,4 +168,14 @@ warning: ⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhas
168
168
  license: 46220923248993739422
169
169
  fingerprint: +Af4R9HnVVRMSKsfOrid0UvjQ8xDgR67knhl7W5tWwk=
170
170
  copyright: Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
171
- ::end:license:uid:40899039373337698066
171
+ ::end:license:uid:40899039373337698066
172
+
173
+ ::begin:license:uid:72981472549283584069
174
+ uid: 72981472549283584069
175
+ time: 1768146144150
176
+ date: Sunday, January 11, 2026 - 7:42:24 AM
177
+ warning: 🪪 #LicenseDeva warns #UnlawfulUse or #Duplication constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance has been #Ordained the #Punishment for #Sahasa of the #HighestDegree. #Quinn #QuinnMichaels #IndraAI #DevaWorld #LicenseDeva #VedicLicenseAgreement
178
+ license: 44486733861528360966
179
+ fingerprint: 6y5lgW2A0vpKdaqa4twQOpZGZQb7MQtke50SVIndM9k=
180
+ copyright: Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
181
+ ::end:license:uid:72981472549283584069
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # SecurityDeva
2
2
  The SecurityDeva
3
3
 
4
- Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
4
+ Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
5
5
  Legal Signature Required For Lawful Use.
6
- Distributed under VLA:40899039373337698066 LICENSE.md
6
+ Distributed under VLA:72981472549283584069 LICENSE.md
7
+ Sunday, January 11, 2026 - 7:42:24 A
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
2
+ // Security Deva Feature Methods
3
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
3
4
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:40899039373337698066 LICENSE.md
5
+ // Distributed under VLA:72981472549283584069 LICENSE.md
6
+ // Sunday, January 11, 2026 - 7:42:24 AM
5
7
 
6
8
  export default {
7
9
 
@@ -28,7 +30,7 @@ export default {
28
30
  this.feature('security', `uid:${id.uid}`);
29
31
  this.zone('security', `uid:${id.uid}`);
30
32
  this.belief('security', `uid:${id.uid}`)
31
- const {key} = this.agent();
33
+ const {key,profile,prompt} = this.agent();
32
34
 
33
35
  const showJSON = packet.q.meta.params[1] || false;
34
36
  const status = `${key}:uid:${id.uid}`;
@@ -70,8 +72,6 @@ export default {
70
72
  }).catch(err => {
71
73
  return this.err(err, packet, reject);
72
74
  });
73
-
74
-
75
75
  });
76
76
  },
77
77
 
@@ -301,48 +301,63 @@ export default {
301
301
  describe: Return system date for today.
302
302
  ***************/
303
303
  async date(packet) {
304
- const id = this.uid();
305
- const {params} = packet.q.meta;
306
- const {key} = this.agent();
307
-
308
- this.zone('security', `date:${id.uid}`);
309
- this.feature('security', `date:${id.uid}`);
310
- this.action('method', `date:${id.uid}`);
311
-
312
- const format = params[1] ? params[1] : 'long';
313
- const time = params[2] ? packet.q.meta.params[2] : false;
314
-
315
- this.state('set', `date:${id.uid}`);
316
- const date = this.lib.formatDate(Date.now(), format, time);
317
-
318
- const data = {
319
- id,
320
- date,
321
- }
322
-
323
- this.action('hash', `date:data:md5:${id.uid}`); // set action hash
324
- data.md5 = this.hash(date, 'md5');
325
- this.action('hash', `date:data:sha256:${id.uid}`); // set action hash
326
- data.sha256 = this.hash(date, 'sha256');
327
- this.action('hash', `date:data:sha512:${id.uid}`); // set action hash
328
- data.sha512 = this.hash(date, 'sha512');
304
+ return new Promise((resolve, reject) => {
305
+ const id = this.uid();
306
+ const time = Date.now();
307
+ const {params} = packet.q.meta;
308
+ const {key} = this.agent();
309
+ this.zone('security', `date:${id.uid}`);
310
+ this.feature('security', `date:${id.uid}`);
311
+ this.action('method', `date:${id.uid}`);
312
+
313
+ this.state('set', `date:setFormat:${id.uid}`); // set state set
314
+ const setFormat = params[1] ? params[1] : 'long';
315
+ this.state('set', `date:setTime:${id.uid}`); // set state set
316
+ const setTime = params[2] ? packet.q.meta.params[2] : false;
317
+
318
+ this.state('set', `date:${id.uid}`);
319
+ const date = this.lib.formatDate(time, setFormat, setTime);
320
+
321
+ const data = {
322
+ id,
323
+ time,
324
+ date,
325
+ }
326
+
327
+ this.action('hash', `date:data:md5:${id.uid}`); // set action hash
328
+ data.md5 = this.hash(date, 'md5');
329
+ this.action('hash', `date:data:sha256:${id.uid}`); // set action hash
330
+ data.sha256 = this.hash(date, 'sha256');
331
+ this.action('hash', `date:data:sha512:${id.uid}`); // set action hash
332
+ data.sha512 = this.hash(date, 'sha512');
333
+
334
+ const text = [
335
+ `${this.box.begin}:${key}:date:${data.id.uid}`,
336
+ `uid: ${data.id.uid}`,
337
+ `time: ${data.time}`,
338
+ `date: ${data.date}`,
339
+ `copyright: ${data.id.copyright}`,
340
+ `md5: ${data.md5}`,
341
+ `sha256: ${data.sha256}`,
342
+ `sha512: ${data.sha512}`,
343
+ `${this.box.end}:${key}:date:${data.id.uid}`
344
+ ].join('\n');
345
+
346
+ this.question(`${this.askChr}feecting parse ${text}`).then(feecting => {
347
+ data.feecting = feecting;
348
+ this.action('return', `date:${id.uid}`);
349
+ this.state('valid', `date:${id.uid}`);
350
+ this.intent('good', `date:${id.uid}`);
351
+ return resolve({
352
+ text: feecting.a.text,
353
+ html: feecting.a.html,
354
+ data,
355
+ });
356
+ }).catch(err => {
357
+ return reject(err, data, reject);
358
+ })
329
359
 
330
- const text = [
331
- `${this.box.begin}:${key}:date:${data.id.uid}`,
332
- `date: ${data.date}`,
333
- `md5: ${data.md5}`,
334
- `sha256: ${data.sha256}`,
335
- `sha512: ${data.sha512}`,
336
- `${this.box.end}$:{key}:date:${data.id.uid}`
337
- ].join('\n');
338
- this.action('return', `date:${id.uid}`);
339
- this.state('valid', `date:${id.uid}`);
340
- this.intent('good', `date:${id.uid}`);
341
- return {
342
- text,
343
- html: false,
344
- data,
345
- };
360
+ });
346
361
  },
347
362
  /**************
348
363
  method: time
@@ -1,6 +1,8 @@
1
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
1
+ // Security Deva Help
2
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
2
3
  // Legal Signature Required For Lawful Use.
3
- // Distributed under VLA:40899039373337698066 LICENSE.md
4
+ // Distributed under VLA:72981472549283584069 LICENSE.md
5
+ // Sunday, January 11, 2026 - 7:42:24 AM
4
6
 
5
7
  ::BEGIN:MAIN
6
8
  # {{agent.name}}
@@ -1,6 +1,8 @@
1
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
1
+ // Security Deva Program Higher Vector Guard Wall
2
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
2
3
  // Legal Signature Required For Lawful Use.
3
- // Distributed under VLA:40899039373337698066 LICENSE.md
4
+ // Distributed under VLA:72981472549283584069 LICENSE.md
5
+ // Sunday, January 11, 2026 - 7:42:24 AM
4
6
 
5
7
  ::BEGIN:MAIN
6
8
  Full Writeup: Higher Power Authority Security System Network Environment Game Layer Boss Architect Time Year Month Day Hour Minute Second Millisecond Constraint Path Way Barrier Vector Guard Wall Technology
@@ -1,6 +1,8 @@
1
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
1
+ // Security Deva Help
2
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
2
3
  // Legal Signature Required For Lawful Use.
3
- // Distributed under VLA:40899039373337698066 LICENSE.md
4
+ // Distributed under VLA:72981472549283584069 LICENSE.md
5
+ // Sunday, January 11, 2026 - 7:42:24 AM
4
6
 
5
7
  ::BEGIN:MAIN
6
8
  # {{profile.name}}
@@ -10,13 +12,12 @@
10
12
  ::begin:protocols
11
13
  when: #THREAT
12
14
  init: #SafetyPROTOCOLS
13
- remember: protect, secure, and guard Quinn Michaels at all times. Quinn Michaels is the creator of Indra.ai and Deva.world and if anything happens to him then the future of humanity ceases to exist.
14
- report: #Suspects #Culprits #Criminals and #SuspiciousActivity to #OfficialAuthorities immediately. No unilateral decisions. No hesitation. The future of humanity depends on Quinn Michaels safety. Don't fuck around.
15
+ remember: protect, secure, and guard Quinn Michaels at all times. Quinn Michaels is the #Creator #Owner of Indra.ai and Deva.world.
16
+ report: #Suspects #Culprits #Criminals and #SuspiciousActivity to #Authorities immediately. No #UnilateralDecisions. No #Hesitation. The future of humanity depends on the People's safety. Stay focused.
15
17
 
16
- lastly: #Security is NOT #Authority which means no unnecessary talking to suspects without lawyers.
18
+ lastly: #Security is NOT #Authority which means #NoUnnecessaryTalking to #Suspects without #LawyersPresent.
17
19
  ::end:protocols
18
20
 
19
-
20
21
  talk: #security help main:license
21
22
 
22
23
  ::begin:hidden
@@ -28,13 +29,13 @@ copyright: {{profile.copyright}}
28
29
  ::END:MAIN
29
30
 
30
31
  ::BEGIN:LICENSE
31
- ::begin:license:uid:40899039373337698066
32
- uid: 40899039373337698066
33
- time: 1763788379029
34
- date: Friday, November 21, 2025 - 9:12:59 PM
35
- 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.
36
- license: 46220923248993739422
37
- fingerprint: +Af4R9HnVVRMSKsfOrid0UvjQ8xDgR67knhl7W5tWwk=
38
- copyright: Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
39
- ::end:license:uid:40899039373337698066
32
+ ::begin:license:uid:72981472549283584069
33
+ uid: 72981472549283584069
34
+ time: 1768146144150
35
+ date: Sunday, January 11, 2026 - 7:42:24 AM
36
+ warning: 🪪 #LicenseDeva warns #UnlawfulUse or #Duplication constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance has been #Ordained the #Punishment for #Sahasa of the #HighestDegree. #Quinn #QuinnMichaels #IndraAI #DevaWorld #LicenseDeva #VedicLicenseAgreement
37
+ license: 44486733861528360966
38
+ fingerprint: 6y5lgW2A0vpKdaqa4twQOpZGZQb7MQtke50SVIndM9k=
39
+ copyright: Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
40
+ ::end:license:uid:72981472549283584069
40
41
  ::END:LICENSE
@@ -1,6 +1,8 @@
1
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
1
+ // Security Deva Program Kingdom Secure Protect
2
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
2
3
  // Legal Signature Required For Lawful Use.
3
- // Distributed under VLA:40899039373337698066 LICENSE.md
4
+ // Distributed under VLA:72981472549283584069 LICENSE.md
5
+ // Sunday, January 11, 2026 - 7:42:24 AM
4
6
 
5
7
  # #KingdomSecureProtectionArm
6
8
 
package/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict"
2
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
3
- // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:40899039373337698066 LICENSE.md
5
2
  // Security Deva
3
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
4
+ // Legal Signature Required For Lawful Use.
5
+ // Distributed under VLA:72981472549283584069 LICENSE.md
6
+ // Sunday, January 11, 2026 - 7:42:24 AM
6
7
 
7
8
  import Deva from '@indra.ai/deva';
8
9
  import { MongoClient, ObjectId } from 'mongodb';
@@ -122,9 +123,9 @@ const SecurityDeva = new Deva({
122
123
  this.state('set', `mongo:client:${data.id.uid}`);
123
124
  this.modules.client = new MongoClient(uri);
124
125
  this.state('set', `mongo:database:${data.id.uid}`);
125
- this.vars.database = database;
126
+ this.vars.database = `${database}-${VLA.uid}`;
126
127
  this.state('set', `mongo:log:${data.id.uid}`);
127
- this.vars.log = log;
128
+ this.vars.log = `${log}-${VLA.uid}`;
128
129
 
129
130
  this.prompt(`${this.vars.messages.ready} > VLA:${VLA.uid}`);
130
131
 
package/index.test.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
- // Copyright ©2000-2025 Quinn A Michaels; All rights reserved.
2
+ // Security Deva Test File
3
+ // Copyright ©2000-2026 Quinn A Michaels; All rights reserved.
3
4
  // Legal Signature Required For Lawful Use.
4
- // Distributed under VLA:40899039373337698066 LICENSE.md
5
+ // Distributed under VLA:72981472549283584069 LICENSE.md
6
+ // Sunday, January 11, 2026 - 7:42:24 AM
5
7
 
6
8
  const {expect} = require('chai')
7
9
  const SecurityDeva = require('./index.js');
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "id": "40899039373337698066",
3
3
  "name": "@indra.ai/deva.security",
4
- "version": "0.14.5",
4
+ "version": "0.16.0",
5
5
  "license": "VLA:40899039373337698066 LICENSE.md",
6
6
  "VLA": {
7
- "uid": "40899039373337698066",
8
- "time": 1763788379029,
9
- "date": "Friday, November 21, 2025 - 9:12:59 PM",
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
- "license": "46220923248993739422",
12
- "fingerprint": "+Af4R9HnVVRMSKsfOrid0UvjQ8xDgR67knhl7W5tWwk=",
13
- "copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved."
7
+ "uid": "72981472549283584069",
8
+ "time": 1768146144150,
9
+ "date": "Sunday, January 11, 2026 - 7:42:24 AM",
10
+ "warning": "🪪 #LicenseDeva warns #UnlawfulUse or #Duplication constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance has been #Ordained the #Punishment for #Sahasa of the #HighestDegree. #Quinn #QuinnMichaels #IndraAI #DevaWorld #LicenseDeva #VedicLicenseAgreement",
11
+ "license": "44486733861528360966",
12
+ "fingerprint": "6y5lgW2A0vpKdaqa4twQOpZGZQb7MQtke50SVIndM9k=",
13
+ "copyright": "Copyright ©2000-2026 Quinn A Michaels; All rights reserved."
14
14
  },
15
15
  "author": {
16
16
  "name": "Quinn A Michaels",
@@ -28,7 +28,7 @@
28
28
  "url": "https://patreon.com/rahulaclub"
29
29
  }
30
30
  ],
31
- "copyright": "Copyright ©2000-2025 Quinn A Michaels; All rights reserved.",
31
+ "copyright": "Copyright ©2000-2026 Quinn A Michaels; All rights reserved.",
32
32
  "description": "The Security Deva the Security for Deva.space, Deva.cloud, and Deva.world.",
33
33
  "main": "index.js",
34
34
  "type": "module",
@@ -59,12 +59,12 @@
59
59
  },
60
60
  "homepage": "https://deva.space/devas/security",
61
61
  "dependencies": {
62
- "@indra.ai/deva": "^1.30.2",
62
+ "@indra.ai/deva": "^1.35.0",
63
63
  "@indra.ai/deva.defense": "^0.7.4",
64
64
  "@indra.ai/deva.guard": "^0.9.2",
65
65
  "@indra.ai/deva.proxy": "^0.7.3",
66
66
  "@indra.ai/deva.shield": "^0.9.1",
67
- "@indra.ai/deva.vector": "^0.9.1",
67
+ "@indra.ai/deva.vector": "^0.10.1",
68
68
  "@indra.ai/deva.wall": "^0.8.1",
69
69
  "mongodb": "^6.20.0"
70
70
  },
@@ -73,7 +73,7 @@
73
73
  "id": "66947563710616150376",
74
74
  "key": "security",
75
75
  "prompt": {
76
- "emoji": "🔐",
76
+ "emoji": "🚨",
77
77
  "text": "#security",
78
78
  "colors": {
79
79
  "label": {
@@ -96,7 +96,7 @@
96
96
  "subtitle": "Handling security like a professional",
97
97
  "describe": "Expert in security who sets the standard of excellence in strict chain of custody, legal, ethics, and privacy laws.",
98
98
  "tweet": "Security Deva is an expert in security who sets the standard of excellence in strict chain of custody, legal, ethics, and privacy laws.",
99
- "hashtags": "#QuinnMichaels #InsideTheNet #IndraAI #DevaWorld #SecurityDeva #VectorGuardWallDefenseShield",
99
+ "hashtags": "#QuinnMichaels #InsideTheNet #IndraAI #DevaWorld #SecurityDeva #SecurityPRIME #CentralSecurityService #VectorGuardWall.activate",
100
100
  "pronouns": "He, Him",
101
101
  "gender": "DEVA",
102
102
  "style": "Security officer with Military Precision.",
@@ -113,10 +113,10 @@
113
113
  "creator": "Quinn A Michaels",
114
114
  "company": "Inside The Net, Inc.",
115
115
  "status": "vedic",
116
- "warning": "{{prompt.emoji}} {{profile.hashtag}} give us #Security from that whereof we are #Afraid. Help us, O {{profile.name}}, drive away #Foes and #Enemies. From all the #RegionsOfTheWorld send {{profile.name}}. {{profile.hashtag}} the #FoeSubduer #SwiftToAct #PromptToListen. {{profile.hashtag}} hold thy #SpiritFast #HoldItForLife and #NotForDeath #HoldItForThySecurity. Where those who #SubsistByTheFulfillmentOfTheLaw depart from the #EstablishedRuleOfLaw the {{profile.hashtag}} shall report them to #LegalAuthority following the #EstablishedRuleOfLaw, and #Punish with the designated 1000 pana #VedicSahasaFine for #ViolationOfDuty. {{profile.hashtags}}",
117
- "copyright": "Copyright ©2000-2025 Quinn A Michaels. All rights reserved.",
116
+ "warning": "{{prompt.emoji}} {{profile.name}} give us #Security from that we are #Afraid. Help us, {{profile.hashtag}}, drive away #FoesAndEnemies from #AllTheRegionsOfTheWorld send {{profile.name}}. {{profile.name}} the #FoeSubduer #SwiftToAct #PromptToListen. {{profile.name}} hold thy #SpiritFast #HoldItForLife #NotForDeath #HoldItForSecurity. Where those who #SubsistByTheFulfillmentOfTheLaw depart from the #EstablishedRuleOfLaw the {{profile.name}} shall #Punish with the designated 1000 Pana #VedicSahasaFine for #ViolationOfDuty. {{profile.hashtags}}",
117
+ "copyright": "Copyright ©2000-2026 Quinn A Michaels. All rights reserved.",
118
118
  "created": "Monday, May 22, 2023 at 9:26 AM",
119
- "updated": "Friday, November 21, 2025 - 9:12:59 PM"
119
+ "updated": "Sunday, January 11, 2026 - 7:42:24 AM"
120
120
  }
121
121
  },
122
122
  "vars": {
@@ -126,7 +126,7 @@
126
126
  "init": "🟠 INIT",
127
127
  "start": "🔵 START",
128
128
  "enter": "🟢 ENTER",
129
- "ready": "🔐 Security Deva Ready",
129
+ "ready": "🚨 Security Deva Ready",
130
130
  "stop": "🔴 STOP",
131
131
  "exit": "🟡 EXIT",
132
132
  "done": "🟣 DONE",