chore: remove monitor debug logs and add log clear action

This commit is contained in:
superclaw
2026-03-14 14:16:03 +08:00
parent 8d5527990b
commit 731f022669
8 changed files with 61 additions and 10 deletions

View File

@@ -20,15 +20,17 @@ if (parentPort) {
result = { success: true }
break
case 'setMonitor':
core.setMonitor((type, json) => {
{
const monitorOk = core.setMonitor((type, json) => {
parentPort!.postMessage({
id: -1,
type: 'monitor',
payload: { type, json }
})
})
result = { success: true }
result = { success: monitorOk }
break
}
case 'testConnection':
result = await core.testConnection(payload.dbPath, payload.hexKey, payload.wxid)
break