mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Add global task regex migration and UI
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import { createDefaultTaskProfiles } from "../prompting/prompt-profiles.js";
|
||||
import {
|
||||
createDefaultGlobalTaskRegex,
|
||||
createDefaultTaskProfiles,
|
||||
} from "../prompting/prompt-profiles.js";
|
||||
|
||||
function clampIntValue(value, fallback = 0, min = 0, max = 9999) {
|
||||
const numeric = Number(value);
|
||||
@@ -110,6 +113,7 @@ export const defaultSettings = {
|
||||
reflectionPrompt: "",
|
||||
taskProfilesVersion: 3,
|
||||
taskProfiles: createDefaultTaskProfiles(),
|
||||
globalTaskRegex: createDefaultGlobalTaskRegex(),
|
||||
|
||||
// ====== v2 增强设置 ======
|
||||
enableConsolidation: true,
|
||||
|
||||
Reference in New Issue
Block a user