| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(gateway): Integrate the dyn-sandbox execution backend on linux Co-Authored-By: DeepSeek v4 | 4 天前 | |
feat(tui): add /cron command for interactive job management Add comprehensive TUI interface for managing cron scheduled jobs with three dialog modes: List, EditForm, and ConfirmDelete. Changes: - Create services::cron_service module * load_cron_snapshot(): read config.toml and jobs.toml * write_jobs(): persist changes to jobs.toml with pretty format * validate_cron_expr(): reuse agent_types parser for validation * CronJobEntry: TUI-friendly job representation with validation status - Create state::cron_dialog module * CronDialogMode: state machine for List/EditForm/ConfirmDelete * CronEditForm: 8-field form with Tab navigation * Real-time cron expression validation * Duplicate name detection in edit mode * save_edit_form(): validation and persistence logic - Add /cron slash command * Tab-completion support in slash_complete.rs * Command spec: "管理 cron 定时任务:查看、配置、删除、启用/禁用" - Add InputMode::CronManagement enum variant * AppState integration with cron_dialog field * event_key.rs handler for keyboard navigation * render/root.rs rendering for all three dialog modes Dialog modes: - List: Browse jobs with Up/Down, actions (a/e/d/Space) - EditForm: 8-field editor with Tab navigation and validation - ConfirmDelete: Safety confirmation before deletion User workflow: 1. Type /cron in TUI input 2. List mode shows all jobs with status indicators 3. Press "a" to add, "e" to edit, "d" to delete 4. Space toggles enabled/disabled 5. Changes written to jobs.toml immediately 6. Restart daemon to apply changes Validation: - Name, Cron, Prompt fields required - Cron syntax validated via agent_types::cron::CronExpression - Duplicate names rejected - Numeric fields (timeout, retries) validated Adapted from 0003-adapted-tui-cron-management.patch for the current codebase (apps/endside/ instead of apps/xiaoo-app/src/tui/). | 27 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 天前 | ||
| 27 天前 |