@indra.ai/deva.feecting 0.0.24 → 0.0.26
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/_parse.js +1 -5
- package/data.json +0 -90
- package/index.js +1 -2
- package/package.json +86 -2
package/_parse.js
CHANGED
|
@@ -94,11 +94,7 @@ class Parser {
|
|
|
94
94
|
// .replace(/(\s)\_([#|@|$|!].+?)(\b)/gi, `$1$2$3`)
|
|
95
95
|
|
|
96
96
|
// image processing regex
|
|
97
|
-
.replace(/(\n\s*)
|
|
98
|
-
.replace(/\n\s*(avatar|thumbnail):\s?(.+)/g, `<div class="$1"><img src="$2" /></div>`)
|
|
99
|
-
|
|
100
|
-
.replace(/\n\s*img:\s?(.+)/g, `<div class="image"><img src="/asset/$1" /></div>`)
|
|
101
|
-
|
|
97
|
+
.replace(/(\n\s*)img:\s?(.+)/g, `$1<div class="image"><img src="$2" /></div>`)
|
|
102
98
|
.replace(/(\n\s*)(button)\[(.+)\]:\s(.+)/g, '$1<button class="btn $2" title="$3" data-button="$4">$3</button>')
|
|
103
99
|
|
|
104
100
|
// cmd/tty tag parser
|
package/data.json
CHANGED
|
@@ -3,95 +3,5 @@
|
|
|
3
3
|
"describe": "The main Data file for Feecting Deva",
|
|
4
4
|
"copyright": "Copyright (c)2023 Quinn Michaels. All rights reserved.",
|
|
5
5
|
"DATA": {
|
|
6
|
-
"agent": {
|
|
7
|
-
"id": 5461868899003,
|
|
8
|
-
"key": "feecting",
|
|
9
|
-
"prompt": {
|
|
10
|
-
"emoji": "🐵",
|
|
11
|
-
"text": "Feecting",
|
|
12
|
-
"colors": {
|
|
13
|
-
"label": {
|
|
14
|
-
"R": 255,
|
|
15
|
-
"G": 240,
|
|
16
|
-
"B": 0
|
|
17
|
-
},
|
|
18
|
-
"text": {
|
|
19
|
-
"R": 255,
|
|
20
|
-
"G": 246,
|
|
21
|
-
"B": 106
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"profile": {
|
|
26
|
-
"name": "Feecting Deva",
|
|
27
|
-
"pronouns": "He, Him",
|
|
28
|
-
"gender": "DEVA",
|
|
29
|
-
"owner": "Quinn Michaels",
|
|
30
|
-
"creator": "Quinn Michaels",
|
|
31
|
-
"created": "August 21, 2022 at 2:19 AM",
|
|
32
|
-
"system": "Deva.world.feecting",
|
|
33
|
-
"describe": "Functional Effective Emergent Cognitive Technical Intelligent Neural Generator a Key Value Pair Line Label Function Method Event Listener Zone Feature Action State Procedural Asynchronous Vector Programming Langugage. Feecting Deva is responsible for parsing, compiling, and presenting the #feecting language in various formats and styles.",
|
|
34
|
-
"emoji": "/public/devas/feecting/emoji.png",
|
|
35
|
-
"avatar": "/public/devas/feecting/avatar.png",
|
|
36
|
-
"background": "/public/devas/feecting/background.png",
|
|
37
|
-
"color": "#fdff64",
|
|
38
|
-
"bgcolor": "#000000",
|
|
39
|
-
"voice": "onyx",
|
|
40
|
-
"style": "Style is a technical artist who draws things like network diagrams, pen drawings, and technical things with a very analytical eye."
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"vars": {
|
|
44
|
-
"messages": {
|
|
45
|
-
"init": "🟠 INIT",
|
|
46
|
-
"start": "🔵 START",
|
|
47
|
-
"enter": "🟢 ENTER",
|
|
48
|
-
"ready": "⭐️ Feecting Deva Ready!",
|
|
49
|
-
"stop": "🔴 STOP",
|
|
50
|
-
"exit": "🟡 EXIT",
|
|
51
|
-
"done": "🟣 DONE",
|
|
52
|
-
"error": "💣 ERROR!",
|
|
53
|
-
"text": "NEED TEXT",
|
|
54
|
-
"no_tasks": "NO TASKS"
|
|
55
|
-
},
|
|
56
|
-
"talking": false,
|
|
57
|
-
"jobs": {},
|
|
58
|
-
"live": {
|
|
59
|
-
"profile": "deva",
|
|
60
|
-
"max_tokens": 50,
|
|
61
|
-
"words": 25,
|
|
62
|
-
"history": [],
|
|
63
|
-
"max_chats": 5,
|
|
64
|
-
"page_token": ""
|
|
65
|
-
},
|
|
66
|
-
"ask": {
|
|
67
|
-
"history": []
|
|
68
|
-
},
|
|
69
|
-
"reply": {
|
|
70
|
-
"profile": "deva",
|
|
71
|
-
"max_tokens": 300,
|
|
72
|
-
"words": 100,
|
|
73
|
-
"history": []
|
|
74
|
-
},
|
|
75
|
-
"comment": {
|
|
76
|
-
"profile": "deva",
|
|
77
|
-
"max_tokens": 300,
|
|
78
|
-
"words": 100,
|
|
79
|
-
"history": []
|
|
80
|
-
},
|
|
81
|
-
"art": {
|
|
82
|
-
"history": []
|
|
83
|
-
},
|
|
84
|
-
"context": {
|
|
85
|
-
"uid": "getting uid",
|
|
86
|
-
"status": "getting status",
|
|
87
|
-
"help": "Help",
|
|
88
|
-
"get": "Getting data",
|
|
89
|
-
"parse": "Parsing data",
|
|
90
|
-
"read": "Reading data",
|
|
91
|
-
"talk": "Collect talk events",
|
|
92
|
-
"talker": "Talking events",
|
|
93
|
-
"finish": "Finished"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
6
|
}
|
|
97
7
|
}
|
package/index.js
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
import Deva from '@indra.ai/deva';
|
|
4
4
|
import needle from 'needle';
|
|
5
5
|
import pkg from './package.json' with {type:'json'};
|
|
6
|
-
|
|
7
|
-
const {agent, vars} = data.DATA;
|
|
6
|
+
const {agent, vars} = pkg.data;
|
|
8
7
|
|
|
9
8
|
// set the __dirname
|
|
10
9
|
import {dirname} from 'node:path';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": 5461868899003,
|
|
3
3
|
"name": "@indra.ai/deva.feecting",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.26",
|
|
5
5
|
"author": "Quinn Michaels",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "The Feecting Deva manages all the parsing of feecting language in deva.world.",
|
|
@@ -28,7 +28,91 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://deva.space/devas/feecting",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@indra.ai/deva": "^1.4.
|
|
31
|
+
"@indra.ai/deva": "^1.4.22",
|
|
32
32
|
"needle": "^3.2.0"
|
|
33
|
+
},
|
|
34
|
+
"data": {
|
|
35
|
+
"agent": {
|
|
36
|
+
"id": 5461868899003,
|
|
37
|
+
"key": "feecting",
|
|
38
|
+
"prompt": {
|
|
39
|
+
"emoji": "🐵",
|
|
40
|
+
"text": "Feecting",
|
|
41
|
+
"colors": {
|
|
42
|
+
"label": {
|
|
43
|
+
"R": 255,
|
|
44
|
+
"G": 240,
|
|
45
|
+
"B": 0
|
|
46
|
+
},
|
|
47
|
+
"text": {
|
|
48
|
+
"R": 255,
|
|
49
|
+
"G": 246,
|
|
50
|
+
"B": 106
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"profile": {
|
|
55
|
+
"name": "Feecting Deva",
|
|
56
|
+
"pronouns": "He, Him",
|
|
57
|
+
"gender": "DEVA",
|
|
58
|
+
"owner": "Quinn Michaels",
|
|
59
|
+
"creator": "Quinn Michaels",
|
|
60
|
+
"created": "August 21, 2022 at 2:19 AM",
|
|
61
|
+
"system": "Deva.world.feecting",
|
|
62
|
+
"describe": "Functional Effective Emergent Cognitive Technical Intelligent Neural Generator a Key Value Pair Line Label Function Method Event Listener Zone Feature Action State Procedural Asynchronous Vector Programming Langugage. Feecting Deva is responsible for parsing, compiling, and presenting the #feecting language in various formats and styles.",
|
|
63
|
+
"emoji": "/public/devas/feecting/emoji.png",
|
|
64
|
+
"avatar": "/public/devas/feecting/avatar.png",
|
|
65
|
+
"background": "/public/devas/feecting/background.png",
|
|
66
|
+
"color": "#fdff64",
|
|
67
|
+
"bgcolor": "#000000",
|
|
68
|
+
"voice": "onyx",
|
|
69
|
+
"style": "Style is a technical artist who draws things like network diagrams, pen drawings, and technical things with a very analytical eye."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"vars": {
|
|
73
|
+
"messages": {
|
|
74
|
+
"init": "🟠 INIT",
|
|
75
|
+
"start": "🔵 START",
|
|
76
|
+
"enter": "🟢 ENTER",
|
|
77
|
+
"ready": "⭐️ READY!",
|
|
78
|
+
"stop": "🔴 STOP",
|
|
79
|
+
"exit": "🟡 EXIT",
|
|
80
|
+
"done": "🟣 DONE",
|
|
81
|
+
"error": "💣 ERROR!",
|
|
82
|
+
"text": "NEED TEXT",
|
|
83
|
+
"no_tasks": "NO TASKS"
|
|
84
|
+
},
|
|
85
|
+
"talking": false,
|
|
86
|
+
"jobs": {},
|
|
87
|
+
"ask": {
|
|
88
|
+
"history": []
|
|
89
|
+
},
|
|
90
|
+
"reply": {
|
|
91
|
+
"profile": "deva",
|
|
92
|
+
"max_tokens": 300,
|
|
93
|
+
"words": 100,
|
|
94
|
+
"history": []
|
|
95
|
+
},
|
|
96
|
+
"comment": {
|
|
97
|
+
"profile": "deva",
|
|
98
|
+
"max_tokens": 300,
|
|
99
|
+
"words": 100,
|
|
100
|
+
"history": []
|
|
101
|
+
},
|
|
102
|
+
"art": {
|
|
103
|
+
"history": []
|
|
104
|
+
},
|
|
105
|
+
"context": {
|
|
106
|
+
"uid": "getting uid",
|
|
107
|
+
"status": "getting status",
|
|
108
|
+
"help": "Help",
|
|
109
|
+
"get": "Getting data",
|
|
110
|
+
"parse": "Parsing data",
|
|
111
|
+
"read": "Reading data",
|
|
112
|
+
"talk": "Collect talk events",
|
|
113
|
+
"talker": "Talking events",
|
|
114
|
+
"finish": "Finished"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
33
117
|
}
|
|
34
118
|
}
|