Skip to content

fix: tRPC detection, project types, flows; optional API key, init --mcp, doctor MCP check - #143

Merged
itsflaid merged 6 commits into
mainfrom
fix/trpc-projecttype-flows-init-doctor
Nov 2, 2026
Merged

itsflaid merged 6 commits into
mainfrom
fix/trpc-projecttype-flows-init-doctor

Conversation

@itsflaid

@itsflaid itsflaid commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Ringkasan

Hasil dogfooding devmap di chatme dan devnote (CLI + MCP).

  • tRPC: detektor mengenali protectedProcedure, rateLimitedProcedure, t.procedure. Chatme: 0 menjadi 26 procedure.
  • Project type: package VS Code extension jadi vscode-extension, bukan library.
  • Flow: --all sebelumnya membuang feature ber-confidence high (===). Target yang tidak ada di flow tersimpan kini dicari di semua flow (CLI dan MCP).
  • init: API key opsional. Kosong berarti AI dilewati, file proyek tetap dibuat. Key diset nanti lewat devmap config key.
  • init --mcp opencode,claude,cursor: menulis opencode.json, .mcp.json, .cursor/mcp.json dengan merge, tidak menimpa. Init interaktif menawarkannya.
  • doctor: self-check MCP in-process, daftar client terdaftar, umur snapshot. Key kosong jadi catatan, bukan issue.

Perubahan perilaku

  • doctor --json memberi status: "ok" kalau hanya key yang kosong (dulu "issues").
  • Pesan "Run devmap init to enable AI" menjadi "Run devmap config key".
  • ProjectType mendapat nilai baru vscode-extension.

Pengujian

  • pnpm test: 503 lulus, termasuk tes baru untuk tiap perbaikan
  • node test/mcp-smoke.mjs lulus (7 tools)
  • Dicoba end-to-end terhadap chatme dan devnote

Generated by Claude Code

itsflaid and others added 6 commits November 2, 2026 06:46
…res in --all

generateFeatureFlows compared confidence with strict equality, so the
uncapped list dropped high-confidence features. A target missing from the
curated flows now falls back to the uncapped list in the CLI and MCP.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AgTNRWEEb5zotxkY7QpbA2
init no longer fails without a provider key: it skips AI setup and still
creates the project files. `devmap config key` sets the key later, and
`init --mcp` (or the interactive prompt) writes opencode.json, .mcp.json or
.cursor/mcp.json by merging into any existing file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AgTNRWEEb5zotxkY7QpbA2
… as optional

doctor starts the MCP server in-process and lists its tools, reports which
clients register devmap, and flags a stale snapshot as a note. A missing API
key is a note instead of an issue.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AgTNRWEEb5zotxkY7QpbA2
…nal key

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AgTNRWEEb5zotxkY7QpbA2
@vercel

vercel Bot commented Nov 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devmap-web Ready Ready Preview Nov 2, 2026 6:16am UTC

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

✅ Welcome ke DevMap!

Terima kasih sudah buat PR. Pastikan checklist ini terpenuhi sebelum review:

  • devmap doctor lolos (tanpa error)
  • Test pnpm test:cli lolos (semua pass)
  • New commands diupdate di docs/commands.md
  • Tidak ada console.log di command files
  • Registry terms sesuai standar (baca docs/guide/05-signal-registry.md)
  • Code style match dengan CONTRIBUTING.md

CI akan jalan otomatis pada setiap update. Kalau gagal, akan muncul link run di komentar ini.

Kalau DevMap membantu, tolong star ya: https://github.com/itsflaid/devmap

Terima kasih kontribusinya! 🙏

@itsflaid
itsflaid merged commit 499cf82 into main Nov 2, 2026
3 checks passed
@itsflaid
itsflaid deleted the fix/trpc-projecttype-flows-init-doctor branch November 2, 2026 06:16

This branch was successfully deployed

1 active deployment
Preview — 10a33259 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant