TanStack / TanStack/cli

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

オープン
#512 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
1.3k
フォーク
185
平均マージ
18時間 45分
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Bun と --intent を使って正確な tanstack create コマンドを実行し、生成されたアプリ内で bunx --bun @tanstack/intent install を再現します。create コマンドの Intent のインストールパスを追跡し、#513 と比較します。完了条件は、意図したパッケージがインストールされ、intent.skills が必要に応じて設定され、誤った成功を報告せずに AGENTS.md が書き込まれることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
bun, typescript
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。