mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
3391d071a4
* Add SSH remote session support with fixed port - Auto-detect SSH sessions via SSH_TTY/SSH_CONNECTION env vars - Use fixed port 19432 over SSH for predictable port forwarding - Add PLANNOTATOR_PORT env var for custom port configuration - Add retry loop (5 attempts) for port conflicts - Print SSH config hint when running remotely - Skip browser auto-open in SSH sessions * integration test for ssh --------- Co-authored-by: Michael Ramos <mdramos8@gmail.com>
9 lines
362 B
Bash
9 lines
362 B
Bash
#!/bin/bash
|
|
# Test script to simulate Plannotator running over SSH
|
|
|
|
# Sample plan JSON input
|
|
PLAN_JSON='{"tool_input":{"plan":"# Test Plan\n\n## Overview\nThis is a test plan for SSH remote support.\n\n## Steps\n1. Do something\n2. Do something else\n3. Profit"}}'
|
|
|
|
# Run plannotator with the test plan
|
|
echo "$PLAN_JSON" | bun run /app/apps/hook/server/index.ts
|