mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
- Implement Phase 3: From Brainstorm to convert brainstorm session output into executable issues and solutions. - Implement Phase 4: Form Execution Queue to analyze bound solutions, resolve conflicts, and create an ordered execution queue. - Introduce new data structures for Issue and Solution schemas. - Enhance CLI commands for issue creation and queue management. - Add error handling and quality checklist for queue formation.
103 lines
3.8 KiB
TypeScript
103 lines
3.8 KiB
TypeScript
/**
|
|
* English translations
|
|
* Consolidated exports for all English translation files
|
|
*/
|
|
|
|
import common from './common.json';
|
|
import navigation from './navigation.json';
|
|
import sessions from './sessions.json';
|
|
import issues from './issues.json';
|
|
import home from './home.json';
|
|
import orchestrator from './orchestrator.json';
|
|
import loops from './loops.json';
|
|
import commands from './commands.json';
|
|
import memory from './memory.json';
|
|
import settings from './settings.json';
|
|
import fixSession from './fix-session.json';
|
|
import history from './history.json';
|
|
import liteTasks from './lite-tasks.json';
|
|
import projectOverview from './project-overview.json';
|
|
import reviewSession from './review-session.json';
|
|
import sessionDetail from './session-detail.json';
|
|
import skills from './skills.json';
|
|
import cliManager from './cli-manager.json';
|
|
import cliMonitor from './cli-monitor.json';
|
|
import mcpManager from './mcp-manager.json';
|
|
import codexlens from './codexlens.json';
|
|
import apiSettings from './api-settings.json';
|
|
import theme from './theme.json';
|
|
import executionMonitor from './execution-monitor.json';
|
|
import cliHooks from './cli-hooks.json';
|
|
import index from './index.json';
|
|
import rules from './rules.json';
|
|
import prompts from './prompts.json';
|
|
import explorer from './explorer.json';
|
|
import graph from './graph.json';
|
|
import notification from './notification.json';
|
|
import notifications from './notifications.json';
|
|
import workspace from './workspace.json';
|
|
import help from './help.json';
|
|
import cliViewer from './cli-viewer.json';
|
|
|
|
/**
|
|
* Flattens nested JSON object to dot-separated keys
|
|
* e.g., { actions: { save: 'Save' } } => { 'actions.save': 'Save' }
|
|
*/
|
|
function flattenMessages(obj: Record<string, unknown>, prefix = ''): Record<string, string> {
|
|
const result: Record<string, string> = {};
|
|
|
|
for (const key in obj) {
|
|
const fullKey = prefix ? `${prefix}.${key}` : key;
|
|
const value = obj[key];
|
|
|
|
if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
|
|
Object.assign(result, flattenMessages(value as Record<string, unknown>, fullKey));
|
|
} else if (typeof value === 'string') {
|
|
result[fullKey] = value;
|
|
}
|
|
}
|
|
|
|
return result;
|
|
}
|
|
|
|
/**
|
|
* Consolidated and flattened English messages
|
|
*/
|
|
export default {
|
|
...flattenMessages(common, 'common'),
|
|
...flattenMessages(navigation, 'navigation'),
|
|
...flattenMessages(sessions, 'sessions'),
|
|
...flattenMessages(issues, 'issues'),
|
|
...flattenMessages(home, 'home'),
|
|
...flattenMessages(orchestrator, 'orchestrator'),
|
|
...flattenMessages(loops, 'loops'),
|
|
...flattenMessages(commands, 'commands'),
|
|
...flattenMessages(memory, 'memory'),
|
|
...flattenMessages(settings, 'settings'),
|
|
...flattenMessages(fixSession, 'fixSession'),
|
|
...flattenMessages(history, 'history'),
|
|
...flattenMessages(liteTasks, 'liteTasks'),
|
|
...flattenMessages(projectOverview, 'projectOverview'),
|
|
...flattenMessages(reviewSession, 'reviewSession'),
|
|
...flattenMessages(sessionDetail, 'sessionDetail'),
|
|
...flattenMessages(skills, 'skills'),
|
|
...flattenMessages(cliManager, 'cli-manager'),
|
|
...flattenMessages(cliMonitor, 'cliMonitor'),
|
|
...flattenMessages(mcpManager, 'mcp'),
|
|
...flattenMessages(codexlens, 'codexlens'),
|
|
...flattenMessages(apiSettings, 'apiSettings'),
|
|
...flattenMessages(theme, 'theme'),
|
|
...flattenMessages(cliHooks, 'cliHooks'),
|
|
...flattenMessages(executionMonitor, 'executionMonitor'),
|
|
...flattenMessages(index, 'index'),
|
|
...flattenMessages(rules, 'rules'),
|
|
...flattenMessages(prompts, 'prompts'),
|
|
...flattenMessages(explorer, 'explorer'),
|
|
...flattenMessages(graph, 'graph'),
|
|
...flattenMessages(notification, 'notificationPanel'),
|
|
...flattenMessages(notifications, 'notifications'),
|
|
...flattenMessages(workspace, 'workspace'),
|
|
...flattenMessages(help, 'help'),
|
|
...flattenMessages(cliViewer, 'cliViewer'),
|
|
} as Record<string, string>;
|