@t2000/engine 0.35.0 → 0.35.1

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/index.js CHANGED
@@ -4712,6 +4712,7 @@ ${recipeCtx}`;
4712
4712
  const needsConfirmation = (() => {
4713
4713
  if (!tool || tool.isReadOnly) return false;
4714
4714
  if (tool.permissionLevel === "explicit") return true;
4715
+ if (!context.agent && !tool.isReadOnly) return true;
4715
4716
  if (context.permissionConfig && context.priceCache) {
4716
4717
  const operation = toolNameToOperation(call.name);
4717
4718
  if (operation) {