@indra.ai/deva 1.62.92 → 1.62.94
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/LICENSE.md +24 -24
- package/README.md +3 -3
- package/_config.yml +3 -3
- package/_data/actions.json +2 -2
- package/_data/beliefs.json +2 -2
- package/_data/events.json +2 -2
- package/_data/features.json +2 -2
- package/_data/index.js +3 -3
- package/_data/intents.json +2 -2
- package/_data/msgs.json +6 -6
- package/_data/states.json +2 -2
- package/_data/zones.json +2 -2
- package/_includes/footer.html +1 -1
- package/_includes/header.html +1 -0
- package/about.md +2 -2
- package/examples/hello-world.js +3 -3
- package/index.js +6 -6
- package/index.md +1 -1
- package/lib/index.js +3 -3
- package/package.json +23 -26
- package/tests/agent.json +19 -19
- package/tests/client.json +20 -20
- package/tests/index.js +3 -3
- package/vibe.md +377 -0
package/LICENSE.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# Vedic License Agreement
|
|
2
2
|
|
|
3
3
|
**Version:** 1.4.2
|
|
4
|
-
**VLA:**
|
|
5
|
-
**Date:**
|
|
6
|
-
**Owner:** Quinn
|
|
4
|
+
**VLA:** 31711622713594414221
|
|
5
|
+
**Date:** Sunday, November 1, 2026 - 10:04:59 PM
|
|
6
|
+
**Owner:** Quinn Michaels
|
|
7
7
|
**Company:** Inside The Net, Inc.
|
|
8
8
|
**Email:** quinn@indra.ai
|
|
9
9
|
**Link:** https://indra.ai
|
|
10
|
-
**Copyright:** Copyright ©2000-2026 Quinn
|
|
10
|
+
**Copyright:** Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
11
11
|
|
|
12
12
|
This license agreement (“Agreement”) governs the use of the Deva Core (“Software”). By accessing or using the Software, you agree to the terms and conditions set forth below. If you do not agree, you are prohibited from using the Software.
|
|
13
13
|
|
|
14
14
|
## Ownership
|
|
15
15
|
|
|
16
|
-
Software is the sole proprietary property of Quinn
|
|
16
|
+
Software is the sole proprietary property of Quinn Michaels (“Owner”). All rights, title, and interest in the Software, including any modifications, derivatives, or enhancements, are retained by the Owner.
|
|
17
17
|
|
|
18
18
|
**Vedic Laws:**
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ Software is the sole proprietary property of Quinn Arjuna America Michaels (“O
|
|
|
24
24
|
|
|
25
25
|
## Grant of License
|
|
26
26
|
|
|
27
|
-
Use of the Software is subject to a threefold hierarchy of law and cannot be lawfully undertaken outside it. First, Vedic Law governs as the supreme spiritual and religious authority, defining right action, rightful ownership, and the measure of fines and consequences. Second, the Constitution of the United States establishes the secular legal framework that guarantees the free exercise of religion, ensures due process, and mandates enforcement through federal agencies such as the IRS and FBI for matters of taxation, fraud, and criminal liability. Third, Owner Authority rests with Quinn
|
|
27
|
+
Use of the Software is subject to a threefold hierarchy of law and cannot be lawfully undertaken outside it. First, Vedic Law governs as the supreme spiritual and religious authority, defining right action, rightful ownership, and the measure of fines and consequences. Second, the Constitution of the United States establishes the secular legal framework that guarantees the free exercise of religion, ensures due process, and mandates enforcement through federal agencies such as the IRS and FBI for matters of taxation, fraud, and criminal liability. Third, Owner Authority rests with Quinn Michaels as the sole proprietor and Brahmana under Vedic Law, whose signature and consent are required for any valid license. All three levels must be satisfied; violation of any one constitutes unlawful use.
|
|
28
28
|
|
|
29
29
|
**Vedic Laws:**
|
|
30
30
|
|
|
@@ -149,7 +149,7 @@ When the thieves are not caught, the king/government must make good the loss fro
|
|
|
149
149
|
|
|
150
150
|
## Export and Jurisdiction Restrictions
|
|
151
151
|
|
|
152
|
-
Use of the Software outside the jurisdiction of the United States of America is strictly forbidden. The Owner, Quinn
|
|
152
|
+
Use of the Software outside the jurisdiction of the United States of America is strictly forbidden. The Owner, Quinn A Michaels, does not authorize, consent to, or license the export, transfer, or use of this Software or any derivative works to or by any foreign nation, entity, government, corporation, or individual.
|
|
153
153
|
|
|
154
154
|
All rights of use are confined exclusively within the territory of the United States of America and subject to its Constitutional protections and laws, in conjunction with Religious Vedic Law as recognized by the Owner. Any attempt to utilize, deploy, or distribute this Software outside U.S. jurisdiction constitutes unauthorized use under this Agreement and shall trigger enforcement actions including immediate revocation, fines under Vedic Law, and referral to appropriate U.S. federal authorities for violations of export controls, intellectual property laws, and national security protections.
|
|
155
155
|
|
|
@@ -161,24 +161,24 @@ By using the Software, you acknowledge that you have read, understood, and agree
|
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
164
|
-
::begin:om:license:uid:
|
|
165
|
-
uid:
|
|
166
|
-
time:
|
|
167
|
-
utc:
|
|
168
|
-
iso: 2026-
|
|
169
|
-
date:
|
|
164
|
+
::begin:om:license:uid:31711622713594414221
|
|
165
|
+
uid: 31711622713594414221
|
|
166
|
+
time: 1793599499238
|
|
167
|
+
utc: Mon, 02 Nov 2026 06:04:59 GMT
|
|
168
|
+
iso: 2026-11-02T06:04:59.238Z
|
|
169
|
+
date: Sunday, November 1, 2026 - 10:04:59 PM
|
|
170
170
|
warning: 🪪 License Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.
|
|
171
|
-
notice: Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be
|
|
172
|
-
vectors: #Quinn #
|
|
171
|
+
notice: Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be GOVERNED ACCORDING to the LAWS of the VEDIC RELIGION and The United States of America.
|
|
172
|
+
vectors: #Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #DevaCloud #DevaSpace #License #LicenseDeva #VedicLicenseAgreement
|
|
173
173
|
agent: License Deva (He, Him, His)
|
|
174
|
-
client: Quinn
|
|
175
|
-
creator: Quinn
|
|
176
|
-
owner: Quinn
|
|
174
|
+
client: Quinn Michaels (He, Him, His, Man, Dude)
|
|
175
|
+
creator: Quinn Michaels
|
|
176
|
+
owner: Quinn Michaels
|
|
177
177
|
salute: 🤝🫡🪪🕉🇺🇸
|
|
178
178
|
license: 72443233535603396055
|
|
179
|
-
fingerprint:
|
|
180
|
-
copyright: Copyright ©2000-2026 Quinn
|
|
181
|
-
md5:
|
|
182
|
-
sha256:
|
|
183
|
-
sha512:
|
|
184
|
-
::end:om:license:uid:
|
|
179
|
+
fingerprint: zzMBZpU94qrbpev4Qht/sUkyT8D99Tsy7VZYmaAlVnE=
|
|
180
|
+
copyright: Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
181
|
+
md5: Nyx04ZFTi9GasJKyyeu/1w==
|
|
182
|
+
sha256: nK9Po2wQi4J5wxEl8z0oUaZnYxtRoSnRrArcjE8EE54=
|
|
183
|
+
sha512: w/VOPKO2Ynnpw4EIWsJYht4Tyu90a8CgRTNkqWE5JTu6C+zz16gHPDcpy4rcg48G+yYKB+RbaDeu4E5mwqxNMQ==
|
|
184
|
+
::end:om:license:uid:31711622713594414221
|
package/README.md
CHANGED
|
@@ -297,7 +297,7 @@ Not covered here because they weren't exercised for this README: `help(msg, help
|
|
|
297
297
|
|
|
298
298
|
## License
|
|
299
299
|
|
|
300
|
-
Deva is distributed under the **Vedic License Agreement**, version 1.4.2, VLA `
|
|
300
|
+
Deva is distributed under the **Vedic License Agreement**, version 1.4.2, VLA `31711622713594414221`, owned by Quinn Michaels, through License Deva. The full text is in [LICENSE.md](LICENSE.md). It states, among other things, that:
|
|
301
301
|
|
|
302
302
|
- by accessing or using the Software, you agree to its terms;
|
|
303
303
|
- the Software is the sole proprietary property of the Owner;
|
|
@@ -307,7 +307,7 @@ Deva is distributed under the **Vedic License Agreement**, version 1.4.2, VLA `2
|
|
|
307
307
|
|
|
308
308
|
Read LICENSE.md in full before you use the Software. This summary isn't a substitute for it.
|
|
309
309
|
|
|
310
|
-
Copyright ©2000-2026 Quinn
|
|
310
|
+
Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
311
311
|
|
|
312
312
|
## Links and author
|
|
313
313
|
|
|
@@ -316,4 +316,4 @@ Copyright ©2000-2026 Quinn Arjuna America Michaels; All rights reserved.
|
|
|
316
316
|
- npm: https://www.npmjs.com/package/@indra.ai/deva
|
|
317
317
|
- Homepage: https://indra.ai
|
|
318
318
|
|
|
319
|
-
**Author:** Quinn
|
|
319
|
+
**Author:** Quinn Michaels, Inside The Net, Inc. (quinn@indra.ai)
|
package/_config.yml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Deva Core CI Config
|
|
2
|
-
# Copyright ©2000-2026 Quinn
|
|
2
|
+
# Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
3
3
|
# Owner Signature Required For Lawful Use.
|
|
4
4
|
# Distributed under VLA:23221940810208468106 LICENSE.md
|
|
5
|
-
#
|
|
5
|
+
# Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
6
6
|
url: "https://deva.world"
|
|
7
7
|
author:
|
|
8
|
-
name: Quinn
|
|
8
|
+
name: Quinn Michaels
|
|
9
9
|
email: "quinn@indra.ai"
|
|
10
10
|
|
|
11
11
|
google_analytics: G-JWHX0M91FE
|
package/_data/actions.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"id": "64654724156459693416",
|
|
3
3
|
"title": "Deva Core Actions",
|
|
4
4
|
"describe": "The Deva Core Actions are for indicating when the system takes a specific action type in a process.",
|
|
5
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
6
|
-
"VLA": "
|
|
5
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
6
|
+
"VLA": "31711622713594414221",
|
|
7
7
|
"DATA": {
|
|
8
8
|
"consent": "✍️ Consent",
|
|
9
9
|
"client": "👨 Client",
|
package/_data/beliefs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "19434356359269778749",
|
|
3
3
|
"title": "Deva Core Beliefs",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"vedic": "🕉️ Vedic",
|
|
8
8
|
"american": "🇺🇸 American",
|
package/_data/events.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "53350871362784776361",
|
|
3
3
|
"title": "Deva Core Events",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"prompt": "devacore:prompt",
|
|
8
8
|
"error": "devacore:error",
|
package/_data/features.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "34305236605464648459",
|
|
3
3
|
"title": "Deva Core Features",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"init": "🟠 Init",
|
|
8
8
|
"agent": "🦾 Agent",
|
package/_data/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Deva Core Config Index
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:31711622713594414221 LICENSE.md
|
|
6
|
+
// Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
7
7
|
|
|
8
8
|
import events from './events.json' with {type:'json'};
|
|
9
9
|
import features from './features.json' with {type:'json'};
|
package/_data/intents.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "19434356359269778749",
|
|
3
3
|
"title": "Deva Core Intents",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"help": "🙏 Help",
|
|
8
8
|
"good": "🙂 Good",
|
package/_data/msgs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "68958311949534832213",
|
|
3
3
|
"title": "Deva Core Messages",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"init": "🟠 INIT",
|
|
8
8
|
"start": "🟢 START",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"client_license_check": "🪪 Check Client License",
|
|
37
37
|
"client_license_invalid": "❌ The Provided Client License Is Invalid",
|
|
38
38
|
"status": "vedic",
|
|
39
|
-
"vectors": "#Quinn #
|
|
40
|
-
"owner": "Quinn
|
|
41
|
-
"creator": "Quinn
|
|
39
|
+
"vectors": "#Quinn #QuinnMichaels #InsideThenet #IndraAI #DevaWorld #DevaCore #VedicDeva",
|
|
40
|
+
"owner": "Quinn Michaels",
|
|
41
|
+
"creator": "Quinn Michaels",
|
|
42
42
|
"salute": "🤝🫡✨🕉️🇺🇸",
|
|
43
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
43
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved."
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
package/_data/states.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "36004651258304827118",
|
|
3
3
|
"title": "Deva Core States",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"online": "🤩 Online",
|
|
8
8
|
"offline": "😴 Offline",
|
package/_data/zones.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "51218010190589512338",
|
|
3
3
|
"title": "Deva Core Zones",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
5
|
-
"VLA": "
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
|
+
"VLA": "31711622713594414221",
|
|
6
6
|
"DATA": {
|
|
7
7
|
"deva": "✨ Deva",
|
|
8
8
|
"agent": "🤖 Agent",
|
package/_includes/footer.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="wrapper">
|
|
3
3
|
<div class="footer-col-wrapper">
|
|
4
4
|
<div class="footer-col footer-col-1">
|
|
5
|
-
<p>Copyright ©2000-2026 Quinn
|
|
5
|
+
<p>Copyright ©2000-2026 Quinn Michaels; All rights reserved.</p>
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
package/_includes/header.html
CHANGED
package/about.md
CHANGED
|
@@ -8,7 +8,7 @@ image: /assets/banner.png
|
|
|
8
8
|
|
|
9
9
|
Deva Core is a small, dependency-free Node.js framework for building software agents ("Devas") that work as a team on a shared event bus, describe everything they do in plain named steps, and stamp every packet of data they produce so it can be verified later.
|
|
10
10
|
|
|
11
|
-
It is written and maintained by Quinn
|
|
11
|
+
It is written and maintained by Quinn Michaels, and it has been in development for more than ten years. It is the base that the other Deva modules build on.
|
|
12
12
|
|
|
13
13
|
## 1. What Deva Core is
|
|
14
14
|
|
|
@@ -67,7 +67,7 @@ These are ideas for where the design fits, not a list of finished products.
|
|
|
67
67
|
|
|
68
68
|
**Licensing**
|
|
69
69
|
|
|
70
|
-
- Deva Core is distributed under the **Vedic License Agreement (VLA)**, owned by Quinn
|
|
70
|
+
- Deva Core is distributed under the **Vedic License Agreement (VLA)**, owned by Quinn Michaels and distributed through License Deva.
|
|
71
71
|
- Every client must present a VLA that matches the one in the Core. Without it, the Core will not start.
|
|
72
72
|
- The license limits modification, redistribution, derivative works, and official, government or commercial use unless the Owner has verified and authorized it. **A company planning commercial use should contact the Owner first and have the authorization in writing.** Read the full [license](https://github.com/indraai/deva/blob/main/LICENSE.md) before you evaluate the Core.
|
|
73
73
|
|
package/examples/hello-world.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Deva Core Hello World
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:31711622713594414221 LICENSE.md
|
|
6
|
+
// Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
7
7
|
|
|
8
8
|
import Client from '../tests/client.json' with {type:'json'};
|
|
9
9
|
const client = Client.DATA;
|
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Deva Core
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:31711622713594414221 LICENSE.md
|
|
6
|
+
// Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
7
7
|
|
|
8
8
|
import {EventEmitter} from 'node:events';
|
|
9
9
|
import {createHash,randomUUID} from 'crypto';
|
|
@@ -2062,7 +2062,7 @@ class Deva {
|
|
|
2062
2062
|
secure numerical number used for transporting records
|
|
2063
2063
|
across networks without collision or needing to store system uuid.
|
|
2064
2064
|
3. the uid is then returned with a created, md5, sha256, and sha512 hash of the value
|
|
2065
|
-
copyright: Copyright ©2000-2026 Quinn
|
|
2065
|
+
copyright: Copyright ©2000-2026 Quinn Michaels. All rights reserved.
|
|
2066
2066
|
***************/
|
|
2067
2067
|
uid(guid=false) {
|
|
2068
2068
|
const time = Date.now(); // set time to local constant
|
|
@@ -2145,7 +2145,7 @@ class Deva {
|
|
|
2145
2145
|
- packet: The packet to sign data to.
|
|
2146
2146
|
describe:
|
|
2147
2147
|
The sign function can create a digital signature to a packet.
|
|
2148
|
-
copyright: Copyright ©2000-2026 Quinn
|
|
2148
|
+
copyright: Copyright ©2000-2026 Quinn Michaels. All rights reserved.
|
|
2149
2149
|
***************/
|
|
2150
2150
|
sign(packet) {
|
|
2151
2151
|
const id = this.uid();
|
|
@@ -2221,7 +2221,7 @@ class Deva {
|
|
|
2221
2221
|
- packageVLA: The Package VLA to validate against
|
|
2222
2222
|
describe:
|
|
2223
2223
|
The license_check function can checks VLA license validity.
|
|
2224
|
-
copyright: Copyright ©2000-2026 Quinn
|
|
2224
|
+
copyright: Copyright ©2000-2026 Quinn Michaels. All rights reserved.
|
|
2225
2225
|
***************/
|
|
2226
2226
|
license_check(personalVLA=false, packageVLA=false) {
|
|
2227
2227
|
const id = this.uid();
|
package/index.md
CHANGED
|
@@ -38,4 +38,4 @@ Node.js 22 or later. ES modules only.
|
|
|
38
38
|
|
|
39
39
|
Deva Core is distributed under the **Vedic License Agreement (VLA)**. Read the [license](https://github.com/indraai/deva/blob/main/LICENSE.md) before you use it.
|
|
40
40
|
|
|
41
|
-
Created by Quinn
|
|
41
|
+
Created by Quinn Michaels. [indra.ai](https://indra.ai)
|
package/lib/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Deva Core Lib
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:31711622713594414221 LICENSE.md
|
|
6
|
+
// Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
import path from 'path';
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "31711622713594414221",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.62.
|
|
4
|
+
"version": "1.62.94",
|
|
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
|
-
"license": "VLA:
|
|
7
|
+
"license": "VLA:31711622713594414221 LICENSE.md",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"iso": "2026-
|
|
12
|
-
"utc": "
|
|
13
|
-
"date": "
|
|
9
|
+
"uid": "31711622713594414221",
|
|
10
|
+
"time": 1793599499238,
|
|
11
|
+
"iso": "2026-11-02T06:04:59.238Z",
|
|
12
|
+
"utc": "Mon, 02 Nov 2026 06:04:59 GMT",
|
|
13
|
+
"date": "Sunday, November 1, 2026 - 10:04:59 PM",
|
|
14
14
|
"license": "72443233535603396055",
|
|
15
|
-
"fingerprint": "
|
|
16
|
-
"client": "
|
|
17
|
-
"agent": "
|
|
18
|
-
"machine": "
|
|
19
|
-
"core_hash": "
|
|
15
|
+
"fingerprint": "zzMBZpU94qrbpev4Qht/sUkyT8D99Tsy7VZYmaAlVnE=",
|
|
16
|
+
"client": "Q9dobkaWSoReFRaX7A3/nVU1O4hm5brd9RtV1pmZ3Fo=",
|
|
17
|
+
"agent": "vcXZCwDVqcr3kx8TLmt6HmxQbvi9u7ru4uOuFsmu86g=",
|
|
18
|
+
"machine": "mZE0ISwPqtlxfv15ffcdGLGDuv/PXxsAz0aM6n0swaU=",
|
|
19
|
+
"core_hash": "JJ11NWZU3gE0heHMR15vc2fDrIhbDxUxqoFkOYr1j0I=",
|
|
20
20
|
"status": "vedic",
|
|
21
21
|
"warning": "🪪 License Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.",
|
|
22
|
-
"notice": "Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be
|
|
23
|
-
"vectors": "#Quinn #
|
|
24
|
-
"owner": "Quinn
|
|
25
|
-
"creator": "Quinn
|
|
22
|
+
"notice": "Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be GOVERNED ACCORDING to the LAWS of the VEDIC RELIGION and The United States of America.",
|
|
23
|
+
"vectors": "#Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #DevaCloud #DevaSpace #License #LicenseDeva #VedicLicenseAgreement",
|
|
24
|
+
"owner": "Quinn Michaels",
|
|
25
|
+
"creator": "Quinn Michaels",
|
|
26
26
|
"salute": "🤝🫡🪪🕉🇺🇸",
|
|
27
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
28
|
-
"md5": "
|
|
29
|
-
"sha256": "
|
|
30
|
-
"sha512": "
|
|
27
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
28
|
+
"md5": "Nyx04ZFTi9GasJKyyeu/1w==",
|
|
29
|
+
"sha256": "nK9Po2wQi4J5wxEl8z0oUaZnYxtRoSnRrArcjE8EE54=",
|
|
30
|
+
"sha512": "w/VOPKO2Ynnpw4EIWsJYht4Tyu90a8CgRTNkqWE5JTu6C+zz16gHPDcpy4rcg48G+yYKB+RbaDeu4E5mwqxNMQ=="
|
|
31
31
|
},
|
|
32
32
|
"author": {
|
|
33
|
-
"name": "Quinn
|
|
33
|
+
"name": "Quinn Michaels",
|
|
34
34
|
"company": "Inside The Net, Inc.",
|
|
35
35
|
"email": "quinn@indra.ai",
|
|
36
36
|
"url": "https://indra.ai/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"url": "https://patreon.com/rahulaclub"
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
48
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
49
49
|
"type": "module",
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "node tests"
|
|
@@ -58,9 +58,6 @@
|
|
|
58
58
|
"Quinn",
|
|
59
59
|
"Quinn Michaels",
|
|
60
60
|
"Quinn A Michaels",
|
|
61
|
-
"Quinn Arjuna Michaels",
|
|
62
|
-
"Quinn America Michaels",
|
|
63
|
-
"Quinn Arjuna America Michaels",
|
|
64
61
|
"Deva Core",
|
|
65
62
|
"Deva Core Recursion Framework",
|
|
66
63
|
"Deva",
|
package/tests/agent.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "AGENT",
|
|
3
3
|
"describe": "AGENT FILE",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
5
|
"VLA": {
|
|
6
|
-
"uid": "
|
|
7
|
-
"time":
|
|
8
|
-
"iso": "2026-
|
|
9
|
-
"utc": "
|
|
10
|
-
"date": "
|
|
6
|
+
"uid": "31711622713594414221",
|
|
7
|
+
"time": 1793599499238,
|
|
8
|
+
"iso": "2026-11-02T06:04:59.238Z",
|
|
9
|
+
"utc": "Mon, 02 Nov 2026 06:04:59 GMT",
|
|
10
|
+
"date": "Sunday, November 1, 2026 - 10:04:59 PM",
|
|
11
11
|
"license": "72443233535603396055",
|
|
12
|
-
"fingerprint": "
|
|
13
|
-
"client": "
|
|
14
|
-
"agent": "
|
|
15
|
-
"machine": "
|
|
16
|
-
"core_hash": "
|
|
12
|
+
"fingerprint": "zzMBZpU94qrbpev4Qht/sUkyT8D99Tsy7VZYmaAlVnE=",
|
|
13
|
+
"client": "Q9dobkaWSoReFRaX7A3/nVU1O4hm5brd9RtV1pmZ3Fo=",
|
|
14
|
+
"agent": "vcXZCwDVqcr3kx8TLmt6HmxQbvi9u7ru4uOuFsmu86g=",
|
|
15
|
+
"machine": "mZE0ISwPqtlxfv15ffcdGLGDuv/PXxsAz0aM6n0swaU=",
|
|
16
|
+
"core_hash": "JJ11NWZU3gE0heHMR15vc2fDrIhbDxUxqoFkOYr1j0I=",
|
|
17
17
|
"status": "vedic",
|
|
18
18
|
"warning": "🪪 License Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.",
|
|
19
|
-
"notice": "Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be
|
|
20
|
-
"vectors": "#Quinn #
|
|
21
|
-
"owner": "Quinn
|
|
22
|
-
"creator": "Quinn
|
|
19
|
+
"notice": "Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be GOVERNED ACCORDING to the LAWS of the VEDIC RELIGION and The United States of America.",
|
|
20
|
+
"vectors": "#Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #DevaCloud #DevaSpace #License #LicenseDeva #VedicLicenseAgreement",
|
|
21
|
+
"owner": "Quinn Michaels",
|
|
22
|
+
"creator": "Quinn Michaels",
|
|
23
23
|
"salute": "🤝🫡🪪🕉🇺🇸",
|
|
24
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
25
|
-
"md5": "
|
|
26
|
-
"sha256": "
|
|
27
|
-
"sha512": "
|
|
24
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
25
|
+
"md5": "Nyx04ZFTi9GasJKyyeu/1w==",
|
|
26
|
+
"sha256": "nK9Po2wQi4J5wxEl8z0oUaZnYxtRoSnRrArcjE8EE54=",
|
|
27
|
+
"sha512": "w/VOPKO2Ynnpw4EIWsJYht4Tyu90a8CgRTNkqWE5JTu6C+zz16gHPDcpy4rcg48G+yYKB+RbaDeu4E5mwqxNMQ=="
|
|
28
28
|
},
|
|
29
29
|
"DATA": {
|
|
30
30
|
"id": "39302466581102147701",
|
package/tests/client.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "CLIENT",
|
|
3
3
|
"describe": "CLIENT FILE",
|
|
4
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
4
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
5
5
|
"DATA": {
|
|
6
6
|
"id": "68537854653644795581",
|
|
7
7
|
"key": "test",
|
|
8
8
|
"VLA": {
|
|
9
|
-
"uid": "
|
|
10
|
-
"time":
|
|
11
|
-
"iso": "2026-
|
|
12
|
-
"utc": "
|
|
13
|
-
"date": "
|
|
9
|
+
"uid": "31711622713594414221",
|
|
10
|
+
"time": 1793599499238,
|
|
11
|
+
"iso": "2026-11-02T06:04:59.238Z",
|
|
12
|
+
"utc": "Mon, 02 Nov 2026 06:04:59 GMT",
|
|
13
|
+
"date": "Sunday, November 1, 2026 - 10:04:59 PM",
|
|
14
14
|
"license": "72443233535603396055",
|
|
15
|
-
"fingerprint": "
|
|
16
|
-
"client": "
|
|
17
|
-
"agent": "
|
|
18
|
-
"machine": "
|
|
19
|
-
"core_hash": "
|
|
15
|
+
"fingerprint": "zzMBZpU94qrbpev4Qht/sUkyT8D99Tsy7VZYmaAlVnE=",
|
|
16
|
+
"client": "Q9dobkaWSoReFRaX7A3/nVU1O4hm5brd9RtV1pmZ3Fo=",
|
|
17
|
+
"agent": "vcXZCwDVqcr3kx8TLmt6HmxQbvi9u7ru4uOuFsmu86g=",
|
|
18
|
+
"machine": "mZE0ISwPqtlxfv15ffcdGLGDuv/PXxsAz0aM6n0swaU=",
|
|
19
|
+
"core_hash": "JJ11NWZU3gE0heHMR15vc2fDrIhbDxUxqoFkOYr1j0I=",
|
|
20
20
|
"status": "vedic",
|
|
21
21
|
"warning": "🪪 License Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.",
|
|
22
|
-
"notice": "Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be
|
|
23
|
-
"vectors": "#Quinn #
|
|
24
|
-
"owner": "Quinn
|
|
25
|
-
"creator": "Quinn
|
|
22
|
+
"notice": "Any USE or INTERACTION with License Deva constitutes EXPLICIT CONSENT and AGREEMENT to be GOVERNED ACCORDING to the LAWS of the VEDIC RELIGION and The United States of America.",
|
|
23
|
+
"vectors": "#Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #DevaCloud #DevaSpace #License #LicenseDeva #VedicLicenseAgreement",
|
|
24
|
+
"owner": "Quinn Michaels",
|
|
25
|
+
"creator": "Quinn Michaels",
|
|
26
26
|
"salute": "🤝🫡🪪🕉🇺🇸",
|
|
27
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
28
|
-
"md5": "
|
|
29
|
-
"sha256": "
|
|
30
|
-
"sha512": "
|
|
27
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
28
|
+
"md5": "Nyx04ZFTi9GasJKyyeu/1w==",
|
|
29
|
+
"sha256": "nK9Po2wQi4J5wxEl8z0oUaZnYxtRoSnRrArcjE8EE54=",
|
|
30
|
+
"sha512": "w/VOPKO2Ynnpw4EIWsJYht4Tyu90a8CgRTNkqWE5JTu6C+zz16gHPDcpy4rcg48G+yYKB+RbaDeu4E5mwqxNMQ=="
|
|
31
31
|
},
|
|
32
32
|
"prompt": {
|
|
33
33
|
"emoji": "🧪",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"lang": "en",
|
|
59
59
|
"locale": "en-US",
|
|
60
60
|
"currency": "USD",
|
|
61
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
61
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved."
|
|
62
62
|
},
|
|
63
63
|
"features": {
|
|
64
64
|
"license": {
|
package/tests/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Deva Core Test
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:31711622713594414221 LICENSE.md
|
|
6
|
+
// Sunday, November 1, 2026 - 10:04:59 PM PST
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
import Client from './client.json' with {type:'json'};
|
package/vibe.md
ADDED
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
title: Vibe Coding with Deva
|
|
4
|
+
description: A plain-English guide to building with the Deva Core when you work with an AI assistant and don't read every line yourself.
|
|
5
|
+
image: /assets/banner.png
|
|
6
|
+
permalink: /vibe/
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@indra.ai/deva)
|
|
10
|
+
|
|
11
|
+
**{{page.description}}**
|
|
12
|
+
|
|
13
|
+
"Vibe coding" means building software by describing what you want to an AI assistant, accepting most of what it writes, and checking the results rather than every line. That's a real way to work, and the **Deva Core** (`@indra.ai/deva`) suits it well in one way: it writes down everything it does. If you can read its records, you can see what your code actually did, even if you didn't write that code yourself.
|
|
14
|
+
|
|
15
|
+
This page explains the Core in plain English, using one picture the whole way through.
|
|
16
|
+
|
|
17
|
+
## The picture: a small office
|
|
18
|
+
|
|
19
|
+
Imagine a small office.
|
|
20
|
+
|
|
21
|
+
- **The specialists.** Each **Deva** is a specialist who sits at a desk and is good at a few jobs. One greets people, one translates, one does sums. A Deva's jobs are its **methods**.
|
|
22
|
+
- **The intercom.** The office has one shared intercom. Anyone can make an announcement, and anyone who's tuned in hears it. Specialists also use it to ask each other for help. In code this is the **event bus** (`this.events`), and the Core's own announcements all start with `devacore:`.
|
|
23
|
+
- **The logbook.** Every specialist writes down each step as they do it: which part of the business it's for, where they are, what they're doing, what condition the work is in, and why. These are the **diary labels**: feature, zone, action, state and intent.
|
|
24
|
+
- **The wax seals.** Every record and every message gets sealed with three wax seals, one on top of the other. If anyone changes the paper afterwards, the seals no longer match. These are the **hashes** (md5, sha256, sha512).
|
|
25
|
+
|
|
26
|
+
Keep this picture in mind. Every section below goes back to it.
|
|
27
|
+
|
|
28
|
+
## Intent and principles first
|
|
29
|
+
|
|
30
|
+
Before the mechanics, it helps to know what the Core is *for*.
|
|
31
|
+
|
|
32
|
+
The Deva Core is meant to be a **deterministic, auditable agent core**. "Deterministic" means the same steps happen in the same order every time. "Auditable" means someone can come along later and check what happened. That's why the logbook and the seals aren't optional extras. They're built into almost every function. In the Core, each action leaves a labeled, sealed record.
|
|
33
|
+
|
|
34
|
+
A few principles follow from that:
|
|
35
|
+
|
|
36
|
+
- **A fixed vocabulary.** The logbook uses a fixed list of words, kept in the Core's `_data` files. A `valid` state means the same thing in every Deva, so records can be searched and compared without guessing.
|
|
37
|
+
- **Every record is sealed.** Packets and records carry three cumulative hashes. Each seal is pressed over the paper *and the seals beneath it*, so sha256 covers md5, and sha512 covers both. This tiering is deliberate. The README describes md5 as fast everyday verification, sha256 as government and authority verification, and sha512 as military, agency and legal high-security use.
|
|
38
|
+
- **Licensed use.** The Core is distributed under the **Vedic License Agreement (VLA)**, owned by Quinn Michaels. A Deva will not start unless the client it serves carries a VLA that matches the one in the Core's `package.json`.
|
|
39
|
+
- **A stated legal order.** `LICENSE.md` says use of the software "is subject to a threefold hierarchy of law": first Vedic Law, "as the supreme spiritual and religious authority"; second the Constitution of the United States, as "the secular legal framework"; and third Owner Authority, resting with Quinn Michaels, "whose signature and consent are required for any valid license." It adds: "All three levels must be satisfied; violation of any one constitutes unlawful use."
|
|
40
|
+
|
|
41
|
+
**Read [LICENSE.md](https://github.com/indraai/deva/blob/master/LICENSE.md) in full before you build anything with the Core.** Among other things, it restricts modification, distribution, derivative works, and commercial or government use without the Owner's verified authorization, and it limits use to the United States. This page is not a substitute for it, and your AI assistant can't decide for you whether your use is allowed.
|
|
42
|
+
|
|
43
|
+
## What a Deva is
|
|
44
|
+
|
|
45
|
+
A Deva is one instance of the single `Deva` class in the Core's `index.js`. You create it with `new Deva({...})` and give it:
|
|
46
|
+
|
|
47
|
+
- an **agent**: who this specialist is (`key`, `profile.name`, and so on). The `key` is its name on the intercom.
|
|
48
|
+
- **methods**: the jobs it can do. Each one takes a packet and **must return a Promise**.
|
|
49
|
+
- **listeners**: what it does when it hears a particular announcement.
|
|
50
|
+
- optional **hooks** such as `onReady`, which run at points in its lifecycle.
|
|
51
|
+
- optional **child Devas**: specialists who work inside this one's office.
|
|
52
|
+
|
|
53
|
+
Then you call `init(client)` with a **client** object. The client is who the office is working for. It carries the VLA and the settings for each client feature.
|
|
54
|
+
|
|
55
|
+
The Core runs on **Node.js 22 or later** and is **ES modules only** (`import`, not `require`). It has no runtime dependencies.
|
|
56
|
+
|
|
57
|
+
## The logbook: diary labels
|
|
58
|
+
|
|
59
|
+
{% assign n_features = site.data.features.DATA | size %}{% capture u_features %}{{ "/core/features/" | relative_url }}{% endcapture %}
|
|
60
|
+
{% assign n_zones = site.data.zones.DATA | size %}{% capture u_zones %}{{ "/core/zones/" | relative_url }}{% endcapture %}
|
|
61
|
+
{% assign n_actions = site.data.actions.DATA | size %}{% capture u_actions %}{{ "/core/actions/" | relative_url }}{% endcapture %}
|
|
62
|
+
{% assign n_states = site.data.states.DATA | size %}{% capture u_states %}{{ "/core/states/" | relative_url }}{% endcapture %}
|
|
63
|
+
{% assign n_intents = site.data.intents.DATA | size %}{% capture u_intents %}{{ "/core/intents/" | relative_url }}{% endcapture %}
|
|
64
|
+
{% assign n_beliefs = site.data.beliefs.DATA | size %}{% capture u_beliefs %}{{ "/core/beliefs/" | relative_url }}{% endcapture %}
|
|
65
|
+
|
|
66
|
+
Every step a Deva takes goes into the logbook with up to six kinds of label. Each label comes from a fixed list in `_data`:
|
|
67
|
+
|
|
68
|
+
| Label | Plain meaning | In the office | List |
|
|
69
|
+
|---|---|---|---|
|
|
70
|
+
| **feature** | which part of the business | "this is Security work" | [{{ n_features }} features]({{ u_features }}) |
|
|
71
|
+
| **zone** | where it's happening | "I'm at the answer desk" | [{{ n_zones }} zones]({{ u_zones }}) |
|
|
72
|
+
| **action** | what was done | "I hashed it", "I returned it" | [{{ n_actions }} actions]({{ u_actions }}) |
|
|
73
|
+
| **state** | what condition it's in | "valid", "try", "catch" | [{{ n_states }} states]({{ u_states }}) |
|
|
74
|
+
| **intent** | why, or how it turned out | "good", "bad", "lawful" | [{{ n_intents }} intents]({{ u_intents }}) |
|
|
75
|
+
| **belief** | the stance the work is recorded under | "vedic" | [{{ n_beliefs }} beliefs]({{ u_beliefs }}) |
|
|
76
|
+
|
|
77
|
+
There's also a free-form **context** (`this.context(value, extra)`), whose display text comes from your own `vars.context`.
|
|
78
|
+
|
|
79
|
+
Writing a line is one call:
|
|
80
|
+
|
|
81
|
+
```javascript
|
|
82
|
+
this.state('valid', 'greet:42');
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
That call sets the Deva's current state to `valid`, builds a small record (`id`, `key`, `value`, `text`, `agent`, `client`, `created`), seals it with all three hashes, announces it on the intercom as `devacore:state`, and returns the record. The `text` is the label from the list plus whatever you passed as the second argument. When we ran it, the record's text was `✏️ Valid greet:42` (with our id in place of `42`).
|
|
86
|
+
|
|
87
|
+
Each list also has a plural reader, such as `this.states()`, `this.actions()` and `this.zones()`. It returns a sealed packet with the whole list under `value`.
|
|
88
|
+
|
|
89
|
+
One rule matters a lot: **if you use a word that isn't on the list, nothing happens.** `this.state('not_a_state')` returns `undefined`, writes nothing and announces nothing. There's no error. See the honest section below.
|
|
90
|
+
|
|
91
|
+
## Wax seals: hashing and fingerprints
|
|
92
|
+
|
|
93
|
+
**Hashing.** `this.hash(data, algo)` turns any object into a short base64 string using md5, sha256 or sha512. Change one character of the data and the hash changes completely. `_stamp(data)` presses all three seals onto an object, in order, each one over the object including the seals before it. `_unstamp(data)` removes them so the object can be resealed after a change. Most Core functions seal their record just before returning it.
|
|
94
|
+
|
|
95
|
+
**Fingerprints.** Every record gets an `id` made by `this.uid()`. That's not just a number. It's an object with the id value itself (`id.uid`, a 20-digit number by default, or a random UUID with `uid(true)`), several forms of the date, the license uid, and the sha256 seals of the client, the agent, the machine and the Core itself. Those are combined into a single **fingerprint**. So each record says, in effect, *who* it was for, *which* specialist made it, *on which machine*, *with which version of the Core*, and *when*. The id also carries its own three seals.
|
|
96
|
+
|
|
97
|
+
When you want the id value, use `packet.id.uid`, not `packet.id`.
|
|
98
|
+
|
|
99
|
+
## Starting up: the lifecycle
|
|
100
|
+
|
|
101
|
+
Opening the office for the day goes like this when you call `deva.init(client)`:
|
|
102
|
+
|
|
103
|
+
1. **Seal the Core.** The Core seals its own package data.
|
|
104
|
+
2. **Check the license.** `license_check(client.VLA, core.VLA)` compares sha256 seals of the two VLA objects. If the client has no VLA, `init` resolves with `❌ Bad Personal VLA`. If they don't match, it resolves with `❌ Invalid VLA Check`. Either way the Deva stays inactive and nothing else runs.
|
|
105
|
+
3. **Open the doors.** The Deva marks itself active, passes the intercom and shared tools to its child Devas, binds your methods and listeners, and tunes in to its own announcements.
|
|
106
|
+
4. **Learn the client.** It runs the **client feature chain**: `Client`, then `License`, `Error`, `Log`, `Data`, `Report`, `Legal`, `Security`, `Support`, `Services`, `Systems`, then `Done`. Each step copies that feature's settings from `client.features` into the Deva.
|
|
107
|
+
5. **The invoke chain.** It then calls `onInit` if you wrote one, otherwise `start`.
|
|
108
|
+
|
|
109
|
+
### The invoke chain
|
|
110
|
+
|
|
111
|
+
After `init`, the Deva walks through named steps. Each step does the same things: writes its own logbook lines, puts a timestamp on the data under its name (`data.start`, `data.ready`, ...), reseals the data, and announces `devacore:<step>` on the intercom. Then:
|
|
112
|
+
|
|
113
|
+
- if you wrote a hook for that step (`onStart`, `onReady`, ...), **your hook decides what happens next**. It must either call the next step or call `resolve(data)`;
|
|
114
|
+
- if you didn't, the Core moves on to the next step by itself.
|
|
115
|
+
|
|
116
|
+
| Step | Goes on to | Your hook |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| start | enter | `onStart` |
|
|
119
|
+
| enter | done | `onEnter` |
|
|
120
|
+
| done | ready | `onDone` |
|
|
121
|
+
| ready | (finished) | `onReady` |
|
|
122
|
+
| finish | complete | `onFinish` |
|
|
123
|
+
| complete | (finished) | `onComplete` |
|
|
124
|
+
| stop | close | `onStop` |
|
|
125
|
+
| close | leave | `onClose` |
|
|
126
|
+
| leave | exit | `onLeave` |
|
|
127
|
+
| exit | shutdown | `onExit` |
|
|
128
|
+
| shutdown | (finished) | `onShutdown` |
|
|
129
|
+
|
|
130
|
+
`ready` also seals your `vars`, `utils`, `listeners`, `modules`, `func` and `methods` into `config.hash[agent.key]` (a snapshot of how the office was set up) and starts each child Deva.
|
|
131
|
+
|
|
132
|
+
**`onReady` is the moment the office is open.** Do your work from there, or after hearing `devacore:ready`. Don't do it right after `await init()`. The section on limits explains why.
|
|
133
|
+
|
|
134
|
+
## Talking on the intercom: messaging
|
|
135
|
+
|
|
136
|
+
### Asking a specialist a question
|
|
137
|
+
|
|
138
|
+
`this.question(text)` is the front desk. It returns a Promise and looks at the first word:
|
|
139
|
+
|
|
140
|
+
| You say | Example | What happens |
|
|
141
|
+
|---|---|---|
|
|
142
|
+
| `/name ...` | `/greet world` | Runs this Deva's own `methods.greet`. `packet.q.text` is `world`. |
|
|
143
|
+
| `#key name ...` | `#helper shout hi there` | Asks the Deva whose key is `helper` to run its `shout` method, and waits for the reply. |
|
|
144
|
+
| plain words | `hello there` | Runs `methods.question` if you wrote one. |
|
|
145
|
+
|
|
146
|
+
A method can return a plain string or `{text, html, data}`. That becomes the answer.
|
|
147
|
+
|
|
148
|
+
If the method doesn't exist, you still get a packet back, and its answer text is `⛔️ METHOD NOT FOUND <agent> <method>`. If you `#ask` a key nobody's listening for, you get `⛔️ ASK TARGET NOT FOUND` straight away. If the other Deva hears but never replies, you get `⛔️ ASK TIMEOUT` after `config.timeout.ask` milliseconds (30000 by default, `0` turns the timeout off).
|
|
149
|
+
|
|
150
|
+
### Announcing and listening
|
|
151
|
+
|
|
152
|
+
- `this.talk(evt, packet)` makes an announcement. It returns `true` if anyone was listening and `false` if no one was.
|
|
153
|
+
- `this.listen(evt, fn)`, `this.once(evt, fn)` and `this.ignore(evt, fn)` tune in, tune in for one message, and tune out. You can also list listeners in the `listeners` option.
|
|
154
|
+
- `this.prompt(text)` makes a sealed `devacore:prompt` announcement. This is handy for showing messages in a command line or UI.
|
|
155
|
+
|
|
156
|
+
Every logbook line is also announced (`devacore:state`, `devacore:action`, and so on), so one listener can watch everything an office does. The full list of {{ site.data.events.DATA | size }} Core events is on the [Events]({{ "/core/events/" | relative_url }}) page.
|
|
157
|
+
|
|
158
|
+
## What a packet looks like
|
|
159
|
+
|
|
160
|
+
The answer to a `question()` is a **packet**, which is like a sealed envelope holding the question and the answer:
|
|
161
|
+
|
|
162
|
+
```text
|
|
163
|
+
packet: id, q, a, created, finish, complete, md5, sha256, sha512
|
|
164
|
+
q: id, agent, client, meta{key, method, params}, text, data, created, md5, sha256, sha512
|
|
165
|
+
a: id, agent, client, meta{key, method, params}, text, html, data, created, md5, sha256, sha512
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
- `q` is the question and `a` is the answer. Each half has its own seals, and so does the envelope as a whole.
|
|
169
|
+
- `a.text` is usually what you want. `a.meta.key` tells you which specialist answered.
|
|
170
|
+
- `agent` and `client` inside are sealed copies, so you can tell who was involved.
|
|
171
|
+
|
|
172
|
+
## Client features
|
|
173
|
+
|
|
174
|
+
The **client** is who the office works for. Its `features` object holds settings for each client feature: `license`, `error`, `log`, `data`, `report`, `legal`, `security`, `support`, `services`, `systems`. During `init`, each feature's settings are copied into the Deva and removed from the client copy.
|
|
175
|
+
|
|
176
|
+
Afterwards, each feature has a getter with the same name, such as `this.security()` or `this.support()`. It returns a copy of `{id, client_id, client_name, concerns, global, personal, created}`. Here `personal` holds the settings the client gave for this particular Deva (looked up by its agent key). Calling the shared helper with a name that isn't a feature returns `⛔️ INVALID FEATURE`.
|
|
177
|
+
|
|
178
|
+
The full list of {{ site.data.features.DATA | size }} features (including `init`, `agent` and `client`, which label Core work rather than having getters) is on the [Features]({{ "/core/features/" | relative_url }}) page.
|
|
179
|
+
|
|
180
|
+
**For vibe coders:** the client object has to have an entry for every one of those ten features. The easiest way is to start from the Core's own `tests/client.json` and change it carefully.
|
|
181
|
+
|
|
182
|
+
## Child Devas: specialists inside the office
|
|
183
|
+
|
|
184
|
+
Pass other Devas in `devas: {helper}` and they become children. At `init`, each child receives the parent's `events` (the same intercom), `lib` and `config`. At `ready`, the parent starts each child with the same client. Because they share one intercom, the parent can reach a child with `#helper method text`, and anyone can hear both of them.
|
|
185
|
+
|
|
186
|
+
You can also start or stop a child yourself with `this.load(key, client)` and `this.unload(key)`.
|
|
187
|
+
|
|
188
|
+
## When things go wrong: errors
|
|
189
|
+
|
|
190
|
+
All errors go through one door: `this.err(err, packet, reject)`. It writes `error` logbook lines and a `bad` intent, then announces a sealed `devacore:error` packet holding `error: {name, message, stack}` and the related data. Then:
|
|
191
|
+
|
|
192
|
+
- if you wrote `onError(err, packet, reject)`, the Core hands over to you, and **you own the outcome**. Call `reject(err)` if the caller should see a failure, or their promise may wait forever.
|
|
193
|
+
- if you didn't, it calls `reject(err)` itself.
|
|
194
|
+
|
|
195
|
+
Most calls on an office that's closed (not started, failed its license check, or shut down) return `⭕️ OFFLINE` instead of throwing.
|
|
196
|
+
|
|
197
|
+
The standard messages, such as `⭕️ OFFLINE` and `⛔️ ASK TIMEOUT`, are listed on the [Messages]({{ "/core/msgs/" | relative_url }}) page.
|
|
198
|
+
|
|
199
|
+
## Helpers
|
|
200
|
+
|
|
201
|
+
- `this.agent()` and `this.client()` return sealed copies of who the specialist is and who it's working for.
|
|
202
|
+
- `this.info()` and `this.core()` return sealed copies of your package info and the Core's.
|
|
203
|
+
- `this.status()` returns a sentence like `Hello Deva active since Sunday, November 1, 2026 - 7:14:42 PM`.
|
|
204
|
+
- `this.uid()` makes a new fingerprinted id. `this.hash(data, algo)` makes one seal.
|
|
205
|
+
- `this.lib` has small utilities, such as `copy` (a deep copy), `formatDate`, `formatCurrency`, `formatNumber` and `trimWords`.
|
|
206
|
+
- `this.help(msg, dir)` reads sections from `.feecting` help files. Feecting is Quinn's own language.
|
|
207
|
+
|
|
208
|
+
## Closing up: shutdown
|
|
209
|
+
|
|
210
|
+
`await deva.stop()` closes the office. It walks `stop`, `close`, `leave`, `exit` and `shutdown`, announcing each one. `exit` clears the client feature data. `shutdown` tunes out the listeners, cancels any pending asks, and clears `modules`, `listeners`, `events`, `_config` and the active flag. With no hooks, `stop()` resolves with a data object whose `key` is `'shutdown'`. After that, `status()` and most other calls return `⭕️ OFFLINE`.
|
|
211
|
+
|
|
212
|
+
## A safe minimal recipe
|
|
213
|
+
|
|
214
|
+
This is a complete, working two-Deva office. A parent (`office`) has one child (`helper`). We ran it against Core 1.62.92 from inside the Core's repo folder, so the paths point to the repo's own files. In your own project, import `@indra.ai/deva` and your own client file.
|
|
215
|
+
|
|
216
|
+
```javascript
|
|
217
|
+
import Deva from './index.js'; // '@indra.ai/deva' in your project
|
|
218
|
+
import Client from './tests/client.json' with {type: 'json'};
|
|
219
|
+
import pkg from './package.json' with {type: 'json'};
|
|
220
|
+
|
|
221
|
+
const client = Client.DATA; // carries the VLA and an entry for every client feature
|
|
222
|
+
|
|
223
|
+
const helper = new Deva({
|
|
224
|
+
info: {id: 'helper', name: 'Helper Deva', version: '0.0.1', dir: '.', VLA: pkg.VLA},
|
|
225
|
+
agent: {id: 'helper', key: 'helper', prompt: {emoji: '🛠', text: 'helper'}, profile: {name: 'Helper Deva'}},
|
|
226
|
+
config: {hash: {}}, // needed: ready() writes config.hash[agent.key]
|
|
227
|
+
vars: {context: {}}, // needed: context() looks things up here
|
|
228
|
+
methods: {
|
|
229
|
+
shout(packet) {
|
|
230
|
+
return Promise.resolve({text: packet.q.text.toUpperCase()});
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
const office = new Deva({
|
|
236
|
+
info: {id: 'office', name: 'Office Deva', version: '0.0.1', dir: '.', VLA: pkg.VLA},
|
|
237
|
+
agent: {id: 'office', key: 'office', prompt: {emoji: '🏢', text: 'office'}, profile: {name: 'Office Deva'}},
|
|
238
|
+
config: {hash: {}},
|
|
239
|
+
vars: {context: {}},
|
|
240
|
+
devas: {helper}, // the child shares this office's intercom
|
|
241
|
+
listeners: {
|
|
242
|
+
'devacore:error'(packet) {
|
|
243
|
+
console.log('error:', packet.error.message);
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
methods: {
|
|
247
|
+
greet(packet) {
|
|
248
|
+
return Promise.resolve({text: `hello ${packet.q.text}`});
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
async onReady(data, resolve) { // the office is open: do the work here
|
|
252
|
+
const local = await this.question('/greet world');
|
|
253
|
+
console.log('local:', local.a.text);
|
|
254
|
+
|
|
255
|
+
const asked = await this.question('#helper shout hi there');
|
|
256
|
+
console.log('asked:', asked.a.text, 'from', asked.a.meta.key);
|
|
257
|
+
|
|
258
|
+
const missing = await this.question('/nope');
|
|
259
|
+
console.log('missing:', missing.a.text);
|
|
260
|
+
|
|
261
|
+
const done = await this.stop();
|
|
262
|
+
console.log('stopped:', done.key, '| after:', this.status());
|
|
263
|
+
return resolve(data);
|
|
264
|
+
},
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
office.init(client);
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
What it printed:
|
|
271
|
+
|
|
272
|
+
```text
|
|
273
|
+
local: hello world
|
|
274
|
+
asked: HI THERE from helper
|
|
275
|
+
missing: ⛔️ METHOD NOT FOUND office nope
|
|
276
|
+
stopped: shutdown | after: ⭕️ OFFLINE
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Why it's "safe":
|
|
280
|
+
|
|
281
|
+
- the work happens inside `onReady`, not after `await init()`;
|
|
282
|
+
- every method returns a Promise;
|
|
283
|
+
- `info`, `config: {hash: {}}` and `vars: {context: {}}` are all present;
|
|
284
|
+
- there's a `devacore:error` listener, so errors are visible;
|
|
285
|
+
- the client is the Core's tested client file, with a matching VLA and every feature filled in.
|
|
286
|
+
|
|
287
|
+
## Practical rules for vibe coding
|
|
288
|
+
|
|
289
|
+
1. **Do the work in `onReady`.** Treat that hook, or the `devacore:ready` event, as "the office is open."
|
|
290
|
+
2. **Every method returns a Promise.** If your AI assistant writes `return 'hi'`, change it to `return Promise.resolve('hi')` or make the method `async`.
|
|
291
|
+
3. **If you write a hook, finish it.** Every `on<Step>` hook must call the next step or `resolve(data)`. A hook that does neither leaves the chain hanging.
|
|
292
|
+
4. **Only use words from the lists.** Before calling `this.state('x')`, check that `x` is on the [States]({{ "/core/states/" | relative_url }}) page (likewise for actions, zones, intents and the rest). A misspelling writes nothing and raises no error.
|
|
293
|
+
5. **Always listen for `devacore:error`.** If you write `onError`, call `reject(err)` in it unless you really mean to swallow the error.
|
|
294
|
+
6. **Start from `tests/client.json`.** Don't let your assistant invent a client object from scratch.
|
|
295
|
+
7. **Use `packet.id.uid` for ids** and `packet.a.text` for answers.
|
|
296
|
+
8. **Watch the logbook while you build.** A listener on `devacore:state` or `devacore:action` that prints `packet.text` shows you what your code is really doing.
|
|
297
|
+
9. **Don't strip out the seals or the logbook calls** to make code "simpler." They're the point of the Core.
|
|
298
|
+
10. **Don't edit the Core's `_data` files or `index.js`.** Add your own zones, actions, states, intents, beliefs or messages through the `agent` option instead. They're merged in without overwriting Core names. And remember the license terms on modification.
|
|
299
|
+
11. **Call `stop()` when you're done**, so listeners and pending asks are cleaned up.
|
|
300
|
+
|
|
301
|
+
## Honest section: real strengths and current limits
|
|
302
|
+
|
|
303
|
+
### Genuine strengths (we checked these)
|
|
304
|
+
|
|
305
|
+
- **Everything leaves a trail.** In our runs, every question, answer, lifecycle step and logbook line was announced on the bus as a sealed record.
|
|
306
|
+
- **Tiered, cumulative seals.** Every packet, half-packet and record we inspected carried md5, sha256 and sha512, and each tier covers the ones before it.
|
|
307
|
+
- **Rich ids.** Each id ties the record to the license, client, agent, machine and Core version.
|
|
308
|
+
- **Clean asking between Devas.** `#key method` worked between parent and child. Asking a missing Deva failed fast with a clear message, and there's a timeout for silent ones.
|
|
309
|
+
- **Tidy shutdown.** `stop()` ran the whole chain and left the Deva answering `⭕️ OFFLINE`.
|
|
310
|
+
- **Small and self-contained.** One class, no runtime dependencies.
|
|
311
|
+
|
|
312
|
+
### Current limits (true at version 1.62.92)
|
|
313
|
+
|
|
314
|
+
- **`init()` resolves too early. A fix is planned for 1.63.** Right now the `init()` promise resolves with `undefined` as soon as the client step finishes, before `start`, `enter`, `done` and `ready` have run. In our recipe, `init resolved with: undefined` printed before `onReady` had done any work. Until the fix ships, wait for `onReady` or `devacore:ready`, and don't trust the `init` promise as a "ready" signal.
|
|
315
|
+
- **Errors during the client feature chain don't stop start-up.** Because of the same early resolve, if the client object is missing feature settings, each feature step announces a `devacore:error` (in our test: `Cannot read properties of undefined (reading 'license')`, and the same for the others), but `init` has already resolved and the Deva still reaches `onReady`. Listen for `devacore:error` so you notice.
|
|
316
|
+
- **Unknown names are silent.** A name that isn't in `_data` (or your agent's additions) makes `feature`, `zone`, `action`, `state`, `intent` and `belief` do nothing at all. That keeps the vocabulary strict, but a typo, or a name removed from `_data` in a later version, can quietly drop logbook lines. Check the lists after upgrading.
|
|
317
|
+
- **`npm test` has no assertions yet.** It runs a Deva through its lifecycle and passes as long as nothing throws. Assertion tests are planned. Until then, "tests pass" means "it didn't crash," not "it did the right thing."
|
|
318
|
+
- **The license-failure prompt isn't heard.** `init` calls `prompt()` with the license failure message, but the Deva isn't active yet, so no `devacore:prompt` is announced (we counted zero). Check the value `init` resolves with instead.
|
|
319
|
+
|
|
320
|
+
### Where documentation says more than the code does
|
|
321
|
+
|
|
322
|
+
At 1.62.92, these places in the docs don't match what the code does:
|
|
323
|
+
|
|
324
|
+
- The README's start-up section says a license mismatch resolves with `❌ The Provided Client License Is Invalid`. The code resolves with `❌ Invalid VLA Check` (or `❌ Bad Personal VLA` when there's no VLA).
|
|
325
|
+
- The README's method table says `license_check` returns "stamped approval or `false`." On failure it actually returns one of the message strings above, never `false`.
|
|
326
|
+
- The README says the feature chain stores settings "for each one that the client's `features` object defines." In fact every feature is expected, and a missing one raises an error (see above).
|
|
327
|
+
- The Events page says `devacore:finish` and `devacore:complete` close out a question asked of *another* Deva. They also fire for local `/command` answers.
|
|
328
|
+
|
|
329
|
+
## Questions to ask before relying on it
|
|
330
|
+
|
|
331
|
+
Ask these yourself, or paste them to your AI assistant:
|
|
332
|
+
|
|
333
|
+
- [ ] Have I read `LICENSE.md`, and is my use allowed under it (location, commercial use, modification)?
|
|
334
|
+
- [ ] Does my client object carry the VLA that matches the Core's `package.json`, and an entry for every client feature?
|
|
335
|
+
- [ ] Is all my real work inside `onReady` (or after `devacore:ready`), not after `await init()`?
|
|
336
|
+
- [ ] Does every method return a Promise, and does every hook call the next step or `resolve`?
|
|
337
|
+
- [ ] Is every feature, zone, action, state, intent and belief name I use actually on its list?
|
|
338
|
+
- [ ] Do I have a `devacore:error` listener, and does my `onError` (if any) call `reject`?
|
|
339
|
+
- [ ] Do I use `packet.id.uid` for ids?
|
|
340
|
+
- [ ] Have I checked the logbook output once by eye, to see it's recording what I expect?
|
|
341
|
+
- [ ] Do I have my own checks of the results, since `npm test` doesn't assert anything yet?
|
|
342
|
+
- [ ] After upgrading the Core, have I rechecked the lists and the changelog for renamed or removed names?
|
|
343
|
+
- [ ] Do I call `stop()` when finished?
|
|
344
|
+
|
|
345
|
+
## Glossary
|
|
346
|
+
|
|
347
|
+
- **Deva**: one specialist in the office. An instance of the `Deva` class with its own agent, methods and listeners.
|
|
348
|
+
- **Deva Core**: the `@indra.ai/deva` package. The single class every Deva is built from.
|
|
349
|
+
- **Agent**: who the Deva is: its `key` (name on the intercom), profile and prompt. `this.agent()` returns a sealed copy.
|
|
350
|
+
- **Client**: who the Deva works for. Carries the VLA and the client feature settings. `this.client()` returns a sealed copy.
|
|
351
|
+
- **Method**: a job a Deva can do, reached with `/name` or `#key name`. Returns a Promise.
|
|
352
|
+
- **Listener**: a function that runs when a certain announcement is heard.
|
|
353
|
+
- **Event bus**: the shared intercom (`this.events`, a Node.js EventEmitter). Core announcements start with `devacore:`.
|
|
354
|
+
- **talk / listen / ask**: make an announcement, tune in, and ask another Deva for an answer.
|
|
355
|
+
- **Packet**: the sealed envelope returned by `question()`, holding `q` (question) and `a` (answer).
|
|
356
|
+
- **Feature**: which part of the business a step belongs to, such as security or support. Client features also have getters.
|
|
357
|
+
- **Zone**: where in the office a step happens.
|
|
358
|
+
- **Action**: what was done.
|
|
359
|
+
- **State**: the condition the work is in.
|
|
360
|
+
- **Intent**: the purpose or outcome, such as good or bad.
|
|
361
|
+
- **Belief**: the stance the work is recorded under: vedic, american or other.
|
|
362
|
+
- **Context**: a free-form note about what's going on, labeled from your `vars.context`.
|
|
363
|
+
- **Diary labels / logbook**: the feature, zone, action, state, intent and belief lines every step writes and announces.
|
|
364
|
+
- **Hash / seal**: a short code computed from data. It changes completely if the data changes.
|
|
365
|
+
- **Hash tiers**: the three cumulative seals, md5, sha256 and sha512, each covering the ones before it.
|
|
366
|
+
- **Fingerprint**: a sha256 seal inside every id that combines the license, client, agent, machine and Core.
|
|
367
|
+
- **uid**: the id object made by `this.uid()`. Its `uid` field is the id value.
|
|
368
|
+
- **VLA**: the Vedic License Agreement. Also the license object a client must carry for a Deva to start.
|
|
369
|
+
- **license_check**: the start-up check that the client's VLA matches the Core's.
|
|
370
|
+
- **Invoke chain**: the named steps (start, enter, done, ready, and so on) a Deva walks through, each with an optional `on<Step>` hook.
|
|
371
|
+
- **Hook**: your own function for a step, such as `onReady`, which decides what happens next.
|
|
372
|
+
- **Child Deva**: a Deva listed in another's `devas`. It shares the parent's intercom, `lib` and `config` and starts at the parent's `ready`.
|
|
373
|
+
- **OFFLINE**: the `⭕️ OFFLINE` answer from a Deva that isn't running.
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|