@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
- if (this.allowedTools.isEnabled('attempt_completion')) validTools.push('attempt_completion');
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')) {
@@ -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
- if (this.allowedTools.isEnabled("attempt_completion")) validTools.push("attempt_completion");
61146
+ validTools.push("attempt_completion");
61147
61147
  if (this.allowEdit && this.allowedTools.isEnabled("implement")) {
61148
61148
  validTools.push("implement", "edit", "create");
61149
61149
  }
@@ -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
- if (this.allowedTools.isEnabled("attempt_completion")) validTools.push("attempt_completion");
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
- if (this.allowedTools.isEnabled("attempt_completion")) validTools.push("attempt_completion");
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@probelabs/probe",
3
- "version": "0.6.0-rc187",
3
+ "version": "0.6.0-rc188",
4
4
  "description": "Node.js wrapper for the probe code search tool",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -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
- if (this.allowedTools.isEnabled('attempt_completion')) validTools.push('attempt_completion');
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')) {