@infersec/conduit 1.82.0 → 1.84.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 CHANGED
@@ -10,9 +10,10 @@ npx @infersec/conduit inference start --engine <type> --key <api-key> --source <
10
10
 
11
11
  ### Commands
12
12
 
13
- | Command | Description |
14
- | ----------------- | ------------------------- |
15
- | `inference start` | Start the inference agent |
13
+ | Command | Description |
14
+ | ----------------------- | --------------------------------------------------------- |
15
+ | `inference start` | Start the inference agent |
16
+ | `tool connect <toolID>` | Connect a local tool (e.g. `local-filesystem`) to the API |
16
17
 
17
18
  ### Flags
18
19
 
@@ -27,6 +28,16 @@ npx @infersec/conduit inference start --engine <type> --key <api-key> --source <
27
28
  | `--api-url` | No | `https://api.infersec.ai` | API base URL (matches `API_URL`). |
28
29
  | `--start-mode` | No | `auto` | Startup mode (matches `START_MODE`): `auto` starts engine, `idle` leaves conduit idle. |
29
30
 
31
+ #### `tool connect` flags
32
+
33
+ | Flag | Required | Default | Notes |
34
+ | ------------- | -------- | ------------------------- | ----------------------------------------------------------------------- |
35
+ | `<toolID>` | Yes | - | Tool ID to connect (matches `TOOL_ID`). |
36
+ | `--key` | Yes | - | API key (matches `API_KEY`). |
37
+ | `--path` | No | `.` (current dir) | Filesystem base path (matches `TOOL_PATH`). Paths are confined to this. |
38
+ | `--read-only` | No | `false` | Expose only read operations (matches `READ_ONLY`). |
39
+ | `--api-url` | No | `https://api.infersec.ai` | API base URL (matches `API_URL`). |
40
+
30
41
  ### Examples
31
42
 
32
43
  | Scenario | Command |
@@ -34,6 +45,8 @@ npx @infersec/conduit inference start --engine <type> --key <api-key> --source <
34
45
  | Required only | `npx @infersec/conduit inference start --engine vllm --key <api-key> --source <source-id>` |
35
46
  | Custom root/port | `npx @infersec/conduit inference start --engine vllm --key <api-key> --source <source-id> --root /data/infersec --port 9601` |
36
47
  | Custom engine/port | `npx @infersec/conduit inference start --engine vllm --key <api-key> --source <source-id> --port 9601 --engine-port 9701` |
48
+ | Connect FS tool | `npx @infersec/conduit tool connect <tool-id> --key <api-key> --path ./` |
49
+ | Read-only FS tool | `npx @infersec/conduit tool connect <tool-id> --key <api-key> --path ./ --read-only` |
37
50
 
38
51
  ## Environment variables
39
52
 
@@ -49,4 +62,14 @@ npx @infersec/conduit inference start --engine <type> --key <api-key> --source <
49
62
  | `ROOT_DIRECTORY` | No | `$HOME/.cache/infersec/iagent` | Root directory (matches `--root`). |
50
63
  | `START_MODE` | No | `auto` | Startup mode (matches `--start-mode`). |
51
64
 
65
+ ### `tool connect` environment variables
66
+
67
+ | Variable | Required | Default | Notes |
68
+ | ----------- | -------- | ------------------------- | ---------------------------------------------------- |
69
+ | `API_KEY` | Yes | - | API key (matches `--key`). |
70
+ | `TOOL_ID` | Yes | - | Tool ID to connect (matches `<toolID>` positional). |
71
+ | `TOOL_PATH` | No | `.` | Filesystem base path (matches `--path`). |
72
+ | `READ_ONLY` | No | `false` | Expose only read operations (matches `--read-only`). |
73
+ | `API_URL` | No | `https://api.infersec.ai` | API base URL (matches `--api-url`). |
74
+
52
75
  CLI flags override environment variables when both are provided.