arisa 2.3.11 → 2.3.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.
package/package.json
CHANGED
package/src/core/processor.ts
CHANGED
|
@@ -134,7 +134,7 @@ async function runClaude(message: string, chatId: string): Promise<string> {
|
|
|
134
134
|
const historyCount = historyContext ? historyContext.split("\nUser: ").length - 1 : 0;
|
|
135
135
|
log.info(`Model: ${model.model} (${model.reason}) | History: ${historyCount} exchanges`);
|
|
136
136
|
|
|
137
|
-
const args = ["--dangerously-skip-permissions"];
|
|
137
|
+
const args = ["--dangerously-skip-permissions", "--output-format", "text"];
|
|
138
138
|
|
|
139
139
|
args.push("--model", model.model);
|
|
140
140
|
args.push("-p", prompt);
|
|
@@ -115,7 +115,7 @@ export async function probeCliAuth(): Promise<void> {
|
|
|
115
115
|
}
|
|
116
116
|
try {
|
|
117
117
|
const args = cli === "claude"
|
|
118
|
-
? ["-p", "say ok", "--model", "haiku", "--dangerously-skip-permissions"]
|
|
118
|
+
? ["-p", "say ok", "--model", "haiku", "--output-format", "text", "--dangerously-skip-permissions"]
|
|
119
119
|
: ["exec", "--dangerously-bypass-approvals-and-sandbox", "echo ok"];
|
|
120
120
|
|
|
121
121
|
const cmd = buildBunWrappedAgentCliCommand(cli, args);
|