kotadb 2.2.0-next.20260204184036 → 2.2.0-next.20260204190831
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kotadb",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.20260204190831",
|
|
4
4
|
"description": "Local-only code intelligence tool for CLI agents. SQLite-backed repository indexing and code search via MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "src/index.ts",
|
package/src/indexer/constants.ts
CHANGED
package/src/indexer/parsers.ts
CHANGED
|
@@ -15,6 +15,7 @@ const SUPPORTED_EXTENSIONS = new Set<string>([
|
|
|
15
15
|
".cjs",
|
|
16
16
|
".mjs",
|
|
17
17
|
".json",
|
|
18
|
+
".sql",
|
|
18
19
|
]);
|
|
19
20
|
|
|
20
21
|
const IGNORED_DIRECTORIES = new Set<string>([
|
|
@@ -161,7 +162,8 @@ export async function parseSourceFile(
|
|
|
161
162
|
return null;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
|
-
|
|
165
|
+
// Skip dependency extraction for SQL files
|
|
166
|
+
const dependencies = extname(path) === ".sql" ? [] : extractDependencies(content);
|
|
165
167
|
|
|
166
168
|
return {
|
|
167
169
|
projectRoot: resolve(projectRoot),
|