1export type Empire = "solarian" | "voidborn" | "crimson" | "nebula" | "outerrim";
2
3export interface Instance {
4 instance_id: string;
5 hint: string | null;
6 logged_out: number;
7}
8
9export interface Username {
10 id: number;
11 username: string;
12 token: string;
13 prompt: string;
14 player_id: string;
15 instance_id: string;
16 last_used_on: number;
17}
18
19export interface AccountDetails {
20 username: string;
21 token: string;
22 player_id: string;
23 prompt: string;
24 hint: string | null;
25}
26
27export type MessageSender = "server" | "client";
28
29export interface StoredMessage {
30 id: number;
31 tick: number;
32 sender: MessageSender;
33 data: string;
34}
35
36export interface ClientConfig {
37 instanceId?: string;
38 hint?: string;
39 model?: string;
40 verbose?: boolean;
41 archetype?: string;
42 tickRate: number;
43 ollamaTimeout: number;
44 serverUrl?: string;
45 contextWindowSize?: number;
46}