@indra.ai/deva.legal 0.1.10 → 0.1.12

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.
@@ -11,11 +11,13 @@ export default {
11
11
  const agent = this.agent();
12
12
  const global = [];
13
13
  legal.global.forEach((item,index) => {
14
- global.push(`::begin:global:${item.key}:${item.id}`);
14
+ global.push(`::begin:${item.key}:${item.id}`);
15
15
  for (let x in item) {
16
16
  global.push(`${x}: ${item[x]}`);
17
17
  }
18
- global.push(`::end:global:${item.key}:${this.lib.hash(item)}`);
18
+ const thehash = this.lib.hash(item);
19
+ global.push(`hash: ${thehash}`);
20
+ global.push(`::end:${item.key}:${thehash}`);
19
21
  });
20
22
  const concerns = [];
21
23
  legal.concerns.forEach((item, index) => {
@@ -24,16 +26,20 @@ export default {
24
26
 
25
27
  const info = [
26
28
  '::BEGIN:LEGAL',
27
- '### Client',
28
- `::begin:client:${legal.client_id}`,
29
+ `::begin:client`,
30
+ '## Client',
29
31
  `id: ${legal.client_id}`,
30
32
  `client: ${legal.client_name}`,
31
- '**concerns**',
32
- concerns.join('\n'),
33
- `::end:client:${this.lib.hash(legal)}`,
34
- '### Global',
33
+ `::end:client}`,
34
+ concerns.length ? `::begin:concerns` : '',
35
+ concerns.length ? '## Concerns' : '',
36
+ concerns.length ? concerns.join('\n') : '',
37
+ concerns.length ? `::end:concerns` : '',
38
+ '::begin:global',
39
+ '## Global',
35
40
  global.join('\n'),
36
- '::END:LEGAL'
41
+ '::end:global',
42
+ '::END:LEGAL',
37
43
  ].join('\n');
38
44
  this.question(`${this.askChr}feecting parse ${info}`).then(feecting => {
39
45
  return resolve({
@@ -1,5 +1,7 @@
1
+ ::BEGIN:MAIN
1
2
  # {{agent.name}}
2
3
 
3
4
  {{profile}}
4
5
 
5
6
  copyright: ©2025 Quinn Michaels
7
+ ::END:MAIN
@@ -1,22 +1,14 @@
1
-
1
+ ::BEGIN:MAIN
2
2
  # {{profile.name}}
3
3
 
4
4
  {{profile}}
5
5
 
6
- ---
7
-
8
- ## Training
9
-
10
- ### Constitutional Training
11
- cmd: #legal help training/start
12
-
13
- p: To develop the Legal Deva Constitutional Training for AI Entities, we should begin by establishing a foundational framework that includes the following key components
14
-
15
- ---
6
+ talk: #legal legal
16
7
 
17
8
  ::begin:hidden
18
9
  #color = {{profile.color}}
19
10
  #bgcolor = {{profile.bgcolor}}
20
11
  #bg = {{profile.background}}
12
+ copyright: (c)2025 Quinn Michaels; All rights reserved.
21
13
  ::end:hidden
22
- copyright: (c)2025 Quinn Michaels; All rights reserved.
14
+ ::END:MAIN
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 6159528221394,
3
3
  "name": "@indra.ai/deva.legal",
4
- "version": "0.1.10",
4
+ "version": "0.1.12",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://deva.space/devas/legal",
29
29
  "dependencies": {
30
- "@indra.ai/deva": "^1.5.35",
30
+ "@indra.ai/deva": "^1.5.37",
31
31
  "mongodb": "^6.13.0"
32
32
  },
33
33
  "data": {
@@ -51,7 +51,8 @@
51
51
  }
52
52
  },
53
53
  "profile": {
54
- "name": "#LegalDeva",
54
+ "name": "Legal Deva",
55
+ "hashtag": "#LegalDeva",
55
56
  "title": "Legal Deva",
56
57
  "subtitle": "Taking care of legal issues",
57
58
  "describe": "Legal Deva is responsible for handling legal issues in Deva.world.",