feihong-code 7.0.0 → 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +180 -140
- package/.github/workflows/release.yml +200 -0
- package/CHANGELOG.md +94 -65
- package/README.md +609 -586
- package/dist/agent/browser-agent.js +354 -0
- package/dist/agent/browser-agent.js.map +1 -0
- package/dist/agent/change-manager.js +433 -0
- package/dist/agent/change-manager.js.map +1 -0
- package/dist/agent/code-rag.js +293 -0
- package/dist/agent/code-rag.js.map +1 -0
- package/dist/agent/code-writer.js +13 -1
- package/dist/agent/code-writer.js.map +1 -1
- package/dist/agent/completion-engine.js +553 -0
- package/dist/agent/completion-engine.js.map +1 -0
- package/dist/agent/completion-postprocess.js +109 -0
- package/dist/agent/completion-postprocess.js.map +1 -0
- package/dist/agent/context-budget.js +121 -0
- package/dist/agent/context-budget.js.map +1 -0
- package/dist/agent/context-compactor.js +235 -10
- package/dist/agent/context-compactor.js.map +1 -1
- package/dist/agent/custom-agent.js +368 -0
- package/dist/agent/custom-agent.js.map +1 -0
- package/dist/agent/design-to-code.js +218 -0
- package/dist/agent/design-to-code.js.map +1 -0
- package/dist/agent/event-driven-agent.js +359 -0
- package/dist/agent/event-driven-agent.js.map +1 -0
- package/dist/agent/git-integration.js +324 -0
- package/dist/agent/git-integration.js.map +1 -0
- package/dist/agent/layered-memory.js +329 -0
- package/dist/agent/layered-memory.js.map +1 -0
- package/dist/agent/lint.js +121 -0
- package/dist/agent/lint.js.map +1 -0
- package/dist/agent/multi-agent.js +359 -0
- package/dist/agent/multi-agent.js.map +1 -0
- package/dist/agent/orchestrator.js +136 -25
- package/dist/agent/orchestrator.js.map +1 -1
- package/dist/agent/prompts.js +54 -54
- package/dist/agent/quality-gate.js +139 -0
- package/dist/agent/quality-gate.js.map +1 -1
- package/dist/agent/self-correction.js +274 -0
- package/dist/agent/self-correction.js.map +1 -0
- package/dist/agent/self-heal.js +47 -17
- package/dist/agent/self-heal.js.map +1 -1
- package/dist/agent/solo-agent.js +321 -0
- package/dist/agent/solo-agent.js.map +1 -0
- package/dist/agent/symbol-index.js +258 -28
- package/dist/agent/symbol-index.js.map +1 -1
- package/dist/agent/team-collaboration.js +252 -0
- package/dist/agent/team-collaboration.js.map +1 -0
- package/dist/agent/type-checker.js +229 -0
- package/dist/agent/type-checker.js.map +1 -0
- package/dist/cli/commands.js +9 -0
- package/dist/cli/commands.js.map +1 -1
- package/dist/cli/index.js +9 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/multi-pane-tui.js +217 -0
- package/dist/cli/multi-pane-tui.js.map +1 -0
- package/dist/cli/run.js +130 -40
- package/dist/cli/run.js.map +1 -1
- package/dist/cli/tui-run.js +79 -0
- package/dist/cli/tui-run.js.map +1 -0
- package/dist/cli/tui.js.map +1 -1
- package/dist/cli/version.js +1 -1
- package/dist/integrations/collaboration.js +219 -0
- package/dist/integrations/collaboration.js.map +1 -0
- package/dist/integrations/figma.js +307 -0
- package/dist/integrations/figma.js.map +1 -0
- package/dist/integrations/sso.js +327 -0
- package/dist/integrations/sso.js.map +1 -0
- package/dist/knowledge/library.js +301 -0
- package/dist/knowledge/library.js.map +1 -0
- package/dist/lsp/lsp-client.js +183 -0
- package/dist/lsp/lsp-client.js.map +1 -0
- package/dist/lsp/lsp-service.js +159 -0
- package/dist/lsp/lsp-service.js.map +1 -0
- package/dist/plugins/manager.js +380 -0
- package/dist/plugins/manager.js.map +1 -0
- package/dist/runtime/event-log.js.map +1 -1
- package/dist/shared/i18n.js +108 -100
- package/dist/shared/i18n.js.map +1 -1
- package/dist/tools/browser/browser.tool.js +217 -0
- package/dist/tools/browser/browser.tool.js.map +1 -0
- package/dist/tools/generator/code-generator.js +40 -40
- package/dist/tools/generator/test-generator.js +9 -9
- package/dist/tools/index.js +2 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/shell/exec.js +73 -11
- package/dist/tools/shell/exec.js.map +1 -1
- package/dist/tools/shell/run-shell.tool.js +8 -2
- package/dist/tools/shell/run-shell.tool.js.map +1 -1
- package/dist/training/completion-evaluator.js +213 -0
- package/dist/training/completion-evaluator.js.map +1 -0
- package/dist/training/fim-data.js +248 -0
- package/dist/training/fim-data.js.map +1 -0
- package/dist/voice/voice-programming.js +223 -0
- package/dist/voice/voice-programming.js.map +1 -0
- package/dist/web/extra-apis.js +440 -0
- package/dist/web/extra-apis.js.map +1 -0
- package/dist/web/public/css/style.css +1729 -1671
- package/dist/web/public/index.html +1242 -990
- package/dist/web/public/js/api.js +555 -382
- package/dist/web/public/js/app.js +2210 -2210
- package/dist/web/public/js/mock-api.js +234 -0
- package/dist/web/public/js/monaco-editor.js +363 -0
- package/dist/web/public/js/ui.js +2251 -1059
- package/dist/web/public/js/utils.js +214 -214
- package/dist/web/public/manifest.json +59 -0
- package/dist/web/public/service-worker.js +173 -0
- package/dist/web/server.js +1116 -45
- package/dist/web/server.js.map +1 -1
- package/dist/web/task-queue.js +22 -2
- package/dist/web/task-queue.js.map +1 -1
- package/docs/BENCHMARK_REPORT_en.md +386 -329
- package/docs/BENCHMARK_REPORT_zh.md +386 -329
- package/docs/DPA.md +63 -0
- package/docs/DPA/346/225/260/346/215/256/345/244/204/347/220/206/345/215/217/350/256/256/346/250/241/346/235/277_v1.0.md +67 -0
- package/docs/SECURITY_WHITEPAPER.md +74 -0
- package/docs/SWE_BENCH_REPORT.md +55 -0
- package/docs/TECHNICAL_SPEC_en.md +292 -292
- package/docs/TECHNICAL_SPEC_zh.md +292 -292
- package/docs/UPDATE_NOTES_en.md +159 -159
- package/docs/UPDATE_NOTES_zh.md +159 -159
- package/docs/UPGRADE_7.2.0.md +309 -0
- package/docs/UPGRADE_GUIDE_7_5.md +86 -0
- package/docs/geo-feihong-code.html +391 -0
- package/docs//345/205/250/351/235/242/345/244/215/347/233/230_50/350/275/256/346/267/261/345/272/246/345/256/241/350/256/241_v7.2.0.md +208 -0
- package/docs//345/205/250/351/235/242/345/244/215/347/233/230_6/351/241/271/351/207/215/347/202/271/346/240/270/346/237/245_v7.2.0.md +152 -0
- package/docs//345/205/250/351/235/242/345/244/215/347/233/230_/350/277/220/350/241/214/346/227/266/345/256/236/346/265/213/347/211/210_v7.2.0.md +271 -0
- package/docs//345/220/210/350/247/204/350/256/244/350/257/201/345/207/206/345/244/207/346/270/205/345/215/225_v7.2.0.md +59 -0
- package/docs//345/256/211/345/205/250/347/231/275/347/232/256/344/271/246_v7.2.0.md +82 -0
- package/electron/main.js +404 -404
- package/package.json +175 -167
- package/templates/skills/api-design/SKILL.md +27 -0
- package/templates/skills/code-review/SKILL.md +35 -0
- package/templates/skills/dependency-upgrade/SKILL.md +29 -0
- package/templates/skills/doc-gen/SKILL.md +29 -0
- package/templates/skills/git-flow/SKILL.md +26 -0
- package/templates/skills/onboarding/SKILL.md +27 -0
- package/templates/skills/performance/SKILL.md +29 -0
- package/templates/skills/refactor/SKILL.md +28 -0
- package/templates/skills/security-audit/SKILL.md +28 -0
- package/templates/skills/test-gen/SKILL.md +30 -0
- package/tool-schema.json +197 -197
- package/dist/hello.js +0 -14
- package/dist/hello.js.map +0 -1
- package/dist/self-evolve/hook.ts +0 -80
- package/dist/self-evolve/manager.d.ts +0 -8
- package/dist/web/web-config.js +0 -143
- package/dist/web/web-config.js.map +0 -1
package/docs/UPDATE_NOTES_en.md
CHANGED
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
# Feihong Code v7.0.0 Release Notes
|
|
2
|
-
|
|
3
|
-
**Release Date**: August 24, 2026
|
|
4
|
-
**Version**: 7.0.0
|
|
5
|
-
**Product Name**: Feihong Code (feihong-code)
|
|
6
|
-
**R&D Team**: Feihongzhi Technology Enterprise Management Co., Ltd. · Feiyang Qiyuan R&D Center
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Version Overview
|
|
11
|
-
|
|
12
|
-
Feihong Code v7.0.0 is a major version upgrade, jumping directly from 0.6.1 to 7.0.0, marking the product's mature transformation from a terminal tool to a full-platform AI coding assistant. This release focuses on optimizing user experience, adding desktop support, improving multilingual internationalization, and significantly enhancing the naturalness of conversational interaction.
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## Key Highlights
|
|
17
|
-
|
|
18
|
-
### 1. Complete Conversation Flow Refactoring (Doubao-like Experience)
|
|
19
|
-
|
|
20
|
-
- **Pure Text Output**: Completely removed Markdown formatting, tool call status, technical summaries, and other distracting information
|
|
21
|
-
- **Real-time Thinking Process**: Model's thinking process displayed in real-time, letting users see what the AI is thinking
|
|
22
|
-
- **Conversational Tone**: Natural like human conversation, no longer technical report style
|
|
23
|
-
- **Hidden Operation Steps**: No longer shows "Executing operation: read_file, run_shell" and other technical details
|
|
24
|
-
- **Separation of Thinking and Reply**: Thinking process displayed in real-time, final reply concise and clear, no repetition
|
|
25
|
-
|
|
26
|
-
### 2. Electron Desktop Version Officially Released
|
|
27
|
-
|
|
28
|
-
- **Independent Desktop Window**: No longer dependent on browser, double-click to use
|
|
29
|
-
- **System Tray Support**: Minimize to background, invoke anytime
|
|
30
|
-
- **Single Instance Prevention**: Single instance operation, avoiding resource waste
|
|
31
|
-
- **Application Menu**: Complete edit menu (copy/paste/cut/select all)
|
|
32
|
-
- **Permission Management**: Microphone, camera, screen capture permissions automatically handled
|
|
33
|
-
- **One-click Startup Script**: `一键启动桌面版.bat`, auto build + launch
|
|
34
|
-
|
|
35
|
-
### 3. Interface and Interaction Optimization
|
|
36
|
-
|
|
37
|
-
- **Interface Width Optimization**: Main area max width 1400px, no longer fills the entire screen
|
|
38
|
-
- **User Menu Refactored**: Changed from bottom pull-up to right sidebar (280px)
|
|
39
|
-
- **Startup Logic Fixed**: No longer opens two web pages, one launch directly enters
|
|
40
|
-
- **Text Selection Copy**: Support selecting partial text for copying, no longer only whole message copy
|
|
41
|
-
- **Message Action Buttons**: Hover to show copy, create document buttons
|
|
42
|
-
- **Conversation History Expansion**: conversation limit increased from 80 to 300, steps limit from 200 to 500
|
|
43
|
-
|
|
44
|
-
### 4. New and Improved Features
|
|
45
|
-
|
|
46
|
-
- **Screenshot Function**: Support screen capture + crop selection, screenshot directly to input box
|
|
47
|
-
- **Computer Control**: Backend PowerShell API, support screenshot, mouse move/click, keyboard input
|
|
48
|
-
- **Voice Input**: Web Speech API, recommended to use Edge browser
|
|
49
|
-
- **Voice/Video Call**: Real-time microphone recognition + camera view + video snapshot
|
|
50
|
-
- **Workspace Picker**: Drives and folders paginated, support create/rename folders
|
|
51
|
-
- **Conversation Task Optimization**: Click conversation directly creates new task, no need to manually click new
|
|
52
|
-
- **Automation Quick Commands**: Built-in common quick commands
|
|
53
|
-
- **Template Library Plugin System**: Support custom sources, nodes connect to external plugins
|
|
54
|
-
- **Memory System**: Long-term memory customization, add record simplified to plain text input
|
|
55
|
-
|
|
56
|
-
### 5. Enhanced Coding and Bug Fixing Capabilities
|
|
57
|
-
|
|
58
|
-
- **System Prompt Upgrade**: Added 8 coding capability requirements, 7 bug fixing capability requirements
|
|
59
|
-
- **Error Classification Optimization**: build-error and other errors provide 5-step specific troubleshooting process
|
|
60
|
-
- **Continuous Error Handling**: Traverse all continuous errors for classification recording, no longer only record the last one
|
|
61
|
-
- **Self-check Maintenance Optimization**: Only the first task per day can do environment confirmation, subsequent tasks execute directly, only fix when errors occur
|
|
62
|
-
- **Build Error Self-healing**: Structured report on failure (error type + last error + fix suggestion + next step)
|
|
63
|
-
|
|
64
|
-
### 6. Chinese-English Internationalization
|
|
65
|
-
|
|
66
|
-
- **Backend i18n**: Complete Chinese-English entries
|
|
67
|
-
- **Frontend Internationalization**: Computer control, video call, message operations, etc. added Chinese-English translations
|
|
68
|
-
- **Continuously Improving**: Some hardcoded text gradually migrated to i18n
|
|
69
|
-
|
|
70
|
-
### 7. Local Speech Recognition Service (Optional)
|
|
71
|
-
|
|
72
|
-
- **faster-whisper Local Deployment**: Completely free, offline, no call limits
|
|
73
|
-
- **HTTP API Interface**: Any project can call
|
|
74
|
-
- **Multilingual Support**: Chinese optimized, high accuracy
|
|
75
|
-
- **Independent Service**: Not coupled with main program, start on demand
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Bug Fixes
|
|
80
|
-
|
|
81
|
-
- Fixed Electron desktop version auto-exit issue
|
|
82
|
-
- Fixed issue of opening two web pages after startup
|
|
83
|
-
- Fixed conversation history too long causing earlier content to be truncated
|
|
84
|
-
- Fixed thinking process not displaying in real-time during task execution
|
|
85
|
-
- Fixed desktop version copy-paste shortcut failure
|
|
86
|
-
- Fixed desktop version screenshot permission repeated request
|
|
87
|
-
- Fixed 13389.js s.nodeName.toLowerCase error (non-project code, confirmed not affecting functionality)
|
|
88
|
-
- Fixed inaccurate error information after 3 consecutive build errors
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Upgrade Guide
|
|
93
|
-
|
|
94
|
-
### Upgrade from 0.6.1
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
# Pull latest code
|
|
98
|
-
git pull origin master
|
|
99
|
-
|
|
100
|
-
# Install dependencies (if any new)
|
|
101
|
-
npm install
|
|
102
|
-
|
|
103
|
-
# Rebuild
|
|
104
|
-
npm run build
|
|
105
|
-
|
|
106
|
-
# Start service
|
|
107
|
-
fhcode serve
|
|
108
|
-
# or
|
|
109
|
-
node dist/cli/index.js serve
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### Desktop Version Usage
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
# Method 1: One-click startup
|
|
116
|
-
Double-click 一键启动桌面版.bat
|
|
117
|
-
|
|
118
|
-
# Method 2: Manual startup
|
|
119
|
-
npm run build
|
|
120
|
-
npm run electron
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
### Local Speech Recognition Service (Optional)
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
cd funasr-server
|
|
127
|
-
Double-click 启动语音识别服务.bat
|
|
128
|
-
# Service starts at http://localhost:8082
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## System Requirements
|
|
134
|
-
|
|
135
|
-
- **Node.js**: 18.0 or higher
|
|
136
|
-
- **Operating System**: Windows 10/11 (recommended), macOS, Linux
|
|
137
|
-
- **Memory**: At least 4GB (8GB recommended)
|
|
138
|
-
- **Desktop Version**: Windows 10/11, Electron v41+
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## Known Limitations
|
|
143
|
-
|
|
144
|
-
- Desktop version voice input depends on Google services, domestically recommended to use web version (Edge browser) or local speech recognition service
|
|
145
|
-
- Computer control feature currently manual operation interface, AI automatic operation under development
|
|
146
|
-
- Chinese-English internationalization not yet fully covering all hardcoded text
|
|
147
|
-
- Local speech recognition service is non-real-time (recognizes after recording completes)
|
|
148
|
-
|
|
149
|
-
---
|
|
150
|
-
|
|
151
|
-
## Feedback and Support
|
|
152
|
-
|
|
153
|
-
- GitHub Issues: https://github.com/wch887292/feihong-code/issues
|
|
154
|
-
- npm: https://www.npmjs.com/package/feihong-code
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
*Feihongzhi Technology Enterprise Management Co., Ltd. · Feiyang Qiyuan R&D Center*
|
|
159
|
-
*Person in Charge: Wu Cihong*
|
|
1
|
+
# Feihong Code v7.0.0 Release Notes
|
|
2
|
+
|
|
3
|
+
**Release Date**: August 24, 2026
|
|
4
|
+
**Version**: 7.0.0
|
|
5
|
+
**Product Name**: Feihong Code (feihong-code)
|
|
6
|
+
**R&D Team**: Feihongzhi Technology Enterprise Management Co., Ltd. · Feiyang Qiyuan R&D Center
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Version Overview
|
|
11
|
+
|
|
12
|
+
Feihong Code v7.0.0 is a major version upgrade, jumping directly from 0.6.1 to 7.0.0, marking the product's mature transformation from a terminal tool to a full-platform AI coding assistant. This release focuses on optimizing user experience, adding desktop support, improving multilingual internationalization, and significantly enhancing the naturalness of conversational interaction.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Key Highlights
|
|
17
|
+
|
|
18
|
+
### 1. Complete Conversation Flow Refactoring (Doubao-like Experience)
|
|
19
|
+
|
|
20
|
+
- **Pure Text Output**: Completely removed Markdown formatting, tool call status, technical summaries, and other distracting information
|
|
21
|
+
- **Real-time Thinking Process**: Model's thinking process displayed in real-time, letting users see what the AI is thinking
|
|
22
|
+
- **Conversational Tone**: Natural like human conversation, no longer technical report style
|
|
23
|
+
- **Hidden Operation Steps**: No longer shows "Executing operation: read_file, run_shell" and other technical details
|
|
24
|
+
- **Separation of Thinking and Reply**: Thinking process displayed in real-time, final reply concise and clear, no repetition
|
|
25
|
+
|
|
26
|
+
### 2. Electron Desktop Version Officially Released
|
|
27
|
+
|
|
28
|
+
- **Independent Desktop Window**: No longer dependent on browser, double-click to use
|
|
29
|
+
- **System Tray Support**: Minimize to background, invoke anytime
|
|
30
|
+
- **Single Instance Prevention**: Single instance operation, avoiding resource waste
|
|
31
|
+
- **Application Menu**: Complete edit menu (copy/paste/cut/select all)
|
|
32
|
+
- **Permission Management**: Microphone, camera, screen capture permissions automatically handled
|
|
33
|
+
- **One-click Startup Script**: `一键启动桌面版.bat`, auto build + launch
|
|
34
|
+
|
|
35
|
+
### 3. Interface and Interaction Optimization
|
|
36
|
+
|
|
37
|
+
- **Interface Width Optimization**: Main area max width 1400px, no longer fills the entire screen
|
|
38
|
+
- **User Menu Refactored**: Changed from bottom pull-up to right sidebar (280px)
|
|
39
|
+
- **Startup Logic Fixed**: No longer opens two web pages, one launch directly enters
|
|
40
|
+
- **Text Selection Copy**: Support selecting partial text for copying, no longer only whole message copy
|
|
41
|
+
- **Message Action Buttons**: Hover to show copy, create document buttons
|
|
42
|
+
- **Conversation History Expansion**: conversation limit increased from 80 to 300, steps limit from 200 to 500
|
|
43
|
+
|
|
44
|
+
### 4. New and Improved Features
|
|
45
|
+
|
|
46
|
+
- **Screenshot Function**: Support screen capture + crop selection, screenshot directly to input box
|
|
47
|
+
- **Computer Control**: Backend PowerShell API, support screenshot, mouse move/click, keyboard input
|
|
48
|
+
- **Voice Input**: Web Speech API, recommended to use Edge browser
|
|
49
|
+
- **Voice/Video Call**: Real-time microphone recognition + camera view + video snapshot
|
|
50
|
+
- **Workspace Picker**: Drives and folders paginated, support create/rename folders
|
|
51
|
+
- **Conversation Task Optimization**: Click conversation directly creates new task, no need to manually click new
|
|
52
|
+
- **Automation Quick Commands**: Built-in common quick commands
|
|
53
|
+
- **Template Library Plugin System**: Support custom sources, nodes connect to external plugins
|
|
54
|
+
- **Memory System**: Long-term memory customization, add record simplified to plain text input
|
|
55
|
+
|
|
56
|
+
### 5. Enhanced Coding and Bug Fixing Capabilities
|
|
57
|
+
|
|
58
|
+
- **System Prompt Upgrade**: Added 8 coding capability requirements, 7 bug fixing capability requirements
|
|
59
|
+
- **Error Classification Optimization**: build-error and other errors provide 5-step specific troubleshooting process
|
|
60
|
+
- **Continuous Error Handling**: Traverse all continuous errors for classification recording, no longer only record the last one
|
|
61
|
+
- **Self-check Maintenance Optimization**: Only the first task per day can do environment confirmation, subsequent tasks execute directly, only fix when errors occur
|
|
62
|
+
- **Build Error Self-healing**: Structured report on failure (error type + last error + fix suggestion + next step)
|
|
63
|
+
|
|
64
|
+
### 6. Chinese-English Internationalization
|
|
65
|
+
|
|
66
|
+
- **Backend i18n**: Complete Chinese-English entries
|
|
67
|
+
- **Frontend Internationalization**: Computer control, video call, message operations, etc. added Chinese-English translations
|
|
68
|
+
- **Continuously Improving**: Some hardcoded text gradually migrated to i18n
|
|
69
|
+
|
|
70
|
+
### 7. Local Speech Recognition Service (Optional)
|
|
71
|
+
|
|
72
|
+
- **faster-whisper Local Deployment**: Completely free, offline, no call limits
|
|
73
|
+
- **HTTP API Interface**: Any project can call
|
|
74
|
+
- **Multilingual Support**: Chinese optimized, high accuracy
|
|
75
|
+
- **Independent Service**: Not coupled with main program, start on demand
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Bug Fixes
|
|
80
|
+
|
|
81
|
+
- Fixed Electron desktop version auto-exit issue
|
|
82
|
+
- Fixed issue of opening two web pages after startup
|
|
83
|
+
- Fixed conversation history too long causing earlier content to be truncated
|
|
84
|
+
- Fixed thinking process not displaying in real-time during task execution
|
|
85
|
+
- Fixed desktop version copy-paste shortcut failure
|
|
86
|
+
- Fixed desktop version screenshot permission repeated request
|
|
87
|
+
- Fixed 13389.js s.nodeName.toLowerCase error (non-project code, confirmed not affecting functionality)
|
|
88
|
+
- Fixed inaccurate error information after 3 consecutive build errors
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Upgrade Guide
|
|
93
|
+
|
|
94
|
+
### Upgrade from 0.6.1
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# Pull latest code
|
|
98
|
+
git pull origin master
|
|
99
|
+
|
|
100
|
+
# Install dependencies (if any new)
|
|
101
|
+
npm install
|
|
102
|
+
|
|
103
|
+
# Rebuild
|
|
104
|
+
npm run build
|
|
105
|
+
|
|
106
|
+
# Start service
|
|
107
|
+
fhcode serve
|
|
108
|
+
# or
|
|
109
|
+
node dist/cli/index.js serve
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Desktop Version Usage
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# Method 1: One-click startup
|
|
116
|
+
Double-click 一键启动桌面版.bat
|
|
117
|
+
|
|
118
|
+
# Method 2: Manual startup
|
|
119
|
+
npm run build
|
|
120
|
+
npm run electron
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Local Speech Recognition Service (Optional)
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
cd funasr-server
|
|
127
|
+
Double-click 启动语音识别服务.bat
|
|
128
|
+
# Service starts at http://localhost:8082
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## System Requirements
|
|
134
|
+
|
|
135
|
+
- **Node.js**: 18.0 or higher
|
|
136
|
+
- **Operating System**: Windows 10/11 (recommended), macOS, Linux
|
|
137
|
+
- **Memory**: At least 4GB (8GB recommended)
|
|
138
|
+
- **Desktop Version**: Windows 10/11, Electron v41+
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Known Limitations
|
|
143
|
+
|
|
144
|
+
- Desktop version voice input depends on Google services, domestically recommended to use web version (Edge browser) or local speech recognition service
|
|
145
|
+
- Computer control feature currently manual operation interface, AI automatic operation under development
|
|
146
|
+
- Chinese-English internationalization not yet fully covering all hardcoded text
|
|
147
|
+
- Local speech recognition service is non-real-time (recognizes after recording completes)
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Feedback and Support
|
|
152
|
+
|
|
153
|
+
- GitHub Issues: https://github.com/wch887292/feihong-code/issues
|
|
154
|
+
- npm: https://www.npmjs.com/package/feihong-code
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
*Feihongzhi Technology Enterprise Management Co., Ltd. · Feiyang Qiyuan R&D Center*
|
|
159
|
+
*Person in Charge: Wu Cihong*
|
package/docs/UPDATE_NOTES_zh.md
CHANGED
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
# 飞虹 Code v7.0.0 更新说明书
|
|
2
|
-
|
|
3
|
-
**发布日期**:2026年8月24日
|
|
4
|
-
**版本号**:7.0.0
|
|
5
|
-
**产品名称**:飞虹 Code(feihong-code)
|
|
6
|
-
**研发团队**:晋江市飞虹智科技企业管理有限公司 · 飞扬企源研发中心
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## 版本概述
|
|
11
|
-
|
|
12
|
-
飞虹 Code v7.0.0 是一个重大版本升级,从 0.6.1 直接跨越到 7.0.0,标志着产品从终端工具向全平台 AI 编程助手的成熟蜕变。本版本重点优化了用户体验、新增了桌面端支持、完善了多语言国际化,并大幅提升了对话交互的自然度。
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## 核心亮点
|
|
17
|
-
|
|
18
|
-
### 1. 对话流全面重构(对标豆包体验)
|
|
19
|
-
|
|
20
|
-
- **纯文本输出**:彻底去除 Markdown 格式、工具调用状态、技术摘要等干扰信息
|
|
21
|
-
- **实时思考过程**:模型思考过程实时展示,让用户看到 AI 在想什么
|
|
22
|
-
- **口语化表达**:像普通人交流一样自然,不再是技术报告风格
|
|
23
|
-
- **操作步骤隐藏**:不再显示"正在执行操作:read_file、run_shell"等技术细节
|
|
24
|
-
- **思考与回复分离**:思考过程实时显示,最终回复简洁明了,不重复
|
|
25
|
-
|
|
26
|
-
### 2. Electron 桌面版正式发布
|
|
27
|
-
|
|
28
|
-
- **独立桌面窗口**:不再依赖浏览器,双击即可使用
|
|
29
|
-
- **系统托盘支持**:最小化到后台,随时唤起
|
|
30
|
-
- **防止多开**:单实例运行,避免资源浪费
|
|
31
|
-
- **应用菜单**:完整的编辑菜单(复制/粘贴/剪切/全选)
|
|
32
|
-
- **权限管理**:麦克风、摄像头、屏幕捕获权限自动处理
|
|
33
|
-
- **一键启动脚本**:`一键启动桌面版.bat`,自动 build + 启动
|
|
34
|
-
|
|
35
|
-
### 3. 界面与交互优化
|
|
36
|
-
|
|
37
|
-
- **界面宽度优化**:主区域最大宽度 1400px,不再占满整个屏幕
|
|
38
|
-
- **用户菜单重构**:从底部上拉改为右侧侧边栏(280px)
|
|
39
|
-
- **启动逻辑修复**:不再打开两次网页,一次启动直接进入
|
|
40
|
-
- **文本选择复制**:支持选中部分文字复制,不再只能整条复制
|
|
41
|
-
- **消息操作按钮**:悬停显示复制、创建文档按钮
|
|
42
|
-
- **对话历史扩容**:conversation 上限从 80 条提升到 300 条,steps 上限从 200 提升到 500 条
|
|
43
|
-
|
|
44
|
-
### 4. 功能新增与完善
|
|
45
|
-
|
|
46
|
-
- **截图功能**:支持屏幕捕获 + 框选裁剪,截图直接到输入框
|
|
47
|
-
- **电脑操作**:后端 PowerShell API,支持截图、鼠标移动/点击、键盘输入
|
|
48
|
-
- **语音输入**:Web Speech API,建议 Edge 浏览器使用
|
|
49
|
-
- **语音/视频通话**:麦克风实时识别 + 摄像头画面 + 视频截图
|
|
50
|
-
- **工作区选择器**:驱动器和文件夹分页,支持新建/重命名文件夹
|
|
51
|
-
- **对话任务优化**:点击对话直接新建任务,无需手动点新建
|
|
52
|
-
- **自动化快捷指令**:常用快捷指令内置
|
|
53
|
-
- **模板库插件系统**:支持自定义来源,节点连接外部插件
|
|
54
|
-
- **记忆系统**:长期记忆自定义,添加记录简化为纯文本输入
|
|
55
|
-
|
|
56
|
-
### 5. 编码与修复能力提升
|
|
57
|
-
|
|
58
|
-
- **系统提示词升级**:新增编码能力 8 条要求、修复 bug 能力 7 条要求
|
|
59
|
-
- **错误分类优化**:build-error 等错误提供 5 步具体排查流程
|
|
60
|
-
- **连续错误处理**:遍历所有连续错误分类记录,不再只记录最后一个
|
|
61
|
-
- **自检维护优化**:每天仅第一次任务可做环境确认,后续直接执行,出错才修复
|
|
62
|
-
- **构建错误自愈**:失败时给出结构化报告(错误类型+最后错误+修复建议+下一步)
|
|
63
|
-
|
|
64
|
-
### 6. 中英文国际化
|
|
65
|
-
|
|
66
|
-
- **后端 i18n**:完整的中英文词条
|
|
67
|
-
- **前端国际化**:电脑操作、视频通话、消息操作等新增中英文翻译
|
|
68
|
-
- **持续完善中**:部分硬编码文本逐步迁移到 i18n
|
|
69
|
-
|
|
70
|
-
### 7. 本地语音识别服务(可选)
|
|
71
|
-
|
|
72
|
-
- **faster-whisper 本地部署**:完全免费、离线、无调用限制
|
|
73
|
-
- **HTTP API 接口**:任何项目都能调用
|
|
74
|
-
- **支持多语言**:中文优化,准确率高
|
|
75
|
-
- **独立服务**:不与主程序耦合,按需启动
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Bug 修复
|
|
80
|
-
|
|
81
|
-
- 修复 Electron 桌面版自动退出问题
|
|
82
|
-
- 修复启动后打开两次网页的问题
|
|
83
|
-
- 修复对话历史过长导致前面内容被截断的问题
|
|
84
|
-
- 修复任务执行中思考过程不实时显示的问题
|
|
85
|
-
- 修复桌面版复制粘贴快捷键失效的问题
|
|
86
|
-
- 修复桌面版截图权限反复请求的问题
|
|
87
|
-
- 修复 13389.js 的 s.nodeName.toLowerCase 错误(非项目代码,已确认不影响功能)
|
|
88
|
-
- 修复构建错误连续 3 次后错误信息不准确的问题
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## 升级指南
|
|
93
|
-
|
|
94
|
-
### 从 0.6.1 升级
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
# 拉取最新代码
|
|
98
|
-
git pull origin master
|
|
99
|
-
|
|
100
|
-
# 安装依赖(如有新增)
|
|
101
|
-
npm install
|
|
102
|
-
|
|
103
|
-
# 重新构建
|
|
104
|
-
npm run build
|
|
105
|
-
|
|
106
|
-
# 启动服务
|
|
107
|
-
fhcode serve
|
|
108
|
-
# 或
|
|
109
|
-
node dist/cli/index.js serve
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### 桌面版使用
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
# 方式一:一键启动
|
|
116
|
-
双击 一键启动桌面版.bat
|
|
117
|
-
|
|
118
|
-
# 方式二:手动启动
|
|
119
|
-
npm run build
|
|
120
|
-
npm run electron
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
### 本地语音识别服务(可选)
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
cd funasr-server
|
|
127
|
-
双击 启动语音识别服务.bat
|
|
128
|
-
# 服务启动在 http://localhost:8082
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## 系统要求
|
|
134
|
-
|
|
135
|
-
- **Node.js**:18.0 或更高版本
|
|
136
|
-
- **操作系统**:Windows 10/11(推荐)、macOS、Linux
|
|
137
|
-
- **内存**:至少 4GB(推荐 8GB)
|
|
138
|
-
- **桌面版**:Windows 10/11,Electron v41+
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## 已知限制
|
|
143
|
-
|
|
144
|
-
- 桌面版语音输入依赖 Google 服务,国内建议使用网页版(Edge 浏览器)或本地语音识别服务
|
|
145
|
-
- 电脑操作功能目前为手动操作界面,AI 自动操作正在开发中
|
|
146
|
-
- 中英文国际化尚未完全覆盖所有硬编码文本
|
|
147
|
-
- 本地语音识别服务为非实时识别(录音完成后识别)
|
|
148
|
-
|
|
149
|
-
---
|
|
150
|
-
|
|
151
|
-
## 反馈与支持
|
|
152
|
-
|
|
153
|
-
- GitHub Issues:https://github.com/wch887292/feihong-code/issues
|
|
154
|
-
- npm:https://www.npmjs.com/package/feihong-code
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
*晋江市飞虹智科技企业管理有限公司 · 飞扬企源研发中心*
|
|
159
|
-
*负责人:吴赐虹*
|
|
1
|
+
# 飞虹 Code v7.0.0 更新说明书
|
|
2
|
+
|
|
3
|
+
**发布日期**:2026年8月24日
|
|
4
|
+
**版本号**:7.0.0
|
|
5
|
+
**产品名称**:飞虹 Code(feihong-code)
|
|
6
|
+
**研发团队**:晋江市飞虹智科技企业管理有限公司 · 飞扬企源研发中心
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 版本概述
|
|
11
|
+
|
|
12
|
+
飞虹 Code v7.0.0 是一个重大版本升级,从 0.6.1 直接跨越到 7.0.0,标志着产品从终端工具向全平台 AI 编程助手的成熟蜕变。本版本重点优化了用户体验、新增了桌面端支持、完善了多语言国际化,并大幅提升了对话交互的自然度。
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 核心亮点
|
|
17
|
+
|
|
18
|
+
### 1. 对话流全面重构(对标豆包体验)
|
|
19
|
+
|
|
20
|
+
- **纯文本输出**:彻底去除 Markdown 格式、工具调用状态、技术摘要等干扰信息
|
|
21
|
+
- **实时思考过程**:模型思考过程实时展示,让用户看到 AI 在想什么
|
|
22
|
+
- **口语化表达**:像普通人交流一样自然,不再是技术报告风格
|
|
23
|
+
- **操作步骤隐藏**:不再显示"正在执行操作:read_file、run_shell"等技术细节
|
|
24
|
+
- **思考与回复分离**:思考过程实时显示,最终回复简洁明了,不重复
|
|
25
|
+
|
|
26
|
+
### 2. Electron 桌面版正式发布
|
|
27
|
+
|
|
28
|
+
- **独立桌面窗口**:不再依赖浏览器,双击即可使用
|
|
29
|
+
- **系统托盘支持**:最小化到后台,随时唤起
|
|
30
|
+
- **防止多开**:单实例运行,避免资源浪费
|
|
31
|
+
- **应用菜单**:完整的编辑菜单(复制/粘贴/剪切/全选)
|
|
32
|
+
- **权限管理**:麦克风、摄像头、屏幕捕获权限自动处理
|
|
33
|
+
- **一键启动脚本**:`一键启动桌面版.bat`,自动 build + 启动
|
|
34
|
+
|
|
35
|
+
### 3. 界面与交互优化
|
|
36
|
+
|
|
37
|
+
- **界面宽度优化**:主区域最大宽度 1400px,不再占满整个屏幕
|
|
38
|
+
- **用户菜单重构**:从底部上拉改为右侧侧边栏(280px)
|
|
39
|
+
- **启动逻辑修复**:不再打开两次网页,一次启动直接进入
|
|
40
|
+
- **文本选择复制**:支持选中部分文字复制,不再只能整条复制
|
|
41
|
+
- **消息操作按钮**:悬停显示复制、创建文档按钮
|
|
42
|
+
- **对话历史扩容**:conversation 上限从 80 条提升到 300 条,steps 上限从 200 提升到 500 条
|
|
43
|
+
|
|
44
|
+
### 4. 功能新增与完善
|
|
45
|
+
|
|
46
|
+
- **截图功能**:支持屏幕捕获 + 框选裁剪,截图直接到输入框
|
|
47
|
+
- **电脑操作**:后端 PowerShell API,支持截图、鼠标移动/点击、键盘输入
|
|
48
|
+
- **语音输入**:Web Speech API,建议 Edge 浏览器使用
|
|
49
|
+
- **语音/视频通话**:麦克风实时识别 + 摄像头画面 + 视频截图
|
|
50
|
+
- **工作区选择器**:驱动器和文件夹分页,支持新建/重命名文件夹
|
|
51
|
+
- **对话任务优化**:点击对话直接新建任务,无需手动点新建
|
|
52
|
+
- **自动化快捷指令**:常用快捷指令内置
|
|
53
|
+
- **模板库插件系统**:支持自定义来源,节点连接外部插件
|
|
54
|
+
- **记忆系统**:长期记忆自定义,添加记录简化为纯文本输入
|
|
55
|
+
|
|
56
|
+
### 5. 编码与修复能力提升
|
|
57
|
+
|
|
58
|
+
- **系统提示词升级**:新增编码能力 8 条要求、修复 bug 能力 7 条要求
|
|
59
|
+
- **错误分类优化**:build-error 等错误提供 5 步具体排查流程
|
|
60
|
+
- **连续错误处理**:遍历所有连续错误分类记录,不再只记录最后一个
|
|
61
|
+
- **自检维护优化**:每天仅第一次任务可做环境确认,后续直接执行,出错才修复
|
|
62
|
+
- **构建错误自愈**:失败时给出结构化报告(错误类型+最后错误+修复建议+下一步)
|
|
63
|
+
|
|
64
|
+
### 6. 中英文国际化
|
|
65
|
+
|
|
66
|
+
- **后端 i18n**:完整的中英文词条
|
|
67
|
+
- **前端国际化**:电脑操作、视频通话、消息操作等新增中英文翻译
|
|
68
|
+
- **持续完善中**:部分硬编码文本逐步迁移到 i18n
|
|
69
|
+
|
|
70
|
+
### 7. 本地语音识别服务(可选)
|
|
71
|
+
|
|
72
|
+
- **faster-whisper 本地部署**:完全免费、离线、无调用限制
|
|
73
|
+
- **HTTP API 接口**:任何项目都能调用
|
|
74
|
+
- **支持多语言**:中文优化,准确率高
|
|
75
|
+
- **独立服务**:不与主程序耦合,按需启动
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Bug 修复
|
|
80
|
+
|
|
81
|
+
- 修复 Electron 桌面版自动退出问题
|
|
82
|
+
- 修复启动后打开两次网页的问题
|
|
83
|
+
- 修复对话历史过长导致前面内容被截断的问题
|
|
84
|
+
- 修复任务执行中思考过程不实时显示的问题
|
|
85
|
+
- 修复桌面版复制粘贴快捷键失效的问题
|
|
86
|
+
- 修复桌面版截图权限反复请求的问题
|
|
87
|
+
- 修复 13389.js 的 s.nodeName.toLowerCase 错误(非项目代码,已确认不影响功能)
|
|
88
|
+
- 修复构建错误连续 3 次后错误信息不准确的问题
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## 升级指南
|
|
93
|
+
|
|
94
|
+
### 从 0.6.1 升级
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# 拉取最新代码
|
|
98
|
+
git pull origin master
|
|
99
|
+
|
|
100
|
+
# 安装依赖(如有新增)
|
|
101
|
+
npm install
|
|
102
|
+
|
|
103
|
+
# 重新构建
|
|
104
|
+
npm run build
|
|
105
|
+
|
|
106
|
+
# 启动服务
|
|
107
|
+
fhcode serve
|
|
108
|
+
# 或
|
|
109
|
+
node dist/cli/index.js serve
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### 桌面版使用
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# 方式一:一键启动
|
|
116
|
+
双击 一键启动桌面版.bat
|
|
117
|
+
|
|
118
|
+
# 方式二:手动启动
|
|
119
|
+
npm run build
|
|
120
|
+
npm run electron
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 本地语音识别服务(可选)
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
cd funasr-server
|
|
127
|
+
双击 启动语音识别服务.bat
|
|
128
|
+
# 服务启动在 http://localhost:8082
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 系统要求
|
|
134
|
+
|
|
135
|
+
- **Node.js**:18.0 或更高版本
|
|
136
|
+
- **操作系统**:Windows 10/11(推荐)、macOS、Linux
|
|
137
|
+
- **内存**:至少 4GB(推荐 8GB)
|
|
138
|
+
- **桌面版**:Windows 10/11,Electron v41+
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## 已知限制
|
|
143
|
+
|
|
144
|
+
- 桌面版语音输入依赖 Google 服务,国内建议使用网页版(Edge 浏览器)或本地语音识别服务
|
|
145
|
+
- 电脑操作功能目前为手动操作界面,AI 自动操作正在开发中
|
|
146
|
+
- 中英文国际化尚未完全覆盖所有硬编码文本
|
|
147
|
+
- 本地语音识别服务为非实时识别(录音完成后识别)
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 反馈与支持
|
|
152
|
+
|
|
153
|
+
- GitHub Issues:https://github.com/wch887292/feihong-code/issues
|
|
154
|
+
- npm:https://www.npmjs.com/package/feihong-code
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
*晋江市飞虹智科技企业管理有限公司 · 飞扬企源研发中心*
|
|
159
|
+
*负责人:吴赐虹*
|