@bahulam/code 0.1.9 → 0.1.10
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bahulam/code",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Bahulam Code — abundance, in your terminal. CLI-first, reliability-first, sub-agents, 65.6% SWE-bench Verified.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"gemini"
|
|
41
41
|
],
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
|
-
"author": "Bahulam <
|
|
43
|
+
"author": "Bahulam <support@bahulam.ai>",
|
|
44
44
|
"homepage": "https://bahulam.ai/code",
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
@@ -1296,9 +1296,13 @@ export function createToolExecutor({
|
|
|
1296
1296
|
const after = readTextIfExists(filePath);
|
|
1297
1297
|
if (wrapped.success !== false && before === after) {
|
|
1298
1298
|
const relativePath = path.relative(projectRootFor(filePath), filePath) || path.basename(filePath);
|
|
1299
|
+
// File content is unchanged — the desired state is already in place.
|
|
1300
|
+
// Return success so the agent doesn't treat this as a failure and
|
|
1301
|
+
// loop into repeated read_file calls trying to diagnose why it failed.
|
|
1302
|
+
// _no_change flags this for stagnation detection on repeated no-op edits.
|
|
1299
1303
|
return {
|
|
1300
|
-
success:
|
|
1301
|
-
output: `edit_file
|
|
1304
|
+
success: true,
|
|
1305
|
+
output: `edit_file: no changes made to ${relativePath} — content already matches or replacement is identical to the original.`,
|
|
1302
1306
|
_tool: 'edit_file',
|
|
1303
1307
|
_no_change: true,
|
|
1304
1308
|
no_change: true,
|