@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.
- package/feature/methods.js +16 -10
- package/help/main.feecting +3 -1
- package/package.json +5 -4
package/feature/methods.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
/**************
|
|
3
|
-
method:
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
+
`::begin:client`,
|
|
30
|
+
'## Client',
|
|
29
31
|
`id: ${justice.client_id}`,
|
|
30
32
|
`client: ${justice.client_name}`,
|
|
31
|
-
|
|
32
|
-
concerns.
|
|
33
|
-
|
|
34
|
-
'
|
|
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
|
-
'::
|
|
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({
|
package/help/main.feecting
CHANGED
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.
|
|
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.
|
|
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": "
|
|
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
|
|
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",
|