feat: add codebase context capabilities to gemini-cli (#1163)

* feat: add support for claude code context

- code context for:
  - add-task
  - update-subtask
  - update-task
  - update

* feat: fix CI and format + refactor

* chore: format

* chore: fix test

* feat: add gemini-cli support for codebase context

* feat: add google cli integration and fix tests

* chore: apply requested coderabbit changes

* chore: bump gemini cli package
This commit is contained in:
Ralph Khreish
2025-08-28 22:44:52 +02:00
committed by GitHub
parent 8783708e5e
commit 37af0f1912
28 changed files with 212 additions and 95 deletions

View File

@@ -3,7 +3,7 @@ import boxen from 'boxen';
import readline from 'readline';
import fs from 'fs';
import { log, readJSON, writeJSON, isSilentMode } from '../utils.js';
import { log, readJSON, isSilentMode } from '../utils.js';
import {
startLoadingIndicator,
@@ -16,9 +16,7 @@ import { generateTextService } from '../ai-services-unified.js';
import {
getDebugFlag,
getProjectName,
getMainProvider,
getResearchProvider,
isClaudeCode
hasCodebaseAnalysis
} from '../config-manager.js';
import { getPromptManager } from '../prompt-manager.js';
import {
@@ -421,7 +419,7 @@ async function analyzeTaskComplexity(options, context = {}) {
tasks: tasksData.tasks,
gatheredContext: gatheredContext || '',
useResearch: useResearch,
isClaudeCode: isClaudeCode(useResearch, projectRoot),
hasCodebaseAnalysis: hasCodebaseAnalysis(useResearch, projectRoot),
projectRoot: projectRoot || ''
};