@vellumai/plugin-api 0.10.3-dev.202606290544.27c7b15 → 0.10.3-dev.202606290949.0cf8e08

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 +11 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3050,10 +3050,19 @@ export declare interface PostToolUseContext {
3050
3050
  /**
3051
3051
  * Model id reported by the provider for the assistant turn that issued
3052
3052
  * this tool call (e.g. `claude-opus-4-8`,
3053
- * `accounts/fireworks/models/kimi-k2p6`). Hooks use it to vary coaching by
3054
- * model family some models need earlier or firmer steering than others.
3053
+ * `accounts/fireworks/models/kimi-k2p6`). A hook needing a finer-grained
3054
+ * model-family signal than {@link needsFirmerSteering} e.g. matching a
3055
+ * specific loop-prone family — reads it directly.
3055
3056
  */
3056
3057
  readonly model: string;
3058
+ /**
3059
+ * Host's assessment that this turn's model needs firmer mid-turn steering
3060
+ * than the static prompt provides — `true` for weaker open-weight families
3061
+ * that disregard prompt-level coaching, `false` for models that follow it.
3062
+ * Hooks gate aggressive nudges on this boolean instead of re-deriving the
3063
+ * model taxonomy themselves.
3064
+ */
3065
+ readonly needsFirmerSteering: boolean;
3057
3066
  /**
3058
3067
  * The model's context-window size in tokens. Plugins derive their own
3059
3068
  * character budget from this (e.g. a share of the window) rather than
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.3-dev.202606290544.27c7b15",
3
+ "version": "0.10.3-dev.202606290949.0cf8e08",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",