Skip to content

Commit 328fd30

Browse files
Merge pull request #311 from olasunkanmi-SE/f_e+
F e+
2 parents aafa578 + a06a714 commit 328fd30

File tree

14 files changed

+1007
-830
lines changed

14 files changed

+1007
-830
lines changed

esbuild.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ async function main() {
186186

187187
// Worker bundle
188188
const workerCtx = await esbuild.context({
189-
entryPoints: ["src/workers/ast-analyzer.worker.ts"],
189+
entryPoints: ["src/workers/ast-analyzer.worker.ts", "src/workers/codebase-analysis.worker.ts"],
190190
bundle: true,
191191
external: [
192192
"vscode",
@@ -202,7 +202,7 @@ async function main() {
202202
platform: "node",
203203
minify: production,
204204
sourcemap: !production,
205-
outfile: "dist/workers/ast-analyzer.worker.js",
205+
outdir: "dist/workers",
206206
metafile: true,
207207
logLevel: "info",
208208
plugins: [nodeModulesPlugin, treeShakingPlugin],

src/extension.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ export async function activate(context: vscode.ExtensionContext) {
232232
// Initialize ContextRetriever for semantic search
233233
const contextRetriever = ContextRetriever.initialize(context);
234234

235+
// Initialize Persistent Codebase Service and Git Watcher
236+
const persistentCodebaseService =
237+
PersistentCodebaseUnderstandingService.getInstance();
238+
persistentCodebaseService.initializeWatcher(context);
239+
235240
// Auto-index files on save using the optimized Worker Service
236241
context.subscriptions.push(
237242
vscode.workspace.onDidSaveTextDocument((document) => {

0 commit comments

Comments
 (0)