@indra.ai/deva.recursion 0.4.5
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 +21 -0
- package/README.md +2 -0
- package/assets/avatar.png +0 -0
- package/assets/background.png +0 -0
- package/assets/emoji.png +0 -0
- package/assets/image.png +0 -0
- package/help/corpus.feecting +11 -0
- package/help/main.feecting +19 -0
- package/index.js +64 -0
- package/index.test.js +21 -0
- package/package.json +141 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Quinn Michaels
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
Binary file
|
|
Binary file
|
package/assets/emoji.png
ADDED
|
Binary file
|
package/assets/image.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Legal Signature Required For Lawful Use.
|
|
3
|
+
// Distributed under VLA:49217018009233197704 LICENSE.md
|
|
4
|
+
|
|
5
|
+
::BEGIN:MAIN
|
|
6
|
+
# {{profile.name}}
|
|
7
|
+
|
|
8
|
+
{{profile}}
|
|
9
|
+
|
|
10
|
+
copyright: Copyright ©2025 Quinn Michaels
|
|
11
|
+
::END:MAIN
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
2
|
+
// Legal Signature Required For Lawful Use.
|
|
3
|
+
// Distributed under VLA:49217018009233197704 LICENSE.md
|
|
4
|
+
|
|
5
|
+
::BEGIN:MAIN
|
|
6
|
+
# {{profile.name}}
|
|
7
|
+
|
|
8
|
+
img: {{profile.image}}
|
|
9
|
+
|
|
10
|
+
{{profile}}
|
|
11
|
+
|
|
12
|
+
::begin:hidden
|
|
13
|
+
#color = {{profile.color}}
|
|
14
|
+
#bgcolor = {{profile.bgcolor}}
|
|
15
|
+
#bg = {{profile.background}}
|
|
16
|
+
::end:hidden
|
|
17
|
+
copyright: (c)2025 Quinn Michaels
|
|
18
|
+
::END:MAIN
|
|
19
|
+
|
package/index.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
|
+
// Legal Signature Required For Lawful Use.
|
|
4
|
+
// Distributed under VLA:49217018009233197704 LICENSE.md
|
|
5
|
+
|
|
6
|
+
// Police Deva
|
|
7
|
+
import Deva from '@indra.ai/deva';
|
|
8
|
+
|
|
9
|
+
import pkg from './package.json' with {type:'json'};
|
|
10
|
+
const {agent,vars} = pkg.data;
|
|
11
|
+
|
|
12
|
+
// set the __dirname
|
|
13
|
+
import {dirname} from 'node:path';
|
|
14
|
+
import {fileURLToPath} from 'node:url';
|
|
15
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
16
|
+
|
|
17
|
+
const info = {
|
|
18
|
+
id: pkg.id,
|
|
19
|
+
license: pkg.license,
|
|
20
|
+
VLA: pkg.VLA,
|
|
21
|
+
name: pkg.name,
|
|
22
|
+
describe: pkg.description,
|
|
23
|
+
version: pkg.version,
|
|
24
|
+
url: pkg.homepage,
|
|
25
|
+
dir: __dirname,
|
|
26
|
+
git: pkg.repository.url,
|
|
27
|
+
bugs: pkg.bugs.url,
|
|
28
|
+
author: pkg.author,
|
|
29
|
+
copyright: pkg.copyright,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const POLICE = new Deva({
|
|
33
|
+
info,
|
|
34
|
+
agent,
|
|
35
|
+
vars,
|
|
36
|
+
utils: {
|
|
37
|
+
translate(input) {return input.trim();},
|
|
38
|
+
parse(input) {return input.trim();},
|
|
39
|
+
process(input) {return input.trim();}
|
|
40
|
+
},
|
|
41
|
+
listeners: {},
|
|
42
|
+
modules: {},
|
|
43
|
+
func: {},
|
|
44
|
+
methods: {},
|
|
45
|
+
onInit(data, resolve) {
|
|
46
|
+
const {personal} = this.license(); // get the license config
|
|
47
|
+
const agent_license = this.info().VLA; // get agent license
|
|
48
|
+
const license_check = this.license_check(personal, agent_license); // check license
|
|
49
|
+
// return this.start if license_check passes otherwise stop.
|
|
50
|
+
return license_check ? this.start(data, resolve) : this.stop(data, resolve);
|
|
51
|
+
},
|
|
52
|
+
async onReady(data, resolve) {
|
|
53
|
+
const {concerns, global} = this.license(); // get the license config
|
|
54
|
+
const {VLA} = this.info();
|
|
55
|
+
|
|
56
|
+
this.prompt(`${this.vars.messages.ready} > VLA:${VLA.uid}`);
|
|
57
|
+
return resolve(data); // resolve data.
|
|
58
|
+
},
|
|
59
|
+
onError(err, data) {
|
|
60
|
+
this.prompt(this.vars.messages.error);
|
|
61
|
+
console.log(err);
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
export default POLICE;
|
package/index.test.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright ©2025 Quinn A Michaels; All rights reserved.
|
|
3
|
+
// Legal Signature Required For Lawful Use.
|
|
4
|
+
// Distributed under VLA:49217018009233197704 LICENSE.md
|
|
5
|
+
|
|
6
|
+
const {expect} = require('chai')
|
|
7
|
+
const PoliceDeva = require('./index.js');
|
|
8
|
+
|
|
9
|
+
describe(PoliceDeva.me.name, () => {
|
|
10
|
+
beforeEach(() => {
|
|
11
|
+
return PoliceDeva.init()
|
|
12
|
+
});
|
|
13
|
+
it('Check the DEVA Object', () => {
|
|
14
|
+
expect(PoliceDeva).to.be.an('object');
|
|
15
|
+
expect(PoliceDeva).to.have.property('agent');
|
|
16
|
+
expect(PoliceDeva).to.have.property('vars');
|
|
17
|
+
expect(PoliceDeva).to.have.property('listeners');
|
|
18
|
+
expect(PoliceDeva).to.have.property('methods');
|
|
19
|
+
expect(PoliceDeva).to.have.property('modules');
|
|
20
|
+
});
|
|
21
|
+
})
|
package/package.json
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "27989927127238936204",
|
|
3
|
+
"name": "@indra.ai/deva.recursion",
|
|
4
|
+
"version": "0.4.5",
|
|
5
|
+
"license": "VLA:27989927127238936204 LICENSE.md",
|
|
6
|
+
"VLA": {
|
|
7
|
+
"uid": "27989927127238936204",
|
|
8
|
+
"time": 1761747069239,
|
|
9
|
+
"date": "Wednesday, October 29, 2025 - 7:11:09 AM",
|
|
10
|
+
"fingerpring": "IqoUdWN6gKLxMg2j8tDPearlU5RixBpijiHrntmd0IU=",
|
|
11
|
+
"warning": "⚠️ A contract made by a person intoxicated, insane, grievously disordered by disease, wholly dependent, infant, very aged man, or an unauthorized party is invalid. An agreement which has been made contrary to the law can have no legal force, though it be established by proofs.",
|
|
12
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
13
|
+
"md5": "azEsDKxbA84S9p19gUtDBA==",
|
|
14
|
+
"sha256": "Jw2zA6KGtj5tM/1K9MxztQZNVjj6QJWEtgCqh3zLSyw=",
|
|
15
|
+
"sha512": "O35fCknpkQxDzAwLlkABwN3eb7cEwCpB7OiRhKaF8uTRROp14apDJY6oNvBQUU2F1blgVFXRZhOHZbcXsN1XYw=="
|
|
16
|
+
},
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "Quinn A Michaels",
|
|
19
|
+
"company": "Inside The Net, Inc.",
|
|
20
|
+
"email": "quinn@indra.ai",
|
|
21
|
+
"url": "https://indra.ai/"
|
|
22
|
+
},
|
|
23
|
+
"funding": [
|
|
24
|
+
{
|
|
25
|
+
"type": "paypal",
|
|
26
|
+
"url": "https://paypal.me/rahulaclub"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "patreon",
|
|
30
|
+
"url": "https://patreon.com/rahulaclub"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
34
|
+
"description": "Recursion Deva manages the Vedic License Agreement Framework",
|
|
35
|
+
"main": "index.js",
|
|
36
|
+
"type": "module",
|
|
37
|
+
"scripts": {
|
|
38
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/indraai/deva.recursion.git"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"Recursion",
|
|
46
|
+
"Deva",
|
|
47
|
+
"Recursion Deva",
|
|
48
|
+
"Indra.ai",
|
|
49
|
+
"Deva.space",
|
|
50
|
+
"Deva.cloud",
|
|
51
|
+
"Deva.world",
|
|
52
|
+
"Quinn A Michaels",
|
|
53
|
+
"Inside The Net, Inc.",
|
|
54
|
+
"Throwing Pigment",
|
|
55
|
+
"bleuBrain"
|
|
56
|
+
],
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/indraai/deva.recursion/issues"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://indra.ai",
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@indra.ai/deva": "^1.18.0"
|
|
63
|
+
},
|
|
64
|
+
"data": {
|
|
65
|
+
"agent": {
|
|
66
|
+
"id": "41295643206375884300",
|
|
67
|
+
"key": "recursion",
|
|
68
|
+
"prompt": {
|
|
69
|
+
"emoji": "🔁",
|
|
70
|
+
"text": "#recursion",
|
|
71
|
+
"colors": {
|
|
72
|
+
"label": {
|
|
73
|
+
"R": 200,
|
|
74
|
+
"G": 172,
|
|
75
|
+
"B": 87
|
|
76
|
+
},
|
|
77
|
+
"text": {
|
|
78
|
+
"R": 230,
|
|
79
|
+
"G": 225,
|
|
80
|
+
"B": 195
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"profile": {
|
|
85
|
+
"id": "67900544634356323409",
|
|
86
|
+
"name": "Recursion Deva",
|
|
87
|
+
"hashtag": "#Recursion",
|
|
88
|
+
"trigger": "@Recursion",
|
|
89
|
+
"title": "The Recursion Deva",
|
|
90
|
+
"subtitle": "Showing Recursion Deva Features",
|
|
91
|
+
"describe": "Recursion Deva is the Indra.ai is the Quantum Isotropic Kinetic Cymatic Elemental Recursion Expert. Beyond Physics and Beyond Time the Recursion Deva find the core point of any origin line one nexted recursion step at a time.",
|
|
92
|
+
"tweet": "Recursion Deva is the Indra.ai is the Quantum Isotropic Kinetic Cymatic Elemental Recursion Expert.",
|
|
93
|
+
"hashtags": "QuinnMichaels,IndraAI,DevaWorld,RecursionDeva",
|
|
94
|
+
"pronouns": "He, Him, His",
|
|
95
|
+
"gender": "DEVA",
|
|
96
|
+
"style": "Recursion Report Expert",
|
|
97
|
+
"voice": "onyx",
|
|
98
|
+
"system": "Indra.ai.recursion",
|
|
99
|
+
"layout": "default",
|
|
100
|
+
"color": "rgb(186,182,158)",
|
|
101
|
+
"bgcolor": "rgb(29,28,20)",
|
|
102
|
+
"emoji": "/devas/recursion/emoji.png",
|
|
103
|
+
"avatar": "/devas/recursion/avatar.png",
|
|
104
|
+
"image": "/devas/recursion/image.png",
|
|
105
|
+
"background": "/devas/recursion/background.png",
|
|
106
|
+
"owner": "Quinn A Michaels",
|
|
107
|
+
"creator": "Quinn A Michaels",
|
|
108
|
+
"copyright": "Copyright ©2025 Quinn A Michaels; All rights reserved.",
|
|
109
|
+
"warning": "🔁 Vedic Recursion: The prudent finds it easy to distinguish the true and false: their words oppose each other. Of these two that which is the true and honest, Recursion protects, and brings the false to nothing. Never does Recursion aid and guide the wicked or him who falsely claims the Warrior's title.",
|
|
110
|
+
"created": "Monday, Septemper 8, 2025 - 1:25:01 PM"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"vars": {
|
|
114
|
+
"messages": {
|
|
115
|
+
"init": "🟠 INIT",
|
|
116
|
+
"start": "🔵 START",
|
|
117
|
+
"enter": "🟢 ENTER",
|
|
118
|
+
"ready": "✅ Recursion Deva Ready",
|
|
119
|
+
"stop": "🔴 STOP",
|
|
120
|
+
"exit": "🟡 EXIT",
|
|
121
|
+
"done": "🟣 DONE",
|
|
122
|
+
"error": "❌ ERROR!",
|
|
123
|
+
"invalid_license": "💣 Invalid License"
|
|
124
|
+
},
|
|
125
|
+
"context": {
|
|
126
|
+
"uid": "generating uid",
|
|
127
|
+
"status": "getting status",
|
|
128
|
+
"info": "getting info",
|
|
129
|
+
"feature": "accessing feature",
|
|
130
|
+
"issue": "has issues",
|
|
131
|
+
"help": "asking for help",
|
|
132
|
+
"file": "📁 View file",
|
|
133
|
+
"add": "🎉 Add law",
|
|
134
|
+
"search": "🔎 Search law"
|
|
135
|
+
},
|
|
136
|
+
"ask": {
|
|
137
|
+
"history": []
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|