docs(insta): `setup agent --project <id>` β€” one-line setup that also links the directory

Merged
TO
2mo ago
+2-1

Mirrors InsForge/insta-cli#144 (per the CLI repo's rule that command/flag changes update insta/cli-reference.md in the same change set): documents the new --project <id> flag on insta setup agent β€” links the working directory after setup via the project link code path, login offer first, skip-with-hint when no session, exit 1 on a failed link. Adds the npx example line. Lands with CLI 0.0.48.

πŸ€– Generated with Claude Code

https://claude.ai/code/session_012CoVYZxJmGpNBUCWSnxwhK


Summary by cubic

Documents the new --project <id> flag on insta setup agent, which links the working directory to a project after setup using the same code path as insta project link <id>. Updates the CLI reference table and adds an npx example line; ships with CLI 0.0.48.

  • With no session, the link is skipped with a manual login + project link hint (exit 0); a failed link exits 1.
  • This is the flag behind the console Connect panel's single-line CLI setup.