@infersec/conduit 1.59.0 → 1.60.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.
@@ -0,0 +1,6 @@
1
+ import { Command } from "commander";
2
+ interface BenchmarkCommandContext {
3
+ program: Command;
4
+ }
5
+ export declare function registerBenchmarkCommands({ program }: BenchmarkCommandContext): void;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Command } from "commander";
2
+ interface ModelsCommandContext {
3
+ program: Command;
4
+ }
5
+ export declare function registerModelsCommands({ program }: ModelsCommandContext): void;
6
+ export {};
@@ -84,7 +84,7 @@ export declare function createPostChatCompletionsHandler(options: {
84
84
  type: "image_url";
85
85
  image_url: {
86
86
  url: string;
87
- detail?: "auto" | "low" | "high" | undefined;
87
+ detail?: "auto" | "high" | "low" | undefined;
88
88
  };
89
89
  })[];
90
90
  name?: string | undefined;
package/dist/start.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ConfigurationOverrides } from "./configuration.js";
1
+ import { type ConfigurationOverrides } from "./configuration.js";
2
2
  export declare function startInferenceAgent({ configurationOverrides }: {
3
3
  configurationOverrides?: ConfigurationOverrides;
4
4
  }): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function allocatePort(): Promise<number>;
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.59.0",
4
+ "version": "1.60.0",
5
5
  "bin": {
6
6
  "infersec-conduit": "./dist/cli.js"
7
7
  },
@@ -46,6 +46,7 @@
46
46
  "@rollup/plugin-json": "^6.1.0",
47
47
  "@rollup/plugin-node-resolve": "^16.0.1",
48
48
  "@rollup/plugin-typescript": "^12.1.4",
49
+ "@types/dockerode": "^3.3.38",
49
50
  "@types/express": "^4.17.23",
50
51
  "@types/supertest": "^6.0.3",
51
52
  "@vitest/coverage-v8": "^3.0.5",
@@ -57,6 +58,7 @@
57
58
  "@huggingface/hub": "^2.5.2",
58
59
  "argon2": "^0.31.2",
59
60
  "commander": "^13.1.0",
61
+ "dockerode": "^4.0.6",
60
62
  "eventemitter3": "^5.0.1",
61
63
  "execa": "^9.6.0",
62
64
  "express": "^4.21.2",