@indra.ai/deva.feecting 0.14.0 → 0.14.2

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
@@ -216,12 +216,20 @@ class Parser {
216
216
  if (!current[item]) return false;
217
217
  current = current[item];
218
218
  });
219
-
220
- current = current.replace(/\{\{(client|agent|profile|prompt|vars)\.(.+?)\}\}/g, (match, scope, token) => {
221
- return processVars(token, lookup[scope]);
222
- });
223
-
224
- return current;
219
+ try {
220
+ current = current.replace(/\{\{(client|agent|profile|prompt|vars)\.(.+?)\}\}/g, (match, scope, token) => {
221
+ return processVars(token, lookup[scope]);
222
+ });
223
+ }
224
+ catch (err) {
225
+
226
+ console.log('TOKEN\n', token);
227
+ console.log('CURRENT\n', current);
228
+ console.log('ERROR\n', err);
229
+ }
230
+ finally {
231
+ return current;
232
+ }
225
233
  }
226
234
 
227
235
  this.text = this.text.replace(/\{\{id\}\}/g, id)
@@ -5,9 +5,9 @@
5
5
  // Sunday, January 4, 2026 - 8:37:21 AM
6
6
 
7
7
  ::BEGIN:MAIN
8
- # {{agent.name}}
9
-
10
- {{profile}}
8
+ # {{profile.name}}
11
9
 
10
+ describe: {{profile.describe}}
11
+ hashtags: {{profile.hashtags}}
12
12
  copyright: {{profile.copyright}}
13
13
  ::END:MAIN
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "63817777011592573888",
3
3
  "name": "@indra.ai/deva.feecting",
4
- "version": "0.14.0",
4
+ "version": "0.14.2",
5
5
  "license": "VLA:63817777011592573888 LICENSE.md",
6
6
  "VLA": {
7
7
  "uid": "63817777011592573888",