Skip to content
Source
Sign inSign up
TanStack/intent

fix(intent): make first-run permission selection compact #243

MergedLadyBluenotes(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/243/headmerged by LadyBluenotes(GitHub profile, opens in a new tab)

🎯 Changes

First-run intent install printed every discovered skill description before asking for input. A project with 14 packages and 82 skills produced roughly 27 KB of text before the first choice.

Replace that dump with a count summary and searchable package picker showing at most six options. Review puts selected packages first and lets users choose individual skills, inspect descriptions and exclusions, or view the exact configuration before saving. Allow-all remains a separate advanced choice with explicit confirmation.

Also reject empty search results before submission, remove the duplicate completion message, and update the install, configuration, and trust documentation.

Follow-up to #241. The original installer is unreleased, so this updates its existing minor changeset instead of adding a separate patch entry. The broader scopes of #221, #222, and #234 remain open.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

Validation: 601 unit tests and 73 integration tests passed, along with lint, typecheck, docs checks, and build. Final focused checks passed all 198 installer/CLI tests. Tested the 14-package/82-skill example in a terminal: search, package-to-individual selection, configuration preview without writes, and saving five exact permissions plus guidance. changeset status confirms one minor release and no patch release.

🚀 Release Impact

  • This change affects published code; the existing unreleased installer changeset is updated.
  • This change is docs/CI/dev-only (no release).
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Warning

      Review limit reached

      Next included review available in 43 minutes.

      Check out review usage here.

      View limit details

      Limit details: You’ve used all 2 included reviews currently available.

      You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

      Learn how review limits work.

      Review configuration:

      ⚙️ Run configuration

      Configuration used: defaults

      Review profile: CHILL

      Plan: Team

      Run ID: 97e5cac4-e596-4be9-82e2-6741fe4082ee

      📥 Commits

      Reviewing files that changed from the base of the PR and between 4e5911932396e74404a6a57b84fddd823ccea3d4 and c4dc0d6917bd5f0c8a3ba55a53e6822f38e4ec61.

      📒 Files selected for processing (13)
      • .changeset/fair-tools-review.md
      • docs/cli/intent-install.md
      • docs/concepts/configuration.md
      • docs/concepts/trust-model.md
      • docs/getting-started/quick-start-consumers.md
      • packages/intent/src/commands/install/command.ts
      • packages/intent/src/commands/install/package-json.ts
      • packages/intent/src/commands/install/permission-prompts.ts
      • packages/intent/src/commands/install/permissions.ts
      • packages/intent/tests/cli.test.ts
      • packages/intent/tests/install-writer.test.ts
      • packages/intent/tests/permission-prompts.test.ts
      • packages/intent/tests/permissions.test.ts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 1c7f6aab9f16013d8660f650ac72cb8a905c06b4

      CommandStatusDurationResult
      nx run-many --targets=build✅ Succeeded2sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-09-05 02:42:47 UTC

    3. View your CI Pipeline Execution ↗ for commit 776c0ade28d2a96d04d776225f03432c77254885

      CommandStatusDurationResult
      nx run-many --targets=build✅ Succeeded2sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-09-05 01:58:29 UTC

    4. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented

      Open in StackBlitz

      npm i https://pkg.pr.new/@tanstack/intent@243

      commit: c4dc0d6

Sign in to join this conversation.