@infersec/conduit 1.48.3 → 1.51.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.
- package/dist/cli.js +50 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19719,6 +19719,37 @@ object({
|
|
|
19719
19719
|
password: RawPasswordSchema
|
|
19720
19720
|
});
|
|
19721
19721
|
|
|
19722
|
+
object({
|
|
19723
|
+
description: string$1().optional(),
|
|
19724
|
+
inputSchema: record(string$1(), unknown()).optional(),
|
|
19725
|
+
name: string$1()
|
|
19726
|
+
});
|
|
19727
|
+
const MCPToolCallResultContentSchema = discriminatedUnion("type", [
|
|
19728
|
+
object({
|
|
19729
|
+
data: string$1().optional(),
|
|
19730
|
+
mimeType: string$1().optional(),
|
|
19731
|
+
type: literal("image")
|
|
19732
|
+
}),
|
|
19733
|
+
object({
|
|
19734
|
+
resource: object({
|
|
19735
|
+
mimeType: string$1().optional(),
|
|
19736
|
+
text: string$1().optional(),
|
|
19737
|
+
uri: string$1()
|
|
19738
|
+
})
|
|
19739
|
+
.optional(),
|
|
19740
|
+
text: string$1().optional(),
|
|
19741
|
+
type: literal("resource")
|
|
19742
|
+
}),
|
|
19743
|
+
object({
|
|
19744
|
+
text: string$1(),
|
|
19745
|
+
type: literal("text")
|
|
19746
|
+
})
|
|
19747
|
+
]);
|
|
19748
|
+
object({
|
|
19749
|
+
content: array(MCPToolCallResultContentSchema),
|
|
19750
|
+
isError: boolean$1().optional()
|
|
19751
|
+
});
|
|
19752
|
+
|
|
19722
19753
|
const PERMISSIONS = {
|
|
19723
19754
|
"AI.MCPServers.List": {
|
|
19724
19755
|
description: "Ability to list all MCP servers in an account."
|
|
@@ -19785,6 +19816,13 @@ const ConnectedSourceMetaSchema = object({
|
|
|
19785
19816
|
unitCost: number$1(),
|
|
19786
19817
|
units: number$1()
|
|
19787
19818
|
});
|
|
19819
|
+
const ServerToolCallMetaSchema = object({
|
|
19820
|
+
chargeName: literal("server_tool_call"),
|
|
19821
|
+
endpointId: string$1().nullable(),
|
|
19822
|
+
requestId: string$1().nullable(),
|
|
19823
|
+
unitCost: number$1(),
|
|
19824
|
+
units: number$1()
|
|
19825
|
+
});
|
|
19788
19826
|
const TokenInputMetaSchema = object({
|
|
19789
19827
|
chargeName: literal("tokens_input"),
|
|
19790
19828
|
modelId: string$1().nullable(),
|
|
@@ -19799,10 +19837,21 @@ const TokenOutputMetaSchema = object({
|
|
|
19799
19837
|
unitCost: number$1(),
|
|
19800
19838
|
units: number$1()
|
|
19801
19839
|
});
|
|
19840
|
+
const ToolServiceCallMetaSchema = object({
|
|
19841
|
+
chargeName: literal("tool_service_call"),
|
|
19842
|
+
endpointId: string$1().nullable(),
|
|
19843
|
+
requestId: string$1().nullable(),
|
|
19844
|
+
toolName: string$1().nullable(),
|
|
19845
|
+
toolServiceId: string$1().nullable(),
|
|
19846
|
+
unitCost: number$1(),
|
|
19847
|
+
units: number$1()
|
|
19848
|
+
});
|
|
19802
19849
|
discriminatedUnion("chargeName", [
|
|
19803
19850
|
ConnectedSourceMetaSchema,
|
|
19851
|
+
ServerToolCallMetaSchema,
|
|
19804
19852
|
TokenInputMetaSchema,
|
|
19805
|
-
TokenOutputMetaSchema
|
|
19853
|
+
TokenOutputMetaSchema,
|
|
19854
|
+
ToolServiceCallMetaSchema
|
|
19806
19855
|
]);
|
|
19807
19856
|
|
|
19808
19857
|
function readEnvIntegerOptional({ defaultValue, name }) {
|