Skip to content

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

Description

@cfngc4594

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 (feat(intent): add interactive first-run skill permission setup intent#241). create still treats intent install as non-interactive (feat(cli): auto-install TanStack Intent during scaffolding #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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions