@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.
- package/index.d.ts +9 -18
- 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
|
-
* -
|
|
2715
|
-
*
|
|
2716
|
-
*
|
|
2717
|
-
*
|
|
2718
|
-
* -
|
|
2719
|
-
*
|
|
2720
|
-
* event's conversationId
|
|
2721
|
-
*
|
|
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