Commit 2ebd962
AI debugger (#3)
* Set `duplicatesStrategy` to `EXCLUDE` for resource processing tasks
Fixes "Entry courses/Introduction to Python.zip is a duplicate but no duplicate handling strategy has been set" error
* Downgrade IntelliJ Platform Plugin to version 2.5.0 for compatibility
* Add `ai-debugger` modules
* Implement service host management mechanism
Introduce a new framework for managing service hosts, including:
- `ServiceHostManager` for host state management.
- `ChangeServiceHostDialog` for user interaction to modify hosts.
- `ServiceHostEnum` interface for defining host behaviors.
- `ChangeServiceHostAction` to trigger host change logic.
* Add AI Debugger service host management classes
Introduce `EduAIDebuggerServiceHost` and `EduAIDebuggerServiceChangeHost` to manage AI Debugger service hosts, including production, staging, and custom environments. Add resource bundle for localization support.
* Introduce HintInlineBanner and LikeBlock components for UI feedback
Add `HintInlineBanner` UI component for displaying inline banners with customizable actions and AI-generated content tooltips.
Add `LikeBlock` for capturing user feedback with like/dislike options.
Include new icons, colors, and properties for visual consistency.
* Introduce AI Debugger core module with logging, UI components, and breakpoint management
* Introduce AI Debugger JVM module with breakpoint types, handler factory, and icons
Add support for JVM-specific breakpoints in the AI Debugger:
- Implement `JvmAIDebuggerBreakpointType` and `JvmBreakpointTypeManager` for managing JVM line breakpoints.
- Add `JvmAIDebuggerBreakpointHandlerFactory` for handling breakpoint integration with the debug process.
- Add `JvmAIDebuggerLineBreakpoint` with custom verified icon logic.
- Include `bug.svg` icon and associated resource loading via `AIDebuggerIcons`.
* Introduce AI Debugger Kotlin module
- Add Kotlin-specific breakpoint management with `KtIntermediateBreakpointProcessor` and `ai-debugger-kotlin.xml` integration.
- Implement `KtTestFinder` for locating Kotlin test methods.
- Extend Kotlin slice analysis with `CodeDependencyAnalyzerTest`, `FunctionControlDependencyTest`, and `FunctionDataDependencyTest`.
- Provide tests for control and data dependencies, intermediate breakpoints, and slicing logic.
- Update plugin resources to include Kotlin-specific components.
* Comment out the `deleteTests` method and its calls in AI Debugger modules
* Remove unused `createTests` method and related logic in AI Debugger modules
* Restrict test creation to study courses excluding Hyperskill courses in `CheckAction`.
* Introduce AI Debugger Java module
- Add Java-specific `JTestFinder` for locating test methods.
- Extend test language support with `getHyperskillTestLanguage` in `AIDebugUtils`.
- Update resource files and plugin configurations to include the new Java module.
* Refactor course-related logic in DebuggerHintRequest
- Replace `courseId` with `CourseInfo` in `DebuggerHintRequest`.
- Add new `CourseInfo` class with course metadata support.
- Bump `educational-ml-library` version to `1.0.65`.
* Remove AI Debugger feedback-related components and code
- Deleted `LikeBlock`, `AIDebugContext`, and associated feedback classes.
- Removed feedback dialogs, inline banners, and related UI components.
- Cleaned up resource bundle entries, unused icons, and colors.
- Simplified `HintInlineBanner` by removing feedback actions.
- Updated AI Debugger modules to exclude feedback logic.
---------
Co-authored-by: Alexander Petrov <meanmail@meanmail.dev>1 parent d6750f6 commit 2ebd962
File tree
79 files changed
+3502
-10
lines changed- buildSrc/src/main/kotlin
- gradle
- intellij-plugin
- hs-core
- resources
- icons/org/hyperskill/academy/actions
- messages
- src/org/hyperskill/academy
- learning
- actions
- changeHost
- courseFormat/ext
- ui
- testSrc/org/hyperskill/academy/learning/ui
- hs-features
- ai-debugger-core
- resources
- fileTemplates/internal
- icons
- messages
- src/org/hyperskill/academy/ai/debugger/core
- action
- api
- breakpoint
- connector
- error
- host
- listener
- log
- messages
- service
- session
- slicing
- ui
- utils
- ai-debugger-java
- resources
- src/org/hyperskill/academy/ai/debugger/java/impl
- ai-debugger-jvm
- resources
- src/org/hyperskill/academy/ai/debugger/jvm
- ai-debugger-kotlin
- resources
- src/org/hyperskill/academy/ai/debugger/kotlin
- impl
- slice
- testResources/META-INF
- testSrc/org/hyperskill/academy/ai/debugger/kotlin
- slice
- resources/META-INF
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
79 files changed
+3502
-10
lines changedLines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 75 | | |
85 | 76 | | |
86 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
262 | 266 | | |
263 | 267 | | |
264 | 268 | | |
| 269 | + | |
265 | 270 | | |
266 | 271 | | |
267 | 272 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
Lines changed: 66 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments