@vellumai/plugin-api 0.12.2-dev.202609182015.188de8a → 0.12.2-dev.202609182114.335fa56

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 -18
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2711,24 +2711,14 @@ export declare class AssistantEventHub {
2711
2711
  * Publish an event to all matching subscribers.
2712
2712
  *
2713
2713
  * Matching rules:
2714
- * - if `excludeClientId` is set, the subscriber with that clientId is
2715
- * skipped regardless of every other rule (self-echo suppression — the
2716
- * client that originated the mutation does not receive its own
2717
- * invalidation back through the hub).
2718
- * - if `targetClientId` is set, deliver only to the subscriber with that
2719
- * clientId, bypassing the conversation-id filter entirely (the web-origin
2720
- * event's conversationId differs from the macOS client's subscribed
2721
- * conversation).
2722
- * - if `filter.conversationId` is set (and `targetClientId` is not), the
2723
- * `event.conversationId` must equal it
2724
- * - if `targetCapability` is set, only subscribers whose capabilities include
2725
- * it receive the event; untargeted events go to all
2726
- * - if `targetInterfaceId` is set, only client subscribers whose
2727
- * `interfaceId` matches receive the event; process subscribers and
2728
- * non-matching clients are skipped.
2729
- * - if `targetActorPrincipalId` is set, only client subscribers whose
2730
- * verified `actorPrincipalId` equals it receive the event; process
2731
- * subscribers and clients without a principal are skipped.
2714
+ * - the event's targeting (`excludeClientId`, `targetInterfaceId`,
2715
+ * `targetActorPrincipalId`, `targetClientId`, `targetCapability`) must
2716
+ * admit the subscriber, per {@link matchesTargeting}, the same check
2717
+ * replay applies
2718
+ * - a subscriber's `filter.conversationId` must equal `event.conversationId`,
2719
+ * unless the event names a client with `targetClientId` (a web-origin
2720
+ * event's conversationId can differ from the conversation the targeted
2721
+ * macOS client subscribed to)
2732
2722
  *
2733
2723
  * Fanout is isolated: a throwing or rejecting subscriber does not abort
2734
2724
  * delivery to remaining subscribers.
@@ -5922,6 +5912,7 @@ declare const messageMetadataSchema: z.ZodObject<{
5922
5912
  }>>;
5923
5913
  provenanceGuardianExternalUserId: z.ZodOptional<z.ZodString>;
5924
5914
  provenanceRequesterIdentifier: z.ZodOptional<z.ZodString>;
5915
+ provenanceContactId: z.ZodOptional<z.ZodString>;
5925
5916
  automated: z.ZodOptional<z.ZodBoolean>;
5926
5917
  hidden: z.ZodOptional<z.ZodBoolean>;
5927
5918
  voiceSessionTurn: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.2-dev.202609182015.188de8a",
3
+ "version": "0.12.2-dev.202609182114.335fa56",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",