Add comprehensive workflows for CLI tools usage, coding philosophy, context requirements, file modification, and CodexLens auto hybrid mode

- Introduced a detailed guide for intelligent tools selection strategy, including quick reference, tool specifications, prompt templates, and best practices for CLI execution.
- Established a coding philosophy document outlining core beliefs, simplicity principles, and guidelines for effective coding practices.
- Created context requirements documentation emphasizing the importance of understanding existing patterns and dependencies before implementation.
- Developed a file modification workflow detailing the use of edit_file and write_file MCP tools, along with priority logic for file reading and editing.
- Implemented CodexLens auto hybrid mode, enhancing the CLI with automatic vector embedding generation and default hybrid search mode based on embedding availability.
This commit is contained in:
catlog22
2025-12-17 09:53:30 +08:00
parent 154a9283b5
commit d06a3ca12e
18 changed files with 619 additions and 313 deletions

View File

@@ -137,7 +137,7 @@ var helpI18n = {
// Helper function to get help translation
function ht(key, replacements) {
var lang = typeof currentLanguage !== 'undefined' ? currentLanguage : 'en';
var lang = typeof currentLang !== 'undefined' ? currentLang : 'en';
var translations = helpI18n[lang] || helpI18n.en;
var text = translations[key] || helpI18n.en[key] || key;
@@ -150,3 +150,9 @@ function ht(key, replacements) {
return text;
}
// Expose ht function globally
window.ht = ht;
// Debug log to verify loading
console.log('[Help i18n] ht function loaded and exposed to window:', typeof window.ht);

View File

@@ -18,6 +18,9 @@ var activeWorkflowDiagram = 'tdd';
// ========== Main Render Function ==========
async function renderHelpView() {
// Debug: Check if ht function is available
console.log('[Help View] ht function available:', typeof ht, typeof window.ht);
hideStatsAndCarousel();
var container = document.getElementById('mainContent');