@agent-vm/config-contracts 0.0.114 → 0.0.115
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/dist/index.d.ts +665 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +204 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -576,21 +576,171 @@ declare const toolPortalCallPolicySchema: z.ZodObject<{
|
|
|
576
576
|
}, z.core.$strict>;
|
|
577
577
|
}, z.core.$strict>;
|
|
578
578
|
type ToolPortalCallPolicy = z.infer<typeof toolPortalCallPolicySchema>;
|
|
579
|
+
declare const toolPortalBackendKindSchema: z.ZodEnum<{
|
|
580
|
+
mcp_provider: "mcp_provider";
|
|
581
|
+
controller_host_action: "controller_host_action";
|
|
582
|
+
tool_vm_runner: "tool_vm_runner";
|
|
583
|
+
}>;
|
|
584
|
+
declare const toolPortalSandboxSshOperationDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
585
|
+
description: z.ZodString;
|
|
586
|
+
executable: z.ZodString;
|
|
587
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
588
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
589
|
+
workingDirectory: z.ZodString;
|
|
590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
591
|
+
description: z.ZodString;
|
|
592
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
593
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
594
|
+
description: z.ZodString;
|
|
595
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
597
|
+
description: z.ZodString;
|
|
598
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
+
description: z.ZodString;
|
|
601
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
602
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
603
|
+
description: z.ZodString;
|
|
604
|
+
executable: z.ZodString;
|
|
605
|
+
kind: z.ZodLiteral<"process.start">;
|
|
606
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
607
|
+
maxRuntimeMs: z.ZodNumber;
|
|
608
|
+
retainOutputBytes: z.ZodNumber;
|
|
609
|
+
workingDirectory: z.ZodString;
|
|
610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
611
|
+
description: z.ZodString;
|
|
612
|
+
kind: z.ZodLiteral<"process.status">;
|
|
613
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
614
|
+
description: z.ZodString;
|
|
615
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
616
|
+
timeoutMs: z.ZodNumber;
|
|
617
|
+
}, z.core.$strict>], "kind">;
|
|
618
|
+
type ToolPortalSandboxSshOperationDefinition = z.infer<typeof toolPortalSandboxSshOperationDefinitionSchema>;
|
|
619
|
+
declare const toolPortalSandboxSshBackendBindingSchema: z.ZodObject<{
|
|
620
|
+
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
621
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
622
|
+
description: z.ZodString;
|
|
623
|
+
executable: z.ZodString;
|
|
624
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
625
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
626
|
+
workingDirectory: z.ZodString;
|
|
627
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
628
|
+
description: z.ZodString;
|
|
629
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
630
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
631
|
+
description: z.ZodString;
|
|
632
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
633
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
634
|
+
description: z.ZodString;
|
|
635
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
636
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
637
|
+
description: z.ZodString;
|
|
638
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
640
|
+
description: z.ZodString;
|
|
641
|
+
executable: z.ZodString;
|
|
642
|
+
kind: z.ZodLiteral<"process.start">;
|
|
643
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
644
|
+
maxRuntimeMs: z.ZodNumber;
|
|
645
|
+
retainOutputBytes: z.ZodNumber;
|
|
646
|
+
workingDirectory: z.ZodString;
|
|
647
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
648
|
+
description: z.ZodString;
|
|
649
|
+
kind: z.ZodLiteral<"process.status">;
|
|
650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
651
|
+
description: z.ZodString;
|
|
652
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
653
|
+
timeoutMs: z.ZodNumber;
|
|
654
|
+
}, z.core.$strict>], "kind">>;
|
|
655
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
656
|
+
}, z.core.$strict>;
|
|
657
|
+
type ToolPortalSandboxSshBackendBinding = z.infer<typeof toolPortalSandboxSshBackendBindingSchema>;
|
|
579
658
|
declare const toolPortalBackendBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
580
659
|
kind: z.ZodLiteral<"mcp_provider">;
|
|
581
660
|
}, z.core.$strict>, z.ZodObject<{
|
|
582
661
|
kind: z.ZodLiteral<"controller_host_action">;
|
|
583
662
|
}, z.core.$strict>, z.ZodObject<{
|
|
584
663
|
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
664
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
665
|
+
description: z.ZodString;
|
|
666
|
+
executable: z.ZodString;
|
|
667
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
668
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
669
|
+
workingDirectory: z.ZodString;
|
|
670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
671
|
+
description: z.ZodString;
|
|
672
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
674
|
+
description: z.ZodString;
|
|
675
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
676
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
677
|
+
description: z.ZodString;
|
|
678
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
679
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
680
|
+
description: z.ZodString;
|
|
681
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
682
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
683
|
+
description: z.ZodString;
|
|
684
|
+
executable: z.ZodString;
|
|
685
|
+
kind: z.ZodLiteral<"process.start">;
|
|
686
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
687
|
+
maxRuntimeMs: z.ZodNumber;
|
|
688
|
+
retainOutputBytes: z.ZodNumber;
|
|
689
|
+
workingDirectory: z.ZodString;
|
|
690
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
691
|
+
description: z.ZodString;
|
|
692
|
+
kind: z.ZodLiteral<"process.status">;
|
|
693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
694
|
+
description: z.ZodString;
|
|
695
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
696
|
+
timeoutMs: z.ZodNumber;
|
|
697
|
+
}, z.core.$strict>], "kind">>;
|
|
698
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
585
699
|
}, z.core.$strict>], "kind">;
|
|
700
|
+
type ToolPortalBackendKind = z.infer<typeof toolPortalBackendKindSchema>;
|
|
586
701
|
type ToolPortalBackendBinding = z.infer<typeof toolPortalBackendBindingSchema>;
|
|
587
|
-
declare const
|
|
702
|
+
declare const toolPortalNamespacePolicySchema: z.ZodObject<{
|
|
588
703
|
backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
704
|
kind: z.ZodLiteral<"mcp_provider">;
|
|
590
705
|
}, z.core.$strict>, z.ZodObject<{
|
|
591
706
|
kind: z.ZodLiteral<"controller_host_action">;
|
|
592
707
|
}, z.core.$strict>, z.ZodObject<{
|
|
593
708
|
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
709
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
710
|
+
description: z.ZodString;
|
|
711
|
+
executable: z.ZodString;
|
|
712
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
713
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
714
|
+
workingDirectory: z.ZodString;
|
|
715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
716
|
+
description: z.ZodString;
|
|
717
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
718
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
719
|
+
description: z.ZodString;
|
|
720
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
722
|
+
description: z.ZodString;
|
|
723
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
724
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
725
|
+
description: z.ZodString;
|
|
726
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
728
|
+
description: z.ZodString;
|
|
729
|
+
executable: z.ZodString;
|
|
730
|
+
kind: z.ZodLiteral<"process.start">;
|
|
731
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
732
|
+
maxRuntimeMs: z.ZodNumber;
|
|
733
|
+
retainOutputBytes: z.ZodNumber;
|
|
734
|
+
workingDirectory: z.ZodString;
|
|
735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
736
|
+
description: z.ZodString;
|
|
737
|
+
kind: z.ZodLiteral<"process.status">;
|
|
738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
739
|
+
description: z.ZodString;
|
|
740
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
741
|
+
timeoutMs: z.ZodNumber;
|
|
742
|
+
}, z.core.$strict>], "kind">>;
|
|
743
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
594
744
|
}, z.core.$strict>], "kind">;
|
|
595
745
|
calls: z.ZodObject<{
|
|
596
746
|
requiresApproval: z.ZodObject<{
|
|
@@ -607,15 +757,50 @@ declare const toolPortalCapabilityPolicySchema: z.ZodObject<{
|
|
|
607
757
|
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
608
758
|
}, z.core.$strict>;
|
|
609
759
|
}, z.core.$strict>;
|
|
610
|
-
type
|
|
760
|
+
type ToolPortalNamespacePolicy = z.infer<typeof toolPortalNamespacePolicySchema>;
|
|
611
761
|
declare const toolPortalProfileDefinitionSchema: z.ZodObject<{
|
|
612
|
-
|
|
762
|
+
namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
613
763
|
backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
614
764
|
kind: z.ZodLiteral<"mcp_provider">;
|
|
615
765
|
}, z.core.$strict>, z.ZodObject<{
|
|
616
766
|
kind: z.ZodLiteral<"controller_host_action">;
|
|
617
767
|
}, z.core.$strict>, z.ZodObject<{
|
|
618
768
|
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
769
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
770
|
+
description: z.ZodString;
|
|
771
|
+
executable: z.ZodString;
|
|
772
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
773
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
774
|
+
workingDirectory: z.ZodString;
|
|
775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
776
|
+
description: z.ZodString;
|
|
777
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
779
|
+
description: z.ZodString;
|
|
780
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
782
|
+
description: z.ZodString;
|
|
783
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
785
|
+
description: z.ZodString;
|
|
786
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
787
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
788
|
+
description: z.ZodString;
|
|
789
|
+
executable: z.ZodString;
|
|
790
|
+
kind: z.ZodLiteral<"process.start">;
|
|
791
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
792
|
+
maxRuntimeMs: z.ZodNumber;
|
|
793
|
+
retainOutputBytes: z.ZodNumber;
|
|
794
|
+
workingDirectory: z.ZodString;
|
|
795
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
796
|
+
description: z.ZodString;
|
|
797
|
+
kind: z.ZodLiteral<"process.status">;
|
|
798
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
799
|
+
description: z.ZodString;
|
|
800
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
801
|
+
timeoutMs: z.ZodNumber;
|
|
802
|
+
}, z.core.$strict>], "kind">>;
|
|
803
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
619
804
|
}, z.core.$strict>], "kind">;
|
|
620
805
|
calls: z.ZodObject<{
|
|
621
806
|
requiresApproval: z.ZodObject<{
|
|
@@ -638,20 +823,299 @@ declare const toolPortalAgentConfigSchema: z.ZodObject<{
|
|
|
638
823
|
profile: z.ZodString;
|
|
639
824
|
}, z.core.$strict>;
|
|
640
825
|
type ToolPortalAgentConfig = z.infer<typeof toolPortalAgentConfigSchema>;
|
|
641
|
-
declare const
|
|
826
|
+
declare const toolPortalStandaloneAgentAuthenticationSchema: z.ZodObject<{
|
|
827
|
+
approvalHmacKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
828
|
+
source: z.ZodLiteral<"environment">;
|
|
829
|
+
name: z.ZodString;
|
|
830
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
831
|
+
source: z.ZodLiteral<"1password">;
|
|
832
|
+
ref: z.ZodString;
|
|
833
|
+
}, z.core.$strict>], "source">;
|
|
834
|
+
bearerKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
835
|
+
source: z.ZodLiteral<"environment">;
|
|
836
|
+
name: z.ZodString;
|
|
837
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
838
|
+
source: z.ZodLiteral<"1password">;
|
|
839
|
+
ref: z.ZodString;
|
|
840
|
+
}, z.core.$strict>], "source">;
|
|
841
|
+
credentialVersion: z.ZodNumber;
|
|
842
|
+
}, z.core.$strict>;
|
|
843
|
+
type ToolPortalStandaloneAgentAuthentication = z.infer<typeof toolPortalStandaloneAgentAuthenticationSchema>;
|
|
844
|
+
declare const toolPortalStandaloneAuthenticationSchema: z.ZodObject<{
|
|
845
|
+
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
846
|
+
approvalHmacKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
847
|
+
source: z.ZodLiteral<"environment">;
|
|
848
|
+
name: z.ZodString;
|
|
849
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
850
|
+
source: z.ZodLiteral<"1password">;
|
|
851
|
+
ref: z.ZodString;
|
|
852
|
+
}, z.core.$strict>], "source">;
|
|
853
|
+
bearerKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
854
|
+
source: z.ZodLiteral<"environment">;
|
|
855
|
+
name: z.ZodString;
|
|
856
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
857
|
+
source: z.ZodLiteral<"1password">;
|
|
858
|
+
ref: z.ZodString;
|
|
859
|
+
}, z.core.$strict>], "source">;
|
|
860
|
+
credentialVersion: z.ZodNumber;
|
|
861
|
+
}, z.core.$strict>>;
|
|
862
|
+
}, z.core.$strict>;
|
|
863
|
+
type ToolPortalStandaloneAuthentication = z.infer<typeof toolPortalStandaloneAuthenticationSchema>;
|
|
864
|
+
declare const toolPortalNetworkAddressSchema: z.ZodObject<{
|
|
865
|
+
host: z.ZodString;
|
|
866
|
+
port: z.ZodNumber;
|
|
867
|
+
}, z.core.$strict>;
|
|
868
|
+
type ToolPortalNetworkAddress = z.infer<typeof toolPortalNetworkAddressSchema>;
|
|
869
|
+
declare const toolPortalHttpEntrypointSchema: z.ZodObject<{
|
|
870
|
+
address: z.ZodObject<{
|
|
871
|
+
host: z.ZodString;
|
|
872
|
+
port: z.ZodNumber;
|
|
873
|
+
}, z.core.$strict>;
|
|
874
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
875
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
876
|
+
authentication: z.ZodObject<{
|
|
877
|
+
kind: z.ZodLiteral<"bearer">;
|
|
878
|
+
}, z.core.$strict>;
|
|
879
|
+
enabled: z.ZodLiteral<true>;
|
|
880
|
+
route: z.ZodString;
|
|
881
|
+
}, z.core.$strict>;
|
|
882
|
+
type ToolPortalHttpEntrypoint = z.infer<typeof toolPortalHttpEntrypointSchema>;
|
|
883
|
+
declare const toolPortalMcpEntrypointSchema: z.ZodObject<{
|
|
884
|
+
address: z.ZodObject<{
|
|
885
|
+
host: z.ZodString;
|
|
886
|
+
port: z.ZodNumber;
|
|
887
|
+
}, z.core.$strict>;
|
|
888
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
889
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
890
|
+
authentication: z.ZodObject<{
|
|
891
|
+
kind: z.ZodLiteral<"bearer">;
|
|
892
|
+
}, z.core.$strict>;
|
|
893
|
+
enabled: z.ZodLiteral<true>;
|
|
894
|
+
route: z.ZodString;
|
|
895
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
896
|
+
}, z.core.$strict>;
|
|
897
|
+
type ToolPortalMcpEntrypoint = z.infer<typeof toolPortalMcpEntrypointSchema>;
|
|
898
|
+
declare const toolPortalStdioEntrypointSchema: z.ZodObject<{
|
|
899
|
+
authentication: z.ZodObject<{
|
|
900
|
+
agentId: z.ZodString;
|
|
901
|
+
kind: z.ZodLiteral<"scoped-principal">;
|
|
902
|
+
}, z.core.$strict>;
|
|
903
|
+
enabled: z.ZodLiteral<true>;
|
|
904
|
+
}, z.core.$strict>;
|
|
905
|
+
type ToolPortalStdioEntrypoint = z.infer<typeof toolPortalStdioEntrypointSchema>;
|
|
906
|
+
declare const toolPortalStandaloneEntrypointsSchema: z.ZodObject<{
|
|
907
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
908
|
+
address: z.ZodObject<{
|
|
909
|
+
host: z.ZodString;
|
|
910
|
+
port: z.ZodNumber;
|
|
911
|
+
}, z.core.$strict>;
|
|
912
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
913
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
914
|
+
authentication: z.ZodObject<{
|
|
915
|
+
kind: z.ZodLiteral<"bearer">;
|
|
916
|
+
}, z.core.$strict>;
|
|
917
|
+
enabled: z.ZodLiteral<true>;
|
|
918
|
+
route: z.ZodString;
|
|
919
|
+
}, z.core.$strict>>;
|
|
920
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
address: z.ZodObject<{
|
|
922
|
+
host: z.ZodString;
|
|
923
|
+
port: z.ZodNumber;
|
|
924
|
+
}, z.core.$strict>;
|
|
925
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
926
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
927
|
+
authentication: z.ZodObject<{
|
|
928
|
+
kind: z.ZodLiteral<"bearer">;
|
|
929
|
+
}, z.core.$strict>;
|
|
930
|
+
enabled: z.ZodLiteral<true>;
|
|
931
|
+
route: z.ZodString;
|
|
932
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
933
|
+
}, z.core.$strict>>;
|
|
934
|
+
stdio: z.ZodOptional<z.ZodObject<{
|
|
935
|
+
authentication: z.ZodObject<{
|
|
936
|
+
agentId: z.ZodString;
|
|
937
|
+
kind: z.ZodLiteral<"scoped-principal">;
|
|
938
|
+
}, z.core.$strict>;
|
|
939
|
+
enabled: z.ZodLiteral<true>;
|
|
940
|
+
}, z.core.$strict>>;
|
|
941
|
+
}, z.core.$strict>;
|
|
942
|
+
type ToolPortalStandaloneEntrypoints = z.infer<typeof toolPortalStandaloneEntrypointsSchema>;
|
|
943
|
+
declare const managedToolPortalConfigSchema: z.ZodObject<{
|
|
944
|
+
mode: z.ZodLiteral<"managed">;
|
|
642
945
|
$schema: z.ZodOptional<z.ZodString>;
|
|
946
|
+
agents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
947
|
+
profile: z.ZodString;
|
|
948
|
+
}, z.core.$strict>>>;
|
|
949
|
+
profiles: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
950
|
+
namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
951
|
+
backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
952
|
+
kind: z.ZodLiteral<"mcp_provider">;
|
|
953
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
954
|
+
kind: z.ZodLiteral<"controller_host_action">;
|
|
955
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
956
|
+
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
957
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
958
|
+
description: z.ZodString;
|
|
959
|
+
executable: z.ZodString;
|
|
960
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
961
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
962
|
+
workingDirectory: z.ZodString;
|
|
963
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
964
|
+
description: z.ZodString;
|
|
965
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
966
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
967
|
+
description: z.ZodString;
|
|
968
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
970
|
+
description: z.ZodString;
|
|
971
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
972
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
973
|
+
description: z.ZodString;
|
|
974
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
975
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
976
|
+
description: z.ZodString;
|
|
977
|
+
executable: z.ZodString;
|
|
978
|
+
kind: z.ZodLiteral<"process.start">;
|
|
979
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
980
|
+
maxRuntimeMs: z.ZodNumber;
|
|
981
|
+
retainOutputBytes: z.ZodNumber;
|
|
982
|
+
workingDirectory: z.ZodString;
|
|
983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
984
|
+
description: z.ZodString;
|
|
985
|
+
kind: z.ZodLiteral<"process.status">;
|
|
986
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
987
|
+
description: z.ZodString;
|
|
988
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
989
|
+
timeoutMs: z.ZodNumber;
|
|
990
|
+
}, z.core.$strict>], "kind">>;
|
|
991
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
992
|
+
}, z.core.$strict>], "kind">;
|
|
993
|
+
calls: z.ZodObject<{
|
|
994
|
+
requiresApproval: z.ZodObject<{
|
|
995
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
996
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
997
|
+
}, z.core.$strict>;
|
|
998
|
+
withoutApproval: z.ZodObject<{
|
|
999
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1000
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1001
|
+
}, z.core.$strict>;
|
|
1002
|
+
}, z.core.$strict>;
|
|
1003
|
+
tools: z.ZodObject<{
|
|
1004
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1005
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1006
|
+
}, z.core.$strict>;
|
|
1007
|
+
}, z.core.$strict>>>;
|
|
1008
|
+
}, z.core.$strict>>;
|
|
643
1009
|
schemaVersion: z.ZodLiteral<1>;
|
|
1010
|
+
}, z.core.$strict>;
|
|
1011
|
+
type ManagedToolPortalConfig = z.infer<typeof managedToolPortalConfigSchema>;
|
|
1012
|
+
declare const standaloneToolPortalConfigSchema: z.ZodObject<{
|
|
1013
|
+
authentication: z.ZodObject<{
|
|
1014
|
+
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1015
|
+
approvalHmacKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1016
|
+
source: z.ZodLiteral<"environment">;
|
|
1017
|
+
name: z.ZodString;
|
|
1018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1019
|
+
source: z.ZodLiteral<"1password">;
|
|
1020
|
+
ref: z.ZodString;
|
|
1021
|
+
}, z.core.$strict>], "source">;
|
|
1022
|
+
bearerKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1023
|
+
source: z.ZodLiteral<"environment">;
|
|
1024
|
+
name: z.ZodString;
|
|
1025
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1026
|
+
source: z.ZodLiteral<"1password">;
|
|
1027
|
+
ref: z.ZodString;
|
|
1028
|
+
}, z.core.$strict>], "source">;
|
|
1029
|
+
credentialVersion: z.ZodNumber;
|
|
1030
|
+
}, z.core.$strict>>;
|
|
1031
|
+
}, z.core.$strict>;
|
|
1032
|
+
drain: z.ZodObject<{
|
|
1033
|
+
timeoutMs: z.ZodNumber;
|
|
1034
|
+
}, z.core.$strict>;
|
|
1035
|
+
entrypoints: z.ZodObject<{
|
|
1036
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
1037
|
+
address: z.ZodObject<{
|
|
1038
|
+
host: z.ZodString;
|
|
1039
|
+
port: z.ZodNumber;
|
|
1040
|
+
}, z.core.$strict>;
|
|
1041
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
1042
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1043
|
+
authentication: z.ZodObject<{
|
|
1044
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1045
|
+
}, z.core.$strict>;
|
|
1046
|
+
enabled: z.ZodLiteral<true>;
|
|
1047
|
+
route: z.ZodString;
|
|
1048
|
+
}, z.core.$strict>>;
|
|
1049
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
1050
|
+
address: z.ZodObject<{
|
|
1051
|
+
host: z.ZodString;
|
|
1052
|
+
port: z.ZodNumber;
|
|
1053
|
+
}, z.core.$strict>;
|
|
1054
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
1055
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1056
|
+
authentication: z.ZodObject<{
|
|
1057
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1058
|
+
}, z.core.$strict>;
|
|
1059
|
+
enabled: z.ZodLiteral<true>;
|
|
1060
|
+
route: z.ZodString;
|
|
1061
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
1062
|
+
}, z.core.$strict>>;
|
|
1063
|
+
stdio: z.ZodOptional<z.ZodObject<{
|
|
1064
|
+
authentication: z.ZodObject<{
|
|
1065
|
+
agentId: z.ZodString;
|
|
1066
|
+
kind: z.ZodLiteral<"scoped-principal">;
|
|
1067
|
+
}, z.core.$strict>;
|
|
1068
|
+
enabled: z.ZodLiteral<true>;
|
|
1069
|
+
}, z.core.$strict>>;
|
|
1070
|
+
}, z.core.$strict>;
|
|
1071
|
+
mode: z.ZodLiteral<"standalone">;
|
|
1072
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
644
1073
|
agents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
645
1074
|
profile: z.ZodString;
|
|
646
1075
|
}, z.core.$strict>>>;
|
|
647
1076
|
profiles: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
648
|
-
|
|
1077
|
+
namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
649
1078
|
backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
650
1079
|
kind: z.ZodLiteral<"mcp_provider">;
|
|
651
1080
|
}, z.core.$strict>, z.ZodObject<{
|
|
652
1081
|
kind: z.ZodLiteral<"controller_host_action">;
|
|
653
1082
|
}, z.core.$strict>, z.ZodObject<{
|
|
654
1083
|
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
1084
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1085
|
+
description: z.ZodString;
|
|
1086
|
+
executable: z.ZodString;
|
|
1087
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
1088
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
1089
|
+
workingDirectory: z.ZodString;
|
|
1090
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1091
|
+
description: z.ZodString;
|
|
1092
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
1093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1094
|
+
description: z.ZodString;
|
|
1095
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
1096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1097
|
+
description: z.ZodString;
|
|
1098
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
1099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1100
|
+
description: z.ZodString;
|
|
1101
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
1102
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1103
|
+
description: z.ZodString;
|
|
1104
|
+
executable: z.ZodString;
|
|
1105
|
+
kind: z.ZodLiteral<"process.start">;
|
|
1106
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
1107
|
+
maxRuntimeMs: z.ZodNumber;
|
|
1108
|
+
retainOutputBytes: z.ZodNumber;
|
|
1109
|
+
workingDirectory: z.ZodString;
|
|
1110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1111
|
+
description: z.ZodString;
|
|
1112
|
+
kind: z.ZodLiteral<"process.status">;
|
|
1113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1114
|
+
description: z.ZodString;
|
|
1115
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
1116
|
+
timeoutMs: z.ZodNumber;
|
|
1117
|
+
}, z.core.$strict>], "kind">>;
|
|
1118
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
655
1119
|
}, z.core.$strict>], "kind">;
|
|
656
1120
|
calls: z.ZodObject<{
|
|
657
1121
|
requiresApproval: z.ZodObject<{
|
|
@@ -669,7 +1133,202 @@ declare const toolPortalConfigSchema: z.ZodObject<{
|
|
|
669
1133
|
}, z.core.$strict>;
|
|
670
1134
|
}, z.core.$strict>>>;
|
|
671
1135
|
}, z.core.$strict>>;
|
|
1136
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
672
1137
|
}, z.core.$strict>;
|
|
1138
|
+
type StandaloneToolPortalConfig = z.infer<typeof standaloneToolPortalConfigSchema>;
|
|
1139
|
+
declare const toolPortalConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1140
|
+
mode: z.ZodLiteral<"managed">;
|
|
1141
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
agents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1143
|
+
profile: z.ZodString;
|
|
1144
|
+
}, z.core.$strict>>>;
|
|
1145
|
+
profiles: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1146
|
+
namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1147
|
+
backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1148
|
+
kind: z.ZodLiteral<"mcp_provider">;
|
|
1149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1150
|
+
kind: z.ZodLiteral<"controller_host_action">;
|
|
1151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1152
|
+
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
1153
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1154
|
+
description: z.ZodString;
|
|
1155
|
+
executable: z.ZodString;
|
|
1156
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
1157
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
1158
|
+
workingDirectory: z.ZodString;
|
|
1159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1160
|
+
description: z.ZodString;
|
|
1161
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
1162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1163
|
+
description: z.ZodString;
|
|
1164
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
1165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1166
|
+
description: z.ZodString;
|
|
1167
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
1168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1169
|
+
description: z.ZodString;
|
|
1170
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
1171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1172
|
+
description: z.ZodString;
|
|
1173
|
+
executable: z.ZodString;
|
|
1174
|
+
kind: z.ZodLiteral<"process.start">;
|
|
1175
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
1176
|
+
maxRuntimeMs: z.ZodNumber;
|
|
1177
|
+
retainOutputBytes: z.ZodNumber;
|
|
1178
|
+
workingDirectory: z.ZodString;
|
|
1179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1180
|
+
description: z.ZodString;
|
|
1181
|
+
kind: z.ZodLiteral<"process.status">;
|
|
1182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1183
|
+
description: z.ZodString;
|
|
1184
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
1185
|
+
timeoutMs: z.ZodNumber;
|
|
1186
|
+
}, z.core.$strict>], "kind">>;
|
|
1187
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
1188
|
+
}, z.core.$strict>], "kind">;
|
|
1189
|
+
calls: z.ZodObject<{
|
|
1190
|
+
requiresApproval: z.ZodObject<{
|
|
1191
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1192
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1193
|
+
}, z.core.$strict>;
|
|
1194
|
+
withoutApproval: z.ZodObject<{
|
|
1195
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1196
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1197
|
+
}, z.core.$strict>;
|
|
1198
|
+
}, z.core.$strict>;
|
|
1199
|
+
tools: z.ZodObject<{
|
|
1200
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1201
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1202
|
+
}, z.core.$strict>;
|
|
1203
|
+
}, z.core.$strict>>>;
|
|
1204
|
+
}, z.core.$strict>>;
|
|
1205
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
1206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1207
|
+
authentication: z.ZodObject<{
|
|
1208
|
+
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1209
|
+
approvalHmacKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1210
|
+
source: z.ZodLiteral<"environment">;
|
|
1211
|
+
name: z.ZodString;
|
|
1212
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1213
|
+
source: z.ZodLiteral<"1password">;
|
|
1214
|
+
ref: z.ZodString;
|
|
1215
|
+
}, z.core.$strict>], "source">;
|
|
1216
|
+
bearerKey: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1217
|
+
source: z.ZodLiteral<"environment">;
|
|
1218
|
+
name: z.ZodString;
|
|
1219
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1220
|
+
source: z.ZodLiteral<"1password">;
|
|
1221
|
+
ref: z.ZodString;
|
|
1222
|
+
}, z.core.$strict>], "source">;
|
|
1223
|
+
credentialVersion: z.ZodNumber;
|
|
1224
|
+
}, z.core.$strict>>;
|
|
1225
|
+
}, z.core.$strict>;
|
|
1226
|
+
drain: z.ZodObject<{
|
|
1227
|
+
timeoutMs: z.ZodNumber;
|
|
1228
|
+
}, z.core.$strict>;
|
|
1229
|
+
entrypoints: z.ZodObject<{
|
|
1230
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
1231
|
+
address: z.ZodObject<{
|
|
1232
|
+
host: z.ZodString;
|
|
1233
|
+
port: z.ZodNumber;
|
|
1234
|
+
}, z.core.$strict>;
|
|
1235
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
1236
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1237
|
+
authentication: z.ZodObject<{
|
|
1238
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1239
|
+
}, z.core.$strict>;
|
|
1240
|
+
enabled: z.ZodLiteral<true>;
|
|
1241
|
+
route: z.ZodString;
|
|
1242
|
+
}, z.core.$strict>>;
|
|
1243
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
1244
|
+
address: z.ZodObject<{
|
|
1245
|
+
host: z.ZodString;
|
|
1246
|
+
port: z.ZodNumber;
|
|
1247
|
+
}, z.core.$strict>;
|
|
1248
|
+
allowedHosts: z.ZodArray<z.ZodString>;
|
|
1249
|
+
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
1250
|
+
authentication: z.ZodObject<{
|
|
1251
|
+
kind: z.ZodLiteral<"bearer">;
|
|
1252
|
+
}, z.core.$strict>;
|
|
1253
|
+
enabled: z.ZodLiteral<true>;
|
|
1254
|
+
route: z.ZodString;
|
|
1255
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
1256
|
+
}, z.core.$strict>>;
|
|
1257
|
+
stdio: z.ZodOptional<z.ZodObject<{
|
|
1258
|
+
authentication: z.ZodObject<{
|
|
1259
|
+
agentId: z.ZodString;
|
|
1260
|
+
kind: z.ZodLiteral<"scoped-principal">;
|
|
1261
|
+
}, z.core.$strict>;
|
|
1262
|
+
enabled: z.ZodLiteral<true>;
|
|
1263
|
+
}, z.core.$strict>>;
|
|
1264
|
+
}, z.core.$strict>;
|
|
1265
|
+
mode: z.ZodLiteral<"standalone">;
|
|
1266
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
agents: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1268
|
+
profile: z.ZodString;
|
|
1269
|
+
}, z.core.$strict>>>;
|
|
1270
|
+
profiles: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1271
|
+
namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1272
|
+
backend: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1273
|
+
kind: z.ZodLiteral<"mcp_provider">;
|
|
1274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1275
|
+
kind: z.ZodLiteral<"controller_host_action">;
|
|
1276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1277
|
+
kind: z.ZodLiteral<"tool_vm_runner">;
|
|
1278
|
+
operations: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1279
|
+
description: z.ZodString;
|
|
1280
|
+
executable: z.ZodString;
|
|
1281
|
+
kind: z.ZodLiteral<"command.fixed">;
|
|
1282
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
1283
|
+
workingDirectory: z.ZodString;
|
|
1284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1285
|
+
description: z.ZodString;
|
|
1286
|
+
kind: z.ZodLiteral<"filesystem.read">;
|
|
1287
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1288
|
+
description: z.ZodString;
|
|
1289
|
+
kind: z.ZodLiteral<"filesystem.write">;
|
|
1290
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1291
|
+
description: z.ZodString;
|
|
1292
|
+
kind: z.ZodLiteral<"process.cancel">;
|
|
1293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1294
|
+
description: z.ZodString;
|
|
1295
|
+
kind: z.ZodLiteral<"process.logs">;
|
|
1296
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1297
|
+
description: z.ZodString;
|
|
1298
|
+
executable: z.ZodString;
|
|
1299
|
+
kind: z.ZodLiteral<"process.start">;
|
|
1300
|
+
mandatoryArgvPrefix: z.ZodArray<z.ZodString>;
|
|
1301
|
+
maxRuntimeMs: z.ZodNumber;
|
|
1302
|
+
retainOutputBytes: z.ZodNumber;
|
|
1303
|
+
workingDirectory: z.ZodString;
|
|
1304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1305
|
+
description: z.ZodString;
|
|
1306
|
+
kind: z.ZodLiteral<"process.status">;
|
|
1307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1308
|
+
description: z.ZodString;
|
|
1309
|
+
kind: z.ZodLiteral<"process.wait">;
|
|
1310
|
+
timeoutMs: z.ZodNumber;
|
|
1311
|
+
}, z.core.$strict>], "kind">>;
|
|
1312
|
+
profile: z.ZodLiteral<"sandbox_ssh">;
|
|
1313
|
+
}, z.core.$strict>], "kind">;
|
|
1314
|
+
calls: z.ZodObject<{
|
|
1315
|
+
requiresApproval: z.ZodObject<{
|
|
1316
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1317
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1318
|
+
}, z.core.$strict>;
|
|
1319
|
+
withoutApproval: z.ZodObject<{
|
|
1320
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1321
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1322
|
+
}, z.core.$strict>;
|
|
1323
|
+
}, z.core.$strict>;
|
|
1324
|
+
tools: z.ZodObject<{
|
|
1325
|
+
allow: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodString>]>;
|
|
1326
|
+
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1327
|
+
}, z.core.$strict>;
|
|
1328
|
+
}, z.core.$strict>>>;
|
|
1329
|
+
}, z.core.$strict>>;
|
|
1330
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
1331
|
+
}, z.core.$strict>], "mode">;
|
|
673
1332
|
type ToolPortalConfig = z.infer<typeof toolPortalConfigSchema>;
|
|
674
1333
|
declare function loadToolPortalConfig(configPath: string): Promise<ToolPortalConfig>;
|
|
675
1334
|
declare const ToolPortalMcpProjectionNamespaceSchema: z.ZodObject<{
|
|
@@ -759,5 +1418,5 @@ interface CreateToolPortalControllerHostActionProjectionProps {
|
|
|
759
1418
|
}
|
|
760
1419
|
declare function createToolPortalControllerHostActionProjection(props: CreateToolPortalControllerHostActionProjectionProps): ToolPortalControllerHostActionProjection;
|
|
761
1420
|
//#endregion
|
|
762
|
-
export { ConfigContractSchemaArtifacts, CreateToolPortalControllerHostActionProjectionProps, CreateToolPortalMcpProjectionProps, FormattedSecretValue, JsonArray, JsonObject, JsonPrimitive, JsonValue, McpConfig, McpPortalAgentConfig, McpPortalApprovalToolAnnotations, McpPortalApprovalToolCall, McpPortalCallPolicyDecision, McpPortalConfig, McpPortalExternalAuthConfig, McpPortalProfileDefinition, McpPortalProxyConfig, McpProvider, NamespaceToolRef, OpenClawMcpPortalPluginConfig, PortalApprovalConfig, PortalToolSelector, ResolvedMcpPortalProfile, ResolvedMcpProvider, SecretFormat, SecretValue, ToolPortalAgentConfig, ToolPortalBackendBinding,
|
|
1421
|
+
export { ConfigContractSchemaArtifacts, CreateToolPortalControllerHostActionProjectionProps, CreateToolPortalMcpProjectionProps, FormattedSecretValue, JsonArray, JsonObject, JsonPrimitive, JsonValue, ManagedToolPortalConfig, McpConfig, McpPortalAgentConfig, McpPortalApprovalToolAnnotations, McpPortalApprovalToolCall, McpPortalCallPolicyDecision, McpPortalConfig, McpPortalExternalAuthConfig, McpPortalProfileDefinition, McpPortalProxyConfig, McpProvider, NamespaceToolRef, OpenClawMcpPortalPluginConfig, PortalApprovalConfig, PortalToolSelector, ResolvedMcpPortalProfile, ResolvedMcpProvider, SecretFormat, SecretValue, StandaloneToolPortalConfig, ToolPortalAgentConfig, ToolPortalBackendBinding, ToolPortalBackendKind, ToolPortalCallPolicy, ToolPortalConfig, ToolPortalControllerHostActionProjection, ToolPortalControllerHostActionProjectionNamespace, ToolPortalControllerHostActionProjectionNamespaceSchema, ToolPortalControllerHostActionProjectionSchema, ToolPortalHttpEntrypoint, ToolPortalMcpEntrypoint, ToolPortalMcpProjection, ToolPortalMcpProjectionNamespace, ToolPortalMcpProjectionNamespaceSchema, ToolPortalMcpProjectionSchema, ToolPortalNamespacePolicy, ToolPortalNetworkAddress, ToolPortalProfileDefinition, ToolPortalSandboxSshBackendBinding, ToolPortalSandboxSshOperationDefinition, ToolPortalStandaloneAgentAuthentication, ToolPortalStandaloneAuthentication, ToolPortalStandaloneEntrypoints, ToolPortalStdioEntrypoint, ToolPortalToolSelector, assertJsonObject, createConfigContractSchemaArtifacts, createToolPortalControllerHostActionProjection, createToolPortalMcpProjection, formatSecretValue, formattedSecretValueSchema, isJsonObject, jsonObjectSchema, jsonValueSchema, loadJsonConfigFile, loadMcpConfig, loadMcpPortalConfig, loadToolPortalConfig, managedToolPortalConfigSchema, mcpConfigSchema, mcpConfigToResolvedProviders, mcpPortalAgentConfigSchema, mcpPortalCallPolicyDecision, mcpPortalCallRequiresApproval, mcpPortalConfigSchema, mcpPortalConfigSchemaIds, mcpPortalConfigSchemaPaths, mcpPortalConfigSchemaVersions, mcpPortalExternalAuthSchema, mcpPortalProfileDefinitionSchema, mcpPortalProxySchema, mcpProviderSchema, mcpSecretPolicySchema, namespaceToolRefSchema, openClawMcpPortalPluginConfigSchema, portalApprovalConfigSchema, portalToolSelectorSchema, resolveMcpPortalProfile, resolvedMcpPortalProfileSchema, secretFormatSchema, secretValueSchema, secretValueToEnvironmentReference, standaloneToolPortalConfigSchema, toolPortalAgentConfigSchema, toolPortalBackendBindingSchema, toolPortalBackendKindSchema, toolPortalCallPolicySchema, toolPortalConfigSchema, toolPortalHttpEntrypointSchema, toolPortalMcpEntrypointSchema, toolPortalNamespacePolicySchema, toolPortalNetworkAddressSchema, toolPortalProfileDefinitionSchema, toolPortalSandboxSshBackendBindingSchema, toolPortalSandboxSshOperationDefinitionSchema, toolPortalStandaloneAgentAuthenticationSchema, toolPortalStandaloneAuthenticationSchema, toolPortalStandaloneEntrypointsSchema, toolPortalStdioEntrypointSchema, toolPortalToolSelectorSchema };
|
|
763
1422
|
//# sourceMappingURL=index.d.ts.map
|