@panguard-ai/panguard 0.1.1 → 0.2.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/dist/cli/commands/admin.d.ts +9 -0
- package/dist/cli/commands/chat.d.ts +7 -0
- package/dist/cli/commands/demo.d.ts +7 -0
- package/dist/cli/commands/guard.d.ts +7 -0
- package/dist/cli/commands/report.d.ts +7 -0
- package/dist/cli/commands/scan.d.ts +7 -0
- package/dist/cli/commands/serve.d.ts +8 -0
- package/dist/cli/commands/threat.d.ts +7 -0
- package/dist/cli/commands/trap.d.ts +7 -0
- package/package.json +12 -10
- package/scripts/postinstall.mjs +35 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* panguard admin - Admin management commands
|
|
3
|
+
*
|
|
4
|
+
* panguard admin init Create initial admin account
|
|
5
|
+
* panguard admin create-user Create a user with specified tier
|
|
6
|
+
*/
|
|
7
|
+
import { Command } from 'commander';
|
|
8
|
+
export declare function adminCommand(): Command;
|
|
9
|
+
//# sourceMappingURL=admin.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panguard-ai/panguard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Panguard AI - Unified security CLI",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -13,20 +13,21 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
16
|
+
"scripts",
|
|
16
17
|
"package.json",
|
|
17
18
|
"README.md"
|
|
18
19
|
],
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"commander": "^12.0.0",
|
|
21
|
-
"@panguard-ai/core": "0.
|
|
22
|
-
"@panguard-ai/panguard-
|
|
23
|
-
"@panguard-ai/panguard-scan": "0.
|
|
24
|
-
"@panguard-ai/panguard-
|
|
25
|
-
"@panguard-ai/panguard-
|
|
26
|
-
"@panguard-ai/panguard-trap": "0.
|
|
27
|
-
"@panguard-ai/
|
|
22
|
+
"@panguard-ai/core": "0.2.0",
|
|
23
|
+
"@panguard-ai/panguard-guard": "0.2.0",
|
|
24
|
+
"@panguard-ai/panguard-scan": "0.2.0",
|
|
25
|
+
"@panguard-ai/panguard-report": "0.2.0",
|
|
26
|
+
"@panguard-ai/panguard-chat": "0.2.0",
|
|
27
|
+
"@panguard-ai/panguard-trap": "0.2.0",
|
|
28
|
+
"@panguard-ai/threat-cloud": "0.2.0",
|
|
28
29
|
"@panguard-ai/security-hardening": "0.1.1",
|
|
29
|
-
"@panguard-ai/
|
|
30
|
+
"@panguard-ai/panguard-auth": "0.2.0"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@types/node": "^22.14.0",
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
"build": "tsc --build",
|
|
37
38
|
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
38
39
|
"typecheck": "tsc --noEmit",
|
|
39
|
-
"dev": "tsc --build --watch"
|
|
40
|
+
"dev": "tsc --build --watch",
|
|
41
|
+
"postinstall": "node scripts/postinstall.mjs"
|
|
40
42
|
}
|
|
41
43
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Post-install welcome message for Panguard AI CLI.
|
|
4
|
+
* Shows a branded banner so users know installation succeeded.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const RESET = '\x1b[0m';
|
|
8
|
+
const BOLD = '\x1b[1m';
|
|
9
|
+
const DIM = '\x1b[2m';
|
|
10
|
+
const GREEN = '\x1b[32m';
|
|
11
|
+
const CYAN = '\x1b[36m';
|
|
12
|
+
const WHITE = '\x1b[37m';
|
|
13
|
+
|
|
14
|
+
const version = process.env.npm_package_version || '0.2.0';
|
|
15
|
+
|
|
16
|
+
const banner = `
|
|
17
|
+
${GREEN}${BOLD} ____ _ _ _${RESET}
|
|
18
|
+
${GREEN}${BOLD} | _ \\ __ _ _ __ __ _ _ _ __ _ _ __ __| | / \\ |_|${RESET}
|
|
19
|
+
${GREEN}${BOLD} | |_) / _\` | '_ \\ / _\` | | | |/ _\` | '__/ _\` | / _ \\ | |${RESET}
|
|
20
|
+
${GREEN}${BOLD} | __/ (_| | | | | (_| | |_| | (_| | | | (_| | / ___ \\ | |${RESET}
|
|
21
|
+
${GREEN}${BOLD} |_| \\__,_|_| |_|\\__, |\\__,_|\\__,_|_| \\__,_|/_/ \\_\\|_|${RESET}
|
|
22
|
+
${GREEN}${BOLD} |___/${RESET}
|
|
23
|
+
${DIM} AI-Powered Endpoint Security ${WHITE}v${version}${RESET}
|
|
24
|
+
|
|
25
|
+
${BOLD} Installation complete.${RESET} Get started:
|
|
26
|
+
|
|
27
|
+
${CYAN} panguard scan${RESET} ${DIM}Run a security scan on this machine${RESET}
|
|
28
|
+
${CYAN} panguard guard start${RESET} ${DIM}Start real-time threat monitoring${RESET}
|
|
29
|
+
${CYAN} panguard login${RESET} ${DIM}Log in to your Panguard account${RESET}
|
|
30
|
+
${CYAN} panguard --help${RESET} ${DIM}Show all available commands${RESET}
|
|
31
|
+
|
|
32
|
+
${DIM} Docs: https://panguard.ai/docs/getting-started${RESET}
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
console.log(banner);
|