@infersec/conduit 1.50.0 → 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 +19 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19816,6 +19816,13 @@ const ConnectedSourceMetaSchema = object({
|
|
|
19816
19816
|
unitCost: number$1(),
|
|
19817
19817
|
units: number$1()
|
|
19818
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
|
+
});
|
|
19819
19826
|
const TokenInputMetaSchema = object({
|
|
19820
19827
|
chargeName: literal("tokens_input"),
|
|
19821
19828
|
modelId: string$1().nullable(),
|
|
@@ -19830,10 +19837,21 @@ const TokenOutputMetaSchema = object({
|
|
|
19830
19837
|
unitCost: number$1(),
|
|
19831
19838
|
units: number$1()
|
|
19832
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
|
+
});
|
|
19833
19849
|
discriminatedUnion("chargeName", [
|
|
19834
19850
|
ConnectedSourceMetaSchema,
|
|
19851
|
+
ServerToolCallMetaSchema,
|
|
19835
19852
|
TokenInputMetaSchema,
|
|
19836
|
-
TokenOutputMetaSchema
|
|
19853
|
+
TokenOutputMetaSchema,
|
|
19854
|
+
ToolServiceCallMetaSchema
|
|
19837
19855
|
]);
|
|
19838
19856
|
|
|
19839
19857
|
function readEnvIntegerOptional({ defaultValue, name }) {
|