@indra.ai/deva 1.64.95 → 1.64.97

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/guide/index.md CHANGED
@@ -40,6 +40,10 @@ By the end, your project will look like this:
40
40
  {% for line in guide.tree %}{{ line }}
41
41
  {% endfor %}```
42
42
 
43
+ ## Troubleshooting
44
+
45
+ If a step doesn't work, see [Troubleshooting](/guide/troubleshooting/). It lists the errors you might hit at each step, what causes them and how to fix them.
46
+
43
47
  ## Ready?
44
48
 
45
49
  {% assign first = guide.steps | first %}
@@ -77,8 +77,7 @@ Missing client settings don't stop the Deva. It fills them in with default messa
77
77
  |---|---|---|
78
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 }}). |
79
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`. |
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 }}). |
80
+ | `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 }}). |
82
81
  | `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
82
 
84
83
  ## Skills (Step {{ s5.step }})
package/index.md CHANGED
@@ -32,6 +32,7 @@ Node.js 22 or later. ES modules only.
32
32
  ## Start here
33
33
 
34
34
  - [Read the documentation](/docs/), with install, a working quick start, the lifecycle, messaging between Devas, the packet, hashing, events and the method reference.
35
+ - [Build your first Deva](/guide/), a step-by-step guide from an empty folder to a working Deva with a skill, a method and a listener, then a clean shutdown.
35
36
  - [Deva Core on GitHub](https://github.com/indraai/deva), where the code, the issues and the examples live.
36
37
  - [`@indra.ai/deva` on npm](https://www.npmjs.com/package/@indra.ai/deva), for the published package.
37
38
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "31711622713594414221",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.64.95",
4
+ "version": "1.64.97",
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",