Skip to content

Commit 2a4b9c1

Browse files
Release v0.1.20
1 parent 4d00195 commit 2a4b9c1

8 files changed

Lines changed: 98 additions & 8 deletions

File tree

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exclude = [
1414
resolver = "2"
1515

1616
[workspace.package]
17-
version = "0.1.19"
17+
version = "0.1.20"
1818
edition = "2021"
1919
rust-version = "1.82.0"
2020
repository = "https://github.com/8network/8v"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
secret
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/tmp/realfile-qa.txt

o8v/.mcp.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"mcpServers": {
3+
"8v": {
4+
"args": [
5+
"mcp"
6+
],
7+
"command": "8v"
8+
}
9+
}
10+
}

o8v/AGENTS.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!-- 8v:begin v0.1.20 -->
2+
3+
# 8v
4+
5+
Begin every session by running `8v ls --tree` before any other tool call.
6+
7+
Use `8v` instead of Read, Edit, Write, Grep, Glob, and Bash for file operations. Use Bash only for git, process management, and environment operations. If an `8v` MCP tool is available, call it directly — do not shell out via Bash.
8+
9+
## Two principles, every command
10+
1. **Progressive.** Default output is the minimum useful answer. Flags escalate detail.
11+
2. **Batch.** Pass many inputs in one call instead of calling N times.
12+
13+
## Discovery
14+
- `8v ls --tree --loc` — full hierarchy with line counts. Start here.
15+
- `8v ls [--match <glob>] [--stack <name>] [path]` — filtered views.
16+
- `8v search <pattern> [path] [-i] [-e <ext>] [-C N] [--files]` — regex search across files.
17+
18+
## Read — symbol map first, range second, full last
19+
- `8v read <path>` — symbol map; each line is `<line-number> <symbol>`. Use line numbers with `:start-end`.
20+
- `8v read <path>:<start>-<end>` — line range (1-indexed, end inclusive).
21+
- `8v read <path> --full` — entire file. Last resort.
22+
- `8v read a.rs b.rs Cargo.toml` — batch multiple files or ranges in one call.
23+
24+
## Write
25+
- `8v write <path>:<line> "<content>"` — replace a single line.
26+
- `8v write <path>:<start>-<end> "<content>"` — replace a range.
27+
- `8v write <path>:<start>-<end> --delete` — delete a range.
28+
- `8v write <path>:<line> --insert "<content>"` — insert before a line.
29+
- `8v write <path> --find "<old>" --replace "<new>"` — fails if `<old>` not found.
30+
- `8v write <path> --append "<content>"`
31+
Content args: `\n` = newline, `\t` = tab, `\\` = backslash. Pass as literal two-char sequences — do not rely on shell interpolation.
32+
33+
## Verify
34+
- `8v check .` — lint + type-check + format-check.
35+
- `8v fmt .` — auto-format in place.
36+
- `8v test .` — run tests.
37+
- `8v build .` — compile.
38+
39+
<!-- 8v:end -->

o8v/CLAUDE.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!-- 8v:begin v0.1.20 -->
2+
3+
# 8v
4+
5+
Begin every session by running `8v ls --tree` before any other tool call.
6+
7+
Use `8v` instead of Read, Edit, Write, Grep, Glob, and Bash for file operations. Use Bash only for git, process management, and environment operations. If an `8v` MCP tool is available, call it directly — do not shell out via Bash.
8+
9+
## Two principles, every command
10+
1. **Progressive.** Default output is the minimum useful answer. Flags escalate detail.
11+
2. **Batch.** Pass many inputs in one call instead of calling N times.
12+
13+
## Discovery
14+
- `8v ls --tree --loc` — full hierarchy with line counts. Start here.
15+
- `8v ls [--match <glob>] [--stack <name>] [path]` — filtered views.
16+
- `8v search <pattern> [path] [-i] [-e <ext>] [-C N] [--files]` — regex search across files.
17+
18+
## Read — symbol map first, range second, full last
19+
- `8v read <path>` — symbol map; each line is `<line-number> <symbol>`. Use line numbers with `:start-end`.
20+
- `8v read <path>:<start>-<end>` — line range (1-indexed, end inclusive).
21+
- `8v read <path> --full` — entire file. Last resort.
22+
- `8v read a.rs b.rs Cargo.toml` — batch multiple files or ranges in one call.
23+
24+
## Write
25+
- `8v write <path>:<line> "<content>"` — replace a single line.
26+
- `8v write <path>:<start>-<end> "<content>"` — replace a range.
27+
- `8v write <path>:<start>-<end> --delete` — delete a range.
28+
- `8v write <path>:<line> --insert "<content>"` — insert before a line.
29+
- `8v write <path> --find "<old>" --replace "<new>"` — fails if `<old>` not found.
30+
- `8v write <path> --append "<content>"`
31+
Content args: `\n` = newline, `\t` = tab, `\\` = backslash. Pass as literal two-char sequences — do not rely on shell interpolation.
32+
33+
## Verify
34+
- `8v check .` — lint + type-check + format-check.
35+
- `8v fmt .` — auto-format in place.
36+
- `8v test .` — run tests.
37+
- `8v build .` — compile.
38+
39+
<!-- 8v:end -->
2.36 MB
Binary file not shown.

0 commit comments

Comments
 (0)