ucn 3.7.26 → 3.7.27
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 +3 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,9 @@ ucn about handleRequest # full picture: definition, callers, callees, test
|
|
|
24
24
|
ucn impact handleRequest # all call sites with arguments
|
|
25
25
|
ucn trace main --depth=3 # call tree, no file reads
|
|
26
26
|
ucn deadcode # unused functions, AST-verified
|
|
27
|
+
ucn fn handleRequest # extract a function without reading the file
|
|
28
|
+
ucn toc # project overview
|
|
29
|
+
ucn --interactive # REPL mode, index stays in memory
|
|
27
30
|
```
|
|
28
31
|
|
|
29
32
|
Parses JS/TS, Python, Go, Rust, Java, and HTML with tree-sitter. Runs locally.
|
|
@@ -91,16 +94,6 @@ One command. No files opened. The full execution flow with every function locate
|
|
|
91
94
|
|
|
92
95
|
## Setup
|
|
93
96
|
|
|
94
|
-
### CLI
|
|
95
|
-
|
|
96
|
-
Already installed above. A few more examples:
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
ucn fn handleRequest --file api # extract function from specific file
|
|
100
|
-
ucn toc # project overview
|
|
101
|
-
ucn --interactive # REPL mode, index stays in memory
|
|
102
|
-
```
|
|
103
|
-
|
|
104
97
|
### MCP Server (for AI agents)
|
|
105
98
|
|
|
106
99
|
One-line setup:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ucn",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.27",
|
|
4
4
|
"mcpName": "io.github.mleoca/ucn",
|
|
5
5
|
"description": "Universal Code Navigator — AST-based call graph analysis for AI agents. Find callers, trace impact, detect dead code across JS/TS, Python, Go, Rust, Java, and HTML. CLI, MCP server, and agent skill.",
|
|
6
6
|
"main": "index.js",
|