
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
TreeAI CLI is a Node.js/TypeScript terminal tool that orchestrates multi-task Git worktree flows powered by AI assistants such as Claude and Codex.
Prefer the Chinese version? See README.zh-CN.md.
# Install once globally
npm install -g treeai
# 1. Start a task workspace
treeai start feature/login
# 2. Wrap up when you're done
treeai finish feature/login
# Prefer not to install globally? Use npx on demand
npx treeai start bugfix/session-timeout
start: detects the current repository, creates/switches the branch and worktree, then launches the configured AI tool.switch: switches to an existing worktree and launches the AI tool to continue working.finish: returns to the base branch, cleans up the worktree directory, and offers to delete the merged branch.--help to any command (for example treeai start --help) to inspect available flags.TreeAI CLI requires Node.js 20 or newer.
Only needed when contributing to or debugging the CLI itself:
pnpm install
pnpm dev -- start feature/login
pnpm build
npm run dev --tool codex now works as a shorthand for npm run dev -- --tool codex (npm may emit a warning about --tool; it can be ignored).treeai start [taskName]treeai with no subcommand is equivalent to treeai start and will, by default, launch the AI tool in the current directory (no worktree).--no-reuse-current to disable the quick-open behavior and walk through the worktree creation flow.--repo).~/.treeai/<repo>/<task>.--base and worktree directory --worktree.claude with --dangerously-skip-permissions).--skip-launch, --tool, or --tool-arg to control AI launch behavior.--reuse-current to explicitly reuse the current directory when the quick-open mode has been disabled.treeai switchclaude).--repo to specify repository, --tool to specify tool, and --tool-arg for extra parameters.--skip-launch to only display the worktree path without launching the tool.treeai finish [taskName]--keep-branch and --no-cleanup tweak defaults.--force skips confirmation.treeai statusTreeAI CLI comes with pre-configured support for multiple AI coding assistants:
You can specify which tool to use with the --tool flag:
treeai start feature/login --tool happy
treeai switch --tool happy_codex
~/.config/treeai/config.json.start / finish keep the configuration in sync; a dedicated treeai config subcommand is planned.worktrees and branches subcommands to reach feature parity with the original Python CLI.FAQs
TreeAI CLI - Git worktree automation for Claude & Codex multi-task workflows
We found that treeai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.