feat(ipuaro): add autocomplete configuration

- Add AutocompleteConfigSchema with enabled, source, maxSuggestions
- Update useAutocomplete hook to read from config
- Add 27 unit tests for autocomplete config
- Fix unused variable in Chat component
- Update ROADMAP and CHANGELOG
This commit is contained in:
imfozilbek
2025-12-02 02:26:36 +05:00
parent fa647c41aa
commit 60052c0db9
7 changed files with 280 additions and 15 deletions

View File

@@ -1648,7 +1648,7 @@ interface DiffViewProps {
## Version 0.22.0 - Extended Configuration ⚙️
**Priority:** MEDIUM
**Status:** In Progress (3/5 complete)
**Status:** In Progress (4/5 complete)
### 0.22.1 - Display Configuration ✅
@@ -1705,7 +1705,7 @@ export const ContextConfigSchema = z.object({
- [x] Configurable compression threshold
- [x] Unit tests (40 new tests: 32 schema, 8 ContextManager integration)
### 0.22.4 - Autocomplete Configuration
### 0.22.4 - Autocomplete Configuration
```typescript
// src/shared/constants/config.ts additions
@@ -1717,9 +1717,9 @@ export const AutocompleteConfigSchema = z.object({
```
**Deliverables:**
- [ ] AutocompleteConfigSchema in config.ts
- [ ] useAutocomplete reads from config
- [ ] Unit tests
- [x] AutocompleteConfigSchema in config.ts
- [x] useAutocomplete reads from config
- [x] Unit tests (27 tests)
### 0.22.5 - Commands Configuration