@indra.ai/deva 1.1.90 → 1.1.92
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/config.json +7 -7
- package/index.js +1 -1
- package/package.json +1 -1
package/config.json
CHANGED
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
"states": {
|
|
154
154
|
"offline": "::agent.name:: is offline",
|
|
155
155
|
"online": "::agent.name:: is online",
|
|
156
|
-
"ask": "::agent.name::
|
|
157
|
-
"question": "::agent.name::
|
|
156
|
+
"ask": "::agent.name:: asked a question",
|
|
157
|
+
"question": "::agent.name:: received a question",
|
|
158
158
|
"answer": "::agent.name:: answered the question",
|
|
159
159
|
"init": "::agent.name:: is initializing",
|
|
160
160
|
"start": "::agent.name:: is starting",
|
|
@@ -182,12 +182,12 @@
|
|
|
182
182
|
},
|
|
183
183
|
"actions": {
|
|
184
184
|
"wait": "::agent.name:: is waiting",
|
|
185
|
-
"question": "::agent.name::
|
|
186
|
-
"question_ask": "::agent.name:: is asking
|
|
187
|
-
"question_ask_answer": "::agent.name:: answered
|
|
185
|
+
"question": "::agent.name:: received a question",
|
|
186
|
+
"question_ask": "::agent.name:: is asking another Deva",
|
|
187
|
+
"question_ask_answer": "::agent.name:: answered what they were asked",
|
|
188
188
|
"question_cmd": "::agent.name:: is running a command",
|
|
189
|
-
"question_method": "::agent.name:: is
|
|
190
|
-
"question_talk": "::agent.name:: is
|
|
189
|
+
"question_method": "::agent.name:: is running a method",
|
|
190
|
+
"question_talk": "::agent.name:: is broadcasting the question",
|
|
191
191
|
"question_answer": "::agent.name:: answered the question",
|
|
192
192
|
"question_done": "::agent.name:: the question is done",
|
|
193
193
|
"answer": "::agent.name:: is generating an answer",
|
package/index.js
CHANGED
|
@@ -1688,7 +1688,7 @@ class Deva {
|
|
|
1688
1688
|
// create the text msg string
|
|
1689
1689
|
let text = `${this._agent.profile.name} active since ${dateFormat}`;
|
|
1690
1690
|
if (msg) text = text + `\n${msg}`; // append the msg string if msg true.
|
|
1691
|
-
this.
|
|
1691
|
+
this.action('status');
|
|
1692
1692
|
return Promise.resolve(text); // return final text string
|
|
1693
1693
|
}
|
|
1694
1694
|
|