@vellumai/plugin-api 0.10.3-dev.202606291709.2b4d83d → 0.10.3-dev.202606291850.7e0a3f7

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 +21 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -472,6 +472,15 @@ declare interface AssistantInboxEscalationResponse {
472
472
  };
473
473
  }
474
474
 
475
+ /**
476
+ * Managed skill authored by the assistant's retrospective. Identical shape to a
477
+ * custom skill — it stays managed/deletable — but carries a distinct origin so
478
+ * the UI badges it as "Assistant's Memory" instead of "Custom".
479
+ */
480
+ declare interface AssistantMemorySlimSkill extends SlimSkillBase {
481
+ origin: "assistant-memory";
482
+ }
483
+
475
484
  declare interface AssistantStatusMessage {
476
485
  type: "assistant_status";
477
486
  version?: string;
@@ -3763,7 +3772,7 @@ declare interface SlimSkillBase {
3763
3772
  owner?: OwnerInfo;
3764
3773
  }
3765
3774
 
3766
- declare type SlimSkillResponse = VellumSlimSkill | ClawhubSlimSkill | SkillsshSlimSkill | CustomSlimSkill;
3775
+ declare type SlimSkillResponse = VellumSlimSkill | ClawhubSlimSkill | SkillsshSlimSkill | CustomSlimSkill | AssistantMemorySlimSkill;
3767
3776
 
3768
3777
  /** Sent by the daemon when sounds config or sound files change on disk. */
3769
3778
  declare interface SoundsConfigUpdated {
@@ -4108,6 +4117,17 @@ export declare interface ToolContext {
4108
4117
  * @legacy
4109
4118
  */
4110
4119
  executionChannel?: string;
4120
+ /**
4121
+ * Origin tag of the turn driving this tool invocation (the conversation's
4122
+ * `TitleOrigin`, e.g. "memory_retrospective"). Set for background-job turns
4123
+ * that pass `requestOrigin` to `runBackgroundJob`, and for the
4124
+ * memory-retrospective wake (which pins it via {@link WakeToolContextPin}).
4125
+ * `buildPolicyContext` copies it onto the `PolicyContext` so the permission
4126
+ * checker can scope narrow non-interactive auto-grants (e.g. retrospective
4127
+ * skill authoring) to a specific internal origin. Unset for normal
4128
+ * interactive turns.
4129
+ */
4130
+ requestOrigin?: string;
4111
4131
  /**
4112
4132
  * Voice/call session ID, if the invocation originates from a call. Used for scoped grant consumption.
4113
4133
  * @legacy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.3-dev.202606291709.2b4d83d",
3
+ "version": "0.10.3-dev.202606291850.7e0a3f7",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",