skannr 0.1.2 → 0.1.4
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/.eslintrc.js +22 -22
- package/README.md +260 -151
- package/dist/agent-cli.js +25 -25
- package/dist/agent.js +4 -4
- package/dist/blast-radius.d.ts +80 -0
- package/dist/blast-radius.d.ts.map +1 -0
- package/dist/blast-radius.js +545 -0
- package/dist/blast-radius.js.map +1 -0
- package/dist/cli.js +55 -17
- package/dist/cli.js.map +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +98 -24
- package/dist/mcp-server.js.map +1 -1
- package/dist/telemetry.js +12 -12
- package/gemini-extension/GEMINI.md +26 -26
- package/gemini-extension/gemini-extension.json +12 -12
- package/gemini-extension/package.json +14 -14
- package/gemini-extension/src/server.ts +69 -69
- package/gemini-extension/tsconfig.json +14 -14
- package/jest.config.js +4 -4
- package/package.json +54 -53
- package/src/agent-cli.ts +397 -397
- package/src/agent.ts +344 -344
- package/src/benchmark.ts +389 -389
- package/src/blast-radius.ts +661 -0
- package/src/cache.ts +317 -317
- package/src/cli.ts +461 -415
- package/src/config.ts +22 -22
- package/src/formatter.ts +105 -105
- package/src/index.ts +223 -223
- package/src/languages/GenericAdapter.ts +44 -44
- package/src/languages/LanguageAdapter.ts +21 -21
- package/src/languages/PythonAdapter.ts +285 -285
- package/src/languages/TypeScriptAdapter.ts +453 -453
- package/src/languages/registry.ts +49 -49
- package/src/mapper.ts +455 -455
- package/src/mcp-cli.ts +8 -8
- package/src/mcp-server.ts +151 -103
- package/src/ranker-enhanced.ts +514 -514
- package/src/ranker.ts +110 -110
- package/src/scanner.ts +226 -226
- package/src/skeletonizer.ts +22 -22
- package/src/telemetry.ts +146 -146
- package/src/tokenizer.ts +20 -20
- package/src/types.ts +92 -92
- package/src/watcher.ts +119 -119
- package/src/why.ts +88 -88
- package/tests/agent.tools.test.ts +81 -81
- package/tests/benchmark.test.ts +30 -30
- package/tests/blast-radius.test.ts +290 -0
- package/tests/fixtures/sample.py +17 -17
- package/tests/fixtures/sample.ts +13 -13
- package/tests/fixtures/src/api/routes.ts +1 -1
- package/tests/fixtures/src/auth/permission.ts +3 -3
- package/tests/python-adapter.test.ts +31 -31
- package/tests/ranker-enhanced.test.ts +70 -70
- package/tests/ranker.test.ts +79 -79
- package/tests/scanner.scope.test.ts +66 -66
- package/tests/setup-fixtures.js +28 -28
- package/tests/skeletonizer.test.ts +149 -149
- package/tsconfig.json +21 -21
- package/uca-landing/index.html +17 -17
- package/uca-landing/package.json +23 -23
- package/uca-landing/postcss.config.js +6 -6
- package/uca-landing/src/App.jsx +43 -43
- package/uca-landing/src/components/AgentMode.jsx +45 -45
- package/uca-landing/src/components/CliReference.jsx +58 -58
- package/uca-landing/src/components/Features.jsx +82 -82
- package/uca-landing/src/components/Footer.jsx +35 -35
- package/uca-landing/src/components/Hero.jsx +125 -125
- package/uca-landing/src/components/HowItWorks.jsx +60 -60
- package/uca-landing/src/components/Install.jsx +103 -103
- package/uca-landing/src/components/LanguageSupport.jsx +63 -63
- package/uca-landing/src/components/Navbar.jsx +86 -86
- package/uca-landing/src/components/Problem.jsx +51 -51
- package/uca-landing/src/components/Reveal.jsx +40 -40
- package/uca-landing/src/components/WorksWith.jsx +59 -59
- package/uca-landing/src/hooks/useScrollNav.js +13 -13
- package/uca-landing/src/hooks/useTypewriter.js +41 -41
- package/uca-landing/src/index.css +13 -13
- package/uca-landing/src/main.jsx +10 -10
- package/uca-landing/tailwind.config.js +68 -68
- package/uca-landing/vercel.json +3 -3
- package/uca-landing/vite.config.js +6 -6
- package/dist/rocket-chat-scope.d.ts +0 -7
- package/dist/rocket-chat-scope.d.ts.map +0 -1
- package/dist/rocket-chat-scope.js +0 -95
- package/dist/rocket-chat-scope.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "skannr",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "A universal tool to analyze any codebase and generate semantic skeletons for AI agents",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"bin": {
|
|
8
|
-
"skannr": "dist/cli.js",
|
|
9
|
-
"skannr-benchmark": "dist/benchmark.js",
|
|
10
|
-
"skannr-agent": "dist/agent-cli.js",
|
|
11
|
-
"skannr-mcp": "dist/mcp-cli.js"
|
|
12
|
-
},
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"test": "jest",
|
|
16
|
-
"lint": "eslint src --ext .ts",
|
|
17
|
-
"start": "npm run build && node dist/cli.js",
|
|
18
|
-
"cli": "npm run build && node dist/cli.js",
|
|
19
|
-
"benchmark": "npm run build && node dist/benchmark.js",
|
|
20
|
-
"prepublishOnly": "npm run build"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"typescript",
|
|
24
|
-
"code-analysis",
|
|
25
|
-
"skeleton",
|
|
26
|
-
"ast"
|
|
27
|
-
],
|
|
28
|
-
"author": "",
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@google/generative-ai": "^0.21.0",
|
|
32
|
-
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
33
|
-
"chokidar": "^4.0.3",
|
|
34
|
-
"commander": "^12.1.0",
|
|
35
|
-
"ignore": "^7.0.5",
|
|
36
|
-
"
|
|
37
|
-
"tree-sitter
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"@types/
|
|
43
|
-
"@
|
|
44
|
-
"@typescript-eslint/
|
|
45
|
-
"eslint": "^
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "skannr",
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "A universal tool to analyze any codebase and generate semantic skeletons for AI agents",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"skannr": "dist/cli.js",
|
|
9
|
+
"skannr-benchmark": "dist/benchmark.js",
|
|
10
|
+
"skannr-agent": "dist/agent-cli.js",
|
|
11
|
+
"skannr-mcp": "dist/mcp-cli.js"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"test": "jest",
|
|
16
|
+
"lint": "eslint src --ext .ts",
|
|
17
|
+
"start": "npm run build && node dist/cli.js",
|
|
18
|
+
"cli": "npm run build && node dist/cli.js",
|
|
19
|
+
"benchmark": "npm run build && node dist/benchmark.js",
|
|
20
|
+
"prepublishOnly": "npm run build"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"typescript",
|
|
24
|
+
"code-analysis",
|
|
25
|
+
"skeleton",
|
|
26
|
+
"ast"
|
|
27
|
+
],
|
|
28
|
+
"author": "",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@google/generative-ai": "^0.21.0",
|
|
32
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
33
|
+
"chokidar": "^4.0.3",
|
|
34
|
+
"commander": "^12.1.0",
|
|
35
|
+
"ignore": "^7.0.5",
|
|
36
|
+
"parse-diff": "0.12.0",
|
|
37
|
+
"tree-sitter": "^0.25.0",
|
|
38
|
+
"tree-sitter-python": "^0.25.0",
|
|
39
|
+
"ts-morph": "^21.0.1"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@types/jest": "^29.5.11",
|
|
43
|
+
"@types/node": "^20.11.0",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
45
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
46
|
+
"eslint": "^8.56.0",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"ts-jest": "^29.1.1",
|
|
49
|
+
"typescript": "^5.3.3"
|
|
50
|
+
},
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=18.0.0"
|
|
53
|
+
}
|
|
54
|
+
}
|