@indra.ai/deva 1.64.23 → 1.64.24
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/msgs.json +1 -1
- package/index.js +7 -3
- package/package.json +1 -1
package/_data/msgs.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"asktimeout": "⛔️ ASK TIMEOUT",
|
|
24
24
|
"noask": "⛔️ ASK TARGET NOT FOUND",
|
|
25
25
|
"method_not_found": "⛔️ METHOD NOT FOUND",
|
|
26
|
-
"help_not_found": "⛔️ HELP NOT FOUND",
|
|
26
|
+
"help_not_found": "⛔️ HELP FILE NOT FOUND",
|
|
27
27
|
"invalid_agent": "⛔️ Agent Hash Invalid",
|
|
28
28
|
"invalid_client": "⛔️ Client Hash Invalid",
|
|
29
29
|
"personalVLA": "❌ Bad Personal VLA",
|
package/index.js
CHANGED
|
@@ -1967,13 +1967,15 @@ class Deva {
|
|
|
1967
1967
|
|
|
1968
1968
|
const helpPath = this.lib.path.join(help_dir, key, `${helpFile}.feecting`);
|
|
1969
1969
|
|
|
1970
|
+
this.state('try', `${key}:${id.uid}`);
|
|
1970
1971
|
try {
|
|
1971
|
-
this.state('try', `${key}:${id.uid}`);
|
|
1972
1972
|
|
|
1973
1973
|
// check if help file exists first and resolve if no file
|
|
1974
1974
|
const helpExists = this.lib.fs.existsSync(helpPath); // check if help file exists
|
|
1975
1975
|
if (!helpExists) {
|
|
1976
|
-
this.action('resolve', `${key}:not:
|
|
1976
|
+
this.action('resolve', `${key}:not:exists:${id.uid}`);
|
|
1977
|
+
this.state('invalid', `${key}:not:exists:${id.uid}`);
|
|
1978
|
+
this.intent('bad', `${key}:not:exists:${id.uid}`);
|
|
1977
1979
|
return resolve(this._messages.help_not_found);
|
|
1978
1980
|
}
|
|
1979
1981
|
|
|
@@ -1981,7 +1983,9 @@ class Deva {
|
|
|
1981
1983
|
const helpFile = this.lib.fs.readFileSync(helpPath, 'utf8');
|
|
1982
1984
|
const helpPart = helpFile.split(`${this.container.begin}:${part}`);
|
|
1983
1985
|
if (!helpPart[1]) {
|
|
1984
|
-
this.action('resolve', `${
|
|
1986
|
+
this.action('resolve', `${key}:not:found:${id.uid}`);
|
|
1987
|
+
this.state('invalid', `${key}:not:found:${id.uid}`);
|
|
1988
|
+
this.intent('bad', `${key}:not:found:${id.uid}`);
|
|
1985
1989
|
resolve(this._messages.help_not_found);
|
|
1986
1990
|
}
|
|
1987
1991
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "31711622713594414221",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.64.
|
|
4
|
+
"version": "1.64.24",
|
|
5
5
|
"description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"license": "VLA:31711622713594414221 LICENSE.md",
|