@indra.ai/deva 1.62.86 → 1.62.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.
- package/README.md +6 -6
- package/core/intents.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -234,7 +234,7 @@ The 21 features are `init, agent, client, license, error, log, data, report, com
|
|
|
234
234
|
|
|
235
235
|
## Events
|
|
236
236
|
|
|
237
|
-
All core events are listed in `
|
|
237
|
+
All core events are listed in `_data/events.json` (25). The ones you'll usually listen to:
|
|
238
238
|
|
|
239
239
|
`devacore:prompt`, `devacore:error`, `devacore:question`, `devacore:answer`, `devacore:ask`, `devacore:start`, `devacore:enter`, `devacore:done`, `devacore:ready`, `devacore:finish`, `devacore:complete`, `devacore:stop`, `devacore:exit`, `devacore:shutdown`, `devacore:context`, `devacore:feature`, `devacore:zone`, `devacore:action`, `devacore:state`, `devacore:intent`, `devacore:belief`, `devacore:load`, `devacore:unload`.
|
|
240
240
|
|
|
@@ -251,11 +251,11 @@ A method that rejects or throws ends up here. Most calls made while the Deva is
|
|
|
251
251
|
|
|
252
252
|
| File | Contents |
|
|
253
253
|
|---|---|
|
|
254
|
-
| `_data/
|
|
255
|
-
| `_data/
|
|
256
|
-
| `_data/
|
|
257
|
-
| `_data/
|
|
258
|
-
| `_data/
|
|
254
|
+
| `_data/index.js` | Command char `/`, ask char `#`, `timeout.ask: 30000`, `hashes`, container markers (`::BEGIN`/`::END`), uid salt range, inherit/bind lists, the invoke chain table, defaults |
|
|
255
|
+
| `_data/events.json` | Event names |
|
|
256
|
+
| `_data/features.json` | Feature labels |
|
|
257
|
+
| `_data/zones.json`, `actions.json`, `states.json`, `intents.json`, `beliefs.json` | Workflow labels |
|
|
258
|
+
| `_data/msgs.json` | System messages such as `offline`, `noid`, `asktimeout`, `noask`, `method_not_found`, plus default `warning`, `notice` and `copyright` text |
|
|
259
259
|
|
|
260
260
|
Each JSON file has `id`, `title`, `copyright`, `VLA` and `DATA`, and the values are in `DATA`.
|
|
261
261
|
|
package/core/intents.md
CHANGED
|
@@ -10,7 +10,7 @@ permalink: /core/intents/
|
|
|
10
10
|
|
|
11
11
|
## What an intent is
|
|
12
12
|
|
|
13
|
-
An intent records **the purpose or outcome behind what the Deva is doing**. Most calls in the Core use `good` when work succeeds and `bad` when it fails, but the list also covers lifecycle steps such as `
|
|
13
|
+
An intent records **the purpose or outcome behind what the Deva is doing**. Most calls in the Core use `good` when work succeeds and `bad` when it fails, but the list also covers lifecycle steps such as `good`, `neutral` and `bad`, and a wide range of purposes such as `help`, `work`, `assist` and `lawful`. Each time you set one, the Core records it and broadcasts a `devacore:intent` event. Actions say what is done, states say the condition, and intents say why and how it ended.
|
|
14
14
|
|
|
15
15
|
## How to use it
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "23221940810208468106",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.62.
|
|
4
|
+
"version": "1.62.88",
|
|
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:23221940810208468106 LICENSE.md",
|