aiexecode 1.0.72 → 1.0.73
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.
Potentially problematic release.
This version of aiexecode might be problematic. Click here for more details.
- package/package.json +1 -1
- package/payload_viewer/out/404/index.html +1 -1
- package/payload_viewer/out/404.html +1 -1
- package/payload_viewer/out/index.html +1 -1
- package/payload_viewer/out/index.txt +1 -1
- package/prompts/orchestrator.txt +449 -436
- package/src/util/output_formatter.js +7 -1
- /package/payload_viewer/out/_next/static/{6yTW1SraROIP1ebN-kxTS → YeelNRX9W6c0YtiEzz_83}/_buildManifest.js +0 -0
- /package/payload_viewer/out/_next/static/{6yTW1SraROIP1ebN-kxTS → YeelNRX9W6c0YtiEzz_83}/_clientMiddlewareManifest.json +0 -0
- /package/payload_viewer/out/_next/static/{6yTW1SraROIP1ebN-kxTS → YeelNRX9W6c0YtiEzz_83}/_ssgManifest.js +0 -0
|
@@ -23,9 +23,15 @@ export function clampOutput(text) {
|
|
|
23
23
|
/**
|
|
24
24
|
* 파일 읽기 결과에 줄 번호 추가
|
|
25
25
|
* @param {Object} result - 파일 읽기 실행 결과
|
|
26
|
-
* @returns {string} 줄 번호가 포함된 파일 내용
|
|
26
|
+
* @returns {string} 줄 번호가 포함된 파일 내용 또는 에러 정보
|
|
27
27
|
*/
|
|
28
28
|
export function formatReadFileStdout(result) {
|
|
29
|
+
// 실패한 경우 에러 정보를 JSON 형태로 반환
|
|
30
|
+
if (result.operation_successful === false) {
|
|
31
|
+
return JSON.stringify(result, null, 2);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// 성공한 경우 줄 번호와 함께 파일 내용 반환
|
|
29
35
|
let stdout = '';
|
|
30
36
|
if (result.file_lines) {
|
|
31
37
|
result.file_lines.map((line, line_number) => {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|