Skip to content

Commit 2090c64

Browse files
Luke Thompsonclaude
andcommitted
Major bug fixes and improvements 🐛➡️✨
CRITICAL FIXES: - Updated @google/generative-ai to v0.21.0 (was critically outdated) - Fixed CLI configuration loading crash with proper error handling - Fixed Memory Manager Date deserialization bug - Fixed Task Queue cleanup logic error - Added file validation for multimodal processing TYPE SAFETY & CODE QUALITY: - Added comprehensive ESLint configuration - Improved type safety by removing unsafe 'any' types - Added proper ConfigFile interface for better type checking - Enhanced error handling throughout codebase DEVELOPER EXPERIENCE: - Added helpful npm scripts (clean, typecheck, lint:fix) - Created .gemini-flow.example.json configuration template - Improved CLI help and error messages - All builds and type checks now pass ✅ TESTING: - CLI functionality verified and working - Build process improved with prebuild cleanup - Type checking passes without errors - Updated dependencies to latest stable versions Thanks RuV for the amazing foundation\! 🙏 This should make the tool much more stable and usable. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 862d1ae commit 2090c64

File tree

10 files changed

+319
-204
lines changed

10 files changed

+319
-204
lines changed

.eslintrc.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
plugins: [
4+
'@typescript-eslint',
5+
],
6+
extends: [
7+
'eslint:recommended'
8+
],
9+
parserOptions: {
10+
ecmaVersion: 2020,
11+
sourceType: 'module',
12+
},
13+
rules: {
14+
// Basic rules that will help catch issues
15+
'no-unused-vars': 'off', // Turn off base rule
16+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
17+
'@typescript-eslint/no-explicit-any': 'warn',
18+
'prefer-const': 'error',
19+
'no-var': 'error',
20+
'no-console': 'off', // Allow console for CLI tool
21+
},
22+
env: {
23+
node: true,
24+
es6: true,
25+
},
26+
};

.gemini-flow.example.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"maxAgents": 10,
3+
"memoryPath": "./gemini-memory.json",
4+
"authMethod": "google-account",
5+
"modes": {
6+
"architect": {
7+
"temperature": 0.7,
8+
"maxTokens": 8000
9+
},
10+
"coder": {
11+
"temperature": 0.3,
12+
"maxTokens": 4000
13+
},
14+
"tester": {
15+
"temperature": 0.2,
16+
"maxTokens": 3000
17+
},
18+
"debugger": {
19+
"temperature": 0.1,
20+
"maxTokens": 2000
21+
},
22+
"security": {
23+
"temperature": 0.2,
24+
"maxTokens": 3000
25+
},
26+
"documentation": {
27+
"temperature": 0.5,
28+
"maxTokens": 4000
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)