@seclai/cli 1.0.1 → 1.0.2
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 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm i -g @seclai/cli
|
|
|
14
14
|
|
|
15
15
|
Command reference (latest):
|
|
16
16
|
|
|
17
|
-
https://seclai.github.io/seclai-cli/1.0.
|
|
17
|
+
https://seclai.github.io/seclai-cli/1.0.2/
|
|
18
18
|
|
|
19
19
|
## Authentication
|
|
20
20
|
|
|
@@ -57,6 +57,17 @@ seclai agents run 6b9e2a1c-4d5f-4a7b-9c0d-1e2f3a4b5c6d --json-file ./run.json
|
|
|
57
57
|
cat ./run.json | seclai agents run 6b9e2a1c-4d5f-4a7b-9c0d-1e2f3a4b5c6d --json-file -
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
Run an agent via SSE streaming (waits until the final result or timeout):
|
|
61
|
+
|
|
62
|
+
This command exits successfully when the stream emits the final `done` event; it fails if the stream ends early or the timeout is reached.
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
seclai agents run 6b9e2a1c-4d5f-4a7b-9c0d-1e2f3a4b5c6d \
|
|
66
|
+
--json '{"input":"Hello from streaming"}' \
|
|
67
|
+
--stream \
|
|
68
|
+
--timeout-ms 60000
|
|
69
|
+
```
|
|
70
|
+
|
|
60
71
|
List runs:
|
|
61
72
|
|
|
62
73
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seclai/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Seclai Command Line Interface",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@seclai/sdk": "^1.0.
|
|
29
|
+
"@seclai/sdk": "^1.0.3",
|
|
30
30
|
"commander": "^13.1.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|