egent-code-plexus 0.5.1__py3-none-macosx_11_0_arm64.whl
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.
ecp/__init__.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""EgentCodePlexus (ecp) — prebuilt-binary launcher distributed on PyPI.
|
|
2
|
+
|
|
3
|
+
Each platform wheel ships exactly one native `ecp` binary alongside this
|
|
4
|
+
package. Import-time logic only locates it; the CLI entry point execs it.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
import sys
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
|
|
12
|
+
_BIN_NAME = "ecp.exe" if sys.platform == "win32" else "ecp"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def binary_path() -> Path:
|
|
16
|
+
"""Absolute path to the bundled ecp binary, or raise if the wheel for this
|
|
17
|
+
platform was not the one installed (e.g. forced wrong-platform install)."""
|
|
18
|
+
candidate = Path(__file__).parent / "_bin" / _BIN_NAME
|
|
19
|
+
if not candidate.exists():
|
|
20
|
+
raise FileNotFoundError(
|
|
21
|
+
f"ecp: bundled binary missing at {candidate}. The installed wheel "
|
|
22
|
+
f"does not match this platform ({sys.platform}). Reinstall with: "
|
|
23
|
+
f"uv tool install --reinstall egent-code-plexus"
|
|
24
|
+
)
|
|
25
|
+
return candidate
|
ecp/__main__.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""`python -m ecp` and the `ecp` console-script entry point.
|
|
2
|
+
|
|
3
|
+
Replace the current process with the native binary so signals, exit codes, and
|
|
4
|
+
stdio pass through transparently (no Python wrapper left in the process tree).
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
import os
|
|
10
|
+
import subprocess
|
|
11
|
+
import sys
|
|
12
|
+
|
|
13
|
+
from . import binary_path
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def main() -> int | None:
|
|
17
|
+
binary = str(binary_path())
|
|
18
|
+
argv = [binary, *sys.argv[1:]]
|
|
19
|
+
# POSIX: execv hands the process over entirely — zero overhead, native signals.
|
|
20
|
+
if sys.platform != "win32":
|
|
21
|
+
os.execv(binary, argv)
|
|
22
|
+
# Windows lacks a real execv; forward via subprocess and mirror the exit code.
|
|
23
|
+
return subprocess.run(argv, check=False).returncode
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
if __name__ == "__main__":
|
|
27
|
+
raise SystemExit(main())
|
ecp/_bin/ecp
ADDED
|
Binary file
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: egent-code-plexus
|
|
3
|
+
Version: 0.5.1
|
|
4
|
+
Summary: EgentCodePlexus (ecp) — symbol-level code intelligence graph for AI agents and LLMs
|
|
5
|
+
Project-URL: Homepage, https://github.com/coseto6125/egent-code-plexus
|
|
6
|
+
Project-URL: Repository, https://github.com/coseto6125/egent-code-plexus
|
|
7
|
+
Author: coseto6125
|
|
8
|
+
License: SEE LICENSE IN LICENSE.md
|
|
9
|
+
Keywords: ai-agents,ast,code-graph,code-intelligence,llm,tree-sitter
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Rust
|
|
12
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# egent-code-plexus (ecp)
|
|
17
|
+
|
|
18
|
+
Symbol-level code intelligence graph for AI agents and LLMs. Sub-30ms queries
|
|
19
|
+
answering "who calls X / what breaks if I change Y", across 30+ tree-sitter
|
|
20
|
+
languages. The `ecp` CLI is a native Rust binary; this PyPI package ships the
|
|
21
|
+
prebuilt binary for your platform — no Rust toolchain required.
|
|
22
|
+
|
|
23
|
+
## Install
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
# one-off run, no install
|
|
27
|
+
uvx egent-code-plexus --help
|
|
28
|
+
|
|
29
|
+
# install as a tool
|
|
30
|
+
uv tool install egent-code-plexus
|
|
31
|
+
ecp --version
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`pipx install egent-code-plexus` works too.
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
ecp find <symbol> # locate a definition
|
|
40
|
+
ecp impact --target <symbol> --direction upstream # who calls it
|
|
41
|
+
ecp routes # API route map
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
See the [project README](https://github.com/coseto6125/egent-code-plexus) for
|
|
45
|
+
the full command surface.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
ecp/__init__.py,sha256=L8V1xFPu4fMLSuVVKVx6hqfYTM3a2fcdyyzHQMaRONg,923
|
|
2
|
+
ecp/__main__.py,sha256=jFxrugi3KDnOO2xTxNKpxrjk4rgSaKd-aL896sRTIzQ,768
|
|
3
|
+
ecp/_bin/ecp,sha256=RS-Q4CCPe-elzaydbqiS-xsxnh2v-Fe9yKG2-7fWjeA,82493776
|
|
4
|
+
egent_code_plexus-0.5.1.dist-info/METADATA,sha256=IzyRzaEmjXxSrD2PXpKDccBEsPL2nrkv-pW4TPdKWoA,1469
|
|
5
|
+
egent_code_plexus-0.5.1.dist-info/WHEEL,sha256=DVUJrTnHPe4nHXrfSPuDNw4yuoLP4C12iop_O8nzZI4,102
|
|
6
|
+
egent_code_plexus-0.5.1.dist-info/entry_points.txt,sha256=4sB6VQ0D1vS3kXgvVtfMFzhqJSnTgUUqLEnsddO3ByM,42
|
|
7
|
+
egent_code_plexus-0.5.1.dist-info/RECORD,,
|