chore: 版本号 0.14.4 → 0.14.5

refactor: Hook 系统精简 — 7个→2个(SecurityCheck + FileWriteDedup)
delete: verification.ts 删除(DiffAnalyzer/FileChangeAudit 仅打日志无实际作用)
remove: ResultValidation/IterationMetrics/PlanAutoTrack Hook
merge: write_file 路径记录内联到 agent-engine
This commit is contained in:
thzxx
2026-06-28 20:49:34 +08:00
parent adff2f36eb
commit 2f37111074
9 changed files with 44 additions and 332 deletions
-3
View File
@@ -31,7 +31,6 @@ import { initLogPanel, addLog } from './services/log-service.js';
import { logInfo, logSuccess, logError, logDebug, logInit, logWarn } from './services/log-service.js';
import { initSearxngModal, closeSearxngModal, loadSearxngConfig } from './components/searxng-modal.js';
import { initHarnessHooks } from './services/hooks.js';
import { initVerificationSystem } from './services/verification.js';
import type { ChatSession } from './types.js';
// ─── v4.0 数据迁移:IndexedDB → SQLite ───
@@ -353,7 +352,6 @@ async function init(): Promise<void> {
// ── Harness Engineering 系统初始化 ──
initHarnessHooks();
initVerificationSystem();
// Agent Metrics 无需显式初始化(按需启动)
// Context Indexer 在 Agent INIT 状态按需构建
@@ -481,7 +479,6 @@ async function init(): Promise<void> {
initWorkspacePanel();
setupDesktopIntegration();
initHarnessHooks();
initVerificationSystem();
// ── MEMORY.md 初始化(fallback 路径)──
import('./services/memory-service.js').then(({ initMemoryFile }) => {
initMemoryFile().catch(() => {});