@indra.ai/deva.log 0.0.28 → 0.0.29
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/index.js +1 -3
- package/package.json +100 -2
- package/data.json +0 -103
package/index.js
CHANGED
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
import Deva from '@indra.ai/deva';
|
|
4
4
|
import {MongoClient} from 'mongodb';
|
|
5
5
|
import pkg from './package.json' with {type:'json'};
|
|
6
|
-
|
|
7
|
-
import data from './data.json' with {type:'json'};
|
|
8
|
-
const {agent,vars} = data.DATA;
|
|
6
|
+
const {agent,vars} = pkg.data;
|
|
9
7
|
|
|
10
8
|
import {dirname} from 'node:path';
|
|
11
9
|
import {fileURLToPath} from 'node:url';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": 4148108755733,
|
|
3
3
|
"name": "@indra.ai/deva.log",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.29",
|
|
5
5
|
"author": "Quinn Michaels",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"copyright": "2025",
|
|
@@ -28,8 +28,106 @@
|
|
|
28
28
|
"url": "https://deva.space/devas/log"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@indra.ai/deva": "^1.4.
|
|
31
|
+
"@indra.ai/deva": "^1.4.23",
|
|
32
32
|
"@indra.ai/deva.error": "^0.0.10",
|
|
33
33
|
"mongodb": "^6.1.0"
|
|
34
|
+
},
|
|
35
|
+
"data": {
|
|
36
|
+
"agent": {
|
|
37
|
+
"id": 4148108755733,
|
|
38
|
+
"key": "log",
|
|
39
|
+
"prompt": {
|
|
40
|
+
"emoji": "🪵 ",
|
|
41
|
+
"text": "Log",
|
|
42
|
+
"colors": {
|
|
43
|
+
"label": {
|
|
44
|
+
"R": 253,
|
|
45
|
+
"G": 255,
|
|
46
|
+
"B": 100
|
|
47
|
+
},
|
|
48
|
+
"text": {
|
|
49
|
+
"R": 253,
|
|
50
|
+
"G": 255,
|
|
51
|
+
"B": 100
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"profile": {
|
|
56
|
+
"name": "Log Deva",
|
|
57
|
+
"pronouns": "He, Him",
|
|
58
|
+
"gender": "DEVA",
|
|
59
|
+
"owner": "Quinn Michaels",
|
|
60
|
+
"creator": "Quinn Michaels",
|
|
61
|
+
"created": "Sunday, May 21, 2023 at 11:18 PM",
|
|
62
|
+
"system": "Deva.world.log",
|
|
63
|
+
"describe": "Log Deva manages the logs in Deva.world.",
|
|
64
|
+
"emoji": "/public/devas/log/emoji.png",
|
|
65
|
+
"avatar": "/public/devas/log/avatar.png",
|
|
66
|
+
"background": "/public/devas/log/background.png",
|
|
67
|
+
"color": "#fdff64",
|
|
68
|
+
"bgcolor": "#000000",
|
|
69
|
+
"voice": "onyx",
|
|
70
|
+
"style": "You are the master of Vedic style artwork and creative ideas."
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"vars": {
|
|
74
|
+
"messages": {
|
|
75
|
+
"init": "🟠 INIT",
|
|
76
|
+
"start": "🔵 START",
|
|
77
|
+
"enter": "🟢 ENTER",
|
|
78
|
+
"ready": "⭐️ READY!",
|
|
79
|
+
"stop": "🔴 STOP",
|
|
80
|
+
"exit": "🟡 EXIT",
|
|
81
|
+
"done": "🟣 DONE",
|
|
82
|
+
"error": "💣 ERROR!"
|
|
83
|
+
},
|
|
84
|
+
"relay": "clirelay",
|
|
85
|
+
"actions": {
|
|
86
|
+
"log_question": "question",
|
|
87
|
+
"log_answer": "answer",
|
|
88
|
+
"log_ask": "ask"
|
|
89
|
+
},
|
|
90
|
+
"live": {
|
|
91
|
+
"profile": "deva",
|
|
92
|
+
"max_tokens": 50,
|
|
93
|
+
"words": 25,
|
|
94
|
+
"history": [],
|
|
95
|
+
"max_chats": 5,
|
|
96
|
+
"page_token": ""
|
|
97
|
+
},
|
|
98
|
+
"ask": {
|
|
99
|
+
"history": []
|
|
100
|
+
},
|
|
101
|
+
"reply": {
|
|
102
|
+
"profile": "deva",
|
|
103
|
+
"max_tokens": 300,
|
|
104
|
+
"words": 100,
|
|
105
|
+
"history": []
|
|
106
|
+
},
|
|
107
|
+
"comment": {
|
|
108
|
+
"profile": "deva",
|
|
109
|
+
"max_tokens": 300,
|
|
110
|
+
"words": 100,
|
|
111
|
+
"history": []
|
|
112
|
+
},
|
|
113
|
+
"art": {
|
|
114
|
+
"history": []
|
|
115
|
+
},
|
|
116
|
+
"context": {
|
|
117
|
+
"question": "Log question",
|
|
118
|
+
"answer": "Log answer",
|
|
119
|
+
"uid": "UID",
|
|
120
|
+
"status": "Status",
|
|
121
|
+
"info": "getting info",
|
|
122
|
+
"feature": "accessing feature",
|
|
123
|
+
"issue": "has issues",
|
|
124
|
+
"help": "Help",
|
|
125
|
+
"finish": "Finshed",
|
|
126
|
+
"ask": "Ask",
|
|
127
|
+
"reply": "Reply",
|
|
128
|
+
"live": "Livechat",
|
|
129
|
+
"comment": "Comment"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
34
132
|
}
|
|
35
133
|
}
|
package/data.json
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Log Deva Data File",
|
|
3
|
-
"describe": "The main Data file for Log Deva",
|
|
4
|
-
"copyright": "Copyright (c)2023 Quinn Michaels. All rights reserved.",
|
|
5
|
-
"DATA": {
|
|
6
|
-
"agent": {
|
|
7
|
-
"id": 4148108755733,
|
|
8
|
-
"key": "log",
|
|
9
|
-
"prompt": {
|
|
10
|
-
"emoji": "🪵 ",
|
|
11
|
-
"text": "Log",
|
|
12
|
-
"colors": {
|
|
13
|
-
"label": {
|
|
14
|
-
"R": 253,
|
|
15
|
-
"G": 255,
|
|
16
|
-
"B": 100
|
|
17
|
-
},
|
|
18
|
-
"text": {
|
|
19
|
-
"R": 253,
|
|
20
|
-
"G": 255,
|
|
21
|
-
"B": 100
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"profile": {
|
|
26
|
-
"name": "Log Deva",
|
|
27
|
-
"pronouns": "He, Him",
|
|
28
|
-
"gender": "DEVA",
|
|
29
|
-
"owner": "Quinn Michaels",
|
|
30
|
-
"creator": "Quinn Michaels",
|
|
31
|
-
"created": "Sunday, May 21, 2023 at 11:18 PM",
|
|
32
|
-
"system": "Deva.world.log",
|
|
33
|
-
"describe": "Log Deva manages the logs in Deva.world.",
|
|
34
|
-
"emoji": "/public/devas/log/emoji.png",
|
|
35
|
-
"avatar": "/public/devas/log/avatar.png",
|
|
36
|
-
"background": "/public/devas/log/background.png",
|
|
37
|
-
"color": "#fdff64",
|
|
38
|
-
"bgcolor": "#000000",
|
|
39
|
-
"voice": "onyx",
|
|
40
|
-
"style": "You are the master of Vedic style artwork and creative ideas."
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"vars": {
|
|
44
|
-
"messages": {
|
|
45
|
-
"init": "🟠 INIT",
|
|
46
|
-
"start": "🔵 START",
|
|
47
|
-
"enter": "🟢 ENTER",
|
|
48
|
-
"ready": "⭐️ Log Deva Ready!",
|
|
49
|
-
"stop": "🔴 STOP",
|
|
50
|
-
"exit": "🟡 EXIT",
|
|
51
|
-
"done": "🟣 DONE",
|
|
52
|
-
"error": "💣 ERROR!"
|
|
53
|
-
},
|
|
54
|
-
"relay": "clirelay",
|
|
55
|
-
"actions": {
|
|
56
|
-
"log_question": "question",
|
|
57
|
-
"log_answer": "answer",
|
|
58
|
-
"log_ask": "ask"
|
|
59
|
-
},
|
|
60
|
-
"live": {
|
|
61
|
-
"profile": "deva",
|
|
62
|
-
"max_tokens": 50,
|
|
63
|
-
"words": 25,
|
|
64
|
-
"history": [],
|
|
65
|
-
"max_chats": 5,
|
|
66
|
-
"page_token": ""
|
|
67
|
-
},
|
|
68
|
-
"ask": {
|
|
69
|
-
"history": []
|
|
70
|
-
},
|
|
71
|
-
"reply": {
|
|
72
|
-
"profile": "deva",
|
|
73
|
-
"max_tokens": 300,
|
|
74
|
-
"words": 100,
|
|
75
|
-
"history": []
|
|
76
|
-
},
|
|
77
|
-
"comment": {
|
|
78
|
-
"profile": "deva",
|
|
79
|
-
"max_tokens": 300,
|
|
80
|
-
"words": 100,
|
|
81
|
-
"history": []
|
|
82
|
-
},
|
|
83
|
-
"art": {
|
|
84
|
-
"history": []
|
|
85
|
-
},
|
|
86
|
-
"context": {
|
|
87
|
-
"question": "Log question",
|
|
88
|
-
"answer": "Log answer",
|
|
89
|
-
"uid": "UID",
|
|
90
|
-
"status": "Status",
|
|
91
|
-
"info": "getting info",
|
|
92
|
-
"feature": "accessing feature",
|
|
93
|
-
"issue": "has issues",
|
|
94
|
-
"help": "Help",
|
|
95
|
-
"finish": "Finshed",
|
|
96
|
-
"ask": "Ask",
|
|
97
|
-
"reply": "Reply",
|
|
98
|
-
"live": "Livechat",
|
|
99
|
-
"comment": "Comment"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|