@molecule/api-ai-moderation-pipeline 1.0.5 → 1.0.6
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 +2 -4
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-
|
|
6
|
+
Generated: 2026-11-25T20:13:19.676Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-ai-moderation-pipeline
|
|
@@ -38,7 +38,7 @@ if (decision.action === 'flag') void notifyMods(decision)
|
|
|
38
38
|
## Installation
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
npm install @molecule/api-ai-moderation-pipeline @molecule/api-ai @molecule/api-
|
|
41
|
+
npm install @molecule/api-ai-moderation-pipeline @molecule/api-ai @molecule/api-database @molecule/api-i18n @molecule/api-logger @molecule/api-middleware-validation
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## API
|
|
@@ -250,7 +250,6 @@ const DEFAULT_POLICY: ModerationPolicy
|
|
|
250
250
|
|
|
251
251
|
Peer dependencies:
|
|
252
252
|
|
|
253
|
-
- `@molecule/api-bonds-default-express` ^1.0.1
|
|
254
253
|
- `@molecule/api-database` ^1.0.1
|
|
255
254
|
- `@molecule/api-i18n` ^1.0.1
|
|
256
255
|
- `@molecule/api-logger` ^1.0.1
|
|
@@ -260,7 +259,6 @@ Peer dependencies:
|
|
|
260
259
|
### Runtime Dependencies
|
|
261
260
|
|
|
262
261
|
- `@molecule/api-ai`
|
|
263
|
-
- `@molecule/api-bonds-default-express`
|
|
264
262
|
- `@molecule/api-database`
|
|
265
263
|
- `@molecule/api-i18n`
|
|
266
264
|
- `@molecule/api-logger`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-ai-moderation-pipeline",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Classify + policy match + action + audit log",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/api-ai-moderation-pipeline",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"vitest": "4.1.12"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@molecule/api-bonds-default-express": "^1.0.1",
|
|
47
46
|
"@molecule/api-database": "^1.0.1",
|
|
48
47
|
"@molecule/api-i18n": "^1.0.1",
|
|
49
48
|
"@molecule/api-logger": "^1.0.1",
|