@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.
Files changed (2) hide show
  1. package/dist/cli.js +19 -1
  2. 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 }) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infersec/conduit",
3
3
  "description": "End user conduit agent for connecting local LLMs to the cloud.",
4
- "version": "1.50.0",
4
+ "version": "1.51.0",
5
5
  "bin": {
6
6
  "infersec-conduit": "./dist/cli.js"
7
7
  },