@vortexm/vjt 0.1.6 → 0.1.7
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/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4670,7 +4670,12 @@ var ActionRuntime = class {
|
|
|
4670
4670
|
async runSingleAction(action, inputValue, context) {
|
|
4671
4671
|
const actionName = action.action.trim();
|
|
4672
4672
|
try {
|
|
4673
|
-
|
|
4673
|
+
const rawOutput = await this.executeAction(action, inputValue, context);
|
|
4674
|
+
logRuntimeDebug(this.debugLogging, "action-output", {
|
|
4675
|
+
action: actionName,
|
|
4676
|
+
output: rawOutput
|
|
4677
|
+
});
|
|
4678
|
+
let output = rawOutput;
|
|
4674
4679
|
if (action.andThen?.length) {
|
|
4675
4680
|
if (output !== null && output !== void 0) {
|
|
4676
4681
|
output = await this.runActions(action.andThen, output, { ...context, currentValue: output });
|
|
@@ -4680,6 +4685,7 @@ var ActionRuntime = class {
|
|
|
4680
4685
|
}
|
|
4681
4686
|
logRuntimeDebug(this.debugLogging, "action-result", {
|
|
4682
4687
|
action: actionName,
|
|
4688
|
+
rawOutput,
|
|
4683
4689
|
output
|
|
4684
4690
|
});
|
|
4685
4691
|
return output;
|
|
@@ -4697,7 +4703,7 @@ var ActionRuntime = class {
|
|
|
4697
4703
|
}
|
|
4698
4704
|
async executeAction(action, inputValue, context) {
|
|
4699
4705
|
const name = action.action.trim();
|
|
4700
|
-
logRuntimeDebug(this.debugLogging, "action", {
|
|
4706
|
+
logRuntimeDebug(this.debugLogging, "action-start", {
|
|
4701
4707
|
action: name,
|
|
4702
4708
|
args: action.args,
|
|
4703
4709
|
inputValue,
|