@lmctl-ai/lmprobe-darwin-arm64 0.42.1
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/ATTRIBUTION.md +39 -0
- package/LICENSE +22 -0
- package/README.md +5 -0
- package/lmprobe +0 -0
- package/package.json +25 -0
package/ATTRIBUTION.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Attribution — fork of ast-grep
|
|
2
|
+
|
|
3
|
+
This repository (`lmctlhq/lmprobe-src`) is a hard fork of [ast-grep](https://github.com/ast-grep/ast-grep), forked on 2026-05-02 at upstream commit `b61e95f4`.
|
|
4
|
+
|
|
5
|
+
## What was kept from upstream
|
|
6
|
+
|
|
7
|
+
The following crates are **forks** of upstream ast-grep crates of the same name:
|
|
8
|
+
|
|
9
|
+
| Crate (this repo) | Upstream origin | Purpose |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `crates/core` | [ast-grep/ast-grep — `crates/core`](https://github.com/ast-grep/ast-grep/tree/main/crates/core) | AST pattern engine |
|
|
12
|
+
| `crates/config` | [ast-grep/ast-grep — `crates/config`](https://github.com/ast-grep/ast-grep/tree/main/crates/config) | Rule / scan configuration types |
|
|
13
|
+
| `crates/language` | [ast-grep/ast-grep — `crates/language`](https://github.com/ast-grep/ast-grep/tree/main/crates/language) | Tree-sitter language registry |
|
|
14
|
+
|
|
15
|
+
These keep their original `ast-grep-{core,config,language}` package names. They are **not** the published crates of the same name on crates.io; they are local-path workspace dependencies of `crates/lmprobe`. Do not attempt to publish them under those names.
|
|
16
|
+
|
|
17
|
+
Original ast-grep authors retain copyright on pre-fork code in those three crates. See `LICENSE` for the dual copyright lines (Herrington Darkholme — ast-grep upstream; lmctlhq / Mike Ma — lmprobe).
|
|
18
|
+
|
|
19
|
+
## What is lmprobe-original
|
|
20
|
+
|
|
21
|
+
The `crates/lmprobe` crate is the **lmprobe-original work**, designed and implemented in 2026 by Mike Ma (with assistance from Claude). The complete implementation arc is preserved in the git history of this repository — see commits from `1eecf757` ("Initial commit — fork of ast-grep upstream") onward.
|
|
22
|
+
|
|
23
|
+
`durable-memory/` is the project development/design/implementation memory plus AI-agent test cases. `durable-memory/historical/` retains pre-fork super-sg design docs for archaeology. `crates/lmprobe/CHANGELOG.md` documents the implementation phases.
|
|
24
|
+
|
|
25
|
+
## What was dropped from upstream
|
|
26
|
+
|
|
27
|
+
The following ast-grep crates / directories were not carried over:
|
|
28
|
+
|
|
29
|
+
- `crates/cli` (the `sg`/`ast-grep` CLI binary — lmprobe ships its own CLI in `crates/lmprobe/src/main.rs`)
|
|
30
|
+
- `crates/dynamic`, `crates/lsp`, `crates/napi`, `crates/pyo3`, `crates/wasm`, `crates/tools`
|
|
31
|
+
- `npm/`, `xtask/`, `benches/`, `website/`, `schemas/`, `fixtures/`
|
|
32
|
+
- Top-level CHANGELOG (preserved at `crates/lmprobe/CHANGELOG.md`)
|
|
33
|
+
- `.github/` workflows (lmprobe will set up its own CI separately)
|
|
34
|
+
|
|
35
|
+
## Hard fork posture
|
|
36
|
+
|
|
37
|
+
There is **no plan to merge upstream changes** from ast-grep into this repository. The forked crates evolve under lmprobe's release cadence; if upstream ast-grep ships a fix relevant to lmprobe, it will be applied as a patch with explicit attribution rather than via an automated merge.
|
|
38
|
+
|
|
39
|
+
If you are building a competing tool on top of upstream ast-grep, use the published `ast-grep-core` etc. from crates.io directly — not this repo's forks.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Herrington Darkholme (ast-grep upstream — see crates/{core,config,language} which are forks)
|
|
4
|
+
Copyright (c) 2026 lmctlhq / Mike Ma (lmprobe — see crates/lmprobe)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# @lmctl-ai/lmprobe-darwin-arm64
|
|
2
|
+
|
|
3
|
+
Prebuilt lmprobe binary for darwin-arm64. This package is installed automatically as a platform-specific dependency of [`@lmctl-ai/lmprobe`](https://www.npmjs.com/package/@lmctl-ai/lmprobe); do not depend on it directly.
|
|
4
|
+
|
|
5
|
+
Docs: https://lmctl.com/lmprobe
|
package/lmprobe
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lmctl-ai/lmprobe-darwin-arm64",
|
|
3
|
+
"version": "0.42.1",
|
|
4
|
+
"description": "Prebuilt lmprobe binary for darwin-arm64.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lmprobe",
|
|
7
|
+
"ast-grep",
|
|
8
|
+
"code-search",
|
|
9
|
+
"cli"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://lmctl.com/lmprobe",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"os": [
|
|
14
|
+
"darwin"
|
|
15
|
+
],
|
|
16
|
+
"cpu": [
|
|
17
|
+
"arm64"
|
|
18
|
+
],
|
|
19
|
+
"files": [
|
|
20
|
+
"lmprobe",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"ATTRIBUTION.md"
|
|
24
|
+
]
|
|
25
|
+
}
|