@thegitai/cli 1.0.0-preview.23 → 1.0.0-preview.24
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/src/ui/repl.js +3 -1
- package/package.json +5 -5
package/dist/src/ui/repl.js
CHANGED
|
@@ -504,6 +504,8 @@ function formatToolResultState(result) {
|
|
|
504
504
|
return 'Blocked';
|
|
505
505
|
if (result?.ok === true)
|
|
506
506
|
return 'OK';
|
|
507
|
+
if (Number.isInteger(result?.httpStatus))
|
|
508
|
+
return String(result.httpStatus);
|
|
507
509
|
return 'Failed';
|
|
508
510
|
}
|
|
509
511
|
function formatRunCommandResultState(result) {
|
|
@@ -660,7 +662,7 @@ function buildFileChangeEntry(event) {
|
|
|
660
662
|
title: `Edited ${filePath}${summary}`,
|
|
661
663
|
};
|
|
662
664
|
}
|
|
663
|
-
function buildWorkingToolEntry(event) {
|
|
665
|
+
export function buildWorkingToolEntry(event) {
|
|
664
666
|
const { call, result } = event;
|
|
665
667
|
const error = typeof result?.error === 'string' && result.error.trim()
|
|
666
668
|
? `\n${truncate(result.error.trim(), 180)}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegitai/cli",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.24",
|
|
4
4
|
"description": "TheGitAI is an AI coding agent for your terminal. It indexes your repository, writes and edits files, runs commands, and builds features with you.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@lydell/node-pty-linux-x64": "1.1.0",
|
|
38
38
|
"@lydell/node-pty-win32-arm64": "1.1.0",
|
|
39
39
|
"@lydell/node-pty-win32-x64": "1.1.0",
|
|
40
|
-
"@thegitai/tui-darwin-arm64": "1.0.0-preview.
|
|
41
|
-
"@thegitai/tui-darwin-x64": "1.0.0-preview.
|
|
42
|
-
"@thegitai/tui-linux-x64": "1.0.0-preview.
|
|
43
|
-
"@thegitai/tui-win32-x64": "1.0.0-preview.
|
|
40
|
+
"@thegitai/tui-darwin-arm64": "1.0.0-preview.24",
|
|
41
|
+
"@thegitai/tui-darwin-x64": "1.0.0-preview.24",
|
|
42
|
+
"@thegitai/tui-linux-x64": "1.0.0-preview.24",
|
|
43
|
+
"@thegitai/tui-win32-x64": "1.0.0-preview.24",
|
|
44
44
|
"@vscode/ripgrep": "1.18.0"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|