mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-16 01:56:10 +02:00
fix: stabilize opencode declarations across package managers
This commit is contained in:
parent
0f4f95b3de
commit
05acc27530
8 changed files with 31 additions and 15 deletions
|
|
@ -8,11 +8,11 @@
|
|||
* The regex patterns below are used to DETECT potential issues in user code.
|
||||
*/
|
||||
|
||||
import { tool } from "@opencode-ai/plugin/tool"
|
||||
import { tool, type ToolDefinition } from "@opencode-ai/plugin/tool"
|
||||
import * as path from "path"
|
||||
import * as fs from "fs"
|
||||
|
||||
export default tool({
|
||||
const securityAuditTool: ToolDefinition = tool({
|
||||
description:
|
||||
"Run a comprehensive security audit including dependency vulnerabilities, secret scanning, and common security issues.",
|
||||
args: {
|
||||
|
|
@ -106,6 +106,8 @@ export default tool({
|
|||
},
|
||||
})
|
||||
|
||||
export default securityAuditTool
|
||||
|
||||
interface AuditCheck {
|
||||
name: string
|
||||
description: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue