@indra.ai/deva.services 0.0.17 → 0.0.19

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.
@@ -125,7 +125,7 @@ export default {
125
125
  this.question(`${this.askChr}feecting parse ${help}`).then(corpus => {
126
126
  data.corpus = corpus.a.text;
127
127
  this.state('get', 'ask:chat');
128
- return this.question(`${this.askChr}chat relay ${packet.q.text}`, {
128
+ return this.question(`${this.askChr}chat relay ${decodeURIComponent(packet.q.text)}`, {
129
129
  client: buildProfile(client, 'client'),
130
130
  agent: buildProfile(agent, 'agent'),
131
131
  corpus: corpus.a.text,
@@ -136,10 +136,11 @@ export default {
136
136
  }).then(answer => {
137
137
  data.chat = answer.a.data.chat;
138
138
  const text = [
139
- `::begin:${agent.key}:${answer.id}`,
139
+ `::BEGIN:${agent.key}:${answer.id}`,
140
140
  answer.a.text,
141
141
  `date: ${this.lib.formatDate(Date.now(), 'long', true)}`,
142
- `::end:${agent.key}:${this.lib.hash(answer.a.text)}`,
142
+ `button[💬 Speak]:${this.askChr}chat speech:${agent.profile.voice} ${encodeURIComponent(answer.a.text)}`,
143
+ `::END:${agent.key}:${this.lib.hash(answer)}`,
143
144
  ];
144
145
 
145
146
  // memory event
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 4855882658530,
3
3
  "name": "@indra.ai/deva.services",
4
- "version": "0.0.17",
4
+ "version": "0.0.19",
5
5
  "author": "Quinn Michaels",
6
6
  "license": "MIT",
7
7
  "copyright": "2025",
@@ -27,6 +27,6 @@
27
27
  },
28
28
  "homepage": "https://deva.space/devas/services",
29
29
  "dependencies": {
30
- "@indra.ai/deva": "^1.4.18"
30
+ "@indra.ai/deva": "^1.4.23"
31
31
  }
32
32
  }