mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 14:03:54 +08:00
feat: add CLI config preview API for Codex and Gemini
- Implemented `fetchCodexConfigPreview` and `fetchGeminiConfigPreview` functions in the API layer to retrieve masked configuration files. - Added new interfaces `CodexConfigPreviewResponse` and `GeminiConfigPreviewResponse` to define the structure of the API responses. - Created utility functions to read and mask sensitive values from `config.toml` and `auth.json` for Codex, and `settings.json` for Gemini. - Updated CLI settings routes to handle new preview endpoints. - Enhanced session content parser to support Claude JSONL format. - Updated UI components to reflect changes in history page and navigation, including new tabs for observability. - Localized changes for English and Chinese languages to reflect "CLI History" terminology.
This commit is contained in:
@@ -245,7 +245,7 @@
|
||||
"coordinator": "Coordinator",
|
||||
"executions": "Executions",
|
||||
"loops": "Loops",
|
||||
"history": "History",
|
||||
"history": "CLI History",
|
||||
"memory": "Memory",
|
||||
"prompts": "Prompts",
|
||||
"skills": "Skills",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"sessions": "Sessions",
|
||||
"liteTasks": "Lite Tasks",
|
||||
"project": "Project",
|
||||
"history": "History",
|
||||
"history": "CLI History",
|
||||
"orchestrator": "Orchestrator",
|
||||
"coordinator": "Coordinator",
|
||||
"loops": "Loop Monitor",
|
||||
|
||||
@@ -245,7 +245,7 @@
|
||||
"coordinator": "协调器",
|
||||
"executions": "执行监控",
|
||||
"loops": "循环",
|
||||
"history": "历史",
|
||||
"history": "CLI执行历史",
|
||||
"memory": "记忆",
|
||||
"prompts": "提示词",
|
||||
"skills": "技能",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"sessions": "会话",
|
||||
"liteTasks": "轻量任务",
|
||||
"project": "项目",
|
||||
"history": "历史",
|
||||
"history": "CLI执行历史",
|
||||
"orchestrator": "编排器",
|
||||
"coordinator": "协调器",
|
||||
"loops": "循环监控",
|
||||
|
||||
Reference in New Issue
Block a user