2026-10-06 09:28:46 +09:00
|
|
|
// Centralized localStorage keys for settings.
|
|
|
|
|
// Chat data is stored in IndexedDB via session-storage.ts
|
2025-12-11 14:28:02 +09:00
|
|
|
|
|
|
|
|
export const STORAGE_KEYS = {
|
2026-10-06 09:28:46 +09:00
|
|
|
// Access code for password-protected deployments
|
2025-12-11 14:28:02 +09:00
|
|
|
accessCode: "next-ai-draw-io-access-code",
|
|
|
|
|
accessCodeRequired: "next-ai-draw-io-access-code-required",
|
2025-12-22 22:36:36 +09:00
|
|
|
|
|
|
|
|
// Multi-model configuration
|
|
|
|
|
modelConfigs: "next-ai-draw-io-model-configs",
|
2026-10-06 09:28:46 +09:00
|
|
|
|
|
|
|
|
// Appearance
|
|
|
|
|
darkMode: "next-ai-draw-io-dark-mode",
|
|
|
|
|
locale: "next-ai-draw-io-locale",
|
|
|
|
|
minimalStyle: "next-ai-draw-io-minimal-style",
|
|
|
|
|
panelWidth: "next-ai-draw-io-panel-width",
|
2026-01-11 07:54:32 +06:00
|
|
|
|
|
|
|
|
// Chat input preferences
|
|
|
|
|
sendShortcut: "next-ai-draw-io-send-shortcut",
|
2026-01-20 20:52:04 +09:00
|
|
|
|
|
|
|
|
// Diagram validation
|
|
|
|
|
vlmValidationEnabled: "next-ai-draw-io-vlm-validation-enabled",
|
2026-03-07 19:07:54 +09:00
|
|
|
|
|
|
|
|
// Custom system message
|
|
|
|
|
customSystemMessage: "next-ai-draw-io-custom-system-message",
|
2026-04-03 11:16:01 +08:00
|
|
|
|
2026-08-22 20:47:10 +09:00
|
|
|
// Output token budget per turn (empty = server default)
|
|
|
|
|
maxOutputTokens: "next-ai-draw-io-max-output-tokens",
|
|
|
|
|
|
2026-10-06 09:28:46 +09:00
|
|
|
// Langfuse session id
|
|
|
|
|
sessionId: "next-ai-draw-io-session-id",
|
2025-12-11 14:28:02 +09:00
|
|
|
} as const
|