@indra.ai/deva 1.1.45 → 1.1.46
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 +18 -17
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -207,27 +207,27 @@ class Deva {
|
|
|
207
207
|
ask: `👥 ${this._agent.profile.name} is asking`,
|
|
208
208
|
ask_answer: `🎟️ ${this._agent.profile.name} is answering the ask`,
|
|
209
209
|
|
|
210
|
-
security: `${this._features.security}
|
|
210
|
+
security: `${this._features.security} feature action`,
|
|
211
211
|
Security: `${this._features.Security} is ready`,
|
|
212
|
-
support: `${this._features.support}
|
|
212
|
+
support: `${this._features.support} feature action`,
|
|
213
213
|
Support: `${this._features.Support} is ready`,
|
|
214
|
-
services: `${this._features.Services}
|
|
214
|
+
services: `${this._features.Services} feature action`,
|
|
215
215
|
Services: `${this._features.Services} is ready`,
|
|
216
|
-
solutions: `${this._features.solutions}
|
|
216
|
+
solutions: `${this._features.solutions} feature action`,
|
|
217
217
|
Solutions: `${this._features.Solutions} is ready`,
|
|
218
|
-
solutions: `${this._features.Systems}
|
|
218
|
+
solutions: `${this._features.Systems} feature action`,
|
|
219
219
|
Systems: `${this._features.Systems} is ready`,
|
|
220
|
-
development: `${this._features.Development}
|
|
220
|
+
development: `${this._features.Development} feature action`,
|
|
221
221
|
Development: `${this._features.Development} is ready`,
|
|
222
|
-
business: `${this._features.Business}
|
|
222
|
+
business: `${this._features.Business} feature action`,
|
|
223
223
|
Business: `${this._features.Business} is ready`,
|
|
224
|
-
legal: `${this._features.Legal}
|
|
224
|
+
legal: `${this._features.Legal} feature action`,
|
|
225
225
|
Legal: `${this._features.Legal} is ready`,
|
|
226
|
-
assistant: `${this._features.Assistant}
|
|
226
|
+
assistant: `${this._features.Assistant} feature action`,
|
|
227
227
|
Assistant: `${this._features.Assistant} is ready`,
|
|
228
|
-
story: `${this._features.Story}
|
|
228
|
+
story: `${this._features.Story} feature action`,
|
|
229
229
|
Story: `${this._features.Story} is ready`,
|
|
230
|
-
mind: `${this._features.Mind}
|
|
230
|
+
mind: `${this._features.Mind} feature action`,
|
|
231
231
|
Mind: `${this._features.Mind} is ready`,
|
|
232
232
|
client_data: `📂 ${this._agent.profile.name} setting Client Data`,
|
|
233
233
|
invalid: `${this._actions.invalid}`,
|
|
@@ -235,11 +235,11 @@ class Deva {
|
|
|
235
235
|
error: `${this._action.error}`,
|
|
236
236
|
},
|
|
237
237
|
features: {
|
|
238
|
-
security: `${this._features.security}
|
|
238
|
+
security: `${this._features.security} feature state`,
|
|
239
239
|
Security: `${this._features.Security} loading...`,
|
|
240
|
-
support: `${this._features.support}
|
|
240
|
+
support: `${this._features.support} feature state`,
|
|
241
241
|
Support: `${this._features.Support} loading...`,
|
|
242
|
-
services: `${this._features.services}
|
|
242
|
+
services: `${this._features.services} feature state`,
|
|
243
243
|
Services: `${this._features.Services} loading...`,
|
|
244
244
|
solutions: `${this._features.solutions} is solving`,
|
|
245
245
|
Solutions: `${this._features.Solutions} loading...`,
|
|
@@ -1472,7 +1472,7 @@ class Deva {
|
|
|
1472
1472
|
try {
|
|
1473
1473
|
if (!this._active) return this._messages.states.offline; // check the active status
|
|
1474
1474
|
this.action('security'); // set the security state
|
|
1475
|
-
return this._security; // return the security feature
|
|
1475
|
+
return this.copy(this._security); // return the security feature
|
|
1476
1476
|
} catch (e) {
|
|
1477
1477
|
this.action('error'); // set the security state
|
|
1478
1478
|
this.feature('error');
|
|
@@ -1490,8 +1490,9 @@ class Deva {
|
|
|
1490
1490
|
this.feature('support'); // set the support state
|
|
1491
1491
|
try {
|
|
1492
1492
|
if (!this._active) return this._messages.states.offline; // check the active status
|
|
1493
|
-
this.action('support');
|
|
1494
|
-
|
|
1493
|
+
this.action('support');
|
|
1494
|
+
console.log(this.copy(this._support)); // set the support state
|
|
1495
|
+
return this.copy(this._support); // return the support feature
|
|
1495
1496
|
} catch (e) {
|
|
1496
1497
|
this.action('error'); // set the services state
|
|
1497
1498
|
this.feature('error');
|