TanStack / TanStack/cli

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

Offen
#512 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
TypeScript
Sterne
1.3k
Forks
185
Ø Merge
18 Std. 45 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Führe den exakten Befehl tanstack create mit Bun und --intent aus und reproduziere anschließend bunx --bun @tanstack/intent install innerhalb der generierten App. Verfolge den Intent-Installationspfad des Create-Befehls und vergleiche ihn mit #513; als erledigt gilt die Aufgabe, wenn das vorgesehene Paket installiert ist, intent.skills wie erforderlich konfiguriert ist und AGENTS.md geschrieben wird, ohne einen falschen Erfolg zu melden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
bun, typescript
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.