@vellumai/plugin-api 0.10.11-dev.202607231425.01b751a → 0.10.11-dev.202607231450.b516b22

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 +28 -66
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1905,14 +1905,13 @@ declare interface ClientEntry extends BaseSubscriberEntry {
1905
1905
  actorPrincipalId?: string;
1906
1906
  }
1907
1907
 
1908
- /** Sent by the daemon to update a client-side setting (e.g. activation key). */
1909
- declare interface ClientSettingsUpdate {
1910
- type: "client_settings_update";
1911
- /** The setting key to update (e.g. "activationKey"). */
1912
- key: string;
1913
- /** The new value for the setting. */
1914
- value: string;
1915
- }
1908
+ declare type ClientSettingsUpdateEvent = z.infer<typeof ClientSettingsUpdateEventSchema>;
1909
+
1910
+ declare const ClientSettingsUpdateEventSchema: z.ZodObject<{
1911
+ type: z.ZodLiteral<"client_settings_update">;
1912
+ key: z.ZodString;
1913
+ value: z.ZodString;
1914
+ }, z.core.$strip>;
1916
1915
 
1917
1916
  declare interface CliOptionHelp {
1918
1917
  /** Commander flag spec, e.g. `"--path <file>"` or `"-l, --limit <n>"`. */
@@ -1965,10 +1964,11 @@ declare const CompactionCircuitOpenEventSchema: z.ZodObject<{
1965
1964
 
1966
1965
  declare type _ComputerUseServerMessages = RecordingStartEvent | RecordingStopEvent | RecordingPauseEvent | RecordingResumeEvent;
1967
1966
 
1968
- /** Sent by the daemon when workspace config.json changes on disk. */
1969
- declare interface ConfigChanged {
1970
- type: "config_changed";
1971
- }
1967
+ declare type ConfigChangedEvent = z.infer<typeof ConfigChangedEventSchema>;
1968
+
1969
+ declare const ConfigChangedEventSchema: z.ZodObject<{
1970
+ type: z.ZodLiteral<"config_changed">;
1971
+ }, z.core.$strip>;
1972
1972
 
1973
1973
  declare type ConfiguredProviderOptions = Pick<ResolveCallSiteOpts, "overrideProfile" | "forceOverrideProfile" | "selectionSeed">;
1974
1974
 
@@ -2512,13 +2512,15 @@ declare const DocumentCommentResolvedEventSchema: z.ZodObject<{
2512
2512
 
2513
2513
  declare type _DocumentCommentsServerMessages = DocumentCommentCreatedEvent | DocumentCommentResolvedEvent | DocumentCommentReopenedEvent | DocumentCommentDeletedEvent;
2514
2514
 
2515
- declare interface DocumentEditorShow {
2516
- type: "document_editor_show";
2517
- conversationId: string;
2518
- surfaceId: string;
2519
- title: string;
2520
- initialContent: string;
2521
- }
2515
+ declare type DocumentEditorShowEvent = z.infer<typeof DocumentEditorShowEventSchema>;
2516
+
2517
+ declare const DocumentEditorShowEventSchema: z.ZodObject<{
2518
+ type: z.ZodLiteral<"document_editor_show">;
2519
+ conversationId: z.ZodString;
2520
+ surfaceId: z.ZodString;
2521
+ title: z.ZodString;
2522
+ initialContent: z.ZodString;
2523
+ }, z.core.$strip>;
2522
2524
 
2523
2525
  declare type DocumentEditorUpdateEvent = z.infer<typeof DocumentEditorUpdateEventSchema>;
2524
2526
 
@@ -2530,31 +2532,6 @@ declare const DocumentEditorUpdateEventSchema: z.ZodObject<{
2530
2532
  mode: z.ZodString;
2531
2533
  }, z.core.$strip>;
2532
2534
 
2533
- declare interface DocumentListResponse {
2534
- type: "document_list_response";
2535
- documents: Array<{
2536
- surfaceId: string;
2537
- conversationId: string;
2538
- title: string;
2539
- wordCount: number;
2540
- createdAt: number;
2541
- updatedAt: number;
2542
- }>;
2543
- }
2544
-
2545
- declare interface DocumentLoadResponse {
2546
- type: "document_load_response";
2547
- surfaceId: string;
2548
- conversationId: string;
2549
- title: string;
2550
- content: string;
2551
- wordCount: number;
2552
- createdAt: number;
2553
- updatedAt: number;
2554
- success: boolean;
2555
- error?: string;
2556
- }
2557
-
2558
2535
  declare type DocumentPreviewSurfaceData = z.infer<typeof DocumentPreviewSurfaceDataSchema>;
2559
2536
 
2560
2537
  declare const DocumentPreviewSurfaceDataSchema: z.ZodObject<{
@@ -2565,14 +2542,7 @@ declare const DocumentPreviewSurfaceDataSchema: z.ZodObject<{
2565
2542
  mimeType: z.ZodCatch<z.ZodOptional<z.ZodString>>;
2566
2543
  }, z.core.$strip>;
2567
2544
 
2568
- declare interface DocumentSaveResponse {
2569
- type: "document_save_response";
2570
- surfaceId: string;
2571
- success: boolean;
2572
- error?: string;
2573
- }
2574
-
2575
- declare type _DocumentsServerMessages = DocumentEditorShow | DocumentEditorUpdateEvent | DocumentSaveResponse | DocumentLoadResponse | DocumentListResponse;
2545
+ declare type _DocumentsServerMessages = DocumentEditorShowEvent | DocumentEditorUpdateEvent;
2576
2546
 
2577
2547
  /**
2578
2548
  * Whether the given model or profile can process image input.
@@ -2756,15 +2726,6 @@ declare const FormSurfaceDataSchema: z.ZodObject<{
2756
2726
  }>>>;
2757
2727
  }, z.core.$strip>;
2758
2728
 
2759
- /** Response to a generate_avatar request indicating success or failure. */
2760
- declare interface GenerateAvatarResponse {
2761
- type: "generate_avatar_response";
2762
- /** Whether the avatar was generated successfully. */
2763
- success: boolean;
2764
- /** Error message when success is false. */
2765
- error?: string;
2766
- }
2767
-
2768
2729
  declare type GenerationCancelledEvent = z.infer<typeof GenerationCancelledEventSchema>;
2769
2730
 
2770
2731
  declare const GenerationCancelledEventSchema: z.ZodObject<{
@@ -5569,7 +5530,7 @@ declare const ServiceGroupUpdateStartingEventSchema: z.ZodObject<{
5569
5530
  expectedDowntimeSeconds: z.ZodNumber;
5570
5531
  }, z.core.$strip>;
5571
5532
 
5572
- declare type _SettingsServerMessages = ClientSettingsUpdate | AvatarUpdatedEvent | ConfigChanged | SoundsConfigUpdated | GenerateAvatarResponse;
5533
+ declare type _SettingsServerMessages = ClientSettingsUpdateEvent | AvatarUpdatedEvent | ConfigChangedEvent | SoundsConfigUpdatedEvent;
5573
5534
 
5574
5535
  declare interface ShareAppCloudResponse {
5575
5536
  type: "share_app_cloud_response";
@@ -5790,10 +5751,11 @@ declare interface SlimSkillBase {
5790
5751
 
5791
5752
  declare type SlimSkillResponse = VellumSlimSkill | ClawhubSlimSkill | SkillsshSlimSkill | CustomSlimSkill | AssistantMemorySlimSkill;
5792
5753
 
5793
- /** Sent by the daemon when sounds config or sound files change on disk. */
5794
- declare interface SoundsConfigUpdated {
5795
- type: "sounds_config_updated";
5796
- }
5754
+ declare type SoundsConfigUpdatedEvent = z.infer<typeof SoundsConfigUpdatedEventSchema>;
5755
+
5756
+ declare const SoundsConfigUpdatedEventSchema: z.ZodObject<{
5757
+ type: z.ZodLiteral<"sounds_config_updated">;
5758
+ }, z.core.$strip>;
5797
5759
 
5798
5760
  /**
5799
5761
  * The full `stop` context a hook receives — the dispatching call site's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.11-dev.202607231425.01b751a",
3
+ "version": "0.10.11-dev.202607231450.b516b22",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",