fireqa-agent 0.1.1 → 0.1.3
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/auth/oauth.js
CHANGED
|
@@ -10,7 +10,10 @@ export async function loginWithOAuth(store) {
|
|
|
10
10
|
body: JSON.stringify({ action: "create" }),
|
|
11
11
|
});
|
|
12
12
|
if (!createRes.ok) {
|
|
13
|
-
|
|
13
|
+
const body = await createRes.text().catch(() => "(응답 없음)");
|
|
14
|
+
console.error(`인증 요청 생성에 실패했습니다. (HTTP ${createRes.status})`);
|
|
15
|
+
console.error(`서버: ${config.server}`);
|
|
16
|
+
console.error(`응답: ${body}`);
|
|
14
17
|
process.exit(1);
|
|
15
18
|
}
|
|
16
19
|
const { deviceCode } = (await createRes.json());
|
package/dist/config/store.js
CHANGED
package/dist/runner/adapters.js
CHANGED
|
@@ -27,6 +27,7 @@ function buildArgs(cliType, prompt, sessionId) {
|
|
|
27
27
|
args: [
|
|
28
28
|
"--print", prompt,
|
|
29
29
|
"--output-format", "stream-json",
|
|
30
|
+
"--verbose",
|
|
30
31
|
...(sessionId ? ["--resume", sessionId] : []),
|
|
31
32
|
],
|
|
32
33
|
stdinPrompt: null,
|
|
@@ -63,6 +64,9 @@ export async function spawnCli(cliType, command, prompt, options) {
|
|
|
63
64
|
child.stdin?.write(stdinPrompt);
|
|
64
65
|
child.stdin?.end();
|
|
65
66
|
}
|
|
67
|
+
else {
|
|
68
|
+
child.stdin?.end();
|
|
69
|
+
}
|
|
66
70
|
const chunks = [];
|
|
67
71
|
let fullOutput = "";
|
|
68
72
|
let buffer = "";
|
|
@@ -73,7 +73,6 @@ export async function startAgent(store) {
|
|
|
73
73
|
console.log(`FireQA에 연결됨. 작업 대기 중... (${config.server})`);
|
|
74
74
|
// 이전 실행에서 미전송된 출력 데이터 재전송 시도
|
|
75
75
|
await api.flushPendingOutputs().catch(() => { });
|
|
76
|
-
console.log("미전송 데이터 확인 완료");
|
|
77
76
|
const cleanup = async () => {
|
|
78
77
|
console.log("\n에이전트 종료 중...");
|
|
79
78
|
await api.disconnect(connection.id).catch(() => { });
|