ucn 3.8.2 → 3.8.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/cli/index.js +1 -1
- package/core/parser.js +1 -1
- package/core/project.js +1 -1
- package/package.json +1 -1
package/cli/index.js
CHANGED
|
@@ -1052,7 +1052,7 @@ Usage:
|
|
|
1052
1052
|
═══════════════════════════════════════════════════════════════════════════════
|
|
1053
1053
|
UNDERSTAND CODE
|
|
1054
1054
|
═══════════════════════════════════════════════════════════════════════════════
|
|
1055
|
-
about <name>
|
|
1055
|
+
about <name> Full picture (definition, callers, callees, tests, code)
|
|
1056
1056
|
context <name> Who calls this + what it calls (numbered for expand)
|
|
1057
1057
|
smart <name> Function + all dependencies inline
|
|
1058
1058
|
impact <name> What breaks if changed (call sites grouped by file)
|
package/core/parser.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
const fs = require('fs');
|
|
9
9
|
const path = require('path');
|
|
10
|
-
const { detectLanguage, getParser, getLanguageModule, isSupported
|
|
10
|
+
const { detectLanguage, getParser, getLanguageModule, isSupported } = require('../languages');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @typedef {Object} FunctionDef
|
package/core/project.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
const fs = require('fs');
|
|
9
9
|
const path = require('path');
|
|
10
10
|
const crypto = require('crypto');
|
|
11
|
-
const {
|
|
11
|
+
const { execFileSync } = require('child_process');
|
|
12
12
|
const { expandGlob, findProjectRoot, detectProjectPattern, isTestFile, parseGitignore, DEFAULT_IGNORES } = require('./discovery');
|
|
13
13
|
const { extractImports, extractExports, resolveImport } = require('./imports');
|
|
14
14
|
const { parse, parseFile, cleanHtmlScriptTags } = require('./parser');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ucn",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.3",
|
|
4
4
|
"mcpName": "io.github.mleoca/ucn",
|
|
5
5
|
"description": "Code intelligence toolkit for AI agents — extract functions, trace call chains, find callers, detect dead code without reading entire files. Works as MCP server, CLI, or agent skill. Supports JS/TS, Python, Go, Rust, Java.",
|
|
6
6
|
"main": "index.js",
|