librian 0.0.0-stage → 0.1.0
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/CHANGELOG.md +39 -0
- package/LICENSE +663 -0
- package/NOTICE +14 -0
- package/README.md +154 -2
- package/dist/cli.js +40718 -0
- package/package.json +54 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## [0.1.0] - 2026-11-08
|
|
8
|
+
|
|
9
|
+
First release.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Read one section instead of a whole file.** Four MCP tools per docs folder:
|
|
14
|
+
`list` (files with size and document title, grouped by folder), `outline`
|
|
15
|
+
(headings with line ranges and sizes), `read` (a whole file, one section or a
|
|
16
|
+
line range) and `search` (blocks that contain every word of a query, with a
|
|
17
|
+
one-line excerpt).
|
|
18
|
+
- **No saved index.** Every call checks the files' modification time and size
|
|
19
|
+
and re-reads only the changed ones, so line ranges always match the files on
|
|
20
|
+
disk, even while several agents edit the same docs. Nothing is written to the
|
|
21
|
+
docs folder.
|
|
22
|
+
- **References.** `outline` and `read` take `path`, `path#heading` (heading
|
|
23
|
+
text or GitHub anchor), `path:start-end` or `path:line`.
|
|
24
|
+
- **Bounded responses.** Each response stays within a byte limit (16000 by
|
|
25
|
+
default). A large file returns its outline, a large section returns its own
|
|
26
|
+
text and its subsection outline or one page with a `Continue:` reference, and
|
|
27
|
+
`search` and `list` say how to get the rest.
|
|
28
|
+
- **Search that works for Korean.** Words made of letters, digits and `_` match
|
|
29
|
+
at the start of a word; other words match anywhere, since Korean attaches
|
|
30
|
+
particles to words. Ancestor headings count toward a match.
|
|
31
|
+
- **The `librian` menu.** Run `librian` in a terminal to add, edit, check and
|
|
32
|
+
remove docs folders, register or unregister librian in Claude Code and Codex
|
|
33
|
+
(user scope, with a preview of the commands it runs), and install, update or
|
|
34
|
+
uninstall the runtime in `~/.librian/runtime`. Entries live in
|
|
35
|
+
`~/.librian/catalog.json`; `LIBRIAN_HOME` moves both.
|
|
36
|
+
- **One server for all folders.** `librian serve --catalog` is what the AI
|
|
37
|
+
services run: it offers the four tools for each entry, prefixed with the
|
|
38
|
+
entry name (`akms__read`). `librian serve --root <folder>` serves a single
|
|
39
|
+
folder with unprefixed tools, for registering by hand.
|