@vellumai/plugin-api 0.10.11-dev.202607232029.2295f95 → 0.10.11-dev.202607232108.d026831

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 +13 -100
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2576,25 +2576,6 @@ declare const FileUploadSurfaceDataSchema: z.ZodObject<{
2576
2576
  maxSizeBytes: z.ZodCatch<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2577
2577
  }, z.core.$strip>;
2578
2578
 
2579
- declare interface FilingConfigResponse {
2580
- type: "filing_config_response";
2581
- enabled: boolean;
2582
- intervalMs: number;
2583
- activeHoursStart: number | null;
2584
- activeHoursEnd: number | null;
2585
- nextRunAt: number | null;
2586
- lastRunAt: number | null;
2587
- success: boolean;
2588
- error?: string;
2589
- }
2590
-
2591
- declare interface FilingRunNowResponse {
2592
- type: "filing_run_now_response";
2593
- success: boolean;
2594
- ran: boolean;
2595
- error?: string;
2596
- }
2597
-
2598
2579
  declare interface ForkSharedAppResponse {
2599
2580
  type: "fork_shared_app_response";
2600
2581
  success: boolean;
@@ -2771,64 +2752,21 @@ declare interface GraphNodeSweepResult {
2771
2752
  /** Whether the text tokenizes to at least one lexical search token. */
2772
2753
  export declare function hasLexicalTokens(text: string): Promise<boolean>;
2773
2754
 
2774
- declare interface HeartbeatAlert {
2775
- type: "heartbeat_alert";
2776
- title: string;
2777
- body: string;
2778
- }
2779
-
2780
- declare interface HeartbeatChecklistResponse {
2781
- type: "heartbeat_checklist_response";
2782
- content: string;
2783
- isDefault: boolean;
2784
- }
2785
-
2786
- declare interface HeartbeatChecklistWriteResponse {
2787
- type: "heartbeat_checklist_write_response";
2788
- success: boolean;
2789
- error?: string;
2790
- }
2791
-
2792
- declare interface HeartbeatConfigResponse {
2793
- type: "heartbeat_config_response";
2794
- enabled: boolean;
2795
- intervalMs: number;
2796
- activeHoursStart: number | null;
2797
- activeHoursEnd: number | null;
2798
- nextRunAt: number | null;
2799
- lastRunAt: number | null;
2800
- success: boolean;
2801
- error?: string;
2802
- }
2755
+ declare type HeartbeatAlertEvent = z.infer<typeof HeartbeatAlertEventSchema>;
2803
2756
 
2804
- /** Server push — broadcast when a heartbeat creates a conversation. */
2805
- declare interface HeartbeatConversationCreated {
2806
- type: "heartbeat_conversation_created";
2807
- conversationId: string;
2808
- title: string;
2809
- }
2757
+ declare const HeartbeatAlertEventSchema: z.ZodObject<{
2758
+ type: z.ZodLiteral<"heartbeat_alert">;
2759
+ title: z.ZodString;
2760
+ body: z.ZodString;
2761
+ }, z.core.$strip>;
2810
2762
 
2811
- declare interface HeartbeatRunNowResponse {
2812
- type: "heartbeat_run_now_response";
2813
- success: boolean;
2814
- error?: string;
2815
- }
2763
+ declare type HeartbeatConversationCreatedEvent = z.infer<typeof HeartbeatConversationCreatedEventSchema>;
2816
2764
 
2817
- declare interface HeartbeatRunsListResponse {
2818
- type: "heartbeat_runs_list_response";
2819
- runs: Array<{
2820
- id: string;
2821
- scheduledFor: number;
2822
- startedAt: number | null;
2823
- finishedAt: number | null;
2824
- durationMs: number | null;
2825
- status: string;
2826
- skipReason: string | null;
2827
- error: string | null;
2828
- conversationId: string | null;
2829
- createdAt: number;
2830
- }>;
2831
- }
2765
+ declare const HeartbeatConversationCreatedEventSchema: z.ZodObject<{
2766
+ type: z.ZodLiteral<"heartbeat_conversation_created">;
2767
+ conversationId: z.ZodString;
2768
+ title: z.ZodString;
2769
+ }, z.core.$strip>;
2832
2770
 
2833
2771
  declare interface HistoryResponse {
2834
2772
  type: "history_response";
@@ -5113,32 +5051,7 @@ declare const ScheduleConversationCreatedEventSchema: z.ZodObject<{
5113
5051
  title: z.ZodString;
5114
5052
  }, z.core.$strip>;
5115
5053
 
5116
- declare interface SchedulesListResponse {
5117
- type: "schedules_list_response";
5118
- schedules: Array<{
5119
- id: string;
5120
- name: string;
5121
- enabled: boolean;
5122
- syntax: string;
5123
- expression: string | null;
5124
- cronExpression: string | null;
5125
- timezone: string | null;
5126
- message: string;
5127
- nextRunAt: number;
5128
- lastRunAt: number | null;
5129
- lastStatus: string | null;
5130
- description: string;
5131
- cadenceDescription: string;
5132
- mode: string;
5133
- status: string;
5134
- routingIntent: string;
5135
- reuseConversation: boolean;
5136
- wakeConversationId: string | null;
5137
- isOneShot: boolean;
5138
- }>;
5139
- }
5140
-
5141
- declare type _SchedulesServerMessages = SchedulesListResponse | HeartbeatAlert | HeartbeatConversationCreated | HeartbeatConfigResponse | HeartbeatRunsListResponse | HeartbeatRunNowResponse | HeartbeatChecklistResponse | HeartbeatChecklistWriteResponse | FilingConfigResponse | FilingRunNowResponse;
5054
+ declare type _SchedulesServerMessages = HeartbeatAlertEvent | HeartbeatConversationCreatedEvent;
5142
5055
 
5143
5056
  /** Sparse lexical search over stored message text; ranked message-id hits. */
5144
5057
  export declare function searchMessageIdsLexical(query: string, limit: number, opts?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.11-dev.202607232029.2295f95",
3
+ "version": "0.10.11-dev.202607232108.d026831",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",