@indra.ai/deva.justice 0.0.18 → 0.0.20

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.
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  /**************
3
- method: Legal
3
+ method: Justice
4
4
  params: packet
5
5
  describe: The global service feature that installs with every agent
6
6
  ***************/
@@ -11,11 +11,13 @@ export default {
11
11
  const agent = this.agent();
12
12
  const global = [];
13
13
  justice.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
  justice.concerns.forEach((item, index) => {
@@ -24,16 +26,20 @@ export default {
24
26
 
25
27
  const info = [
26
28
  '::BEGIN:JUSTICE',
27
- '### Client',
28
- `::begin:client:${justice.client_id}`,
29
+ `::begin:client`,
30
+ '## Client',
29
31
  `id: ${justice.client_id}`,
30
32
  `client: ${justice.client_name}`,
31
- '**concerns**',
32
- concerns.join('\n'),
33
- `::end:client:${this.lib.hash(justice)}`,
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:JUSTICE'
41
+ '::end:global',
42
+ '::END:JUSTICE',
37
43
  ].join('\n');
38
44
  this.question(`${this.askChr}feecting parse ${info}`).then(feecting => {
39
45
  return resolve({
@@ -3,10 +3,12 @@
3
3
 
4
4
  {{profile}}
5
5
 
6
+ talk: #justice justice
7
+
6
8
  ::begin:hidden
7
9
  #color = {{profile.color}}
8
10
  #bgcolor = {{profile.bgcolor}}
9
11
  #bg = {{profile.bg}}
10
- ::end:hidden
11
12
  copyright: (c)2025 Quinn Michaels
13
+ ::end:hidden
12
14
  ::END:MAIN
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 6159528221394,
3
3
  "name": "@indra.ai/deva.justice",
4
- "version": "0.0.18",
4
+ "version": "0.0.20",
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/justice",
29
29
  "dependencies": {
30
- "@indra.ai/deva": "^1.5.35"
30
+ "@indra.ai/deva": "^1.5.40"
31
31
  },
32
32
  "data": {
33
33
  "agent": {
@@ -50,10 +50,11 @@
50
50
  }
51
51
  },
52
52
  "profile": {
53
- "name": "#JusticeDeva",
53
+ "name": "Justice Deva",
54
+ "hashtag": "#JusticeDeva",
54
55
  "title": "Justice Deva",
55
56
  "subtitle": "Handling justice in to prevent violations of justice.",
56
- "describe": "Justice Deva is responsible for handling justice issues in Deva.world. Justice Deva ensures Fair Justice in Deva.world systems.",
57
+ "describe": "Justice Deva is responsible for handling justice issues ensuring fair justice in our systems.",
57
58
  "tweet": "Justice Deva ensures Fair Justice in Deva.world systems.",
58
59
  "hashtags": "QuinnMichaels,IndraAI,DevaWorld,JusticeDeva",
59
60
  "pronouns": "He, Him",