@indra.ai/deva 1.5.31 → 1.5.32

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 +2 -2
package/index.js CHANGED
@@ -1436,8 +1436,8 @@ class Deva {
1436
1436
  usage: this.prompt('text')
1437
1437
  ***************/
1438
1438
  prompt(text) {
1439
+ if (!this._active) return this._messages.offline;
1439
1440
  const id = this.lib.uid();
1440
- if (!this._active) return Promise.resolve(this._messages.offline);
1441
1441
  // Talk a global prompt event for the client
1442
1442
  const agent = this.agent();
1443
1443
  const client = this.client();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "copyright": "(c)2025 Quinn Michaels; All rights reserved.",
@@ -250,7 +250,7 @@
250
250
  },
251
251
  "message": "offline",
252
252
  "messages": {
253
- "init": "🟠 INIT",
253
+ "init": "🟠 INIT",
254
254
  "start": "🟢 START",
255
255
  "enter": "🔵 ENTER",
256
256
  "done": "🟣 DONE",