@indra.ai/deva.systems 0.15.8 → 0.15.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
@@ -200,7 +200,7 @@ Help lives in Feecting files. `help/main.feecting` is the main help page, with t
200
200
  | `onReady` | lifecycle | Reads `this.info().VLA` and prompts `🖥️ Systems Deva Ready > VLA:24296120490769123430`. |
201
201
  | `onError` | lifecycle | Prompts `💣 ERROR!`, logs the error, and returns `reject(err)`. |
202
202
 
203
- The `vars` in `package.json` hold the prompt `messages`, the trigger `@SYSTEMS`, an empty `ask.history` array, and an empty `context` object. `func`, `methods`, `listeners`, and `modules` in `index.js` start as empty objects.
203
+ The `vars` in `package.json` hold the prompt `messages`, the trigger `@SYSTEMS`, an empty `ask.history` array, and an empty `context` object. `devas`, `func`, `methods`, `listeners`, and `modules` in `index.js` start as empty objects.
204
204
 
205
205
  `uid()`, `info()`, `agent()`, and `status()` are Deva Core methods. `uid()` returns an id with `md5`, `sha256`, and `sha512` hash tiers, and a `fingerprint` that is the sha256 of `license`, `client`, `agent`, `machine`, and `core_hash`. `info()` returns the package info. `agent()` returns the Systems Deva agent. `status()` returns the `Systems Deva active since <date>` string.
206
206
 
@@ -5,64 +5,4 @@
5
5
  // Distributed under VLA:24296120490769123430 LICENSE.md
6
6
  // Saturday, November 28, 2026 - 6:15:10 AM PST
7
7
 
8
- export default {
9
- /**************
10
- method: systems
11
- params: packet
12
- describe: The global systems feature that installs with every agent
13
- ***************/
14
- systems(packet) {
15
- return new Promise((resolve, reject) => {
16
- const systems = this.systems();
17
- const agent = this.agent();
18
- const global = [];
19
-
20
- const {restricted} = systems.global
21
- for (let key in systems.global) {
22
- if (key === 'restricted') continue; // continue if key restricted.
23
-
24
- const item = systems.global[key];
25
- if (item && typeof item === 'object') {
26
- const blockId = item.id || key;
27
- global.push(`::begin:global:${key}:${blockId}`);
28
- for (let x in item) {
29
- const val = restricted.find(r => r === x.toLowerCase()) ? '*******' : item[x];
30
- global.push(`${x}: ${val}`);
31
- }
32
- global.push(`::end:global:${key}:${blockId}`);
33
- } else {
34
- const val = restricted.find(r => r === key.toLowerCase()) ? '*******' : item;
35
- global.push(`${key}: ${val}`);
36
- }
37
- }
38
-
39
- const concerns = [];
40
- systems.concerns.forEach((item, index) => {
41
- concerns.push(`${index + 1}. ${item}`);
42
- })
43
-
44
- const info = [
45
- '::BEGIN:SYSTEMS',
46
- '### Client',
47
- `::begin:client:${systems.client_id}`,
48
- `id: ${systems.client_id}`,
49
- `client: ${systems.client_name}`,
50
- '**concerns**',
51
- concerns.join('\n'),
52
- `::end:client:${systems.client_id}`,
53
- '### Global',
54
- global.join('\n'),
55
- '::END:SYSTEMS',
56
- ].join('\n');
57
- this.question(`${this.askChr}feecting parse ${info}`).then(feecting => {
58
- return resolve({
59
- text: feecting.a.text,
60
- html: feecting.a.html,
61
- data: systems.concerns,
62
- });
63
- }).catch(err => {
64
- return this.err(err, packet, reject);
65
- });
66
- });
67
- },
68
- };
8
+ export default {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "24296120490769123430",
3
3
  "name": "@indra.ai/deva.systems",
4
- "version": "0.15.8",
4
+ "version": "0.15.10",
5
5
  "license": "VLA:24296120490769123430 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "24296120490769123430",