Collapse the entire multi-file structure (bin/, lib/, prompts/) into one executable bash script at the repo root. Everything is inlined: frontmatter helpers, prompt strings, and the Claude stream-json progress display (now a function calling node --input-type=module). - plan-status is now `plan-refine status` subcommand - Remove dead Puppeteer/Brave CDP code (chatgpt-send.mjs, plan-refine-brave) — superseded by Codex CLI approach - Remove npm artifacts (package.json, package-lock.json) — sole dependency was puppeteer-core for the dead browser automation - Simplify install.sh to just symlink + prereq checks - Update .gitignore: node_modules/ -> *.feedback-*.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
458 B
Bash
Executable File
10 lines
458 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
mkdir -p ~/.local/bin
|
|
ln -sf "$SCRIPT_DIR/plan-refine" ~/.local/bin/plan-refine
|
|
echo "Linked: plan-refine -> ~/.local/bin/plan-refine"
|
|
[[ ":$PATH:" != *":$HOME/.local/bin:"* ]] && echo "NOTE: Add ~/.local/bin to your PATH"
|
|
command -v codex &>/dev/null || echo "NOTE: Install codex CLI (npm i -g @openai/codex)"
|
|
command -v claude &>/dev/null || echo "NOTE: Install claude CLI"
|