@vellumai/plugin-api 0.8.10-dev.202606111255.73ec993 → 0.8.10-dev.202606111519.39ad418

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2778,10 +2778,11 @@ export declare interface PostCompactContext {
2778
2778
  * early.
2779
2779
  *
2780
2780
  * The retry decision is honored only at actionable outcomes — a no-tool reply
2781
- * or a `mainAgent` rejection — and is ignored on tool-bearing turns (the loop
2782
- * already runs the tools) and non-`mainAgent` call sites. Runs for every
2783
- * finalized message regardless of call site; hooks MUST self-gate on
2784
- * {@link callSite} / {@link conversationId}. Mutate in place or return a new
2781
+ * or a provider rejection — and is ignored on tool-bearing turns (the loop
2782
+ * already runs the tools). The loop does not gate the decision on call site, so
2783
+ * a hook that should only retry the user-facing turn MUST self-gate on
2784
+ * {@link callSite} / {@link conversationId} to avoid re-querying background,
2785
+ * subagent, or compaction calls. Mutate in place or return a new
2785
2786
  * context; throwing is contained by the loop (the original content is kept and
2786
2787
  * the outcome is treated as `"stop"`). Multiple plugins' hooks chain in
2787
2788
  * registration order — each sees the previous hook's `decision` and mutations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.8.10-dev.202606111255.73ec993",
3
+ "version": "0.8.10-dev.202606111519.39ad418",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",