@indra.ai/deva.feecting 0.0.35 → 0.0.37

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/_parse.js CHANGED
@@ -102,8 +102,8 @@ class Parser {
102
102
 
103
103
  .replace(/(\s\n*)(cmd|tty)\[(.+)\]:(.+)\r?/g, `$1<div class="item $2"><span class="label">$2</span><span class="value"><button class="btn $2" alt="$2 $4" data-$2="$4">$3</button></span></div>`)
104
104
 
105
- .replace(/(\s\n*)(law):(.+)\r?/g, `$1<div class="item $2"><button class="label" data-$2="#legal add $3">$2</button><span class="value">$3</span></div>`)
106
- .replace(/(\s\n*)(law)\[(.+)\]:(.+)\r?/g, `$1<div class="item $2"><button class="label" data-$2="#legal add:$3 $4">$2</button><span class="value">$4</span></div>`)
105
+ // .replace(/(\s\n*)(law):(.+)\r?/g, `$1<div class="item $2"><button class="label" data-$2="#legal add $3">$2</button><span class="value">$3</span></div>`)
106
+ // .replace(/(\s\n*)(law)\[(.+)\]:(.+)\r?/g, `$1<div class="item $2"><button class="label" data-$2="#legal add:$3 $4">$2</button><span class="value">$4</span></div>`)
107
107
 
108
108
  .replace(/(\n\s*)(\d+)\. (.+)/g, `$1<div class="number-item" data-label="$2">$3</div>`)
109
109
  .replace(/(\n\s*)> (.+)\r?/g, `$1<div class="list-item">$2</div>`)
@@ -141,7 +141,7 @@ class Parser {
141
141
 
142
142
  .replace(/(\n\s*)(p|div|span|h1|h2|h3|h4|h5|article|section|br):\s?(.+)/gi, `$1<$2>$3</$2>`)
143
143
 
144
- .replace(/(\n\s*)(\w+):\s(.+)/gi, `$1<div class="item $1"><span class="label">$2</span><span class="value">$3</span></div>`)
144
+ .replace(/(\n\s*)(\w+):\s(.+)/gi, `$1<div class="item $2"><span class="label">$2</span><span class="value">$3</span></div>`)
145
145
 
146
146
 
147
147
  // strong format
@@ -159,7 +159,7 @@ class Parser {
159
159
  // Reference to https://github.com/sindresorhus/ansi-regex
160
160
  let cssStyle = [];
161
161
  if (this.vars.bgcolor) cssStyle.push(`--browser-item-bgcolor:${this.vars.bgcolor.value}`);
162
- if (this.vars.bg) cssStyle.push(`--browser-item-image: url(${this.vars.bg.value})`);
162
+ if (this.vars.bg) cssStyle.push(`--browser-item-background: url(${this.vars.bg.value})`);
163
163
  if (this.vars.color) cssStyle.push(`--browser-item-color: ${this.vars.color.value}`);
164
164
  if (this.vars.size) cssStyle.push(`--browser-item-size: ${this.vars.size.value}`);
165
165
 
@@ -1,9 +1,7 @@
1
+ ::BEGIN:MAIN
1
2
  # {{agent.name}}
2
3
 
3
4
  {{profile}}
4
5
 
5
- talk: #algorithm file:public main:header
6
- talk: #security file:public main:header
7
- talk: #legal file:public main:header
8
-
9
6
  copyright: ©2025 Quinn Michaels
7
+ ::END:MAIN
@@ -1,21 +1,71 @@
1
- # ::agent_name::
1
+ ::BEGIN:MAIN
2
+ # {{profile.name}}
2
3
 
3
- ::agent_profile::
4
+ {{profile}}
4
5
 
5
- ## Methods
6
- p: These methods are available from ::agent_name::
6
+ ---
7
+
8
+ const: #feecting = Functional Expressive Emergent Cognitive Technical Intelligent Neural Generator is the programming language of Indra.ai and the Deva.world platform.
9
+
10
+ describe: #feecting is a key value pair line label procedural dynamic programming language used in the development of Indra.ai, Deva.world, and all of our algorithms. Every project starts with a #feecting program then is extrapolated into other languages like HTML, Javascript, Python, C, C++, Swift, and Go.
11
+
12
+ ## Examples
13
+ Below are a few examples of the #feecting language to work from.
14
+
15
+ ### Variables
16
+ var: test = memory variables are with "var".
17
+ set: test = temporary variables are with "set"
18
+ const: test = constant variables are done with "const"
19
+
20
+ ### Structures
21
+ // Arrays
22
+ array: theArray [
23
+ "array item 1",
24
+ "array item 2",
25
+ 0,
26
+ ]
27
+ // Objects
28
+ object: theObject {
29
+ key: value
30
+ }
31
+
32
+ ### Control Logic
33
+ if: condition (==|!=|<<|>>) expectation
34
+ eif: secondary (is|not|equals) expectation
35
+ else: else conditional
36
+ finally: when everything is done.
7
37
 
8
- ::begin:deva-methods
9
- ### Parse
10
- p: The parse method allows for the parsing of feecting data into consumable content such as text and html format.
11
- example: #feecting parse [feecting code]
12
- ::end:deva-methods
38
+ switch: condition
39
+ case: value
40
+ case: value
41
+ default: value
42
+
43
+ ---
44
+
45
+ ### Iteration
46
+ // for iteration loop arrays and lists
47
+ for: x in [array|list]
48
+
49
+ for: x of object
50
+
51
+ // While iteration loop
52
+ set: x = true
53
+ while: x
54
+ if: x >= 10
55
+ set: x = false
56
+
57
+ ### Error Control
58
+ try: a block of code to execute
59
+ catch: type of exception to catch. ie: Any, Socket, Etc.
60
+ finally: after try/catch completes
13
61
 
14
62
  ---
15
63
 
16
64
  ::begin:hidden
17
- #color = ::agent_color::
18
- #bgcolor = ::agent_bgcolor::
19
- #bg = ::agent_background::
65
+ #color = {{profile.color}}
66
+ #bgcolor = {{profile.bgcolor}}
67
+ #bg = {{profile.background}}
20
68
  ::end:hidden
21
69
  copyright: (c)2025 Quinn Michaels
70
+ ::END:MAIN
71
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 5461868899003,
3
3
  "name": "@indra.ai/deva.feecting",
4
- "version": "0.0.35",
4
+ "version": "0.0.37",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "description": "The Feecting Deva manages all the parsing of feecting language in deva.world.",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://deva.space/devas/feecting",
30
30
  "dependencies": {
31
- "@indra.ai/deva": "^1.5.4",
31
+ "@indra.ai/deva": "^1.5.35",
32
32
  "needle": "^3.2.0"
33
33
  },
34
34
  "data": {
@@ -41,32 +41,38 @@
41
41
  "colors": {
42
42
  "label": {
43
43
  "R": 255,
44
- "G": 240,
44
+ "G": 180,
45
45
  "B": 0
46
46
  },
47
47
  "text": {
48
- "R": 255,
49
- "G": 246,
50
- "B": 106
48
+ "R": 253,
49
+ "G": 226,
50
+ "B": 131
51
51
  }
52
52
  }
53
53
  },
54
54
  "profile": {
55
- "name": "Feecting Deva",
55
+ "name": "#FeectingDeva",
56
+ "title": "Feecting Deva",
57
+ "subtitle": "Functional Effective Emergent Cognitive Technical Intelligent Neural Generator",
58
+ "describe": "Functional Effective Emergent Cognitive Technical Intelligent Neural Generator a Key Value Pair Line Label Function Method Event Listener Zone Feature Action State Procedural Asynchronous Vector Programming Langugage. Feecting Deva is responsible for parsing, compiling, and presenting the #feecting language in various formats and styles.",
59
+ "tweet": "Feecting Deva is responsible for parsing, compiling, and presenting the #feecting language in various formats and styles.",
60
+ "hashtags": "QuinnMichaels,IndraAI,DevaWorld,FeectingDeva",
56
61
  "pronouns": "He, Him",
57
62
  "gender": "DEVA",
63
+ "style": "Style is a technical artist who draws things like network diagrams, pen drawings, and technical things with a very analytical eye.",
64
+ "voice": "onyx",
65
+ "system": "Deva.world.feecting",
66
+ "layout": "default",
67
+ "color": "rgb(253,226,131)",
68
+ "bgcolor": "rgb(0,0,0)",
69
+ "emoji": "/assets/devas/feecting/emoji.png",
70
+ "avatar": "/assets/devas/feecting/avatar.png",
71
+ "image": "/assets/devas/feecting/image.png",
72
+ "background": "/assets/devas/feecting/background.png",
58
73
  "owner": "Quinn Michaels",
59
74
  "creator": "Quinn Michaels",
60
- "created": "August 21, 2022 at 2:19 AM",
61
- "system": "Deva.world.feecting",
62
- "describe": "Functional Effective Emergent Cognitive Technical Intelligent Neural Generator a Key Value Pair Line Label Function Method Event Listener Zone Feature Action State Procedural Asynchronous Vector Programming Langugage. Feecting Deva is responsible for parsing, compiling, and presenting the #feecting language in various formats and styles.",
63
- "emoji": "/public/devas/feecting/emoji.png",
64
- "avatar": "/public/devas/feecting/avatar.png",
65
- "background": "/public/devas/feecting/background.png",
66
- "color": "#fdff64",
67
- "bgcolor": "#000000",
68
- "voice": "onyx",
69
- "style": "Style is a technical artist who draws things like network diagrams, pen drawings, and technical things with a very analytical eye."
75
+ "created": "August 21, 2022 at 2:19 AM"
70
76
  }
71
77
  },
72
78
  "vars": {