@vellumai/plugin-api 0.10.3-dev.202606302138.0f63073 → 0.10.3-dev.202606302333.da83dd7
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 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -431,12 +431,8 @@ export declare class AssistantEventHub {
|
|
|
431
431
|
hasCapacity(): boolean;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
/**
|
|
435
|
-
|
|
436
|
-
*
|
|
437
|
-
* Import and use this in daemon send paths and the SSE route.
|
|
438
|
-
*/
|
|
439
|
-
export declare const assistantEventHub: AssistantEventHub;
|
|
434
|
+
/** The plugin-facing event hub. See module docs. */
|
|
435
|
+
export declare const assistantEventHub: PluginEventHub;
|
|
440
436
|
|
|
441
437
|
/** Opaque handle returned by `subscribe`. Call `dispose()` to remove the subscription. */
|
|
442
438
|
export declare interface AssistantEventSubscription {
|
|
@@ -2720,6 +2716,13 @@ declare interface PlatformDisconnected {
|
|
|
2720
2716
|
type: "platform_disconnected";
|
|
2721
2717
|
}
|
|
2722
2718
|
|
|
2719
|
+
/**
|
|
2720
|
+
* The subset of {@link AssistantEventHub} workspace plugins may use. Picking
|
|
2721
|
+
* method signatures off the class keeps the facade in sync with the hub while
|
|
2722
|
+
* statically withholding everything else.
|
|
2723
|
+
*/
|
|
2724
|
+
export declare type PluginEventHub = Pick<AssistantEventHub, "subscribe" | "publish" | "hasSubscribersForEvent">;
|
|
2725
|
+
|
|
2723
2726
|
/**
|
|
2724
2727
|
* Minimal pino-compatible logger surface handed to plugin hooks. The host
|
|
2725
2728
|
* supplies a pino child logger bound to `{ plugin: <name> }`; this
|
|
@@ -3766,7 +3769,7 @@ declare interface SubagentSpawned {
|
|
|
3766
3769
|
|
|
3767
3770
|
declare type _SubagentsServerMessages = SubagentSpawned | SubagentStatusChanged | SubagentDetailResponse;
|
|
3768
3771
|
|
|
3769
|
-
declare type SubagentStatus = "pending" | "running" | "awaiting_input" | "completed" | "failed" | "aborted";
|
|
3772
|
+
declare type SubagentStatus = "pending" | "running" | "awaiting_input" | "completed" | "failed" | "aborted" | "interrupted";
|
|
3770
3773
|
|
|
3771
3774
|
declare interface SubagentStatusChanged {
|
|
3772
3775
|
type: "subagent_status_changed";
|
package/package.json
CHANGED