cyberaudit-skill 3.1.1 → 3.1.3
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/cli.js +9 -3
- package/package.json +1 -1
- /package/skills/cyberaudit/commands/{audit:api.md → audit-api.md} +0 -0
- /package/skills/cyberaudit/commands/{audit:help.md → audit-help.md} +0 -0
- /package/skills/cyberaudit/commands/{audit:mobile.md → audit-mobile.md} +0 -0
- /package/skills/cyberaudit/commands/{audit:quick.md → audit-quick.md} +0 -0
- /package/skills/cyberaudit/commands/{audit:report.md → audit-report.md} +0 -0
- /package/skills/cyberaudit/commands/{audit:web.md → audit-web.md} +0 -0
package/dist/cli.js
CHANGED
|
@@ -7,6 +7,7 @@ import { join, dirname } from "path";
|
|
|
7
7
|
import { fileURLToPath } from "url";
|
|
8
8
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
9
9
|
const PKG_ROOT = join(__dirname, "..");
|
|
10
|
+
const PKG = JSON.parse(readFileSync(join(PKG_ROOT, "package.json"), "utf-8"));
|
|
10
11
|
const SKILL_SRC = join(PKG_ROOT, "skills", "cyberaudit");
|
|
11
12
|
const AGENT_TARGETS = {
|
|
12
13
|
"opencode": [join(homedir(), ".agents", "skills", "cyberaudit")],
|
|
@@ -50,15 +51,20 @@ function installSkill(targetDir, agent, dryRun) {
|
|
|
50
51
|
mkdirSync(targetDir, { recursive: true });
|
|
51
52
|
cpSync(SKILL_SRC, targetDir, { recursive: true });
|
|
52
53
|
console.log(` ✓ Installed at ${targetDir}`);
|
|
53
|
-
// Install command files for opencode
|
|
54
|
+
// Install command + skill files for opencode
|
|
54
55
|
if (agent === "opencode") {
|
|
55
|
-
const
|
|
56
|
+
const opencodeConf = join(homedir(), ".config", "opencode");
|
|
57
|
+
const cmdDir = join(opencodeConf, "commands");
|
|
56
58
|
const cmdSrc = join(PKG_ROOT, "skills", "cyberaudit", "commands");
|
|
57
59
|
if (existsSync(cmdSrc)) {
|
|
58
60
|
mkdirSync(cmdDir, { recursive: true });
|
|
59
61
|
cpSync(cmdSrc, cmdDir, { recursive: true });
|
|
60
62
|
console.log(` ✓ Commands installed to opencode`);
|
|
61
63
|
}
|
|
64
|
+
const skillDir = join(opencodeConf, "skills", "cyberaudit");
|
|
65
|
+
mkdirSync(skillDir, { recursive: true });
|
|
66
|
+
cpSync(SKILL_SRC, skillDir, { recursive: true });
|
|
67
|
+
console.log(` ✓ Skill installed to opencode`);
|
|
62
68
|
}
|
|
63
69
|
return true;
|
|
64
70
|
}
|
|
@@ -107,7 +113,7 @@ async function main() {
|
|
|
107
113
|
program
|
|
108
114
|
.name("cyberaudit-skill")
|
|
109
115
|
.description("CyberAudit Skill — universal security audit skill for AI agents")
|
|
110
|
-
.version(
|
|
116
|
+
.version(PKG.version);
|
|
111
117
|
program
|
|
112
118
|
.command("install")
|
|
113
119
|
.description("Install CyberAudit Skill for AI agent(s)")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cyberaudit-skill",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "Universal security audit skill for AI agents. Install once, audit any web or mobile app. OpenCode, Claude Code, Cursor, Kiro, Gemini — all supported.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|