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.20260204184036",
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",
@@ -25,6 +25,7 @@ export const SUPPORTED_EXTENSIONS = [
25
25
  ".jsx",
26
26
  ".mjs",
27
27
  ".cjs",
28
+ ".sql",
28
29
  ] as const;
29
30
 
30
31
  /**
@@ -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
- const dependencies = extractDependencies(content);
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),