Skip to content

fix(devti): 优化 SSE 数据解析逻辑 #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 76 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
548ae88
fix(devti): 优化 SSE 数据解析逻辑
Apr 9, 2025
5eeb7fb
Merge branch 'master' into zhzhl
Apr 10, 2025
24bed33
Merge branch 'master' into zhzhl
Apr 25, 2025
c901454
feat(highlight): add syntax highlighting for Shire language
phodal Apr 26, 2025
304cde9
Merge branch 'master' into zhzhl
Jun 4, 2025
bda710f
fix(devti): 修复 LLMProvider2 中的 responseFormat 引用
Jun 5, 2025
203da42
refactor(settings): add link to create GitHub token in AutoDevDevOpsC…
phodal Jun 4, 2025
29af539
feat(observer): add detailed GitHub workflow failure analysis
phodal Jun 4, 2025
f14dd1a
refactor(observer): remove unused MessageBusConnection field
phodal Jun 4, 2025
108d3e7
fix(observer): correct pipeline monitoring interval
phodal Jun 4, 2025
93691f0
fix(observer): remove log truncation limits for complete failure anal…
phodal Jun 4, 2025
1ff2611
fix(observer): remove success notification and clean comments
phodal Jun 4, 2025
9269a69
fix(observer): improve error handling for GitHub API permissions
phodal Jun 4, 2025
680cfb0
refactor(observer): remove unused extractKeyErrorLines function
phodal Jun 4, 2025
d2f8939
feat(wechat): add WeChat miniprogram plugin support
phodal Jun 5, 2025
5828a72
feat(wechat): add WeChat miniprogram plugin configuration #406
phodal Jun 5, 2025
27cc7db
feat(wechat): add WeChat component view provider
phodal Jun 5, 2025
587d945
fix(pipeline): adjust monitoring timeout and delay settings
phodal Jun 5, 2025
c30ef13
feat(wechat): enable component view provider for WeChat projects #406
phodal Jun 5, 2025
2f7f15a
refactor(core): simplify notification calls and cleanup
phodal Jun 5, 2025
a75ae7f
refactor(pipeline): remove unused direct API log retrieval method
phodal Jun 5, 2025
c8d1c9e
refactor(pipeline): streamline pipeline monitoring logic and improve …
phodal Jun 5, 2025
47c8ff6
docs(vcs): add shelving action references to CommitInsCommand #408
phodal Jun 5, 2025
e024c2b
feat(commit): add support for shelving changes based on AutoSketchMod…
phodal Jun 5, 2025
9d9a77d
refactor(git): improve CommitMessageSuggestionAction style
phodal Jun 5, 2025
fe051a1
refactor(git): improve error handling and code structure
phodal Jun 5, 2025
25299fe
refactor(pipeline): enhance GitHub integration and streamline reposit…
phodal Jun 5, 2025
03711f5
feat(git): add GitHub repository parsing from project #408
phodal Jun 5, 2025
6f4b4c0
feat(github): add GitHub issues browser action #408
phodal Jun 5, 2025
134a603
feat(github): enable GitHub issues action with dedicated icon
phodal Jun 5, 2025
30c59e5
feat(github): improve GitHub issues popup positioning #408
phodal Jun 5, 2025
30042ce
refactor(github): rename and enhance GitHub issues action #408
phodal Jun 5, 2025
7a49616
feat(github): simplify commit message format for issues #408
phodal Jun 5, 2025
160bd14
refactor(github): rename action to focus on commit message generation…
phodal Jun 5, 2025
b642aae
feat(git): integrate GitHub issues into commit message action #408
phodal Jun 5, 2025
3e67cc4
feat(commit): integrate GitHub issue context into AI generation #408
phodal Jun 5, 2025
2217723
feat(commit): streamline GitHub issue integration workflow
phodal Jun 5, 2025
78af8e4
feat(commit): add job cancellation support for AI generation #408
phodal Jun 5, 2025
11f2e2e
feat(commands): replace PATCH with EDIT_FILE command #408
phodal Jun 5, 2025
da42788
feat(ui): refactor CodeHighlightSketch for unified collapse view #408
phodal Jun 5, 2025
fbcc861
feat(ui): add EDIT_FILE command support with diff view #408
phodal Jun 5, 2025
7c99c07
refactor(edit): extract EditFileCommand to core module
phodal Jun 5, 2025
5fd766c
refactor(edit): add comprehensive EditFileCommand tests #408
phodal Jun 5, 2025
3bdbcf0
refactor(ui): replace EditFileCommand with scratch file execution
phodal Jun 5, 2025
e607c1e
refactor(ui): consolidate edit file execution logic
phodal Jun 6, 2025
ace4d41
refactor(sketch): replace EditFileCommand with async execution
phodal Jun 6, 2025
7b9a31e
feat(sketch): add plan compression and auto-pin to tool window #408
phodal Jun 6, 2025
75f6ca8
feat(sketch): add plan compression and auto-pin to tool window #408
phodal Jun 6, 2025
248da14
refactor(commands): simplify EditResult usage in EditFileInsCommand
phodal Jun 6, 2025
8976ccd
refactor(edit): enhance edit file command execution and error handling
phodal Jun 6, 2025
07cde13
refactor(commit): implement coroutine with timeout for GitHub API calls
phodal Jun 6, 2025
cf8fd03
refactor(commit): implement coroutine with timeout for GitHub API calls
phodal Jun 6, 2025
7a92815
refactor(edit): improve handling of existing code markers in edit fil…
phodal Jun 6, 2025
8411874
refactor(codefence): improve whitespace handling in code fence parsing
phodal Jun 6, 2025
6048b47
refactor(edit): enhance EditResult handling and improve file editing …
phodal Jun 6, 2025
32abff8
refactor(codehighlight): clean up imports and remove unused code in C…
phodal Jun 6, 2025
21a50c7
refactor(codehighlight): extract command processors #408
phodal Jun 6, 2025
77aa47f
refactor(tests): ignore tests for existing markers and complex struct…
phodal Jun 6, 2025
24ef178
feat(codehighlight): improve editor visibility logic
phodal Jun 6, 2025
7192f8e
refactor(EditFileCommandProcessor): simplify command execution flow a…
phodal Jun 6, 2025
24c7210
feat: remove button after success and use apply
phodal Jun 6, 2025
f85b524
chore: add sample docs
phodal Jun 6, 2025
82e4b54
refactor(DiffLangSketch): simplify method signatures and improve code…
phodal Jun 6, 2025
2d2445b
refactor(DiffLangSketch): add multiple constructors #408
phodal Jun 6, 2025
1940f7a
refactor(EditFileCommand): improve patch generation and update constr…
phodal Jun 6, 2025
0cd2002
refactor: remove unused imports and commented-out code in EditFileCom…
phodal Jun 6, 2025
8b5a3e4
refactor(CodeHighlightSketch): improve DevIn command processing logic…
phodal Jun 6, 2025
0f2ee46
refactor(CodeHighlightSketch): streamline DevIn command processing logic
phodal Jun 6, 2025
df3bcd7
refactor(EditFileCommand): remove unused import for filePath
phodal Jun 6, 2025
c82ea83
feat(ui): add AI-assisted commit dialog with diff viewer
phodal Jun 6, 2025
3cda300
refactor(InputControlsManager): streamline property declarations and …
phodal Jun 6, 2025
9fe16a5
feat(llm): add EventSource cancellation support
phodal Jun 6, 2025
6e13d00
fix(test): fix batch test generation cancel button
phodal Jun 6, 2025
b2a92b7
refactor(test): remove redundant cancellation checks in test generation
phodal Jun 6, 2025
98b103e
chore(gradle): bump plugin version to 2.2.1fix(devti): optimize SSE d…
phodal Jun 6, 2025
f68efc8
chore: update release log
phodal Jun 6, 2025
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
46 changes: 46 additions & 0 deletions .augment/augment-memories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Refactoring Approach
- User prefers phased/incremental refactoring approach where each stage is validated as OK before moving to the next phase.
- User prefers incremental refactoring approach, starting with extracting processors first and evaluating each step before proceeding to the next phase.
- User prefers gradual refactoring approach and is concerned about maintenance costs when refactoring compiler code.
- User prefers less granular refactoring approach, splitting large files into 2-3 files rather than many small specialized processors.
- User prefers to extract only ValueParser.kt from HobbitHoleParser refactoring, not wanting the more granular ExpressionParser extraction.
- User prefers to compress/optimize code to around 300 lines when possible.
- User suggests considering YAML-like parsing approach to handle code with various quotes and special characters, and recommends prompting the model about potential parsing issues.
- AI responses may contain placeholder comments like '// ... existing getters and setters ...' and '// ... existing methods ...' that need special handling in the processing logic.
- User prefers to separate edit logic into testable components and generate comprehensive tests for the functionality.
- User prefers refactoring processEditFileCommand and processWriteCommand into separate classes for better decoupling and separation of concerns.

# CodeHighlightSketch
- For CodeHighlightSketch: prefer not showing editorFragment by default (use popup/collapse), unify collapse logic regardless of isUser flag, and use Command icons when isDevIns is detected.
- For CodeHighlightSketch: markdown and plain text content should not use folding/collapsing behavior.
- For CodeHighlightSketch: non-user and non-DevIns content should be displayed (not collapsed), and EditorFragment's folding UI should be moved into the Sketch to resolve conflicts with existing folding logic.
- For edit_file command handling: add processing in CodeHighlightSketch's onDoneStream, convert to DiffLangSketch using DiffLangSketchProvider for display, and auto-execute in AutoSketchMode.
- In CodeHighlightSketch, firstline should be updated in updateViewText method rather than setupCollapsedView because updateViewText handles dynamic character-by-character processing.

# PlanLangSketch
- User prefers PlanLangSketch to be pinned by default to save right-side space, or have a compression/size reduction option for better user experience.
- User prefers compressing the PlanLangSketch component itself rather than just compressing the toolbar when implementing space-saving features.
- When autoPin is enabled for PlanLangSketch, the current Plan should not be displayed to avoid showing duplicate content, or the Plan Toolbar should have a collapse feature that defaults to collapsed when autoPin is active.

# Testing
- The DevInsCompiler class has existing tests that can be used to validate refactoring changes.
- User prefers to generate comprehensive tests for the functionality.
- For EditApplyTest, use the command ':core:test --tests "cc.unitmesh.devti.command.EditApplyTest"' to run the tests.

# Performance
- User prefers WorkspaceFileSearchPopup to use lazy loading with recently opened files prioritized first, rather than loading all files at once to prevent IDEA freezing.
- User prefers EditFileInsCommand core logic moved to core module instead of submodule, and DevIns processing logic moved from onDoneStream to updateViewText with isComplete condition for better real-time performance.

# IDEA File Searching
- For IDEA file searching, use the non-deprecated FilenameIndex.processFilesByName(String name, boolean caseSensitively, GlobalSearchScope scope, Processor<VirtualFile> processor) instead of the deprecated versions that take Project parameter.

# Commit Messages
- User prefers to merge GitHub-specific and general commit message actions into a single action that conditionally fetches issues for GitHub projects and uses default behavior for non-GitHub projects.
- User prefers CommitMsgGenContext to have only issueId and issueDetail fields instead of separate issueNumber, issueTitle, and issueBody fields.
- User prefers GitHub issue fetching operations to have a 5-second timeout limit to avoid blocking when issues cannot be retrieved quickly.

# Commands
- User wants to create EditFileInsCommand as a new command type for file editing, separate from PatchInsCommand which is not suitable for file changes.
- For executeEditFileCommand, should use TextFilePatch and create UI similar to createSingleFileDiffSketch method, with corresponding modifications to executeEditFileCommand Results.
- User prefers implementing edit_file command using markdown parsing approach rather than Service calls to avoid potential issues.
- User prefers to use edit_file command instead of patch command and wants patch references removed from system prompts.
65 changes: 65 additions & 0 deletions .augment/test_plan_compression.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# PlanLangSketch 压缩功能实现总结

## 实现的功能

### 1. 智能Pin逻辑
- PlanLangSketch现在支持`autoPinEnabled`参数(默认为true)
- **关键改进**:如果启用autoPinEnabled,当前Plan默认显示为压缩状态,避免同时显示两份Plan
- 自动Pin到工具窗口,用户可以在工具窗口中查看完整计划
- 压缩状态显示:"Plan pinned (X tasks)",清楚表明已Pin状态

### 2. 压缩模式
- 添加了`toggleCompression()`方法来切换压缩/展开状态
- 压缩模式下显示简洁的标题栏,包含Pin图标提示
- 展开模式下显示完整的计划内容
- 点击压缩面板中的箭头图标可以展开
- 切换到压缩模式时自动Pin到工具窗口

### 3. UI改进
- 压缩面板使用箭头图标指示可展开
- Pin图标显示当前Pin状态
- 动态显示任务数量
- 保持原有的工具栏功能(Copy、Pin按钮)

## 使用方式

### 方式1:默认Pin(推荐)
```kotlin
val planSketch = PlanLangSketch(
project = project,
content = content,
agentTaskItems = taskItems,
autoPinEnabled = true // 默认值
)
```

### 方式2:手动压缩
```kotlin
// 切换压缩状态
planSketch.toggleCompression()
```

## 逻辑优化

### 避免重复显示
- **autoPinEnabled = true**:当前Plan显示为压缩状态,完整内容在工具窗口
- **autoPinEnabled = false**:当前Plan显示完整内容,完成时才Pin到工具窗口
- 解决了同时显示两份Plan的问题

### 智能状态管理
- 压缩状态清楚标明"Plan pinned"
- Pin图标提供视觉提示
- 点击展开时显示完整内容,但工具窗口仍然可用

## 用户体验改进

1. **避免重复**:不会同时显示两份相同的Plan内容
2. **节省空间**:默认压缩状态最大化编辑区域
3. **清晰状态**:Pin图标和文字清楚表明当前状态
4. **灵活操作**:可以随时展开查看详情或在工具窗口中查看

## 建议的使用场景

- **默认模式(autoPinEnabled=true)**:最佳体验,自动压缩+Pin到工具窗口
- **手动压缩**:用户可以主动切换到压缩模式节省空间
- **完整展开**:需要在当前位置详细查看计划时展开
43 changes: 42 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,48 @@
# [](https://github.com/unit-mesh/auto-dev/compare/v2.2.0...v) (2025-06-04)
# [](https://github.com/unit-mesh/auto-dev/compare/v2.2.1...v) (2025-06-06)

## Unreleased

# [2.2.1](https://github.com/unit-mesh/auto-dev/compare/v2.2.0...v2.2.1) (2025-06-06)


### Bug Fixes

* **observer:** correct pipeline monitoring interval ([5210b1e](https://github.com/unit-mesh/auto-dev/commit/5210b1e89a19503211843e82d752a0557d19a0bd))
* **observer:** improve error handling for GitHub API permissions ([c041f8e](https://github.com/unit-mesh/auto-dev/commit/c041f8e1b89f3820c4c766941fc12e19dae72e88))
* **observer:** remove log truncation limits for complete failure analysis ([8576cf4](https://github.com/unit-mesh/auto-dev/commit/8576cf4e7744a4b7d925d129ec956d0210ba6232))
* **observer:** remove success notification and clean comments ([4bd3afe](https://github.com/unit-mesh/auto-dev/commit/4bd3afeeb71bbaddb7d721f6f52308cfadf01b9b))
* **pipeline:** adjust monitoring timeout and delay settings ([e987065](https://github.com/unit-mesh/auto-dev/commit/e987065e6bd4157b603bbab452583c607ca0be4a))
* **test:** fix batch test generation cancel button ([9d02979](https://github.com/unit-mesh/auto-dev/commit/9d02979a7e57fd0a163b8b254a387b3286776e5c)), closes [#407](https://github.com/unit-mesh/auto-dev/issues/407)


### Features

* **codehighlight:** improve editor visibility logic ([6b74688](https://github.com/unit-mesh/auto-dev/commit/6b74688bf5cc5ff8947d2548b4e42f1e0efc4302))
* **commands:** replace PATCH with EDIT_FILE command [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([937cd23](https://github.com/unit-mesh/auto-dev/commit/937cd23fe4dfe241be948dcd4abb0eac02a138ec))
* **commit:** add job cancellation support for AI generation [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([efdbe21](https://github.com/unit-mesh/auto-dev/commit/efdbe211064509e86c1511e80ce92f9df17dbec2))
* **commit:** add support for shelving changes based on AutoSketchMode [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([39768e4](https://github.com/unit-mesh/auto-dev/commit/39768e484d6658f3d39ea82edf35f2ee8ddb551a))
* **commit:** integrate GitHub issue context into AI generation [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([ccfcbcd](https://github.com/unit-mesh/auto-dev/commit/ccfcbcd6d07f3c9be357ed74442424b9effe158d))
* **commit:** streamline GitHub issue integration workflow ([610f67a](https://github.com/unit-mesh/auto-dev/commit/610f67a92a9173a61c9d00310603da78f0737606))
* **git:** add GitHub repository parsing from project [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([dde0c55](https://github.com/unit-mesh/auto-dev/commit/dde0c55fa24dbe5bad470ee7c03bb8fffeefc31d))
* **github:** add GitHub issues browser action [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([c864bbe](https://github.com/unit-mesh/auto-dev/commit/c864bbe85a713fc8686e2030b4cfe7d76e708825))
* **github:** enable GitHub issues action with dedicated icon ([dc48d17](https://github.com/unit-mesh/auto-dev/commit/dc48d17725de9c676be26e196b2f83504e329463))
* **github:** improve GitHub issues popup positioning [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([979ef19](https://github.com/unit-mesh/auto-dev/commit/979ef19060b403a5dd7fce669aaf33c8fdc9c553))
* **github:** simplify commit message format for issues [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([e44cdb4](https://github.com/unit-mesh/auto-dev/commit/e44cdb49457b765f3c66bc1fb4a18d06ee85102d))
* **git:** integrate GitHub issues into commit message action [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([61b5395](https://github.com/unit-mesh/auto-dev/commit/61b5395b61ee78c1348372ab55f0c4d7b6141eae))
* **llm:** add EventSource cancellation support ([728d341](https://github.com/unit-mesh/auto-dev/commit/728d3415fa3b046b9660a10910649c3c02ad0a2a))
* **observer:** add detailed GitHub workflow failure analysis ([b5e67af](https://github.com/unit-mesh/auto-dev/commit/b5e67af6556e9e22a0b8b7884374fe72db7b1b6b))
* remove button after success and use apply ([212234f](https://github.com/unit-mesh/auto-dev/commit/212234f3719dd403f4440df85a78f9c4838133ee))
* **sketch:** add plan compression and auto-pin to tool window [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([0b7eaa8](https://github.com/unit-mesh/auto-dev/commit/0b7eaa8925d0a08fcab38a584781c041575ee9a0))
* **sketch:** add plan compression and auto-pin to tool window [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([ff8937b](https://github.com/unit-mesh/auto-dev/commit/ff8937b3bdec6686cf0227d5d33ad8fa412e00e6))
* **ui:** add AI-assisted commit dialog with diff viewer ([c46fd9e](https://github.com/unit-mesh/auto-dev/commit/c46fd9e0e9890e64cbc3e39c9d36cbd3f3eb033e)), closes [#408](https://github.com/unit-mesh/auto-dev/issues/408)
* **ui:** add EDIT_FILE command support with diff view [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([b31f560](https://github.com/unit-mesh/auto-dev/commit/b31f560beca363c63abc23dfa879015a48fd99d8))
* **ui:** refactor CodeHighlightSketch for unified collapse view [#408](https://github.com/unit-mesh/auto-dev/issues/408) ([d2036fb](https://github.com/unit-mesh/auto-dev/commit/d2036fb2497393e66b3b96eead2fed350062ea0a))
* **wechat:** add WeChat component view provider ([db78ba2](https://github.com/unit-mesh/auto-dev/commit/db78ba215243fe7ce35129db8bb48989c66a6cc2)), closes [#406](https://github.com/unit-mesh/auto-dev/issues/406)
* **wechat:** add WeChat miniprogram plugin configuration [#406](https://github.com/unit-mesh/auto-dev/issues/406) ([ec1aa92](https://github.com/unit-mesh/auto-dev/commit/ec1aa928e395b3b3de7fa4bdd78d7e154433b5db))
* **wechat:** add WeChat miniprogram plugin support ([a013e48](https://github.com/unit-mesh/auto-dev/commit/a013e481850ed0f235e385f89baeb283476c5a09))
* **wechat:** enable component view provider for WeChat projects [#406](https://github.com/unit-mesh/auto-dev/issues/406) ([5d3df2f](https://github.com/unit-mesh/auto-dev/commit/5d3df2f23d7085a97bc74860d2005234cb0daa67))



# [2.2.0](https://github.com/unit-mesh/auto-dev/compare/v2.1.3...v2.2.0) (2025-06-03)

Expand Down
41 changes: 40 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ project(":core") {
implementation("org.commonmark:commonmark:0.21.0")
implementation("org.commonmark:commonmark-ext-gfm-tables:0.21.0")

implementation("org.yaml:snakeyaml:2.2")
implementation("org.yaml:snakeyaml:2.4")

// implementation("com.nfeld.jsonpathkt:jsonpathkt:2.0.1")
implementation("com.jayway.jsonpath:json-path:2.9.0")
Expand Down Expand Up @@ -471,6 +471,9 @@ project(":core") {
// token count
implementation("com.knuddels:jtokkit:1.1.0")

// YAML parsing for edit_file command
implementation("org.yaml:snakeyaml:2.2")

implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
}

Expand Down Expand Up @@ -611,6 +614,11 @@ project(":exts:ext-git") {

implementation(project(":core"))
implementation(project(":exts:devins-lang"))

// kanban
implementation("org.kohsuke:github-api:1.326")
implementation("org.gitlab4j:gitlab4j-api:5.8.0")

implementation("cc.unitmesh:git-commit-message:0.4.6") {
excludeKotlinDeps()
}
Expand Down Expand Up @@ -790,6 +798,37 @@ project(":exts:ext-openrewrite") {
}
}


project(":exts:ext-wechat") {
dependencies {
intellijPlatform {
intellijIde(prop("ideaVersion"))
intellijPlugins(ideaPlugins + prop("wechatPlugin"))
}

implementation(project(":core"))
}

sourceSets {
main {
resources.srcDirs("src/$platformVersion/main/resources")
}
test {
resources.srcDirs("src/$platformVersion/test/resources")
}
}
kotlin {
sourceSets {
main {
kotlin.srcDirs("src/$platformVersion/main/kotlin")
}
test {
kotlin.srcDirs("src/$platformVersion/test/kotlin")
}
}
}
}

project(":exts:devins-lang") {
apply {
plugin("org.jetbrains.grammarkit")
Expand Down
Loading