You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17-27Lines changed: 17 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,31 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
-[ ] GitHub Copilot detailed usage (pending API availability)
14
14
-[ ] Web-based configuration UI
15
15
16
-
## [0.0.2] - 2026-01-19
17
-
18
-
### rc4 Improvements
19
-
20
-
-**Packaging Fix**: Added `schemas/` directory to npm package, which is required for configuration validation.
21
-
-**Build Fix**: Resolved issue where build artifacts were sometimes nested in `dist/src` due to stray files in the project root.
22
-
-**Clean Build**: Updated build script to automatically clear `dist/` before each build to ensure no stale files remain.
23
-
24
-
### rc3 Improvements
25
-
26
-
-**Release Candidate 3**: Version bump for final testing before stable 0.0.2 release.
27
-
28
-
### rc2 Improvements
29
-
30
-
-**Configurable Reset Threshold**: Added `historyResetThreshold` option (0-100) to `QuotaConfig` to allow fine-tuning of quota reset detection in `HistoryService`.
31
-
-**Improved Pattern Matching**: Relaxed token splitting in `QuotaService` to better handle common ID characters like hyphens and underscores.
32
-
-**Consistent Defaults**: Aligned `showUnaggregated` default to `false` across implementation, interface documentation, and JSON schema.
33
-
-**ConfigLoader Refinement**:
34
-
- Switched `validateConfig` to a synchronous implementation for better predictability during initialization.
35
-
- Enhanced deep cloning of `aggregatedGroups` to prevent shared array references between default and user configurations.
36
-
-**Type Safety**: Improved type safety in plugin initialization by replacing `any` with `unknown` for error handling.
37
-
-**Test Suite Enhancements**: Updated all unit test mocks to support the new `IHistoryService` interface, ensuring 100% test pass rate.
16
+
## [0.0.2] - 2026-01-20
38
17
39
18
### Added
40
19
20
+
-`historyResetThreshold` option (0-100) to allow fine-tuning quota reset detection in `HistoryService`
41
21
- End-to-end injection test that runs the OpenCode CLI when `OPENCODE_QUOTAS_E2E=1` is set
42
22
- Integration tests for default configuration behavior to prevent documentation drift
43
23
- Schema validation tests using AJV for configuration validation
@@ -48,36 +28,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
48
28
### Changed
49
29
50
30
-**Inline footer injection**: Switch from idle-based PATCH injection to inline injection via `experimental.text.complete`, modifying `output.text` directly for immediate, reliable footer display
31
+
- Relax token splitting in `QuotaService` to better handle common ID characters like hyphens and underscores
32
+
- Align `showUnaggregated` default to `false` across implementation, interface documentation, and JSON schema
33
+
- Switch `validateConfig` to synchronous validation for predictable initialization
34
+
- Deep clone `aggregatedGroups` defaults to prevent shared array references between default and user configurations
51
35
- Filter out internal/test Antigravity quotas (e.g. "chat 12345", "rev123") by default to reduce noise
52
36
- Extract `SHORT_WINDOW_FALLBACK_RATIO` constant in prediction engine for better code clarity
53
37
- Comprehensive test suite expanded from 46 to 175 tests with 383 assertions
54
38
- Updated default `progressBar.color` to `false` (was incorrectly documented as `true`)
55
-
- Clarified experimental GitHub Copilot provider status in documentation
56
39
57
40
### Fixed
58
41
42
+
- Include `schemas/` directory in npm package, required for configuration validation
43
+
- Resolve issue where build artifacts were sometimes nested in `dist/src` due to stray files in the project root
44
+
- Updated build script to automatically clear `dist/` before each build to ensure no stale files remain
59
45
- Skip footer injection for reasoning/subagent steps and incomplete messages, keeping quota footers limited to final responses only
60
46
- Only inject footer when message is complete (`finish === "stop"`) to prevent duplicate injections during streaming
61
47
- Fix footer injection patch payload to include required discriminator fields (`type: "text"`)
62
48
- Ensure ANSI colorization strictly respects `config.color` and is disabled by default
63
49
- Use build configuration (`tsconfig.build.json`) that emits to `dist/`
64
50
- Add missing `predictionShortWindowMinutes` default to `DEFAULT_CONFIG`
65
-
- Correct README to reflect `filterByCurrentModel` default is `false`
66
51
- Fix overlapping aggregation patterns with token-aware matching and regex/glob support
67
-
- Remove unused QuotaTool and stale docs
68
-
- Fix unused imports in logger.ts
69
-
- Fix `test-ag.ts` outdated API signature
52
+
- Fix unused imports in `src/logger.ts`
53
+
- Fix `tests/test-ag.ts` outdated API signature
70
54
- Add missing `patterns` and `providerId` fields to aggregatedGroups schema
71
55
- Fix schema mismatch between 'groups' vs 'aggregatedGroups'
0 commit comments