@probelabs/probe 0.6.0-rc187 → 0.6.0-rc188
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.
|
@@ -2387,7 +2387,9 @@ When troubleshooting:
|
|
|
2387
2387
|
if (this.allowedTools.isEnabled('listFiles')) validTools.push('listFiles');
|
|
2388
2388
|
if (this.allowedTools.isEnabled('searchFiles')) validTools.push('searchFiles');
|
|
2389
2389
|
if (this.allowedTools.isEnabled('readImage')) validTools.push('readImage');
|
|
2390
|
-
|
|
2390
|
+
// Always allow attempt_completion - it's a completion signal, not a tool
|
|
2391
|
+
// This ensures agents can complete even when disableTools: true is set (fixes #333)
|
|
2392
|
+
validTools.push('attempt_completion');
|
|
2391
2393
|
|
|
2392
2394
|
// Edit tools (require both allowEdit flag AND allowedTools permission)
|
|
2393
2395
|
if (this.allowEdit && this.allowedTools.isEnabled('implement')) {
|
package/build/agent/index.js
CHANGED
|
@@ -61143,7 +61143,7 @@ You are working with a repository located at: ${searchDirectory}
|
|
|
61143
61143
|
if (this.allowedTools.isEnabled("listFiles")) validTools.push("listFiles");
|
|
61144
61144
|
if (this.allowedTools.isEnabled("searchFiles")) validTools.push("searchFiles");
|
|
61145
61145
|
if (this.allowedTools.isEnabled("readImage")) validTools.push("readImage");
|
|
61146
|
-
|
|
61146
|
+
validTools.push("attempt_completion");
|
|
61147
61147
|
if (this.allowEdit && this.allowedTools.isEnabled("implement")) {
|
|
61148
61148
|
validTools.push("implement", "edit", "create");
|
|
61149
61149
|
}
|
package/cjs/agent/ProbeAgent.cjs
CHANGED
|
@@ -87828,7 +87828,7 @@ You are working with a repository located at: ${searchDirectory}
|
|
|
87828
87828
|
if (this.allowedTools.isEnabled("listFiles")) validTools.push("listFiles");
|
|
87829
87829
|
if (this.allowedTools.isEnabled("searchFiles")) validTools.push("searchFiles");
|
|
87830
87830
|
if (this.allowedTools.isEnabled("readImage")) validTools.push("readImage");
|
|
87831
|
-
|
|
87831
|
+
validTools.push("attempt_completion");
|
|
87832
87832
|
if (this.allowEdit && this.allowedTools.isEnabled("implement")) {
|
|
87833
87833
|
validTools.push("implement", "edit", "create");
|
|
87834
87834
|
}
|
package/cjs/index.cjs
CHANGED
|
@@ -85450,7 +85450,7 @@ You are working with a repository located at: ${searchDirectory}
|
|
|
85450
85450
|
if (this.allowedTools.isEnabled("listFiles")) validTools.push("listFiles");
|
|
85451
85451
|
if (this.allowedTools.isEnabled("searchFiles")) validTools.push("searchFiles");
|
|
85452
85452
|
if (this.allowedTools.isEnabled("readImage")) validTools.push("readImage");
|
|
85453
|
-
|
|
85453
|
+
validTools.push("attempt_completion");
|
|
85454
85454
|
if (this.allowEdit && this.allowedTools.isEnabled("implement")) {
|
|
85455
85455
|
validTools.push("implement", "edit", "create");
|
|
85456
85456
|
}
|
package/package.json
CHANGED
package/src/agent/ProbeAgent.js
CHANGED
|
@@ -2387,7 +2387,9 @@ When troubleshooting:
|
|
|
2387
2387
|
if (this.allowedTools.isEnabled('listFiles')) validTools.push('listFiles');
|
|
2388
2388
|
if (this.allowedTools.isEnabled('searchFiles')) validTools.push('searchFiles');
|
|
2389
2389
|
if (this.allowedTools.isEnabled('readImage')) validTools.push('readImage');
|
|
2390
|
-
|
|
2390
|
+
// Always allow attempt_completion - it's a completion signal, not a tool
|
|
2391
|
+
// This ensures agents can complete even when disableTools: true is set (fixes #333)
|
|
2392
|
+
validTools.push('attempt_completion');
|
|
2391
2393
|
|
|
2392
2394
|
// Edit tools (require both allowEdit flag AND allowedTools permission)
|
|
2393
2395
|
if (this.allowEdit && this.allowedTools.isEnabled('implement')) {
|