@indra.ai/deva 1.1.47 → 1.1.49

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.
Files changed (2) hide show
  1. package/index.js +68 -67
  2. 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: `asked another Deva`,
54
- question: `was asked a question`,
55
- answer: `offered an answer`,
56
-
57
- offline: `is Offline`,
58
- online: `is Online`,
59
-
60
- init: `Initialize`,
61
- start: `start your journey`,
62
- enter: `enter deva.world`,
63
- stop: `stop what you are doing`,
64
- exit: 'exit deva.world',
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: 'State Invalid',
69
- done: 'State Done',
70
- error: 'State 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: '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} entered the ${this._zones.deva}`,
185
- config: `💪 ${this._agent.profile.name} is in the ${this._zones.config}`,
186
- features: `🍿 ${this._agent.profile.name} entered the ${this._zones.features}`,
187
- idle: `🥱 ${this._agent.profile.name} is stuck in the ${this._zones.idle}`,
188
- train: `👨‍🎓 ${this._agent.profile.name} is learning in the ${this._zones.train}`,
189
- work: `😓 ${this._agent.profile.name} is handling things in the ${this._zones.work}`,
190
- invalid: `⚠️ ${this._agent.profile.name} fell into the ${this._zones.invalid}`,
191
- done: `✅ ${this._agent.profile.name} and here we are in the ${this._zones.done}`,
192
- error: `❌ ${this._agent.profile.name} fell into the ${this._zones.error}`,
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} issued a command`,
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} is hashing a question`,
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} is talking the ansnwer for anyone listening `,
207
- ask: `👥 ${this._agent.profile.name} is asking`,
208
- ask_answer: `🎟️ ${this._agent.profile.name} is answering the ask`,
209
-
210
- security: `${this._features.security} feature action`,
211
- Security: `${this._features.Security} is ready`,
212
- support: `${this._features.support} feature action`,
213
- Support: `${this._features.Support} is ready`,
214
- services: `${this._features.Services} feature action`,
215
- Services: `${this._features.Services} is ready`,
216
- solutions: `${this._features.solutions} feature action`,
217
- Solutions: `${this._features.Solutions} is ready`,
218
- solutions: `${this._features.Systems} feature action`,
219
- Systems: `${this._features.Systems} is ready`,
220
- development: `${this._features.Development} feature action`,
221
- Development: `${this._features.Development} is ready`,
222
- business: `${this._features.Business} feature action`,
223
- Business: `${this._features.Business} is ready`,
224
- legal: `${this._features.Legal} feature action`,
225
- Legal: `${this._features.Legal} is ready`,
226
- assistant: `${this._features.Assistant} feature action`,
227
- Assistant: `${this._features.Assistant} is ready`,
228
- story: `${this._features.Story} feature action`,
229
- Story: `${this._features.Story} is ready`,
230
- mind: `${this._features.Mind} feature action`,
231
- Mind: `${this._features.Mind} is ready`,
232
- client_data: `📂 ${this._agent.profile.name} setting Client Data`,
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 state`,
239
- Security: `${this._features.Security} loading...`,
240
- support: `${this._features.support} feature state`,
241
- Support: `${this._features.Support} loading...`,
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} loading...`,
243
+ Services: `${this._features.Services} configure`,
244
244
  solutions: `${this._features.solutions} is solving`,
245
- Solutions: `${this._features.Solutions} loading...`,
245
+ Solutions: `${this._features.Solutions} configure`,
246
246
  systems: `${this._features.systems} is mantaining`,
247
- Systems: `${this._features.Systems} loading...`,
247
+ Systems: `${this._features.Systems} configure`,
248
248
  development: `${this._features.development} is developing`,
249
- Development: `${this._features.Development} loading...`,
249
+ Development: `${this._features.Development} configure`,
250
250
  business: `${this._features.business} is successful`,
251
- Business: `${this._features.Business} loading...`,
251
+ Business: `${this._features.Business} configure`,
252
252
  legal: `${this._features.legal} is upholding the law`,
253
- Legal: `${this._features.Legal} loading...`,
253
+ Legal: `${this._features.Legal} configure`,
254
254
  assistant: `${this._features.assistant} is assisting`,
255
- Assistant: `${this._features.Assistant} loading...`,
255
+ Assistant: `${this._features.Assistant} configure`,
256
256
  story: `${this._features.story} is creating`,
257
- Story: `${this._features.Story} loading...`,
257
+ Story: `${this._features.Story} configure`,
258
258
  mind: `${this._features.story} is thinking and pondering`,
259
- Mind: `${this._features.Mind} loading...`,
259
+ Mind: `${this._features.Mind} configure`,
260
260
  invalid: `⚠️ ${this._features.invalid}`,
261
261
  done: `✅ ${this._features.done}`,
262
262
  error: `❌ ${this._features.error}`,
@@ -410,6 +410,7 @@ class Deva {
410
410
  global: systems.global, // the global policies for client
411
411
  personal: systems.devas[this._agent.key] // Client personal features and rules.
412
412
  };
413
+ console.log('SYSTEMS FEATURE SETUP', this._systems);
413
414
  delete this._client.features.systems
414
415
  return this.Solutions()
415
416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.47",
3
+ "version": "1.1.49",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {