@indra.ai/deva 1.64.93 → 1.64.95

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.
@@ -26,8 +26,7 @@ When Node.js stops with an error, it prints several lines. Here's a real one fro
26
26
  ```
27
27
  file:///home/you/hello-deva/node_modules/@indra.ai/deva/index.js:2119
28
28
  const warning = this._agent.profile.warning || this._messages.warning; // agent or default warning
29
- ^
30
-
29
+ ^
31
30
  TypeError: Cannot read properties of undefined (reading 'warning')
32
31
  at Deva.uid (file:///home/you/hello-deva/node_modules/@indra.ai/deva/index.js:2119:39)
33
32
  ```
@@ -78,7 +77,8 @@ Missing client settings don't stop the Deva. It fills them in with default messa
78
77
  |---|---|---|
79
78
  | `needs an import attribute of "type: json"` | An import of a JSON file is missing `with {type:'json'}`. | Add `with {type:'json'}` to the end of the import. See [Step {{ s4.step }}]({{ s4.permalink }}). |
80
79
  | `Cannot find module` for `agent.json` or `client.json` | The import path is wrong. | The files live in `data/`, so the imports should be `./data/agent.json` and `./data/client.json`. |
81
- | `undefined` instead of `Hello World` | `vars: agent.vars` is missing from `new Deva()`. | Add `vars: agent.vars,` after the `agent` block. See [Step {{ s4.step }}]({{ s4.permalink }}). |
80
+ | undefined instead of Hello World | vars: agent.vars is missing from new Deva. |
81
+ | Cannot read properties of undefined (reading 'greeting') | agent is the wrapper (Agent) instead of Agent.DATA. | Add `vars: agent.vars,` after the `agent` block. See [Step {{ s4.step }}]({{ s4.permalink }}). |
82
82
  | `TypeError: Cannot read properties of undefined (reading 'greeting')` | `agent` is the whole agent file instead of what's inside it, so `agent.vars` doesn't exist. | It should be `const agent = Agent.DATA;`. The same message in Step {{ s5.step }} has a different cause, listed in the next section. |
83
83
 
84
84
  ## Skills (Step {{ s5.step }})
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "31711622713594414221",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.64.93",
4
+ "version": "1.64.95",
5
5
  "description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
6
6
  "main": "index.js",
7
7
  "license": "VLA:31711622713594414221 LICENSE.md",