arisa 2.1.9 → 2.2.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/package.json +1 -1
- package/src/core/processor.ts +3 -0
- package/src/shared/ai-cli.ts +1 -1
package/package.json
CHANGED
package/src/core/processor.ts
CHANGED
|
@@ -147,9 +147,12 @@ async function runClaude(message: string, chatId: string): Promise<string> {
|
|
|
147
147
|
|
|
148
148
|
const proc = Bun.spawn(buildBunWrappedAgentCliCommand("claude", args), {
|
|
149
149
|
cwd: config.projectDir,
|
|
150
|
+
stdin: "pipe",
|
|
150
151
|
stdout: "pipe",
|
|
151
152
|
stderr: "pipe",
|
|
153
|
+
env: { ...process.env, CI: "1" },
|
|
152
154
|
});
|
|
155
|
+
proc.stdin.end();
|
|
153
156
|
|
|
154
157
|
const timeout = setTimeout(() => {
|
|
155
158
|
log.warn(`Claude timed out after ${model.timeout}ms, killing process`);
|
package/src/shared/ai-cli.ts
CHANGED