@vellumai/plugin-api 0.10.3-dev.202606292252.adea010 → 0.10.3-dev.202606300318.cf23f52

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 +9 -13
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2904,13 +2904,10 @@ export declare interface PostCompactContext {
2904
2904
  */
2905
2905
  readonly isNonInteractive: boolean;
2906
2906
  /**
2907
- * Active inference profile key to surface in the re-injected context, or
2908
- * `null` when the profile is unchanged since the one last announced to the
2909
- * model. Mirrors {@link UserPromptSubmitContext.modelProfileKey}: hooks that
2910
- * emit the `model_profile` grounding line resolve the human-readable label
2911
- * from this key rather than receiving the rendered string.
2907
+ * Effective inference profile identity for the model the compacted turn will
2908
+ * keep using. Mirrors {@link UserPromptSubmitContext.modelProfileKey}.
2912
2909
  */
2913
- readonly modelProfileKey: string | null;
2910
+ readonly modelProfileKey: string;
2914
2911
  /**
2915
2912
  * Volume of runtime injection to re-apply. `"full"` restores the complete
2916
2913
  * runtime context; `"minimal"` is the reduced volume overflow recovery's
@@ -4976,14 +4973,13 @@ export declare interface UserPromptSubmitContext {
4976
4973
  */
4977
4974
  readonly requestId: string;
4978
4975
  /**
4979
- * Active inference profile key to surface in this turn's context, or `null`
4980
- * when the profile is unchanged since the one last announced to the model.
4981
- * Hooks that emit the `model_profile` grounding line resolve the
4982
- * human-readable label (and model id) from this key via the workspace LLM
4983
- * config rather than receiving the rendered string — the key is the minimal
4984
- * turn input the message arrays cannot carry.
4976
+ * Effective inference profile identity for the model this turn will use.
4977
+ * Named-profile configs receive a profile key; profileless configs receive
4978
+ * the resolved model id. Hooks that need model capabilities should resolve
4979
+ * them from this value rather than the workspace active profile, because a
4980
+ * conversation can be pinned to a different profile.
4985
4981
  */
4986
- readonly modelProfileKey: string | null;
4982
+ readonly modelProfileKey: string;
4987
4983
  /**
4988
4984
  * Whether the turn has no human present to answer clarification questions
4989
4985
  * (e.g. a scheduled, background, or headless run). Resolved once at turn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.3-dev.202606292252.adea010",
3
+ "version": "0.10.3-dev.202606300318.cf23f52",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",