Skip to content

Commit 396688c

Browse files
committed
chore: resolve merge conflicts with master and modernize CI
2 parents 5088de9 + 08de9b6 commit 396688c

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@ jobs:
4646
cache: 'pnpm'
4747
- run: pnpm install --frozen-lockfile
4848

49+
- name: Build
50+
run: pnpm build
51+
4952
- name: Run Tests
5053
run: pnpm test

src/index.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const indexState: IndexState = {
6262
status: 'idle'
6363
};
6464

65+
6566
const server: Server = new Server(
6667
{
6768
name: 'codebase-context',
@@ -537,19 +538,19 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
537538
lastIndexed: indexState.lastIndexed?.toISOString(),
538539
stats: indexState.stats
539540
? {
540-
totalFiles: indexState.stats.totalFiles,
541-
indexedFiles: indexState.stats.indexedFiles,
542-
totalChunks: indexState.stats.totalChunks,
543-
duration: `${(indexState.stats.duration / 1000).toFixed(2)}s`
544-
}
541+
totalFiles: indexState.stats.totalFiles,
542+
indexedFiles: indexState.stats.indexedFiles,
543+
totalChunks: indexState.stats.totalChunks,
544+
duration: `${(indexState.stats.duration / 1000).toFixed(2)}s`
545+
}
545546
: undefined,
546547
progress: progress
547548
? {
548-
phase: progress.phase,
549-
percentage: progress.percentage,
550-
filesProcessed: progress.filesProcessed,
551-
totalFiles: progress.totalFiles
552-
}
549+
phase: progress.phase,
550+
percentage: progress.percentage,
551+
filesProcessed: progress.filesProcessed,
552+
totalFiles: progress.totalFiles
553+
}
553554
: undefined,
554555
error: indexState.error,
555556
hint: 'Use refresh_index to manually trigger re-indexing when needed.'

0 commit comments

Comments
 (0)