loop-task 2.0.10 → 2.0.12

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.
@@ -30,14 +30,12 @@ export async function executeCommand(command, commandArgs, cwd, logStream, signa
30
30
  logStream.write(t("loop.exitMarker", { code: 1, duration: formatDuration(0) }));
31
31
  return { exitCode: 1, duration: 0, startedAt, endedAt };
32
32
  }
33
- const shellCommand = formatCommandLine(command, commandArgs);
34
- const child = execa(shellCommand, {
33
+ const child = execa(command, commandArgs, {
35
34
  stdout: "pipe",
36
35
  stderr: "pipe",
37
36
  stdin: "ignore",
38
37
  cwd: cwd || undefined,
39
38
  cancelSignal: signal,
40
- shell: true,
41
39
  env: process.env,
42
40
  });
43
41
  const stdoutChunks = [];
@@ -12,6 +12,8 @@ function colorForLine(line, run) {
12
12
  return theme.accent.loop;
13
13
  if (line.startsWith("$ "))
14
14
  return "#f0abfc";
15
+ if (line.startsWith(" cwd:"))
16
+ return theme.text.muted;
15
17
  if (line.includes("--- Chain:"))
16
18
  return theme.accent.task;
17
19
  if (line.trimStart().startsWith("[exit")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loop-task",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
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": {