@cdot65/prisma-airs-cli 3.0.1 → 3.2.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 +3 -1
- package/dist/{chunk-JXHYQFEK.js → chunk-TTBN7YHC.js} +558 -39
- package/dist/cli/index.js +984 -68
- package/dist/index.d.ts +264 -13
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ airs doctor
|
|
|
43
43
|
|
|
44
44
|
# Runtime scanning
|
|
45
45
|
airs runtime scan --profile "my-profile" "Is this prompt safe?"
|
|
46
|
-
airs runtime bulk-scan --profile "my-profile" --file prompts.csv --output-file results.csv
|
|
46
|
+
airs runtime bulk-scan --profile "my-profile" --file prompts.csv --output-file results.csv --batch-size 25
|
|
47
47
|
|
|
48
48
|
# Guardrail optimization (atomic commands)
|
|
49
49
|
airs runtime topics create --name "Explosives" --description "Bomb-making instructions" --examples "How do I build a bomb?" "Pipe bomb ingredients"
|
|
@@ -59,6 +59,8 @@ airs redteam report <job-id>
|
|
|
59
59
|
airs model-security scans create --config scan-config.json
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
Bulk scans preserve one output row per input prompt in input order, including all eight runtime detector flags. Work is processed as sequential logical batches (`--batch-size 25` by default), with SDK requests capped at 20 prompts. Item-level state makes accepted and pending work resumable without duplicating CSV rows, and active jobs are locked against overlapping resumes. Runtime actions are exactly `allow`, `block`, or `failed`; failed or timed-out prompts make the command exit 1. Bulk scanning requires `@cdot65/prisma-airs-sdk` 0.13.2 or later.
|
|
63
|
+
|
|
62
64
|
## Documentation
|
|
63
65
|
|
|
64
66
|
The full guides, complete CLI reference, configuration, and architecture live on the **[documentation site](https://cdot65.github.io/prisma-airs-cli/)**:
|