@oh-my-pi/pi-agent-core 18.13.2 → 18.14.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/src/types.ts CHANGED
@@ -1253,6 +1253,12 @@ export interface AgentTool<
1253
1253
  */
1254
1254
  approvalCacheTargets?: (args: unknown) => readonly string[] | undefined;
1255
1255
 
1256
+ /**
1257
+ * Paths a call reads beyond its working directory, matched against restricted folders when it
1258
+ * reports no `approvalCacheTargets`. Unlike cache targets they never key a remembered grant.
1259
+ */
1260
+ approvalRestrictionPaths?: (args: unknown) => readonly string[] | undefined;
1261
+
1256
1262
  /** The main execution callback for this tool. */
1257
1263
  execute: AgentToolExecFn<TParameters, TDetails, TTheme>;
1258
1264