@vellumai/assistant 0.8.10-dev.202606111255.73ec993 → 0.8.10-dev.202606111334.d8a7740

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/assistant",
3
- "version": "0.8.10-dev.202606111255.73ec993",
3
+ "version": "0.8.10-dev.202606111334.d8a7740",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -496,10 +496,11 @@ export type PostModelCallDecision = "continue" | "stop";
496
496
  * early.
497
497
  *
498
498
  * The retry decision is honored only at actionable outcomes — a no-tool reply
499
- * or a `mainAgent` rejection — and is ignored on tool-bearing turns (the loop
500
- * already runs the tools) and non-`mainAgent` call sites. Runs for every
501
- * finalized message regardless of call site; hooks MUST self-gate on
502
- * {@link callSite} / {@link conversationId}. Mutate in place or return a new
499
+ * or a provider rejection — and is ignored on tool-bearing turns (the loop
500
+ * already runs the tools). The loop does not gate the decision on call site, so
501
+ * a hook that should only retry the user-facing turn MUST self-gate on
502
+ * {@link callSite} / {@link conversationId} to avoid re-querying background,
503
+ * subagent, or compaction calls. Mutate in place or return a new
503
504
  * context; throwing is contained by the loop (the original content is kept and
504
505
  * the outcome is treated as `"stop"`). Multiple plugins' hooks chain in
505
506
  * registration order — each sees the previous hook's `decision` and mutations.