@plebeiantech/lat.md 0.12.3-fork.1 → 0.12.3-fork.3
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 +37 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://github.com/
|
|
7
|
-
<a href="https://www.npmjs.com/package/lat.md"><img src="https://img.shields.io/npm/v/lat.md" alt="npm"></a>
|
|
6
|
+
<a href="https://github.com/PlebeianTech/lat.md/actions/workflows/ci.yml"><img src="https://github.com/PlebeianTech/lat.md/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/@plebeiantech/lat.md"><img src="https://img.shields.io/npm/v/@plebeiantech/lat.md" alt="npm"></a>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
|
+
# Fork of https://github.com/vercel-labs/lat.md
|
|
11
|
+
|
|
10
12
|
<p align="center">A knowledge graph for your codebase, written in markdown.</p>
|
|
11
13
|
|
|
12
14
|
## The problem
|
|
@@ -35,12 +37,44 @@ The `lat` CLI gives agents and humans a system to navigate and maintain the grap
|
|
|
35
37
|
|
|
36
38
|
## Install
|
|
37
39
|
|
|
40
|
+
This is a fork. It publishes as [`@plebeiantech/lat.md`](https://www.npmjs.com/package/@plebeiantech/lat.md) and never under upstream's `lat.md` name, so the two can coexist.
|
|
41
|
+
|
|
42
|
+
With [mise](https://mise.jdx.dev/):
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
mise settings add minimum_release_age_excludes npm:@plebeiantech/lat.md
|
|
46
|
+
mise use -g npm:@plebeiantech/lat.md@latest
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The first line is needed once per machine. mise quarantines any npm version published in the last day or so, and a fresh release is invisible until that window passes — the exclude waives it for this package alone and leaves the guard in force for every other tool.
|
|
50
|
+
|
|
51
|
+
With npm:
|
|
52
|
+
|
|
38
53
|
```bash
|
|
39
|
-
npm install -g lat.md
|
|
54
|
+
npm install -g @plebeiantech/lat.md
|
|
40
55
|
```
|
|
41
56
|
|
|
57
|
+
Or straight from a GitHub Release, which needs no registry and no authentication:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm i -g --prefix ~/.local/lat https://github.com/PlebeianTech/lat.md/releases/latest/download/lat.md-latest.tgz
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
That last one wants `~/.local/lat/bin` on your `PATH`. A fixed prefix keeps the install independent of whichever Node version is active.
|
|
64
|
+
|
|
42
65
|
Then run `lat init` in the repo you want to use lat in.
|
|
43
66
|
|
|
67
|
+
### As a Claude Code plugin
|
|
68
|
+
|
|
69
|
+
The hooks are also packaged as a plugin, installable straight from this repository:
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
/plugin marketplace add PlebeianTech/lat.md
|
|
73
|
+
/plugin install lat-md@lat-md
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The plugin ships hooks only and finds `lat` on your `PATH`, accepting a build only if its version carries a `-fork` suffix.
|
|
77
|
+
|
|
44
78
|
## How it works
|
|
45
79
|
|
|
46
80
|
Run `lat init` to scaffold a `lat.md/` directory, then write markdown files describing your architecture, business logic, test specs — whatever matters. Link between sections using `[[file#Section#Subsection]]` syntax. Link to source code symbols with `[[src/auth.ts#validateToken]]`. Annotate source code with `// @lat: [[section-id]]` (or `# @lat: [[section-id]]` in Python) comments to tie implementation back to concepts.
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plebeiantech/lat.md",
|
|
3
|
-
"version": "0.12.3-fork.
|
|
3
|
+
"version": "0.12.3-fork.3",
|
|
4
4
|
"description": "A knowledge graph for your codebase, written in markdown",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Yury Selivanov",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/
|
|
10
|
+
"url": "https://github.com/PlebeianTech/lat.md.git"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.com/
|
|
12
|
+
"homepage": "https://github.com/PlebeianTech/lat.md",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"markdown",
|
|
15
15
|
"knowledge-graph",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"web-tree-sitter": "^0.26.6",
|
|
65
65
|
"yaml": "^2.8.2",
|
|
66
66
|
"zod": "^4.3.6",
|
|
67
|
-
"@lat.md/embed
|
|
68
|
-
"@lat.md/embed": "0.
|
|
67
|
+
"@lat.md/embed": "0.2.0",
|
|
68
|
+
"@lat.md/embed-minilm-fp16": "0.1.0"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "tsc && pnpm build:view",
|