@vellumai/plugin-api 0.11.2-dev.202608071425.368249e → 0.11.2-dev.202608071521.2d2f93e
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 +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2581,6 +2581,16 @@ export declare class AssistantEventHub {
|
|
|
2581
2581
|
* authenticated user identity that opened the target client's SSE stream.
|
|
2582
2582
|
*/
|
|
2583
2583
|
getActorPrincipalIdForClient(clientId: string): string | undefined;
|
|
2584
|
+
/**
|
|
2585
|
+
* Whether the connection identified by `connectionId` is still an active
|
|
2586
|
+
* client subscription that carries no `actorPrincipalId`.
|
|
2587
|
+
*
|
|
2588
|
+
* Drives the retrying SSE self-heal (`sse-actor-principal-heal.ts`): the loop
|
|
2589
|
+
* re-checks before each attempt so it stops as soon as the connection closes,
|
|
2590
|
+
* is replaced by a reconnect, or gets a principal from any path. Returns
|
|
2591
|
+
* `false` for an unknown, inactive, or process-type connection.
|
|
2592
|
+
*/
|
|
2593
|
+
needsActorPrincipalHeal(connectionId: string): boolean;
|
|
2584
2594
|
/**
|
|
2585
2595
|
* Fill a missing `actorPrincipalId` on a live client subscription.
|
|
2586
2596
|
*
|
package/package.json
CHANGED