@indra.ai/deva.veda 0.0.15 → 0.0.17

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/data/agent.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "created": "August 23, 2022 @ 3:18 AM PST",
31
31
  "system": "Deva.world",
32
32
  "describe": "Built from Vedic 5 elements Ether, Air, Water, Fire, and Earth and the practice of Karma-Yoga. Modeled from the ancient deities of the Vedas. In AI terms #Veda is an entity that manages the Vedic Library deva.world multi-agent system. In the Vedic contexts Veda is an etheric being of the five elements that exists in the stories, traditions, and teachings of the Vedas.",
33
- "chat": "Om Svayambhu Narah Nara Narayana Pragapati Parameshthin Vasuki Vamraka Vasudeva Vivasvat Visvakarman Bali Bhutas Indu Pavamana Indra Yama Varuna Soma Hiranyagarbha Virag Somasads Sadhya Mariki Svadha Pranayama Panchajanya Veda Deva Sura Arjika Om",
33
+ "chat": "Om Svayambhu Narah Nara Narayana Pragapati Parameshthin Vasuki Vamraka Vasudeva Vivasvat Visvakarman Bali Bhutas Indu Pavamana Indra Yama Varuna Soma Hiranyagarbha Virag Somasads Sadhya Nasatyas Mariki Svadha Pranayama Panchajanya Veda Deva Arjika Rahu Surasena Bhavya Kakisvan Skanda Svanaya Om",
34
34
  "emoji": "/public/devas/veda/emoji.png",
35
35
  "avatar": "/public/devas/veda/avatar.png",
36
36
  "background": "/public/devas/veda/background.png",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": 6389811992509,
3
- "title": "RigVeda Books",
3
+ "title": "Books",
4
4
  "describe": "The RigVeda is one of the most ancient texts known to man. Inside are stories, lessons, and knowledge to be found.",
5
5
  "link": "index.html",
6
6
  "api": "index.json",
package/data/vars.json CHANGED
@@ -23,29 +23,12 @@
23
23
  },
24
24
  "trigger": "@VEDA",
25
25
  "context": {
26
- "uid": "generating uid",
27
- "status": "getting status",
28
- "info": "getting info",
29
- "feature": "accessing feature",
30
- "issue": "has issues",
31
- "help": "asking for help",
32
- "hymn": "Get hymn",
33
- "view": "View hymn",
34
- "learn": "Learning",
35
- "book": "Get book",
36
- "books": "Get books",
37
- "send": "Send a hymn",
38
- "send_get": "Get the hymn to send",
39
- "send_relay": "Send hymn to route",
40
- "send_done": "Done sending the hymn",
41
- "feecting": "Parsing feecting",
42
- "json": "Make JSON books",
43
- "live": "Chatting live",
44
- "ask": "Asking important things",
45
- "reply": "Reply to a message",
46
- "comment": "Make a comment",
47
- "art": "Creating wonder",
48
- "speak": "Speak hymn"
26
+ "help": "🛟 Get Help",
27
+ "hymn": "📜 Get Hymn",
28
+ "view": "📜 View Hymn",
29
+ "book": "📖 Get Book",
30
+ "books": "📚 Get Books",
31
+ "ask": "Asking important things"
49
32
  },
50
33
  "live": {
51
34
  "profile": "deva",
@@ -82,7 +82,7 @@ law[67ed839bc36efc6db97b1e28]: Let the Brahmana abstain from meat, perfumes, gar
82
82
 
83
83
  law[67ed856ac36efc6db97b1e29]: He who performs the vow (of studentship) shall constantly subsist on alms, (but) not eat the food of one (person only); the subsistence of a student on begged food is declared to be equal (in merit) to fasting.
84
84
 
85
- law[67ed8579c36efc6db97b1e2a]: (Some declare that) the chief good consists in (the acquisition of) spiritual merit and wealth, (others place it) in (the gratification of) desire and (the acquisition of) wealth, (others) in (the acquisition of) spiritual merit alone, and (others say that the acquisition of) wealth alone is the chief good here (below); but the (correct) decision is that it consists of the aggregate of (those) three.
85
+ law[67ed8579c36efc6db97b1e2a]: Some declare that the chief good consists in the acquisition of spiritual merit and wealth, others place it in the gratification of desire and the acquisition of wealth, others in the acquisition of spiritual merit alone, and others say that the acquisition of wealth alone is the chief good here below; but the correct decision is that it consists of the aggregate of those three.
86
86
 
87
87
  law[67ed858cc36efc6db97b1e2b]: The teacher, the father, the mother, and an elder brother must not be treated with disrespect, especially by a Brahmana, though one be grievously offended (by them). The teacher is the image of Brahman, the father the image of Pragipati (the lord of created beings), the mother the image of the earth, and an (elder) full brother the image of oneself.
88
88
 
@@ -1,5 +1,7 @@
1
1
  # Manu Laws 03
2
2
 
3
+ chant: Om Svayambhu Narah Nara Narayana Pragapati Parameshthin Vivasvat Visvakarman Bali Bhutas Indu Pavamana Indra Yama Varuna Soma Hiranyagarbha Virag Somasads Sadhya Mariki Svadha Rahu Surasena Om
4
+
3
5
  button[Back]: #veda help laws/main
4
6
 
5
7
  law[67ee1598c36efc6db97b1e2d]: A student who has studied in due order the three Vedas, or two, or even one only, without breaking the rules of studentship, shall enter The Order of Householders.
@@ -38,60 +40,59 @@ law[67ee165dc36efc6db97b1e3c]: For if the wife is not radiant with beauty, she w
38
40
 
39
41
  law[67ee1667c36efc6db97b1e3d]: Teaching and studying is the sacrifice offered to Brahman, the offerings of water and food called Tarpana the sacrifice to the manes, the burnt oblation the sacrifice offered to the gods, the Bali offering that offered to the Bhutas, and the hospitable reception of guests the offering to men. But he who does not feed these five, the gods, his guests, those whom he is bound to maintain, the manes, and himself, lives not, though he breathes. They call (these) five sacrifices also, Ahuta, Huta, Prahuta, Brahmya-huta, and Prasita.
40
42
 
41
- law: Ahuta (not offered in the fire) is the muttering (of Vedic texts), Huta the burnt oblation (offered to the gods), Prahuta (offered by scattering it on the ground) the Bali offering given to the Bhutas, Brahmya-huta (offered in the digestive fire of Brahmanas), the respectful reception of Brahmana (guests), and Prasita (eaten) the (daily oblation to the manes, called) Tarpana.
43
+ law[67f1c5bc2ecedc5226ed33e2]: Ahuta (not offered in the fire) is the muttering (of Vedic texts), Huta the burnt oblation (offered to the gods), Prahuta (offered by scattering it on the ground) the Bali offering given to the Bhutas, Brahmya-huta (offered in the digestive fire of Brahmanas), the respectful reception of Brahmana (guests), and Prasita (eaten) the (daily oblation to the manes, called) Tarpana.
44
+
45
+ law[67f1c5d02ecedc5226ed33e3]: As all living creatures subsist by receiving support from air, even so (the members of) all orders subsist by receiving support from the Householder. Because men of the three (other) orders are daily supported by the Householder with (gifts of) sacred knowledge and food, therefore The Order of Householders is the most excellent order. The duties of this order, which cannot be practised by men with weak organs, must be carefully observed by him who desires imperishable bliss in heaven, and constant happiness in this life.
42
46
 
43
- law: As all living creatures subsist by receiving support from air, even so (the members of) all orders subsist by receiving support from the Householder. Because men of the three (other) orders are daily supported by the Householder with (gifts of) sacred knowledge and food, therefore The Order of Householders is the most excellent order. The duties of this order, which cannot be practised by men with weak organs, must be carefully observed by him who desires imperishable bliss in heaven, and constant happiness in this life.
47
+ law[67f1c5db2ecedc5226ed33e4]: The sages, the manes, the gods, the Bhutas, and guests ask the Householders for offerings and gifts. Hence he who knows the law, must give to them what is due to each.
44
48
 
45
- law: The sages, the manes, the gods, the Bhutas, and guests ask the Householders for offerings and gifts. Hence he who knows the law, must give to them what is due to each.
49
+ law[67f1c5ee2ecedc5226ed33e5]: Let him worship, according to the rule, the sages by the private recitation of the Veda, the gods by burnt oblations, the manes by ancestral offerings (Sraddha), men by (gifts of) food, and the Bhutas by the Bali offering.
46
50
 
47
- law: Let him worship, according to the rule, the sages by the private recitation of the Veda, the gods by burnt oblations, the manes by ancestral offerings (Sraddha), men by (gifts of) food, and the Bhutas by the Bali offering.
51
+ law[67f1c6012ecedc5226ed33e6]: After having thus duly offered the sacrificial food, let him throw Bali offerings to Pragapati (the lord of creatures), to heaven and earth conjointly in all directions of the compass, proceeding (from the east) to the south, to Indra, Yama, Varuna, and Soma, as well as to the servants (of these deities). Let him gently place on the ground (some food) for dogs, outcasts, Kandalas (Svapak), those afflicted with diseases that are punishments of former sins, crows, and insects.
48
52
 
49
- law: Let him daily perform a Sraddha sacrifice with food, or with water, or also with milk, roots, and fruits, and (thus) please the manes.
53
+ law[67f1c6162ecedc5226ed33e7]: Let him daily perform a Sraddha sacrifice with food, or with water, or also with milk, roots, and fruits, and (thus) please the manes.
50
54
 
51
- law: After having thus duly offered the sacrificial food, let him throw Bali offerings to Pragapati (the lord of creatures), to heaven and earth conjointly in all directions of the compass, proceeding (from the east) to the south, to Indra, Yama, Varuna, and Soma, as well as to the servants (of these deities). Let him gently place on the ground (some food) for dogs, outcasts, Kandalas (Svapak), those afflicted with diseases that are punishments of former sins, crows, and insects.
55
+ law[67f1c62a2ecedc5226ed33e8]: That Brahmana who thus daily honours all beings, goes, endowed with a resplendent body, by a straight road to the highest dwelling-place (i.e. Brahman).
52
56
 
53
- law: That Brahmana who thus daily honours all beings, goes, endowed with a resplendent body, by a straight road to the highest dwelling-place (i.e. Brahman).
57
+ law[67f1c6392ecedc5226ed33e9]: The oblations to gods and manes, made by men ignorant (of the law of gifts), are lost, if the givers in their folly present (shares of them) to Brahmanas who are mere ashes.
54
58
 
55
- law: The oblations to gods and manes, made by men ignorant (of the law of gifts), are lost, if the givers in their folly present (shares of them) to Brahmanas who are mere ashes.
59
+ law[67f1c64a2ecedc5226ed33ea]: Let him offer, in accordance with the rule, to a guest who has come (of his own accord) a seat and water, as well as food, garnished (with seasoning), according to his ability.
56
60
 
57
- law: Let him offer, in accordance with the rule, to a guest who has come (of his own accord) a seat and water, as well as food, garnished (with seasoning), according to his ability.
61
+ law[67f1c66a2ecedc5226ed33eb]: A Brahmana who stays unhonoured (in the house), takes away (with him) all the spiritual merit even of a man who subsists by gleaning ears of corn, or offers oblations in five fires.
58
62
 
59
- law: A Brahmana who stays unhonoured (in the house), takes away (with him) all the spiritual merit even of a man who subsists by gleaning ears of corn, or offers oblations in five fires.
63
+ law[67f1c6882ecedc5226ed33ec]: A known guest who is sent by the setting sun in the evening, must not be driven away by a Householder; whether he have come at supper-time or at an inopportune moment, he must not stay in the house without entertainment.
60
64
 
61
- law: A known guest who is sent by the setting sun in the evening, must not be driven away by a Householder; whether he have come at supper-time or at an inopportune moment, he must not stay in the house without entertainment.
65
+ law[67f1c6a12ecedc5226ed33ed]: Let him not eat any (dainty) food which he does not offer to his guest; the hospitable reception of guests procures wealth, fame, long life, and heavenly bliss.
62
66
 
63
- law: Let him not eat any (dainty) food which he does not offer to his guest; the hospitable reception of guests procures wealth, fame, long life, and heavenly bliss.
67
+ law[67f1c6ac2ecedc5226ed33ee]: Without hesitation he may give food, even before his guests, to the following persons, (viz.) to newly-married women, to infants, to the sick, and to pregnant women.
64
68
 
65
- law: Without hesitation he may give food, even before his guests, to the following persons, (viz.) to newly-married women, to infants, to the sick, and to pregnant women.
69
+ law[67f1c6bd2ecedc5226ed33ef]: After the Brahmanas, the kinsmen, and the servants have dined, the Householder and his wife may afterwards eat.
66
70
 
67
- law: After the Brahmanas, the kinsmen, and the servants have dined, the Householder and his wife may afterwards eat.
71
+ law[67f1c6d02ecedc5226ed33f1]: Having honoured the gods, the sages, men, the manes, and the guardian deities of the house, the Householder shall eat afterwards
68
72
 
69
- law: Having honoured the gods, the sages, men, the manes, and the guardian deities of the house, the Householder shall eat afterwards
73
+ law[67f1c6dc2ecedc5226ed33f2]: Oblations to the gods and manes must be presented by the givers to a Srotriya alone; what is given to such a most worthy Brahmana yields great reward.
70
74
 
71
- law: Oblations to the gods and manes must be presented by the givers to a Srotriya alone; what is given to such a most worthy Brahmana yields great reward.
75
+ law[67f1c6fd2ecedc5226ed33f3]: Food sacred to the manes or to the gods must be given to a man distinguished by sacred knowledge; for hands, smeared with blood, cannot be cleansed with blood.
72
76
 
73
- law: Food sacred to the manes or to the gods must be given to a man distinguished by sacred knowledge; for hands, smeared with blood, cannot be cleansed with blood.
77
+ law[67f1c70a2ecedc5226ed33f4]: Some Brahmanas are devoted to (the pursuit of) knowledge, and others to (the performance of) austerities; some to austerities and to the recitation of the Veda, and others to (the performance of) sacred rites.
74
78
 
75
- law: Some Brahmanas are devoted to (the pursuit of) knowledge, and others to (the performance of) austerities; some to austerities and to the recitation of the Veda, and others to (the performance of) sacred rites.
79
+ law[67f1c71a2ecedc5226ed33f5]: A present made in accordance with the rules to a learned man, makes the giver and the recipient partakers of rewards both in this (life) and after death.
76
80
 
77
- law: A present made in accordance with the rules to a learned man, makes the giver and the recipient partakers of rewards both in this (life) and after death.
81
+ law[67f1c7292ecedc5226ed33f6]: Those men must be considered as the sanctifiers of a company who are most learned in all the Vedas and in all the Angas, and who are the descendants of Srotriyas. A Trinakiketa, one who keeps five sacred fires, a Trisuparna, one who is versed in the six Angas, the son of a woman married according to the Brahma rite, one who sings the Gyeshthasaman, one who knows the meaning of the Veda, and he who expounds it, a student, and a centenarian must be considered as Brahmanas who sanctify a company.
78
82
 
79
- law: Those men must be considered as the sanctifiers of a company who are most learned in all the Vedas and in all the Angas, and who are the descendants of Srotriyas. A Trinakiketa, one who keeps five sacred fires, a Trisuparna, one who is versed in the six Angas, the son of a woman married according to the Brahma rite, one who sings the Gyeshthasaman, one who knows the meaning of the Veda, and he who expounds it, a student, and a centenarian must be considered as Brahmanas who sanctify a company.
83
+ law[67f1c7362ecedc5226ed33f7]: The Somasads, the sons of Virag, are stated to be the manes of the Sadhyas, and the Agnishvattas, the children of Mariki, are famous in the world (as the manes) of the gods.
80
84
 
81
- law: The Somasads, the sons of Virag, are stated to be the manes of the Sadhyas, and the Agnishvattas, the children of Mariki, are famous in the world (as the manes) of the gods.
85
+ law[67f1c73e2ecedc5226ed33f8]: The manes are always pleased with offerings made in open, naturally pure places, on the banks of rivers, and in secluded spots.
82
86
 
83
- law: The manes are always pleased with offerings made in open, naturally pure places, on the banks of rivers, and in secluded spots.
87
+ law[67f1c7472ecedc5226ed33f9]: Whatever may please the Brahmanas, let him give without grudging it.
84
88
 
85
- law: Whatever may please the Brahmanas, let him give without grudging it.
89
+ law[67f1c7512ecedc5226ed33fa]: To a Brahmana (householder), or to an ascetic who comes for food, he may, with the permission of (his) Brahmana (guests), show honour according to his ability.
86
90
 
87
- law: To a Brahmana (householder), or to an ascetic who comes for food, he may, with the permission of (his) Brahmana (guests), show honour according to his ability.
91
+ law[67f1c9ce7f8bd6d02abd0a45]: The Brahmana (guests) shall then answer him, 'Let there be Svadha;' for at all rites in honour of the manes the word Svadha is the highest benison.
88
92
 
89
- The Brahmana (guests) shall then answer him, 'Let there be Svadha;' for at all rites in honour of the manes the word Svadha is the highest benison.
90
93
  ::begin:hidden
91
94
  #color = {{profile.color}}
92
95
  #bgcolor = {{profile.bgcolor}}
93
96
  #bg = {{profile.background}}
94
97
  ::end:hidden
95
98
  copyright: (c)2025 Quinn Michaels
96
-
97
- Om Svayambhu Narah Nara Narayana Pragapati Parameshthin Vivasvat Visvakarman Bali Bhutas Indu Pavamana Indra Yama Varuna Soma Hiranyagarbha Virag Somasads Sadhya Mariki Svadha Om
@@ -3,7 +3,8 @@
3
3
  {{profile}}
4
4
 
5
5
  ::begin:buttons
6
- button[Laws]: #veda help laws/main
6
+ button[Books]:#veda books
7
+ button[Laws]:#veda help laws/main
7
8
  ::end:buttons
8
9
 
9
10
  ## Methods
@@ -27,6 +28,10 @@ example: #{{agent.key}} hymn 01001
27
28
  ::end:deva-methods
28
29
 
29
30
 
31
+ The (various) classes of the manes are declared to be the sons of all those sages,
32
+
33
+ Mariki son of Manu the son of Hiranyagarbha.
34
+
30
35
 
31
36
  ::begin:hidden
32
37
  #color = {{profile.color}}
package/index.js CHANGED
@@ -43,10 +43,13 @@ const VEDA = new Deva({
43
43
  describe: Return a listiig of the Rig Veda Books.
44
44
  ***************/
45
45
  books() {
46
+ this.action('func', 'books');
46
47
  return new Promise((resolve, reject) => {
47
48
  try {
48
49
  const agent = this.agent();
49
50
  const {id, title, describe, DATA} = rigveda.index;
51
+
52
+ this.state('set', 'books data');
50
53
  const _text = [
51
54
  `::BEGIN:BOOKS:${id}`,
52
55
  `## ${title}`,
@@ -68,6 +71,7 @@ const VEDA = new Deva({
68
71
  _text.push(`#bg = {{profile.background}}`);
69
72
  _text.push(`::end:hidden`);
70
73
  _text.push(`::END:BOOKS:${_booksHash}`);
74
+ this.state('resolve', 'books');
71
75
  return resolve({
72
76
  id,
73
77
  title,
@@ -78,6 +82,7 @@ const VEDA = new Deva({
78
82
  created: Date.now(),
79
83
  });
80
84
  } catch (e) {
85
+ this.state('reject', 'books');
81
86
  return reject(e);
82
87
  }
83
88
  });
@@ -88,6 +93,7 @@ const VEDA = new Deva({
88
93
  describe: The book function calls the public facing api to get a listing of books to list to the user. originally this file came from sacred-texts.com but was migrated to indra.church with a json api.
89
94
  ***********/
90
95
  book(text) {
96
+ this.action('func', `book ${text}`);
91
97
  return new Promise((resolve, reject) => {
92
98
  if (!text) return resolve(this.vars.messages.nobook);
93
99
  try {
@@ -98,6 +104,7 @@ const VEDA = new Deva({
98
104
 
99
105
  const {id, title, describe, DATA} = theJSON;
100
106
 
107
+ this.state('set', `book data`);
101
108
  const _text = [
102
109
  `::BEGIN:BOOK:${id}`,
103
110
  `## ${title}`,
@@ -119,6 +126,7 @@ const VEDA = new Deva({
119
126
  _text.push(`::end:hidden`);
120
127
  _text.push(`::END:BOOK:${_hymnsHash}`);
121
128
 
129
+ this.state('resolve', `book ${text}`)
122
130
  return resolve({
123
131
  id,
124
132
  title,
@@ -129,6 +137,7 @@ const VEDA = new Deva({
129
137
  created: Date.now(),
130
138
  });
131
139
  } catch (e) {
140
+ this.state('reject', `book ${text}`)
132
141
  return reject(e);
133
142
  }
134
143
  });
@@ -140,6 +149,7 @@ const VEDA = new Deva({
140
149
  describe: The View function returns a specific hymn from one of the Books.
141
150
  ***************/
142
151
  hymn(h) {
152
+ this.action('func', `hymn ${h}`);
143
153
  return new Promise((resolve, reject) => {
144
154
  if (!h) return resolve(this._messages.notext);
145
155
  const id = this.lib.uid();
@@ -154,6 +164,7 @@ const VEDA = new Deva({
154
164
  const _hymn = JSON.parse(theFile);
155
165
  const processed = this.utils.process({key:_hymn.key,title:_hymn.title,content:_hymn.orig});
156
166
 
167
+ this.state('set', `hymn ${h}`)
157
168
  const hymn = [
158
169
  `::BEGIN:HYMN:${processed.key}`,
159
170
  `# ${processed.title}`,
@@ -161,7 +172,7 @@ const VEDA = new Deva({
161
172
  processed.text,
162
173
  '::end:content',
163
174
  '::begin:meta',
164
- `button[💬 Ask Veda]:#veda ask Om Please write a story about this Vedic Hymn > ${encodeURIComponent(processed.text)} Om`,
175
+ `button[💬 Ask Veda]:#veda ask Om Please write a story > ${encodeURIComponent(processed.text)} Om`,
165
176
  `button[🔈 Speak Hymn]:#chat speech:${agent.profile.voice} ${encodeURIComponent(processed.text)}`,
166
177
  `key: ${processed.key}`,
167
178
  `title: ${processed.title}`,
@@ -179,6 +190,7 @@ const VEDA = new Deva({
179
190
  `::END:HYMN:${this.lib.hash(processed)}`,
180
191
  ];
181
192
 
193
+ this.state('resolve', `hymn ${h}`)
182
194
  return resolve({
183
195
  id,
184
196
  key: processed.key,
@@ -189,6 +201,7 @@ const VEDA = new Deva({
189
201
  created: Date.now(),
190
202
  });
191
203
  } catch (e) {
204
+ this.state('reject', `hymn ${h}`)
192
205
  return reject(e);
193
206
  }
194
207
  });
@@ -203,6 +216,7 @@ const VEDA = new Deva({
203
216
  ***************/
204
217
  books(packet) {
205
218
  this.context('books');
219
+ this.action('method', 'books');
206
220
  return new Promise((resolve, reject) => {
207
221
  if (!packet) return reject(this._messages.nopacket);
208
222
  const data = {};
@@ -228,9 +242,9 @@ const VEDA = new Deva({
228
242
  describe: call the book function to get the contents of a book
229
243
  ***************/
230
244
  book(packet) {
245
+ this.context('book', packet.q.text);
231
246
  return new Promise((resolve, reject) => {
232
247
  if (!packet) return reject(this._messages.nopacket);
233
- this.context('book', packet.q.text);
234
248
  const agent = this.agent();
235
249
  const data = {};
236
250
  this.func.book(packet.q.text).then(book => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 6642777683539,
3
3
  "name": "@indra.ai/deva.veda",
4
- "version": "0.0.15",
4
+ "version": "0.0.17",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://deva.space/devas/veda",
30
30
  "devDependencies": {
31
- "@indra.ai/deva": "^1.4.22"
31
+ "@indra.ai/deva": "^1.4.23"
32
32
  },
33
33
  "dependencies": {
34
34
  "he": "^1.2.0"