loop-task 2.1.5 → 2.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.
|
@@ -47,14 +47,13 @@ export async function runLoop(ctrl) {
|
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
49
|
const runStartedAtMs = Date.now();
|
|
50
|
-
const { exitCode, totalDuration } = await executeRunImpl(ctrl, signal);
|
|
50
|
+
const { exitCode, totalDuration, chainContext } = await executeRunImpl(ctrl, signal);
|
|
51
51
|
const chainTargetId = exitCode === 0
|
|
52
52
|
? (ctrl.options.taskId ? ctrl.taskResolver(ctrl.options.taskId)?.onSuccessTaskId : undefined)
|
|
53
53
|
: (ctrl.options.taskId ? ctrl.taskResolver(ctrl.options.taskId)?.onFailureTaskId : undefined);
|
|
54
54
|
if (chainTargetId) {
|
|
55
55
|
const task = ctrl.options.taskId ? ctrl.taskResolver(ctrl.options.taskId) : null;
|
|
56
56
|
const cwd = resolveEffectiveCwd(ctrl.options.cwd, ctrl.projectDirectory);
|
|
57
|
-
const chainContext = {};
|
|
58
57
|
const chainResult = await executeChain({
|
|
59
58
|
chainTargetId,
|
|
60
59
|
exitCode,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "loop-task",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"description": "Loop engineering toolkit. Run any command on a cadence, in the background, managed from a terminal board. Schedule tests, builds, syncs, or agent prompts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|