@pensar/apex 0.0.40-canary.8d72f2a7 → 0.0.40-canary.e45f0453

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.
@@ -0,0 +1,27 @@
1
+ ; Query from: https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/markdown/injections.scm
2
+ (fenced_code_block
3
+ (info_string
4
+ (language) @_lang)
5
+ (code_fence_content) @injection.content
6
+ (#set-lang-from-info-string! @_lang))
7
+
8
+ ((html_block) @injection.content
9
+ (#set! injection.language "html")
10
+ (#set! injection.combined)
11
+ (#set! injection.include-children))
12
+
13
+ ((minus_metadata) @injection.content
14
+ (#set! injection.language "yaml")
15
+ (#offset! @injection.content 1 0 -1 0)
16
+ (#set! injection.include-children))
17
+
18
+ ((plus_metadata) @injection.content
19
+ (#set! injection.language "toml")
20
+ (#offset! @injection.content 1 0 -1 0)
21
+ (#set! injection.include-children))
22
+
23
+ ([
24
+ (inline)
25
+ (pipe_table_cell)
26
+ ] @injection.content
27
+ (#set! injection.language "markdown_inline"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pensar/apex",
3
- "version": "0.0.40-canary.8d72f2a7",
3
+ "version": "0.0.40-canary.e45f0453",
4
4
  "description": "AI-powered penetration testing CLI tool with terminal UI",
5
5
  "module": "src/tui/index.tsx",
6
6
  "main": "build/index.js",
@@ -19,7 +19,7 @@
19
19
  "LICENSE"
20
20
  ],
21
21
  "scripts": {
22
- "build": "bun build src/tui/index.tsx --outdir build --target node --format esm --external sharp && bun build scripts/benchmark.ts --outdir build --target node --format esm --external sharp && bun build scripts/quicktest.ts --outdir build --target node --format esm --external sharp && bun build scripts/pentest.ts --outdir build --target node --format esm --external sharp && bun build scripts/swarm.ts --outdir build --target node --format esm --external sharp",
22
+ "build": "bun build src/tui/index.tsx --outdir build --target node --format esm --external sharp",
23
23
  "generate:ascii": "bun run scripts/generate-ascii-art.ts",
24
24
  "build:binary": "bun run generate:ascii && bun build src/cli.ts --compile --outfile pensar",
25
25
  "build:binary:macos-arm64": "bun build src/cli.ts --compile --target=bun-darwin-arm64 --outfile dist/pensar-darwin-arm64",
@@ -31,10 +31,8 @@
31
31
  "dev:debug": "SHOW_CONSOLE=true bun run scripts/watch.ts",
32
32
  "start": "bun run src/tui/index.tsx",
33
33
  "pensar": "node bin/pensar.js",
34
- "benchmark": "bun run scripts/benchmark.ts",
35
- "quicktest": "bun run scripts/quicktest.ts",
36
- "pentest": "bun run scripts/pentest.ts",
37
- "swarm": "bun run scripts/swarm.ts",
34
+ "daytona-benchmark": "bun run scripts/daytona-benchmark.ts",
35
+ "local-benchmark": "bun run scripts/local-benchmark.ts",
38
36
  "test": "vitest run",
39
37
  "test:watch": "vitest",
40
38
  "prepublishOnly": "npm run build"
@@ -56,6 +54,7 @@
56
54
  },
57
55
  "devDependencies": {
58
56
  "@types/bun": "^1.3.0",
57
+ "@types/react": "^19.2.6",
59
58
  "dotenv": "^17.2.3",
60
59
  "vitest": "^2.1.8"
61
60
  },
@@ -66,16 +65,19 @@
66
65
  "@ai-sdk/amazon-bedrock": "^3.0.34",
67
66
  "@ai-sdk/anthropic": "^2.0.26",
68
67
  "@ai-sdk/openai": "^2.0.48",
68
+ "@browserbasehq/stagehand": "^3.0.5",
69
69
  "@daytonaio/sdk": "^0.112.1",
70
70
  "@openrouter/ai-sdk-provider": "^1.2.0",
71
- "@opentui/core": "0.1.26",
72
- "@opentui/react": "0.1.26",
71
+ "@opentui/core": "0.1.49",
72
+ "@opentui/react": "0.1.49",
73
73
  "ai": "^5.0.68",
74
+ "glob": "^13.0.0",
74
75
  "marked": "^16.4.0",
75
76
  "nanoid": "^5.1.6",
76
77
  "p-limit": "^7.2.0",
77
78
  "react": "^19.2.0",
78
79
  "sharp": "^0.34.4",
80
+ "yaml": "^2.8.2",
79
81
  "zod": "^4.1.12"
80
82
  },
81
83
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"