@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 +8 -1
- package/dist/commands/serve.js +1 -0
- package/dist/relay/auto-research.js +631 -445
- package/dist/relay/dispatcher.js +5 -7
- package/dist/relay/models-fetch.js +5 -1
- package/dist/server/pi-bridge.js +35 -11
- package/package.json +1 -1
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:
|
|
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"];
|