Skip to content

Commit 837f60e

Browse files
committed
chore: update lsmcp
1 parent 940990a commit 837f60e

1 file changed

Lines changed: 41 additions & 40 deletions

File tree

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
11
---
22
created: 2025-08-10T20:53:29.066Z
3-
updated: 2025-08-10T20:53:29.066Z
3+
updated: 2025-08-22T11:06:14.669Z
44
---
55

6-
# ccusage Symbol Index Configuration
7-
8-
## Project Information
6+
# Symbol Index Configuration for ccusage
97

8+
## Project Setup
109
- **Language**: TypeScript
11-
- **Root Directory**: /Users/ryoppippi/ghq/github.com/ryoppippi/ccusage
12-
- **Indexing Date**: 2025-08-10
13-
14-
## Index Configuration
15-
16-
- **Pattern Used**: `**/*.ts`
17-
- **Files Indexed**: 32
18-
- **Total Symbols**: 197
19-
- **Average Indexing Time**: 243ms per file
20-
21-
## Project Structure
22-
23-
- Main source code: `src/` directory
24-
- Test files: `test/` directory
25-
- Documentation: `docs/` directory
26-
- Configuration files: Root directory (tsconfig.json, vitest.config.ts, etc.)
27-
28-
## Key Observations
29-
30-
- Project is a CLI tool for analyzing Claude Code usage
31-
- Uses TypeScript with strict mode
32-
- Built with gunshi CLI framework
33-
- Has MCP server integration
34-
- Includes comprehensive test coverage with in-source testing
35-
36-
## Symbol Search Examples
37-
38-
- Search by name: `search_symbol_from_index { "name": "main", "root": "/Users/ryoppippi/ghq/github.com/ryoppippi/ccusage" }`
39-
- Search by kind: `search_symbol_from_index { "kind": "Function", "root": "/Users/ryoppippi/ghq/github.com/ryoppippi/ccusage" }`
40-
- Get file symbols: `get_document_symbols { "filePath": "src/data-loader.ts", "root": "/Users/ryoppippi/ghq/github.com/ryoppippi/ccusage" }`
41-
42-
## Notes
43-
44-
- LSP server successfully recognizes TypeScript files
45-
- Index updates automatically with file changes
46-
- Use incremental updates for better performance on subsequent runs
10+
- **Pattern Used**: `src/**/*.ts` (automatically indexed by project overview)
11+
- **Root Directory**: `/Users/ryoppippi/ghq/github.com/ryoppippi/ccusage`
12+
13+
## Index Statistics
14+
- **Total Files**: 37
15+
- **Total Symbols**: 226
16+
- **Indexing Time**: 3s
17+
- **Last Updated**: 2025-08-22T11:05:39.166Z
18+
19+
## Symbol Breakdown
20+
- **Classes**: 61
21+
- **Interfaces**: 0
22+
- **Functions**: 102
23+
- **Methods**: 31
24+
- **Properties**: 28
25+
26+
## Key Features Verified
27+
✅ Symbol search by name (e.g., 'main' finds 2 functions)
28+
✅ Symbol search by kind (e.g., 'Class' finds 61 classes)
29+
✅ LSP integration working (definitions, references, hover)
30+
✅ Project structure automatically detected
31+
32+
## Common Search Patterns
33+
- Search by name: `search_symbols --name "functionName"`
34+
- Search by type: `search_symbols --kind "Class"`
35+
- Search in specific file: `search_symbols --file "src/commands/"`
36+
- Get file symbols: `lsp_get_document_symbols --relativePath "src/index.ts"`
37+
38+
## Issues Encountered
39+
None - indexing completed successfully on first attempt.
40+
41+
## Architecture Notes
42+
This is a CLI tool for Claude Code usage analysis with clean TypeScript structure:
43+
- Main entry: `src/index.ts`
44+
- Commands: `src/commands/`
45+
- Internal utilities: `src/_*.ts` (underscore prefix)
46+
- Data types: `src/_types.ts`
47+
- Configuration: TypeScript with strict mode enabled

0 commit comments

Comments
 (0)