@vellumai/plugin-api 0.10.4-dev.202607011740.b091b12 → 0.10.4-dev.202607012040.649b529

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 +18 -19
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2256,7 +2256,7 @@ declare interface IntegrationListResponse {
2256
2256
  }>;
2257
2257
  }
2258
2258
 
2259
- declare type _IntegrationsServerMessages = SlackWebhookConfigResponse | IngressConfigResponse | PlatformConfigResponse | VercelApiConfigResponse | TelegramConfigResponse | ChannelVerificationSessionResponse | IntegrationListResponse | IntegrationConnectResult | OAuthConnectResultResponse | OpenUrlEvent | NavigateSettingsEvent | ShowPlatformLogin | PlatformDisconnected;
2259
+ declare type _IntegrationsServerMessages = SlackWebhookConfigResponse | IngressConfigResponse | PlatformConfigResponse | VercelApiConfigResponse | TelegramConfigResponse | ChannelVerificationSessionResponse | IntegrationListResponse | IntegrationConnectResult | OAuthConnectResultResponse | OpenUrlEvent | OpenPanelEvent | NavigateSettingsEvent | ShowPlatformLogin | PlatformDisconnected;
2260
2260
 
2261
2261
  declare type InteractionResolvedEvent = z.infer<typeof InteractionResolvedEventSchema>;
2262
2262
 
@@ -2659,6 +2659,15 @@ declare interface OpenConversation {
2659
2659
  focus?: boolean;
2660
2660
  }
2661
2661
 
2662
+ declare type OpenPanelEvent = z.infer<typeof OpenPanelEventSchema>;
2663
+
2664
+ declare const OpenPanelEventSchema: z.ZodObject<{
2665
+ type: z.ZodLiteral<"open_panel">;
2666
+ panelType: z.ZodString;
2667
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2668
+ conversationId: z.ZodOptional<z.ZodString>;
2669
+ }, z.core.$strip>;
2670
+
2662
2671
  declare type OpenUrlEvent = z.infer<typeof OpenUrlEventSchema>;
2663
2672
 
2664
2673
  declare const OpenUrlEventSchema: z.ZodObject<{
@@ -4585,24 +4594,14 @@ declare const TraceEventSchema: z.ZodObject<{
4585
4594
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4586
4595
  }, z.core.$strip>;
4587
4596
 
4588
- /**
4589
- * Trust classification for an inbound actor.
4590
- *
4591
- * - `'guardian'`: The sender matches the active guardian binding for this
4592
- * (assistant, channel). Guardians have full control-plane access and
4593
- * self-approve tool invocations.
4594
- * - `'trusted_contact'`: The sender is an active contact with a channel
4595
- * (not the guardian). Trusted contacts can invoke tools but require
4596
- * guardian approval for sensitive operations.
4597
- * - `'unverified_contact'`: The sender matches a contact channel whose
4598
- * status is `pending` or `unverified` — known to the guardian but not yet
4599
- * verified. Treated identically to `trusted_contact` for every downstream
4600
- * capability/tool/approval decision; the distinction is admission-only.
4601
- * - `'unknown'`: The sender has no contact record, no identity could be
4602
- * established, or the sender is a blocked/revoked contact. Unknown
4603
- * actors are fail-closed with no escalation path.
4604
- */
4605
- declare type TrustClass = "guardian" | "trusted_contact" | "unverified_contact" | "unknown";
4597
+ declare type TrustClass = z.infer<typeof trustClassSchema>;
4598
+
4599
+ declare const trustClassSchema: z.ZodEnum<{
4600
+ unknown: "unknown";
4601
+ guardian: "guardian";
4602
+ trusted_contact: "trusted_contact";
4603
+ unverified_contact: "unverified_contact";
4604
+ }>;
4606
4605
 
4607
4606
  declare interface UiSurfaceComplete {
4608
4607
  type: "ui_surface_complete";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.4-dev.202607011740.b091b12",
3
+ "version": "0.10.4-dev.202607012040.649b529",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",