2023-06-06 13:29:04 +00:00
|
|
|
export type AgentConfig = {
|
|
|
|
|
server?: {
|
|
|
|
|
endpoint?: string;
|
|
|
|
|
};
|
|
|
|
|
logs?: {
|
|
|
|
|
level?: "debug" | "error" | "silent";
|
|
|
|
|
};
|
|
|
|
|
anonymousUsageTracking?: {
|
|
|
|
|
disable?: boolean;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const defaultAgentConfig: AgentConfig = {
|
|
|
|
|
server: {
|
|
|
|
|
endpoint: "http://localhost:8080",
|
|
|
|
|
},
|
|
|
|
|
logs: {
|
2023-06-06 14:25:31 +00:00
|
|
|
level: "error",
|
2023-06-06 13:29:04 +00:00
|
|
|
},
|
|
|
|
|
anonymousUsageTracking: {
|
|
|
|
|
disable: false,
|
|
|
|
|
},
|
|
|
|
|
};
|