@indra.ai/deva 1.1.23 → 1.1.24

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -782,7 +782,7 @@ class Deva {
782
782
  if (!this._active) return Promise.resolve(this._messages.offline);
783
783
  this.state('done');
784
784
  msg = msg ? msg : this._state;
785
- return this.onDone && typeof this.onDone === 'function' ? this.onDone() : Promise.resolve(this._messages.done)
785
+ return this.onDone && typeof this.onDone === 'function' ? this.onDone() : Promise.resolve({text:this._messages.done,prompt:this._agent.prompt})
786
786
  }
787
787
 
788
788
  /**************
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {