Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4f3230f
feat: 完整实现国际化翻译功能
xiaobendan483600 Feb 7, 2026
378db3a
feat: 添加德语、西班牙语、法语翻译支持
xiaobendan483600 Feb 7, 2026
91da582
feat: 添加 iFlow CLI Issue Triage 自动化工作流
xiaobendan483600 Feb 7, 2026
469861a
feat: 优化 iFlow CLI Issue Triage 自动化工作流
xiaobendan483600 Feb 7, 2026
77d58f6
fix: 移除无效的 npm fetch-retry-count 配置选项
xiaobendan483600 Feb 7, 2026
b548a75
fix: 修复 typecheck 和 test-js 任务失败的问题
xiaobendan483600 Feb 7, 2026
5ddae97
chore: 在 .gitignore 中添加对 .claude/ 和 .omc/ 目录的忽略规则
xiaobendan483600 Feb 7, 2026
af8c58c
fix: 统一 Tauri 相关包的版本,修复 CI 构建失败问题
xiaobendan483600 Feb 7, 2026
99f4dce
Merge upstream updates
xiaobendan483600 Feb 7, 2026
36fca91
完成界面全面汉化任务」}ERROR_INVALID_OUTPUT ->I
xiaobendan483600 Feb 7, 2026
3a707e7
完成项目全面汉化
xiaobendan483600 Feb 7, 2026
4a9438d
移除OMC状态文件
xiaobendan483600 Feb 7, 2026
0558c69
添加 open 和 write 操作类型
xiaobendan483600 Feb 7, 2026
e2a07cc
完成菜单栏全面汉化
xiaobendan483600 Feb 7, 2026
9255591
优化 .gitignore,忽略编译文件和依赖
xiaobendan483600 Feb 7, 2026
2bc5d13
Merge branch 'main' of https://github.com/shenshuoyaoyouguang/CodexMo…
xiaobendan483600 Feb 7, 2026
5a7036e
菜单汉化:完成对菜单和对话框的中文化
xiaobendan483600 Feb 8, 2026
e923380
添加对 .omc 文件夹的 gitignore 规则
xiaobendan483600 Feb 8, 2026
1c93912
完成国际化功能实现
xiaobendan483600 Feb 9, 2026
954614f
修复测试套件中的 React act() 警告和国际化测试失败
xiaobendan483600 Feb 9, 2026
2a2d1b2
修复 i18n-test-utils.tsx 的 TypeScript 类型错误
xiaobendan483600 Feb 9, 2026
03691de
fix: update tauri package versions to match rust crate versions
xiaobendan483600 Feb 9, 2026
f3e4e97
fix: 修复 Tauri 版本不匹配导致的构建错误
xiaobendan483600 Feb 9, 2026
9222418
fix: 修复 TypeScript 类型检查错误
xiaobendan483600 Feb 9, 2026
a775595
Merge upstream v0.7.49 into main
xiaobendan483600 Feb 9, 2026
69a93d2
Merge upstream v0.7.49 with i18n fixes
xiaobendan483600 Feb 9, 2026
3104b9c
Merge upstream v0.7.50: 合并上游最新更新
xiaobendan483600 Feb 11, 2026
fc2e51d
fix: 移除过时的测试用例
xiaobendan483600 Feb 11, 2026
3fb538d
fix: 修复测试中的元素查找问题以匹配上游 i18n 变更
xiaobendan483600 Feb 11, 2026
5cface4
chore: 清理遗留文档和临时文件
xiaobendan483600 Feb 11, 2026
b161782
fix: 修复 i18n 初始化和硬编码字符串问题
xiaobendan483600 Feb 11, 2026
8c94ded
fix(i18n): 修复 time.ts 中的硬编码中文字符串并更新导入路径
xiaobendan483600 Feb 11, 2026
011bb6f
fix: 解决上游合并冲突并保留 i18n 功能
xiaobendan483600 Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"permissions": {
"allow": [
"Bash(npm run test)",
"mcp__plugin_oh-my-claudecode_t__ast_grep_replace",
"Bash(npm run typecheck)",
"Bash(npm run tauri:dev:win:*)",
"Bash(timeout 60s:*)",
"mcp__plugin_oh-my-claudecode_t__lsp_diagnostics",
"Bash(npx eslint:*)",
"Bash(npx vitest:*)",
"Bash(find:*)"
]
}
}
21 changes: 0 additions & 21 deletions .codex/environments/environment.toml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
run: npm run typecheck
test-js:
runs-on: ubuntu-latest
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

155 changes: 155 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
```
# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
```

## CodexMonitor Project Overview

CodexMonitor is a Tauri app for orchestrating multiple Codex agents across local workspaces. It provides a sidebar to manage projects, a home screen for quick actions, and a conversation view backed by the Codex app-server protocol.

## Key Commands

### Development
- `npm install` - Install dependencies
- `npm run tauri:dev` - Run in development mode (with strict checks)
- `npm run tauri:dev:win` - Run in development mode on Windows
- `npm run dev` - Run Vite dev server (frontend only)

### Build
- `npm run tauri:build` - Build production Tauri bundle
- `npm run tauri:build:win` - Build Windows production bundle
- `npm run build:appimage` - Build AppImage bundle
- `npm run build` - Build frontend only

### Testing & Validation
- `npm run test` - Run all tests
- `npm run test:watch` - Run tests in watch mode
- `npm run typecheck` - Run TypeScript type checking
- `npm run lint` - Run ESLint
- `npm run lint:ds` - Run ESLint on design system files
- `npm run doctor:strict` - Run strict system checks
- `npm run doctor:win` - Run Windows system checks

### Code Modifications
- `npm run codemod:ds` - Run design system codemods
- `npm run codemod:ds:dry` - Dry run design system codemods
- `npm run sync:material-icons` - Sync material icons

### iOS Development (WIP)
- `./scripts/build_run_ios.sh` - Run on iOS Simulator
- `./scripts/build_run_ios_device.sh --list-devices` - List connected iOS devices
- `./scripts/build_run_ios_device.sh --device "<device name>" --team <TEAM_ID>` - Run on USB device
- `./scripts/release_testflight_ios.sh` - Release to TestFlight

## Project Structure

### Frontend (React + TypeScript + Vite)
- `/src/App.tsx` - Composition root with main app logic
- `/src/features/` - Feature-sliced UI components and hooks
- `/src/services/` - Tauri IPC wrappers and event hub
- `/src/utils/` - Pure helper functions
- `/src/styles/` - CSS files (organized by feature/design system)
- `/src/types.ts` - Shared UI types
- `/src/test/` - Test setup and utilities
- `/src/hooks/` - Custom React hooks
- `/src/i18n/` - Internationalization files
- `/src/assets/` - Static assets (images, sounds)

### Backend (Rust + Tauri)
- `/src-tauri/src/lib.rs` - Tauri command registry
- `/src-tauri/src/shared/` - Shared core domain logic (app + daemon)
- `/src-tauri/src/backend/` - Backend-specific implementations
- `/src-tauri/src/codex/` - Codex app-server integration
- `/src-tauri/src/workspaces/` - Workspace management
- `/src-tauri/src/files/` - File operations
- `/src-tauri/src/dictation/` - Dictation/Whisper integration
- `/src-tauri/src/git/` - Git operations
- `/src-tauri/src/orbit/` - Orbit remote backend integration
- `/src-tauri/src/tailscale/` - Tailscale integration
- `/src-tauri/src/remote_backend/` - Remote backend functionality
- `/src-tauri/src/terminal/` - Terminal emulation
- `/src-tauri/src/settings/` - Settings management
- `/src-tauri/src/bin/codex_monitor_daemon.rs` - Daemon entrypoint

### Design System
- `/src/features/design-system/components/` - Modal, Toast, Panel, Popover primitives
- `/src/styles/ds-*.css` - Design system tokens and styles
- `/scripts/codemods/` - Codemods for design system migration

### Scripts & Configuration
- `/scripts/` - Build, release, and utility scripts
- `/public/` - Static public assets
- `/docs/` - Documentation files
- `/memory/` - Project memory files (for AI context)

## Architecture Principles

### Frontend Guidelines
- **Components**: Presentational only, no Tauri IPC
- **Hooks**: Own state, side effects, and event wiring
- **Services**: All Tauri IPC goes through `/src/services/tauri.ts`
- **Event Hub**: `/src/services/events.ts` manages shared event subscriptions
- **Styles**: Use design system tokens (`--ds-*` prefix) and primitives first
- **Feature Slicing**: Organized by feature area (app, messages, threads, git, etc.)

### Backend Guidelines
- **Shared Logic**: All core domain logic lives in `/src-tauri/src/shared/`
- **App/Daemon**: Thin adapters around shared cores
- **Tauri Commands**: Defined in `/src-tauri/src/lib.rs`, mirrored in frontend services
- **Daemon**: `/src-tauri/src/bin/codex_monitor_daemon.rs` provides JSON-RPC interface
- **Modular Structure**: Backend organized into functional modules (git, workspaces, codex, etc.)

### Key Architectural Patterns
1. **Feature Slicing**: Frontend organized by feature area
2. **Shared Core**: Backend logic shared between app and daemon
3. **Event-Driven**: Tauri events → React subscriptions via event hub
4. **Design System**: Tokenized styling with shared primitives
5. **Hooks Architecture**: Custom React hooks manage complex state and side effects

## Common Workflows

### Adding a New Tauri Event
1. Emit event in `src-tauri/src/lib.rs`
2. Add hub/subscribe helper in `src/services/events.ts`
3. Subscribe using `useTauriEvent` hook
4. Update `src/services/events.test.ts`

### Adding a New Backend Command
1. Implement core logic in `src-tauri/src/shared/`
2. Add Tauri command in `src-tauri/src/lib.rs`
3. Mirror in `src/services/tauri.ts`
4. Add daemon JSON-RPC handler in `src-tauri/src/bin/codex_monitor_daemon.rs`

### UI Development
- Use design system primitives first
- Add feature-specific styles in `/src/styles/`
- Run `npm run lint:ds` to validate design system usage
- Use codemods for design system migrations

### Testing
- Tests are located in `src/**/*.test.ts` and `src/**/*.test.tsx`
- Uses Vitest + React Testing Library
- Run specific test file: `npx vitest run src/path/to/file.test.tsx`
- Run tests in watch mode: `npm run test:watch`

## Requirements

- Node.js + npm
- Rust toolchain (stable)
- CMake (for native dependencies)
- LLVM/Clang (Windows only, for bindgen)
- Codex CLI (available in PATH)
- Git CLI
- GitHub CLI (`gh`) for Issues panel (optional)
- Xcode + Command Line Tools (for iOS development)

## Notes

- Workspaces persist to `workspaces.json` in app data directory
- Settings persist to `settings.json` in app data directory
- UI state (panel sizes, etc.) stored in localStorage
- Custom prompts loaded from `$CODEX_HOME/prompts`
- GitHub integration requires authenticated `gh` CLI
- iOS support is currently in progress (WIP)
- Remote backend mode supports connecting to Codex on another machine
52 changes: 52 additions & 0 deletions GEMINI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# GEMINI.md - CodexMonitor

## Project Overview

This is a cross-platform desktop application named "Codex Monitor", built using the Tauri framework. The application serves as a graphical user interface for orchestrating and managing multiple Codex agents across various local project workspaces.

- **Core Technologies**: The project utilizes a modern technology stack:
- **Frontend**: Built with React and TypeScript, bundled with Vite.
- **Backend**: Powered by Rust, managing the application's core logic and system interactions.
- **Testing**: Unit and component tests are run with Vitest and React Testing Library.
- **Code Style**: ESLint is configured to enforce consistent coding conventions.

- **Architecture**: The application follows a clear architectural separation:
- The `src` directory contains all frontend code, structured using a feature-sliced approach (e.g., `src/features/git`, `src/features/files`).
- The `src-tauri` directory holds the Rust backend, including the Tauri setup and native functionalities.
- Communication between the frontend and backend is handled via Tauri's Inter-Process Communication (IPC), with frontend service wrappers located in `src/services/tauri.ts`.

## Building and Running

The project's `package.json` file defines the primary scripts for development and production workflows.

- **Run in Development Mode**: To start the application with hot-reloading for the frontend:
```bash
npm run tauri:dev
```

- **Build for Production**: To create a distributable, production-ready application bundle:
```bash
npm run tauri:build
```
For Windows-specific builds, use `npm run tauri:build:win`.

- **Running Tests**: To execute the test suite:
```bash
npm run test
```

- **Linting & Type Checking**: To ensure code quality and type safety:
```bash
# Run ESLint
npm run lint

# Run TypeScript checker
npm run typecheck
```

## Development Conventions

- **Feature-Sliced Design**: The UI is organized by features (e.g., git, files, prompts), making the codebase modular and easier to navigate.
- **Styling**: CSS is used for styling and is organized by component/feature in the `src/styles` directory.
- **Dependency Check**: A "doctor" script (`npm run doctor` or `npm run doctor:win`) is available to help diagnose issues with the development environment and dependencies.
- **Committing**: (Assumed) Before committing, it's advisable to run `npm run lint` and `npm run test` to ensure code quality and prevent regressions.
11 changes: 11 additions & 0 deletions latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.7.44",
"notes": "Codex Monitor 0.7.44 版本发布",
"pub_date": "2026-02-08T00:00:00Z",
"platforms": {
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEY0QTgzQUU0QTc2MEVBNDMKUldSRDZtQ241RHFvOURJbm1KeC81aEZaOXlhZHlHd2NEZVpPVWs5NjdjOFNhUFEyZGJpTkV0S2YK",
"url": "https://github.com/shenshuoyaoyouguang/CodexMonitor/releases/download/v0.7.44/CodexMonitor_0.7.44_x64-setup.exe"
}
}
}
Loading