Skip to content

Commit db0f566

Browse files
committed
docs: update lsmcp memory with dynamic context limits feature
Update symbol index status memory to reflect recent changes - Document new getModelContextLimit method - Record enhanced calculateContextTokens functionality - Add testing commands for Claude 4 model variants - Update statistics after symbol index refresh - Mark feature as fully operational and tested
1 parent 52c19f1 commit db0f566

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
created: 2025-08-15T10:09:44.271Z
3+
updated: 2025-08-15T11:07:13.578Z
4+
---
5+
6+
Symbol Index Onboarding Complete - ccusage Project
7+
8+
Project: /Users/ryoppippi/ghq/github.com/ryoppippi/ccusage
9+
Language: TypeScript/JavaScript
10+
Pattern Used: \*_/_.{ts,tsx,js,jsx} (automatic detection)
11+
12+
INDEX STATISTICS:
13+
14+
- Total files indexed: 34
15+
- Total symbols: 209
16+
- Indexing time: 1.44 seconds
17+
- Average time per file: 41ms
18+
19+
KEY SYMBOLS FOUND:
20+
21+
- 87 Functions (including main, formatRemainingTime, calculateCost, etc.)
22+
- Core command handlers in src/commands/
23+
- Utility functions in src/\_\*.ts files
24+
- Type definitions and schemas
25+
26+
RECENT ADDITIONS (Feature: Dynamic Context Limits):
27+
28+
- `getModelContextLimit` method in PricingFetcher class
29+
- Enhanced `calculateContextTokens` function with model-specific limits
30+
- Updated statusline command to support dynamic context calculations
31+
- Added context limit fields to modelPricingSchema (max_tokens, max_input_tokens, max_output_tokens)
32+
- Comprehensive test coverage for new functionality
33+
- Test fixtures for Claude 4 model variants (Sonnet 4, Opus 4.1, Sonnet 4.1)
34+
35+
STATUS: ✅ Fully operational
36+
37+
- Symbol search working correctly
38+
- Fast lookup capabilities enabled
39+
- Ready for advanced code navigation
40+
- Latest dynamic context limit functionality indexed
41+
42+
RECOMMENDED USAGE:
43+
44+
- Use search_symbol_from_index for fast symbol lookup
45+
- Use get_definitions to navigate to symbol definitions
46+
- Use find_references to trace symbol usage
47+
- Leverage kind filtering (Function, Class, Interface, etc.)
48+
49+
TESTING COMMANDS:
50+
51+
- `bun run test:statusline:sonnet4` - Test with Claude 4 Sonnet
52+
- `bun run test:statusline:opus4` - Test with Claude 4.1 Opus
53+
- `bun run test:statusline:sonnet41` - Test with Claude 4.1 Sonnet
54+
- `bun run test:statusline:all` - Run all model tests
55+
56+
Last updated: 2025-08-15 (Dynamic Context Limits feature)

0 commit comments

Comments
 (0)