Skip to content

Commit a758cc3

Browse files
committed
refactor: add new event and model classes, update OpenCodeClient
- Add new event and model classes for better event handling and data representation - Update `PromptRequest` to include additional fields - Integrate Lombok annotation processor in Maven configuration - Simplify `OpenCodeClient` constructor and remove redundant comments
1 parent 15af2fa commit a758cc3

64 files changed

Lines changed: 3142 additions & 268 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 306 additions & 42 deletions
Large diffs are not rendered by default.

mvnw

100644100755
File mode changed.

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,24 @@
9292
<source>${java.version}</source>
9393
<target>${java.version}</target>
9494
<encoding>${project.build.sourceEncoding}</encoding>
95+
<annotationProcessorPaths>
96+
<path>
97+
<groupId>org.projectlombok</groupId>
98+
<artifactId>lombok</artifactId>
99+
<version>${lombok.version}</version>
100+
</path>
101+
</annotationProcessorPaths>
102+
<compilerArgs>
103+
<arg>-Xlint:all</arg>
104+
</compilerArgs>
95105
</configuration>
106+
<dependencies>
107+
<dependency>
108+
<groupId>org.projectlombok</groupId>
109+
<artifactId>lombok</artifactId>
110+
<version>${lombok.version}</version>
111+
</dependency>
112+
</dependencies>
96113
</plugin>
97114
<plugin>
98115
<groupId>org.apache.maven.plugins</groupId>

src/main/java/io/github/hiwepy/opencode/OpenCodeClient.java

Lines changed: 255 additions & 95 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)