TanStack / TanStack/cli

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

Aperta
#512 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
1.3k
Fork
185
Merge medio
18h 45m
PR unite (30g)
2

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Esegui il comando esatto tanstack create con Bun e --intent, quindi riproduci bunx --bun @tanstack/intent install all’interno dell’app generata. Traccia il percorso di installazione di Intent del comando create e confrontalo con #513; il lavoro è completato quando il pacchetto previsto è installato, intent.skills è configurato come necessario e AGENTS.md viene scritto senza segnalare un successo falso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
bun, typescript
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.