@vapi-network/mcp 0.7.0 → 0.9.0

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.
@@ -49,7 +49,7 @@ export declare const actions: readonly [Action<{
49
49
  byline?: string | undefined;
50
50
  bylineHref?: string | undefined;
51
51
  };
52
- group?: "partner" | "vapi" | "added" | "external" | undefined;
52
+ group?: "partner" | "external" | "vapi" | "added" | undefined;
53
53
  fee?: {
54
54
  [x: string]: unknown;
55
55
  bps: number;
@@ -113,7 +113,7 @@ export declare const actions: readonly [Action<{
113
113
  byline?: string | undefined;
114
114
  bylineHref?: string | undefined;
115
115
  };
116
- group?: "partner" | "vapi" | "added" | "external" | undefined;
116
+ group?: "partner" | "external" | "vapi" | "added" | undefined;
117
117
  fee?: {
118
118
  [x: string]: unknown;
119
119
  bps: number;
@@ -169,7 +169,7 @@ export declare const actions: readonly [Action<{
169
169
  byline?: string | undefined;
170
170
  bylineHref?: string | undefined;
171
171
  };
172
- group?: "partner" | "vapi" | "added" | "external" | undefined;
172
+ group?: "partner" | "external" | "vapi" | "added" | undefined;
173
173
  fee?: {
174
174
  [x: string]: unknown;
175
175
  bps: number;
@@ -225,7 +225,7 @@ export declare const actions: readonly [Action<{
225
225
  byline?: string | undefined;
226
226
  bylineHref?: string | undefined;
227
227
  };
228
- group?: "partner" | "vapi" | "added" | "external" | undefined;
228
+ group?: "partner" | "external" | "vapi" | "added" | undefined;
229
229
  fee?: {
230
230
  [x: string]: unknown;
231
231
  bps: number;
@@ -280,7 +280,7 @@ export declare const actions: readonly [Action<{
280
280
  requestSchema?: unknown;
281
281
  responseContentType?: string | undefined;
282
282
  network?: string | undefined;
283
- group?: "partner" | "vapi" | "added" | "external" | undefined;
283
+ group?: "partner" | "external" | "vapi" | "added" | undefined;
284
284
  fee?: {
285
285
  [x: string]: unknown;
286
286
  bps: number;
@@ -322,7 +322,575 @@ export declare const actions: readonly [Action<{
322
322
  wallet?: string | undefined;
323
323
  }, {
324
324
  wallet: string;
325
- } & import("../server.js").CallToolResult>];
325
+ } & import("../server.js").CallToolResult>, Action<{
326
+ from: string;
327
+ to: string;
328
+ amountUsd: string | number;
329
+ network?: "base" | "arc" | undefined;
330
+ }, {
331
+ status: "unknown" | "sent";
332
+ from: string;
333
+ to: string;
334
+ toName: string;
335
+ toKind: "account" | "owner";
336
+ amountUsd: string;
337
+ amountAtomic: string;
338
+ network: "eip155:8453" | "eip155:5042";
339
+ txHash: string | null;
340
+ nonce: string;
341
+ replayed: boolean;
342
+ message: string;
343
+ }>, Action<{
344
+ name: string;
345
+ agents?: number | undefined;
346
+ roles?: string[] | undefined;
347
+ strategy?: "targets" | "even" | "weights" | undefined;
348
+ targetsUsd?: Record<string, string | number> | undefined;
349
+ caps?: {
350
+ perCallUsd: string | number;
351
+ perDayUsd: string | number;
352
+ } | undefined;
353
+ treasuryCaps?: {
354
+ perCallUsd: string | number;
355
+ perDayUsd: string | number;
356
+ } | undefined;
357
+ network?: "base" | "arc" | undefined;
358
+ model?: string | undefined;
359
+ fundUsd?: string | number | undefined;
360
+ from?: string | undefined;
361
+ }, {
362
+ swarm: {
363
+ v: 1;
364
+ name: string;
365
+ device: string;
366
+ network: "eip155:8453" | "eip155:5042";
367
+ createdAt: string;
368
+ treasury: {
369
+ account: string;
370
+ steps: {
371
+ creating: boolean;
372
+ created: boolean;
373
+ capped: boolean;
374
+ linked: boolean;
375
+ };
376
+ address?: string | undefined;
377
+ };
378
+ members: {
379
+ account: string;
380
+ role: string;
381
+ weight: number;
382
+ targetAtomic: string;
383
+ ceilingAtomic: string | null;
384
+ steps: {
385
+ profiled: boolean;
386
+ creating: boolean;
387
+ created: boolean;
388
+ capped: boolean;
389
+ linked: boolean;
390
+ };
391
+ address?: string | undefined;
392
+ }[];
393
+ policy: {
394
+ strategy: "targets" | "even" | "weights";
395
+ treasuryCaps: {
396
+ perCallAtomic: string;
397
+ perDayAtomic: string;
398
+ };
399
+ };
400
+ setupFunding?: {
401
+ amountUsd: string;
402
+ from: string;
403
+ status: "sent" | "incomplete" | "planned";
404
+ movementId?: string | undefined;
405
+ policy?: {
406
+ strategy: "targets" | "even" | "weights";
407
+ status: "sent" | "incomplete" | "planned";
408
+ movementId?: string | undefined;
409
+ blocked?: {
410
+ to: string;
411
+ amountUsd: string;
412
+ reason: string;
413
+ }[] | undefined;
414
+ } | undefined;
415
+ } | undefined;
416
+ };
417
+ members: {
418
+ account: string;
419
+ address: string;
420
+ role: string;
421
+ created: boolean;
422
+ capped: boolean;
423
+ profiled: boolean;
424
+ linked: boolean;
425
+ }[];
426
+ next: ({
427
+ kind: "link";
428
+ account: string;
429
+ userCode: string;
430
+ verificationUri: string;
431
+ expiresInSeconds: number;
432
+ } | {
433
+ kind: "caps";
434
+ account: string;
435
+ command: string;
436
+ })[];
437
+ message: string;
438
+ fund?: {
439
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
440
+ treasury: {
441
+ account: string;
442
+ address: string;
443
+ };
444
+ network: "eip155:8453" | "eip155:5042";
445
+ amountUsd: string;
446
+ blocked: {
447
+ to: string;
448
+ amountUsd: string;
449
+ reason: string;
450
+ }[];
451
+ skipped: {
452
+ account: string;
453
+ reason: string;
454
+ }[];
455
+ message: string;
456
+ fund?: {
457
+ movementId: string;
458
+ reason: string;
459
+ resumed: boolean;
460
+ legs: {
461
+ from: string;
462
+ to: string;
463
+ amountUsd: string;
464
+ purpose: "send" | "sweep";
465
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
466
+ txHash?: string | undefined;
467
+ reason?: string | undefined;
468
+ }[];
469
+ complete: boolean;
470
+ } | undefined;
471
+ policy?: {
472
+ movementId: string;
473
+ reason: string;
474
+ resumed: boolean;
475
+ legs: {
476
+ from: string;
477
+ to: string;
478
+ amountUsd: string;
479
+ purpose: "send" | "sweep";
480
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
481
+ txHash?: string | undefined;
482
+ reason?: string | undefined;
483
+ }[];
484
+ complete: boolean;
485
+ } | {
486
+ status: "sent" | "incomplete" | "resumed" | "balanced";
487
+ blocked: {
488
+ to: string;
489
+ amountUsd: string;
490
+ reason: string;
491
+ }[];
492
+ skipped: {
493
+ account: string;
494
+ reason: string;
495
+ }[];
496
+ message: string;
497
+ movement?: {
498
+ movementId: string;
499
+ reason: string;
500
+ resumed: boolean;
501
+ legs: {
502
+ from: string;
503
+ to: string;
504
+ amountUsd: string;
505
+ purpose: "send" | "sweep";
506
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
507
+ txHash?: string | undefined;
508
+ reason?: string | undefined;
509
+ }[];
510
+ complete: boolean;
511
+ } | undefined;
512
+ } | undefined;
513
+ } | undefined;
514
+ }>, Action<{
515
+ name: string;
516
+ role: string;
517
+ targetUsd?: string | number | undefined;
518
+ weight?: number | undefined;
519
+ }, {
520
+ swarm: {
521
+ v: 1;
522
+ name: string;
523
+ device: string;
524
+ network: "eip155:8453" | "eip155:5042";
525
+ createdAt: string;
526
+ treasury: {
527
+ account: string;
528
+ steps: {
529
+ creating: boolean;
530
+ created: boolean;
531
+ capped: boolean;
532
+ linked: boolean;
533
+ };
534
+ address?: string | undefined;
535
+ };
536
+ members: {
537
+ account: string;
538
+ role: string;
539
+ weight: number;
540
+ targetAtomic: string;
541
+ ceilingAtomic: string | null;
542
+ steps: {
543
+ profiled: boolean;
544
+ creating: boolean;
545
+ created: boolean;
546
+ capped: boolean;
547
+ linked: boolean;
548
+ };
549
+ address?: string | undefined;
550
+ }[];
551
+ policy: {
552
+ strategy: "targets" | "even" | "weights";
553
+ treasuryCaps: {
554
+ perCallAtomic: string;
555
+ perDayAtomic: string;
556
+ };
557
+ };
558
+ setupFunding?: {
559
+ amountUsd: string;
560
+ from: string;
561
+ status: "sent" | "incomplete" | "planned";
562
+ movementId?: string | undefined;
563
+ policy?: {
564
+ strategy: "targets" | "even" | "weights";
565
+ status: "sent" | "incomplete" | "planned";
566
+ movementId?: string | undefined;
567
+ blocked?: {
568
+ to: string;
569
+ amountUsd: string;
570
+ reason: string;
571
+ }[] | undefined;
572
+ } | undefined;
573
+ } | undefined;
574
+ };
575
+ members: {
576
+ account: string;
577
+ address: string;
578
+ role: string;
579
+ created: boolean;
580
+ capped: boolean;
581
+ profiled: boolean;
582
+ linked: boolean;
583
+ }[];
584
+ next: ({
585
+ kind: "link";
586
+ account: string;
587
+ userCode: string;
588
+ verificationUri: string;
589
+ expiresInSeconds: number;
590
+ } | {
591
+ kind: "caps";
592
+ account: string;
593
+ command: string;
594
+ })[];
595
+ message: string;
596
+ fund?: {
597
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
598
+ treasury: {
599
+ account: string;
600
+ address: string;
601
+ };
602
+ network: "eip155:8453" | "eip155:5042";
603
+ amountUsd: string;
604
+ blocked: {
605
+ to: string;
606
+ amountUsd: string;
607
+ reason: string;
608
+ }[];
609
+ skipped: {
610
+ account: string;
611
+ reason: string;
612
+ }[];
613
+ message: string;
614
+ fund?: {
615
+ movementId: string;
616
+ reason: string;
617
+ resumed: boolean;
618
+ legs: {
619
+ from: string;
620
+ to: string;
621
+ amountUsd: string;
622
+ purpose: "send" | "sweep";
623
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
624
+ txHash?: string | undefined;
625
+ reason?: string | undefined;
626
+ }[];
627
+ complete: boolean;
628
+ } | undefined;
629
+ policy?: {
630
+ movementId: string;
631
+ reason: string;
632
+ resumed: boolean;
633
+ legs: {
634
+ from: string;
635
+ to: string;
636
+ amountUsd: string;
637
+ purpose: "send" | "sweep";
638
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
639
+ txHash?: string | undefined;
640
+ reason?: string | undefined;
641
+ }[];
642
+ complete: boolean;
643
+ } | {
644
+ status: "sent" | "incomplete" | "resumed" | "balanced";
645
+ blocked: {
646
+ to: string;
647
+ amountUsd: string;
648
+ reason: string;
649
+ }[];
650
+ skipped: {
651
+ account: string;
652
+ reason: string;
653
+ }[];
654
+ message: string;
655
+ movement?: {
656
+ movementId: string;
657
+ reason: string;
658
+ resumed: boolean;
659
+ legs: {
660
+ from: string;
661
+ to: string;
662
+ amountUsd: string;
663
+ purpose: "send" | "sweep";
664
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
665
+ txHash?: string | undefined;
666
+ reason?: string | undefined;
667
+ }[];
668
+ complete: boolean;
669
+ } | undefined;
670
+ } | undefined;
671
+ } | undefined;
672
+ }>, Action<{
673
+ name: string;
674
+ member: string;
675
+ }, {
676
+ status: "resumed" | "left" | "kept";
677
+ member: string;
678
+ message: string;
679
+ movement?: {
680
+ movementId: string;
681
+ reason: string;
682
+ resumed: boolean;
683
+ legs: {
684
+ from: string;
685
+ to: string;
686
+ amountUsd: string;
687
+ purpose: "send" | "sweep";
688
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
689
+ txHash?: string | undefined;
690
+ reason?: string | undefined;
691
+ }[];
692
+ complete: boolean;
693
+ } | undefined;
694
+ }>, Action<{
695
+ name: string;
696
+ amountUsd: string | number;
697
+ from?: string | undefined;
698
+ }, {
699
+ status: "sent" | "incomplete" | "resumed" | "waiting_for_owner";
700
+ treasury: {
701
+ account: string;
702
+ address: string;
703
+ };
704
+ network: "eip155:8453" | "eip155:5042";
705
+ amountUsd: string;
706
+ blocked: {
707
+ to: string;
708
+ amountUsd: string;
709
+ reason: string;
710
+ }[];
711
+ skipped: {
712
+ account: string;
713
+ reason: string;
714
+ }[];
715
+ message: string;
716
+ fund?: {
717
+ movementId: string;
718
+ reason: string;
719
+ resumed: boolean;
720
+ legs: {
721
+ from: string;
722
+ to: string;
723
+ amountUsd: string;
724
+ purpose: "send" | "sweep";
725
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
726
+ txHash?: string | undefined;
727
+ reason?: string | undefined;
728
+ }[];
729
+ complete: boolean;
730
+ } | undefined;
731
+ policy?: {
732
+ movementId: string;
733
+ reason: string;
734
+ resumed: boolean;
735
+ legs: {
736
+ from: string;
737
+ to: string;
738
+ amountUsd: string;
739
+ purpose: "send" | "sweep";
740
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
741
+ txHash?: string | undefined;
742
+ reason?: string | undefined;
743
+ }[];
744
+ complete: boolean;
745
+ } | {
746
+ status: "sent" | "incomplete" | "resumed" | "balanced";
747
+ blocked: {
748
+ to: string;
749
+ amountUsd: string;
750
+ reason: string;
751
+ }[];
752
+ skipped: {
753
+ account: string;
754
+ reason: string;
755
+ }[];
756
+ message: string;
757
+ movement?: {
758
+ movementId: string;
759
+ reason: string;
760
+ resumed: boolean;
761
+ legs: {
762
+ from: string;
763
+ to: string;
764
+ amountUsd: string;
765
+ purpose: "send" | "sweep";
766
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
767
+ txHash?: string | undefined;
768
+ reason?: string | undefined;
769
+ }[];
770
+ complete: boolean;
771
+ } | undefined;
772
+ } | undefined;
773
+ }>, Action<{
774
+ name: string;
775
+ targetsUsd?: Record<string, string | number> | undefined;
776
+ }, {
777
+ status: "sent" | "incomplete" | "resumed" | "balanced";
778
+ blocked: {
779
+ to: string;
780
+ amountUsd: string;
781
+ reason: string;
782
+ }[];
783
+ skipped: {
784
+ account: string;
785
+ reason: string;
786
+ }[];
787
+ message: string;
788
+ movement?: {
789
+ movementId: string;
790
+ reason: string;
791
+ resumed: boolean;
792
+ legs: {
793
+ from: string;
794
+ to: string;
795
+ amountUsd: string;
796
+ purpose: "send" | "sweep";
797
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
798
+ txHash?: string | undefined;
799
+ reason?: string | undefined;
800
+ }[];
801
+ complete: boolean;
802
+ } | undefined;
803
+ }>, Action<{
804
+ name: string;
805
+ }, {
806
+ swarm: string;
807
+ network: "eip155:8453" | "eip155:5042";
808
+ strategy: "targets" | "even" | "weights";
809
+ treasury: {
810
+ account: string;
811
+ address: string;
812
+ linked: boolean;
813
+ balanceAtomic: string;
814
+ balanceUsd: string;
815
+ };
816
+ members: {
817
+ account: string;
818
+ address: string;
819
+ role: string;
820
+ weight: number;
821
+ targetUsd: string;
822
+ ceilingUsd: string | null;
823
+ linked: boolean;
824
+ profile: boolean;
825
+ balanceAtomic: string;
826
+ balanceUsd: string;
827
+ allocatedInUsd: string;
828
+ sweptOutUsd: string;
829
+ netUsd: string;
830
+ }[];
831
+ openMovements: {
832
+ id: string;
833
+ from: string;
834
+ network: "eip155:8453" | "eip155:5042";
835
+ createdAt: string;
836
+ pendingLegs: number;
837
+ unknownLegs: number;
838
+ }[];
839
+ }>, Action<{
840
+ name: string;
841
+ }, {
842
+ status: "incomplete" | "resumed" | "dissolved";
843
+ movements: {
844
+ movementId: string;
845
+ reason: string;
846
+ resumed: boolean;
847
+ legs: {
848
+ from: string;
849
+ to: string;
850
+ amountUsd: string;
851
+ purpose: "send" | "sweep";
852
+ status: "unknown" | "sent" | "planned" | "failed" | "cancelled";
853
+ txHash?: string | undefined;
854
+ reason?: string | undefined;
855
+ }[];
856
+ complete: boolean;
857
+ }[];
858
+ message: string;
859
+ }>, Action<{
860
+ url: string;
861
+ }, {
862
+ status: number;
863
+ contentType: string | null;
864
+ body: unknown;
865
+ }>, Action<import("./context.js").SwarmRunActionInput, import("./context.js").SwarmRunActionResult>, Action<{
866
+ amountUsd: string;
867
+ reason?: string | undefined;
868
+ requestId?: string | undefined;
869
+ }, {
870
+ status: "sent" | "incomplete" | "blocked" | "resumed";
871
+ movementId: string | null;
872
+ sentUsd: string;
873
+ blocked: {
874
+ to: string;
875
+ amountUsd: string;
876
+ reason: string;
877
+ }[];
878
+ }>, Action<{
879
+ member: string;
880
+ task: string;
881
+ budgetUsd: string;
882
+ requestId?: string | undefined;
883
+ }, {
884
+ member: string;
885
+ runId: string | null;
886
+ answer: string | null;
887
+ stoppedBecause: {
888
+ reason: string;
889
+ detail?: string | undefined;
890
+ } | null;
891
+ spentUsd: number | null;
892
+ budgetUsd: number;
893
+ }>, Action<import("./context.js").SwarmRunsInput, import("./context.js").SwarmRunsResult>];
326
894
  export declare const agentToolNames: AgentProfile["tools"];
327
895
  export declare const registeredAgentProfileSchema: import("zod").ZodObject<{
328
896
  tools: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
@@ -335,8 +903,15 @@ export declare const registeredAgentProfileSchema: import("zod").ZodObject<{
335
903
  instructions: import("zod").ZodString;
336
904
  verifiedOnly: import("zod").ZodDefault<import("zod").ZodBoolean>;
337
905
  approveAboveUsd: import("zod").ZodDefault<import("zod").ZodNumber>;
906
+ maxPerTaskUsd: import("zod").ZodDefault<import("zod").ZodNumber>;
907
+ autoReleaseBelowUsd: import("zod").ZodDefault<import("zod").ZodNumber>;
338
908
  maxSteps: import("zod").ZodDefault<import("zod").ZodNumber>;
339
909
  paused: import("zod").ZodDefault<import("zod").ZodBoolean>;
910
+ grants: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
911
+ read: "read";
912
+ delegate: "delegate";
913
+ allocate: "allocate";
914
+ }>>>;
340
915
  createdAt: import("zod").ZodString;
341
916
  }, import("zod/v4/core").$strip>;
342
917
  export declare function findAction(name: string): (typeof actions)[number] | undefined;