TanStack / TanStack/cli

create with bun says Intent is configured but never writes AGENTS.md

Open
#512 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
185
Avg merge
18h 45m
Merged PRs (30d)
2

Description

tanstack create with bun prints TanStack Intent configured and claims AGENTS.md was wired up, but the command it ran failed. No agent config is written. Deps install fine — it's just the Intent step.

bunx @tanstack/cli@latest create buildify-repro \
  --framework React \
  --package-manager bun \
  --toolchain biome \
  --deployment nitro \
  --no-examples \
  --git \
  --intent \
  --yes
◇  Installed dependencies
◇  TanStack Intent configured
◇  Route tree generated
└  Your TanStack app is ready in 'buildify-repro'.

Errors were encountered during the creation of your app:

Command "bunx --bun @tanstack/intent install" did not run successfully. Please run this manually in your project.

After that, node_modules is there, AGENTS.md isn't, and node_modules/.bin/intent points at @tanstack/devtools/bin/intent.js.

Same command inside the app:

bunx --bun @tanstack/intent install

exits immediately with @tanstack/intent is not installed. — no registry fetch.

Two things going on:

  1. bunx is running the intent shim from @tanstack/devtools, not the real package. bunx --bun @tanstack/intent@latest install does download, then hits:

    Permissions: failed: intent.skills is not configured.
    
  2. Intent 0.4.0 wants a TTY to write package.json#intent.skills on first run (TanStack/intent#241). create still treats intent install as non-interactive (#442).

Not the same as #495 — that one is --no-install. This happens with deps already installed.

#513 uses @tanstack/intent@latest (same as shadcn@latest) and writes intent.skills: ["@tanstack/*"] before install.

@tanstack/cli 0.71.0, bun 1.3.1, macOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the exact tanstack create command with Bun and --intent, then reproduce bunx --bun @tanstack/intent install inside the generated app. Trace the create command's Intent installation path and compare it with #513; done means the intended package is installed, intent.skills is configured as needed, and AGENTS.md is written without reporting a false success.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.