@pensar/apex 0.0.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 ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@pensar/apex",
3
+ "version": "0.0.1",
4
+ "description": "AI-powered penetration testing CLI tool with terminal UI",
5
+ "module": "src/tui/index.tsx",
6
+ "main": "build/index.js",
7
+ "type": "module",
8
+ "bin": {
9
+ "pensar": "./bin/pensar.js"
10
+ },
11
+ "files": [
12
+ "build",
13
+ "bin",
14
+ "pensar.svg",
15
+ "LICENSE"
16
+ ],
17
+ "scripts": {
18
+ "build": "bun build src/tui/index.tsx --outdir build --target node --format esm",
19
+ "dev": "bun run scripts/watch.ts",
20
+ "dev:debug": "SHOW_CONSOLE=true bun run scripts/watch.ts",
21
+ "start": "bun run src/tui/index.tsx",
22
+ "pensar": "node bin/pensar.js",
23
+ "benchmark": "bun run scripts/benchmark.ts",
24
+ "test": "vitest run",
25
+ "test:watch": "vitest",
26
+ "prepublishOnly": "npm run build"
27
+ },
28
+ "keywords": [
29
+ "penetration-testing",
30
+ "security",
31
+ "pentesting",
32
+ "ai",
33
+ "cli",
34
+ "terminal",
35
+ "tui"
36
+ ],
37
+ "author": "Pensar",
38
+ "license": "MIT",
39
+ "engines": {
40
+ "bun": ">=1.0.0"
41
+ },
42
+ "devDependencies": {
43
+ "@types/bun": "^1.3.0",
44
+ "dotenv": "^17.2.3",
45
+ "vitest": "^2.1.8"
46
+ },
47
+ "peerDependencies": {
48
+ "typescript": "^5.9.3"
49
+ },
50
+ "dependencies": {
51
+ "@ai-sdk/amazon-bedrock": "^3.0.34",
52
+ "@ai-sdk/anthropic": "^2.0.26",
53
+ "@ai-sdk/openai": "^2.0.48",
54
+ "@openrouter/ai-sdk-provider": "^1.2.0",
55
+ "@opentui/core": "0.1.26",
56
+ "@opentui/react": "0.1.26",
57
+ "ai": "^5.0.68",
58
+ "marked": "^16.4.0",
59
+ "react": "^19.2.0",
60
+ "sharp": "^0.34.4",
61
+ "zod": "^4.1.12"
62
+ },
63
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
64
+ }
package/pensar.svg ADDED
@@ -0,0 +1,10 @@
1
+ <svg width="188" height="190" viewBox="0 0 188 190" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_1_13139)">
3
+ <path d="M164.6 87.19C177.44 87.19 187.88 76.75 187.88 63.91V23.28C187.88 10.44 177.44 0 164.6 0H123.97C111.13 0 100.69 10.44 100.69 23.28V51.12H87.19V26.06C87.19 11.83 75.62 0.26 61.4 0.26H25.8C11.57 0.26 0 11.83 0 26.06V61.66C0 75.89 11.57 87.46 25.8 87.46H50.56V102.6H24.08C10.8 102.6 0 113.4 0 126.68V165.7C0 178.98 10.8 189.78 24.08 189.78H63.1C76.38 189.78 87.18 178.98 87.18 165.7V138.32H100.68V166.7C100.68 179.29 110.92 189.52 123.5 189.52H165.04C177.63 189.52 187.86 179.28 187.86 166.7V125.16C187.86 112.57 177.62 102.34 165.04 102.34H137.73V87.2H164.58L164.6 87.19ZM110.38 23.28C110.38 15.79 116.48 9.69 123.97 9.69H164.6C172.1 9.69 178.19 15.79 178.19 23.28V63.91C178.19 71.4 172.09 77.5 164.6 77.5H137.75V71.17C137.75 60.11 128.75 51.12 117.7 51.12H110.38V23.28ZM110.38 60.81H117.7C123.41 60.81 128.06 65.46 128.06 71.17V77.5H123.97C116.48 77.5 110.38 71.4 110.38 63.91V60.81ZM25.8 77.76C16.92 77.76 9.69 70.53 9.69 61.65V26.06C9.69 17.18 16.92 9.95 25.8 9.95H61.4C70.28 9.95 77.51 17.18 77.51 26.06V51.12H70.62C59.56 51.12 50.57 60.12 50.57 71.17V77.76H25.81H25.8ZM77.51 60.81V61.65C77.51 70.53 70.28 77.76 61.4 77.76H60.25V71.17C60.25 65.46 64.9 60.81 70.61 60.81H77.5H77.51ZM77.51 165.7C77.51 173.64 71.05 180.1 63.11 180.1H24.08C16.14 180.1 9.68 173.64 9.68 165.7V126.68C9.68 118.74 16.14 112.28 24.08 112.28H50.56V118.26C50.56 129.32 59.56 138.31 70.61 138.31H77.5V165.69L77.51 165.7ZM77.51 128.63H70.62C64.91 128.63 60.26 123.98 60.26 118.27V112.29H63.12C71.06 112.29 77.52 118.75 77.52 126.69V128.64L77.51 128.63ZM165.07 112.02C172.31 112.02 178.21 117.91 178.21 125.16V166.7C178.21 173.94 172.32 179.84 165.07 179.84H123.53C116.29 179.84 110.39 173.95 110.39 166.7V138.32H117.71C128.77 138.32 137.76 129.32 137.76 118.27V112.03H165.07V112.02ZM110.39 128.63V125.16C110.39 117.92 116.28 112.02 123.53 112.02H128.08V118.26C128.08 123.98 123.43 128.62 117.72 128.62H110.4L110.39 128.63ZM128.08 102.33H123.53C110.94 102.33 100.71 112.57 100.71 125.15V128.62H87.21V126.67C87.21 113.39 76.41 102.59 63.13 102.59H60.27V87.45H61.42C75.64 87.45 87.22 75.88 87.22 61.65V60.81H100.72V63.91C100.72 76.75 111.16 87.19 124 87.19H128.09V102.33H128.08Z" fill="#21C55D"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_1_13139">
7
+ <rect width="187.88" height="189.78" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>