@aexol/spectral 0.6.4 → 0.6.8

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/cli.js CHANGED
@@ -138,7 +138,14 @@ function delegateToPi(args) {
138
138
  const piBin = resolvePiBin();
139
139
  const child = spawn(process.execPath, [piBin, ...args], {
140
140
  stdio: "inherit",
141
- env: process.env,
141
+ env: {
142
+ ...process.env,
143
+ // Prevent git from opening an interactive editor when the agent
144
+ // runs commands like `git rebase --continue`, `git commit` (without -m),
145
+ // or `git merge`. Without this, the editor hangs forever waiting for
146
+ // TTY input that doesn't exist in the agent's non-interactive shell.
147
+ GIT_EDITOR: "true",
148
+ },
142
149
  });
143
150
  // Forward common termination signals to pi so its TUI can clean up.
144
151
  const signals = ["SIGINT", "SIGTERM", "SIGHUP", "SIGQUIT"];
@@ -265,6 +265,7 @@ export async function runServe(opts = {}) {
265
265
  store,
266
266
  manager,
267
267
  relay,
268
+ subscribers,
268
269
  cwd,
269
270
  });
270
271
  return;