@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.
- package/index.d.ts +5 -4
- 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
|
|
2782
|
-
* already runs the tools)
|
|
2783
|
-
*
|
|
2784
|
-
* {@link callSite} / {@link conversationId}
|
|
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