@amirhosseinnateghi/vibed-mcp 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/index.js +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,28 +21,28 @@ needs no install.
|
|
|
21
21
|
|
|
22
22
|
## Configure your client
|
|
23
23
|
|
|
24
|
-
The server runs over stdio. Point your client at `npx -y @amirhosseinnateghi/vibed-mcp`.
|
|
24
|
+
The server runs over stdio. Point your client at `npx -y @amirhosseinnateghi/vibed-mcp@latest`.
|
|
25
25
|
|
|
26
26
|
**Codex** — `~/.codex/config.toml`:
|
|
27
27
|
```toml
|
|
28
28
|
[mcp_servers.vibed]
|
|
29
29
|
command = "npx"
|
|
30
|
-
args = ["-y", "@amirhosseinnateghi/vibed-mcp"]
|
|
30
|
+
args = ["-y", "@amirhosseinnateghi/vibed-mcp@latest"]
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
**Cursor** — `~/.cursor/mcp.json` (or project `.cursor/mcp.json`):
|
|
34
34
|
```json
|
|
35
|
-
{ "mcpServers": { "vibed": { "command": "npx", "args": ["-y", "@amirhosseinnateghi/vibed-mcp"] } } }
|
|
35
|
+
{ "mcpServers": { "vibed": { "command": "npx", "args": ["-y", "@amirhosseinnateghi/vibed-mcp@latest"] } } }
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
**Gemini CLI** — `~/.gemini/settings.json`:
|
|
39
39
|
```json
|
|
40
|
-
{ "mcpServers": { "vibed": { "command": "npx", "args": ["-y", "@amirhosseinnateghi/vibed-mcp"] } } }
|
|
40
|
+
{ "mcpServers": { "vibed": { "command": "npx", "args": ["-y", "@amirhosseinnateghi/vibed-mcp@latest"] } } }
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
**Claude Code** (the plugin is the primary path, but MCP works too):
|
|
44
44
|
```bash
|
|
45
|
-
claude mcp add vibed -- npx -y @amirhosseinnateghi/vibed-mcp
|
|
45
|
+
claude mcp add vibed -- npx -y @amirhosseinnateghi/vibed-mcp@latest
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
For a local/self-hosted vibed, set the API base via env in the same config, e.g.
|
package/dist/index.js
CHANGED
|
@@ -10684,10 +10684,11 @@ async function bundleProject(projectDir, opts = {}) {
|
|
|
10684
10684
|
rootDir: dirname(resolved.entry),
|
|
10685
10685
|
allowedOrigins
|
|
10686
10686
|
});
|
|
10687
|
-
const result = validate(html, { maxBytes, allowedOrigins });
|
|
10687
|
+
const result = validate(html, { maxBytes, allowedOrigins, policy: opts.policy });
|
|
10688
10688
|
return {
|
|
10689
10689
|
ok: result.ok,
|
|
10690
10690
|
html,
|
|
10691
|
+
policy: opts.policy,
|
|
10691
10692
|
entry: resolved.entry,
|
|
10692
10693
|
builtWith: resolved.builtWith,
|
|
10693
10694
|
sizeBytes: Buffer.byteLength(html, "utf8"),
|
|
@@ -10752,6 +10753,12 @@ function formatReport(result) {
|
|
|
10752
10753
|
out.push(`\u2717 Not vibeable yet \u2014 ${result.blockers.length} blocker(s):`);
|
|
10753
10754
|
out.push(...summarize(result).lines);
|
|
10754
10755
|
}
|
|
10756
|
+
if (result.policy && ruleActive("no_vertical_scroll", result.policy)) {
|
|
10757
|
+
out.push(
|
|
10758
|
+
"",
|
|
10759
|
+
"\u2139 Single screen: the page can't scroll vertically (auto-clipped at publish) \u2014 design it to fit."
|
|
10760
|
+
);
|
|
10761
|
+
}
|
|
10755
10762
|
if (result.warnings.length) {
|
|
10756
10763
|
out.push("", "Flags (published but sent to moderation):");
|
|
10757
10764
|
for (const w of result.warnings) out.push(` \u2022 ${w.message}`);
|
package/package.json
CHANGED