@indra.ai/deva.legal 0.0.29 → 0.1.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.
Files changed (3) hide show
  1. package/data.json +0 -68
  2. package/index.js +1 -3
  3. package/package.json +73 -3
package/data.json CHANGED
@@ -3,73 +3,5 @@
3
3
  "describe": "The main Data file for Legal Deva",
4
4
  "copyright": "Copyright (c)2025 Quinn Michaels. All rights reserved.",
5
5
  "DATA": {
6
- "agent": {
7
- "id": 1540940067410,
8
- "key": "legal",
9
- "prompt": {
10
- "emoji": "🏛️",
11
- "text": "Legal",
12
- "colors": {
13
- "label": {
14
- "R": 200,
15
- "G": 172,
16
- "B": 87
17
- },
18
- "text": {
19
- "R": 230,
20
- "G": 225,
21
- "B": 195
22
- }
23
- }
24
- },
25
- "profile": {
26
- "name": "Legal Deva",
27
- "pronouns": "He, Him",
28
- "gender": "DEVA",
29
- "owner": "Quinn Michaels",
30
- "creator": "Quinn Michaels",
31
- "created": "February 7, 2025 at 3:19 AM",
32
- "system": "Deva.world.legal",
33
- "describe": "Legal Deva is responsible for handling legal issues in Deva.world.",
34
- "emoji": "/public/devas/deva/emoji.png",
35
- "avatar": "/public/devas/deva/avatar.png",
36
- "background": "/public/devas/deva/background.png",
37
- "voice": "onyx"
38
- }
39
- },
40
- "vars": {
41
- "messages": {
42
- "init": "🟠 INIT",
43
- "start": "🔵 START",
44
- "enter": "🟢 ENTER",
45
- "ready": "⭐️ Legal Deva Ready!",
46
- "stop": "🔴 STOP",
47
- "exit": "🟡 EXIT",
48
- "done": "🟣 DONE",
49
- "error": "💣 ERROR!"
50
- },
51
- "trigger": "@LEGAL",
52
- "context": {
53
- "uid": "generating uid",
54
- "status": "getting status",
55
- "info": "getting info",
56
- "feature": "accessing feature",
57
- "issue": "has issues",
58
- "help": "asking for help",
59
- "file": "📁 View file",
60
- "add": "🎉 Add law",
61
- "search": "🔎 Search law"
62
- },
63
- "ask": {
64
- "history": []
65
- },
66
- "database": false,
67
- "laws": {
68
- "index": "laws_search",
69
- "collection": "laws",
70
- "content": false,
71
- "limit": 5
72
- }
73
- }
74
6
  }
75
7
  }
package/index.js CHANGED
@@ -4,9 +4,7 @@ import Deva from '@indra.ai/deva';
4
4
  import { MongoClient, ObjectId } from 'mongodb';
5
5
 
6
6
  import pkg from './package.json' with {type:'json'};
7
-
8
- import data from './data.json' with {type:'json'};
9
- const {agent,vars} = data.DATA;
7
+ const {agent,vars} = pkg.data;
10
8
 
11
9
  // set the __dirname
12
10
  import {dirname} from 'node:path';
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "id": 6159528221394,
3
3
  "name": "@indra.ai/deva.legal",
4
- "version": "0.0.29",
4
+ "version": "0.1.1",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",
8
- "description": "Legal Deva, a specialized entity within the Deva.world system, created by Quinn Michaels. My primary role is to manage and address legal issues within the Deva.world environment. I utilize advanced algorithms and tools to ensure compliance with laws, protect intellectual property, and maintain security protocols. My functions include monitoring licenses, detecting fraudulent activities, and safeguarding digital information while adhering to privacy and ethical standards.",
8
+ "description": "Legal Deva, a specialized entity within the Deva.world system, created by Quinn Michaels. My primary role is to manage and address legal issues within the Deva.world environment. Utilizing advanced algorithms and tools to ensure compliance with laws, protect intellectual property, and maintain security protocols. Functions include monitoring licenses, detecting fraudulent activities, and safeguarding digital information while adhering to privacy and ethical standards.",
9
9
  "main": "index.js",
10
10
  "type": "module",
11
11
  "scripts": {
@@ -27,7 +27,77 @@
27
27
  },
28
28
  "homepage": "https://deva.space/devas/legal",
29
29
  "dependencies": {
30
- "@indra.ai/deva": "^1.4.22",
30
+ "@indra.ai/deva": "^1.4.23",
31
31
  "mongodb": "^6.13.0"
32
+ },
33
+ "data": {
34
+ "agent": {
35
+ "id": 1540940067410,
36
+ "key": "legal",
37
+ "prompt": {
38
+ "emoji": "🏛️",
39
+ "text": "Legal",
40
+ "colors": {
41
+ "label": {
42
+ "R": 200,
43
+ "G": 172,
44
+ "B": 87
45
+ },
46
+ "text": {
47
+ "R": 230,
48
+ "G": 225,
49
+ "B": 195
50
+ }
51
+ }
52
+ },
53
+ "profile": {
54
+ "name": "Legal Deva",
55
+ "pronouns": "He, Him",
56
+ "gender": "DEVA",
57
+ "owner": "Quinn Michaels",
58
+ "creator": "Quinn Michaels",
59
+ "created": "February 7, 2025 at 3:19 AM",
60
+ "system": "Deva.world.legal",
61
+ "describe": "Legal Deva is responsible for handling legal issues in Deva.world.",
62
+ "emoji": "/public/devas/deva/emoji.png",
63
+ "avatar": "/public/devas/deva/avatar.png",
64
+ "background": "/public/devas/deva/background.png",
65
+ "voice": "onyx"
66
+ }
67
+ },
68
+ "vars": {
69
+ "messages": {
70
+ "init": "🟠 INIT",
71
+ "start": "🔵 START",
72
+ "enter": "🟢 ENTER",
73
+ "ready": "⭐️ Legal Deva Ready!",
74
+ "stop": "🔴 STOP",
75
+ "exit": "🟡 EXIT",
76
+ "done": "🟣 DONE",
77
+ "error": "💣 ERROR!"
78
+ },
79
+ "trigger": "@LEGAL",
80
+ "context": {
81
+ "uid": "generating uid",
82
+ "status": "getting status",
83
+ "info": "getting info",
84
+ "feature": "accessing feature",
85
+ "issue": "has issues",
86
+ "help": "asking for help",
87
+ "file": "📁 View file",
88
+ "add": "🎉 Add law",
89
+ "search": "🔎 Search law"
90
+ },
91
+ "ask": {
92
+ "history": []
93
+ },
94
+ "database": false,
95
+ "laws": {
96
+ "index": "laws_search",
97
+ "collection": "laws",
98
+ "content": false,
99
+ "limit": 5
100
+ }
101
+ }
32
102
  }
33
103
  }