@ycodium-ai/plugin-pentest 0.2.3122 → 0.2.3130
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 +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -977,7 +977,7 @@ function submitFrom(args) {
|
|
|
977
977
|
// src/index.ts
|
|
978
978
|
var pentestPlugin = definePlugin({
|
|
979
979
|
id: "pentest",
|
|
980
|
-
apiVersion:
|
|
980
|
+
apiVersion: 14,
|
|
981
981
|
activate(ctx) {
|
|
982
982
|
const store = createStore(ctx.paths.dataDir);
|
|
983
983
|
ctx.sessionProjections.register({ name: GRAPH_PROJECTION });
|
|
@@ -1106,12 +1106,12 @@ async function publish(ctx, store, threadId) {
|
|
|
1106
1106
|
const engagement = await store.read(threadId);
|
|
1107
1107
|
const prefs = await store.prefs();
|
|
1108
1108
|
const mounted = engagement.goal !== null;
|
|
1109
|
-
await ctx.sessionProjections.set({
|
|
1109
|
+
await ctx.plugins.sessionProjections.set({
|
|
1110
1110
|
name: MOUNTED_PROJECTION,
|
|
1111
1111
|
threadId,
|
|
1112
1112
|
value: mounted
|
|
1113
1113
|
});
|
|
1114
|
-
await ctx.sessionProjections.set({
|
|
1114
|
+
await ctx.plugins.sessionProjections.set({
|
|
1115
1115
|
name: GRAPH_PROJECTION,
|
|
1116
1116
|
threadId,
|
|
1117
1117
|
value: mounted ? jsonValue(windowOf(engagement, prefs.windowLimit)) : null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-pentest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3130",
|
|
4
4
|
"description": "Records an assessment graph on a session: goal, intents, evidence, assets, and findings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sessions",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"react": "19.2.6",
|
|
25
25
|
"typescript": "~6.0.3",
|
|
26
26
|
"vite-plus": "0.2.2",
|
|
27
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
27
|
+
"@ycodium-ai/plugin-api": "0.2.3130"
|
|
28
28
|
},
|
|
29
29
|
"ycodium": {
|
|
30
30
|
"plugin": "./dist/index.js",
|