baseguard 1.0.3 โ 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.baseguardrc.example.json +63 -63
- package/.eslintrc.json +24 -24
- package/.prettierrc +7 -7
- package/CHANGELOG.md +195 -195
- package/DEPLOYMENT.md +624 -624
- package/DEPLOYMENT_CHECKLIST.md +239 -239
- package/DEPLOYMENT_SUMMARY_v1.0.2.md +202 -202
- package/QUICK_START.md +134 -134
- package/README.md +488 -488
- package/RELEASE_NOTES_v1.0.2.md +434 -434
- package/bin/base.js +627 -627
- package/dist/ai/fix-manager.d.ts.map +1 -1
- package/dist/ai/fix-manager.js +1 -1
- package/dist/ai/fix-manager.js.map +1 -1
- package/dist/ai/gemini-analyzer.d.ts.map +1 -1
- package/dist/ai/gemini-analyzer.js +29 -35
- package/dist/ai/gemini-analyzer.js.map +1 -1
- package/dist/ai/gemini-code-fixer.d.ts.map +1 -1
- package/dist/ai/gemini-code-fixer.js +58 -58
- package/dist/ai/gemini-code-fixer.js.map +1 -1
- package/dist/ai/jules-implementer.d.ts +3 -0
- package/dist/ai/jules-implementer.d.ts.map +1 -1
- package/dist/ai/jules-implementer.js +63 -32
- package/dist/ai/jules-implementer.js.map +1 -1
- package/dist/ai/unified-code-fixer.js.map +1 -1
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +1 -1
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/config.js +2 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/fix.d.ts.map +1 -1
- package/dist/commands/fix.js +44 -15
- package/dist/commands/fix.js.map +1 -1
- package/dist/core/api-key-manager.js +2 -2
- package/dist/core/api-key-manager.js.map +1 -1
- package/dist/core/baseguard.d.ts +1 -0
- package/dist/core/baseguard.d.ts.map +1 -1
- package/dist/core/baseguard.js +13 -10
- package/dist/core/baseguard.js.map +1 -1
- package/dist/core/baseline-checker.d.ts.map +1 -1
- package/dist/core/baseline-checker.js +2 -1
- package/dist/core/baseline-checker.js.map +1 -1
- package/dist/core/configuration-recovery.d.ts.map +1 -1
- package/dist/core/configuration-recovery.js +1 -1
- package/dist/core/configuration-recovery.js.map +1 -1
- package/dist/core/debug-logger.d.ts.map +1 -1
- package/dist/core/debug-logger.js +1 -1
- package/dist/core/debug-logger.js.map +1 -1
- package/dist/core/error-handler.d.ts.map +1 -1
- package/dist/core/error-handler.js +2 -1
- package/dist/core/error-handler.js.map +1 -1
- package/dist/core/gitignore-manager.js +5 -5
- package/dist/core/graceful-degradation-manager.d.ts.map +1 -1
- package/dist/core/graceful-degradation-manager.js +16 -16
- package/dist/core/graceful-degradation-manager.js.map +1 -1
- package/dist/core/lazy-loader.d.ts.map +1 -1
- package/dist/core/lazy-loader.js +9 -2
- package/dist/core/lazy-loader.js.map +1 -1
- package/dist/core/memory-manager.d.ts +0 -3
- package/dist/core/memory-manager.d.ts.map +1 -1
- package/dist/core/memory-manager.js.map +1 -1
- package/dist/core/parser-worker.d.ts +2 -0
- package/dist/core/parser-worker.d.ts.map +1 -0
- package/dist/core/parser-worker.js +19 -0
- package/dist/core/parser-worker.js.map +1 -0
- package/dist/core/startup-optimizer.d.ts.map +1 -1
- package/dist/core/startup-optimizer.js +4 -8
- package/dist/core/startup-optimizer.js.map +1 -1
- package/dist/core/system-error-handler.d.ts.map +1 -1
- package/dist/core/system-error-handler.js.map +1 -1
- package/dist/git/automation-engine.d.ts.map +1 -1
- package/dist/git/automation-engine.js +5 -4
- package/dist/git/automation-engine.js.map +1 -1
- package/dist/git/github-manager.d.ts.map +1 -1
- package/dist/git/github-manager.js.map +1 -1
- package/dist/git/hook-manager.js +5 -5
- package/dist/git/hook-manager.js.map +1 -1
- package/dist/parsers/parser-manager.d.ts.map +1 -1
- package/dist/parsers/parser-manager.js +1 -1
- package/dist/parsers/parser-manager.js.map +1 -1
- package/dist/parsers/svelte-parser.js +1 -1
- package/dist/parsers/svelte-parser.js.map +1 -1
- package/dist/parsers/vanilla-parser.d.ts.map +1 -1
- package/dist/parsers/vanilla-parser.js.map +1 -1
- package/dist/parsers/vue-parser.d.ts.map +1 -1
- package/dist/parsers/vue-parser.js.map +1 -1
- package/dist/ui/components.d.ts +1 -1
- package/dist/ui/components.d.ts.map +1 -1
- package/dist/ui/components.js +11 -11
- package/dist/ui/components.js.map +1 -1
- package/dist/ui/terminal-header.js +14 -14
- package/package.json +105 -105
- package/src/ai/__tests__/gemini-analyzer.test.ts +180 -180
- package/src/ai/agentkit-orchestrator.ts +533 -533
- package/src/ai/fix-manager.ts +362 -362
- package/src/ai/gemini-analyzer.ts +665 -671
- package/src/ai/gemini-code-fixer.ts +539 -540
- package/src/ai/index.ts +3 -3
- package/src/ai/jules-implementer.ts +504 -460
- package/src/ai/unified-code-fixer.ts +347 -347
- package/src/commands/automation.ts +343 -343
- package/src/commands/check.ts +298 -299
- package/src/commands/config.ts +584 -583
- package/src/commands/fix.ts +264 -238
- package/src/commands/index.ts +6 -6
- package/src/commands/init.ts +155 -155
- package/src/commands/status.ts +306 -306
- package/src/core/api-key-manager.ts +298 -298
- package/src/core/baseguard.ts +757 -756
- package/src/core/baseline-checker.ts +564 -563
- package/src/core/cache-manager.ts +271 -271
- package/src/core/configuration-recovery.ts +672 -673
- package/src/core/configuration.ts +595 -595
- package/src/core/debug-logger.ts +590 -590
- package/src/core/directory-filter.ts +420 -420
- package/src/core/error-handler.ts +518 -517
- package/src/core/file-processor.ts +337 -337
- package/src/core/gitignore-manager.ts +168 -168
- package/src/core/graceful-degradation-manager.ts +596 -596
- package/src/core/index.ts +16 -16
- package/src/core/lazy-loader.ts +317 -307
- package/src/core/memory-manager.ts +290 -295
- package/src/core/parser-worker.ts +33 -0
- package/src/core/startup-optimizer.ts +246 -255
- package/src/core/system-error-handler.ts +755 -756
- package/src/git/automation-engine.ts +361 -361
- package/src/git/github-manager.ts +190 -192
- package/src/git/hook-manager.ts +210 -210
- package/src/git/index.ts +3 -3
- package/src/index.ts +7 -7
- package/src/parsers/feature-validator.ts +558 -558
- package/src/parsers/index.ts +7 -7
- package/src/parsers/parser-manager.ts +418 -419
- package/src/parsers/parser.ts +25 -25
- package/src/parsers/react-parser-optimized.ts +160 -160
- package/src/parsers/react-parser.ts +358 -358
- package/src/parsers/svelte-parser.ts +510 -510
- package/src/parsers/vanilla-parser.ts +685 -686
- package/src/parsers/vue-parser.ts +476 -478
- package/src/types/index.ts +95 -95
- package/src/ui/components.ts +567 -567
- package/src/ui/help.ts +192 -192
- package/src/ui/index.ts +3 -3
- package/src/ui/prompts.ts +680 -680
- package/src/ui/terminal-header.ts +58 -58
- package/test-build.js +40 -40
- package/test-config-commands.js +55 -55
- package/test-header-simple.js +32 -32
- package/test-terminal-header.js +11 -11
- package/test-ui.js +28 -28
- package/tests/e2e/baseguard.e2e.test.ts +515 -515
- package/tests/e2e/cross-platform.e2e.test.ts +419 -419
- package/tests/e2e/git-integration.e2e.test.ts +486 -486
- package/tests/fixtures/react-project/package.json +13 -13
- package/tests/fixtures/react-project/src/App.css +75 -75
- package/tests/fixtures/react-project/src/App.tsx +76 -76
- package/tests/fixtures/svelte-project/package.json +10 -10
- package/tests/fixtures/svelte-project/src/App.svelte +368 -368
- package/tests/fixtures/vanilla-project/index.html +75 -75
- package/tests/fixtures/vanilla-project/script.js +330 -330
- package/tests/fixtures/vanilla-project/styles.css +358 -358
- package/tests/fixtures/vue-project/package.json +11 -11
- package/tests/fixtures/vue-project/src/App.vue +215 -215
- package/tsconfig.json +34 -34
- package/vitest.config.ts +11 -11
- package/dist/terminal-header.d.ts +0 -12
- package/dist/terminal-header.js +0 -45
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "1.0.2",
|
|
3
|
-
"targets": [
|
|
4
|
-
"chrome baseline",
|
|
5
|
-
"firefox baseline",
|
|
6
|
-
"safari baseline"
|
|
7
|
-
],
|
|
8
|
-
"codingAgent": {
|
|
9
|
-
"primary": "gemini",
|
|
10
|
-
"fallback": "jules"
|
|
11
|
-
},
|
|
12
|
-
"apiKeys": {
|
|
13
|
-
"gemini": "AIza...",
|
|
14
|
-
"jules": "your-jules-api-key"
|
|
15
|
-
},
|
|
16
|
-
"automation": {
|
|
17
|
-
"enabled": true,
|
|
18
|
-
"trigger": "pre-commit",
|
|
19
|
-
"autoAnalysis": true,
|
|
20
|
-
"autoFix": false,
|
|
21
|
-
"blockCommits": true
|
|
22
|
-
},
|
|
23
|
-
"files": {
|
|
24
|
-
"include": [
|
|
25
|
-
"src/**/*.{js,jsx,ts,tsx,vue,svelte,css,html}",
|
|
26
|
-
"components/**/*.{js,jsx,ts,tsx,vue,svelte}",
|
|
27
|
-
"pages/**/*.{js,jsx,ts,tsx,vue,svelte}"
|
|
28
|
-
],
|
|
29
|
-
"exclude": [
|
|
30
|
-
"node_modules/**",
|
|
31
|
-
"dist/**",
|
|
32
|
-
"build/**",
|
|
33
|
-
".next/**",
|
|
34
|
-
"coverage/**",
|
|
35
|
-
"**/*.min.js",
|
|
36
|
-
"**/*.min.css",
|
|
37
|
-
"**/*.test.{js,ts,jsx,tsx}",
|
|
38
|
-
"**/*.spec.{js,ts,jsx,tsx}"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"performance": {
|
|
42
|
-
"maxWorkers": 8,
|
|
43
|
-
"maxFiles": 5000,
|
|
44
|
-
"cacheSize": 2000,
|
|
45
|
-
"streamThreshold": 10485760
|
|
46
|
-
},
|
|
47
|
-
"output": {
|
|
48
|
-
"format": "table",
|
|
49
|
-
"verbose": false,
|
|
50
|
-
"colors": true,
|
|
51
|
-
"showContext": true
|
|
52
|
-
},
|
|
53
|
-
"analysis": {
|
|
54
|
-
"enableGrounding": true,
|
|
55
|
-
"confidenceThreshold": 0.7,
|
|
56
|
-
"maxSuggestions": 3,
|
|
57
|
-
"includeExamples": true
|
|
58
|
-
},
|
|
59
|
-
"security": {
|
|
60
|
-
"validateApiKeys": true,
|
|
61
|
-
"autoAddToGitignore": true,
|
|
62
|
-
"encryptConfig": false
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.2",
|
|
3
|
+
"targets": [
|
|
4
|
+
"chrome baseline",
|
|
5
|
+
"firefox baseline",
|
|
6
|
+
"safari baseline"
|
|
7
|
+
],
|
|
8
|
+
"codingAgent": {
|
|
9
|
+
"primary": "gemini",
|
|
10
|
+
"fallback": "jules"
|
|
11
|
+
},
|
|
12
|
+
"apiKeys": {
|
|
13
|
+
"gemini": "AIza...",
|
|
14
|
+
"jules": "your-jules-api-key"
|
|
15
|
+
},
|
|
16
|
+
"automation": {
|
|
17
|
+
"enabled": true,
|
|
18
|
+
"trigger": "pre-commit",
|
|
19
|
+
"autoAnalysis": true,
|
|
20
|
+
"autoFix": false,
|
|
21
|
+
"blockCommits": true
|
|
22
|
+
},
|
|
23
|
+
"files": {
|
|
24
|
+
"include": [
|
|
25
|
+
"src/**/*.{js,jsx,ts,tsx,vue,svelte,css,html}",
|
|
26
|
+
"components/**/*.{js,jsx,ts,tsx,vue,svelte}",
|
|
27
|
+
"pages/**/*.{js,jsx,ts,tsx,vue,svelte}"
|
|
28
|
+
],
|
|
29
|
+
"exclude": [
|
|
30
|
+
"node_modules/**",
|
|
31
|
+
"dist/**",
|
|
32
|
+
"build/**",
|
|
33
|
+
".next/**",
|
|
34
|
+
"coverage/**",
|
|
35
|
+
"**/*.min.js",
|
|
36
|
+
"**/*.min.css",
|
|
37
|
+
"**/*.test.{js,ts,jsx,tsx}",
|
|
38
|
+
"**/*.spec.{js,ts,jsx,tsx}"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"performance": {
|
|
42
|
+
"maxWorkers": 8,
|
|
43
|
+
"maxFiles": 5000,
|
|
44
|
+
"cacheSize": 2000,
|
|
45
|
+
"streamThreshold": 10485760
|
|
46
|
+
},
|
|
47
|
+
"output": {
|
|
48
|
+
"format": "table",
|
|
49
|
+
"verbose": false,
|
|
50
|
+
"colors": true,
|
|
51
|
+
"showContext": true
|
|
52
|
+
},
|
|
53
|
+
"analysis": {
|
|
54
|
+
"enableGrounding": true,
|
|
55
|
+
"confidenceThreshold": 0.7,
|
|
56
|
+
"maxSuggestions": 3,
|
|
57
|
+
"includeExamples": true
|
|
58
|
+
},
|
|
59
|
+
"security": {
|
|
60
|
+
"validateApiKeys": true,
|
|
61
|
+
"autoAddToGitignore": true,
|
|
62
|
+
"encryptConfig": false
|
|
63
|
+
}
|
|
64
64
|
}
|
package/.eslintrc.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"parser": "@typescript-eslint/parser",
|
|
4
|
-
"plugins": ["@typescript-eslint"],
|
|
5
|
-
"extends": [
|
|
6
|
-
"eslint:recommended",
|
|
7
|
-
"plugin:@typescript-eslint/recommended"
|
|
8
|
-
],
|
|
9
|
-
"parserOptions": {
|
|
10
|
-
"ecmaVersion": 2022,
|
|
11
|
-
"sourceType": "module"
|
|
12
|
-
},
|
|
13
|
-
"rules": {
|
|
14
|
-
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
|
15
|
-
"@typescript-eslint/no-explicit-any": "warn",
|
|
16
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
17
|
-
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
18
|
-
"prefer-const": "error",
|
|
19
|
-
"no-var": "error"
|
|
20
|
-
},
|
|
21
|
-
"env": {
|
|
22
|
-
"node": true,
|
|
23
|
-
"es2022": true
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"parser": "@typescript-eslint/parser",
|
|
4
|
+
"plugins": ["@typescript-eslint"],
|
|
5
|
+
"extends": [
|
|
6
|
+
"eslint:recommended",
|
|
7
|
+
"plugin:@typescript-eslint/recommended"
|
|
8
|
+
],
|
|
9
|
+
"parserOptions": {
|
|
10
|
+
"ecmaVersion": 2022,
|
|
11
|
+
"sourceType": "module"
|
|
12
|
+
},
|
|
13
|
+
"rules": {
|
|
14
|
+
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
|
15
|
+
"@typescript-eslint/no-explicit-any": "warn",
|
|
16
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
17
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
18
|
+
"prefer-const": "error",
|
|
19
|
+
"no-var": "error"
|
|
20
|
+
},
|
|
21
|
+
"env": {
|
|
22
|
+
"node": true,
|
|
23
|
+
"es2022": true
|
|
24
|
+
}
|
|
25
25
|
}
|
package/.prettierrc
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi": true,
|
|
3
|
-
"trailingComma": "es5",
|
|
4
|
-
"singleQuote": true,
|
|
5
|
-
"printWidth": 100,
|
|
6
|
-
"tabWidth": 2,
|
|
7
|
-
"useTabs": false
|
|
1
|
+
{
|
|
2
|
+
"semi": true,
|
|
3
|
+
"trailingComma": "es5",
|
|
4
|
+
"singleQuote": true,
|
|
5
|
+
"printWidth": 100,
|
|
6
|
+
"tabWidth": 2,
|
|
7
|
+
"useTabs": false
|
|
8
8
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,196 +1,196 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to BaseGuard will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [1.0.2] - 2025-10-06
|
|
9
|
-
|
|
10
|
-
### ๐ Major Features Added
|
|
11
|
-
|
|
12
|
-
#### Dual AI Coding Agent System
|
|
13
|
-
- **Added Gemini 2.5 Pro Code Fixer** - Works with any files (GitHub or not, committed or uncommitted)
|
|
14
|
-
- **Enhanced Jules Integration** - Simplified GitHub repository integration
|
|
15
|
-
- **Unified Code Fixer** - Intelligent agent selection with automatic fallback
|
|
16
|
-
- **Agent Configuration** - Users can choose primary/fallback agents during setup
|
|
17
|
-
- **Interactive Agent Selection** - `base config coding-agent` command for easy switching
|
|
18
|
-
|
|
19
|
-
#### Comprehensive Error Recovery & Graceful Degradation
|
|
20
|
-
- **Enhanced SystemErrorHandler** - 12+ automatic recovery strategies
|
|
21
|
-
- **GracefulDegradationManager** - 4 operational modes (Full, AI Limited, Offline, Minimal)
|
|
22
|
-
- **ConfigurationRecovery** - Automatic repair of corrupted configurations
|
|
23
|
-
- **DebugLogger** - Session-based logging with performance tracking
|
|
24
|
-
- **Offline Mode** - Full baseline checking without network dependencies
|
|
25
|
-
|
|
26
|
-
#### Advanced Performance Optimizations
|
|
27
|
-
- **StartupOptimizer** - Lazy loading and memory management
|
|
28
|
-
- **MemoryManager** - Streaming file processing and efficient data structures
|
|
29
|
-
- **LazyLoader** - On-demand dependency loading with caching
|
|
30
|
-
- **Concurrent Processing** - Multi-threaded file analysis with worker pools
|
|
31
|
-
|
|
32
|
-
### ๐ง Enhanced Features
|
|
33
|
-
|
|
34
|
-
#### CLI Improvements
|
|
35
|
-
- **Enhanced Help System** - Comprehensive command documentation with examples
|
|
36
|
-
- **Status Command** - `base status` for system health monitoring
|
|
37
|
-
- **Diagnostics Command** - `base diagnostics` for comprehensive troubleshooting
|
|
38
|
-
- **Recovery Commands** - `base config recover` for configuration repair
|
|
39
|
-
- **Debug Mode** - `--debug` flag for detailed logging across all commands
|
|
40
|
-
|
|
41
|
-
#### Git Integration Enhancements
|
|
42
|
-
- **Robust Hook Management** - Improved Husky integration with error handling
|
|
43
|
-
- **Automation Engine** - Enhanced pre-commit/pre-push workflow
|
|
44
|
-
- **Configuration Persistence** - Better automation settings management
|
|
45
|
-
- **Cross-platform Support** - Improved Windows, macOS, and Linux compatibility
|
|
46
|
-
|
|
47
|
-
#### API Integration Improvements
|
|
48
|
-
- **Gemini 2.5 Pro Integration** - Real-time web search grounding
|
|
49
|
-
- **Jules API Enhancement** - Simplified repository detection
|
|
50
|
-
- **Error Handling** - Comprehensive API error recovery
|
|
51
|
-
- **Rate Limiting** - Intelligent retry mechanisms with exponential backoff
|
|
52
|
-
|
|
53
|
-
### ๐ Bug Fixes
|
|
54
|
-
|
|
55
|
-
#### Configuration System
|
|
56
|
-
- Fixed configuration corruption recovery
|
|
57
|
-
- Improved validation and migration between versions
|
|
58
|
-
- Enhanced security with automatic .gitignore management
|
|
59
|
-
- Better error messages for configuration issues
|
|
60
|
-
|
|
61
|
-
#### File Processing
|
|
62
|
-
- Fixed memory leaks in large codebase processing
|
|
63
|
-
- Improved streaming for large files
|
|
64
|
-
- Enhanced concurrent processing stability
|
|
65
|
-
- Better error handling for malformed files
|
|
66
|
-
|
|
67
|
-
#### CLI Experience
|
|
68
|
-
- Fixed terminal output formatting issues
|
|
69
|
-
- Improved spinner and progress indicator reliability
|
|
70
|
-
- Enhanced error message clarity and actionability
|
|
71
|
-
- Better cross-platform terminal compatibility
|
|
72
|
-
|
|
73
|
-
### ๐ Breaking Changes
|
|
74
|
-
|
|
75
|
-
#### Configuration Format Updates
|
|
76
|
-
- Added `codingAgent` configuration section
|
|
77
|
-
- Updated browser target validation
|
|
78
|
-
- Enhanced API key management structure
|
|
79
|
-
|
|
80
|
-
#### Command Interface Changes
|
|
81
|
-
- Simplified GitHub integration (removed unnecessary setup flows)
|
|
82
|
-
- Enhanced `base fix` command with agent selection
|
|
83
|
-
- Updated `base config` subcommands structure
|
|
84
|
-
|
|
85
|
-
### ๐ Performance Improvements
|
|
86
|
-
|
|
87
|
-
#### Startup Time
|
|
88
|
-
- Reduced initial load time by 60% through lazy loading
|
|
89
|
-
- Optimized dependency loading with background preloading
|
|
90
|
-
- Enhanced memory usage with efficient data structures
|
|
91
|
-
|
|
92
|
-
#### File Processing
|
|
93
|
-
- Improved large codebase handling (1000+ files)
|
|
94
|
-
- Enhanced concurrent processing with worker threads
|
|
95
|
-
- Optimized memory usage with streaming and batching
|
|
96
|
-
|
|
97
|
-
#### Network Operations
|
|
98
|
-
- Intelligent caching for API responses
|
|
99
|
-
- Offline-first baseline checking
|
|
100
|
-
- Enhanced retry mechanisms for network failures
|
|
101
|
-
|
|
102
|
-
### ๐ Documentation
|
|
103
|
-
|
|
104
|
-
#### Comprehensive README
|
|
105
|
-
- Complete setup guide for both Gemini and Jules
|
|
106
|
-
- Detailed command reference with examples
|
|
107
|
-
- Troubleshooting guide with common solutions
|
|
108
|
-
- Advanced usage patterns and CI/CD integration
|
|
109
|
-
|
|
110
|
-
#### API Documentation
|
|
111
|
-
- Enhanced inline code documentation
|
|
112
|
-
- Comprehensive error handling examples
|
|
113
|
-
- Performance optimization guidelines
|
|
114
|
-
|
|
115
|
-
### ๐ Security Improvements
|
|
116
|
-
|
|
117
|
-
#### API Key Management
|
|
118
|
-
- Enhanced secure storage with automatic .gitignore
|
|
119
|
-
- Improved validation and format checking
|
|
120
|
-
- Better error handling for invalid keys
|
|
121
|
-
|
|
122
|
-
#### Configuration Security
|
|
123
|
-
- Automatic backup creation before changes
|
|
124
|
-
- Enhanced validation and corruption detection
|
|
125
|
-
- Secure default configurations
|
|
126
|
-
|
|
127
|
-
### ๐งช Testing & Quality
|
|
128
|
-
|
|
129
|
-
#### Enhanced Test Coverage
|
|
130
|
-
- Comprehensive end-to-end test suite
|
|
131
|
-
- Cross-platform compatibility testing
|
|
132
|
-
- Error recovery scenario testing
|
|
133
|
-
- Performance benchmark testing
|
|
134
|
-
|
|
135
|
-
#### Code Quality
|
|
136
|
-
- Enhanced TypeScript strict mode compliance
|
|
137
|
-
- Comprehensive error handling throughout codebase
|
|
138
|
-
- Improved code documentation and inline comments
|
|
139
|
-
|
|
140
|
-
### ๐ฆ Dependencies
|
|
141
|
-
|
|
142
|
-
#### Updated Dependencies
|
|
143
|
-
- Updated to latest web-features package
|
|
144
|
-
- Enhanced Babel parser integration
|
|
145
|
-
- Improved PostCSS and Vue compiler support
|
|
146
|
-
- Updated CLI dependencies (chalk, ora, inquirer)
|
|
147
|
-
|
|
148
|
-
#### New Dependencies
|
|
149
|
-
- Added support for advanced file processing
|
|
150
|
-
- Enhanced git integration libraries
|
|
151
|
-
- Improved terminal output formatting
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
## [1.0.1] - 2024-12-15
|
|
156
|
-
|
|
157
|
-
### Initial Release Features
|
|
158
|
-
|
|
159
|
-
#### Core Functionality
|
|
160
|
-
- Browser compatibility checking using official Baseline data
|
|
161
|
-
- Support for React, Vue, Svelte, and vanilla JS/CSS
|
|
162
|
-
- Basic CLI interface with check and fix commands
|
|
163
|
-
- Git hooks integration with Husky
|
|
164
|
-
|
|
165
|
-
#### AI Integration
|
|
166
|
-
- Basic Gemini AI analysis integration
|
|
167
|
-
- Jules autonomous fixing integration
|
|
168
|
-
- Simple error handling and recovery
|
|
169
|
-
|
|
170
|
-
#### Configuration System
|
|
171
|
-
- Basic .baseguardrc.json configuration
|
|
172
|
-
- Browser target management
|
|
173
|
-
- API key storage
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## [1.0.0] - 2024-12-10
|
|
178
|
-
|
|
179
|
-
### Project Initialization
|
|
180
|
-
- Initial project structure
|
|
181
|
-
- Basic TypeScript setup
|
|
182
|
-
- Core architecture design
|
|
183
|
-
- Initial CLI framework
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
**Legend:**
|
|
188
|
-
- ๐ Major Features
|
|
189
|
-
- ๐ง Enhancements
|
|
190
|
-
- ๐ Bug Fixes
|
|
191
|
-
- ๐ Breaking Changes
|
|
192
|
-
- ๐ Performance
|
|
193
|
-
- ๐ Documentation
|
|
194
|
-
- ๐ Security
|
|
195
|
-
- ๐งช Testing
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to BaseGuard will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.0.2] - 2025-10-06
|
|
9
|
+
|
|
10
|
+
### ๐ Major Features Added
|
|
11
|
+
|
|
12
|
+
#### Dual AI Coding Agent System
|
|
13
|
+
- **Added Gemini 2.5 Pro Code Fixer** - Works with any files (GitHub or not, committed or uncommitted)
|
|
14
|
+
- **Enhanced Jules Integration** - Simplified GitHub repository integration
|
|
15
|
+
- **Unified Code Fixer** - Intelligent agent selection with automatic fallback
|
|
16
|
+
- **Agent Configuration** - Users can choose primary/fallback agents during setup
|
|
17
|
+
- **Interactive Agent Selection** - `base config coding-agent` command for easy switching
|
|
18
|
+
|
|
19
|
+
#### Comprehensive Error Recovery & Graceful Degradation
|
|
20
|
+
- **Enhanced SystemErrorHandler** - 12+ automatic recovery strategies
|
|
21
|
+
- **GracefulDegradationManager** - 4 operational modes (Full, AI Limited, Offline, Minimal)
|
|
22
|
+
- **ConfigurationRecovery** - Automatic repair of corrupted configurations
|
|
23
|
+
- **DebugLogger** - Session-based logging with performance tracking
|
|
24
|
+
- **Offline Mode** - Full baseline checking without network dependencies
|
|
25
|
+
|
|
26
|
+
#### Advanced Performance Optimizations
|
|
27
|
+
- **StartupOptimizer** - Lazy loading and memory management
|
|
28
|
+
- **MemoryManager** - Streaming file processing and efficient data structures
|
|
29
|
+
- **LazyLoader** - On-demand dependency loading with caching
|
|
30
|
+
- **Concurrent Processing** - Multi-threaded file analysis with worker pools
|
|
31
|
+
|
|
32
|
+
### ๐ง Enhanced Features
|
|
33
|
+
|
|
34
|
+
#### CLI Improvements
|
|
35
|
+
- **Enhanced Help System** - Comprehensive command documentation with examples
|
|
36
|
+
- **Status Command** - `base status` for system health monitoring
|
|
37
|
+
- **Diagnostics Command** - `base diagnostics` for comprehensive troubleshooting
|
|
38
|
+
- **Recovery Commands** - `base config recover` for configuration repair
|
|
39
|
+
- **Debug Mode** - `--debug` flag for detailed logging across all commands
|
|
40
|
+
|
|
41
|
+
#### Git Integration Enhancements
|
|
42
|
+
- **Robust Hook Management** - Improved Husky integration with error handling
|
|
43
|
+
- **Automation Engine** - Enhanced pre-commit/pre-push workflow
|
|
44
|
+
- **Configuration Persistence** - Better automation settings management
|
|
45
|
+
- **Cross-platform Support** - Improved Windows, macOS, and Linux compatibility
|
|
46
|
+
|
|
47
|
+
#### API Integration Improvements
|
|
48
|
+
- **Gemini 2.5 Pro Integration** - Real-time web search grounding
|
|
49
|
+
- **Jules API Enhancement** - Simplified repository detection
|
|
50
|
+
- **Error Handling** - Comprehensive API error recovery
|
|
51
|
+
- **Rate Limiting** - Intelligent retry mechanisms with exponential backoff
|
|
52
|
+
|
|
53
|
+
### ๐ Bug Fixes
|
|
54
|
+
|
|
55
|
+
#### Configuration System
|
|
56
|
+
- Fixed configuration corruption recovery
|
|
57
|
+
- Improved validation and migration between versions
|
|
58
|
+
- Enhanced security with automatic .gitignore management
|
|
59
|
+
- Better error messages for configuration issues
|
|
60
|
+
|
|
61
|
+
#### File Processing
|
|
62
|
+
- Fixed memory leaks in large codebase processing
|
|
63
|
+
- Improved streaming for large files
|
|
64
|
+
- Enhanced concurrent processing stability
|
|
65
|
+
- Better error handling for malformed files
|
|
66
|
+
|
|
67
|
+
#### CLI Experience
|
|
68
|
+
- Fixed terminal output formatting issues
|
|
69
|
+
- Improved spinner and progress indicator reliability
|
|
70
|
+
- Enhanced error message clarity and actionability
|
|
71
|
+
- Better cross-platform terminal compatibility
|
|
72
|
+
|
|
73
|
+
### ๐ Breaking Changes
|
|
74
|
+
|
|
75
|
+
#### Configuration Format Updates
|
|
76
|
+
- Added `codingAgent` configuration section
|
|
77
|
+
- Updated browser target validation
|
|
78
|
+
- Enhanced API key management structure
|
|
79
|
+
|
|
80
|
+
#### Command Interface Changes
|
|
81
|
+
- Simplified GitHub integration (removed unnecessary setup flows)
|
|
82
|
+
- Enhanced `base fix` command with agent selection
|
|
83
|
+
- Updated `base config` subcommands structure
|
|
84
|
+
|
|
85
|
+
### ๐ Performance Improvements
|
|
86
|
+
|
|
87
|
+
#### Startup Time
|
|
88
|
+
- Reduced initial load time by 60% through lazy loading
|
|
89
|
+
- Optimized dependency loading with background preloading
|
|
90
|
+
- Enhanced memory usage with efficient data structures
|
|
91
|
+
|
|
92
|
+
#### File Processing
|
|
93
|
+
- Improved large codebase handling (1000+ files)
|
|
94
|
+
- Enhanced concurrent processing with worker threads
|
|
95
|
+
- Optimized memory usage with streaming and batching
|
|
96
|
+
|
|
97
|
+
#### Network Operations
|
|
98
|
+
- Intelligent caching for API responses
|
|
99
|
+
- Offline-first baseline checking
|
|
100
|
+
- Enhanced retry mechanisms for network failures
|
|
101
|
+
|
|
102
|
+
### ๐ Documentation
|
|
103
|
+
|
|
104
|
+
#### Comprehensive README
|
|
105
|
+
- Complete setup guide for both Gemini and Jules
|
|
106
|
+
- Detailed command reference with examples
|
|
107
|
+
- Troubleshooting guide with common solutions
|
|
108
|
+
- Advanced usage patterns and CI/CD integration
|
|
109
|
+
|
|
110
|
+
#### API Documentation
|
|
111
|
+
- Enhanced inline code documentation
|
|
112
|
+
- Comprehensive error handling examples
|
|
113
|
+
- Performance optimization guidelines
|
|
114
|
+
|
|
115
|
+
### ๐ Security Improvements
|
|
116
|
+
|
|
117
|
+
#### API Key Management
|
|
118
|
+
- Enhanced secure storage with automatic .gitignore
|
|
119
|
+
- Improved validation and format checking
|
|
120
|
+
- Better error handling for invalid keys
|
|
121
|
+
|
|
122
|
+
#### Configuration Security
|
|
123
|
+
- Automatic backup creation before changes
|
|
124
|
+
- Enhanced validation and corruption detection
|
|
125
|
+
- Secure default configurations
|
|
126
|
+
|
|
127
|
+
### ๐งช Testing & Quality
|
|
128
|
+
|
|
129
|
+
#### Enhanced Test Coverage
|
|
130
|
+
- Comprehensive end-to-end test suite
|
|
131
|
+
- Cross-platform compatibility testing
|
|
132
|
+
- Error recovery scenario testing
|
|
133
|
+
- Performance benchmark testing
|
|
134
|
+
|
|
135
|
+
#### Code Quality
|
|
136
|
+
- Enhanced TypeScript strict mode compliance
|
|
137
|
+
- Comprehensive error handling throughout codebase
|
|
138
|
+
- Improved code documentation and inline comments
|
|
139
|
+
|
|
140
|
+
### ๐ฆ Dependencies
|
|
141
|
+
|
|
142
|
+
#### Updated Dependencies
|
|
143
|
+
- Updated to latest web-features package
|
|
144
|
+
- Enhanced Babel parser integration
|
|
145
|
+
- Improved PostCSS and Vue compiler support
|
|
146
|
+
- Updated CLI dependencies (chalk, ora, inquirer)
|
|
147
|
+
|
|
148
|
+
#### New Dependencies
|
|
149
|
+
- Added support for advanced file processing
|
|
150
|
+
- Enhanced git integration libraries
|
|
151
|
+
- Improved terminal output formatting
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## [1.0.1] - 2024-12-15
|
|
156
|
+
|
|
157
|
+
### Initial Release Features
|
|
158
|
+
|
|
159
|
+
#### Core Functionality
|
|
160
|
+
- Browser compatibility checking using official Baseline data
|
|
161
|
+
- Support for React, Vue, Svelte, and vanilla JS/CSS
|
|
162
|
+
- Basic CLI interface with check and fix commands
|
|
163
|
+
- Git hooks integration with Husky
|
|
164
|
+
|
|
165
|
+
#### AI Integration
|
|
166
|
+
- Basic Gemini AI analysis integration
|
|
167
|
+
- Jules autonomous fixing integration
|
|
168
|
+
- Simple error handling and recovery
|
|
169
|
+
|
|
170
|
+
#### Configuration System
|
|
171
|
+
- Basic .baseguardrc.json configuration
|
|
172
|
+
- Browser target management
|
|
173
|
+
- API key storage
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## [1.0.0] - 2024-12-10
|
|
178
|
+
|
|
179
|
+
### Project Initialization
|
|
180
|
+
- Initial project structure
|
|
181
|
+
- Basic TypeScript setup
|
|
182
|
+
- Core architecture design
|
|
183
|
+
- Initial CLI framework
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
**Legend:**
|
|
188
|
+
- ๐ Major Features
|
|
189
|
+
- ๐ง Enhancements
|
|
190
|
+
- ๐ Bug Fixes
|
|
191
|
+
- ๐ Breaking Changes
|
|
192
|
+
- ๐ Performance
|
|
193
|
+
- ๐ Documentation
|
|
194
|
+
- ๐ Security
|
|
195
|
+
- ๐งช Testing
|
|
196
196
|
- ๐ฆ Dependencies
|