- Create .gitignore to exclude target and IDE files - Add application.yml for Quarkus configuration - Implement package-info.java for business logic, facade, data, and common packages - Define core classes for handling user actions, character states, and narrative suggestions - Set up Ollama API client for narrative generation and state updates - Include unit tests for greeting service and serialization of context
26 lines
636 B
Java
26 lines
636 B
Java
package de.neitzel.roleplay.common;
|
|
|
|
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
|
import com.fasterxml.jackson.databind.annotation.JsonNaming;
|
|
import lombok.Builder;
|
|
import lombok.Value;
|
|
import lombok.extern.jackson.Jacksonized;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Diff-style changes to the open narrative threads for a single turn.
|
|
*/
|
|
@Value
|
|
@Builder
|
|
@Jacksonized
|
|
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
|
public class OpenThreadsChanges {
|
|
|
|
/** New threads introduced this turn. */
|
|
List<String> added;
|
|
|
|
/** Threads that were resolved or closed this turn. */
|
|
List<String> resolved;
|
|
}
|