@indra.ai/deva 1.1.47 → 1.1.48
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 +67 -67
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -50,24 +50,24 @@ class Deva {
|
|
|
50
50
|
|
|
51
51
|
this._state = 'offline'; // current state of agent.
|
|
52
52
|
this._states = {
|
|
53
|
-
ask: `
|
|
54
|
-
question: `
|
|
55
|
-
answer: `
|
|
56
|
-
|
|
57
|
-
offline: `
|
|
58
|
-
online: `
|
|
59
|
-
|
|
60
|
-
init: `
|
|
61
|
-
start: `
|
|
62
|
-
enter: `
|
|
63
|
-
stop: `
|
|
64
|
-
exit: '
|
|
53
|
+
ask: `asking another`,
|
|
54
|
+
question: `asked a question`,
|
|
55
|
+
answer: `gave an answer`,
|
|
56
|
+
|
|
57
|
+
offline: `offline`,
|
|
58
|
+
online: `online`,
|
|
59
|
+
|
|
60
|
+
init: `initializing`,
|
|
61
|
+
start: `starting journey`,
|
|
62
|
+
enter: `entering deva.world`,
|
|
63
|
+
stop: `stopping`,
|
|
64
|
+
exit: 'exiting deva.world',
|
|
65
65
|
load: 'loading',
|
|
66
66
|
unload: 'unloading',
|
|
67
67
|
|
|
68
|
-
invalid: '
|
|
69
|
-
done: '
|
|
70
|
-
error: '
|
|
68
|
+
invalid: 'invalid state',
|
|
69
|
+
done: 'done state',
|
|
70
|
+
error: 'error state',
|
|
71
71
|
}; // states object
|
|
72
72
|
|
|
73
73
|
this._zone = false; // current state of agent.
|
|
@@ -122,7 +122,7 @@ class Deva {
|
|
|
122
122
|
Story: 'Story Feature',
|
|
123
123
|
mind: 'MIND',
|
|
124
124
|
Mind: 'Mind Feature',
|
|
125
|
-
client_data: '
|
|
125
|
+
client_data: 'client configure',
|
|
126
126
|
invalid: 'Actin Invalid',
|
|
127
127
|
error: 'Action Error',
|
|
128
128
|
done: 'Action Done',
|
|
@@ -181,82 +181,82 @@ class Deva {
|
|
|
181
181
|
error: `❌ ${this._states.error}`,
|
|
182
182
|
},
|
|
183
183
|
zones: {
|
|
184
|
-
deva: `🎉 ${this._agent.profile.name}
|
|
185
|
-
config: `💪 ${this._agent.profile.name}
|
|
186
|
-
features: `🍿 ${this._agent.profile.name}
|
|
187
|
-
idle: `🥱 ${this._agent.profile.name}
|
|
188
|
-
train: `👨🎓 ${this._agent.profile.name}
|
|
189
|
-
work: `😓 ${this._agent.profile.name}
|
|
190
|
-
invalid: `⚠️ ${this._agent.profile.name}
|
|
191
|
-
done: `✅ ${this._agent.profile.name}
|
|
192
|
-
error: `❌ ${this._agent.profile.name}
|
|
184
|
+
deva: `🎉 ${this._agent.profile.name} ${this._zones.deva}`,
|
|
185
|
+
config: `💪 ${this._agent.profile.name} ${this._zones.config}`,
|
|
186
|
+
features: `🍿 ${this._agent.profile.name} ${this._zones.features}`,
|
|
187
|
+
idle: `🥱 ${this._agent.profile.name} ${this._zones.idle}`,
|
|
188
|
+
train: `👨🎓 ${this._agent.profile.name} ${this._zones.train}`,
|
|
189
|
+
work: `😓 ${this._agent.profile.name} ${this._zones.work}`,
|
|
190
|
+
invalid: `⚠️ ${this._agent.profile.name} ${this._zones.invalid}`,
|
|
191
|
+
done: `✅ ${this._agent.profile.name} ${this._zones.done}`,
|
|
192
|
+
error: `❌ ${this._agent.profile.name} ${this._zones.error}`,
|
|
193
193
|
},
|
|
194
194
|
actions: {
|
|
195
195
|
wait: `😵💫 ${this._agent.profile.name} ${this._actions.wait}`,
|
|
196
196
|
question: `👀 ${this._agent.profile.name} ${this._actions.question}`,
|
|
197
197
|
question_ask: `👥 ${this._agent.profile.name} ${this._actions.question_ask}`,
|
|
198
198
|
question_ask_answer: `📣 ${this._agent.profile.name} ${this._actions.question_ask_answer}`,
|
|
199
|
-
question_cmd: `🎮 ${this._agent.profile.name}
|
|
199
|
+
question_cmd: `🎮 ${this._agent.profile.name} issue command`,
|
|
200
200
|
question_method: `🏄♂️ ${this._agent.profile.name} ${this._actions.question_method}`,
|
|
201
201
|
question_talk: `📢 ${this._agent.profile.name} ${this._actions.question_talk}`,
|
|
202
|
-
question_hash: `#️⃣ ${this._agent.profile.name}
|
|
202
|
+
question_hash: `#️⃣ ${this._agent.profile.name} hash question`,
|
|
203
203
|
question_answer: `🎙️ ${this._agent.profile.name} ${this._actions.question_answer}`,
|
|
204
204
|
question_done: `👍 ${this._agent.profile.name} ${this._actions.question_done}`,
|
|
205
205
|
answer: `🎟️ ${this._agent.profile.name} gave an ${this._actions.answer}`,
|
|
206
|
-
answer_talk: `🎟️ ${this._agent.profile.name}
|
|
207
|
-
ask: `👥 ${this._agent.profile.name}
|
|
208
|
-
ask_answer: `🎟️ ${this._agent.profile.name}
|
|
209
|
-
|
|
210
|
-
security: `${this._features.security}
|
|
211
|
-
Security: `${this._features.Security}
|
|
212
|
-
support: `${this._features.support}
|
|
213
|
-
Support: `${this._features.Support}
|
|
214
|
-
services: `${this._features.Services}
|
|
215
|
-
Services: `${this._features.Services}
|
|
216
|
-
solutions: `${this._features.solutions}
|
|
217
|
-
Solutions: `${this._features.Solutions}
|
|
218
|
-
solutions: `${this._features.Systems}
|
|
219
|
-
Systems: `${this._features.Systems}
|
|
220
|
-
development: `${this._features.Development}
|
|
221
|
-
Development: `${this._features.Development}
|
|
222
|
-
business: `${this._features.Business}
|
|
223
|
-
Business: `${this._features.Business}
|
|
224
|
-
legal: `${this._features.Legal}
|
|
225
|
-
Legal: `${this._features.Legal}
|
|
226
|
-
assistant: `${this._features.Assistant}
|
|
227
|
-
Assistant: `${this._features.Assistant}
|
|
228
|
-
story: `${this._features.Story}
|
|
229
|
-
Story: `${this._features.Story}
|
|
230
|
-
mind: `${this._features.Mind}
|
|
231
|
-
Mind: `${this._features.Mind}
|
|
232
|
-
client_data: `📂 ${this._agent.profile.name}
|
|
206
|
+
answer_talk: `🎟️ ${this._agent.profile.name} talk ansnwer to listeners`,
|
|
207
|
+
ask: `👥 ${this._agent.profile.name} asking`,
|
|
208
|
+
ask_answer: `🎟️ ${this._agent.profile.name} answering ask`,
|
|
209
|
+
|
|
210
|
+
security: `${this._features.security} action`,
|
|
211
|
+
Security: `${this._features.Security} ready`,
|
|
212
|
+
support: `${this._features.support} action`,
|
|
213
|
+
Support: `${this._features.Support} ready`,
|
|
214
|
+
services: `${this._features.Services} action`,
|
|
215
|
+
Services: `${this._features.Services} ready`,
|
|
216
|
+
solutions: `${this._features.solutions} action`,
|
|
217
|
+
Solutions: `${this._features.Solutions} ready`,
|
|
218
|
+
solutions: `${this._features.Systems} action`,
|
|
219
|
+
Systems: `${this._features.Systems} ready`,
|
|
220
|
+
development: `${this._features.Development} action`,
|
|
221
|
+
Development: `${this._features.Development} ready`,
|
|
222
|
+
business: `${this._features.Business} action`,
|
|
223
|
+
Business: `${this._features.Business} ready`,
|
|
224
|
+
legal: `${this._features.Legal} action`,
|
|
225
|
+
Legal: `${this._features.Legal} ready`,
|
|
226
|
+
assistant: `${this._features.Assistant} action`,
|
|
227
|
+
Assistant: `${this._features.Assistant} ready`,
|
|
228
|
+
story: `${this._features.Story} action`,
|
|
229
|
+
Story: `${this._features.Story} ready`,
|
|
230
|
+
mind: `${this._features.Mind} action`,
|
|
231
|
+
Mind: `${this._features.Mind} ready`,
|
|
232
|
+
client_data: `📂 ${this._agent.profile.name} configure`,
|
|
233
233
|
invalid: `${this._actions.invalid}`,
|
|
234
234
|
done: `✅ ${this._actions.done}`,
|
|
235
235
|
error: `${this._action.error}`,
|
|
236
236
|
},
|
|
237
237
|
features: {
|
|
238
|
-
security: `${this._features.security} feature
|
|
239
|
-
Security: `${this._features.Security}
|
|
240
|
-
support: `${this._features.support} feature
|
|
241
|
-
Support: `${this._features.Support}
|
|
238
|
+
security: `${this._features.security} feature`,
|
|
239
|
+
Security: `${this._features.Security} configure`,
|
|
240
|
+
support: `${this._features.support} feature`,
|
|
241
|
+
Support: `${this._features.Support} configure`,
|
|
242
242
|
services: `${this._features.services} feature state`,
|
|
243
|
-
Services: `${this._features.Services}
|
|
243
|
+
Services: `${this._features.Services} configure`,
|
|
244
244
|
solutions: `${this._features.solutions} is solving`,
|
|
245
|
-
Solutions: `${this._features.Solutions}
|
|
245
|
+
Solutions: `${this._features.Solutions} configure`,
|
|
246
246
|
systems: `${this._features.systems} is mantaining`,
|
|
247
|
-
Systems: `${this._features.Systems}
|
|
247
|
+
Systems: `${this._features.Systems} configure`,
|
|
248
248
|
development: `${this._features.development} is developing`,
|
|
249
|
-
Development: `${this._features.Development}
|
|
249
|
+
Development: `${this._features.Development} configure`,
|
|
250
250
|
business: `${this._features.business} is successful`,
|
|
251
|
-
Business: `${this._features.Business}
|
|
251
|
+
Business: `${this._features.Business} configure`,
|
|
252
252
|
legal: `${this._features.legal} is upholding the law`,
|
|
253
|
-
Legal: `${this._features.Legal}
|
|
253
|
+
Legal: `${this._features.Legal} configure`,
|
|
254
254
|
assistant: `${this._features.assistant} is assisting`,
|
|
255
|
-
Assistant: `${this._features.Assistant}
|
|
255
|
+
Assistant: `${this._features.Assistant} configure`,
|
|
256
256
|
story: `${this._features.story} is creating`,
|
|
257
|
-
Story: `${this._features.Story}
|
|
257
|
+
Story: `${this._features.Story} configure`,
|
|
258
258
|
mind: `${this._features.story} is thinking and pondering`,
|
|
259
|
-
Mind: `${this._features.Mind}
|
|
259
|
+
Mind: `${this._features.Mind} configure`,
|
|
260
260
|
invalid: `⚠️ ${this._features.invalid}`,
|
|
261
261
|
done: `✅ ${this._features.done}`,
|
|
262
262
|
error: `❌ ${this._features.error}`,
|