@indra.ai/deva 1.60.7 → 1.60.10

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # Deva Core
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@indra.ai/deva)](https://www.npmjs.com/package/@indra.ai/deva)
4
+
3
5
  **`@indra.ai/deva`**
4
6
 
5
7
  Deva Core is a Vedic-inspired, event-based, context-aware Feature, Zone, Action and State machine framework for building integrated artificial intelligence agents ("Devas") in Node.js. Every Deva is one `Deva` class instance on a shared event bus. As it works, it moves through named features, zones, actions, states, intents, beliefs and contexts, and it broadcasts each step as an event. Every packet it builds is stamped with cumulative md5, sha256 and sha512 hashes.
@@ -214,7 +216,7 @@ A few spots (`init`, `_workflow`, `client()`, `agent()`, `machine()`, `uid()`) h
214
216
 
215
217
  Each call to `feature()`, `zone()`, `action()`, `state()`, `intent()` or `belief()` takes `(value, extra)`. If `value` exists in the matching list, it sets the current value, emits a hashed `devacore:<key>` event with `text` = the list's label plus `extra`, and returns that data. Unknown values are ignored silently. `context(value, extra)` does the same, using `vars.context` for the label, and accepts any value.
216
218
 
217
- The plural methods return a stamped object whose `value` is the full list. Counts at v1.60.2, with no agent additions:
219
+ The plural methods return a stamped object whose `value` is the full list:
218
220
 
219
221
  | List | Method | Default | Count | Source |
220
222
  |---|---|---|---|---|
@@ -13,7 +13,7 @@
13
13
  "finish": "devacore:finish",
14
14
  "complete": "devacore:complete",
15
15
  "stop": "devacore:stop",
16
- "close": "devacore:leave",
16
+ "close": "devacore:close",
17
17
  "leave": "devacore:leave",
18
18
  "exit": "devacore:exit",
19
19
  "shutdown": "devacore:shutdown",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "23221940810208468106",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.60.7",
4
+ "version": "1.60.10",
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",