bashkit 0.5.0 → 0.5.1
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 +7 -1
- package/dist/tools/task.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2743,7 +2743,13 @@ function createTaskTool(config) {
|
|
|
2743
2743
|
popParent();
|
|
2744
2744
|
debugError(debugId, "task", errorMessage);
|
|
2745
2745
|
}
|
|
2746
|
-
|
|
2746
|
+
const durationMs = Math.round(performance.now() - startTime);
|
|
2747
|
+
return {
|
|
2748
|
+
error: errorMessage,
|
|
2749
|
+
subagent: subagent_type,
|
|
2750
|
+
description,
|
|
2751
|
+
duration_ms: durationMs
|
|
2752
|
+
};
|
|
2747
2753
|
}
|
|
2748
2754
|
}
|
|
2749
2755
|
});
|
package/dist/tools/task.d.ts
CHANGED