@infersec/conduit 1.42.3 → 1.43.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/README.md +12 -6
- package/dist/cli.js +124783 -118
- package/dist/commands/inference.d.ts +6 -0
- package/package.json +5 -5
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -65
- package/dist/start-DvCDrX-V.js +0 -120618
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infersec/conduit",
|
|
3
3
|
"description": "End user conduit agent for connecting local LLMs to the cloud.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.43.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"infersec-conduit": "./dist/cli.js"
|
|
7
7
|
},
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"default": "./dist/
|
|
11
|
-
"types": "./dist/index.d.ts"
|
|
10
|
+
"default": "./dist/cli.js"
|
|
12
11
|
}
|
|
13
12
|
},
|
|
14
13
|
"files": [
|
|
@@ -22,7 +21,7 @@
|
|
|
22
21
|
"clean": "rm -rf ./dist",
|
|
23
22
|
"format": "prettier --write .",
|
|
24
23
|
"prepublishOnly": "npm run build",
|
|
25
|
-
"start": "npm run build && node ./dist/
|
|
24
|
+
"start": "npm run build && node ./dist/cli.js inference start",
|
|
26
25
|
"test": "npm run test:types && npm run test:lint && npm run test:format && npm run test:unit",
|
|
27
26
|
"test:format": "prettier --check .",
|
|
28
27
|
"test:lint": "eslint source/**/*.ts",
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
"publishConfig": {
|
|
34
33
|
"access": "public"
|
|
35
34
|
},
|
|
36
|
-
"types": "./dist/
|
|
35
|
+
"types": "./dist/cli.d.ts",
|
|
37
36
|
"devDependencies": {
|
|
38
37
|
"@infersec/definitions": "*",
|
|
39
38
|
"@infersec/fetch": "*",
|
|
@@ -55,6 +54,7 @@
|
|
|
55
54
|
"dependencies": {
|
|
56
55
|
"@huggingface/hub": "^2.5.2",
|
|
57
56
|
"argon2": "^0.31.2",
|
|
57
|
+
"commander": "^13.1.0",
|
|
58
58
|
"eventemitter3": "^5.0.1",
|
|
59
59
|
"execa": "^9.6.0",
|
|
60
60
|
"express": "^4.21.2",
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/index.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __pathDirname } from 'node:path';
|
|
4
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
5
|
-
const __dirname = __pathDirname(__filename);
|
|
6
|
-
|
|
7
|
-
import 'node:crypto';
|
|
8
|
-
import { s as startInferenceAgent, a as asError } from './start-DvCDrX-V.js';
|
|
9
|
-
import 'argon2';
|
|
10
|
-
import 'node:child_process';
|
|
11
|
-
import 'node:stream';
|
|
12
|
-
import 'node:dns';
|
|
13
|
-
import 'os';
|
|
14
|
-
import 'fs';
|
|
15
|
-
import 'util';
|
|
16
|
-
import 'assert';
|
|
17
|
-
import 'events';
|
|
18
|
-
import 'stream';
|
|
19
|
-
import 'node:assert';
|
|
20
|
-
import 'node:net';
|
|
21
|
-
import 'node:http';
|
|
22
|
-
import 'node:querystring';
|
|
23
|
-
import 'node:events';
|
|
24
|
-
import 'node:diagnostics_channel';
|
|
25
|
-
import 'node:util';
|
|
26
|
-
import 'node:tls';
|
|
27
|
-
import 'node:buffer';
|
|
28
|
-
import 'node:zlib';
|
|
29
|
-
import 'node:perf_hooks';
|
|
30
|
-
import 'node:util/types';
|
|
31
|
-
import 'node:sqlite';
|
|
32
|
-
import 'node:worker_threads';
|
|
33
|
-
import 'node:async_hooks';
|
|
34
|
-
import 'node:console';
|
|
35
|
-
import 'node:fs/promises';
|
|
36
|
-
import 'node:path';
|
|
37
|
-
import 'node:timers';
|
|
38
|
-
import 'path';
|
|
39
|
-
import 'tty';
|
|
40
|
-
import 'net';
|
|
41
|
-
import 'zlib';
|
|
42
|
-
import 'buffer';
|
|
43
|
-
import 'string_decoder';
|
|
44
|
-
import 'querystring';
|
|
45
|
-
import 'url';
|
|
46
|
-
import 'http';
|
|
47
|
-
import 'crypto';
|
|
48
|
-
import 'node:fs';
|
|
49
|
-
import 'node:stream/promises';
|
|
50
|
-
import 'fs/promises';
|
|
51
|
-
import 'stream/promises';
|
|
52
|
-
import 'node:url';
|
|
53
|
-
import 'node:string_decoder';
|
|
54
|
-
import 'node:os';
|
|
55
|
-
import 'node:process';
|
|
56
|
-
import 'node:tty';
|
|
57
|
-
import 'child_process';
|
|
58
|
-
import 'node:timers/promises';
|
|
59
|
-
import 'node:v8';
|
|
60
|
-
import 'systeminformation';
|
|
61
|
-
|
|
62
|
-
startInferenceAgent({}).catch(err => {
|
|
63
|
-
console.error(asError(err));
|
|
64
|
-
process.exit(1);
|
|
65
|
-
});
|