@indra.ai/deva 1.1.86 → 1.1.88

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -630,6 +630,7 @@ class Deva {
630
630
  ***************/
631
631
  _methodNotFound(packet) {
632
632
  packet.a = {
633
+ id: this.uid(),
633
634
  agent: this.agent() || false,
634
635
  client: this.client() || false,
635
636
  text: `${this._messages.method_not_found}`,
@@ -885,6 +886,7 @@ class Deva {
885
886
  const client = this.client();
886
887
  // build the answer packet from this model
887
888
  packet.a = {
889
+ id: this.uid(),
888
890
  agent,
889
891
  client,
890
892
  meta: {
@@ -1667,7 +1669,7 @@ class Deva {
1667
1669
  // Talk a global prompt event for the client
1668
1670
  const _data = {
1669
1671
  id: this.uid(true),
1670
- key: 'return',
1672
+ key: 'prompt',
1671
1673
  value: 'prompt',
1672
1674
  agent: this.agent(),
1673
1675
  client: this.client(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.86",
3
+ "version": "1.1.88",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {