@phenixstar/talon 1.0.3 → 1.2.0
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/.env.example +12 -4
- package/Dockerfile +13 -2
- package/README.md +28 -0
- package/bin/talon.js +4 -0
- package/configs/model-routing.yaml +75 -4
- package/dist/cli/dependency-checker.d.ts.map +1 -1
- package/dist/cli/dependency-checker.js +43 -1
- package/dist/cli/dependency-checker.js.map +1 -1
- package/dist/cli/doctor.js +18 -1
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/setup.js +83 -5
- package/dist/cli/setup.js.map +1 -1
- package/docker-compose.yml +15 -0
- package/package.json +7 -1
- package/prompts/internal-recon.txt +113 -0
- package/prompts/internal-vuln-auth.txt +110 -0
- package/prompts/internal-vuln-authz.txt +137 -0
- package/prompts/internal-vuln-injection.txt +119 -0
- package/prompts/internal-vuln-ssrf.txt +117 -0
- package/prompts/shared/_auth-context.txt +6 -0
- package/talon +23 -2
package/talon
CHANGED
|
@@ -77,6 +77,8 @@ Usage:
|
|
|
77
77
|
./talon start URL=<url> REPO=<name> Start a pentest workflow
|
|
78
78
|
./talon benchmark TARGET=<name> Run benchmark and compute F1 metrics
|
|
79
79
|
./talon evolve GENERATIONS=<n> Run N evolution generations on gene pool
|
|
80
|
+
./talon tui <workflow-id> Live TUI dashboard for a running workflow
|
|
81
|
+
./talon tui --list List workspaces in TUI
|
|
80
82
|
./talon workspaces List all workspaces
|
|
81
83
|
./talon logs ID=<workflow-id> Tail logs for a specific workflow
|
|
82
84
|
./talon stop Stop all containers
|
|
@@ -180,9 +182,12 @@ cmd_start() {
|
|
|
180
182
|
# Resolve all host paths for Docker mounts
|
|
181
183
|
resolve_talon_paths
|
|
182
184
|
|
|
183
|
-
# Check for API key (Bedrock
|
|
185
|
+
# Check for API key (Bedrock, Vertex, router, and custom base URL modes can bypass this)
|
|
184
186
|
if [ -z "$ANTHROPIC_API_KEY" ] && [ -z "$CLAUDE_CODE_OAUTH_TOKEN" ]; then
|
|
185
|
-
if [ "$
|
|
187
|
+
if [ -n "$ANTHROPIC_BASE_URL" ] && [ -n "$ANTHROPIC_AUTH_TOKEN" ]; then
|
|
188
|
+
# Custom base URL mode — use auth token as API key for SDK initialization
|
|
189
|
+
echo "Using custom base URL: $ANTHROPIC_BASE_URL"
|
|
190
|
+
elif [ "$CLAUDE_CODE_USE_BEDROCK" = "1" ]; then
|
|
186
191
|
# Bedrock mode — validate required AWS credentials
|
|
187
192
|
MISSING=""
|
|
188
193
|
[ -z "$AWS_REGION" ] && MISSING="$MISSING AWS_REGION"
|
|
@@ -464,6 +469,18 @@ cmd_repo() {
|
|
|
464
469
|
node dist/cli/repo-commands.js "$@"
|
|
465
470
|
}
|
|
466
471
|
|
|
472
|
+
cmd_tui() {
|
|
473
|
+
if ! command -v node &>/dev/null; then
|
|
474
|
+
echo "Node.js is required for TUI. Install: https://nodejs.org/en/download"
|
|
475
|
+
exit 1
|
|
476
|
+
fi
|
|
477
|
+
if [ ! -f "dist/tui/tui-entry.js" ]; then
|
|
478
|
+
echo "Building Talon..."
|
|
479
|
+
npm install --silent && npm run build
|
|
480
|
+
fi
|
|
481
|
+
node dist/tui/tui-entry.js "$@"
|
|
482
|
+
}
|
|
483
|
+
|
|
467
484
|
cmd_stop() {
|
|
468
485
|
parse_args "$@"
|
|
469
486
|
|
|
@@ -504,6 +521,10 @@ case "${1:-help}" in
|
|
|
504
521
|
shift
|
|
505
522
|
cmd_evolve "$@"
|
|
506
523
|
;;
|
|
524
|
+
tui)
|
|
525
|
+
shift
|
|
526
|
+
cmd_tui "$@"
|
|
527
|
+
;;
|
|
507
528
|
workspaces)
|
|
508
529
|
shift
|
|
509
530
|
cmd_workspaces
|