{"_id":"@codearch/cli","_rev":"3-4615d8d1b92981416ab643c265c18f87","name":"@codearch/cli","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@codearch/cli","version":"0.1.0","license":"MIT","_id":"@codearch/cli@0.1.0","maintainers":[{"name":"naitellos","email":"tellosnik25@gmail.com"}],"bin":{"vibe-graph":"dist/bin.js"},"dist":{"shasum":"ede6a37cef7c309591f80b267aa687ac72a7010c","tarball":"https://registry.npmjs.org/@codearch/cli/-/cli-0.1.0.tgz","fileCount":14,"integrity":"sha512-W/F/JFY8yTwS/YErVGNzVKzeOvErH/d6iuQSIm2UXUw1+jx68oE4OckorkK4ad3z5K2+ajz5U9W3g1t/XCj9tw==","signatures":[{"sig":"MEQCIBUQkIV0cZhWo5jg9CxO0E2B6wXvlx2aNy6N8Gn77ZiiAiBFYCUTpfTz1iPeIs/M98ZO44iccq11wg00R6+RyVFsgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3787145},"main":"./dist/index.js","type":"module","_from":"file:codearch-cli-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"naitellos","email":"tellosnik25@gmail.com"},"_resolved":"/private/var/folders/h9/7yk9dhv12715rj9pvkcr5c6w0000gn/T/190cb63f2dfcce96774b695e182895f2/codearch-cli-0.1.0.tgz","_integrity":"sha512-W/F/JFY8yTwS/YErVGNzVKzeOvErH/d6iuQSIm2UXUw1+jx68oE4OckorkK4ad3z5K2+ajz5U9W3g1t/XCj9tw==","_npmVersion":"11.5.1","description":"Graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.","directories":{},"_nodeVersion":"24.7.0","dependencies":{"ws":"~8.18.0","open":"~10.1.0","pino":"~9.5.0","yaml":"~2.6.0","citty":"~0.1.0","chokidar":"~4.0.0","pino-pretty":"~13.0.0","@codearch/mcp":"0.1.0","@clack/prompts":"~0.7.0","@codearch/core":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"~8.3.0","@types/ws":"~8.5.0","typescript":"~5.6.0","@types/node":"~22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1781649652610_0.8732597053125755","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@codearch/cli","version":"0.1.1","license":"MIT","_id":"@codearch/cli@0.1.1","maintainers":[{"name":"naitellos","email":"tellosnik25@gmail.com"}],"bin":{"codearch":"dist/bin.js","vibe-graph":"dist/bin.js"},"dist":{"shasum":"533df02c1fd56d3be313b862583f59828b888ed7","tarball":"https://registry.npmjs.org/@codearch/cli/-/cli-0.1.1.tgz","fileCount":14,"integrity":"sha512-rhrhJFbRfSS3jsdqfE2YofWMagf1wYQkFGwkdJ7CBIdTDYFLF0yc+PA3Dj9d0d+Vr9vbD5fm5oMj6JJJcfoReQ==","signatures":[{"sig":"MEQCICTeczE6CViSoR3CEpsHiGf9aFqYbpn+jrKeBBqoIUwbAiBfNUHvPoA0OYg4/P0Pk6uT0e6KTE2fuvIzct40CkVowQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4351127},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.12.0"},"gitHead":"6131e58dfe448c227dc3853d3235b93e5ce4c3ab","scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"naitellos","email":"tellosnik25@gmail.com"},"_npmVersion":"11.5.1","description":"Graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.","directories":{},"_nodeVersion":"24.7.0","dependencies":{"ws":"~8.18.0","zod":"~4.0.0","open":"~10.1.0","pino":"~9.5.0","yaml":"~2.6.0","citty":"~0.1.0","ignore":"~6.0.0","chokidar":"~4.0.0","fast-glob":"~3.3.0","micromatch":"~4.0.0","typescript":"~5.6.0","pino-pretty":"~13.0.0","@clack/prompts":"~0.7.0","@modelcontextprotocol/sdk":"~1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"~8.3.0","@types/ws":"~8.5.0","typescript":"~5.6.0","@types/node":"~22.10.0","@codearch/mcp":"workspace:*","@codearch/core":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1781691862765_0.2028692605569229","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@codearch/cli","version":"0.1.2","description":"Graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.","license":"MIT","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"vibe-graph":"dist/bin.js","codearch":"dist/bin.js"},"publishConfig":{"access":"public"},"engines":{"node":">=22.12.0"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit"},"dependencies":{"@clack/prompts":"~0.7.0","@modelcontextprotocol/sdk":"~1.0.0","chokidar":"~4.0.0","citty":"~0.1.0","fast-glob":"~3.3.0","ignore":"~6.0.0","micromatch":"~4.0.0","open":"~10.1.0","pino":"~9.5.0","pino-pretty":"~13.0.0","typescript":"~5.6.0","ws":"~8.18.0","yaml":"~2.6.0","zod":"~4.0.0"},"devDependencies":{"@types/node":"~22.10.0","@types/ws":"~8.5.0","@codearch/core":"workspace:*","@codearch/mcp":"workspace:*","tsup":"~8.3.0","typescript":"~5.6.0"},"_id":"@codearch/cli@0.1.2","gitHead":"08ac4cfdbacc386d60b8683c1a90c63e82231b15","_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-T5OC5aKSgA9yUhV/s4Eoaq9EiSWKdrDN46eu1MzlqDvmvx1ZE7NNxMF670t6+5zA/WJoiXV3TMb/qH08w3o5kQ==","shasum":"48ee3934d4212063cd3dc80f045de70f2922b640","tarball":"https://registry.npmjs.org/@codearch/cli/-/cli-0.1.2.tgz","fileCount":14,"unpackedSize":4351152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCfOrZW6aV2iYx6zvgZOaWx6QZ9JUa5PiohjJSS7qJj4AIgdFGyWK1cJMPRb/e35z5CskhBiUwh4xtPqIQgLxCS9ts="}]},"_npmUser":{"name":"naitellos","email":"tellosnik25@gmail.com"},"directories":{},"maintainers":[{"name":"naitellos","email":"tellosnik25@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.2_1781701517020_0.038123616179431385"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-16T22:40:52.352Z","modified":"2026-06-17T13:05:17.360Z","0.1.0":"2026-06-16T22:40:52.812Z","0.1.1":"2026-06-17T10:24:22.963Z","0.1.2":"2026-06-17T13:05:17.228Z"},"license":"MIT","description":"Graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.","maintainers":[{"name":"naitellos","email":"tellosnik25@gmail.com"}],"readme":"# @codearch/cli\n\n> A graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.\n\nvibe-graph scans your TypeScript monorepo into a navigable graph of subsystems, dependencies, and findings. Use the cockpit UI to explore visually, or expose the graph to an AI assistant via the bundled MCP server — get precise blast-radius and context-pack answers grounded in your real codebase.\n\n## Install\n\n```bash\nnpm i -g @codearch/cli\n```\n\nOr run on-demand:\n\n```bash\nnpx @codearch/cli init\n```\n\n## Quick start\n\n### 1. Init — set up the project\n\nGenerates a default `.vibegraph/config.yml`, adds entries to `.gitignore`, ready in seconds.\n\n```bash\nnpx @codearch/cli init\n```\n\n### 2. Scan — build a snapshot\n\nWalks your TypeScript sources, extracts subsystems and dependencies, detects cycles and orphans, writes `.vibegraph/cache/graph.json`.\n\n```bash\nnpx @codearch/cli scan\n```\n\n### 3. MCP — expose the graph to AI\n\nStarts an MCP server (stdio) that AI assistants can call for project overview, blast radius, context pack, and subsystem detail.\n\n```bash\nnpx @codearch/cli mcp --project-root .\n```\n\n## Other commands\n\n`vibe-graph` (no args) launches the cockpit web UI. `baseline`, `check`, `validate-diff`, `impact`, `context`, and `doctor` are also available — run `vibe-graph --help`.\n\n## Cockpit\n\n`vibe-graph` (no args) opens the cockpit in your browser at `http://localhost:5173`.\n\n### Change Mode\n\nTop-tab **Change** in Cockpit visualizes `prepare_task`. Fill intent + select paths\n(autocomplete from your project's file index) + pick mode → get the same 6 sections\nthe MCP tool surfaces, plus one-click Copy as Markdown / Copy JSON for handoff to\nClaude Code, Cursor, or any agent.\n\n### Agent Activity Log\n\nTop-tab **Activity** in Cockpit shows a live timeline of MCP tool calls — useful\nfor watching what your agent actually does. Entries are persisted to\n`.vibegraph/cache/agent-activity.ndjson` (rotated at 10MB), with secrets redacted\nand oversized args/results truncated. Click an entry to expand the (redacted)\nargs and result.\n\n## Connect to your IDE\n\n`npx @codearch/cli init` auto-detects Claude Code and Cursor and writes their MCP configs. For other clients, drop one of these snippets into the appropriate config file:\n\n**Windsurf** (`.windsurf/mcp.json` or workspace settings)\n```json\n{ \"mcpServers\": { \"vibegraph\": { \"command\": \"npx\", \"args\": [\"-y\", \"@codearch/cli\", \"mcp\"] } } }\n```\n\n**Cline** (VS Code → Cline extension settings → MCP Servers JSON)\n```json\n{ \"mcpServers\": { \"vibegraph\": { \"command\": \"npx\", \"args\": [\"-y\", \"@codearch/cli\", \"mcp\"] } } }\n```\n\n**Continue.dev** (`~/.continue/config.json` → `experimental.modelContextProtocolServers`)\n```json\n{ \"name\": \"vibegraph\", \"command\": \"npx\", \"args\": [\"-y\", \"@codearch/cli\", \"mcp\"] }\n```\n\n**Zed** (`~/.config/zed/settings.json` → `context_servers`)\n```json\n{ \"vibegraph\": { \"command\": { \"path\": \"npx\", \"args\": [\"-y\", \"@codearch/cli\", \"mcp\"] } } }\n```\n\n**Codex** (`~/.codex/config.toml`)\n```toml\n[mcp_servers.vibegraph]\ncommand = \"npx\"\nargs = [\"-y\", \"@codearch/cli\", \"mcp\"]\n```\n\n**Any stdio MCP client** (generic)\n```\ncommand: npx -y @codearch/cli mcp\n```\n\nAfter wiring the MCP config, reload the client and ask the agent: _\"Use vibe-graph to plan refactor of X.\"_ The agent will call `prepare_task` for preflight context and `validate_diff` post-edit for verdict.\n\n## Documentation\n\n- Design spec: [docs/superpowers/specs/2026-05-24-vibegraph-v0-design.md](https://github.com/Naitellos/vibe-graph/blob/main/docs/superpowers/specs/2026-05-24-vibegraph-v0-design.md)\n- Product state: [product-current-state-2026-06-08.md](https://github.com/Naitellos/vibe-graph/blob/main/docs/product-current-state-2026-06-08.md)\n- UI/UX vision: [UI_UX_VISION.md](https://github.com/Naitellos/vibe-graph/blob/main/UI_UX_VISION.md)\n- Contributing: [CONTRIBUTING.md](https://github.com/Naitellos/vibe-graph/blob/main/CONTRIBUTING.md)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}