testdriverai 6.0.26 → 6.0.27-canary.3bcd63c.0
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/agent/index.js +0 -15
- package/interfaces/readline.js +1 -1
- package/package.json +1 -1
package/agent/index.js
CHANGED
|
@@ -1139,21 +1139,8 @@ ${yml}
|
|
|
1139
1139
|
|
|
1140
1140
|
// Create diff if file exists and content has changed
|
|
1141
1141
|
let diffResult = null;
|
|
1142
|
-
console.log("Checking for diff. File exists:", fileExists);
|
|
1143
|
-
console.log(
|
|
1144
|
-
"Content changed:",
|
|
1145
|
-
fileExists && existingContent !== regression,
|
|
1146
|
-
);
|
|
1147
|
-
if (fileExists) {
|
|
1148
|
-
console.log(
|
|
1149
|
-
"Existing content preview:",
|
|
1150
|
-
existingContent.substring(0, 100),
|
|
1151
|
-
);
|
|
1152
|
-
console.log("New content preview:", regression.substring(0, 100));
|
|
1153
|
-
}
|
|
1154
1142
|
|
|
1155
1143
|
if (fileExists && existingContent !== regression) {
|
|
1156
|
-
console.log("Creating diff - content has changed");
|
|
1157
1144
|
const patches = diff.structuredPatch(
|
|
1158
1145
|
filepath,
|
|
1159
1146
|
filepath,
|
|
@@ -1241,8 +1228,6 @@ ${yml}
|
|
|
1241
1228
|
diff: diffResult,
|
|
1242
1229
|
timestamp: endTime,
|
|
1243
1230
|
});
|
|
1244
|
-
} else {
|
|
1245
|
-
console.log("No diff result to emit");
|
|
1246
1231
|
}
|
|
1247
1232
|
|
|
1248
1233
|
// Emit file save completion event
|
package/interfaces/readline.js
CHANGED
|
@@ -110,7 +110,7 @@ class ReadlineInterface {
|
|
|
110
110
|
|
|
111
111
|
try {
|
|
112
112
|
// Parse interactive commands (starting with /)
|
|
113
|
-
if (input.startsWith("/")) {
|
|
113
|
+
if (input.startsWith("/") && !input.startsWith("/explore")) {
|
|
114
114
|
const parts = input.slice(1).split(" ");
|
|
115
115
|
const commandName = parts[0];
|
|
116
116
|
const args = parts.slice(1);
|