@ycodium-ai/plugin-redteam-model 0.2.3927 → 0.2.3976
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/dist/index.js +4 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import { definePlugin } from "@ycodium-ai/plugin-api";
|
|
3
3
|
|
|
4
|
+
// ../../packages/plugin-api/src/version.ts
|
|
5
|
+
var PLUGIN_API_VERSION = 75;
|
|
6
|
+
|
|
4
7
|
// src/catalog.ts
|
|
5
8
|
var PLUGIN_ID = "redteam-model";
|
|
6
9
|
var PHASES = ["authorization", "scope", "evidence", "report"];
|
|
@@ -1018,7 +1021,7 @@ function createTools(host) {
|
|
|
1018
1021
|
// src/index.ts
|
|
1019
1022
|
var redteamModelPlugin = definePlugin({
|
|
1020
1023
|
id: "redteam-model",
|
|
1021
|
-
apiVersion:
|
|
1024
|
+
apiVersion: PLUGIN_API_VERSION,
|
|
1022
1025
|
activate(ctx) {
|
|
1023
1026
|
const runtime = openRuntime(ctx);
|
|
1024
1027
|
ctx.sessionProjections.register({ name: PROJECTION_NAME });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-redteam-model",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3976",
|
|
4
4
|
"description": "Deploys ten session modes, a gate rail, and a tool guard. The executor keeps the model connection.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"redteam-model",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"react": "19.2.6",
|
|
26
26
|
"typescript": "~6.0.3",
|
|
27
27
|
"vite-plus": "0.2.2",
|
|
28
|
-
"@ycodium
|
|
29
|
-
"@ycodium/
|
|
28
|
+
"@ycodium/contracts": "0.0.33",
|
|
29
|
+
"@ycodium-ai/plugin-api": "0.2.3976"
|
|
30
30
|
},
|
|
31
31
|
"ycodium": {
|
|
32
32
|
"plugin": "./dist/index.js",
|