@0x1labs/vyer 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.
Files changed (2) hide show
  1. package/README.md +16 -12
  2. package/package.json +40 -10
package/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
 
5
5
  **The warm code-context engine for AI coding agents.**
6
6
 
7
- *rhymes with "buyer" · Swedish for "views, vistas, visions"*
8
-
9
7
  [![npm](https://img.shields.io/npm/v/@0x1labs/vyer?color=cb3837&logo=npm&logoColor=white)](https://www.npmjs.com/package/@0x1labs/vyer)
10
8
  [![license](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](https://github.com/chirayuoli/vyer)
11
9
  [![GitHub](https://img.shields.io/badge/source-chirayuoli%2Fvyer-181717?logo=github)](https://github.com/chirayuoli/vyer)
@@ -20,27 +18,33 @@ matching prebuilt `vyer` binary for your platform on install.
20
18
 
21
19
  ## Use it
22
20
 
23
- ```sh
24
- npx -y @0x1labs/vyer serve --root . # run it, no install
25
- npm install -g @0x1labs/vyer # or install the `vyer` command globally
26
- ```
27
-
28
- Wire it into your agent host (Claude Code / Cursor / Windsurf / Cline):
21
+ Vyer is an **MCP server** — your agent host launches it and talks to it over stdio. You don't run
22
+ `vyer serve` by hand; you point your host (Claude Code / Cursor / Windsurf / Cline) at it:
29
23
 
30
24
  ```jsonc
25
+ // .mcp.json (or your host's MCP config)
31
26
  {
32
27
  "mcpServers": {
33
- "vyer": { "command": "npx", "args": ["-y", "@0x1labs/vyer", "serve", "--root", ".", "--watch"] }
28
+ "vyer": { "command": "npx", "args": ["-y", "@0x1labs/vyer", "serve", "--root", ".", "--watch", "--allow-writes"] }
34
29
  }
35
30
  }
36
31
  ```
37
32
 
38
- Add `--allow-writes` to let it edit. Then point your agent at it with one command:
33
+ Claude Code one-liner:
39
34
 
40
35
  ```sh
41
- vyer init # drops a managed note into ./CLAUDE.md so the agent prefers Vyer (idempotent)
36
+ claude mcp add vyer -- npx -y @0x1labs/vyer serve --root . --watch --allow-writes
42
37
  ```
43
38
 
39
+ `--allow-writes` lets Vyer edit (drop it for read-only). Then tell your agent to prefer it:
40
+
41
+ ```sh
42
+ npx -y @0x1labs/vyer init # drops a managed note into ./CLAUDE.md (idempotent)
43
+ ```
44
+
45
+ Want a global `vyer` command? `npm install -g @0x1labs/vyer`. To check it from a terminal (no agent),
46
+ use `vyer version` or `vyer query "<search>"` — `serve` only does something when an agent drives it.
47
+
44
48
  ## What you get
45
49
 
46
50
  | | |
@@ -71,7 +75,7 @@ Quickstart, the agent playbook, security model, and benchmarks all live in the r
71
75
 
72
76
  ### → **https://github.com/chirayuoli/vyer**
73
77
 
74
- No prebuilt binary for your platform? Build from source:
78
+ No prebuilt binary for your platform? Build from source (needs Rust 1.85+):
75
79
  `cargo install --git https://github.com/chirayuoli/vyer vyer-server`
76
80
 
77
81
  <div align="center"><sub>MIT OR Apache-2.0 · built by <a href="https://www.npmjs.com/org/0x1labs">0x1labs</a></sub></div>
package/package.json CHANGED
@@ -1,16 +1,46 @@
1
1
  {
2
2
  "name": "@0x1labs/vyer",
3
- "version": "0.1.1",
4
- "publishConfig": { "access": "public" },
3
+ "version": "0.1.2",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
5
7
  "description": "Vyer — the warm code-context engine for AI coding agents (MCP server).",
6
- "keywords": ["mcp", "ai", "agent", "code-search", "code-context", "llm", "claude", "cursor"],
8
+ "keywords": [
9
+ "mcp",
10
+ "ai",
11
+ "agent",
12
+ "code-search",
13
+ "code-context",
14
+ "llm",
15
+ "claude",
16
+ "cursor"
17
+ ],
7
18
  "homepage": "https://github.com/chirayuoli/vyer",
8
- "repository": { "type": "git", "url": "github:chirayuoli/vyer" },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "github:chirayuoli/vyer"
22
+ },
9
23
  "license": "(MIT OR Apache-2.0)",
10
- "bin": { "vyer": "bin/vyer.js" },
11
- "scripts": { "postinstall": "node install.js" },
12
- "files": ["bin/vyer.js", "install.js"],
13
- "engines": { "node": ">=16" },
14
- "os": ["darwin", "linux", "win32"],
15
- "cpu": ["x64", "arm64"]
24
+ "bin": {
25
+ "vyer": "bin/vyer.js"
26
+ },
27
+ "scripts": {
28
+ "postinstall": "node install.js"
29
+ },
30
+ "files": [
31
+ "bin/vyer.js",
32
+ "install.js"
33
+ ],
34
+ "engines": {
35
+ "node": ">=16"
36
+ },
37
+ "os": [
38
+ "darwin",
39
+ "linux",
40
+ "win32"
41
+ ],
42
+ "cpu": [
43
+ "x64",
44
+ "arm64"
45
+ ]
16
46
  }