@indra.ai/deva.wall 0.0.1

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Quinn A 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
@@ -0,0 +1,4 @@
1
+ # deva.wall
2
+ The Wall Deva
3
+
4
+ (c) Copyright 2025 Quinn A Michaels. All Rights Reserved.
package/index.js ADDED
@@ -0,0 +1,51 @@
1
+ // Copyright (c)2025 Quinn A Michaels
2
+ // Vaisya Deva
3
+
4
+ import Deva from '@indra.ai/deva';
5
+ import pkg from './package.json' with {type:'json'};
6
+ const {agent,vars} = pkg.data;
7
+
8
+ // set the __dirname
9
+ import {dirname} from 'node:path';
10
+ import {fileURLToPath} from 'node:url';
11
+ const __dirname = dirname(fileURLToPath(import.meta.url));
12
+
13
+ const info = {
14
+ id: pkg.id,
15
+ name: pkg.name,
16
+ version: pkg.version,
17
+ author: pkg.author,
18
+ describe: pkg.description,
19
+ dir: __dirname,
20
+ url: pkg.homepage,
21
+ git: pkg.repository.url,
22
+ bugs: pkg.bugs.url,
23
+ license: pkg.license,
24
+ copyright: pkg.copyright
25
+ };
26
+
27
+ const VAISYA = new Deva({
28
+ info,
29
+ agent,
30
+ vars,
31
+ utils: {
32
+ translate(input) {return input.trim();},
33
+ parse(input) {return input.trim();},
34
+ process(input) {return input.trim();},
35
+ },
36
+ listeners: {},
37
+ modules: {},
38
+ devas: {},
39
+ func: {},
40
+ methods: {},
41
+ onReady(data, resolve) {
42
+ this.prompt(this.vars.messages.ready);
43
+ return resolve(data);
44
+ },
45
+ onError(data, err, reject) {
46
+ this.prompt(this.vars.messages.error);
47
+ console.log(err);
48
+ return reject(err);
49
+ },
50
+ });
51
+ export default VAISYA
package/index.test.js ADDED
@@ -0,0 +1,19 @@
1
+ // Copyright (c)2025 Quinn A Michaels
2
+ // Indra Deva test file
3
+
4
+ const {expect} = require('chai')
5
+ const :key: = require('./index.js');
6
+
7
+ describe(indra.me.name, () => {
8
+ beforeEach(() => {
9
+ return indra.init()
10
+ });
11
+ it('Check the DEVA Object', () => {
12
+ expect(indra).to.be.an('object');
13
+ expect(indra).to.have.property('agent');
14
+ expect(indra).to.have.property('vars');
15
+ expect(indra).to.have.property('listeners');
16
+ expect(indra).to.have.property('methods');
17
+ expect(indra).to.have.property('modules');
18
+ });
19
+ })
package/package.json ADDED
@@ -0,0 +1,108 @@
1
+ {
2
+ "id": ":b7b9269a-82be-4735-852c-a2bc08ca0629",
3
+ "name": "@indra.ai/deva.wall",
4
+ "version": "0.0.1",
5
+ "author": "Quinn Michaels",
6
+ "license": "MIT",
7
+ "copyright": "2025",
8
+ "description": "The Wall Deva.",
9
+ "main": "index.js",
10
+ "type": "module",
11
+ "scripts": {
12
+ "test": "echo \"Error: no test specified\" && exit 1"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/indraai/deva.wall.git"
17
+ },
18
+ "keywords": [
19
+ "Wall",
20
+ "Deva",
21
+ "Indra.ai",
22
+ "Deva.space",
23
+ "Deva.cloud",
24
+ "Deva.world"
25
+ ],
26
+ "bugs": {
27
+ "url": "https://github.com/indraai/deva.wall/issues"
28
+ },
29
+ "homepage": "https://deva.space/devas/wall",
30
+ "dependencies": {
31
+ "@indra.ai/deva": "^1.5.42"
32
+ },
33
+ "data": {
34
+ "agent": {
35
+ "id": ":3fff10dc-50fa-40c9-b675-d234479e6871",
36
+ "key": "wall",
37
+ "prompt": {
38
+ "emoji": "🧱",
39
+ "text": "Wall",
40
+ "colors": {
41
+ "label": {
42
+ "R": 0,
43
+ "G": 150,
44
+ "B": 255
45
+ },
46
+ "text": {
47
+ "R": 101,
48
+ "G": 192,
49
+ "B": 255
50
+ }
51
+ }
52
+ },
53
+ "profile": {
54
+ "name": "Wall Deva",
55
+ "hashtag": "#Wall",
56
+ "title": "Wall Deva",
57
+ "subtitle": "Wall Deva for the VectorGuardWall.",
58
+ "describe": "",
59
+ "post": "Wall.",
60
+ "hashtags": "QuinnMichaels,IndraAI,DevaWorld,WallDeva",
61
+ "pronouns": "He, Him",
62
+ "gender": "DEVA",
63
+ "voice": "ash",
64
+ "style": "A Cyber Security Wall.",
65
+ "system": "Deva.world.wall",
66
+ "layout": "default",
67
+ "emoji": "/assets/devas/wall/emoji.png",
68
+ "avatar": "/assets/devas/wall/avatar.png",
69
+ "image": "/assets/devas/wall/image.png",
70
+ "background": "/assets/devas/wall/background.png",
71
+ "creator": "Quinn Michaels",
72
+ "owner": "Quinn Michaels",
73
+ "caseid": "none",
74
+ "copyright": "©2025 Quinn Michaels. All rights reserved.",
75
+ "created": "Friday, August 29, 2025 - 11:37:00 AM",
76
+ "modified": "Friday, August 29, 2025 - 11:37:00 AM"
77
+ }
78
+ },
79
+ "vars": {
80
+ "messages": {
81
+ "init": "🟠 INIT",
82
+ "start": "🔵 START",
83
+ "enter": "🟢 ENTER",
84
+ "stop": "🔴 STOP",
85
+ "exit": "🟡 EXIT",
86
+ "done": "🟣 DONE",
87
+ "error": "💣 ERROR!",
88
+ "ready": "⭐️ Ready!"
89
+ },
90
+ "ask": {
91
+ "history": []
92
+ },
93
+ "art": {
94
+ "history": []
95
+ },
96
+ "context": {
97
+ "uid": "Wall is creating a uid",
98
+ "status": "Wall is viewing the status",
99
+ "help": "Wall is viewing the help",
100
+ "artist": "Wall creating",
101
+ "live": "Wall livechat",
102
+ "ask": "Wall asking",
103
+ "reply": "Wall reply",
104
+ "comment": "Wall comment"
105
+ }
106
+ }
107
+ }
108
+ }