@vellumai/plugin-api 0.10.6-staging.1 → 0.10.6

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 +4 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3667,8 +3667,11 @@ export declare interface ShutdownContext {
3667
3667
  * - `uninstall` — the plugin's directory was removed at runtime.
3668
3668
  * - `disable` — the plugin was disabled at runtime (e.g. a `.disabled`
3669
3669
  * sentinel was added, or a feature flag turned it off).
3670
+ * - `reload` — a source file inside the plugin directory changed and the
3671
+ * plugin is being redeployed in place; the old version's `shutdown` runs
3672
+ * before the new version is imported and its `init` fires.
3670
3673
  */
3671
- declare type ShutdownReason = "shutdown" | "uninstall" | "disable";
3674
+ declare type ShutdownReason = "shutdown" | "uninstall" | "disable" | "reload";
3672
3675
 
3673
3676
  declare interface SignBundlePayloadRequest {
3674
3677
  type: "sign_bundle_payload";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.6-staging.1",
3
+ "version": "0.10.6",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",