feat: add workflow management commands and utilities

- Implemented workflow installation, listing, and syncing commands in `workflow.ts`.
- Created utility functions for project root detection and package version retrieval in `project-root.ts`.
- Added update checker functionality to notify users of new package versions in `update-checker.ts`.
- Developed unit tests for project root utilities and update checker to ensure functionality and version comparison accuracy.
This commit is contained in:
catlog22
2026-01-21 12:35:33 +08:00
parent ffe9898fd3
commit 9d6bc92837
13 changed files with 1832 additions and 5 deletions

View File

@@ -42,6 +42,8 @@ const i18n = {
'header.recentProjects': 'Recent Projects',
'header.browse': 'Browse...',
'header.refreshWorkspace': 'Refresh workspace',
'header.checkUpdateNow': 'Check for updates now',
'header.autoUpdate': 'Auto-update check',
'header.toggleTheme': 'Toggle theme',
'header.language': 'Language',
'header.cliStream': 'CLI Stream Viewer',
@@ -2391,6 +2393,8 @@ const i18n = {
'header.recentProjects': '最近项目',
'header.browse': '浏览...',
'header.refreshWorkspace': '刷新工作区',
'header.checkUpdateNow': '立即检查更新',
'header.autoUpdate': '自动更新检查',
'header.toggleTheme': '切换主题',
'header.language': '语言',
'header.cliStream': 'CLI 流式输出',