agent-inspect 6.19.1 → 6.20.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.
@@ -322,6 +322,16 @@ interface ToolOrderingRuleOptions {
322
322
  * adjacent pairs use unique ids such as `contract.tool.order.0`.
323
323
  */
324
324
  id?: string;
325
+ /**
326
+ * Ordering semantics. `first-occurrence` preserves first-occurrence encounter
327
+ * ordering, `happens-before` requires the first before event to finish before
328
+ * the first after event starts, and `all-occurrences` applies that causal
329
+ * boundary to every matching occurrence.
330
+ *
331
+ * @defaultValue `"first-occurrence"`
332
+ * @experimental Available through `agent-inspect/checks`.
333
+ */
334
+ mode?: "first-occurrence" | "happens-before" | "all-occurrences";
325
335
  }
326
336
  /**
327
337
  * Experimental options for the built-in tool failure rule.
@@ -322,6 +322,16 @@ interface ToolOrderingRuleOptions {
322
322
  * adjacent pairs use unique ids such as `contract.tool.order.0`.
323
323
  */
324
324
  id?: string;
325
+ /**
326
+ * Ordering semantics. `first-occurrence` preserves first-occurrence encounter
327
+ * ordering, `happens-before` requires the first before event to finish before
328
+ * the first after event starts, and `all-occurrences` applies that causal
329
+ * boundary to every matching occurrence.
330
+ *
331
+ * @defaultValue `"first-occurrence"`
332
+ * @experimental Available through `agent-inspect/checks`.
333
+ */
334
+ mode?: "first-occurrence" | "happens-before" | "all-occurrences";
325
335
  }
326
336
  /**
327
337
  * Experimental options for the built-in tool failure rule.