feat: PLANNING体系首版(00路线图/02任务总表/03执行协议/I-03/I-04/registry42口径)+M1止血交付

This commit is contained in:
2026-09-12 14:25:25 +08:00
commit 39af400fc8
472 changed files with 36277 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// Enable multimodal vision fallback: image requests to non-vision models are
// rerouted to mimo-v2.5 (verified vision-capable). Same settings table the admin UI writes.
import { createRequire } from "node:module";
const require = createRequire("C:/Users/12914/AppData/Roaming/npm/node_modules/mimo2codex/package.json");
const Database = require("better-sqlite3");
const db = new Database("C:/Users/12914/.mimo2codex/data.db");
const up = db.prepare("INSERT INTO settings (key, value, updated_at) VALUES (?, ?, ?) ON CONFLICT(key) DO UPDATE SET value = excluded.value, updated_at = excluded.updated_at");
const now = Date.now();
up.run("codex.visionFallbackEnabled", "1", now);
up.run("codex.visionFallbackModel", "mimo-v2.5", now);
for (const row of db.prepare("SELECT key, value FROM settings WHERE key LIKE 'codex.%'").all()) {
console.log(row.key, "=", row.value);
}
db.close();