@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 +1 -1
- package/src/plugin-api/types.ts +5 -4
package/package.json
CHANGED
package/src/plugin-api/types.ts
CHANGED
|
@@ -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
|
|
500
|
-
* already runs the tools)
|
|
501
|
-
*
|
|
502
|
-
* {@link callSite} / {@link conversationId}
|
|
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.
|