See how your app actually fits together. An interactive, plain-English map of your codebase, drawn by Claude or Codex.
JavaScript ai-codingarchitecture-diagramclaudeclaude-codeclaude-code-plugincodebase-visualizationcodexcodex-plugindeveloper-toolsonboardingopenaivibe-coding
Fix asking on a map with the current Claude Code install on Windows
[email protected]db93eb9d7ff0
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6cd14a7..1a668e7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,9 @@# Changelog+## Unreleased++- **Asking on a map works again on Windows with the current Claude Code install:** the map's server found only the shell shim of an npm install and failed with `spawn ...\claude ENOENT`; it now finds the real `claude.exe` inside the package.+## 0.3.0 (2026-10-29)- **Blueprints: plan it before you build it.** Floorplan still maps the code you have; now it can also start from no code at all. Share a PRD, a spec or a description of something you want to build, and Floorplan draws the map of what it would take: every part, file, endpoint and screen, how they connect, and the outside services they rely on. It's marked as planned (dashed cards and a **Blueprint** label), Health becomes a design review of the plan (endpoints anyone could use, decisions the PRD leaves open, loose ends), and each part has **Build this with Claude** (or Codex), a ready request to build it as planned. Switch the Ask bar to **Change** to shape the plan from the map ("also plan out refunds"): the map redraws with the new and changed pieces highlighted, and **Undo** puts it back. Design review items can be settled the same way with **Resolve on the map**: an open question just needs your answer. Once the code exists, the map can switch to the real code.diff --git a/skills/floorplan/assets/serve.mjs b/skills/floorplan/assets/serve.mjsindex 49f0b77..741ff23 100644--- a/skills/floorplan/assets/serve.mjs+++ b/skills/floorplan/assets/serve.mjs@@ -56,7 +56,10 @@ function resolveCli(candidates, npmEntry) {const cli = path.join(path.dirname(c), 'node_modules', ...npmEntry);if (fs.existsSync(cli)) return { cmd: process.execPath, args: [cli], path: c };const exe = c.replace(/\.(cmd|bat|ps1)$/i, '.exe');- if (fs.existsSync(exe)) return { cmd: exe, args: [], path: exe };+ if (exe !== c && fs.existsSync(exe)) return { cmd: exe, args: [], path: exe };+ // newer npm installs ship a real program inside the package (bin/claude.exe) and no JS entry point; the shim beside it can't be spawned+ const pkgExe = path.join(path.dirname(c), 'node_modules', ...npmEntry.slice(0, 2), 'bin', path.basename(c).replace(/\.[^.]*$/, '') + '.exe');+ if (fs.existsSync(pkgExe)) return { cmd: pkgExe, args: [], path: pkgExe };continue;}return { cmd: c, args: [], path: c };diff --git a/tests/ask.test.mjs b/tests/ask.test.mjsindex 86bf67b..79d7576 100644--- a/tests/ask.test.mjs+++ b/tests/ask.test.mjs@@ -128,3 +128,16 @@ test('--engine picks one CLI and never falls back to the other', async () => {assert.equal(failure.code, 'cli_missing');assert.match(failure.message, /Codex not found/);});++// Windows: a newer npm install of Claude Code has the real program at <npm>/node_modules/@anthropic-ai/claude-code/bin/claude.exe, no cli.js, and only+// shell shims beside it (the extensionless "claude" that `where claude` lists first, and claude.cmd), which can't be spawned. The server must use the real program.+test('on Windows, a Claude Code npm install with only bin/claude.exe is found and run (not the shell shim)', { skip: process.platform !== 'win32' }, async () => {+ const npm = path.join(root, 'fake-npm');+ const pkg = path.join(npm, 'node_modules', '@anthropic-ai', 'claude-code', 'bin');+ fs.mkdirSync(pkg, { recursive: true });+ fs.writeFileSync(path.join(npm, 'claude'), '#!/bin/sh\n'); // the shim: a text file that can't be run+ try { fs.linkSync(process.execPath, path.join(pkg, 'claude.exe')); } catch { fs.copyFileSync(process.execPath, path.join(pkg, 'claude.exe')); } // a program that answers --version+ const s = await serve({ FLOORPLAN_CLAUDE: path.join(npm, 'claude'), FLOORPLAN_CODEX: path.join(root, 'no-such-cli') });+ assert.equal(s.page.engine, 'claude');+ assert.equal(s.page.version, process.version);+});