chore: refresh package-lock.json and tidy leftovers from the merge

- package-lock.json regenerated for the removed dependencies, dotenv and
  the devDependency move of @opennextjs/cloudflare
- lib/admin: SettingType and getSettingsPath are file-internal
- components/chat/chat-engine.tsx: comment no longer mentions click counts
This commit is contained in:
dayuan.jiang
2026-10-12 08:30:43 +09:00
parent fb87291cde
commit 9a6a808187
4 changed files with 364 additions and 5142 deletions
+2 -2
View File
@@ -1349,8 +1349,8 @@ export function ChatEngineProvider({
}
// Templates fill the input and send it right away (attachments included)
// Whether it was sent (it can run after a wait: the template panel
// stores its click count first, so busy is read from the ref)
// Whether it was sent (it can run after a wait, so busy is read from
// the ref)
const sendTemplate = async (prompt: string): Promise<boolean> => {
// Like the send button, it waits for an answer or a message being
// prepared (that message may still come back to the input), and for
+1 -1
View File
@@ -10,7 +10,7 @@
// - ADMIN_PASSWORD / SETTINGS_FILE: bootstrap values, env-only to avoid lockout
// - Per-provider reasoning/thinking tuning vars: env-only (see env.example)
export type SettingType = "string" | "secret" | "number" | "boolean"
type SettingType = "string" | "secret" | "number" | "boolean"
export interface SettingDef {
key: string
+1 -1
View File
@@ -32,7 +32,7 @@ globalState.__adminSettingsState ??= {
}
const state = globalState.__adminSettingsState
export function getSettingsPath(): string {
function getSettingsPath(): string {
const custom = process.env.SETTINGS_FILE
if (custom && custom.trim().length > 0) return custom
return path.join(process.cwd(), "data", "settings.json")
+360 -5138
View File
File diff suppressed because it is too large Load Diff