@vellumai/plugin-api 0.10.0-staging.1 → 0.10.0-staging.3

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 +8 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3934,6 +3934,14 @@ export declare interface ToolContext {
3934
3934
  * `executeSubagentSpawn` in tools/subagent/spawn.ts.
3935
3935
  */
3936
3936
  overrideProfile?: string;
3937
+ /**
3938
+ * The LLM call site of the turn currently executing this tool (`mainAgent`,
3939
+ * `heartbeatAgent`, scheduled work, etc.). `subagent_spawn` reads it to
3940
+ * default a spawned subagent's inference profile to the profile the invoking
3941
+ * turn resolved to, so subagents match whatever agent invoked them rather
3942
+ * than always falling back to the static `subagentSpawn` call-site default.
3943
+ */
3944
+ invokingCallSite?: LLMCallSite;
3937
3945
  /**
3938
3946
  * Canonical principal ID of the actor on whose behalf this tool invocation
3939
3947
  * is running. Sourced from `conversation.trustContext.guardianPrincipalId`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.0-staging.1",
3
+ "version": "0.10.0-staging.3",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",