opencode-api-security-testing 5.4.0 → 5.4.1
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/package.json +1 -1
- package/src/index.ts +2 -2
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -467,7 +467,7 @@ To activate these agents, simply mention their name in your response (e.g., "@ap
|
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
async function execShell(
|
|
470
|
+
async function execShell(_ctx: unknown, cmd: string): Promise<string> {
|
|
471
471
|
try {
|
|
472
472
|
const { stdout, stderr } = await execAsync(cmd, {
|
|
473
473
|
maxBuffer: 1024 * 1024 * 10, // 10MB buffer
|
|
@@ -513,7 +513,7 @@ const ApiSecurityTestingPlugin: Plugin = async (ctx) => {
|
|
|
513
513
|
taskManager.init(ctx.directory, ctx.client);
|
|
514
514
|
taskManager.cleanupOldTasks(); // 清理过期任务
|
|
515
515
|
|
|
516
|
-
console.log(`[api-security-testing] Plugin loaded v5.4.
|
|
516
|
+
console.log(`[api-security-testing] Plugin loaded v5.4.1 - collection_mode: ${config.collection_mode}`);
|
|
517
517
|
console.log(`[api-security-testing] Task persistence enabled at ${join(ctx.directory, TASKS_DIR)}`);
|
|
518
518
|
|
|
519
519
|
return {
|